dimcode 0.0.6-beta.2 → 0.0.6-beta.21

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 (88) hide show
  1. package/README.md +6 -0
  2. package/assets/gui/200.html +12 -0
  3. package/assets/gui/404.html +12 -0
  4. package/assets/gui/_nuxt/0OuYuFdd.js +1 -0
  5. package/assets/gui/_nuxt/1fcVKlQD.js +1 -0
  6. package/assets/gui/_nuxt/4latAK5N.js +68 -0
  7. package/assets/gui/_nuxt/5J0xJHOV.js +321 -0
  8. package/assets/gui/_nuxt/5tCQ9P9x.js +1 -0
  9. package/assets/gui/_nuxt/B-QRPBiU.js +220 -0
  10. package/assets/gui/_nuxt/B-ocCvqj.js +4 -0
  11. package/assets/gui/_nuxt/B41oyhUX.js +139 -0
  12. package/assets/gui/_nuxt/BAsEomiL.js +61 -0
  13. package/assets/gui/_nuxt/BB51-bYG.js +1 -0
  14. package/assets/gui/_nuxt/BCdCHJrs.js +22 -0
  15. package/assets/gui/_nuxt/BHBA7_9A.js +24 -0
  16. package/assets/gui/_nuxt/BHmwI27Q.js +7 -0
  17. package/assets/gui/_nuxt/BIK3UA9H.js +1 -0
  18. package/assets/gui/_nuxt/BJgShMaj.js +122 -0
  19. package/assets/gui/_nuxt/BMPUUilT.js +60 -0
  20. package/assets/gui/_nuxt/Be9sogz8.js +1 -0
  21. package/assets/gui/_nuxt/BojRNRsE.js +1 -0
  22. package/assets/gui/_nuxt/BtytU9Nc.js +65 -0
  23. package/assets/gui/_nuxt/C2r5gH2d.js +1 -0
  24. package/assets/gui/_nuxt/C5QU6AII.js +267 -0
  25. package/assets/gui/_nuxt/CM2Ru5jE.js +128 -0
  26. package/assets/gui/_nuxt/CR-veSvi.js +1 -0
  27. package/assets/gui/_nuxt/CRt9G2a3.js +1 -0
  28. package/assets/gui/_nuxt/CW5-BTm0.js +1 -0
  29. package/assets/gui/_nuxt/CYh22N6Z.js +15 -0
  30. package/assets/gui/_nuxt/C_nwuZOL.js +17 -0
  31. package/assets/gui/_nuxt/CctfDgzL.js +1 -0
  32. package/assets/gui/_nuxt/CgCvTYUb.js +1 -0
  33. package/assets/gui/_nuxt/CjaZXJmO.js +1 -0
  34. package/assets/gui/_nuxt/CvBv_9Ii.js +43 -0
  35. package/assets/gui/_nuxt/Cx8lgPkP.js +162 -0
  36. package/assets/gui/_nuxt/CxrwCJPS.js +1 -0
  37. package/assets/gui/_nuxt/DCBWnvUv.js +1 -0
  38. package/assets/gui/_nuxt/DDwo0uwT.js +1 -0
  39. package/assets/gui/_nuxt/DGBBJ9Xx.js +1 -0
  40. package/assets/gui/_nuxt/DJ0FGiPu.js +1 -0
  41. package/assets/gui/_nuxt/DLps5vLc.js +1 -0
  42. package/assets/gui/_nuxt/DNM2C9RQ.js +1 -0
  43. package/assets/gui/_nuxt/DQcJWYOz.js +10 -0
  44. package/assets/gui/_nuxt/DYanJOYX.js +1 -0
  45. package/assets/gui/_nuxt/Dgtmkgv6.js +145 -0
  46. package/assets/gui/_nuxt/DhXJpUyf.js +261 -0
  47. package/assets/gui/_nuxt/DhgdKvf3.js +4 -0
  48. package/assets/gui/_nuxt/DlAUqK2U.js +1 -0
  49. package/assets/gui/_nuxt/DoSvhc5U.js +1 -0
  50. package/assets/gui/_nuxt/Dr-RzAtV.js +1 -0
  51. package/assets/gui/_nuxt/DuPuI2eK.js +10 -0
  52. package/assets/gui/_nuxt/DvJDa2y1.js +1 -0
  53. package/assets/gui/_nuxt/FdVDP1dJ.js +350 -0
  54. package/assets/gui/_nuxt/Fi3JZ7gi.js +1 -0
  55. package/assets/gui/_nuxt/FmGx3-yC.js +1 -0
  56. package/assets/gui/_nuxt/Gi6I4Gst.js +1 -0
  57. package/assets/gui/_nuxt/I4qJV1od.js +89 -0
  58. package/assets/gui/_nuxt/JhHowHQY.js +64 -0
  59. package/assets/gui/_nuxt/QrFbBF0x.js +36 -0
  60. package/assets/gui/_nuxt/VvxifOG2.js +250 -0
  61. package/assets/gui/_nuxt/WbTodJZi.js +2 -0
  62. package/assets/gui/_nuxt/XbL3y5x-.js +261 -0
  63. package/assets/gui/_nuxt/a4I2nS0P.js +165 -0
  64. package/assets/gui/_nuxt/builds/latest.json +1 -0
  65. package/assets/gui/_nuxt/builds/meta/61e794b6-fdf7-4843-93ff-0e0358069cb4.json +1 -0
  66. package/assets/gui/_nuxt/eM4IBQGT.js +1 -0
  67. package/assets/gui/_nuxt/entry.DKEE1mdx.css +1 -0
  68. package/assets/gui/_nuxt/error-404.BAwq3L4-.css +1 -0
  69. package/assets/gui/_nuxt/error-500.DFXMopWe.css +1 -0
  70. package/assets/gui/_nuxt/fGWXVeDl.js +7 -0
  71. package/assets/gui/_nuxt/gw8YJBUN.js +1 -0
  72. package/assets/gui/_nuxt/index.CeD9Flb2.css +1 -0
  73. package/assets/gui/_nuxt/m1p94B0o.js +24 -0
  74. package/assets/gui/_nuxt/moIhOSp_.js +30 -0
  75. package/assets/gui/_nuxt/waGmH_zw.js +1 -0
  76. package/assets/gui/_nuxt/yG4UzpsV.js +1 -0
  77. package/assets/gui/_nuxt/zPZrJS7V.js +1 -0
  78. package/assets/gui/favicon.ico +0 -0
  79. package/assets/gui/index.html +12 -0
  80. package/assets/gui/robots.txt +2 -0
  81. package/dist/cli.mjs +1278 -970
  82. package/dist/models/aihubmix.json +19601 -0
  83. package/dist/models/openrouter.json +7848 -0
  84. package/dist/models/siliconflow-com.json +2130 -0
  85. package/dist/models/siliconflow.json +3560 -0
  86. package/dist/models/zenmux.json +2337 -0
  87. package/package.json +13 -7
  88. package/scripts/postinstall.mjs +3 -1
@@ -0,0 +1,350 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./C_nwuZOL.js","./DlAUqK2U.js","./index.CeD9Flb2.css","./0OuYuFdd.js","./DhXJpUyf.js","./BCdCHJrs.js","./DvJDa2y1.js","./DhgdKvf3.js","./waGmH_zw.js","./CctfDgzL.js","./error-404.BAwq3L4-.css","./DLps5vLc.js","./error-500.DFXMopWe.css"])))=>i.map(i=>d[i]);
2
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function na(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const je={},ho=[],Sn=()=>{},Qh=()=>!1,wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ra=e=>e.startsWith("onUpdate:"),rt=Object.assign,oa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},V1=Object.prototype.hasOwnProperty,Oe=(e,t)=>V1.call(e,t),be=Array.isArray,po=e=>ki(e)==="[object Map]",Yh=e=>ki(e)==="[object Set]",K1=e=>ki(e)==="[object RegExp]",we=e=>typeof e=="function",Ue=e=>typeof e=="string",Jn=e=>typeof e=="symbol",qe=e=>e!==null&&typeof e=="object",ed=e=>(qe(e)||we(e))&&we(e.then)&&we(e.catch),td=Object.prototype.toString,ki=e=>td.call(e),G1=e=>ki(e).slice(8,-1),nd=e=>ki(e)==="[object Object]",Ks=e=>Ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lr=na(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Z1=/-\w/g,an=Gs(e=>e.replace(Z1,t=>t.slice(1).toUpperCase())),J1=/\B([A-Z])/g,yr=Gs(e=>e.replace(J1,"-$1").toLowerCase()),Zs=Gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),ts=Gs(e=>e?`on${Zs(e)}`:""),Wn=(e,t)=>!Object.is(e,t),go=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},rd=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ia=e=>{const t=parseFloat(e);return isNaN(t)?e:t},od=e=>{const t=Ue(e)?Number(e):NaN;return isNaN(t)?e:t};let ou;const Js=()=>ou||(ou=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Kt(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ue(r)?eg(r):Kt(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(Ue(e)||qe(e))return e}const X1=/;(?![^(]*\))/g,Q1=/:([^]+)/,Y1=/\/\*[^]*?\*\//g;function eg(e){const t={};return e.replace(Y1,"").split(X1).forEach(n=>{if(n){const r=n.split(Q1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function nt(e){let t="";if(Ue(e))t=e;else if(be(e))for(let n=0;n<e.length;n++){const r=nt(e[n]);r&&(t+=r+" ")}else if(qe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function tg(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ue(t)&&(e.class=nt(t)),n&&(e.style=Kt(n)),e}const ng="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",rg=na(ng);function id(e){return!!e||e===""}const sd=e=>!!(e&&e.__v_isRef===!0),Je=e=>Ue(e)?e:e==null?"":be(e)||qe(e)&&(e.toString===td||!we(e.toString))?sd(e)?Je(e.value):JSON.stringify(e,ld,2):String(e),ld=(e,t)=>sd(t)?ld(e,t.value):po(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[vl(r,i)+" =>"]=o,n),{})}:Yh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>vl(n))}:Jn(t)?vl(t):qe(t)&&!be(t)&&!nd(t)?String(t):t,vl=(e,t="")=>{var n;return Jn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Mt;class cd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Mt,!t&&Mt&&(this.index=(Mt.scopes||(Mt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Mt;try{return Mt=this,t()}finally{Mt=n}}}on(){++this._on===1&&(this.prevScope=Mt,Mt=this)}off(){this._on>0&&--this._on===0&&(Mt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function og(e){return new cd(e)}function ad(){return Mt}let We;const bl=new WeakSet;class ud{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Mt&&Mt.active&&Mt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,bl.has(this)&&(bl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||hd(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,iu(this),dd(this);const t=We,n=pn;We=this,pn=!0;try{return this.fn()}finally{pd(this),We=t,pn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ca(t);this.deps=this.depsTail=void 0,iu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?bl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){cc(this)&&this.run()}get dirty(){return cc(this)}}let fd=0,Ko,Go;function hd(e,t=!1){if(e.flags|=8,t){e.next=Go,Go=e;return}e.next=Ko,Ko=e}function sa(){fd++}function la(){if(--fd>0)return;if(Go){let t=Go;for(Go=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ko;){let t=Ko;for(Ko=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function dd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function pd(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),ca(r),ig(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function cc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(gd(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function gd(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ai)||(e.globalVersion=ai,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!cc(e))))return;e.flags|=2;const t=e.dep,n=We,r=pn;We=e,pn=!0;try{dd(e);const o=e.fn(e._value);(t.version===0||Wn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{We=n,pn=r,pd(e),e.flags&=-3}}function ca(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ca(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ig(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let pn=!0;const md=[];function Vn(){md.push(pn),pn=!1}function Kn(){const e=md.pop();pn=e===void 0?!0:e}function iu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=We;We=void 0;try{t()}finally{We=n}}}let ai=0;class sg{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class aa{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!We||!pn||We===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==We)n=this.activeLink=new sg(We,this),We.deps?(n.prevDep=We.depsTail,We.depsTail.nextDep=n,We.depsTail=n):We.deps=We.depsTail=n,yd(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=We.depsTail,n.nextDep=void 0,We.depsTail.nextDep=n,We.depsTail=n,We.deps===n&&(We.deps=r)}return n}trigger(t){this.version++,ai++,this.notify(t)}notify(t){sa();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{la()}}}function yd(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)yd(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ms=new WeakMap,Fr=Symbol(""),ac=Symbol(""),ui=Symbol("");function yt(e,t,n){if(pn&&We){let r=ms.get(e);r||ms.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new aa),o.map=r,o.key=n),o.track()}}function jn(e,t,n,r,o,i){const s=ms.get(e);if(!s){ai++;return}const l=c=>{c&&c.trigger()};if(sa(),t==="clear")s.forEach(l);else{const c=be(e),u=c&&Ks(n);if(c&&n==="length"){const a=Number(r);s.forEach((f,p)=>{(p==="length"||p===ui||!Jn(p)&&p>=a)&&l(f)})}else switch((n!==void 0||s.has(void 0))&&l(s.get(n)),u&&l(s.get(ui)),t){case"add":c?u&&l(s.get("length")):(l(s.get(Fr)),po(e)&&l(s.get(ac)));break;case"delete":c||(l(s.get(Fr)),po(e)&&l(s.get(ac)));break;case"set":po(e)&&l(s.get(Fr));break}}la()}function lg(e,t){const n=ms.get(e);return n&&n.get(t)}function to(e){const t=Le(e);return t===e?t:(yt(t,"iterate",ui),Gt(e)?t:t.map(_n))}function Xs(e){return yt(e=Le(e),"iterate",ui),e}function lr(e,t){return Rn(e)?ko(gr(e)?_n(t):t):_n(t)}const cg={__proto__:null,[Symbol.iterator](){return wl(this,Symbol.iterator,e=>lr(this,e))},concat(...e){return to(this).concat(...e.map(t=>be(t)?to(t):t))},entries(){return wl(this,"entries",e=>(e[1]=lr(this,e[1]),e))},every(e,t){return Fn(this,"every",e,t,void 0,arguments)},filter(e,t){return Fn(this,"filter",e,t,n=>n.map(r=>lr(this,r)),arguments)},find(e,t){return Fn(this,"find",e,t,n=>lr(this,n),arguments)},findIndex(e,t){return Fn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fn(this,"findLast",e,t,n=>lr(this,n),arguments)},findLastIndex(e,t){return Fn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fn(this,"forEach",e,t,void 0,arguments)},includes(...e){return kl(this,"includes",e)},indexOf(...e){return kl(this,"indexOf",e)},join(e){return to(this).join(e)},lastIndexOf(...e){return kl(this,"lastIndexOf",e)},map(e,t){return Fn(this,"map",e,t,void 0,arguments)},pop(){return Oo(this,"pop")},push(...e){return Oo(this,"push",e)},reduce(e,...t){return su(this,"reduce",e,t)},reduceRight(e,...t){return su(this,"reduceRight",e,t)},shift(){return Oo(this,"shift")},some(e,t){return Fn(this,"some",e,t,void 0,arguments)},splice(...e){return Oo(this,"splice",e)},toReversed(){return to(this).toReversed()},toSorted(e){return to(this).toSorted(e)},toSpliced(...e){return to(this).toSpliced(...e)},unshift(...e){return Oo(this,"unshift",e)},values(){return wl(this,"values",e=>lr(this,e))}};function wl(e,t,n){const r=Xs(e),o=r[t]();return r!==e&&!Gt(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=n(i.value)),i}),o}const ag=Array.prototype;function Fn(e,t,n,r,o,i){const s=Xs(e),l=s!==e&&!Gt(e),c=s[t];if(c!==ag[t]){const f=c.apply(e,i);return l?_n(f):f}let u=n;s!==e&&(l?u=function(f,p){return n.call(this,lr(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const a=c.call(s,u,r);return l&&o?o(a):a}function su(e,t,n,r){const o=Xs(e);let i=n;return o!==e&&(Gt(e)?n.length>3&&(i=function(s,l,c){return n.call(this,s,l,c,e)}):i=function(s,l,c){return n.call(this,s,lr(e,l),c,e)}),o[t](i,...r)}function kl(e,t,n){const r=Le(e);yt(r,"iterate",ui);const o=r[t](...n);return(o===-1||o===!1)&&Qs(n[0])?(n[0]=Le(n[0]),r[t](...n)):o}function Oo(e,t,n=[]){Vn(),sa();const r=Le(e)[t].apply(e,n);return la(),Kn(),r}const ug=na("__proto__,__v_isRef,__isVue"),_d=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jn));function fg(e){Jn(e)||(e=String(e));const t=Le(this);return yt(t,"has",e),t.hasOwnProperty(e)}class vd{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?wg:xd:i?kd:wd).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=be(t);if(!o){let c;if(s&&(c=cg[n]))return c;if(n==="hasOwnProperty")return fg}const l=Reflect.get(t,n,et(t)?t:r);if((Jn(n)?_d.has(n):ug(n))||(o||yt(t,"get",n),i))return l;if(et(l)){const c=s&&Ks(n)?l:l.value;return o&&qe(c)?ys(c):c}return qe(l)?o?ys(l):ln(l):l}}class bd extends vd{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];const s=be(t)&&Ks(n);if(!this._isShallow){const u=Rn(i);if(!Gt(r)&&!Rn(r)&&(i=Le(i),r=Le(r)),!s&&et(i)&&!et(r))return u||(i.value=r),!0}const l=s?Number(n)<t.length:Oe(t,n),c=Reflect.set(t,n,r,et(t)?t:o);return t===Le(o)&&(l?Wn(r,i)&&jn(t,"set",n,r):jn(t,"add",n,r)),c}deleteProperty(t,n){const r=Oe(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&jn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Jn(n)||!_d.has(n))&&yt(t,"has",n),r}ownKeys(t){return yt(t,"iterate",be(t)?"length":Fr),Reflect.ownKeys(t)}}class hg extends vd{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const dg=new bd,pg=new hg,gg=new bd(!0);const uc=e=>e,Pi=e=>Reflect.getPrototypeOf(e);function mg(e,t,n){return function(...r){const o=this.__v_raw,i=Le(o),s=po(i),l=e==="entries"||e===Symbol.iterator&&s,c=e==="keys"&&s,u=o[e](...r),a=n?uc:t?ko:_n;return!t&&yt(i,"iterate",c?ac:Fr),rt(Object.create(u),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[a(f[0]),a(f[1])]:a(f),done:p}}})}}function Li(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yg(e,t){const n={get(o){const i=this.__v_raw,s=Le(i),l=Le(o);e||(Wn(o,l)&&yt(s,"get",o),yt(s,"get",l));const{has:c}=Pi(s),u=t?uc:e?ko:_n;if(c.call(s,o))return u(i.get(o));if(c.call(s,l))return u(i.get(l));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&yt(Le(o),"iterate",Fr),o.size},has(o){const i=this.__v_raw,s=Le(i),l=Le(o);return e||(Wn(o,l)&&yt(s,"has",o),yt(s,"has",l)),o===l?i.has(o):i.has(o)||i.has(l)},forEach(o,i){const s=this,l=s.__v_raw,c=Le(l),u=t?uc:e?ko:_n;return!e&&yt(c,"iterate",Fr),l.forEach((a,f)=>o.call(i,u(a),u(f),s))}};return rt(n,e?{add:Li("add"),set:Li("set"),delete:Li("delete"),clear:Li("clear")}:{add(o){!t&&!Gt(o)&&!Rn(o)&&(o=Le(o));const i=Le(this);return Pi(i).has.call(i,o)||(i.add(o),jn(i,"add",o,o)),this},set(o,i){!t&&!Gt(i)&&!Rn(i)&&(i=Le(i));const s=Le(this),{has:l,get:c}=Pi(s);let u=l.call(s,o);u||(o=Le(o),u=l.call(s,o));const a=c.call(s,o);return s.set(o,i),u?Wn(i,a)&&jn(s,"set",o,i):jn(s,"add",o,i),this},delete(o){const i=Le(this),{has:s,get:l}=Pi(i);let c=s.call(i,o);c||(o=Le(o),c=s.call(i,o)),l&&l.call(i,o);const u=i.delete(o);return c&&jn(i,"delete",o,void 0),u},clear(){const o=Le(this),i=o.size!==0,s=o.clear();return i&&jn(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=mg(o,e,t)}),n}function ua(e,t){const n=yg(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Oe(n,o)&&o in r?n:r,o,i)}const _g={get:ua(!1,!1)},vg={get:ua(!1,!0)},bg={get:ua(!0,!1)};const wd=new WeakMap,kd=new WeakMap,xd=new WeakMap,wg=new WeakMap;function kg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xg(e){return e.__v_skip||!Object.isExtensible(e)?0:kg(G1(e))}function ln(e){return Rn(e)?e:fa(e,!1,dg,_g,wd)}function zn(e){return fa(e,!1,gg,vg,kd)}function ys(e){return fa(e,!0,pg,bg,xd)}function fa(e,t,n,r,o){if(!qe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=xg(e);if(i===0)return e;const s=o.get(e);if(s)return s;const l=new Proxy(e,i===2?r:n);return o.set(e,l),l}function gr(e){return Rn(e)?gr(e.__v_raw):!!(e&&e.__v_isReactive)}function Rn(e){return!!(e&&e.__v_isReadonly)}function Gt(e){return!!(e&&e.__v_isShallow)}function Qs(e){return e?!!e.__v_raw:!1}function Le(e){const t=e&&e.__v_raw;return t?Le(t):e}function fc(e){return!Oe(e,"__v_skip")&&Object.isExtensible(e)&&rd(e,"__v_skip",!0),e}const _n=e=>qe(e)?ln(e):e,ko=e=>qe(e)?ys(e):e;function et(e){return e?e.__v_isRef===!0:!1}function de(e){return Cd(e,!1)}function Vr(e){return Cd(e,!0)}function Cd(e,t){return et(e)?e:new Cg(e,t)}class Cg{constructor(t,n){this.dep=new aa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Le(t),this._value=n?t:_n(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Gt(t)||Rn(t);t=r?t:Le(t),Wn(t,n)&&(this._rawValue=t,this._value=r?t:_n(t),this.dep.trigger())}}function ue(e){return et(e)?e.value:e}function Eg(e){return we(e)?e():ue(e)}const Ag={get:(e,t,n)=>t==="__v_raw"?e:ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return et(o)&&!et(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Ed(e){return gr(e)?e:new Proxy(e,Ag)}class Sg{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=Le(t);let o=!0,i=t;if(!be(t)||!Ks(String(n)))do o=!Qs(i)||Gt(i);while(o&&(i=i.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=ue(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&et(this._raw[this._key])){const n=this._object[this._key];if(et(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return lg(this._raw,this._key)}}class Tg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Mg(e,t,n){return et(e)?e:we(e)?new Tg(e):qe(e)&&arguments.length>1?Rg(e,t,n):de(e)}function Rg(e,t,n){return new Sg(e,t,n)}class Ig{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new aa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ai-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return hd(this,!0),!0}get value(){const t=this.dep.track();return gd(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Dg(e,t,n=!1){let r,o;return we(e)?r=e:(r=e.get,o=e.set),new Ig(r,o,n)}const Fi={},_s=new WeakMap;let Mr;function $g(e,t=!1,n=Mr){if(n){let r=_s.get(n);r||_s.set(n,r=[]),r.push(e)}}function Pg(e,t,n=je){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:l,call:c}=n,u=b=>o?b:Gt(b)||o===!1||o===0?qn(b,1):qn(b);let a,f,p,h,d=!1,g=!1;if(et(e)?(f=()=>e.value,d=Gt(e)):gr(e)?(f=()=>u(e),d=!0):be(e)?(g=!0,d=e.some(b=>gr(b)||Gt(b)),f=()=>e.map(b=>{if(et(b))return b.value;if(gr(b))return u(b);if(we(b))return c?c(b,2):b()})):we(e)?t?f=c?()=>c(e,2):e:f=()=>{if(p){Vn();try{p()}finally{Kn()}}const b=Mr;Mr=a;try{return c?c(e,3,[h]):e(h)}finally{Mr=b}}:f=Sn,t&&o){const b=f,v=o===!0?1/0:o;f=()=>qn(b(),v)}const m=ad(),x=()=>{a.stop(),m&&m.active&&oa(m.effects,a)};if(i&&t){const b=t;t=(...v)=>{b(...v),x()}}let _=g?new Array(e.length).fill(Fi):Fi;const y=b=>{if(!(!(a.flags&1)||!a.dirty&&!b))if(t){const v=a.run();if(o||d||(g?v.some((S,w)=>Wn(S,_[w])):Wn(v,_))){p&&p();const S=Mr;Mr=a;try{const w=[v,_===Fi?void 0:g&&_[0]===Fi?[]:_,h];_=v,c?c(t,3,w):t(...w)}finally{Mr=S}}}else a.run()};return l&&l(y),a=new ud(f),a.scheduler=s?()=>s(y,!1):y,h=b=>$g(b,!1,a),p=a.onStop=()=>{const b=_s.get(a);if(b){if(c)c(b,4);else for(const v of b)v();_s.delete(a)}},t?r?y(!0):_=a.run():s?s(y.bind(null,!0),!0):a.run(),x.pause=a.pause.bind(a),x.resume=a.resume.bind(a),x.stop=x,x}function qn(e,t=1/0,n){if(t<=0||!qe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,et(e))qn(e.value,t,n);else if(be(e))for(let r=0;r<e.length;r++)qn(e[r],t,n);else if(Yh(e)||po(e))e.forEach(r=>{qn(r,t,n)});else if(nd(e)){for(const r in e)qn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&qn(e[r],t,n)}return e}function xi(e,t,n,r){try{return r?e(...r):e()}catch(o){To(o,t,n)}}function vn(e,t,n,r){if(we(e)){const o=xi(e,t,n,r);return o&&ed(o)&&o.catch(i=>{To(i,t,n)}),o}if(be(e)){const o=[];for(let i=0;i<e.length;i++)o.push(vn(e[i],t,n,r));return o}}function To(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||je;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,c,u)===!1)return}l=l.parent}if(i){Vn(),xi(i,null,10,[e,c,u]),Kn();return}}Lg(e,n,o,r,s)}function Lg(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const xt=[];let Cn=-1;const mo=[];let cr=null,lo=0;const Ad=Promise.resolve();let vs=null;function Wt(e){const t=vs||Ad;return e?t.then(this?e.bind(this):e):t}function Fg(e){let t=Cn+1,n=xt.length;for(;t<n;){const r=t+n>>>1,o=xt[r],i=fi(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function ha(e){if(!(e.flags&1)){const t=fi(e),n=xt[xt.length-1];!n||!(e.flags&2)&&t>=fi(n)?xt.push(e):xt.splice(Fg(t),0,e),e.flags|=1,Sd()}}function Sd(){vs||(vs=Ad.then(Td))}function hc(e){be(e)?mo.push(...e):cr&&e.id===-1?cr.splice(lo+1,0,e):e.flags&1||(mo.push(e),e.flags|=1),Sd()}function lu(e,t,n=Cn+1){for(;n<xt.length;n++){const r=xt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;xt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function bs(e){if(mo.length){const t=[...new Set(mo)].sort((n,r)=>fi(n)-fi(r));if(mo.length=0,cr){cr.push(...t);return}for(cr=t,lo=0;lo<cr.length;lo++){const n=cr[lo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}cr=null,lo=0}}const fi=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Td(e){try{for(Cn=0;Cn<xt.length;Cn++){const t=xt[Cn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Cn<xt.length;Cn++){const t=xt[Cn];t&&(t.flags&=-2)}Cn=-1,xt.length=0,bs(),vs=null,(xt.length||mo.length)&&Td()}}let at=null,Md=null;function ws(e){const t=at;return at=e,Md=e&&e.type.__scopeId||null,t}function _r(e,t=at,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ss(-1);const i=ws(t);let s;try{s=e(...o)}finally{ws(i),r._d&&Ss(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ks(e,t){if(at===null)return e;const n=nl(at),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,l,c=je]=t[o];i&&(we(i)&&(i={mounted:i,updated:i}),i.deep&&qn(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:c}))}return e}function En(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let c=l.dir[r];c&&(Vn(),vn(c,n,8,[e.el,l,e,t]),Kn())}}function Or(e,t){if(ct){let n=ct.provides;const r=ct.parent&&ct.parent.provides;r===n&&(n=ct.provides=Object.create(r)),n[e]=t}}function It(e,t,n=!1){const r=Jr();if(r||Hr){let o=Hr?Hr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&we(t)?t.call(r&&r.proxy):t}}function da(){return!!(Jr()||Hr)}const Og=Symbol.for("v-scx"),Ng=()=>It(Og);function Bg(e,t){return pa(e,null,t)}function Ne(e,t,n){return pa(e,t,n)}function pa(e,t,n=je){const{immediate:r,deep:o,flush:i,once:s}=n,l=rt({},n),c=t&&r||!t&&i!=="post";let u;if(Co){if(i==="sync"){const h=Ng();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=Sn,h.resume=Sn,h.pause=Sn,h}}const a=ct;l.call=(h,d,g)=>vn(h,a,d,g);let f=!1;i==="post"?l.scheduler=h=>{Qe(h,a&&a.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(h,d)=>{d?h():ha(h)}),l.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,a&&(h.id=a.uid,h.i=a))};const p=Pg(e,t,l);return Co&&(u?u.push(p):c&&p()),p}function Hg(e,t,n){const r=this.proxy,o=Ue(e)?e.includes(".")?Rd(r,e):()=>r[e]:e.bind(r,r);let i;we(t)?i=t:(i=t.handler,n=t);const s=Ai(this),l=pa(o,i.bind(r),n);return s(),l}function Rd(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Id=Symbol("_vte"),Dd=e=>e.__isTeleport,Zo=e=>e&&(e.disabled||e.disabled===""),cu=e=>e&&(e.defer||e.defer===""),au=e=>typeof SVGElement<"u"&&e instanceof SVGElement,uu=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,dc=(e,t)=>{const n=e&&e.to;return Ue(n)?t?t(n):null:n},$d={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,l,c,u){const{mc:a,pc:f,pbc:p,o:{insert:h,querySelector:d,createText:g,createComment:m}}=u,x=Zo(t.props);let{shapeFlag:_,children:y,dynamicChildren:b}=t;if(e==null){const v=t.el=g(""),S=t.anchor=g("");h(v,n,r),h(S,n,r);const w=(E,C)=>{_&16&&a(y,E,C,o,i,s,l,c)},A=()=>{const E=t.target=dc(t.props,d),C=Pd(E,t,g,h);E&&(s!=="svg"&&au(E)?s="svg":s!=="mathml"&&uu(E)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(E),x||(w(E,C),ns(t,!1)))};x&&(w(n,S),ns(t,!0)),cu(t.props)?(t.el.__isMounted=!1,Qe(()=>{A(),delete t.el.__isMounted},i)):A()}else{if(cu(t.props)&&e.el.__isMounted===!1){Qe(()=>{$d.process(e,t,n,r,o,i,s,l,c,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const v=t.anchor=e.anchor,S=t.target=e.target,w=t.targetAnchor=e.targetAnchor,A=Zo(e.props),E=A?n:S,C=A?v:w;if(s==="svg"||au(S)?s="svg":(s==="mathml"||uu(S))&&(s="mathml"),b?(p(e.dynamicChildren,b,E,o,i,s,l),_a(e,t,!0)):c||f(e,t,E,C,o,i,s,l,!1),x)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Oi(t,n,v,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=dc(t.props,d);M&&Oi(t,M,null,u,0)}else A&&Oi(t,S,w,u,1);ns(t,x)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:l,anchor:c,targetStart:u,targetAnchor:a,target:f,props:p}=e;if(f&&(o(u),o(a)),i&&o(c),s&16){const h=i||!Zo(p);for(let d=0;d<l.length;d++){const g=l[d];r(g,t,n,h,!!g.dynamicChildren)}}},move:Oi,hydrate:jg};function Oi(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:s,anchor:l,shapeFlag:c,children:u,props:a}=e,f=i===2;if(f&&r(s,t,n),(!f||Zo(a))&&c&16)for(let p=0;p<u.length;p++)o(u[p],t,n,2);f&&r(l,t,n)}function jg(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:l,querySelector:c,insert:u,createText:a}},f){function p(g,m,x,_){m.anchor=f(s(g),m,l(g),n,r,o,i),m.targetStart=x,m.targetAnchor=_}const h=t.target=dc(t.props,c),d=Zo(t.props);if(h){const g=h._lpa||h.firstChild;if(t.shapeFlag&16)if(d)p(e,t,g,g&&s(g));else{t.anchor=s(e);let m=g;for(;m;){if(m&&m.nodeType===8){if(m.data==="teleport start anchor")t.targetStart=m;else if(m.data==="teleport anchor"){t.targetAnchor=m,h._lpa=t.targetAnchor&&s(t.targetAnchor);break}}m=s(m)}t.targetAnchor||Pd(h,t,a,u),f(g&&s(g),t,h,n,r,o,i)}ns(t,d)}else d&&t.shapeFlag&16&&p(e,t,e,s(e));return t.anchor&&s(t.anchor)}const qg=$d;function ns(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Pd(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Id]=i,e&&(r(o,e),r(i,e)),i}const Hn=Symbol("_leaveCb"),Ni=Symbol("_enterCb");function zg(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ei(()=>{e.isMounted=!0}),wn(()=>{e.isUnmounting=!0}),e}const on=[Function,Array],Ld={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:on,onEnter:on,onAfterEnter:on,onEnterCancelled:on,onBeforeLeave:on,onLeave:on,onAfterLeave:on,onLeaveCancelled:on,onBeforeAppear:on,onAppear:on,onAfterAppear:on,onAppearCancelled:on},Fd=e=>{const t=e.subTree;return t.component?Fd(t.component):t},Wg={name:"BaseTransition",props:Ld,setup(e,{slots:t}){const n=Jr(),r=zg();return()=>{const o=t.default&&Bd(t.default(),!0);if(!o||!o.length)return;const i=Od(o),s=Le(e),{mode:l}=s;if(r.isLeaving)return xl(i);const c=fu(i);if(!c)return xl(i);let u=pc(c,s,r,n,f=>u=f);c.type!==Ye&&xo(c,u);let a=n.subTree&&fu(n.subTree);if(a&&a.type!==Ye&&!dn(a,c)&&Fd(n).type!==Ye){let f=pc(a,s,r,n);if(xo(a,f),l==="out-in"&&c.type!==Ye)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,a=void 0},xl(i);l==="in-out"&&c.type!==Ye?f.delayLeave=(p,h,d)=>{const g=Nd(r,a);g[String(a.key)]=a,p[Hn]=()=>{h(),p[Hn]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{d(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Od(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ye){t=n;break}}return t}const Ug=Wg;function Nd(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function pc(e,t,n,r,o){const{appear:i,mode:s,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:p,onLeave:h,onAfterLeave:d,onLeaveCancelled:g,onBeforeAppear:m,onAppear:x,onAfterAppear:_,onAppearCancelled:y}=t,b=String(e.key),v=Nd(n,e),S=(E,C)=>{E&&vn(E,r,9,C)},w=(E,C)=>{const M=C[1];S(E,C),be(E)?E.every(R=>R.length<=1)&&M():E.length<=1&&M()},A={mode:s,persisted:l,beforeEnter(E){let C=c;if(!n.isMounted)if(i)C=m||c;else return;E[Hn]&&E[Hn](!0);const M=v[b];M&&dn(e,M)&&M.el[Hn]&&M.el[Hn](),S(C,[E])},enter(E){let C=u,M=a,R=f;if(!n.isMounted)if(i)C=x||u,M=_||a,R=y||f;else return;let P=!1;const B=E[Ni]=D=>{P||(P=!0,D?S(R,[E]):S(M,[E]),A.delayedLeave&&A.delayedLeave(),E[Ni]=void 0)};C?w(C,[E,B]):B()},leave(E,C){const M=String(e.key);if(E[Ni]&&E[Ni](!0),n.isUnmounting)return C();S(p,[E]);let R=!1;const P=E[Hn]=B=>{R||(R=!0,C(),B?S(g,[E]):S(d,[E]),E[Hn]=void 0,v[M]===e&&delete v[M])};v[M]=e,h?w(h,[E,P]):P()},clone(E){const C=pc(E,t,n,r,o);return o&&o(C),C}};return A}function xl(e){if(Ci(e))return e=Gn(e),e.children=null,e}function fu(e){if(!Ci(e))return Dd(e.type)&&e.children?Od(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&we(n.default))return n.default()}}function xo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,xo(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bd(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const l=n==null?s.key:String(n)+String(s.key!=null?s.key:i);s.type===Ee?(s.patchFlag&128&&o++,r=r.concat(Bd(s.children,t,l))):(t||s.type!==Ye)&&r.push(l!=null?Gn(s,{key:l}):s)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function xe(e,t){return we(e)?rt({name:e.name},t,{setup:e}):e}function ga(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const xs=new WeakMap;function yo(e,t,n,r,o=!1){if(be(e)){e.forEach((d,g)=>yo(d,t&&(be(t)?t[g]:t),n,r,o));return}if(Un(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&yo(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?nl(r.component):r.el,s=o?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===je?l.refs={}:l.refs,f=l.setupState,p=Le(f),h=f===je?Qh:d=>Oe(p,d);if(u!=null&&u!==c){if(hu(t),Ue(u))a[u]=null,h(u)&&(f[u]=null);else if(et(u)){u.value=null;const d=t;d.k&&(a[d.k]=null)}}if(we(c))xi(c,l,12,[s,a]);else{const d=Ue(c),g=et(c);if(d||g){const m=()=>{if(e.f){const x=d?h(c)?f[c]:a[c]:c.value;if(o)be(x)&&oa(x,i);else if(be(x))x.includes(i)||x.push(i);else if(d)a[c]=[i],h(c)&&(f[c]=a[c]);else{const _=[i];c.value=_,e.k&&(a[e.k]=_)}}else d?(a[c]=s,h(c)&&(f[c]=s)):g&&(c.value=s,e.k&&(a[e.k]=s))};if(s){const x=()=>{m(),xs.delete(e)};x.id=-1,xs.set(e,x),Qe(x,n)}else hu(e),m()}}}function hu(e){const t=xs.get(e);t&&(t.flags|=8,xs.delete(e))}let du=!1;const no=()=>{du||(console.error("Hydration completed but contains mismatches."),du=!0)},Vg=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Kg=e=>e.namespaceURI.includes("MathML"),Bi=e=>{if(e.nodeType===1){if(Vg(e))return"svg";if(Kg(e))return"mathml"}},uo=e=>e.nodeType===8;function Gg(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:c,createComment:u}}=e,a=(y,b)=>{if(!b.hasChildNodes()){n(null,y,b),bs(),b._vnode=y;return}f(b.firstChild,y,null,null,null),bs(),b._vnode=y},f=(y,b,v,S,w,A=!1)=>{A=A||!!b.dynamicChildren;const E=uo(y)&&y.data==="[",C=()=>g(y,b,v,S,w,E),{type:M,ref:R,shapeFlag:P,patchFlag:B}=b;let D=y.nodeType;b.el=y,B===-2&&(A=!1,b.dynamicChildren=null);let I=null;switch(M){case jr:D!==3?b.children===""?(c(b.el=o(""),s(y),y),I=y):I=C():(y.data!==b.children&&(no(),y.data=b.children),I=i(y));break;case Ye:_(y)?(I=i(y),x(b.el=y.content.firstChild,y,v)):D!==8||E?I=C():I=i(y);break;case rs:if(E&&(y=i(y),D=y.nodeType),D===1||D===3){I=y;const O=!b.children.length;for(let F=0;F<b.staticCount;F++)O&&(b.children+=I.nodeType===1?I.outerHTML:I.data),F===b.staticCount-1&&(b.anchor=I),I=i(I);return E?i(I):I}else C();break;case Ee:E?I=d(y,b,v,S,w,A):I=C();break;default:if(P&1)(D!==1||b.type.toLowerCase()!==y.tagName.toLowerCase())&&!_(y)?I=C():I=p(y,b,v,S,w,A);else if(P&6){b.slotScopeIds=w;const O=s(y);if(E?I=m(y):uo(y)&&y.data==="teleport start"?I=m(y,y.data,"teleport end"):I=i(y),t(b,O,null,v,S,Bi(O),A),Un(b)&&!b.type.__asyncResolved){let F;E?(F=Pe(Ee),F.anchor=I?I.previousSibling:O.lastChild):F=y.nodeType===3?vp(""):Pe("div"),F.el=y,b.component.subTree=F}}else P&64?D!==8?I=C():I=b.type.hydrate(y,b,v,S,w,A,e,h):P&128&&(I=b.type.hydrate(y,b,v,S,Bi(s(y)),w,A,e,f))}return R!=null&&yo(R,null,S,b),I},p=(y,b,v,S,w,A)=>{A=A||!!b.dynamicChildren;const{type:E,props:C,patchFlag:M,shapeFlag:R,dirs:P,transition:B}=b,D=E==="input"||E==="option";if(D||M!==-1){P&&En(b,null,v,"created");let I=!1;if(_(y)){I=ap(null,B)&&v&&v.vnode.props&&v.vnode.props.appear;const F=y.content.firstChild;if(I){const q=F.getAttribute("class");q&&(F.$cls=q),B.beforeEnter(F)}x(F,y,v),b.el=y=F}if(R&16&&!(C&&(C.innerHTML||C.textContent))){let F=h(y.firstChild,b,y,v,S,w,A);for(;F;){Hi(y,1)||no();const q=F;F=F.nextSibling,l(q)}}else if(R&8){let F=b.children;F[0]===`
3
+ `&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(F=F.slice(1));const{textContent:q}=y;q!==F&&q!==F.replace(/\r\n|\r/g,`
4
+ `)&&(Hi(y,0)||no(),y.textContent=b.children)}if(C){if(D||!A||M&48){const F=y.tagName.includes("-");for(const q in C)(D&&(q.endsWith("value")||q==="indeterminate")||wi(q)&&!Lr(q)||q[0]==="."||F&&!Lr(q))&&r(y,q,null,C[q],void 0,v)}else if(C.onClick)r(y,"onClick",null,C.onClick,void 0,v);else if(M&4&&gr(C.style))for(const F in C.style)C.style[F]}let O;(O=C&&C.onVnodeBeforeMount)&&Rt(O,v,b),P&&En(b,null,v,"beforeMount"),((O=C&&C.onVnodeMounted)||P||I)&&pp(()=>{O&&Rt(O,v,b),I&&B.enter(y),P&&En(b,null,v,"mounted")},S)}return y.nextSibling},h=(y,b,v,S,w,A,E)=>{E=E||!!b.dynamicChildren;const C=b.children,M=C.length;for(let R=0;R<M;R++){const P=E?C[R]:C[R]=qt(C[R]),B=P.type===jr;y?(B&&!E&&R+1<M&&qt(C[R+1]).type===jr&&(c(o(y.data.slice(P.children.length)),v,i(y)),y.data=P.children),y=f(y,P,S,w,A,E)):B&&!P.children?c(P.el=o(""),v):(Hi(v,1)||no(),n(null,P,v,null,S,w,Bi(v),A))}return y},d=(y,b,v,S,w,A)=>{const{slotScopeIds:E}=b;E&&(w=w?w.concat(E):E);const C=s(y),M=h(i(y),b,C,v,S,w,A);return M&&uo(M)&&M.data==="]"?i(b.anchor=M):(no(),c(b.anchor=u("]"),C,M),M)},g=(y,b,v,S,w,A)=>{if(Hi(y.parentElement,1)||no(),b.el=null,A){const M=m(y);for(;;){const R=i(y);if(R&&R!==M)l(R);else break}}const E=i(y),C=s(y);return l(y),n(null,b,C,E,v,S,Bi(C),w),v&&(v.vnode.el=b.el,tl(v,b.el)),E},m=(y,b="[",v="]")=>{let S=0;for(;y;)if(y=i(y),y&&uo(y)&&(y.data===b&&S++,y.data===v)){if(S===0)return i(y);S--}return y},x=(y,b,v)=>{const S=b.parentNode;S&&S.replaceChild(y,b);let w=v;for(;w;)w.vnode.el===b&&(w.vnode.el=w.subTree.el=y),w=w.parent},_=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[a,f]}const pu="data-allow-mismatch",Zg={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Hi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(pu);)e=e.parentElement;const n=e&&e.getAttribute(pu);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Zg[t])}}Js().requestIdleCallback;Js().cancelIdleCallback;function Jg(e,t){if(uo(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(uo(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Un=e=>!!e.type.__asyncLoader;function Nr(e){we(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:l=!0,onError:c}=e;let u=null,a,f=0;const p=()=>(f++,u=null,h()),h=()=>{let d;return u||(d=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),c)return new Promise((m,x)=>{c(g,()=>m(p()),()=>x(g),f+1)});throw g}).then(g=>d!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),a=g,g)))};return xe({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(d,g,m){let x=!1;(g.bu||(g.bu=[])).push(()=>x=!0);const _=()=>{x||m()},y=i?()=>{const b=i(_,v=>Jg(d,v));b&&(g.bum||(g.bum=[])).push(b)}:_;a?y():h().then(()=>!g.isUnmounted&&y())},get __asyncResolved(){return a},setup(){const d=ct;if(ga(d),a)return()=>ji(a,d);const g=y=>{u=null,To(y,d,13,!r)};if(l&&d.suspense||Co)return h().then(y=>()=>ji(y,d)).catch(y=>(g(y),()=>r?Pe(r,{error:y}):null));const m=de(!1),x=de(),_=de(!!o);return o&&setTimeout(()=>{_.value=!1},o),s!=null&&setTimeout(()=>{if(!m.value&&!x.value){const y=new Error(`Async component timed out after ${s}ms.`);g(y),x.value=y}},s),h().then(()=>{m.value=!0,d.parent&&Ci(d.parent.vnode)&&d.parent.update()}).catch(y=>{g(y),x.value=y}),()=>{if(m.value&&a)return ji(a,d);if(x.value&&r)return Pe(r,{error:x.value});if(n&&!_.value)return ji(n,d)}}})}function ji(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=Pe(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ci=e=>e.type.__isKeepAlive,Xg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Jr(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const o=new Map,i=new Set;let s=null;const l=n.suspense,{renderer:{p:c,m:u,um:a,o:{createElement:f}}}=r,p=f("div");r.activate=(_,y,b,v,S)=>{const w=_.component;u(_,y,b,0,l),c(w.vnode,_,y,b,w,l,v,_.slotScopeIds,S),Qe(()=>{w.isDeactivated=!1,w.a&&go(w.a);const A=_.props&&_.props.onVnodeMounted;A&&Rt(A,w.parent,_)},l)},r.deactivate=_=>{const y=_.component;Es(y.m),Es(y.a),u(_,p,null,1,l),Qe(()=>{y.da&&go(y.da);const b=_.props&&_.props.onVnodeUnmounted;b&&Rt(b,y.parent,_),y.isDeactivated=!0},l)};function h(_){Cl(_),a(_,n,l,!0)}function d(_){o.forEach((y,b)=>{const v=kc(Un(y)?y.type.__asyncResolved||{}:y.type);v&&!_(v)&&g(b)})}function g(_){const y=o.get(_);y&&(!s||!dn(y,s))?h(y):s&&Cl(s),o.delete(_),i.delete(_)}Ne(()=>[e.include,e.exclude],([_,y])=>{_&&d(b=>zo(_,b)),y&&d(b=>!zo(y,b))},{flush:"post",deep:!0});let m=null;const x=()=>{m!=null&&(As(n.subTree.type)?Qe(()=>{o.set(m,qi(n.subTree))},n.subTree.suspense):o.set(m,qi(n.subTree)))};return Ei(x),zd(x),wn(()=>{o.forEach(_=>{const{subTree:y,suspense:b}=n,v=qi(y);if(_.type===v.type&&_.key===v.key){Cl(v);const S=v.component.da;S&&Qe(S,b);return}h(_)})}),()=>{if(m=null,!t.default)return s=null;const _=t.default(),y=_[0];if(_.length>1)return s=null,_;if(!Gr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return s=null,y;let b=qi(y);if(b.type===Ye)return s=null,b;const v=b.type,S=kc(Un(b)?b.type.__asyncResolved||{}:v),{include:w,exclude:A,max:E}=e;if(w&&(!S||!zo(w,S))||A&&S&&zo(A,S))return b.shapeFlag&=-257,s=b,y;const C=b.key==null?v:b.key,M=o.get(C);return b.el&&(b=Gn(b),y.shapeFlag&128&&(y.ssContent=b)),m=C,M?(b.el=M.el,b.component=M.component,b.transition&&xo(b,b.transition),b.shapeFlag|=512,i.delete(C),i.add(C)):(i.add(C),E&&i.size>parseInt(E,10)&&g(i.values().next().value)),b.shapeFlag|=256,s=b,As(y.type)?y:b}}},Qg=Xg;function zo(e,t){return be(e)?e.some(n=>zo(n,t)):Ue(e)?e.split(",").includes(t):K1(e)?(e.lastIndex=0,e.test(t)):!1}function Hd(e,t){qd(e,"a",t)}function jd(e,t){qd(e,"da",t)}function qd(e,t,n=ct){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ys(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ci(o.parent.vnode)&&Yg(r,t,n,o),o=o.parent}}function Yg(e,t,n,r){const o=Ys(t,e,r,!0);Wd(()=>{oa(r[t],o)},n)}function Cl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function qi(e){return e.shapeFlag&128?e.ssContent:e}function Ys(e,t,n=ct,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Vn();const l=Ai(n),c=vn(t,n,e,s);return l(),Kn(),c});return r?o.unshift(i):o.push(i),i}}const Xn=e=>(t,n=ct)=>{(!Co||e==="sp")&&Ys(e,(...r)=>t(...r),n)},em=Xn("bm"),Ei=Xn("m"),tm=Xn("bu"),zd=Xn("u"),wn=Xn("bum"),Wd=Xn("um"),nm=Xn("sp"),rm=Xn("rtg"),om=Xn("rtc");function Ud(e,t=ct){Ys("ec",e,t)}const Vd="components";function Y6(e,t){return Gd(Vd,e,!0,t)||e}const Kd=Symbol.for("v-ndc");function ht(e){return Ue(e)?Gd(Vd,e,!1)||e:e||Kd}function Gd(e,t,n=!0,r=!1){const o=at||ct;if(o){const i=o.type;{const l=kc(i,!1);if(l&&(l===t||l===an(t)||l===Zs(an(t))))return i}const s=gu(o[e]||i[e],t)||gu(o.appContext[e],t);return!s&&r?i:s}}function gu(e,t){return e&&(e[t]||e[an(t)]||e[Zs(an(t))])}function ut(e,t,n,r){let o;const i=n&&n[r],s=be(e);if(s||Ue(e)){const l=s&&gr(e);let c=!1,u=!1;l&&(c=!Gt(e),u=Rn(e),e=Xs(e)),o=new Array(e.length);for(let a=0,f=e.length;a<f;a++)o[a]=t(c?u?ko(_n(e[a])):_n(e[a]):e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,i&&i[l])}else if(qe(e))if(e[Symbol.iterator])o=Array.from(e,(l,c)=>t(l,c,void 0,i&&i[c]));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const a=l[c];o[c]=t(e[a],a,c,i&&i[c])}}else o=[];return n&&(n[r]=o),o}function Br(e,t,n={},r,o){if(at.ce||at.parent&&Un(at.parent)&&at.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),z(),He(Ee,null,[Pe("slot",n,r&&r())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),z();const s=i&&Zd(i(n)),l=n.key||s&&s.key,c=He(Ee,{key:(l&&!Jn(l)?l:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Zd(e){return e.some(t=>Gr(t)?!(t.type===Ye||t.type===Ee&&!Zd(t.children)):!0)?e:null}function e8(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:ts(r)]=e[r];return n}const gc=e=>e?bp(e)?nl(e):gc(e.parent):null,Jo=rt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>gc(e.parent),$root:e=>gc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xd(e),$forceUpdate:e=>e.f||(e.f=()=>{ha(e.update)}),$nextTick:e=>e.n||(e.n=Wt.bind(e.proxy)),$watch:e=>Hg.bind(e)}),El=(e,t)=>e!==je&&!e.__isScriptSetup&&Oe(e,t),im={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:c}=e;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(El(r,t))return s[t]=1,r[t];if(o!==je&&Oe(o,t))return s[t]=2,o[t];if(Oe(i,t))return s[t]=3,i[t];if(n!==je&&Oe(n,t))return s[t]=4,n[t];mc&&(s[t]=0)}}const u=Jo[t];let a,f;if(u)return t==="$attrs"&&yt(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==je&&Oe(n,t))return s[t]=4,n[t];if(f=c.config.globalProperties,Oe(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return El(o,t)?(o[t]=n,!0):r!==je&&Oe(r,t)?(r[t]=n,!0):Oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:i,type:s}},l){let c;return!!(n[l]||e!==je&&l[0]!=="$"&&Oe(e,l)||El(t,l)||Oe(i,l)||Oe(r,l)||Oe(Jo,l)||Oe(o.config.globalProperties,l)||(c=s.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function sm(){return lm().attrs}function lm(e){const t=Jr();return t.setupContext||(t.setupContext=kp(t))}function mu(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let mc=!0;function cm(e){const t=Xd(e),n=e.proxy,r=e.ctx;mc=!1,t.beforeCreate&&yu(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:p,beforeUpdate:h,updated:d,activated:g,deactivated:m,beforeDestroy:x,beforeUnmount:_,destroyed:y,unmounted:b,render:v,renderTracked:S,renderTriggered:w,errorCaptured:A,serverPrefetch:E,expose:C,inheritAttrs:M,components:R,directives:P,filters:B}=t;if(u&&am(u,r,null),s)for(const O in s){const F=s[O];we(F)&&(r[O]=F.bind(n))}if(o){const O=o.call(n,n);qe(O)&&(e.data=ln(O))}if(mc=!0,i)for(const O in i){const F=i[O],q=we(F)?F.bind(n,n):we(F.get)?F.get.bind(n,n):Sn,K=!we(F)&&we(F.set)?F.set.bind(n):Sn,Q=le({get:q,set:K});Object.defineProperty(r,O,{enumerable:!0,configurable:!0,get:()=>Q.value,set:ce=>Q.value=ce})}if(l)for(const O in l)Jd(l[O],r,n,O);if(c){const O=we(c)?c.call(n):c;Reflect.ownKeys(O).forEach(F=>{Or(F,O[F])})}a&&yu(a,e,"c");function I(O,F){be(F)?F.forEach(q=>O(q.bind(n))):F&&O(F.bind(n))}if(I(em,f),I(Ei,p),I(tm,h),I(zd,d),I(Hd,g),I(jd,m),I(Ud,A),I(om,S),I(rm,w),I(wn,_),I(Wd,b),I(nm,E),be(C))if(C.length){const O=e.exposed||(e.exposed={});C.forEach(F=>{Object.defineProperty(O,F,{get:()=>n[F],set:q=>n[F]=q,enumerable:!0})})}else e.exposed||(e.exposed={});v&&e.render===Sn&&(e.render=v),M!=null&&(e.inheritAttrs=M),R&&(e.components=R),P&&(e.directives=P),E&&ga(e)}function am(e,t,n=Sn){be(e)&&(e=yc(e));for(const r in e){const o=e[r];let i;qe(o)?"default"in o?i=It(o.from||r,o.default,!0):i=It(o.from||r):i=It(o),et(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function yu(e,t,n){vn(be(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Jd(e,t,n,r){let o=r.includes(".")?Rd(n,r):()=>n[r];if(Ue(e)){const i=t[e];we(i)&&Ne(o,i)}else if(we(e))Ne(o,e.bind(n));else if(qe(e))if(be(e))e.forEach(i=>Jd(i,t,n,r));else{const i=we(e.handler)?e.handler.bind(n):t[e.handler];we(i)&&Ne(o,i,e)}}function Xd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let c;return l?c=l:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(u=>Cs(c,u,s,!0)),Cs(c,t,s)),qe(t)&&i.set(t,c),c}function Cs(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Cs(e,i,n,!0),o&&o.forEach(s=>Cs(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=um[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const um={data:_u,props:vu,emits:vu,methods:Wo,computed:Wo,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Wo,directives:Wo,watch:hm,provide:_u,inject:fm};function _u(e,t){return t?e?function(){return rt(we(e)?e.call(this,this):e,we(t)?t.call(this,this):t)}:t:e}function fm(e,t){return Wo(yc(e),yc(t))}function yc(e){if(be(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function wt(e,t){return e?[...new Set([].concat(e,t))]:t}function Wo(e,t){return e?rt(Object.create(null),e,t):t}function vu(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:rt(Object.create(null),mu(e),mu(t??{})):t}function hm(e,t){if(!e)return t;if(!t)return e;const n=rt(Object.create(null),e);for(const r in t)n[r]=wt(e[r],t[r]);return n}function Qd(){return{app:null,config:{isNativeTag:Qh,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let dm=0;function pm(e,t){return function(r,o=null){we(r)||(r=rt({},r)),o!=null&&!qe(o)&&(o=null);const i=Qd(),s=new WeakSet,l=[];let c=!1;const u=i.app={_uid:dm++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Um,get config(){return i.config},set config(a){},use(a,...f){return s.has(a)||(a&&we(a.install)?(s.add(a),a.install(u,...f)):we(a)&&(s.add(a),a(u,...f))),u},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),u},component(a,f){return f?(i.components[a]=f,u):i.components[a]},directive(a,f){return f?(i.directives[a]=f,u):i.directives[a]},mount(a,f,p){if(!c){const h=u._ceVNode||Pe(r,o);return h.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(h,a):e(h,a,p),c=!0,u._container=a,a.__vue_app__=u,nl(h.component)}},onUnmount(a){l.push(a)},unmount(){c&&(vn(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,f){return i.provides[a]=f,u},runWithContext(a){const f=Hr;Hr=u;try{return a()}finally{Hr=f}}};return u}}let Hr=null;const gm=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${an(t)}Modifiers`]||e[`${yr(t)}Modifiers`];function mm(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||je;let o=n;const i=t.startsWith("update:"),s=i&&gm(r,t.slice(7));s&&(s.trim&&(o=n.map(a=>Ue(a)?a.trim():a)),s.number&&(o=n.map(ia)));let l,c=r[l=ts(t)]||r[l=ts(an(t))];!c&&i&&(c=r[l=ts(yr(t))]),c&&vn(c,e,6,o);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,vn(u,e,6,o)}}const ym=new WeakMap;function Yd(e,t,n=!1){const r=n?ym:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!we(e)){const c=u=>{const a=Yd(u,t,!0);a&&(l=!0,rt(s,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(qe(e)&&r.set(e,null),null):(be(i)?i.forEach(c=>s[c]=null):rt(s,i),qe(e)&&r.set(e,s),s)}function el(e,t){return!e||!wi(t)?!1:(t=t.slice(2).replace(/Once$/,""),Oe(e,t[0].toLowerCase()+t.slice(1))||Oe(e,yr(t))||Oe(e,t))}function Al(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:a,props:f,data:p,setupState:h,ctx:d,inheritAttrs:g}=e,m=ws(e);let x,_;try{if(n.shapeFlag&4){const b=o||r,v=b;x=qt(u.call(v,b,a,f,h,p,d)),_=l}else{const b=t;x=qt(b.length>1?b(f,{attrs:l,slots:s,emit:c}):b(f,null)),_=t.props?l:vm(l)}}catch(b){Xo.length=0,To(b,e,1),x=Pe(Ye)}let y=x;if(_&&g!==!1){const b=Object.keys(_),{shapeFlag:v}=y;b.length&&v&7&&(i&&b.some(ra)&&(_=bm(_,i)),y=Gn(y,_,!1,!0))}return n.dirs&&(y=Gn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&xo(y,n.transition),x=y,ws(m),x}function _m(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Gr(o)){if(o.type!==Ye||o.children==="v-if"){if(n)return;n=o}}else return}return n}const vm=e=>{let t;for(const n in e)(n==="class"||n==="style"||wi(n))&&((t||(t={}))[n]=e[n]);return t},bm=(e,t)=>{const n={};for(const r in e)(!ra(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wm(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?bu(r,s,u):!!s;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const p=a[f];if(s[p]!==r[p]&&!el(u,p))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?bu(r,s,u):!0:!!s;return!1}function bu(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!el(n,i))return!0}return!1}function tl({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ep={},tp=()=>Object.create(ep),np=e=>Object.getPrototypeOf(e)===ep;function km(e,t,n,r=!1){const o={},i=tp();e.propsDefaults=Object.create(null),rp(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:zn(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function xm(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=Le(o),[c]=e.propsOptions;let u=!1;if((r||s>0)&&!(s&16)){if(s&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let p=a[f];if(el(e.emitsOptions,p))continue;const h=t[p];if(c)if(Oe(i,p))h!==i[p]&&(i[p]=h,u=!0);else{const d=an(p);o[d]=_c(c,l,d,h,e,!1)}else h!==i[p]&&(i[p]=h,u=!0)}}}else{rp(e,t,o,i)&&(u=!0);let a;for(const f in l)(!t||!Oe(t,f)&&((a=yr(f))===f||!Oe(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(o[f]=_c(c,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!Oe(t,f))&&(delete i[f],u=!0)}u&&jn(e.attrs,"set","")}function rp(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let c in t){if(Lr(c))continue;const u=t[c];let a;o&&Oe(o,a=an(c))?!i||!i.includes(a)?n[a]=u:(l||(l={}))[a]=u:el(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,s=!0)}if(i){const c=Le(n),u=l||je;for(let a=0;a<i.length;a++){const f=i[a];n[f]=_c(o,c,f,u[f],e,!Oe(u,f))}}return s}function _c(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=Oe(s,"default");if(l&&r===void 0){const c=s.default;if(s.type!==Function&&!s.skipFactory&&we(c)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const a=Ai(o);r=u[n]=c.call(null,t),a()}}else r=c;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===yr(n))&&(r=!0))}return r}const Cm=new WeakMap;function op(e,t,n=!1){const r=n?Cm:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},l=[];let c=!1;if(!we(e)){const a=f=>{c=!0;const[p,h]=op(f,t,!0);rt(s,p),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return qe(e)&&r.set(e,ho),ho;if(be(i))for(let a=0;a<i.length;a++){const f=an(i[a]);wu(f)&&(s[f]=je)}else if(i)for(const a in i){const f=an(a);if(wu(f)){const p=i[a],h=s[f]=be(p)||we(p)?{type:p}:rt({},p),d=h.type;let g=!1,m=!0;if(be(d))for(let x=0;x<d.length;++x){const _=d[x],y=we(_)&&_.name;if(y==="Boolean"){g=!0;break}else y==="String"&&(m=!1)}else g=we(d)&&d.name==="Boolean";h[0]=g,h[1]=m,(g||Oe(h,"default"))&&l.push(f)}}const u=[s,l];return qe(e)&&r.set(e,u),u}function wu(e){return e[0]!=="$"&&!Lr(e)}const ma=e=>e==="_"||e==="_ctx"||e==="$stable",ya=e=>be(e)?e.map(qt):[qt(e)],Em=(e,t,n)=>{if(t._n)return t;const r=_r((...o)=>ya(t(...o)),n);return r._c=!1,r},ip=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ma(o))continue;const i=e[o];if(we(i))t[o]=Em(o,i,r);else if(i!=null){const s=ya(i);t[o]=()=>s}}},sp=(e,t)=>{const n=ya(t);e.slots.default=()=>n},lp=(e,t,n)=>{for(const r in t)(n||!ma(r))&&(e[r]=t[r])},Am=(e,t,n)=>{const r=e.slots=tp();if(e.vnode.shapeFlag&32){const o=t._;o?(lp(r,t,n),n&&rd(r,"_",o,!0)):ip(t,r)}else t&&sp(e,t)},Sm=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=je;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:lp(o,t,n):(i=!t.$stable,ip(t,o)),s=t}else t&&(sp(e,t),s={default:1});if(i)for(const l in o)!ma(l)&&s[l]==null&&delete o[l]},Qe=pp;function Tm(e){return cp(e)}function Mm(e){return cp(e,Gg)}function cp(e,t){const n=Js();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:p,setScopeId:h=Sn,insertStaticContent:d}=e,g=(k,T,L,U=null,j=null,V=null,te=void 0,re=null,Y=!!T.dynamicChildren)=>{if(k===T)return;k&&!dn(k,T)&&(U=H(k),ce(k,j,V,!0),k=null),T.patchFlag===-2&&(Y=!1,T.dynamicChildren=null);const{type:Z,ref:ge,shapeFlag:ie}=T;switch(Z){case jr:m(k,T,L,U);break;case Ye:x(k,T,L,U);break;case rs:k==null&&_(T,L,U,te);break;case Ee:R(k,T,L,U,j,V,te,re,Y);break;default:ie&1?v(k,T,L,U,j,V,te,re,Y):ie&6?P(k,T,L,U,j,V,te,re,Y):(ie&64||ie&128)&&Z.process(k,T,L,U,j,V,te,re,Y,ae)}ge!=null&&j?yo(ge,k&&k.ref,V,T||k,!T):ge==null&&k&&k.ref!=null&&yo(k.ref,null,V,k,!0)},m=(k,T,L,U)=>{if(k==null)r(T.el=l(T.children),L,U);else{const j=T.el=k.el;T.children!==k.children&&u(j,T.children)}},x=(k,T,L,U)=>{k==null?r(T.el=c(T.children||""),L,U):T.el=k.el},_=(k,T,L,U)=>{[k.el,k.anchor]=d(k.children,T,L,U,k.el,k.anchor)},y=({el:k,anchor:T},L,U)=>{let j;for(;k&&k!==T;)j=p(k),r(k,L,U),k=j;r(T,L,U)},b=({el:k,anchor:T})=>{let L;for(;k&&k!==T;)L=p(k),o(k),k=L;o(T)},v=(k,T,L,U,j,V,te,re,Y)=>{if(T.type==="svg"?te="svg":T.type==="math"&&(te="mathml"),k==null)S(T,L,U,j,V,te,re,Y);else{const Z=k.el&&k.el._isVueCE?k.el:null;try{Z&&Z._beginPatch(),E(k,T,j,V,te,re,Y)}finally{Z&&Z._endPatch()}}},S=(k,T,L,U,j,V,te,re)=>{let Y,Z;const{props:ge,shapeFlag:ie,transition:fe,dirs:pe}=k;if(Y=k.el=s(k.type,V,ge&&ge.is,ge),ie&8?a(Y,k.children):ie&16&&A(k.children,Y,null,U,j,Sl(k,V),te,re),pe&&En(k,null,U,"created"),w(Y,k,k.scopeId,te,U),ge){for(const De in ge)De!=="value"&&!Lr(De)&&i(Y,De,null,ge[De],V,U);"value"in ge&&i(Y,"value",null,ge.value,V),(Z=ge.onVnodeBeforeMount)&&Rt(Z,U,k)}pe&&En(k,null,U,"beforeMount");const Ae=ap(j,fe);Ae&&fe.beforeEnter(Y),r(Y,T,L),((Z=ge&&ge.onVnodeMounted)||Ae||pe)&&Qe(()=>{Z&&Rt(Z,U,k),Ae&&fe.enter(Y),pe&&En(k,null,U,"mounted")},j)},w=(k,T,L,U,j)=>{if(L&&h(k,L),U)for(let V=0;V<U.length;V++)h(k,U[V]);if(j){let V=j.subTree;if(T===V||As(V.type)&&(V.ssContent===T||V.ssFallback===T)){const te=j.vnode;w(k,te,te.scopeId,te.slotScopeIds,j.parent)}}},A=(k,T,L,U,j,V,te,re,Y=0)=>{for(let Z=Y;Z<k.length;Z++){const ge=k[Z]=re?ar(k[Z]):qt(k[Z]);g(null,ge,T,L,U,j,V,te,re)}},E=(k,T,L,U,j,V,te)=>{const re=T.el=k.el;let{patchFlag:Y,dynamicChildren:Z,dirs:ge}=T;Y|=k.patchFlag&16;const ie=k.props||je,fe=T.props||je;let pe;if(L&&kr(L,!1),(pe=fe.onVnodeBeforeUpdate)&&Rt(pe,L,T,k),ge&&En(T,k,L,"beforeUpdate"),L&&kr(L,!0),(ie.innerHTML&&fe.innerHTML==null||ie.textContent&&fe.textContent==null)&&a(re,""),Z?C(k.dynamicChildren,Z,re,L,U,Sl(T,j),V):te||F(k,T,re,null,L,U,Sl(T,j),V,!1),Y>0){if(Y&16)M(re,ie,fe,L,j);else if(Y&2&&ie.class!==fe.class&&i(re,"class",null,fe.class,j),Y&4&&i(re,"style",ie.style,fe.style,j),Y&8){const Ae=T.dynamicProps;for(let De=0;De<Ae.length;De++){const Se=Ae[De],Ze=ie[Se],Ke=fe[Se];(Ke!==Ze||Se==="value")&&i(re,Se,Ze,Ke,j,L)}}Y&1&&k.children!==T.children&&a(re,T.children)}else!te&&Z==null&&M(re,ie,fe,L,j);((pe=fe.onVnodeUpdated)||ge)&&Qe(()=>{pe&&Rt(pe,L,T,k),ge&&En(T,k,L,"updated")},U)},C=(k,T,L,U,j,V,te)=>{for(let re=0;re<T.length;re++){const Y=k[re],Z=T[re],ge=Y.el&&(Y.type===Ee||!dn(Y,Z)||Y.shapeFlag&198)?f(Y.el):L;g(Y,Z,ge,null,U,j,V,te,!0)}},M=(k,T,L,U,j)=>{if(T!==L){if(T!==je)for(const V in T)!Lr(V)&&!(V in L)&&i(k,V,T[V],null,j,U);for(const V in L){if(Lr(V))continue;const te=L[V],re=T[V];te!==re&&V!=="value"&&i(k,V,re,te,j,U)}"value"in L&&i(k,"value",T.value,L.value,j)}},R=(k,T,L,U,j,V,te,re,Y)=>{const Z=T.el=k?k.el:l(""),ge=T.anchor=k?k.anchor:l("");let{patchFlag:ie,dynamicChildren:fe,slotScopeIds:pe}=T;pe&&(re=re?re.concat(pe):pe),k==null?(r(Z,L,U),r(ge,L,U),A(T.children||[],L,ge,j,V,te,re,Y)):ie>0&&ie&64&&fe&&k.dynamicChildren&&k.dynamicChildren.length===fe.length?(C(k.dynamicChildren,fe,L,j,V,te,re),(T.key!=null||j&&T===j.subTree)&&_a(k,T,!0)):F(k,T,L,ge,j,V,te,re,Y)},P=(k,T,L,U,j,V,te,re,Y)=>{T.slotScopeIds=re,k==null?T.shapeFlag&512?j.ctx.activate(T,L,U,te,Y):B(T,L,U,j,V,te,Y):D(k,T,Y)},B=(k,T,L,U,j,V,te)=>{const re=k.component=Hm(k,U,j);if(Ci(k)&&(re.ctx.renderer=ae),jm(re,!1,te),re.asyncDep){if(j&&j.registerDep(re,I,te),!k.el){const Y=re.subTree=Pe(Ye);x(null,Y,T,L),k.placeholder=Y.el}}else I(re,k,T,L,j,V,te)},D=(k,T,L)=>{const U=T.component=k.component;if(wm(k,T,L))if(U.asyncDep&&!U.asyncResolved){O(U,T,L);return}else U.next=T,U.update();else T.el=k.el,U.vnode=T},I=(k,T,L,U,j,V,te)=>{const re=()=>{if(k.isMounted){let{next:ie,bu:fe,u:pe,parent:Ae,vnode:De}=k;{const gt=up(k);if(gt){ie&&(ie.el=De.el,O(k,ie,te)),gt.asyncDep.then(()=>{k.isUnmounted||re()});return}}let Se=ie,Ze;kr(k,!1),ie?(ie.el=De.el,O(k,ie,te)):ie=De,fe&&go(fe),(Ze=ie.props&&ie.props.onVnodeBeforeUpdate)&&Rt(Ze,Ae,ie,De),kr(k,!0);const Ke=Al(k),pt=k.subTree;k.subTree=Ke,g(pt,Ke,f(pt.el),H(pt),k,j,V),ie.el=Ke.el,Se===null&&tl(k,Ke.el),pe&&Qe(pe,j),(Ze=ie.props&&ie.props.onVnodeUpdated)&&Qe(()=>Rt(Ze,Ae,ie,De),j)}else{let ie;const{el:fe,props:pe}=T,{bm:Ae,m:De,parent:Se,root:Ze,type:Ke}=k,pt=Un(T);if(kr(k,!1),Ae&&go(Ae),!pt&&(ie=pe&&pe.onVnodeBeforeMount)&&Rt(ie,Se,T),kr(k,!0),fe&&W){const gt=()=>{k.subTree=Al(k),W(fe,k.subTree,k,j,null)};pt&&Ke.__asyncHydrate?Ke.__asyncHydrate(fe,k,gt):gt()}else{Ze.ce&&Ze.ce._def.shadowRoot!==!1&&Ze.ce._injectChildStyle(Ke);const gt=k.subTree=Al(k);g(null,gt,L,U,k,j,V),T.el=gt.el}if(De&&Qe(De,j),!pt&&(ie=pe&&pe.onVnodeMounted)){const gt=T;Qe(()=>Rt(ie,Se,gt),j)}(T.shapeFlag&256||Se&&Un(Se.vnode)&&Se.vnode.shapeFlag&256)&&k.a&&Qe(k.a,j),k.isMounted=!0,T=L=U=null}};k.scope.on();const Y=k.effect=new ud(re);k.scope.off();const Z=k.update=Y.run.bind(Y),ge=k.job=Y.runIfDirty.bind(Y);ge.i=k,ge.id=k.uid,Y.scheduler=()=>ha(ge),kr(k,!0),Z()},O=(k,T,L)=>{T.component=k;const U=k.vnode.props;k.vnode=T,k.next=null,xm(k,T.props,U,L),Sm(k,T.children,L),Vn(),lu(k),Kn()},F=(k,T,L,U,j,V,te,re,Y=!1)=>{const Z=k&&k.children,ge=k?k.shapeFlag:0,ie=T.children,{patchFlag:fe,shapeFlag:pe}=T;if(fe>0){if(fe&128){K(Z,ie,L,U,j,V,te,re,Y);return}else if(fe&256){q(Z,ie,L,U,j,V,te,re,Y);return}}pe&8?(ge&16&&ye(Z,j,V),ie!==Z&&a(L,ie)):ge&16?pe&16?K(Z,ie,L,U,j,V,te,re,Y):ye(Z,j,V,!0):(ge&8&&a(L,""),pe&16&&A(ie,L,U,j,V,te,re,Y))},q=(k,T,L,U,j,V,te,re,Y)=>{k=k||ho,T=T||ho;const Z=k.length,ge=T.length,ie=Math.min(Z,ge);let fe;for(fe=0;fe<ie;fe++){const pe=T[fe]=Y?ar(T[fe]):qt(T[fe]);g(k[fe],pe,L,null,j,V,te,re,Y)}Z>ge?ye(k,j,V,!0,!1,ie):A(T,L,U,j,V,te,re,Y,ie)},K=(k,T,L,U,j,V,te,re,Y)=>{let Z=0;const ge=T.length;let ie=k.length-1,fe=ge-1;for(;Z<=ie&&Z<=fe;){const pe=k[Z],Ae=T[Z]=Y?ar(T[Z]):qt(T[Z]);if(dn(pe,Ae))g(pe,Ae,L,null,j,V,te,re,Y);else break;Z++}for(;Z<=ie&&Z<=fe;){const pe=k[ie],Ae=T[fe]=Y?ar(T[fe]):qt(T[fe]);if(dn(pe,Ae))g(pe,Ae,L,null,j,V,te,re,Y);else break;ie--,fe--}if(Z>ie){if(Z<=fe){const pe=fe+1,Ae=pe<ge?T[pe].el:U;for(;Z<=fe;)g(null,T[Z]=Y?ar(T[Z]):qt(T[Z]),L,Ae,j,V,te,re,Y),Z++}}else if(Z>fe)for(;Z<=ie;)ce(k[Z],j,V,!0),Z++;else{const pe=Z,Ae=Z,De=new Map;for(Z=Ae;Z<=fe;Z++){const vt=T[Z]=Y?ar(T[Z]):qt(T[Z]);vt.key!=null&&De.set(vt.key,Z)}let Se,Ze=0;const Ke=fe-Ae+1;let pt=!1,gt=0;const Nt=new Array(Ke);for(Z=0;Z<Ke;Z++)Nt[Z]=0;for(Z=pe;Z<=ie;Z++){const vt=k[Z];if(Ze>=Ke){ce(vt,j,V,!0);continue}let nn;if(vt.key!=null)nn=De.get(vt.key);else for(Se=Ae;Se<=fe;Se++)if(Nt[Se-Ae]===0&&dn(vt,T[Se])){nn=Se;break}nn===void 0?ce(vt,j,V,!0):(Nt[nn-Ae]=Z+1,nn>=gt?gt=nn:pt=!0,g(vt,T[nn],L,null,j,V,te,re,Y),Ze++)}const Xr=pt?Rm(Nt):ho;for(Se=Xr.length-1,Z=Ke-1;Z>=0;Z--){const vt=Ae+Z,nn=T[vt],Mi=T[vt+1],$o=vt+1<ge?Mi.el||fp(Mi):U;Nt[Z]===0?g(null,nn,L,$o,j,V,te,re,Y):pt&&(Se<0||Z!==Xr[Se]?Q(nn,L,$o,2):Se--)}}},Q=(k,T,L,U,j=null)=>{const{el:V,type:te,transition:re,children:Y,shapeFlag:Z}=k;if(Z&6){Q(k.component.subTree,T,L,U);return}if(Z&128){k.suspense.move(T,L,U);return}if(Z&64){te.move(k,T,L,ae);return}if(te===Ee){r(V,T,L);for(let ie=0;ie<Y.length;ie++)Q(Y[ie],T,L,U);r(k.anchor,T,L);return}if(te===rs){y(k,T,L);return}if(U!==2&&Z&1&&re)if(U===0)re.beforeEnter(V),r(V,T,L),Qe(()=>re.enter(V),j);else{const{leave:ie,delayLeave:fe,afterLeave:pe}=re,Ae=()=>{k.ctx.isUnmounted?o(V):r(V,T,L)},De=()=>{V._isLeaving&&V[Hn](!0),ie(V,()=>{Ae(),pe&&pe()})};fe?fe(V,Ae,De):De()}else r(V,T,L)},ce=(k,T,L,U=!1,j=!1)=>{const{type:V,props:te,ref:re,children:Y,dynamicChildren:Z,shapeFlag:ge,patchFlag:ie,dirs:fe,cacheIndex:pe}=k;if(ie===-2&&(j=!1),re!=null&&(Vn(),yo(re,null,L,k,!0),Kn()),pe!=null&&(T.renderCache[pe]=void 0),ge&256){T.ctx.deactivate(k);return}const Ae=ge&1&&fe,De=!Un(k);let Se;if(De&&(Se=te&&te.onVnodeBeforeUnmount)&&Rt(Se,T,k),ge&6)ze(k.component,L,U);else{if(ge&128){k.suspense.unmount(L,U);return}Ae&&En(k,null,T,"beforeUnmount"),ge&64?k.type.remove(k,T,L,ae,U):Z&&!Z.hasOnce&&(V!==Ee||ie>0&&ie&64)?ye(Z,T,L,!1,!0):(V===Ee&&ie&384||!j&&ge&16)&&ye(Y,T,L),U&&Ie(k)}(De&&(Se=te&&te.onVnodeUnmounted)||Ae)&&Qe(()=>{Se&&Rt(Se,T,k),Ae&&En(k,null,T,"unmounted")},L)},Ie=k=>{const{type:T,el:L,anchor:U,transition:j}=k;if(T===Ee){Ve(L,U);return}if(T===rs){b(k);return}const V=()=>{o(L),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(k.shapeFlag&1&&j&&!j.persisted){const{leave:te,delayLeave:re}=j,Y=()=>te(L,V);re?re(k.el,V,Y):Y()}else V()},Ve=(k,T)=>{let L;for(;k!==T;)L=p(k),o(k),k=L;o(T)},ze=(k,T,L)=>{const{bum:U,scope:j,job:V,subTree:te,um:re,m:Y,a:Z}=k;Es(Y),Es(Z),U&&go(U),j.stop(),V&&(V.flags|=8,ce(te,k,T,L)),re&&Qe(re,T),Qe(()=>{k.isUnmounted=!0},T)},ye=(k,T,L,U=!1,j=!1,V=0)=>{for(let te=V;te<k.length;te++)ce(k[te],T,L,U,j)},H=k=>{if(k.shapeFlag&6)return H(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const T=p(k.anchor||k.el),L=T&&T[Id];return L?p(L):T};let ne=!1;const ee=(k,T,L)=>{let U;k==null?T._vnode&&(ce(T._vnode,null,null,!0),U=T._vnode.component):g(T._vnode||null,k,T,null,null,null,L),T._vnode=k,ne||(ne=!0,lu(U),bs(),ne=!1)},ae={p:g,um:ce,m:Q,r:Ie,mt:B,mc:A,pc:F,pbc:C,n:H,o:e};let ve,W;return t&&([ve,W]=t(ae)),{render:ee,hydrate:ve,createApp:pm(ee,ve)}}function Sl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function kr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ap(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _a(e,t,n=!1){const r=e.children,o=t.children;if(be(r)&&be(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=ar(o[i]),l.el=s.el),!n&&l.patchFlag!==-2&&_a(s,l)),l.type===jr&&(l.patchFlag!==-1?l.el=s.el:l.__elIndex=i+(e.type===Ee?1:0)),l.type===Ye&&!l.el&&(l.el=s.el)}}function Rm(e){const t=e.slice(),n=[0];let r,o,i,s,l;const c=e.length;for(r=0;r<c;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<u?i=l+1:s=l;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function up(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:up(t)}function Es(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function fp(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?fp(t.subTree):null}const As=e=>e.__isSuspense;let vc=0;const Im={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,c,u){if(e==null)Dm(t,n,r,o,i,s,l,c,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}$m(e,t,n,r,o,s,l,c,u)}},hydrate:Pm,normalize:Lm},hp=Im;function hi(e,t){const n=e.props&&e.props[t];we(n)&&n()}function Dm(e,t,n,r,o,i,s,l,c){const{p:u,o:{createElement:a}}=c,f=a("div"),p=e.suspense=dp(e,o,r,t,f,n,i,s,l,c);u(null,p.pendingBranch=e.ssContent,f,null,r,p,i,s),p.deps>0?(hi(e,"onPending"),hi(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,s),_o(p,e.ssFallback)):p.resolve(!1,!0)}function $m(e,t,n,r,o,i,s,l,{p:c,um:u,o:{createElement:a}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,h=t.ssFallback,{activeBranch:d,pendingBranch:g,isInFallback:m,isHydrating:x}=f;if(g)f.pendingBranch=p,dn(g,p)?(c(g,p,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():m&&(x||(c(d,h,n,r,o,null,i,s,l),_o(f,h)))):(f.pendingId=vc++,x?(f.isHydrating=!1,f.activeBranch=g):u(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=a("div"),m?(c(null,p,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():(c(d,h,n,r,o,null,i,s,l),_o(f,h))):d&&dn(d,p)?(c(d,p,n,r,o,f,i,s,l),f.resolve(!0)):(c(null,p,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0&&f.resolve()));else if(d&&dn(d,p))c(d,p,n,r,o,f,i,s,l),_o(f,p);else if(hi(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=vc++,c(null,p,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:y}=f;_>0?setTimeout(()=>{f.pendingId===y&&f.fallback(h)},_):_===0&&f.fallback(h)}}function dp(e,t,n,r,o,i,s,l,c,u,a=!1){const{p:f,m:p,um:h,n:d,o:{parentNode:g,remove:m}}=u;let x;const _=Fm(e);_&&t&&t.pendingBranch&&(x=t.pendingId,t.deps++);const y=e.props?od(e.props.timeout):void 0,b=i,v={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:vc++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!a,isHydrating:a,isUnmounted:!1,effects:[],resolve(S=!1,w=!1){const{vnode:A,activeBranch:E,pendingBranch:C,pendingId:M,effects:R,parentComponent:P,container:B,isInFallback:D}=v;let I=!1;v.isHydrating?v.isHydrating=!1:S||(I=E&&C.transition&&C.transition.mode==="out-in",I&&(E.transition.afterLeave=()=>{M===v.pendingId&&(p(C,B,i===b?d(E):i,0),hc(R),D&&A.ssFallback&&(A.ssFallback.el=null))}),E&&(g(E.el)===B&&(i=d(E)),h(E,P,v,!0),!I&&D&&A.ssFallback&&Qe(()=>A.ssFallback.el=null,v)),I||p(C,B,i,0)),_o(v,C),v.pendingBranch=null,v.isInFallback=!1;let O=v.parent,F=!1;for(;O;){if(O.pendingBranch){O.effects.push(...R),F=!0;break}O=O.parent}!F&&!I&&hc(R),v.effects=[],_&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),hi(A,"onResolve")},fallback(S){if(!v.pendingBranch)return;const{vnode:w,activeBranch:A,parentComponent:E,container:C,namespace:M}=v;hi(w,"onFallback");const R=d(A),P=()=>{v.isInFallback&&(f(null,S,C,R,E,null,M,l,c),_o(v,S))},B=S.transition&&S.transition.mode==="out-in";B&&(A.transition.afterLeave=P),v.isInFallback=!0,h(A,E,null,!0),B||P()},move(S,w,A){v.activeBranch&&p(v.activeBranch,S,w,A),v.container=S},next(){return v.activeBranch&&d(v.activeBranch)},registerDep(S,w,A){const E=!!v.pendingBranch;E&&v.deps++;const C=S.vnode.el;S.asyncDep.catch(M=>{To(M,S,0)}).then(M=>{if(S.isUnmounted||v.isUnmounted||v.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:R}=S;wc(S,M),C&&(R.el=C);const P=!C&&S.subTree.el;w(S,R,g(C||S.subTree.el),C?null:d(S.subTree),v,s,A),P&&(R.placeholder=null,m(P)),tl(S,R.el),E&&--v.deps===0&&v.resolve()})},unmount(S,w){v.isUnmounted=!0,v.activeBranch&&h(v.activeBranch,n,S,w),v.pendingBranch&&h(v.pendingBranch,n,S,w)}};return v}function Pm(e,t,n,r,o,i,s,l,c){const u=t.suspense=dp(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),a=c(e,u.pendingBranch=t.ssContent,n,u,i,s);return u.deps===0&&u.resolve(!1,!0),a}function Lm(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ku(r?n.default:n),e.ssFallback=r?ku(n.fallback):Pe(Ye)}function ku(e){let t;if(we(e)){const n=Kr&&e._c;n&&(e._d=!1,z()),e=e(),n&&(e._d=!0,t=_t,gp())}return be(e)&&(e=_m(e)),e=qt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function pp(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):hc(e)}function _o(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,tl(r,o))}function Fm(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ee=Symbol.for("v-fgt"),jr=Symbol.for("v-txt"),Ye=Symbol.for("v-cmt"),rs=Symbol.for("v-stc"),Xo=[];let _t=null;function z(e=!1){Xo.push(_t=e?null:[])}function gp(){Xo.pop(),_t=Xo[Xo.length-1]||null}let Kr=1;function Ss(e,t=!1){Kr+=e,e<0&&_t&&t&&(_t.hasOnce=!0)}function mp(e){return e.dynamicChildren=Kr>0?_t||ho:null,gp(),Kr>0&&_t&&_t.push(e),e}function J(e,t,n,r,o,i){return mp(se(e,t,n,r,o,i,!0))}function He(e,t,n,r,o){return mp(Pe(e,t,n,r,o,!0))}function Gr(e){return e?e.__v_isVNode===!0:!1}function dn(e,t){return e.type===t.type&&e.key===t.key}const yp=({key:e})=>e??null,os=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ue(e)||et(e)||we(e)?{i:at,r:e,k:t,f:!!n}:e:null);function se(e,t=null,n=null,r=0,o=null,i=e===Ee?0:1,s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yp(t),ref:t&&os(t),scopeId:Md,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:at};return l?(va(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=Ue(n)?8:16),Kr>0&&!s&&_t&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&_t.push(c),c}const Pe=Om;function Om(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Kd)&&(e=Ye),Gr(e)){const l=Gn(e,t,!0);return n&&va(l,n),Kr>0&&!i&&_t&&(l.shapeFlag&6?_t[_t.indexOf(e)]=l:_t.push(l)),l.patchFlag=-2,l}if(Wm(e)&&(e=e.__vccOpts),t){t=_p(t);let{class:l,style:c}=t;l&&!Ue(l)&&(t.class=nt(l)),qe(c)&&(Qs(c)&&!be(c)&&(c=rt({},c)),t.style=Kt(c))}const s=Ue(e)?1:As(e)?128:Dd(e)?64:qe(e)?4:we(e)?2:0;return se(e,t,n,r,o,s,i,!0)}function _p(e){return e?Qs(e)||np(e)?rt({},e):e:null}function Gn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:l,transition:c}=e,u=t?Zn(o||{},t):o,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&yp(u),ref:t&&t.ref?n&&i?be(i)?i.concat(os(t)):[i,os(t)]:os(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gn(e.ssContent),ssFallback:e.ssFallback&&Gn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&xo(a,c.clone(a)),a}function vp(e=" ",t=0){return Pe(jr,null,e,t)}function jt(e="",t=!1){return t?(z(),He(Ye,null,e)):Pe(Ye,null,e)}function qt(e){return e==null||typeof e=="boolean"?Pe(Ye):be(e)?Pe(Ee,null,e.slice()):Gr(e)?ar(e):Pe(jr,null,String(e))}function ar(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gn(e)}function va(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(be(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),va(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!np(t)?t._ctx=at:o===3&&at&&(at.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else we(t)?(t={default:t,_ctx:at},n=32):(t=String(t),r&64?(n=16,t=[vp(t)]):n=8);e.children=t,e.shapeFlag|=n}function Zn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=nt([t.class,r.class]));else if(o==="style")t.style=Kt([t.style,r.style]);else if(wi(o)){const i=t[o],s=r[o];s&&i!==s&&!(be(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Rt(e,t,n,r=null){vn(e,t,7,[n,r])}const Nm=Qd();let Bm=0;function Hm(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Nm,i={uid:Bm++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new cd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:op(r,o),emitsOptions:Yd(r,o),emit:null,emitted:null,propsDefaults:je,inheritAttrs:r.inheritAttrs,ctx:je,data:je,props:je,attrs:je,slots:je,refs:je,setupState:je,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=mm.bind(null,i),e.ce&&e.ce(i),i}let ct=null;const Jr=()=>ct||at;let Ts,bc;{const e=Js(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Ts=t("__VUE_INSTANCE_SETTERS__",n=>ct=n),bc=t("__VUE_SSR_SETTERS__",n=>Co=n)}const Ai=e=>{const t=ct;return Ts(e),e.scope.on(),()=>{e.scope.off(),Ts(t)}},xu=()=>{ct&&ct.scope.off(),Ts(null)};function bp(e){return e.vnode.shapeFlag&4}let Co=!1;function jm(e,t=!1,n=!1){t&&bc(t);const{props:r,children:o}=e.vnode,i=bp(e);km(e,r,i,t),Am(e,o,n||t);const s=i?qm(e,t):void 0;return t&&bc(!1),s}function qm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,im);const{setup:r}=n;if(r){Vn();const o=e.setupContext=r.length>1?kp(e):null,i=Ai(e),s=xi(r,e,0,[e.props,o]),l=ed(s);if(Kn(),i(),(l||e.sp)&&!Un(e)&&ga(e),l){if(s.then(xu,xu),t)return s.then(c=>{wc(e,c)}).catch(c=>{To(c,e,0)});e.asyncDep=s}else wc(e,s)}else wp(e)}function wc(e,t,n){we(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:qe(t)&&(e.setupState=Ed(t)),wp(e)}function wp(e,t,n){const r=e.type;e.render||(e.render=r.render||Sn);{const o=Ai(e);Vn();try{cm(e)}finally{Kn(),o()}}}const zm={get(e,t){return yt(e,"get",""),e[t]}};function kp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,zm),slots:e.slots,emit:e.emit,expose:t}}function nl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ed(fc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jo)return Jo[n](e)},has(t,n){return n in t||n in Jo}})):e.proxy}function kc(e,t=!0){return we(e)?e.displayName||e.name:e.name||t&&e.__name}function Wm(e){return we(e)&&"__vccOpts"in e}const le=(e,t)=>Dg(e,t,Co);function lt(e,t,n){try{Ss(-1);const r=arguments.length;return r===2?qe(t)&&!be(t)?Gr(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gr(n)&&(n=[n]),Pe(e,t,n))}finally{Ss(1)}}function Mo(e,t,n,r){const o=n[r];if(o&&rl(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function rl(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Wn(n[r],t[r]))return!1;return Kr>0&&_t&&_t.push(e),!0}const Um="3.5.27";let xc;const Cu=typeof window<"u"&&window.trustedTypes;if(Cu)try{xc=Cu.createPolicy("vue",{createHTML:e=>e})}catch{}const xp=xc?e=>xc.createHTML(e):e=>e,Vm="http://www.w3.org/2000/svg",Km="http://www.w3.org/1998/Math/MathML",Bn=typeof document<"u"?document:null,Eu=Bn&&Bn.createElement("template"),Gm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Bn.createElementNS(Vm,e):t==="mathml"?Bn.createElementNS(Km,e):n?Bn.createElement(e,{is:n}):Bn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Bn.createTextNode(e),createComment:e=>Bn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Eu.innerHTML=xp(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=Eu.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},nr="transition",No="animation",di=Symbol("_vtc"),Cp={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Zm=rt({},Ld,Cp),Jm=e=>(e.displayName="Transition",e.props=Zm,e),Si=Jm((e,{slots:t})=>lt(Ug,Xm(e),t)),xr=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Au=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function Xm(e){const t={};for(const R in e)R in Cp||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=s,appearToClass:a=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,d=Qm(o),g=d&&d[0],m=d&&d[1],{onBeforeEnter:x,onEnter:_,onEnterCancelled:y,onLeave:b,onLeaveCancelled:v,onBeforeAppear:S=x,onAppear:w=_,onAppearCancelled:A=y}=t,E=(R,P,B,D)=>{R._enterCancelled=D,Cr(R,P?a:l),Cr(R,P?u:s),B&&B()},C=(R,P)=>{R._isLeaving=!1,Cr(R,f),Cr(R,h),Cr(R,p),P&&P()},M=R=>(P,B)=>{const D=R?w:_,I=()=>E(P,R,B);xr(D,[P,I]),Su(()=>{Cr(P,R?c:i),On(P,R?a:l),Au(D)||Tu(P,r,g,I)})};return rt(t,{onBeforeEnter(R){xr(x,[R]),On(R,i),On(R,s)},onBeforeAppear(R){xr(S,[R]),On(R,c),On(R,u)},onEnter:M(!1),onAppear:M(!0),onLeave(R,P){R._isLeaving=!0;const B=()=>C(R,P);On(R,f),R._enterCancelled?(On(R,p),Iu(R)):(Iu(R),On(R,p)),Su(()=>{R._isLeaving&&(Cr(R,f),On(R,h),Au(b)||Tu(R,r,m,B))}),xr(b,[R,B])},onEnterCancelled(R){E(R,!1,void 0,!0),xr(y,[R])},onAppearCancelled(R){E(R,!0,void 0,!0),xr(A,[R])},onLeaveCancelled(R){C(R),xr(v,[R])}})}function Qm(e){if(e==null)return null;if(qe(e))return[Tl(e.enter),Tl(e.leave)];{const t=Tl(e);return[t,t]}}function Tl(e){return od(e)}function On(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[di]||(e[di]=new Set)).add(t)}function Cr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[di];n&&(n.delete(t),n.size||(e[di]=void 0))}function Su(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ym=0;function Tu(e,t,n,r){const o=e._endId=++Ym,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:l,propCount:c}=ey(e,t);if(!s)return r();const u=s+"end";let a=0;const f=()=>{e.removeEventListener(u,p),i()},p=h=>{h.target===e&&++a>=c&&f()};setTimeout(()=>{a<c&&f()},l+1),e.addEventListener(u,p)}function ey(e,t){const n=window.getComputedStyle(e),r=d=>(n[d]||"").split(", "),o=r(`${nr}Delay`),i=r(`${nr}Duration`),s=Mu(o,i),l=r(`${No}Delay`),c=r(`${No}Duration`),u=Mu(l,c);let a=null,f=0,p=0;t===nr?s>0&&(a=nr,f=s,p=i.length):t===No?u>0&&(a=No,f=u,p=c.length):(f=Math.max(s,u),a=f>0?s>u?nr:No:null,p=a?a===nr?i.length:c.length:0);const h=a===nr&&/\b(?:transform|all)(?:,|$)/.test(r(`${nr}Property`).toString());return{type:a,timeout:f,propCount:p,hasTransform:h}}function Mu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Ru(n)+Ru(e[r])))}function Ru(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Iu(e){return(e?e.ownerDocument:document).body.offsetHeight}function ty(e,t,n){const r=e[di];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ms=Symbol("_vod"),Ep=Symbol("_vsh"),Rs={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ms]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Bo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Bo(e,!0),r.enter(e)):r.leave(e,()=>{Bo(e,!1)}):Bo(e,t))},beforeUnmount(e,{value:t}){Bo(e,t)}};function Bo(e,t){e.style.display=t?e[Ms]:"none",e[Ep]=!t}const ny=Symbol(""),ry=/(?:^|;)\s*display\s*:/;function oy(e,t,n){const r=e.style,o=Ue(n);let i=!1;if(n&&!o){if(t)if(Ue(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&is(r,l,"")}else for(const s in t)n[s]==null&&is(r,s,"");for(const s in n)s==="display"&&(i=!0),is(r,s,n[s])}else if(o){if(t!==n){const s=r[ny];s&&(n+=";"+s),r.cssText=n,i=ry.test(n)}}else t&&e.removeAttribute("style");Ms in e&&(e[Ms]=i?r.display:"",e[Ep]&&(r.display="none"))}const Du=/\s*!important$/;function is(e,t,n){if(be(n))n.forEach(r=>is(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=iy(e,t);Du.test(n)?e.setProperty(yr(r),n.replace(Du,""),"important"):e[r]=n}}const $u=["Webkit","Moz","ms"],Ml={};function iy(e,t){const n=Ml[t];if(n)return n;let r=an(t);if(r!=="filter"&&r in e)return Ml[t]=r;r=Zs(r);for(let o=0;o<$u.length;o++){const i=$u[o]+r;if(i in e)return Ml[t]=i}return t}const Pu="http://www.w3.org/1999/xlink";function Lu(e,t,n,r,o,i=rg(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Pu,t.slice(6,t.length)):e.setAttributeNS(Pu,t,n):n==null||i&&!id(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Jn(n)?String(n):n)}function Fu(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?xp(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=id(n):n==null&&l==="string"?(n="",s=!0):l==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(o||t)}function co(e,t,n,r){e.addEventListener(t,n,r)}function sy(e,t,n,r){e.removeEventListener(t,n,r)}const Ou=Symbol("_vei");function ly(e,t,n,r,o=null){const i=e[Ou]||(e[Ou]={}),s=i[t];if(r&&s)s.value=r;else{const[l,c]=cy(t);if(r){const u=i[t]=fy(r,o);co(e,l,u,c)}else s&&(sy(e,l,s,c),i[t]=void 0)}}const Nu=/(?:Once|Passive|Capture)$/;function cy(e){let t;if(Nu.test(e)){t={};let r;for(;r=e.match(Nu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yr(e.slice(2)),t]}let Rl=0;const ay=Promise.resolve(),uy=()=>Rl||(ay.then(()=>Rl=0),Rl=Date.now());function fy(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;vn(hy(r,n.value),t,5,[r])};return n.value=e,n.attached=uy(),n}function hy(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Bu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,dy=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?ty(e,r,s):t==="style"?oy(e,n,r):wi(t)?ra(t)||ly(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):py(e,t,r,s))?(Fu(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Lu(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ue(r))?Fu(e,an(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Lu(e,t,r,s))};function py(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Bu(t)&&we(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Bu(t)&&Ue(n)?!1:t in e}const Hu=e=>{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?n=>go(t,n):t};function gy(e){e.target.composing=!0}function ju(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Il=Symbol("_assign");function qu(e,t,n){return t&&(e=e.trim()),n&&(e=ia(e)),e}const t8={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Il]=Hu(o);const i=r||o.props&&o.props.type==="number";co(e,t?"change":"input",s=>{s.target.composing||e[Il](qu(e.value,n,i))}),(n||i)&&co(e,"change",()=>{e.value=qu(e.value,n,i)}),t||(co(e,"compositionstart",gy),co(e,"compositionend",ju),co(e,"change",ju))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[Il]=Hu(s),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?ia(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===c)||(e.value=c))}},my=["ctrl","shift","alt","meta"],yy={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>my.some(n=>e[`${n}Key`]&&!t.includes(n))},n8=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...i)=>{for(let s=0;s<t.length;s++){const l=yy[t[s]];if(l&&l(o,t))return}return e(o,...i)}))},_y={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},r8=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const i=yr(o.key);if(t.some(s=>s===i||_y[s]===i))return e(o)}))},Ap=rt({patchProp:dy},Gm);let Qo,zu=!1;function vy(){return Qo||(Qo=Tm(Ap))}function by(){return Qo=zu?Qo:Mm(Ap),zu=!0,Qo}const Sp=((...e)=>{const t=vy().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Mp(r);if(!o)return;const i=t._component;!we(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,Tp(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t}),wy=((...e)=>{const t=by().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Mp(r);if(o)return n(o,!0,Tp(o))},t});function Tp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Mp(e){return Ue(e)?document.querySelector(e):e}const ky=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,xy=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Cy=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ey(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ay(e);return}return t}function Ay(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Is(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Cy.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ky.test(e)||xy.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ey)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Sy=/#/g,Ty=/&/g,My=/\//g,Ry=/=/g,ba=/\+/g,Iy=/%5e/gi,Dy=/%60/gi,$y=/%7c/gi,Py=/%20/gi;function Ly(e){return encodeURI(""+e).replace($y,"|")}function Cc(e){return Ly(typeof e=="string"?e:JSON.stringify(e)).replace(ba,"%2B").replace(Py,"+").replace(Sy,"%23").replace(Ty,"%26").replace(Dy,"`").replace(Iy,"^").replace(My,"%2F")}function Dl(e){return Cc(e).replace(Ry,"%3D")}function Rp(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Fy(e){return Rp(e.replace(ba," "))}function Oy(e){return Rp(e.replace(ba," "))}function Ny(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=Fy(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=Oy(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function By(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Dl(e)}=${Cc(n)}`).join("&"):`${Dl(e)}=${Cc(t)}`:Dl(e)}function Hy(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>By(t,e[t])).filter(Boolean).join("&")}const jy=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,qy=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,zy=/^([/\\]\s*){2,}[^/\\]/,Wy=/^\.?\//;function Ip(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?jy.test(e):qy.test(e)||(t.acceptRelative?zy.test(e):!1)}function Uy(e="",t){return e.endsWith("/")}function Vy(e="",t){return(Uy(e)?e.slice(0,-1):e)||"/"}function Ky(e="",t){return e.endsWith("/")?e:e+"/"}function Gy(e,t){if(Jy(t)||Ip(e))return e;const n=Vy(t);return e.startsWith(n)?e:Qy(n,e)}function Zy(e,t){const n=Yy(e),r={...Ny(n.search),...t};return n.search=Hy(r),e_(n)}function Jy(e){return!e||e==="/"}function Xy(e){return e&&e!=="/"}function Qy(e,...t){let n=e||"";for(const r of t.filter(o=>Xy(o)))if(n){const o=r.replace(Wy,"");n=Ky(n)+o}else n=r;return n}const Dp=Symbol.for("ufo:protocolRelative");function Yy(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!Ip(e,{acceptRelative:!0}))return Wu(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:a}=Wu(l);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:c,search:u,hash:a,[Dp]:!r}}function Wu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function e_(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Dp]?(e.protocol||"")+"//":"")+o+i+t+n+r}class t_ extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function n_(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,l=new t_(s,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(l,c,{get(){return e[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,c,{get(){return e.response&&e.response[u]}});return l}const r_=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Uu(e="GET"){return r_.has(e.toUpperCase())}function o_(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const i_=new Set(["image/svg","application/xml","application/xhtml","application/html"]),s_=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function l_(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return s_.test(t)?"json":t==="text/event-stream"?"stream":i_.has(t)||t.startsWith("text/")?"text":"blob"}function c_(e,t,n,r){const o=a_(t?.headers??e?.headers,n?.headers,r);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:o}}function a_(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function zi(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const u_=new Set([408,409,425,429,500,502,503,504]),f_=new Set([101,204,205,304]);function $p(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const c=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!c){let a;typeof l.options.retry=="number"?a=l.options.retry:a=Uu(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(a>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):u_.has(f))){const p=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return p>0&&await new Promise(h=>setTimeout(h,p)),i(l.request,{...l.options,retry:a-1})}}const u=n_(l);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){const a={request:c,options:c_(c,u,e.defaults,n),response:void 0,error:void 0};if(a.options.method&&(a.options.method=a.options.method.toUpperCase()),a.options.onRequest&&(await zi(a,a.options.onRequest),a.options.headers instanceof n||(a.options.headers=new n(a.options.headers||{}))),typeof a.request=="string"&&(a.options.baseURL&&(a.request=Gy(a.request,a.options.baseURL)),a.options.query&&(a.request=Zy(a.request,a.options.query),delete a.options.query),"query"in a.options&&delete a.options.query,"params"in a.options&&delete a.options.params),a.options.body&&Uu(a.options.method))if(o_(a.options.body)){const h=a.options.headers.get("content-type");typeof a.options.body!="string"&&(a.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(a.options.body).toString():JSON.stringify(a.options.body)),h||a.options.headers.set("content-type","application/json"),a.options.headers.has("accept")||a.options.headers.set("accept","application/json")}else("pipeTo"in a.options.body&&typeof a.options.body.pipeTo=="function"||typeof a.options.body.pipe=="function")&&("duplex"in a.options||(a.options.duplex="half"));let f;if(!a.options.signal&&a.options.timeout){const h=new r;f=setTimeout(()=>{const d=new Error("[TimeoutError]: The operation was aborted due to timeout");d.name="TimeoutError",d.code=23,h.abort(d)},a.options.timeout),a.options.signal=h.signal}try{a.response=await t(a.request,a.options)}catch(h){return a.error=h,a.options.onRequestError&&await zi(a,a.options.onRequestError),await o(a)}finally{f&&clearTimeout(f)}if((a.response.body||a.response._bodyInit)&&!f_.has(a.response.status)&&a.options.method!=="HEAD"){const h=(a.options.parseResponse?"json":a.options.responseType)||l_(a.response.headers.get("content-type")||"");switch(h){case"json":{const d=await a.response.text(),g=a.options.parseResponse||Is;a.response._data=g(d);break}case"stream":{a.response._data=a.response.body||a.response._bodyInit;break}default:a.response._data=await a.response[h]()}}return a.options.onResponse&&await zi(a,a.options.onResponse),!a.options.ignoreResponseError&&a.response.status>=400&&a.response.status<600?(a.options.onResponseError&&await zi(a,a.options.onResponseError),await o(a)):a.response},s=async function(c,u){return(await i(c,u))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={},c={})=>$p({...e,...c,defaults:{...e.defaults,...c.defaults,...l}}),s}const Ds=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),h_=Ds.fetch?(...e)=>Ds.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),d_=Ds.Headers,p_=Ds.AbortController,g_=$p({fetch:h_,Headers:d_,AbortController:p_}),m_=g_,y_=/#/g,__=/&/g,v_=/\//g,b_=/=/g,wa=/\+/g,w_=/%5e/gi,k_=/%60/gi,x_=/%7c/gi,C_=/%20/gi,E_=/%2f/gi;function A_(e){return encodeURI(""+e).replace(x_,"|")}function Ec(e){return A_(typeof e=="string"?e:JSON.stringify(e)).replace(wa,"%2B").replace(C_,"+").replace(y_,"%23").replace(__,"%26").replace(k_,"`").replace(w_,"^").replace(v_,"%2F")}function $l(e){return Ec(e).replace(b_,"%3D")}function pi(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Vu(e){return pi(e.replace(E_,"%252F"))}function S_(e){return pi(e.replace(wa," "))}function T_(e){return pi(e.replace(wa," "))}function Pp(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=S_(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=T_(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function M_(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${$l(e)}=${Ec(n)}`).join("&"):`${$l(e)}=${Ec(t)}`:$l(e)}function R_(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>M_(t,e[t])).filter(Boolean).join("&")}const I_=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,D_=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,$_=/^([/\\]\s*){2,}[^/\\]/,P_=/^[\s\0]*(blob|data|javascript|vbscript):$/i,L_=/\/$|\/\?|\/#/,F_=/^\.?\//;function Ro(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?I_.test(e):D_.test(e)||(t.acceptRelative?$_.test(e):!1)}function O_(e){return!!e&&P_.test(e)}function Ac(e="",t){return t?L_.test(e):e.endsWith("/")}function Sc(e="",t){if(!t)return(Ac(e)?e.slice(0,-1):e)||"/";if(!Ac(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function N_(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ac(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function Ku(e,t){if(H_(t))return e;const n=Sc(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function B_(e,t){const n=ka(e),r={...Pp(n.search),...t};return n.search=R_(r),z_(n)}function H_(e){return!e||e==="/"}function j_(e){return e&&e!=="/"}function Lp(e,...t){let n=e||"";for(const r of t.filter(o=>j_(o)))if(n){const o=r.replace(F_,"");n=N_(n)+o}else n=r;return n}function Fp(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const s of n)if(!(!s||s==="/")){for(const[l,c]of s.split(t).entries())if(!(!c||c===".")){if(c===".."){if(r.length===1&&Ro(r[0]))continue;r.pop(),o--;continue}if(l===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+c;continue}r.push(c),o++}}let i=r.join("/");return o>=0?n[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:n[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,n[n.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function q_(e,t){return pi(Sc(e))===pi(Sc(t))}const Op=Symbol.for("ufo:protocolRelative");function ka(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!Ro(e,{acceptRelative:!0}))return t?ka(t+e):Gu(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:a}=Gu(l);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:c,search:u,hash:a,[Op]:!r}}function Gu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function z_(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Op]?(e.protocol||"")+"//":"")+o+i+t+n+r}const W_=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,xa=()=>W_().app,U_=()=>xa().baseURL,V_=()=>xa().buildAssetsDir,Ca=(...e)=>Fp(Np(),V_(),...e),Np=(...e)=>{const t=xa(),n=t.cdnURL||t.baseURL;return e.length?Fp(n,...e):n};globalThis.__buildAssetsURL=Ca,globalThis.__publicAssetsURL=Np;globalThis.$fetch||(globalThis.$fetch=m_.create({baseURL:U_()}));"global"in globalThis||(globalThis.global=globalThis);function Tc(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Tc(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const K_={run:e=>e()},G_=()=>K_,Bp=typeof console.createTask<"u"?console.createTask:G_;function Z_(e,t){const n=t.shift(),r=Bp(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function J_(e,t){const n=t.shift(),r=Bp(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Pl(e,t){for(const n of[...e])n(t)}let X_=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Tc(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Tc(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Z_,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(J_,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Pl(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Pl(this._after,o)}):(this._after&&o&&Pl(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function Q_(){return new X_}function Y_(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,l)=>{l||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,l)=>{r(s),t=s;try{return o?o.run(s,l):l()}finally{n||(t=void 0)}},async callAsync(s,l){t=s;const c=()=>{t=s},u=()=>t===s?c:void 0;Mc.add(u);try{const a=o?o.run(s,l):l();return n||(t=void 0),await a}finally{Mc.delete(u)}}}}function e2(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Y_({...e,...r})),t[n]}}}const $s=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Zu="__unctx__",t2=$s[Zu]||($s[Zu]=e2()),n2=(e,t={})=>t2.get(e,t),Ju="__unctx_async_handlers__",Mc=$s[Ju]||($s[Ju]=new Set);function Yo(e){const t=[];for(const o of Mc){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const Xu=!1,r2=!1,Qu={id:"__nuxt-loader"},i8={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},o2="#__nuxt",Hp="nuxt-app",Yu=36e5,i2="vite:preloadError";function jp(e=Hp){return n2(e,{asyncContext:!1})}const s2="__nuxt_plugin";function l2(e){let t=0;const n={_id:e.id||Hp||"nuxt-app",_scope:og(),provide:void 0,versions:{get nuxt(){return"4.3.0"},get vue(){return n.vueApp.version}},payload:zn({...e.ssrContext?.payload||{},data:zn({}),state:ln({}),once:new Set,_errors:zn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!ad()?n._scope.run(()=>ef(n,o)):ef(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:zn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=Q_(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Wi(n,s,i),Wi(n.vueApp.config.globalProperties,s,i)},Wi(n.vueApp,"$nuxt",n),Wi(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(i2,i=>{n.callHook("app:chunkError",{error:i.payload}),i.payload.message.includes("Unable to preload CSS")&&i.preventDefault()}),window.useNuxtApp||=dt;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function c2(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function a2(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function u2(e,t){const n=new Set,r=[],o=[];let i,s=0;async function l(c){const u=c.dependsOn?.filter(a=>t.some(f=>f._name===a)&&!n.has(a))??[];if(u.length>0)r.push([new Set(u),c]);else{const a=a2(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([f,p])=>{f.has(c._name)&&(f.delete(c._name),f.size===0&&(s++,await l(p)))})))}).catch(f=>{if(!c.parallel&&!e.payload.error)throw f;i||=f});c.parallel?o.push(a):await a}}for(const c of t)c2(e,c);for(const c of t)await l(c);if(await Promise.all(o),s)for(let c=0;c<s;c++)await Promise.all(o);if(i)throw e.payload.error||i}function Dn(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[s2]:!0,_name:t})}function ef(e,t,n){const r=()=>t();return jp(e._id).set(e),e.vueApp.runWithContext(r)}function f2(e){let t;return da()&&(t=Jr()?.appContext.app.$nuxt),t||=jp(e).tryUse(),t||null}function dt(e){const t=f2(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ol(e){return dt().$config}function Wi(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Ll(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Rc(e,t,n=".",r){if(!Ll(t))return Rc(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Ll(s)&&Ll(o[i])?o[i]=Rc(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function h2(e){return(...t)=>t.reduce((n,r)=>Rc(n,r,"",e),{})}const qp=h2();function d2(e,t){try{return t in e}catch{return!1}}class tf extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ic(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=zp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function p2(e){if(typeof e=="string")return new tf(e);if(g2(e))return e;const t=new tf(e.message??e.statusMessage??"",{cause:e.cause||e});if(d2(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ic(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ic(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;zp(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function g2(e){return e?.constructor?.__h3_error__===!0}const m2=/[^\u0009\u0020-\u007E]/g;function zp(e=""){return e.replace(m2,"")}function Ic(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const y2=Symbol("layout-meta"),il=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const un=()=>dt()?.$router,Ea=()=>da()?It(il,dt()._route):dt()._route;const _2=()=>{try{if(dt()._processingMiddleware)return!0}catch{return!1}return!1},s8=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?v2(e):un().resolve(e).href;if(t?.open){const{target:c="_blank",windowFeatures:u={}}=t.open,a=[];for(const[f,p]of Object.entries(u))p!==void 0&&a.push(`${f.toLowerCase()}=${p}`);return open(n,c,a.join(", ")),Promise.resolve()}const r=Ro(n,{acceptRelative:!0}),o=t?.external||r;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&O_(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const i=_2();if(!o&&i){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:u,hash:a}=ka(e);return{path:c,...u&&{query:Pp(u)},...a&&{hash:a},replace:!0}}return{...e,replace:!0}}return e}const s=un(),l=dt();return o?(l._scope.stop(),t?.replace?location.replace(n):location.href=n,i?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?s.replace(e):s.push(e)};function v2(e){return B_(e.path||"",e.query||{})+(e.hash||"")}const Wp="__nuxt_error",sl=()=>Mg(dt().payload,"error"),Rr=e=>{const t=qr(e);try{const n=sl();dt().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},b2=async(e={})=>{const t=dt(),n=sl();t.callHook("app:error:cleared",e),e.redirect&&await un().replace(e.redirect),n.value=void 0},Up=e=>!!e&&typeof e=="object"&&Wp in e,qr=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=p2(e);return Object.defineProperty(t,Wp,{value:!0,configurable:!1,writable:!1}),t};function w2(e){const t=x2(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const k2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function x2(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=k2.indexOf(e[o]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const C2=-1,E2=-2,A2=-3,S2=-4,T2=-5,M2=-6;function R2(e,t){return I2(JSON.parse(e),t)}function I2(e,t){if(typeof e=="number")return i(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let o=null;function i(s,l=!1){if(s===C2)return;if(s===A2)return NaN;if(s===S2)return 1/0;if(s===T2)return-1/0;if(s===M2)return-0;if(l||typeof s!="number")throw new Error("Invalid input");if(s in r)return r[s];const c=n[s];if(!c||typeof c!="object")r[s]=c;else if(Array.isArray(c))if(typeof c[0]=="string"){const u=c[0],a=t&&Object.hasOwn(t,u)?t[u]:void 0;if(a){let f=c[1];if(typeof f!="number"&&(f=n.push(c[1])-1),o??=new Set,o.has(f))throw new Error("Invalid circular reference");return o.add(f),r[s]=a(i(f)),o.delete(f),r[s]}switch(u){case"Date":r[s]=new Date(c[1]);break;case"Set":const f=new Set;r[s]=f;for(let d=1;d<c.length;d+=1)f.add(i(c[d]));break;case"Map":const p=new Map;r[s]=p;for(let d=1;d<c.length;d+=2)p.set(i(c[d]),i(c[d+1]));break;case"RegExp":r[s]=new RegExp(c[1],c[2]);break;case"Object":r[s]=Object(c[1]);break;case"BigInt":r[s]=BigInt(c[1]);break;case"null":const h=Object.create(null);r[s]=h;for(let d=1;d<c.length;d+=2)h[c[d]]=i(c[d+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[c[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const d=globalThis[u],g=i(c[1]),m=new d(g);r[s]=c[2]!==void 0?m.subarray(c[2],c[3]):m;break}case"ArrayBuffer":{const d=c[1];if(typeof d!="string")throw new Error("Invalid ArrayBuffer encoding");const g=w2(d);r[s]=g;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const d=u.slice(9);r[s]=Temporal[d].from(c[1]);break}case"URL":{const d=new URL(c[1]);r[s]=d;break}case"URLSearchParams":{const d=new URLSearchParams(c[1]);r[s]=d;break}default:throw new Error(`Unknown type ${u}`)}}else{const u=new Array(c.length);r[s]=u;for(let a=0;a<c.length;a+=1){const f=c[a];f!==E2&&(u[a]=i(f))}}else{const u={};r[s]=u;for(const a in c){if(a==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=c[a];u[a]=i(f)}}return r[s]}return i(0)}const D2=new Set(["link","style","script","noscript"]),$2=new Set(["title","titleTemplate","script","style","noscript"]),nf=new Set(["base","meta","link","style","script","noscript"]),P2=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),L2=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),F2=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),O2=new Set(["templateParams","htmlAttrs","bodyAttrs"]),N2=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Dc(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Dc(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Vp=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Kp(e,t,n,r){for(let o=n;o<e.length;o+=1)try{const i=r?r.run(()=>e[o](...t)):e[o](...t);if(i instanceof Promise)return i.then(()=>Kp(e,t,o+1,r))}catch(i){return Promise.reject(i)}}function B2(e,t,n){if(e.length>0)return Kp(e,t,0,Vp(n))}function H2(e,t,n){if(e.length>0){const r=Vp(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}}function Fl(e,t){for(const n of[...e])n(t)}var j2=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let i=o.message;i||(i=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...o)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...o));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Dc(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Dc(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(B2,e,t)}callHookParallel(e,...t){return this.callHookWith(H2,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Fl(this._before,r);const o=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return o instanceof Promise?o.finally(()=>{this._after&&r&&Fl(this._after,r)}):(this._after&&r&&Fl(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function q2(){return new j2}const z2=["name","property","http-equiv"],W2=new Set(["viewport","description","keywords","robots"]);function Gp(e){const t=e.split(":");return t.length?N2.has(t[1]):!1}function $c(e){const{props:t,tag:n}=e;if(L2.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of z2)if(t[r]!==void 0){const o=t[r],i=o&&typeof o=="string"&&o.includes(":"),s=o&&W2.has(o),c=!(i||s)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if($2.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function rf(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Ps(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const o=t?t(n,e):e;if(Array.isArray(o))return o.map(i=>Ps(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Ps(o[s],t,s);return i}return o}function U2(e,t){const n=e==="style"?new Map:new Set;function r(o){if(o==null||o===void 0)return;const i=String(o).trim();if(i)if(e==="style"){const[s,...l]=i.split(":").map(c=>c?c.trim():"");s&&l.length&&n.set(s,l.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?n.set(String(o).trim(),String(i)):r(o))}),n}function Zp(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=U2(n,r);return}if(F2.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let l=t.type;if(t.type||(l="application/json"),!l?.endsWith("json")&&l!=="speculationrules")return;t.type=l,e.props.type=l,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),i=n.startsWith("data-"),s=e.tag==="meta"&&n==="content";o==="true"||o===""?e.props[n]=i||s?o:!0:!r&&i&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function V2(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Zp({tag:e,props:{}},n);return r.key&&D2.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function K2(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=n(void 0,e);const r=[];return e=Ps(e,n),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(V2(o,s))}),r.flat()}const of=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,sf={base:-10,title:10},G2={critical:-8,high:-1,low:2},lf={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Z2=/@import/,Ho=e=>e===""||e===!0;function J2(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=G2[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:lf;if(t.tag in sf)n=sf[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=lf.meta[i])}else if(t.tag==="link"&&t.props.rel)n=o.link[t.props.rel];else if(t.tag==="script"){const i=String(t.props.type);Ho(t.props.async)?n=o.script.async:t.props.src&&!Ho(t.props.defer)&&!Ho(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?n=o.script.sync:(Ho(t.props.defer)&&t.props.src&&!Ho(t.props.async)||i==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Z2.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function cf(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function X2(e={}){const t=q2();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>cf(s,l),push(l,c){const u={...c||{}};delete u.head;const a=u._index??s._entryCount++,f={_i:a,input:l,options:u},p={_poll(h=!1){s.dirty=!0,!h&&i.add(a),t.callHook("entries:updated",s)},dispose(){r.delete(a)&&s.invalidate()},patch(h){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=h,r.set(a,f),p._poll())}};return p.patch(l),p},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",l);i.size;){const p=i.values().next().value;i.delete(p);const h=r.get(p);if(h){const d={tags:K2(h.input,e.propResolvers||[]).map(g=>Object.assign(g,h.options)),entry:h};await t.callHook("entries:normalize",d),h._tags=d.tags.map((g,m)=>(g._w=J2(s,g),g._p=(h._i<<10)+m,g._d=$c(g),g))}}let c=!1;l.entries.flatMap(p=>(p._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(of).reduce((p,h)=>{const d=String(h._d||h._p);if(!p.has(d))return p.set(d,h);const g=p.get(d);if((h?.tagDuplicateStrategy||(O2.has(h.tag)?"merge":null)||(h.key&&h.key===g.key?"merge":null))==="merge"){const x={...g.props};Object.entries(h.props).forEach(([_,y])=>x[_]=_==="style"?new Map([...g.props.style||new Map,...y]):_==="class"?new Set([...g.props.class||new Set,...y]):y),p.set(d,{...h,props:x})}else h._p>>10===g._p>>10&&h.tag==="meta"&&Gp(d)?(p.set(d,Object.assign([...Array.isArray(g)?g:[g],h],h)),c=!0):(h._w===g._w?h._p>g._p:h?._w<g?._w)&&p.set(d,h);return p},l.tagMap);const u=l.tagMap.get("title"),a=l.tagMap.get("titleTemplate");if(s._title=u?.textContent,a){const p=a?.textContent;if(s._titleTemplate=p,p){let h=typeof p=="function"?p(u?.textContent):p;typeof h=="string"&&!s.plugins.has("template-params")&&(h=h.replace("%s",u?.textContent||"")),u?h===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:h}):(a.tag="title",a.textContent=h)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(of)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const f=[];for(const p of l.tags){const{innerHTML:h,tag:d,props:g}=p;if(P2.has(d)&&!(Object.keys(g).length===0&&!p.innerHTML&&!p.textContent)&&!(d==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(d==="script"&&h){if(String(g.type).endsWith("json")){const m=typeof h=="string"?h:JSON.stringify(h);p.innerHTML=m.replace(/</g,"\\u003C")}else typeof h=="string"&&(p.innerHTML=h.replace(new RegExp(`</${d}`,"g"),`<\\/${d}`));p._d=$c(p)}f.push(p)}}return f},invalidate(){for(const l of r.values())i.add(l._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(l=>cf(s,l)),s.hooks.callHook("init",s),e.init?.forEach(l=>l&&s.push(l)),s}const Q2=(e,t)=>et(t)?Eg(t):t,Jp="usehead";function Y2(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Jp,e)}}.install}function ev(){if(da()){const e=It(Jp);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function l8(e,t={}){const n=t.head||ev();return n.ssr?n.push(e||{},t):tv(n,e,t)}function tv(e,t,n={}){const r=de(!1);let o;return Bg(()=>{const s=r.value?{}:Ps(t,Q2);o?o.patch(s):o=e.push(s,n)}),Jr()&&(wn(()=>{o.dispose()}),jd(()=>{r.value=!0}),Hd(()=>{r.value=!1})),o}const nv=(e,t)=>[],rv=e=>qp({},...nv().map(t=>t.data).reverse()),ov=rv;let ss;function iv(){return ss=$fetch(Ca(`builds/meta/${ol().app.buildId}.json`),{responseType:"json"}),ss.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),ss}function Aa(){return ss||iv()}function ll(e){const t=typeof e=="string"?e:e.path;try{return ov(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function af(e,t={}){if(await cv(e)){const n=await lv(e,t);return await Xp(n)||null}return null}const sv="_payload.json";async function lv(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ro(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=ol(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await av(e)?i:r.app.baseURL;return Lp(s,n.pathname,sv+(o?`?${o}`:""))}async function Xp(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(e0));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function Qp(e){if(e.redirect)return!1;if(e.prerender)return!0}async function Yp(e){return e=e==="/"?e:e.replace(/\/$/,""),(await Aa()).prerendered.includes(e)}async function cv(e=Ea().path){const t=ll({path:e}),n=Qp(t);return n!==void 0?n:t.payload?!0:await Yp(e)}async function av(e=Ea().path){const t=Qp(ll({path:e}));return t!==void 0?t:await Yp(e)}let Er=null;async function uv(){if(Er)return Er;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await e0(e.textContent||""),n=e.dataset.src?await Xp(e.dataset.src):void 0;return Er={...t,...n,...window.__NUXT__},Er.config?.public&&(Er.config.public=ln(Er.config.public)),Er}async function e0(e){return await R2(e,dt()._payloadRevivers)}function fv(e,t){dt()._payloadRevivers[e]=t}const hv=[["NuxtError",e=>qr(e)],["EmptyShallowRef",e=>Vr(e==="_"?void 0:e==="0n"?BigInt(0):Is(e))],["EmptyRef",e=>de(e==="_"?void 0:e==="0n"?BigInt(0):Is(e))],["ShallowRef",e=>Vr(e)],["ShallowReactive",e=>zn(e)],["Ref",e=>de(e)],["Reactive",e=>ln(e)]],dv=Dn({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of hv)fv(r,o);Object.assign(e.payload,([t,n]=Yo(()=>e.runWithContext(uv)),t=await t,n(),t)),delete window.__NUXT__}});async function Sa(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(h=>{e.resolveTags().then(d=>{h(d.map(g=>{const m=i.get(g._d)||0,x={tag:g,id:(m?`${g._d}:${m}`:g._d)||rf(g),shouldRender:!0};return g._d&&Gp(g._d)&&i.set(g._d,m+1),x}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const d=n[h]?.children;for(const g of d){const m=g.tagName.toLowerCase();if(!nf.has(m))continue;const x=Zp({tag:m,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((_,y)=>(_[y]=g.getAttribute(y),_),{})||{}});if(x.key=g.getAttribute("data-hid")||void 0,x._d=$c(x)||rf(x),l.elMap.has(x._d)){let _=1,y=x._d;for(;l.elMap.has(y);)y=`${x._d}:${_++}`;l.elMap.set(y,g)}else l.elMap.set(x._d,g)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function c(h,d,g){const m=`${h}:${d}`;l.sideEffects[m]=g,delete l.pendingSideEffects[m]}function u({id:h,$el:d,tag:g}){const m=g.tag.endsWith("Attrs");l.elMap.set(h,d),m||(g.textContent&&g.textContent!==d.textContent&&(d.textContent=g.textContent),g.innerHTML&&g.innerHTML!==d.innerHTML&&(d.innerHTML=g.innerHTML),c(h,"el",()=>{d?.remove(),l.elMap.delete(h)}));for(const x in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,x))continue;const _=g.props[x];if(x.startsWith("on")&&typeof _=="function"){const b=d?.dataset;if(b&&b[`${x}fired`]){const v=x.slice(0,-5);_.call(d,new Event(v.substring(2)))}d.getAttribute(`data-${x}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:d).addEventListener(x.substring(2),_.bind(d)),d.setAttribute(`data-${x}`,""));continue}const y=`attr:${x}`;if(x==="class"){if(!_)continue;for(const b of _)m&&c(h,`${y}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b)}else if(x==="style"){if(!_)continue;for(const[b,v]of _)c(h,`${y}:${b}`,()=>{d.style.removeProperty(b)}),d.style.setProperty(b,v)}else _!==!1&&_!==null&&(d.getAttribute(x)!==_&&d.setAttribute(x,_===!0?"":String(_)),m&&c(h,y,()=>d.removeAttribute(x)))}}const a=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await s;for(const h of p){const{tag:d,shouldRender:g,id:m}=h;if(g){if(d.tag==="title"){n.title=d.textContent,c("title","",()=>n.title=l.title);continue}h.$el=h.$el||l.elMap.get(m),h.$el?u(h):nf.has(d.tag)&&a.push(h)}}for(const h of a){const d=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),u(h),f[d]=f[d]||n.createDocumentFragment(),f[d].appendChild(h.$el)}for(const h of p)await e.hooks.callHook("dom:renderTag",h,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const h in l.pendingSideEffects)l.pendingSideEffects[h]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:p}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function pv(e={}){const t=e.domOptions?.render||Sa;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return X2({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function gv(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function mv(e={}){const t=pv({domOptions:{render:gv(()=>Sa(t),n=>setTimeout(n,0))},...e});return t.install=Y2(t),t}const yv={disableDefaults:!0},_v=Dn({name:"nuxt:head",enforce:"pre",setup(e){const t=mv(yv);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Sa(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const ao=typeof document<"u";function t0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function vv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&t0(e.default)}const Fe=Object.assign;function Ol(e,t){const n={};for(const r in t){const o=t[r];n[r]=bn(o)?o.map(e):e(o)}return n}const ei=()=>{},bn=Array.isArray;function uf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const n0=/#/g,bv=/&/g,wv=/\//g,kv=/=/g,xv=/\?/g,r0=/\+/g,Cv=/%5B/g,Ev=/%5D/g,o0=/%5E/g,Av=/%60/g,i0=/%7B/g,Sv=/%7C/g,s0=/%7D/g,Tv=/%20/g;function Ta(e){return e==null?"":encodeURI(""+e).replace(Sv,"|").replace(Cv,"[").replace(Ev,"]")}function Mv(e){return Ta(e).replace(i0,"{").replace(s0,"}").replace(o0,"^")}function Pc(e){return Ta(e).replace(r0,"%2B").replace(Tv,"+").replace(n0,"%23").replace(bv,"%26").replace(Av,"`").replace(i0,"{").replace(s0,"}").replace(o0,"^")}function Rv(e){return Pc(e).replace(kv,"%3D")}function Iv(e){return Ta(e).replace(n0,"%23").replace(xv,"%3F")}function Dv(e){return Iv(e).replace(wv,"%2F")}function gi(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $v=/\/$/,Pv=e=>e.replace($v,"");function Nl(e,t,n="/"){let r,o={},i="",s="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(r=t.slice(0,c),i=t.slice(c,l>0?l:t.length),o=e(i.slice(1))),l>=0&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=Nv(r??t,n),{fullPath:r+i+s,path:r,query:o,hash:gi(s)}}function Lv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ff(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Fv(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Eo(t.matched[r],n.matched[o])&&l0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Eo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function l0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ov(e[n],t[n]))return!1;return!0}function Ov(e,t){return bn(e)?hf(e,t):bn(t)?hf(t,e):e?.valueOf()===t?.valueOf()}function hf(e,t){return bn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Nv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,l;for(s=0;s<r.length;s++)if(l=r[s],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const sn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Lc=(function(e){return e.pop="pop",e.push="push",e})({}),Bl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Bv(e){if(!e)if(ao){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Pv(e)}const Hv=/^[^#]+#/;function jv(e,t){return e.replace(Hv,"#")+t}function qv(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const cl=()=>({left:window.scrollX,top:window.scrollY});function zv(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=qv(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function df(e,t){return(history.state?history.state.position-t:-1)+e}const Fc=new Map;function Wv(e,t){Fc.set(e,t)}function Uv(e){const t=Fc.get(e);return Fc.delete(e),t}function Vv(e){return typeof e=="string"||e&&typeof e=="object"}function c0(e){return typeof e=="string"||typeof e=="symbol"}let Ge=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const a0=Symbol("");Ge.MATCHER_NOT_FOUND+"",Ge.NAVIGATION_GUARD_REDIRECT+"",Ge.NAVIGATION_ABORTED+"",Ge.NAVIGATION_CANCELLED+"",Ge.NAVIGATION_DUPLICATED+"";function Ao(e,t){return Fe(new Error,{type:e,[a0]:!0},t)}function Nn(e,t){return e instanceof Error&&a0 in e&&(t==null||!!(e.type&t))}const Kv=["params","query","hash"];function Gv(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Kv)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Zv(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(r0," "),i=o.indexOf("="),s=gi(i<0?o:o.slice(0,i)),l=i<0?null:gi(o.slice(i+1));if(s in t){let c=t[s];bn(c)||(c=t[s]=[c]),c.push(l)}else t[s]=l}return t}function pf(e){let t="";for(let n in e){const r=e[n];if(n=Rv(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(bn(r)?r.map(o=>o&&Pc(o)):[r&&Pc(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Jv(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=bn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Xv=Symbol(""),gf=Symbol(""),Ma=Symbol(""),u0=Symbol(""),Oc=Symbol("");function jo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ur(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(Ao(Ge.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):Vv(p)?c(Ao(Ge.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),l())},a=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(p=>c(p))})}function Hl(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const l in s.components){let c=s.components[l];if(!(t!=="beforeRouteEnter"&&!s.instances[l]))if(t0(c)){const u=(c.__vccOpts||c)[t];u&&i.push(ur(u,n,r,s,l,o))}else{let u=c();i.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${s.path}"`);const f=vv(a)?a.default:a;s.mods[l]=a,s.components[l]=f;const p=(f.__vccOpts||f)[t];return p&&ur(p,n,r,s,l,o)()}))}}return i}function Qv(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const l=t.matched[s];l&&(e.matched.find(u=>Eo(u,l))?r.push(l):n.push(l));const c=e.matched[s];c&&(t.matched.find(u=>Eo(u,c))||o.push(c))}return[n,r,o]}let Yv=()=>location.protocol+"//"+location.host;function f0(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let s=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(s);return l[0]!=="/"&&(l="/"+l),ff(l,"")}return ff(n,e)+r+o}function eb(e,t,n,r){let o=[],i=[],s=null;const l=({state:p})=>{const h=f0(e,location),d=n.value,g=t.value;let m=0;if(p){if(n.value=h,t.value=p,s&&s===d){s=null;return}m=g?p.position-g.position:0}else r(h);o.forEach(x=>{x(n.value,d,{delta:m,type:Lc.pop,direction:m?m>0?Bl.forward:Bl.back:Bl.unknown})})};function c(){s=n.value}function u(p){o.push(p);const h=()=>{const d=o.indexOf(p);d>-1&&o.splice(d,1)};return i.push(h),h}function a(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Fe({},p.state,{scroll:cl()}),"")}}function f(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function mf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?cl():null}}function tb(e){const{history:t,location:n}=window,r={value:f0(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,a){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Yv()+e+c;try{t[a?"replaceState":"pushState"](u,"",p),o.value=u}catch(h){console.error(h),n[a?"replace":"assign"](p)}}function s(c,u){i(c,Fe({},t.state,mf(o.value.back,c,o.value.forward,!0),u,{position:o.value.position}),!0),r.value=c}function l(c,u){const a=Fe({},o.value,t.state,{forward:c,scroll:cl()});i(a.current,a,!0),i(c,Fe({},mf(r.value,c,null),{position:a.position+1},u),!1),r.value=c}return{location:r,state:o,push:l,replace:s}}function nb(e){e=Bv(e);const t=tb(e),n=eb(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=Fe({location:"",base:e,go:r,createHref:jv.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Dr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var tt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(tt||{});const rb={type:Dr.Static,value:""},ob=/[a-zA-Z0-9_]/;function ib(e){if(!e)return[[]];if(e==="/")return[[rb]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=tt.Static,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let l=0,c,u="",a="";function f(){u&&(n===tt.Static?i.push({type:Dr.Static,value:u}):n===tt.Param||n===tt.ParamRegExp||n===tt.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Dr.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==tt.ParamRegExp){r=n,n=tt.EscapeNext;continue}switch(n){case tt.Static:c==="/"?(u&&f(),s()):c===":"?(f(),n=tt.Param):p();break;case tt.EscapeNext:p(),n=r;break;case tt.Param:c==="("?n=tt.ParamRegExp:ob.test(c)?p():(f(),n=tt.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case tt.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=tt.ParamRegExpEnd:a+=c;break;case tt.ParamRegExpEnd:f(),n=tt.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===tt.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),s(),o}const yf="[^/]+?",sb={sensitive:!1,strict:!1,start:!0,end:!0};var kt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(kt||{});const lb=/[.+*?^${}()[\]/\\]/g;function cb(e,t){const n=Fe({},sb,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const a=u.length?[]:[kt.Root];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const p=u[f];let h=kt.Segment+(n.sensitive?kt.BonusCaseSensitive:0);if(p.type===Dr.Static)f||(o+="/"),o+=p.value.replace(lb,"\\$&"),h+=kt.Static;else if(p.type===Dr.Param){const{value:d,repeatable:g,optional:m,regexp:x}=p;i.push({name:d,repeatable:g,optional:m});const _=x||yf;if(_!==yf){h+=kt.BonusCustomRegExp;try{`${_}`}catch(b){throw new Error(`Invalid custom RegExp for param "${d}" (${_}): `+b.message)}}let y=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(y=m&&u.length<2?`(?:/${y})`:"/"+y),m&&(y+="?"),o+=y,h+=kt.Dynamic,m&&(h+=kt.BonusOptional),g&&(h+=kt.BonusRepeatable),_===".*"&&(h+=kt.BonusWildcard)}a.push(h)}r.push(a)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=kt.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function l(u){const a=u.match(s),f={};if(!a)return null;for(let p=1;p<a.length;p++){const h=a[p]||"",d=i[p-1];f[d.name]=h&&d.repeatable?h.split("/"):h}return f}function c(u){let a="",f=!1;for(const p of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const h of p)if(h.type===Dr.Static)a+=h.value;else if(h.type===Dr.Param){const{value:d,repeatable:g,optional:m}=h,x=d in u?u[d]:"";if(bn(x)&&!g)throw new Error(`Provided param "${d}" is an array but it is not repeatable (* or + modifiers)`);const _=bn(x)?x.join("/"):x;if(!_)if(m)p.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${d}"`);a+=_}}return a||"/"}return{re:s,score:r,keys:i,parse:l,stringify:c}}function ab(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===kt.Static+kt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===kt.Static+kt.Segment?1:-1:0}function h0(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=ab(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(_f(r))return 1;if(_f(o))return-1}return o.length-r.length}function _f(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ub={strict:!1,end:!0,sensitive:!1};function fb(e,t,n){const r=cb(ib(e.path),n),o=Fe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function hb(e,t){const n=[],r=new Map;t=uf(ub,t);function o(f){return r.get(f)}function i(f,p,h){const d=!h,g=bf(f);g.aliasOf=h&&h.record;const m=uf(t,f),x=[g];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const v of b)x.push(bf(Fe({},g,{components:h?h.record.components:g.components,path:v,aliasOf:h?h.record:g})))}let _,y;for(const b of x){const{path:v}=b;if(p&&v[0]!=="/"){const S=p.record.path,w=S[S.length-1]==="/"?"":"/";b.path=p.record.path+(v&&w+v)}if(_=fb(b,p,m),h?h.alias.push(_):(y=y||_,y!==_&&y.alias.push(_),d&&f.name&&!wf(_)&&s(f.name)),d0(_)&&c(_),g.children){const S=g.children;for(let w=0;w<S.length;w++)i(S[w],_,h&&h.children[w])}h=h||_}return y?()=>{s(y)}:ei}function s(f){if(c0(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function l(){return n}function c(f){const p=gb(f,n);n.splice(p,0,f),f.record.name&&!wf(f)&&r.set(f.record.name,f)}function u(f,p){let h,d={},g,m;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Ao(Ge.MATCHER_NOT_FOUND,{location:f});m=h.record.name,d=Fe(vf(p.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&vf(f.params,h.keys.map(y=>y.name))),g=h.stringify(d)}else if(f.path!=null)g=f.path,h=n.find(y=>y.re.test(g)),h&&(d=h.parse(g),m=h.record.name);else{if(h=p.name?r.get(p.name):n.find(y=>y.re.test(p.path)),!h)throw Ao(Ge.MATCHER_NOT_FOUND,{location:f,currentLocation:p});m=h.record.name,d=Fe({},p.params,f.params),g=h.stringify(d)}const x=[];let _=h;for(;_;)x.unshift(_.record),_=_.parent;return{name:m,path:g,params:d,matched:x,meta:pb(x)}}e.forEach(f=>i(f));function a(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:a,getRoutes:l,getRecordMatcher:o}}function vf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function bf(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:db(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function db(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function wf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pb(e){return e.reduce((t,n)=>Fe(t,n.meta),{})}function gb(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;h0(e,t[i])<0?r=i:n=i+1}const o=mb(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function mb(e){let t=e;for(;t=t.parent;)if(d0(t)&&h0(e,t)===0)return t}function d0({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function kf(e){const t=It(Ma),n=It(u0),r=le(()=>{const c=ue(e.to);return t.resolve(c)}),o=le(()=>{const{matched:c}=r.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const p=f.findIndex(Eo.bind(null,a));if(p>-1)return p;const h=xf(c[u-2]);return u>1&&xf(a)===h&&f[f.length-1].path!==h?f.findIndex(Eo.bind(null,c[u-2])):p}),i=le(()=>o.value>-1&&wb(n.params,r.value.params)),s=le(()=>o.value>-1&&o.value===n.matched.length-1&&l0(n.params,r.value.params));function l(c={}){if(bb(c)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(ei);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:le(()=>r.value.href),isActive:i,isExactActive:s,navigate:l}}function yb(e){return e.length===1?e[0]:e}const _b=xe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:kf,setup(e,{slots:t}){const n=ln(kf(e)),{options:r}=It(Ma),o=le(()=>({[Cf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Cf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&yb(t.default(n));return e.custom?i:lt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),vb=_b;function bb(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function wb(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!bn(o)||o.length!==r.length||r.some((i,s)=>i.valueOf()!==o[s].valueOf()))return!1}return!0}function xf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Cf=(e,t,n)=>e??t??n,kb=xe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=It(Oc),o=le(()=>e.route||r.value),i=It(gf,0),s=le(()=>{let u=ue(i);const{matched:a}=o.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=le(()=>o.value.matched[s.value]);Or(gf,le(()=>s.value+1)),Or(Xv,l),Or(Oc,o);const c=de();return Ne(()=>[c.value,l.value,e.name],([u,a,f],[p,h,d])=>{a&&(a.instances[f]=u,h&&h!==a&&u&&u===p&&(a.leaveGuards.size||(a.leaveGuards=h.leaveGuards),a.updateGuards.size||(a.updateGuards=h.updateGuards))),u&&a&&(!h||!Eo(a,h)||!p)&&(a.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,a=e.name,f=l.value,p=f&&f.components[a];if(!p)return Ef(n.default,{Component:p,route:u});const h=f.props[a],d=h?h===!0?u.params:typeof h=="function"?h(u):h:null,m=lt(p,Fe({},d,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Ef(n.default,{Component:m,route:u})||m}}});function Ef(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const p0=kb;function xb(e){const t=hb(e.routes,e),n=e.parseQuery||Zv,r=e.stringifyQuery||pf,o=e.history,i=jo(),s=jo(),l=jo(),c=Vr(sn);let u=sn;ao&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Ol.bind(null,H=>""+H),f=Ol.bind(null,Dv),p=Ol.bind(null,gi);function h(H,ne){let ee,ae;return c0(H)?(ee=t.getRecordMatcher(H),ae=ne):ae=H,t.addRoute(ae,ee)}function d(H){const ne=t.getRecordMatcher(H);ne&&t.removeRoute(ne)}function g(){return t.getRoutes().map(H=>H.record)}function m(H){return!!t.getRecordMatcher(H)}function x(H,ne){if(ne=Fe({},ne||c.value),typeof H=="string"){const T=Nl(n,H,ne.path),L=t.resolve({path:T.path},ne),U=o.createHref(T.fullPath);return Fe(T,L,{params:p(L.params),hash:gi(T.hash),redirectedFrom:void 0,href:U})}let ee;if(H.path!=null)ee=Fe({},H,{path:Nl(n,H.path,ne.path).path});else{const T=Fe({},H.params);for(const L in T)T[L]==null&&delete T[L];ee=Fe({},H,{params:f(T)}),ne.params=f(ne.params)}const ae=t.resolve(ee,ne),ve=H.hash||"";ae.params=a(p(ae.params));const W=Lv(r,Fe({},H,{hash:Mv(ve),path:ae.path})),k=o.createHref(W);return Fe({fullPath:W,hash:ve,query:r===pf?Jv(H.query):H.query||{}},ae,{redirectedFrom:void 0,href:k})}function _(H){return typeof H=="string"?Nl(n,H,c.value.path):Fe({},H)}function y(H,ne){if(u!==H)return Ao(Ge.NAVIGATION_CANCELLED,{from:ne,to:H})}function b(H){return w(H)}function v(H){return b(Fe(_(H),{replace:!0}))}function S(H,ne){const ee=H.matched[H.matched.length-1];if(ee&&ee.redirect){const{redirect:ae}=ee;let ve=typeof ae=="function"?ae(H,ne):ae;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=_(ve):{path:ve},ve.params={}),Fe({query:H.query,hash:H.hash,params:ve.path!=null?{}:H.params},ve)}}function w(H,ne){const ee=u=x(H),ae=c.value,ve=H.state,W=H.force,k=H.replace===!0,T=S(ee,ae);if(T)return w(Fe(_(T),{state:typeof T=="object"?Fe({},ve,T.state):ve,force:W,replace:k}),ne||ee);const L=ee;L.redirectedFrom=ne;let U;return!W&&Fv(r,ae,ee)&&(U=Ao(Ge.NAVIGATION_DUPLICATED,{to:L,from:ae}),Q(ae,ae,!0,!1)),(U?Promise.resolve(U):C(L,ae)).catch(j=>Nn(j)?Nn(j,Ge.NAVIGATION_GUARD_REDIRECT)?j:K(j):F(j,L,ae)).then(j=>{if(j){if(Nn(j,Ge.NAVIGATION_GUARD_REDIRECT))return w(Fe({replace:k},_(j.to),{state:typeof j.to=="object"?Fe({},ve,j.to.state):ve,force:W}),ne||L)}else j=R(L,ae,!0,k,ve);return M(L,ae,j),j})}function A(H,ne){const ee=y(H,ne);return ee?Promise.reject(ee):Promise.resolve()}function E(H){const ne=Ve.values().next().value;return ne&&typeof ne.runWithContext=="function"?ne.runWithContext(H):H()}function C(H,ne){let ee;const[ae,ve,W]=Qv(H,ne);ee=Hl(ae.reverse(),"beforeRouteLeave",H,ne);for(const T of ae)T.leaveGuards.forEach(L=>{ee.push(ur(L,H,ne))});const k=A.bind(null,H,ne);return ee.push(k),ye(ee).then(()=>{ee=[];for(const T of i.list())ee.push(ur(T,H,ne));return ee.push(k),ye(ee)}).then(()=>{ee=Hl(ve,"beforeRouteUpdate",H,ne);for(const T of ve)T.updateGuards.forEach(L=>{ee.push(ur(L,H,ne))});return ee.push(k),ye(ee)}).then(()=>{ee=[];for(const T of W)if(T.beforeEnter)if(bn(T.beforeEnter))for(const L of T.beforeEnter)ee.push(ur(L,H,ne));else ee.push(ur(T.beforeEnter,H,ne));return ee.push(k),ye(ee)}).then(()=>(H.matched.forEach(T=>T.enterCallbacks={}),ee=Hl(W,"beforeRouteEnter",H,ne,E),ee.push(k),ye(ee))).then(()=>{ee=[];for(const T of s.list())ee.push(ur(T,H,ne));return ee.push(k),ye(ee)}).catch(T=>Nn(T,Ge.NAVIGATION_CANCELLED)?T:Promise.reject(T))}function M(H,ne,ee){l.list().forEach(ae=>E(()=>ae(H,ne,ee)))}function R(H,ne,ee,ae,ve){const W=y(H,ne);if(W)return W;const k=ne===sn,T=ao?history.state:{};ee&&(ae||k?o.replace(H.fullPath,Fe({scroll:k&&T&&T.scroll},ve)):o.push(H.fullPath,ve)),c.value=H,Q(H,ne,ee,k),K()}let P;function B(){P||(P=o.listen((H,ne,ee)=>{if(!ze.listening)return;const ae=x(H),ve=S(ae,ze.currentRoute.value);if(ve){w(Fe(ve,{replace:!0,force:!0}),ae).catch(ei);return}u=ae;const W=c.value;ao&&Wv(df(W.fullPath,ee.delta),cl()),C(ae,W).catch(k=>Nn(k,Ge.NAVIGATION_ABORTED|Ge.NAVIGATION_CANCELLED)?k:Nn(k,Ge.NAVIGATION_GUARD_REDIRECT)?(w(Fe(_(k.to),{force:!0}),ae).then(T=>{Nn(T,Ge.NAVIGATION_ABORTED|Ge.NAVIGATION_DUPLICATED)&&!ee.delta&&ee.type===Lc.pop&&o.go(-1,!1)}).catch(ei),Promise.reject()):(ee.delta&&o.go(-ee.delta,!1),F(k,ae,W))).then(k=>{k=k||R(ae,W,!1),k&&(ee.delta&&!Nn(k,Ge.NAVIGATION_CANCELLED)?o.go(-ee.delta,!1):ee.type===Lc.pop&&Nn(k,Ge.NAVIGATION_ABORTED|Ge.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),M(ae,W,k)}).catch(ei)}))}let D=jo(),I=jo(),O;function F(H,ne,ee){K(H);const ae=I.list();return ae.length?ae.forEach(ve=>ve(H,ne,ee)):console.error(H),Promise.reject(H)}function q(){return O&&c.value!==sn?Promise.resolve():new Promise((H,ne)=>{D.add([H,ne])})}function K(H){return O||(O=!H,B(),D.list().forEach(([ne,ee])=>H?ee(H):ne()),D.reset()),H}function Q(H,ne,ee,ae){const{scrollBehavior:ve}=e;if(!ao||!ve)return Promise.resolve();const W=!ee&&Uv(df(H.fullPath,0))||(ae||!ee)&&history.state&&history.state.scroll||null;return Wt().then(()=>ve(H,ne,W)).then(k=>k&&zv(k)).catch(k=>F(k,H,ne))}const ce=H=>o.go(H);let Ie;const Ve=new Set,ze={currentRoute:c,listening:!0,addRoute:h,removeRoute:d,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:g,resolve:x,options:e,push:b,replace:v,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:i.add,beforeResolve:s.add,afterEach:l.add,onError:I.add,isReady:q,install(H){H.component("RouterLink",vb),H.component("RouterView",p0),H.config.globalProperties.$router=ze,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(c)}),ao&&!Ie&&c.value===sn&&(Ie=!0,b(o.location).catch(ae=>{}));const ne={};for(const ae in sn)Object.defineProperty(ne,ae,{get:()=>c.value[ae],enumerable:!0});H.provide(Ma,ze),H.provide(u0,zn(ne)),H.provide(Oc,c);const ee=H.unmount;Ve.add(H),H.unmount=function(){Ve.delete(H),Ve.size<1&&(u=sn,P&&P(),P=null,c.value=sn,Ie=!1,O=!1),ee()}}};function ye(H){return H.reduce((ne,ee)=>ne.then(()=>E(ee)),Promise.resolve())}return ze}const Cb=/(:\w+)\([^)]+\)/g,Eb=/(:\w+)[?+*]/g,Ab=/:\w+/g,Sb=(e,t)=>t.path.replace(Cb,"$1").replace(Eb,"$1").replace(Ab,n=>e.params[n.slice(1)]?.toString()||""),Nc=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Sb(e.route,n));return typeof r=="function"?r(e.route):r},Tb=(e,t)=>({default:()=>e?lt(Qg,e===!0?{}:e,t):t});function Ra(e){return Array.isArray(e)?e:[e]}const Mb="modulepreload",Rb=function(e,t){return new URL(e,t).href},Af={},Dt=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(a){return Promise.all(a.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");o=u(n.map(a=>{if(a=Rb(a,r),a in Af)return;Af[a]=!0;const f=a.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(r)for(let d=s.length-1;d>=0;d--){const g=s[d];if(g.href===a&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${p}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":Mb,f||(h.as="script"),h.crossOrigin="",h.href=a,c&&h.setAttribute("nonce",c),document.head.appendChild(h),f)return new Promise((d,g)=>{h.addEventListener("load",d),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${a}`)))})}))}function i(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return o.then(s=>{for(const l of s||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},jl=[{name:"index",path:"/",component:()=>Dt(()=>import("./C_nwuZOL.js"),__vite__mapDeps([0,1,2]),import.meta.url)}],Ib=(e,t)=>({default:()=>e?lt(Si,e===!0?{}:e,t):t.default?.()}),Db=/(:\w+)\([^)]+\)/g,$b=/(:\w+)[?+*]/g,Pb=/:\w+/g;function Sf(e){const t=e?.meta.key??e.path.replace(Db,"$1").replace($b,"$1").replace(Pb,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Lb(e,t){return e===t||t===sn?!1:Sf(e)!==Sf(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}const Fb={scrollBehavior(e,t,n){const r=dt(),o=un().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:g0(e.hash),behavior:o}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const s=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(l=>{if(t===sn){l(Tf(e,t,n,o));return}r.hooks.hookOnce(s,()=>{requestAnimationFrame(()=>l(Tf(e,t,n,o)))})})}};function g0(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Tf(e,t,n,r){if(n)return n;const o=Lb(e,t);return e.hash?{el:e.hash,top:g0(e.hash),behavior:o?r:"instant"}:{left:0,top:0}}const Ob={hashMode:!1,scrollBehaviorType:"auto"},rr={...Ob,...Fb},Nb=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const o=([n,r]=Yo(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(o===!0)return;const i=qr({fatal:!0,status:o&&(o.status||o.statusCode)||404,statusText:o&&(o.statusText||o.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),i},Bb=e=>{const t=ll({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Ro(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},Hb=[Nb,Bb],Bc={};function jb(e,t,n){const{pathname:r,search:o,hash:i}=t,s=e.indexOf("#");if(s>-1){const u=i.includes(e.slice(s))?e.slice(s).length:1;let a=i.slice(u);return a[0]!=="/"&&(a="/"+a),Vu(Ku(a,""))}const l=Vu(Ku(r,e)),c=!n||q_(l,n)?l:n;return c+(c.includes("?")?"":o)+i}const qb=Dn({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=ol().app.baseURL;const o=rr.history?.(r)??nb(r),i=rr.routes?([t,n]=Yo(()=>rr.routes(jl)),t=await t,n(),t??jl):jl;let s;const l=xb({...rr,scrollBehavior:(m,x,_)=>{if(x===sn){s=_;return}if(rr.scrollBehavior){if(l.options.scrollBehavior=rr.scrollBehavior,"scrollRestoration"in window.history){const y=l.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return rr.scrollBehavior(m,sn,s||_)}},history:o,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const c=Vr(l.currentRoute.value);l.afterEach((m,x)=>{c.value=x}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=jb(r,window.location,e.payload.path),a=Vr(l.currentRoute.value),f=()=>{a.value=l.currentRoute.value};l.afterEach((m,x)=>{m.matched.at(-1)?.components?.default===x.matched.at(-1)?.components?.default&&f()});const p={sync:f};for(const m in a.value)Object.defineProperty(p,m,{get:()=>a.value[m],enumerable:!0});e._route=zn(p),e._middleware||={global:[],named:{}};const h=sl();l.afterEach(async(m,x,_)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(b2),_&&await e.callHook("page:loading:end")});try{[t,n]=Yo(()=>l.isReady()),await t,n()}catch(m){[t,n]=Yo(()=>e.runWithContext(()=>Rr(m))),await t,n()}const d=u!==l.currentRoute.value.fullPath?l.resolve(u):l.currentRoute.value;f();const g=e.payload.state._layout;return l.beforeEach(async(m,x)=>{await e.callHook("page:loading:start"),m.meta=ln(m.meta),e.isHydrating&&g&&!Rn(m.meta.layout)&&(m.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...Hb,...e._middleware.global]);for(const b of m.matched){const v=b.meta.middleware;if(v)for(const S of Ra(v))_.add(S)}const y=ll({path:m.path});if(y.appMiddleware)for(const b in y.appMiddleware)y.appMiddleware[b]?_.add(b):_.delete(b);for(const b of _){const v=typeof b=="string"?e._middleware.named[b]||await Bc[b]?.().then(S=>S.default||S):b;if(!v)throw new Error(`Unknown route middleware: '${b}'.`);try{const S=await e.runWithContext(()=>v(m,x));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const w=S||qr({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>Rr(w)),!1}if(S===!0)continue;if(S===!1)return S;if(S)return Up(S)&&S.fatal&&await e.runWithContext(()=>Rr(S)),S}catch(S){const w=qr(S);return w.fatal&&await e.runWithContext(()=>Rr(w)),w}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(m=>{if(m.matched.length===0)return e.runWithContext(()=>Rr(qr({status:404,fatal:!1,statusText:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in d&&(d.name=void 0),await l.replace({...d,force:!0}),l.options.scrollBehavior=rr.scrollBehavior}catch(m){await e.runWithContext(()=>Rr(m))}}),{provide:{router:l}}}}),Mf=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),c8=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ia=e=>{const t=dt();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Mf(()=>e())}):Mf(()=>e())},zb=Dn({name:"nuxt:payload",setup(e){const t=new Set;un().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const o=await af(n.path);if(o){for(const i of t)delete e.static.data[i];for(const i in o.data)i in e.static.data||t.add(i),e.static.data[i]=o.data[i]}}),Ia(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await af(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Aa,1e3)})}}),Wb=Dn(()=>{const e=un();Ia(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Ub=Dn(e=>{let t;async function n(){let r;try{r=await Aa()}catch(o){const i=o;if(!("status"in i&&(i.status===404||i.status===403)))throw i}t&&clearTimeout(t),t=setTimeout(n,Yu);try{const o=await $fetch(Ca("builds/latest.json")+`?${Date.now()}`);o.id!==r?.id&&(e.hooks.callHook("app:manifest:update",o),t&&clearTimeout(t))}catch{}}Ia(()=>{t=setTimeout(n,Yu)})});function Vb(e={}){const t=e.path||window.location.pathname;let n={};try{n=Is(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:dt().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Kb=Dn({name:"nuxt:chunk-reload",setup(e){const t=un(),n=ol(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const s=Lp(n.app.baseURL,i.fullPath);Vb({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Gb=Dn({name:"nuxt:global-components"}),Ui={};function Zb(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Jb(e,t=un()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const o=t._preloadPromises||=[];if(o.length>4)return Promise.all(o).then(()=>Jb(e,t));t._routePreloaded.add(n);for(const i of r){const s=i.components?.default;if(typeof s!="function")continue;const l=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const Xb=Dn({name:"nuxt:prefetch",setup(e){const t=un();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Ui[r]=="function"&&await Ui[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Ro(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let i=Ra(r.meta.middleware);i=i.filter(s=>typeof s=="string");for(const s of i)typeof Bc[s]=="function"&&Bc[s]();typeof o=="string"&&o in Ui&&Zb(Ui[o])})}});var Qb=Object.create,Da=Object.defineProperty,Yb=Object.getOwnPropertyDescriptor,m0=Object.getOwnPropertyNames,ew=Object.getPrototypeOf,tw=Object.prototype.hasOwnProperty,y0=(e,t)=>function(){return t||(0,e[m0(e)[0]])((t={exports:{}}).exports,t),t.exports},_0=e=>{let t={};for(var n in e)Da(t,n,{get:e[n],enumerable:!0});return t},nw=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var o=m0(t),i=0,s=o.length,l;i<s;i++)l=o[i],!tw.call(e,l)&&l!==n&&Da(e,l,{get:(c=>t[c]).bind(null,l),enumerable:!(r=Yb(t,l))||r.enumerable});return e},v0=(e,t,n)=>(n=e!=null?Qb(ew(e)):{},nw(Da(n,"default",{value:e,enumerable:!0}),e));function rw(e,t,n,r){const o=Number(e[t].meta.id+1).toString();let i="";return typeof r.docId=="string"&&(i=`-${r.docId}-`),i+o}function ow(e,t){let n=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(n+=`:${e[t].meta.subId}`),`[${n}]`}function iw(e,t,n,r,o){const i=o.rules.footnote_anchor_name(e,t,n,r,o),s=o.rules.footnote_caption(e,t,n,r,o);let l=i;return e[t].meta.subId>0&&(l+=`:${e[t].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${i}" id="fnref${l}">${s}</a></sup>`}function sw(e,t,n){return(n.xhtmlOut?`<hr class="footnotes-sep" />
5
+ `:`<hr class="footnotes-sep">
6
+ `)+`<section class="footnotes">
7
+ <ol class="footnotes-list">
8
+ `}function lw(){return`</ol>
9
+ </section>
10
+ `}function cw(e,t,n,r,o){let i=o.rules.footnote_anchor_name(e,t,n,r,o);return e[t].meta.subId>0&&(i+=`:${e[t].meta.subId}`),`<li id="fn${i}" class="footnote-item">`}function aw(){return`</li>
11
+ `}function uw(e,t,n,r,o){let i=o.rules.footnote_anchor_name(e,t,n,r,o);return e[t].meta.subId>0&&(i+=`:${e[t].meta.subId}`),` <a href="#fnref${i}" class="footnote-backref">↩︎</a>`}function fw(e){const t=e.helpers.parseLinkLabel,n=e.utils.isSpace;e.renderer.rules.footnote_ref=iw,e.renderer.rules.footnote_block_open=sw,e.renderer.rules.footnote_block_close=lw,e.renderer.rules.footnote_open=cw,e.renderer.rules.footnote_close=aw,e.renderer.rules.footnote_anchor=uw,e.renderer.rules.footnote_caption=ow,e.renderer.rules.footnote_anchor_name=rw;function r(l,c,u,a){const f=l.bMarks[c]+l.tShift[c],p=l.eMarks[c];if(f+4>p||l.src.charCodeAt(f)!==91||l.src.charCodeAt(f+1)!==94)return!1;let h;for(h=f+2;h<p;h++){if(l.src.charCodeAt(h)===32)return!1;if(l.src.charCodeAt(h)===93)break}if(h===f+2||h+1>=p||l.src.charCodeAt(++h)!==58)return!1;if(a)return!0;h++,l.env.footnotes||(l.env.footnotes={}),l.env.footnotes.refs||(l.env.footnotes.refs={});const d=l.src.slice(f+2,h-2);l.env.footnotes.refs[`:${d}`]=-1;const g=new l.Token("footnote_reference_open","",1);g.meta={label:d},g.level=l.level++,l.tokens.push(g);const m=l.bMarks[c],x=l.tShift[c],_=l.sCount[c],y=l.parentType,b=h,v=l.sCount[c]+h-(l.bMarks[c]+l.tShift[c]);let S=v;for(;h<p;){const A=l.src.charCodeAt(h);if(n(A))A===9?S+=4-S%4:S++;else break;h++}l.tShift[c]=h-b,l.sCount[c]=S-v,l.bMarks[c]=b,l.blkIndent+=4,l.parentType="footnote",l.sCount[c]<l.blkIndent&&(l.sCount[c]+=l.blkIndent),l.md.block.tokenize(l,c,u,!0),l.parentType=y,l.blkIndent-=4,l.tShift[c]=x,l.sCount[c]=_,l.bMarks[c]=m;const w=new l.Token("footnote_reference_close","",-1);return w.level=--l.level,l.tokens.push(w),!0}function o(l,c){const u=l.posMax,a=l.pos;if(a+2>=u||l.src.charCodeAt(a)!==94||l.src.charCodeAt(a+1)!==91)return!1;const f=a+2,p=t(l,a+1);if(p<0)return!1;if(!c){l.env.footnotes||(l.env.footnotes={}),l.env.footnotes.list||(l.env.footnotes.list=[]);const h=l.env.footnotes.list.length,d=[];l.md.inline.parse(l.src.slice(f,p),l.md,l.env,d);const g=l.push("footnote_ref","",0);g.meta={id:h},l.env.footnotes.list[h]={content:l.src.slice(f,p),tokens:d}}return l.pos=p+1,l.posMax=u,!0}function i(l,c){const u=l.posMax,a=l.pos;if(a+3>u||!l.env.footnotes||!l.env.footnotes.refs||l.src.charCodeAt(a)!==91||l.src.charCodeAt(a+1)!==94)return!1;let f;for(f=a+2;f<u;f++){if(l.src.charCodeAt(f)===32||l.src.charCodeAt(f)===10)return!1;if(l.src.charCodeAt(f)===93)break}if(f===a+2||f>=u)return!1;f++;const p=l.src.slice(a+2,f-1);if(typeof l.env.footnotes.refs[`:${p}`]>"u")return!1;if(!c){l.env.footnotes.list||(l.env.footnotes.list=[]);let h;l.env.footnotes.refs[`:${p}`]<0?(h=l.env.footnotes.list.length,l.env.footnotes.list[h]={label:p,count:0},l.env.footnotes.refs[`:${p}`]=h):h=l.env.footnotes.refs[`:${p}`];const d=l.env.footnotes.list[h].count;l.env.footnotes.list[h].count++;const g=l.push("footnote_ref","",0);g.meta={id:h,subId:d,label:p}}return l.pos=f,l.posMax=u,!0}function s(l){let c,u,a,f=!1;const p={};if(!l.env.footnotes||(l.tokens=l.tokens.filter(function(d){return d.type==="footnote_reference_open"?(f=!0,u=[],a=d.meta.label,!1):d.type==="footnote_reference_close"?(f=!1,p[":"+a]=u,!1):(f&&u.push(d),!f)}),!l.env.footnotes.list))return;const h=l.env.footnotes.list;l.tokens.push(new l.Token("footnote_block_open","",1));for(let d=0,g=h.length;d<g;d++){const m=new l.Token("footnote_open","",1);if(m.meta={id:d,label:h[d].label},l.tokens.push(m),h[d].tokens){c=[];const y=new l.Token("paragraph_open","p",1);y.block=!0,c.push(y);const b=new l.Token("inline","",0);b.children=h[d].tokens,b.content=h[d].content,c.push(b);const v=new l.Token("paragraph_close","p",-1);v.block=!0,c.push(v)}else h[d].label&&(c=p[`:${h[d].label}`]);c&&(l.tokens=l.tokens.concat(c));let x;l.tokens[l.tokens.length-1].type==="paragraph_close"?x=l.tokens.pop():x=null;const _=h[d].count>0?h[d].count:1;for(let y=0;y<_;y++){const b=new l.Token("footnote_anchor","",0);b.meta={id:d,subId:y,label:h[d].label},l.tokens.push(b)}x&&l.tokens.push(x),l.tokens.push(new l.Token("footnote_close","",-1))}l.tokens.push(new l.Token("footnote_block_close","",-1))}e.block.ruler.before("reference","footnote_def",r,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","footnote_inline",o),e.inline.ruler.after("footnote_inline","footnote_ref",i),e.core.ruler.after("inline","footnote_tail",s)}function hw(e){function t(r,o){const i=r.pos,s=r.src.charCodeAt(i);if(o||s!==43)return!1;const l=r.scanDelims(r.pos,!0);let c=l.length;const u=String.fromCharCode(s);if(c<2)return!1;if(c%2){const a=r.push("text","",0);a.content=u,c--}for(let a=0;a<c;a+=2){const f=r.push("text","",0);f.content=u+u,!(!l.can_open&&!l.can_close)&&r.delimiters.push({marker:s,length:0,jump:a/2,token:r.tokens.length-1,end:-1,open:l.can_open,close:l.can_close})}return r.pos+=l.length,!0}function n(r,o){let i;const s=[],l=o.length;for(let c=0;c<l;c++){const u=o[c];if(u.marker!==43||u.end===-1)continue;const a=o[u.end];i=r.tokens[u.token],i.type="ins_open",i.tag="ins",i.nesting=1,i.markup="++",i.content="",i=r.tokens[a.token],i.type="ins_close",i.tag="ins",i.nesting=-1,i.markup="++",i.content="",r.tokens[a.token-1].type==="text"&&r.tokens[a.token-1].content==="+"&&s.push(a.token-1)}for(;s.length;){const c=s.pop();let u=c+1;for(;u<r.tokens.length&&r.tokens[u].type==="ins_close";)u++;u--,c!==u&&(i=r.tokens[u],r.tokens[u]=r.tokens[c],r.tokens[c]=i)}}e.inline.ruler.before("emphasis","ins",t),e.inline.ruler2.before("emphasis","ins",function(r){const o=r.tokens_meta,i=(r.tokens_meta||[]).length;n(r,r.delimiters);for(let s=0;s<i;s++)o[s]&&o[s].delimiters&&n(r,o[s].delimiters)})}function dw(e){function t(r,o){const i=r.pos,s=r.src.charCodeAt(i);if(o||s!==61)return!1;const l=r.scanDelims(r.pos,!0);let c=l.length;const u=String.fromCharCode(s);if(c<2)return!1;if(c%2){const a=r.push("text","",0);a.content=u,c--}for(let a=0;a<c;a+=2){const f=r.push("text","",0);f.content=u+u,!(!l.can_open&&!l.can_close)&&r.delimiters.push({marker:s,length:0,jump:a/2,token:r.tokens.length-1,end:-1,open:l.can_open,close:l.can_close})}return r.pos+=l.length,!0}function n(r,o){const i=[],s=o.length;for(let l=0;l<s;l++){const c=o[l];if(c.marker!==61||c.end===-1)continue;const u=o[c.end],a=r.tokens[c.token];a.type="mark_open",a.tag="mark",a.nesting=1,a.markup="==",a.content="";const f=r.tokens[u.token];f.type="mark_close",f.tag="mark",f.nesting=-1,f.markup="==",f.content="",r.tokens[u.token-1].type==="text"&&r.tokens[u.token-1].content==="="&&i.push(u.token-1)}for(;i.length;){const l=i.pop();let c=l+1;for(;c<r.tokens.length&&r.tokens[c].type==="mark_close";)c++;if(c--,l!==c){const u=r.tokens[c];r.tokens[c]=r.tokens[l],r.tokens[l]=u}}}e.inline.ruler.before("emphasis","mark",t),e.inline.ruler2.before("emphasis","mark",function(r){let o;const i=r.tokens_meta,s=(r.tokens_meta||[]).length;for(n(r,r.delimiters),o=0;o<s;o++)i[o]&&i[o].delimiters&&n(r,i[o].delimiters)})}const pw=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function gw(e,t){const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==126||t||r+2>=n)return!1;e.pos=r+1;let o=!1;for(;e.pos<n;){if(e.src.charCodeAt(e.pos)===126){o=!0;break}e.md.inline.skipToken(e)}if(!o||r+1===e.pos)return e.pos=r,!1;const i=e.src.slice(r+1,e.pos);if(i.match(/(^|[^\\])(\\\\)*\s/))return e.pos=r,!1;e.posMax=e.pos,e.pos=r+1;const s=e.push("sub_open","sub",1);s.markup="~";const l=e.push("text","",0);l.content=i.replace(pw,"$1");const c=e.push("sub_close","sub",-1);return c.markup="~",e.pos=e.posMax+1,e.posMax=n,!0}function mw(e){e.inline.ruler.after("emphasis","sub",gw)}const yw=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function _w(e,t){const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==94||t||r+2>=n)return!1;e.pos=r+1;let o=!1;for(;e.pos<n;){if(e.src.charCodeAt(e.pos)===94){o=!0;break}e.md.inline.skipToken(e)}if(!o||r+1===e.pos)return e.pos=r,!1;const i=e.src.slice(r+1,e.pos);if(i.match(/(^|[^\\])(\\\\)*\s/))return e.pos=r,!1;e.posMax=e.pos,e.pos=r+1;const s=e.push("sup_open","sup",1);s.markup="^";const l=e.push("text","",0);l.content=i.replace(yw,"$1");const c=e.push("sup_close","sup",-1);return c.markup="^",e.pos=e.posMax+1,e.posMax=n,!0}function vw(e){e.inline.ruler.after("emphasis","sup",_w)}var bw=y0({"../../node_modules/.pnpm/markdown-it-task-checkbox@1.0.6/node_modules/markdown-it-task-checkbox/index.js":((e,t)=>{t.exports=function(g,m){m=Object.assign({},{disabled:!0,divWrap:!1,divClass:"checkbox",idPrefix:"cbx_",ulClass:"task-list",liClass:"task-list-item"},m),g.core.ruler.after("inline","github-task-lists",function(x){for(var _=x.tokens,y=0,b=2;b<_.length;b++)o(_,b)&&(i(_[b],y,m,x.Token),y+=1,n(_[b-2],"class",m.liClass),n(_[r(_,b-2)],"class",m.ulClass))})};function n(g,m,x){var _=g.attrIndex(m),y=[m,x];_<0?g.attrPush(y):g.attrs[_]=y}function r(g,m){for(var x=g[m].level-1,_=m-1;_>=0;_--)if(g[_].level===x)return _;return-1}function o(g,m){return f(g[m])&&p(g[m-1])&&h(g[m-2])&&d(g[m])}function i(g,m,x,_){var y=x.idPrefix+m;g.children[0].content=g.children[0].content.slice(3),g.children.unshift(l(y,_)),g.children.push(c(_)),g.children.unshift(s(g,y,x,_)),x.divWrap&&(g.children.unshift(u(x,_)),g.children.push(a(_)))}function s(g,m,x,_){var y=new _("checkbox_input","input",0);return y.attrs=[["type","checkbox"],["id",m]],/^\[[xX]\][ \u00A0]/.test(g.content)===!0&&y.attrs.push(["checked","true"]),x.disabled===!0&&y.attrs.push(["disabled","true"]),y}function l(g,m){var x=new m("label_open","label",1);return x.attrs=[["for",g]],x}function c(g){return new g("label_close","label",-1)}function u(g,m){var x=new m("checkbox_open","div",0);return x.attrs=[["class",g.divClass]],x}function a(g){return new g("checkbox_close","div",-1)}function f(g){return g.type==="inline"}function p(g){return g.type==="paragraph_open"}function h(g){return g.type==="list_item_open"}function d(g){return/^\[[xX \u00A0]\][ \u00A0]/.test(g.content)}})}),Rf=v0(bw()),ww=Object.defineProperty,b0=e=>{let t={};for(var n in e)ww(t,n,{get:e[n],enumerable:!0});return t},w0=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,k0=/[\0-\x1F\x7F-\x9F]/,kw=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,$a=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,x0=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,C0=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,E0=_0({Any:()=>w0,Cc:()=>k0,Cf:()=>kw,P:()=>$a,S:()=>x0,Z:()=>C0});function xw(e){const t={};e=e||{},t.src_Any=w0.source,t.src_Cc=k0.source,t.src_Z=C0.source,t.src_P=$a.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+`|[><|]|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function Hc(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function al(e){return Object.prototype.toString.call(e)}function Cw(e){return al(e)==="[object String]"}function Ew(e){return al(e)==="[object Object]"}function Aw(e){return al(e)==="[object RegExp]"}function If(e){return al(e)==="[object Function]"}function Sw(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const A0={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Tw(e){return Object.keys(e||{}).reduce(function(t,n){return t||A0.hasOwnProperty(n)},!1)}const Mw={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Rw="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Iw="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Dw(e){e.__index__=-1,e.__text_cache__=""}function $w(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Df(){return function(e,t){t.normalize(e)}}function Ls(e){const t=e.re=xw(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(Rw),n.push(t.src_xn),t.src_tlds=n.join("|");function r(l){return l.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const o=[];e.__compiled__={};function i(l,c){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+c)}Object.keys(e.__schemas__).forEach(function(l){const c=e.__schemas__[l];if(c===null)return;const u={validate:null,link:null};if(e.__compiled__[l]=u,Ew(c)){Aw(c.validate)?u.validate=$w(c.validate):If(c.validate)?u.validate=c.validate:i(l,c),If(c.normalize)?u.normalize=c.normalize:c.normalize?i(l,c):u.normalize=Df();return}if(Cw(c)){o.push(l);return}i(l,c)}),o.forEach(function(l){e.__compiled__[e.__schemas__[l]]&&(e.__compiled__[l].validate=e.__compiled__[e.__schemas__[l]].validate,e.__compiled__[l].normalize=e.__compiled__[e.__schemas__[l]].normalize)}),e.__compiled__[""]={validate:null,normalize:Df()};const s=Object.keys(e.__compiled__).filter(function(l){return l.length>0&&e.__compiled__[l]}).map(Sw).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Dw(e)}function Pw(e,t){const n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function jc(e,t){const n=new Pw(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function tn(e,t){if(!(this instanceof tn))return new tn(e,t);t||Tw(e)&&(t=e,e={}),this.__opts__=Hc({},A0,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Hc({},Mw,e),this.__compiled__={},this.__tlds__=Iw,this.__tlds_replaced__=!1,this.re={},Ls(this)}tn.prototype.add=function(t,n){return this.__schemas__[t]=n,Ls(this),this};tn.prototype.set=function(t){return this.__opts__=Hc(this.__opts__,t),this};tn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,o,i,s,l,c,u,a;if(this.re.schema_test.test(t)){for(c=this.re.schema_search,c.lastIndex=0;(n=c.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],c.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(s=r.index+r[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(a=t.indexOf("@"),a>=0&&(o=t.match(this.re.email_fuzzy))!==null&&(s=o.index+o[1].length,l=o.index+o[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&l>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=l))),this.__index__>=0};tn.prototype.pretest=function(t){return this.re.pretest.test(t)};tn.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};tn.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(jc(this,r)),r=this.__last_index__);let o=r?t.slice(r):t;for(;this.test(o);)n.push(jc(this,r)),o=o.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};tn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,jc(this,0)):null};tn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,o,i){return r!==i[o-1]}).reverse(),Ls(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Ls(this),this)};tn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};tn.prototype.onCompile=function(){};var S0=tn,Lw=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Fw=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0))),ql;const Ow=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Nw=(ql=String.fromCodePoint)!==null&&ql!==void 0?ql:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Bw(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Ow.get(e))!==null&&t!==void 0?t:e}var it;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(it||(it={}));const Hw=32;var hr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(hr||(hr={}));function qc(e){return e>=it.ZERO&&e<=it.NINE}function jw(e){return e>=it.UPPER_A&&e<=it.UPPER_F||e>=it.LOWER_A&&e<=it.LOWER_F}function qw(e){return e>=it.UPPER_A&&e<=it.UPPER_Z||e>=it.LOWER_A&&e<=it.LOWER_Z||qc(e)}function zw(e){return e===it.EQUALS||qw(e)}var ot;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ot||(ot={}));var fr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(fr||(fr={}));var Ww=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=ot.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=fr.Strict}startEntity(e){this.decodeMode=e,this.state=ot.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case ot.EntityStart:return e.charCodeAt(t)===it.NUM?(this.state=ot.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=ot.NamedEntity,this.stateNamedEntity(e,t));case ot.NumericStart:return this.stateNumericStart(e,t);case ot.NumericDecimal:return this.stateNumericDecimal(e,t);case ot.NumericHex:return this.stateNumericHex(e,t);case ot.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|Hw)===it.LOWER_X?(this.state=ot.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=ot.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t;this.result=this.result*Math.pow(r,o)+parseInt(e.substr(t,o),r),this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(qc(r)||jw(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(qc(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===it.SEMI)this.consumed+=1;else if(this.decodeMode===fr.Strict)return 0;return this.emitCodePoint(Bw(this.result),this.consumed),this.errors&&(e!==it.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],o=(r&hr.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=Uw(n,r,this.treeIndex+Math.max(1,o),i),this.treeIndex<0)return this.result===0||this.decodeMode===fr.Attribute&&(o===0||zw(i))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&hr.VALUE_LENGTH)>>14,o!==0){if(i===it.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==fr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&hr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~hr.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case ot.NamedEntity:return this.result!==0&&(this.decodeMode!==fr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ot.NumericDecimal:return this.emitNumericEntity(0,2);case ot.NumericHex:return this.emitNumericEntity(0,3);case ot.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ot.EntityStart:return 0}}};function T0(e){let t="";const n=new Ww(e,r=>t+=Nw(r));return function(o,i){let s=0,l=0;for(;(l=o.indexOf("&",l))>=0;){t+=o.slice(s,l),n.startEntity(i);const u=n.write(o,l+1);if(u<0){s=l+n.end();break}s=l+u,l=u===0?s+1:s}const c=t+o.slice(s);return t="",c}}function Uw(e,t,n,r){const o=(t&hr.BRANCH_LENGTH)>>7,i=t&hr.JUMP_TABLE;if(o===0)return i!==0&&r===i?n:-1;if(i){const c=r-i;return c<0||c>=o?-1:e[n+c]-1}let s=n,l=s+o-1;for(;s<=l;){const c=s+l>>>1,u=e[c];if(u<r)s=c+1;else if(u>r)l=c-1;else return e[c+o]}return-1}const Vw=T0(Lw);T0(Fw);function Kw(e,t=fr.Legacy){return Vw(e,t)}const $f={};function Gw(e){let t=$f[e];if(t)return t;t=$f[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function ul(e,t){typeof t!="string"&&(t=ul.defaultChars);const n=Gw(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let o="";for(let i=0,s=r.length;i<s;i+=3){const l=parseInt(r.slice(i+1,i+3),16);if(l<128){o+=n[l];continue}if((l&224)===192&&i+3<s){const c=parseInt(r.slice(i+4,i+6),16);if((c&192)===128){const u=l<<6&1984|c&63;u<128?o+="��":o+=String.fromCharCode(u),i+=3;continue}}if((l&240)===224&&i+6<s){const c=parseInt(r.slice(i+4,i+6),16),u=parseInt(r.slice(i+7,i+9),16);if((c&192)===128&&(u&192)===128){const a=l<<12&61440|c<<6&4032|u&63;a<2048||a>=55296&&a<=57343?o+="���":o+=String.fromCharCode(a),i+=6;continue}}if((l&248)===240&&i+9<s){const c=parseInt(r.slice(i+4,i+6),16),u=parseInt(r.slice(i+7,i+9),16),a=parseInt(r.slice(i+10,i+12),16);if((c&192)===128&&(u&192)===128&&(a&192)===128){let f=l<<18&1835008|c<<12&258048|u<<6&4032|a&63;f<65536||f>1114111?o+="����":(f-=65536,o+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),i+=9;continue}}o+="�"}return o})}ul.defaultChars=";/?:@&=+$,#";ul.componentChars="";var zc=ul;const Pf={};function Zw(e){let t=Pf[e];if(t)return t;t=Pf[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function fl(e,t,n){typeof t!="string"&&(n=t,t=fl.defaultChars),typeof n>"u"&&(n=!0);const r=Zw(t);let o="";for(let i=0,s=e.length;i<s;i++){const l=e.charCodeAt(i);if(n&&l===37&&i+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){o+=e.slice(i,i+3),i+=2;continue}if(l<128){o+=r[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&i+1<s){const c=e.charCodeAt(i+1);if(c>=56320&&c<=57343){o+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(e[i])}return o}fl.defaultChars=";/?:@&=+$,-_.!~*'()#";fl.componentChars="-_.!~*'()";var M0=fl;function Pa(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Fs(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Jw=/^([a-z0-9.+-]+:)/i,Xw=/:[0-9]*$/,Qw=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Yw=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
12
+ `," "]),ek=["'"].concat(Yw),Lf=["%","/","?",";","#"].concat(ek),Ff=["/","?","#"],tk=255,Of=/^[+a-z0-9A-Z_-]{0,63}$/,nk=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Nf={javascript:!0,"javascript:":!0},Bf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function rk(e,t){if(e&&e instanceof Fs)return e;const n=new Fs;return n.parse(e,t),n}Fs.prototype.parse=function(e,t){let n,r,o,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const u=Qw.exec(i);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let s=Jw.exec(i);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,i=i.substr(s.length)),(t||s||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=i.substr(0,2)==="//",o&&!(s&&Nf[s])&&(i=i.substr(2),this.slashes=!0)),!Nf[s]&&(o||s&&!Bf[s])){let u=-1;for(let d=0;d<Ff.length;d++)r=i.indexOf(Ff[d]),r!==-1&&(u===-1||r<u)&&(u=r);let a,f;u===-1?f=i.lastIndexOf("@"):f=i.lastIndexOf("@",u),f!==-1&&(a=i.slice(0,f),i=i.slice(f+1),this.auth=a),u=-1;for(let d=0;d<Lf.length;d++)r=i.indexOf(Lf[d]),r!==-1&&(u===-1||r<u)&&(u=r);u===-1&&(u=i.length),i[u-1]===":"&&u--;const p=i.slice(0,u);i=i.slice(u),this.parseHost(p),this.hostname=this.hostname||"";const h=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!h){const d=this.hostname.split(/\./);for(let g=0,m=d.length;g<m;g++){const x=d[g];if(x&&!x.match(Of)){let _="";for(let y=0,b=x.length;y<b;y++)x.charCodeAt(y)>127?_+="x":_+=x[y];if(!_.match(Of)){const y=d.slice(0,g),b=d.slice(g+1),v=x.match(nk);v&&(y.push(v[1]),b.unshift(v[2])),b.length&&(i=b.join(".")+i),this.hostname=y.join(".");break}}}}this.hostname.length>tk&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=i.indexOf("#");l!==-1&&(this.hash=i.substr(l),i=i.slice(0,l));const c=i.indexOf("?");return c!==-1&&(this.search=i.substr(c),i=i.slice(0,c)),i&&(this.pathname=i),Bf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Fs.prototype.parseHost=function(e){let t=Xw.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var La=rk,R0=_0({decode:()=>zc,encode:()=>M0,format:()=>Pa,parse:()=>La}),ok=y0({"../../node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.js":((e,t)=>{const f=/^xn--/,p=/[^\0-\x7F]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=35,m=Math.floor,x=String.fromCharCode;function _(D){throw new RangeError(d[D])}function y(D,I){const O=[];let F=D.length;for(;F--;)O[F]=I(D[F]);return O}function b(D,I){const O=D.split("@");let F="";O.length>1&&(F=O[0]+"@",D=O[1]),D=D.replace(h,".");const q=y(D.split("."),I).join(".");return F+q}function v(D){const I=[];let O=0;const F=D.length;for(;O<F;){const q=D.charCodeAt(O++);if(q>=55296&&q<=56319&&O<F){const K=D.charCodeAt(O++);(K&64512)==56320?I.push(((q&1023)<<10)+(K&1023)+65536):(I.push(q),O--)}else I.push(q)}return I}const S=D=>String.fromCodePoint(...D),w=function(D){return D>=48&&D<58?26+(D-48):D>=65&&D<91?D-65:D>=97&&D<123?D-97:36},A=function(D,I){return D+22+75*(D<26)-((I!=0)<<5)},E=function(D,I,O){let F=0;for(D=O?m(D/700):D>>1,D+=m(D/I);D>g*26>>1;F+=36)D=m(D/g);return m(F+(g+1)*D/(D+38))},C=function(D){const I=[],O=D.length;let F=0,q=128,K=72,Q=D.lastIndexOf("-");Q<0&&(Q=0);for(let ce=0;ce<Q;++ce)D.charCodeAt(ce)>=128&&_("not-basic"),I.push(D.charCodeAt(ce));for(let ce=Q>0?Q+1:0;ce<O;){const Ie=F;for(let ze=1,ye=36;;ye+=36){ce>=O&&_("invalid-input");const H=w(D.charCodeAt(ce++));H>=36&&_("invalid-input"),H>m((2147483647-F)/ze)&&_("overflow"),F+=H*ze;const ne=ye<=K?1:ye>=K+26?26:ye-K;if(H<ne)break;const ee=36-ne;ze>m(2147483647/ee)&&_("overflow"),ze*=ee}const Ve=I.length+1;K=E(F-Ie,Ve,Ie==0),m(F/Ve)>2147483647-q&&_("overflow"),q+=m(F/Ve),F%=Ve,I.splice(F++,0,q)}return String.fromCodePoint(...I)},M=function(D){const I=[];D=v(D);const O=D.length;let F=128,q=0,K=72;for(const Ie of D)Ie<128&&I.push(x(Ie));const Q=I.length;let ce=Q;for(Q&&I.push("-");ce<O;){let Ie=2147483647;for(const ze of D)ze>=F&&ze<Ie&&(Ie=ze);const Ve=ce+1;Ie-F>m((2147483647-q)/Ve)&&_("overflow"),q+=(Ie-F)*Ve,F=Ie;for(const ze of D)if(ze<F&&++q>2147483647&&_("overflow"),ze===F){let ye=q;for(let H=36;;H+=36){const ne=H<=K?1:H>=K+26?26:H-K;if(ye<ne)break;const ee=ye-ne,ae=36-ne;I.push(x(A(ne+ee%ae,0))),ye=m(ee/ae)}I.push(x(A(ye,0))),K=E(q,Ve,ce===Q),q=0,++ce}++q,++F}return I.join("")},B={version:"2.3.1",ucs2:{decode:v,encode:S},decode:C,encode:M,toASCII:function(D){return b(D,function(I){return p.test(I)?"xn--"+M(I):I})},toUnicode:function(D){return b(D,function(I){return f.test(I)?C(I.slice(4).toLowerCase()):I})}};t.exports=B})}),I0=v0(ok()),ik=b0({arrayReplaceAt:()=>dk,assign:()=>uk,countLines:()=>An,escapeHtml:()=>xk,escapeRE:()=>Ek,fromCodePoint:()=>$0,has:()=>ak,isMdAsciiPunct:()=>_i,isPunctChar:()=>yi,isSpace:()=>fk,isString:()=>lk,isValidEntityCode:()=>D0,isWhiteSpace:()=>mi,lib:()=>Ak,mdurl:()=>R0,normalizeReference:()=>hk,ucmicro:()=>E0,unescapeAll:()=>_k,unescapeMd:()=>yk});function sk(e){return Object.prototype.toString.call(e)}function lk(e){return sk(e)==="[object String]"}const ck=Object.prototype.hasOwnProperty;function ak(e,t){return ck.call(e,t)}function uk(e,...t){return t.forEach(n=>{if(n){if(typeof n!="object")throw new TypeError(`${String(n)}must be object`);Object.keys(n).forEach(r=>{e[r]=n[r]})}}),e}function fk(e){return e===9||e===32}function mi(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function yi(e){return $a.test(e)||x0.test(e)}function _i(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function hk(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}function dk(e,t,n){return[...e.slice(0,t),...n,...e.slice(t+1)]}function D0(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function $0(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const P0=/\\([!"#$%&'()*+,\-\./:;<=>?@[\\\]^_`{|}~])/g,pk=new RegExp(`${P0.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),gk=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function mk(e,t){if(t.charCodeAt(0)===35&&gk.test(t)){const r=t[1].toLowerCase()==="x"?Number.parseInt(t.slice(2),16):Number.parseInt(t.slice(1),10);return D0(r)?$0(r):e}const n=Kw(e);return n!==e?n:e}function yk(e){return e.includes("\\")?e.replace(P0,"$1"):e}function _k(e){return!e.includes("\\")&&!e.includes("&")?e:e.replace(pk,(t,n,r)=>n||mk(t,r))}const vk=/[&<>"]/,bk=/[&<>"]/g,wk={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function kk(e){return wk[e]}function xk(e){return vk.test(e)?e.replace(bk,kk):e}const Ck=/[.?*+^$[\]\\(){}|-]/g;function Ek(e){return e.replace(Ck,"\\$&")}const Ak={mdurl:R0,ucmicro:E0};function An(e){if(e.length===0)return 0;let t=0,n=-1;for(;(n=e.indexOf(`
13
+ `,n+1))!==-1;)t++;return t}function Fa(e,t,n){let r,o=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<n;){if(r=e.charCodeAt(o),r===10||r===60)return i;if(r===62)return i.pos=o+1,i.str=e.slice(t+1,o),i.ok=!0,i;if(r===92&&o+1<n){o+=2;continue}o++}return i}let s=0;for(;o<n&&(r=e.charCodeAt(o),!(r===32||r<32||r===127));){if(r===92&&o+1<n){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(r===40&&(s++,s>32))return i;if(r===41){if(s===0)break;s--}o++}return t===o||s!==0||(i.str=e.slice(t,o),i.pos=o,i.ok=!0),i}var L0=Fa;function Oa(e,t,n){let r=1,o=!1,i,s;const l=e.posMax,c=e.pos;for(e.pos=t+1;e.pos<l;){if(i=e.src.charCodeAt(e.pos),i===93&&(r--,r===0)){o=!0;break}if(s=e.pos,e.md.inline.skipToken(e),i===91){if(s===e.pos-1)r++;else if(n)return e.pos=c,-1}}let u=-1;return o&&(u=e.pos),e.pos=c,u}var Os=Oa;function Na(e,t,n,r){let o,i=t;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)s.str=r.str,s.marker=r.marker;else{if(i>=n)return s;let l=e.charCodeAt(i);if(l!==34&&l!==39&&l!==40)return s;t++,i++,l===40&&(l=41),s.marker=l}for(;i<n;){if(o=e.charCodeAt(i),o===s.marker)return s.pos=i+1,s.str+=e.slice(t,i),s.ok=!0,s;if(o===40&&s.marker===41)return s;o===92&&i+1<n&&i++,i++}return s.can_continue=!0,s.str+=e.slice(t,i),s}var F0=Na;function hl(e,t){if(!e.attrs)return-1;for(let n=0;n<e.attrs.length;n++)if(e.attrs[n][0]===t)return n;return-1}function Ba(e,t){e.attrs||(e.attrs=[]),e.attrs.push(t)}function Sk(e,t,n){const r=hl(e,t),o=[t,n];r<0?Ba(e,o):e.attrs[r]=o}function Tk(e,t){const n=hl(e,t);return n>=0?e.attrs[n][1]:null}function Mk(e,t,n){const r=hl(e,t);r<0?Ba(e,[t,n]):e.attrs[r][1]=`${e.attrs[r][1]} ${n}`}var Rk=b0({attrGet:()=>Tk,attrIndex:()=>hl,attrJoin:()=>Mk,attrPush:()=>Ba,attrSet:()=>Sk,parseLinkDestination:()=>Fa,parseLinkLabel:()=>Oa,parseLinkTitle:()=>Na});const Ik=/^(?:vbscript|javascript|file|data):/,Dk=/^data:image\/(?:gif|png|jpeg|webp);/,O0=["http:","https:","mailto:"];function N0(e){const t=e.trim().toLowerCase();return Ik.test(t)?Dk.test(t):!0}function B0(e){const t=La(e,!0);if(t.hostname&&(!t.protocol||O0.includes(t.protocol)))try{t.hostname=I0.default.toASCII(t.hostname)}catch{}return M0(Pa(t))}function H0(e){const t=La(e,!0);if(t.hostname&&(!t.protocol||O0.includes(t.protocol)))try{t.hostname=I0.default.toUnicode(t.hostname)}catch{}return zc(Pa(t),`${zc.defaultChars}%`)}var zt=class{type;tag;attrs;map;nesting;level;children;content;markup;info;meta;block;hidden;constructor(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}attrIndex(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}};function $k(e){if(e.inlineMode){const t=new zt("inline","",0);t.content=e.src,t.map=[0,1],t.children=[],t.level=0,e.tokens.push(t)}else e.md&&e.md.block&&e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Pk(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const o=t[n];o.type==="inline"&&e.md&&(o.children||(o.children=[]),e.md.inline.parse(o.content,e.md,e.env,o.children))}}function Lk(e){return/^<a[>\s]/i.test(e)}function Fk(e){return/^<\/a\s*>/i.test(e)}function Ok(e){const t=e.tokens;if(e.md?.options?.linkify)for(let n=0;n<t.length;n++){const r=t[n];if(r.type!=="inline"||!e.md.linkify.pretest(r.content))continue;let o=r.children;o||(o=[],r.children=o);let i=0;for(let s=o.length-1;s>=0;s--){const l=o[s];if(l.type==="link_close"){for(s--;s>=0&&o[s].level!==l.level&&o[s].type!=="link_open";)s--;continue}if(l.type==="html_inline"&&(Lk(l.content)&&i>0&&i--,Fk(l.content)&&i++),i>0||l.type!=="text"||!e.md.linkify.test(l.content))continue;const c=l.content;let u=e.md.linkify.match(c)||[];if(u.length===0)continue;const a=[];let f=l.level,p=0;u.length>0&&u[0].index===0&&s>0&&o[s-1].type==="text_special"&&(u=u.slice(1));for(let h=0;h<u.length;h++){const d=u[h],g=e.md.normalizeLink(d.url);if(!e.md.validateLink(g))continue;let m=d.text;d.schema?d.schema==="mailto:"&&!/^mailto:/i.test(m)?m=e.md.normalizeLinkText(`mailto:${m}`).replace(/^mailto:/,""):m=e.md.normalizeLinkText(m):m=e.md.normalizeLinkText(`http://${m}`).replace(/^http:\/\//,"");const x=d.index;if(x>p){const v=new zt("text","",0);v.content=c.slice(p,x),v.level=f,a.push(v)}const _=new zt("link_open","a",1);_.attrs=[["href",g]],_.level=f++,_.markup="linkify",_.info="auto",a.push(_);const y=new zt("text","",0);y.content=m,y.level=f,a.push(y);const b=new zt("link_close","a",-1);b.level=--f,b.markup="linkify",b.info="auto",a.push(b),p=d.lastIndex}if(p!==0){if(p<c.length){const h=new zt("text","",0);h.content=c.slice(p),h.level=f,a.push(h)}o.splice(s,1,...a)}}}}const Nk=/\r\n?|\n/g,Bk=/\0/g;function Hk(e){if(!e||typeof e.src!="string")return;let t=e.src.replace(Nk,`
14
+ `);t=t.replace(Bk,"�"),e.src=t}const j0=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,jk=/\((?:c|tm|r)\)/i,qk=/\((c|tm|r)\)/gi,zk={c:"©",r:"®",tm:"™"};function Wk(e,t){return zk[t.toLowerCase()]}function Uk(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(qk,Wk)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Vk(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&j0.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Kk(e){if(e.md?.options?.typographer)for(let t=e.tokens.length-1;t>=0;t--){const n=e.tokens[t];if(n.type!=="inline")continue;const r=n.content||(Array.isArray(n.children)?n.children.map(o=>o.type==="text"?o.content:"").join(""):"");jk.test(r)&&Uk(n.children||[]),j0.test(r)&&Vk(n.children||[])}}var Gk=class{rules=[];cache=null;invalidateCache(){this.cache=null}push(e,t){const n=this.rules.findIndex(r=>r.name===e);n>=0&&this.rules.splice(n,1),this.rules.push({name:e,fn:t,enabled:!0}),this.invalidateCache()}at(e,t){const n=this.rules.findIndex(r=>r.name===e);if(n<0)throw new Error(`Parser rule not found: ${e}`);this.rules[n].fn=t,this.invalidateCache()}before(e,t,n){const r=this.rules.findIndex(i=>i.name===e);if(r<0)throw new Error(`Parser rule not found: ${e}`);const o=this.rules.findIndex(i=>i.name===t);o>=0&&this.rules.splice(o,1),this.rules.splice(r,0,{name:t,fn:n,enabled:!0}),this.invalidateCache()}after(e,t,n){const r=this.rules.findIndex(i=>i.name===e);if(r<0)throw new Error(`Parser rule not found: ${e}`);const o=this.rules.findIndex(i=>i.name===t);o>=0&&this.rules.splice(o,1),this.rules.splice(r+1,0,{name:t,fn:n,enabled:!0}),this.invalidateCache()}enable(e,t){const n=Array.isArray(e)?e:[e],r=[];for(const o of n){const i=this.rules.findIndex(s=>s.name===o);if(i<0){if(!t)throw new Error(`Rules manager: invalid rule name ${o}`);continue}this.rules[i].enabled||(this.rules[i].enabled=!0,r.push(o))}return r.length&&this.invalidateCache(),r}disable(e,t){const n=Array.isArray(e)?e:[e],r=[];for(const o of n){const i=this.rules.findIndex(s=>s.name===o);if(i<0){if(!t)throw new Error(`Rules manager: invalid rule name ${o}`);continue}this.rules[i].enabled&&(this.rules[i].enabled=!1,r.push(o))}return r.length&&this.invalidateCache(),r}enableOnly(e){const t=new Set(e);let n=!1;for(const r of this.rules){const o=t.has(r.name);r.enabled!==o&&(r.enabled=o,n=!0)}n&&this.invalidateCache()}compileCache(){this.cache=this.rules.filter(e=>e.enabled).map(e=>e.fn)}getRules(e=""){return this.cache||this.compileCache(),this.cache}};const Zk=/['"]/,Hf=/['"]/g,jf="’";function Vi(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Jk(e,t){let n;const r=[],o=t.md&&t.md.options&&t.md.options.quotes||"“”‘’";for(let i=0;i<e.length;i++){const s=e[i],l=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=l);n--);if(r.length=n+1,s.type!=="text")continue;let c=s.content,u=0,a=c.length;e:for(;u<a;){Hf.lastIndex=u;const f=Hf.exec(c);if(!f)break;let p=!0,h=!0;u=f.index+1;const d=f[0]==="'";let g=32;if(f.index-1>=0)g=c.charCodeAt(f.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(u<a)m=c.charCodeAt(u);else for(n=i+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){m=e[n].content.charCodeAt(0);break}const x=_i(g)||yi(String.fromCharCode(g)),_=_i(m)||yi(String.fromCharCode(m)),y=mi(g),b=mi(m);if(b?p=!1:_&&(y||x||(p=!1)),y?h=!1:x&&(b||_||(h=!1)),m===34&&f[0]==='"'&&g>=48&&g<=57&&(h=p=!1),p&&h&&(p=x,h=_),!p&&!h){d&&(s.content=Vi(s.content,f.index,jf));continue}if(h)for(n=r.length-1;n>=0;n--){let v=r[n];if(r[n].level<l)break;if(v.single===d&&r[n].level===l){v=r[n];let S,w;d?(S=o[2]||"‘",w=o[3]||"’"):(S=o[0]||"“",w=o[1]||"”"),s.content=Vi(s.content,f.index,w),e[v.token].content=Vi(e[v.token].content,v.pos,S),u+=w.length-1,v.token===i&&(u+=S.length-1),c=s.content,a=c.length,r.length=n;continue e}}p?r.push({token:i,pos:f.index,single:d,level:l}):h&&d&&(s.content=Vi(s.content,f.index,jf))}}}function Xk(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--){const n=e.tokens[t];if(n.type!=="inline")continue;const r=typeof n.content=="string"?n.content:(n.children||[]).map(o=>o.content||"").join("");!Zk.test(r)||!n.children||Jk(n.children,e)}}function Qk(e){(e.tokens||[]).forEach(t=>{if(t.type==="inline"&&Array.isArray(t.children)){const n=[];for(let r=0;r<t.children.length;r++){const o=t.children[r];if(o.type==="text"){let i=o.content||"";for(;r+1<t.children.length&&t.children[r+1].type==="text";)r++,i+=t.children[r].content||"";const s=new zt("text","",0);s.content=i,s.level=o.level,n.push(s)}else n.push(o)}t.children=n}})}function Yk(e){switch(e){case 9:case 32:return!0}return!1}function e5(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const s=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(o)!==62)return!1;if(r)return!0;const l=[],c=[],u=[],a=[],f=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let h=!1,d;for(d=t;d<n;d++){const y=e.sCount[d]<e.blkIndent;if(o=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],o>=i)break;if(e.src.charCodeAt(o++)===62&&!y){let v=e.sCount[d]+1,S,w;e.src.charCodeAt(o)===32?(o++,v++,w=!1,S=!0):e.src.charCodeAt(o)===9?(S=!0,(e.bsCount[d]+v)%4===3?(o++,v++,w=!1):w=!0):S=!1;let A=v;for(l.push(e.bMarks[d]),e.bMarks[d]=o;o<i;){const E=e.src.charCodeAt(o);if(Yk(E))E===9?A+=4-(A+e.bsCount[d]+(w?1:0))%4:A++;else break;o++}h=o>=i,c.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(S?1:0),u.push(e.sCount[d]),e.sCount[d]=A-v,a.push(e.tShift[d]),e.tShift[d]=o-e.bMarks[d];continue}if(h)break;let b=!1;for(let v=0,S=f.length;v<S;v++)if(f[v](e,d,n,!0)){b=!0;break}if(b){e.lineMax=d,e.blkIndent!==0&&(l.push(e.bMarks[d]),c.push(e.bsCount[d]),a.push(e.tShift[d]),u.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}l.push(e.bMarks[d]),c.push(e.bsCount[d]),a.push(e.tShift[d]),u.push(e.sCount[d]),e.sCount[d]=-1}const g=e.blkIndent;e.blkIndent=0;const m=e.push("blockquote_open","blockquote",1);m.markup=">";const x=[t,0];m.map=x,e.md.block.tokenize(e,t,d);const _=e.push("blockquote_close","blockquote",-1);_.markup=">",e.lineMax=s,e.parentType=p,x[1]=e.line;for(let y=0;y<a.length;y++)e.bMarks[y+t]=l[y],e.tShift[y+t]=a[y],e.sCount[y+t]=u[y],e.bsCount[y+t]=c[y];return e.blkIndent=g,!0}function t5(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,o=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,o=r;continue}break}e.line=o;const i=e.push("code_block","code",0);return i.content=`${e.getLines(t,o,4+e.blkIndent,!1)}
15
+ `,i.map=[t,e.line],!0}function n5(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||o+3>i)return!1;const s=e.src.charCodeAt(o);if(s!==126&&s!==96)return!1;let l=o;o=e.skipChars(o,s);let c=o-l;if(c<3)return!1;const u=e.src.slice(l,o),a=e.src.slice(o,i);if(s===96&&a.includes(String.fromCharCode(s)))return!1;if(r)return!0;let f=t,p=!1;for(;f++,!(f>=n||(o=l=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],o<i&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(o)===s&&!(e.sCount[f]-e.blkIndent>=4)&&(o=e.skipChars(o,s),!(o-l<c)&&(o=e.skipSpaces(o),!(o<i)))){p=!0;break}c=e.sCount[t],e.line=f+(p?1:0);const h=e.push("fence","code",0);return h.info=a,h.content=e.getLines(t+1,f,c,!0),h.markup=u,h.map=[t,e.line],!0}function qf(e){switch(e){case 9:case 32:return!0}return!1}function r5(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.src.charCodeAt(o);if(s!==35||o>=i)return!1;let l=1;for(s=e.src.charCodeAt(++o);s===35&&o<i&&l<=6;)l++,s=e.src.charCodeAt(++o);if(l>6||o<i&&!qf(s))return!1;if(r)return!0;i=e.skipSpacesBack(i,o);const c=e.skipCharsBack(i,35,o);c>o&&qf(e.src.charCodeAt(c-1))&&(i=c),e.line=t+1;const u=e.push("heading_open",`h${String(l)}`,1);u.markup="########".slice(0,l),u.map=[t,e.line];const a=e.push("inline","",0);a.content=e.src.slice(o,i).trim(),a.map=[t,e.line],a.children=[];const f=e.push("heading_close",`h${String(l)}`,-1);return f.markup="########".slice(0,l),!0}function o5(e){switch(e){case 9:case 32:return!0}return!1}function i5(e,t,n,r){const o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(i++);if(s!==42&&s!==45&&s!==95)return!1;let l=1;for(;i<o;){const u=e.src.charCodeAt(i++);if(u!==s&&!o5(u))return!1;u===s&&l++}if(l<3)return!1;if(r)return!0;e.line=t+1;const c=e.push("hr","hr",0);return c.map=[t,e.line],c.markup=new Array(l+1).join(String.fromCharCode(s)),!0}var s5=["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"];const l5=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,c5="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",a5=new RegExp(`^(?:${l5}|${c5})`),ro=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${s5.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${a5.source}\\s*$`),/^$/,!1]];function u5(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(o)!==60)return!1;let s=e.src.slice(o,i),l=0;for(;l<ro.length&&!ro[l][0].test(s);l++);if(l===ro.length)return!1;if(r)return ro[l][2];let c=t+1;if(!ro[l][1].test(s)){for(;c<n&&!(e.sCount[c]<e.blkIndent);c++)if(o=e.bMarks[c]+e.tShift[c],i=e.eMarks[c],s=e.src.slice(o,i),ro[l][1].test(s)){s.length!==0&&c++;break}}e.line=c;const u=e.push("html_block","",0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function f5(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const o=e.parentType;e.parentType="paragraph";let i=0,s,l=t+1;for(;l<n&&!e.isEmpty(l);l++){if(e.sCount[l]-e.blkIndent>3)continue;if(e.sCount[l]>=e.blkIndent){let h=e.bMarks[l]+e.tShift[l];const d=e.eMarks[l];if(h<d&&(s=e.src.charCodeAt(h),(s===45||s===61)&&(h=e.skipChars(h,s),h=e.skipSpaces(h),h>=d))){i=s===61?1:2;break}}if(e.sCount[l]<0)continue;let p=!1;for(let h=0,d=r.length;h<d;h++)if(r[h](e,l,n,!0)){p=!0;break}if(p)break}if(!i)return!1;const c=e.getLines(t,l,e.blkIndent,!1).trim();e.line=l+1;const u=e.push("heading_open",`h${String(i)}`,1);u.markup=String.fromCharCode(s),u.map=[t,e.line];const a=e.push("inline","",0);a.content=c,a.map=[t,e.line-1],a.children=[];const f=e.push("heading_close",`h${String(i)}`,-1);return f.markup=String.fromCharCode(s),e.parentType=o,!0}function q0(e){switch(e){case 9:case 32:return!0}return!1}function zf(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(r++);return o!==42&&o!==45&&o!==43||r<n&&!q0(e.src.charCodeAt(r))?-1:r}function Wf(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let o=n;if(o+1>=r)return-1;let i=e.src.charCodeAt(o++);if(i<48||i>57)return-1;for(;;){if(o>=r)return-1;if(i=e.src.charCodeAt(o++),i>=48&&i<=57){if(o-n>=10)return-1;continue}if(i===41||i===46)break;return-1}return o<r&&(i=e.src.charCodeAt(o),!q0(i))?-1:o}function h5(e,t){const n=e.level+2;for(let r=t+2,o=e.tokens.length-2;r<o;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function d5(e,t,n,r){let o,i,s=0,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u=!1;r&&e.parentType==="paragraph"&&e.sCount[l]>=e.blkIndent&&(u=!0);let a,f,p;if((p=Wf(e,l))>=0){if(a=!0,s=e.bMarks[l]+e.tShift[l],f=Number(e.src.slice(s,p-1)),u&&f!==1)return!1}else if((p=zf(e,l))>=0)a=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[l])return!1;if(r)return!0;const h=e.src.charCodeAt(p-1),d=e.tokens.length;if(a){const y=e.push("ordered_list_open","ol",1);f!==void 0&&f!==1&&(y.attrs=[["start",String(f)]])}else e.push("bullet_list_open","ul",1);const g=[l,0];e.tokens[e.tokens.length-1].map=g,e.tokens[e.tokens.length-1].markup=String.fromCharCode(h);let m=!1;const x=e.md.block.ruler.getRules("list"),_=e.parentType;for(e.parentType="list";l<n;){i=p,o=e.eMarks[l];const y=e.sCount[l]+p-(e.bMarks[l]+e.tShift[l]);let b=y;for(;i<o;){const D=e.src.charCodeAt(i);if(D===9)b+=4-(b+e.bsCount[l])%4;else if(D===32)b++;else break;i++}const v=i;let S;v>=o?S=1:S=b-y,S>4&&(S=1);const w=y+S,A=e.push("list_item_open","li",1);A.markup=String.fromCharCode(h);const E=[l,0];A.map=E,a&&(A.info=e.src.slice(s,p-1));const C=e.tight,M=e.tShift[l],R=e.sCount[l],P=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=w,e.tight=!0,e.tShift[l]=v-e.bMarks[l],e.sCount[l]=b,v>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||m)&&(c=!1),m=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=P,e.tShift[l]=M,e.sCount[l]=R,e.tight=C,e.push("list_item_close","li",-1).markup=String.fromCharCode(h),l=e.line,E[1]=l,l>=n||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let B=!1;for(let D=0,I=x.length;D<I;D++)if(x[D](e,l,n,!0)){B=!0;break}if(B)break;if(a){if(p=Wf(e,l),p<0)break;s=e.bMarks[l]+e.tShift[l]}else if(p=zf(e,l),p<0)break;if(h!==e.src.charCodeAt(p-1))break}return a?e.push("ordered_list_close","ol",-1).markup=String.fromCharCode(h):e.push("bullet_list_close","ul",-1).markup=String.fromCharCode(h),g[1]=l,e.line=l,e.parentType=_,c&&h5(e,d),!0}function p5(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),o=e.parentType;let i=t+1;for(e.parentType="paragraph";i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let u=!1;for(let a=0,f=r.length;a<f;a++)if(r[a](e,i,n,!0)){u=!0;break}if(u)break}const s=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const l=e.push("paragraph_open","p",1);l.map=[t,e.line];const c=e.push("inline","",0);return c.content=s,c.map=[t,e.line],c.children=[],e.push("paragraph_close","p",-1),e.parentType=o,!0}function Ki(e){switch(e){case 9:case 32:return!0}return!1}function g5(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ".toLowerCase()&&(e=e.toLowerCase()),e.toLowerCase().toUpperCase().toLowerCase()}function m5(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],s=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(o)!==91)return!1;function l(_){const y=e.lineMax;if(_>=y||e.isEmpty(_))return null;let b=!1;if(e.sCount[_]-e.blkIndent>3&&(b=!0),e.sCount[_]<0&&(b=!0),!b){const w=e.md.block.ruler.getRules("reference"),A=e.parentType;e.parentType="reference";let E=!1;for(let C=0,M=w.length;C<M;C++)if(w[C](e,_,y,!0)){E=!0;break}if(e.parentType=A,E)return null}const v=e.bMarks[_]+e.tShift[_],S=e.eMarks[_];return e.src.slice(v,S+1)}let c=e.src.slice(o,i+1);i=c.length;let u=-1;for(o=1;o<i;o++){const _=c.charCodeAt(o);if(_===91)return!1;if(_===93){u=o;break}else if(_===10){const y=l(s);y!==null&&(c+=y,i=c.length,s++)}else if(_===92&&(o++,o<i&&c.charCodeAt(o)===10)){const y=l(s);y!==null&&(c+=y,i=c.length,s++)}}if(u<0||c.charCodeAt(u+1)!==58)return!1;for(o=u+2;o<i;o++){const _=c.charCodeAt(o);if(_===10){const y=l(s);y!==null&&(c+=y,i=c.length,s++)}else if(!Ki(_))break}const a=e.md.helpers.parseLinkDestination(c,o,i);if(!a.ok)return!1;const f=e.md.normalizeLink(a.str);if(!e.md.validateLink(f))return!1;o=a.pos;const p=o,h=s,d=o;for(;o<i;o++){const _=c.charCodeAt(o);if(_===10){const y=l(s);y!==null&&(c+=y,i=c.length,s++)}else if(!Ki(_))break}let g=e.md.helpers.parseLinkTitle(c,o,i);for(;g.can_continue;){const _=l(s);if(_===null)break;c+=_,o=i,i=c.length,s++,g=e.md.helpers.parseLinkTitle(c,o,i,g)}let m;for(o<i&&d!==o&&g.ok?(m=g.str,o=g.pos):(m="",o=p,s=h);o<i&&Ki(c.charCodeAt(o));)o++;if(o<i&&c.charCodeAt(o)!==10&&m)for(m="",o=p,s=h;o<i&&Ki(c.charCodeAt(o));)o++;if(o<i&&c.charCodeAt(o)!==10)return!1;const x=g5(c.slice(1,u));return x?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:m,href:f}),e.line=s),!0):!1}function zl(e){switch(e){case 9:case 32:return!0}return!1}const y5=65536;function Wl(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Uf(e){const t=[],n=e.length;let r=0,o=e.charCodeAt(r),i=!1,s=0,l="";for(;r<n;)o===124&&(i?(l+=e.substring(s,r-1),s=r):(t.push(l+e.substring(s,r)),l="",s=r+1)),i=o===92,r++,o=e.charCodeAt(r);return t.push(l+e.substring(s)),t}function _5(e,t,n,r){if(t+2>n)return!1;let o=t+1;if(e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)return!1;let i=e.bMarks[o]+e.tShift[o];if(i>=e.eMarks[o])return!1;const s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58||i>=e.eMarks[o])return!1;const l=e.src.charCodeAt(i++);if(l!==124&&l!==45&&l!==58&&!zl(l)||s===45&&zl(l))return!1;for(;i<e.eMarks[o];){const b=e.src.charCodeAt(i);if(b!==124&&b!==45&&b!==58&&!zl(b))return!1;i++}let c=Wl(e,t+1),u=c.split("|");const a=[];for(let b=0;b<u.length;b++){const v=u[b].trim();if(!v){if(b===0||b===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;v.charCodeAt(v.length-1)===58?a.push(v.charCodeAt(0)===58?"center":"right"):v.charCodeAt(0)===58?a.push("left"):a.push("")}if(c=Wl(e,t).trim(),!c.includes("|")||e.sCount[t]-e.blkIndent>=4)return!1;u=Uf(c),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop();const f=u.length;if(f===0||f!==a.length)return!1;if(r)return!0;const p=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),g=[t,0];d.map=g;const m=e.push("thead_open","thead",1);m.map=[t,t+1];const x=e.push("tr_open","tr",1);x.map=[t,t+1];for(let b=0;b<u.length;b++){const v=e.push("th_open","th",1);a[b]&&(v.attrs=[["style",`text-align:${a[b]}`]]);const S=e.push("inline","",0);S.content=u[b].trim(),S.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let _,y=0;for(o=t+2;o<n&&!(e.sCount[o]<e.blkIndent);o++){let b=!1;for(let S=0,w=h.length;S<w;S++)if(h[S](e,o,n,!0)){b=!0;break}if(b||(c=Wl(e,o).trim(),!c)||e.sCount[o]-e.blkIndent>=4||(u=Uf(c),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),y+=f-u.length,y>y5))break;if(o===t+2){const S=e.push("tbody_open","tbody",1);S.map=_=[t+2,0]}const v=e.push("tr_open","tr",1);v.map=[o,o+1];for(let S=0;S<f;S++){const w=e.push("td_open","td",1);a[S]&&(w.attrs=[["style",`text-align:${a[S]}`]]);const A=e.push("inline","",0);A.content=u[S]?u[S].trim():"",A.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return _&&(e.push("tbody_close","tbody",-1),_[1]=o),e.push("table_close","table",-1),g[1]=o,e.parentType=p,e.line=o,!0}var v5=class{_rules=[];cache=null;invalidateCache(){this.cache=null}push(e,t,n){this._rules.push({name:e,enabled:!0,fn:t,alt:n?.alt||[]}),this.invalidateCache()}before(e,t,n,r){const o=this._rules.findIndex(s=>s.name===e);if(o<0)throw new Error(`Parser rule not found: ${e}`);const i=this._rules.findIndex(s=>s.name===t);i>=0&&this._rules.splice(i,1),this._rules.splice(o,0,{name:t,enabled:!0,fn:n,alt:r?.alt||[]}),this.invalidateCache()}after(e,t,n,r){const o=this._rules.findIndex(s=>s.name===e);if(o<0)throw new Error(`Parser rule not found: ${e}`);const i=this._rules.findIndex(s=>s.name===t);i>=0&&this._rules.splice(i,1),this._rules.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:r?.alt||[]}),this.invalidateCache()}getRules(e){const t=e||"";return this.cache||this.compileCache(),this.cache.get(t)??[]}at(e,t,n){const r=this._rules.findIndex(o=>o.name===e);if(r===-1)throw new Error(`Parser rule not found: ${e}`);this._rules[r].fn=t,n?.alt&&(this._rules[r].alt=n.alt),this.invalidateCache()}enable(e,t){const n=Array.isArray(e)?e:[e],r=[];return n.forEach(o=>{const i=this._rules.findIndex(s=>s.name===o);if(i===-1){if(t)return;throw new Error(`Rules manager: invalid rule name ${o}`)}this._rules[i].enabled||(this._rules[i].enabled=!0,r.push(o))}),r.length&&this.invalidateCache(),r}disable(e,t){const n=Array.isArray(e)?e:[e],r=[];return n.forEach(o=>{const i=this._rules.findIndex(s=>s.name===o);if(i===-1){if(t)return;throw new Error(`Rules manager: invalid rule name ${o}`)}this._rules[i].enabled&&(this._rules[i].enabled=!1,r.push(o))}),r.length&&this.invalidateCache(),r}enableOnly(e){const t=new Set(e);let n=!1;for(const r of this._rules){const o=t.has(r.name);r.enabled!==o&&(r.enabled=o,n=!0)}n&&this.invalidateCache()}compileCache(){const e=new Set([""]);for(const n of this._rules)if(n.enabled)for(const r of n.alt)e.add(r);const t=new Map;for(const n of e){const r=[];for(const o of this._rules)o.enabled&&(n!==""&&!o.alt.includes(n)||r.push(o.fn));t.set(n,r)}this.cache=t}};function Gi(e){switch(e){case 9:case 32:return!0}return!1}var b5=class{src;md;env;tokens;Token;bMarks=[];eMarks=[];tShift=[];sCount=[];bsCount=[];blkIndent=0;line=0;lineMax=0;tight=!1;ddIndent=-1;listIndent=-1;parentType="root";level=0;constructor(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.Token=zt;const o=this.src;let i=0,s=0,l=0,c=!1;for(let u=0,a=o.length;u<a;u++){const f=o.charCodeAt(u);if(!c)if(Gi(f)){i++,f===9?s+=4-s%4:s++;continue}else c=!0;(f===10||u===a-1)&&(f!==10&&u++,this.bMarks.push(l),this.eMarks.push(u),this.tShift.push(i),this.sCount.push(s),this.bsCount.push(0),c=!1,i=0,s=0,l=u+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){const r=new zt(e,t,n);return r.level=this.level,r.content="",r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&Gi(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!Gi(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return"";const o=new Array(t-e);for(let i=0,s=e;s<t;s++,i++){let l=0;const c=this.bMarks[s];let u=c,a;for(s+1<t||r?a=this.eMarks[s]+1:a=this.eMarks[s];u<a&&l<n;){const f=this.src.charCodeAt(u);if(Gi(f))f===9?l+=4-(l+this.bsCount[s])%4:l++;else if(u-c<this.tShift[s])l++;else break;u++}l>n?o[i]=new Array(l-n+1).join(" ")+this.src.slice(u,a):o[i]=this.src.slice(u,a)}return o.join("")}};const Zi=[["table",_5,["paragraph","reference"]],["code",t5],["fence",n5,["paragraph","reference","blockquote","list"]],["blockquote",e5,["paragraph","reference","blockquote","list"]],["hr",i5,["paragraph","reference","blockquote","list"]],["list",d5,["paragraph","reference","blockquote"]],["reference",m5],["html_block",u5,["paragraph","reference","blockquote"]],["heading",r5,["paragraph","reference","blockquote"]],["lheading",f5],["paragraph",p5]];var w5=class{ruler;constructor(){this.ruler=new v5;for(let e=0;e<Zi.length;e++)this.ruler.push(Zi[e][0],Zi[e][1],{alt:(Zi[e][2]||[]).slice()})}tokenize(e,t,n){const r=this.ruler.getRules(""),o=r.length,i=e.md.options.maxNesting;let s=t,l=!1;for(;s<n&&(e.line=s=e.skipEmptyLines(s),!(s>=n||e.sCount[s]<e.blkIndent));){if(e.level>=i){e.line=n;break}const c=e.line;let u=!1;for(let a=0;a<o;a++)if(u=r[a](e,s,n,!1),u){if(c>=e.line)throw new Error("block rule didn't increment state.line");break}if(!u)throw new Error("none of the block rules matched");e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),s=e.line,s<n&&e.isEmpty(s)&&(l=!0,s++,e.line=s)}}parse(e,t,n,r){if(!e)return;const o=new b5(e,t,n,r);this.tokenize(o,o.line,o.lineMax)}};const k5=/^[\w.!#$%&'*+/=?^`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,x5=/^[a-z][a-z0-9+.-]{1,31}:[^<>\x00-\x20]*$/i;function C5(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,o=e.posMax;for(;;){if(++n>=o)return!1;const s=e.src.charCodeAt(n);if(s===60)return!1;if(s===62)break}const i=e.src.slice(r+1,n);if(x5.test(i)){const s=e.md.normalizeLink(i);if(!e.md.validateLink(s))return!1;if(!t){const l=e.push("link_open","a",1);l.attrs=[["href",s]],l.markup="autolink",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(i);const u=e.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return e.pos+=i.length+2,!0}if(k5.test(i)){const s=e.md.normalizeLink(`mailto:${i}`);if(!e.md.validateLink(s))return!1;if(!t){const l=e.push("link_open","a",1);l.attrs=[["href",s]],l.markup="autolink",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(i);const u=e.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return e.pos+=i.length+2,!0}return!1}var E5=C5;function A5(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const o=e.posMax;for(;n<o&&e.src.charCodeAt(n)===96;)n++;const i=e.src.slice(r,n),s=i.length;if(e.backticksScanned&&(e.backticks[s]||0)<=r)return t||(e.pending+=i),e.pos+=s,!0;let l=n,c;for(;(c=e.src.indexOf("`",l))!==-1;){for(l=c+1;l<o&&e.src.charCodeAt(l)===96;)l++;const u=l-c;if(u===s){if(!t){const a=e.push("code_inline","code",0);a.markup=i,a.content=e.src.slice(n,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[u]=c}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=s,!0}var S5=A5;function Vf(e){const t={},n=e.length;if(!n)return;let r=0,o=-2;const i=[];for(let s=0;s<n;s++){const l=e[s];if(i.push(0),(e[r].marker!==l.marker||o!==l.token-1)&&(r=s),o=l.token,l.length=l.length||0,!l.close)continue;Object.prototype.hasOwnProperty.call(t,l.marker)||(t[l.marker]=[-1,-1,-1,-1,-1,-1]);const c=t[l.marker][(l.open?3:0)+l.length%3];let u=r-i[r]-1,a=u;for(;u>c;u-=i[u]+1){const f=e[u];if(f.marker===l.marker&&f.open&&f.end<0){let p=!1;if((f.close||l.open)&&(f.length+l.length)%3===0&&(f.length%3!==0||l.length%3!==0)&&(p=!0),!p){const h=u>0&&!e[u-1].open?i[u-1]+1:0;i[s]=s-u+h,i[u]=h,l.open=!1,f.end=s,f.close=!1,a=-1,o=-2;break}}}a!==-1&&(t[l.marker][(l.open?3:0)+(l.length||0)%3]=a)}}function T5(e){const t=e.tokens_meta,n=e.tokens_meta.length;Vf(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Vf(t[r].delimiters)}var M5=T5;function R5(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const o=e.scanDelims(e.pos,r===42);if(!o||o.length===0)return!1;for(let i=0;i<o.length;i++){const s=e.push("text","",0);s.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return e.pos+=o.length,!0}function Kf(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const o=t[r];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const i=t[o.end],s=r>0&&t[r-1].end===o.end+1&&t[r-1].marker===o.marker&&t[r-1].token===o.token-1&&t[o.end+1].token===i.token+1,l=String.fromCharCode(o.marker),c=e.tokens[o.token];c.type=s?"strong_open":"em_open",c.tag=s?"strong":"em",c.nesting=1,c.markup=s?l+l:l,c.content="";const u=e.tokens[i.token];u.type=s?"strong_close":"em_close",u.tag=s?"strong":"em",u.nesting=-1,u.markup=s?l+l:l,u.content="",s&&(e.tokens[t[r-1].token].content="",e.tokens[t[o.end+1].token].content="",r--)}}function I5(e){const t=e.tokens_meta,n=e.tokens_meta.length;Kf(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Kf(e,t[r].delimiters)}const Gf={tokenize:R5,postProcess:I5},D5=/^&#(x[a-f0-9]{1,6}|\d{1,7});/i,$5=/^&([a-z][a-z0-9]{1,31});/i,Zf={amp:"&",lt:"<",gt:">",quot:'"',apos:"'",nbsp:" "};function P5(e){return!(e>=55296&&e<=57343||e>=1114111)}function Jf(e){return String.fromCodePoint(e)}function L5(e){const t=e.match(/^&([a-z][a-z0-9]{1,31});/i);return t&&Zf[t[1]]?Zf[t[1]]:e}function F5(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const o=e.src.slice(n).match(D5);if(o){if(!t){const i=o[1][0].toLowerCase()==="x"?Number.parseInt(o[1].slice(1),16):Number.parseInt(o[1],10),s=e.push("text_special","",0);s.content=P5(i)?Jf(i):Jf(65533),s.markup=o[0],s.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match($5);if(o){const i=L5(o[0]);if(i!==o[0]){if(!t){const s=e.push("text_special","",0);s.content=i,s.markup=o[0],s.info="entity"}return e.pos+=o[0].length,!0}}}return!1}var O5=F5;const N5=(()=>{const e=new Array(256).fill(0),t="\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-";for(let n=0;n<32;n++)e[t.charCodeAt(n)]=1;return e})();function B5(e,t){const{pos:n,posMax:r,src:o}=e;if(o.charCodeAt(n)!==92)return!1;const i=n+1;if(i>=r)return!1;const s=o.charCodeAt(i);if(s===10)return t||e.push("hardbreak","br",0),e.pos+=2,!0;let l=o[i],c=i;if(s>=55296&&s<=56319&&i+1<r){const a=o.charCodeAt(i+1);a>=56320&&a<=57343&&(l+=o[i+1],c++)}const u=o[n]+l;if(!t){const a=e.push("text_special","",0);s<256&&N5[s]?a.content=l:a.content=u,a.markup=u,a.info="escape"}return e.pos=c+1,!0}var H5=B5;function j5(e){let t,n,r=0;const o=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++){const s=o[t];s&&(s.nesting&&s.nesting<0&&r--,s.level=r,s.nesting&&s.nesting>0&&r++,s.type==="text"&&t+1<i&&o[t+1]?.type==="text"?o[t+1].content=s.content+o[t+1].content:(t!==n&&(o[n]=s),n++))}t!==n&&(o.length=n)}var q5=j5;const z5=/^<\/?[a-z][a-z0-9-]*(?:\s+[a-z_:][\w:.-]*(?:\s*=\s*(?:[^"'=<>`\s]+|'[^']*'|"[^"]*"))?)*\s*\/?>/i;function W5(e){return/^<a[>\s]/i.test(e)}function U5(e){return/^<\/a\s*>/i.test(e)}function V5(e){const t=e|32;return t>=97&&t<=122}function K5(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const o=e.src.charCodeAt(r+1);if(o!==33&&o!==63&&o!==47&&!V5(o))return!1;const i=e.src.slice(r).match(z5);if(!i)return!1;if(!t){const s=e.push("html_inline","",0);s.content=i[0],W5(s.content)&&e.linkLevel++,U5(s.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}var G5=K5;function Z5(e,t){let n,r,o,i,s,l,c,u,a="";const f=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const h=e.pos+2,d=Os(e,e.pos+1,!1);if(d<0)return!1;if(i=d+1,i<p&&e.src.charCodeAt(i)===40){for(i++;i<p&&(n=e.src.charCodeAt(i),!(n!==32&&n!==10));i++);if(i>=p)return!1;if(u=i,l=L0(e.src,i,e.posMax),l.ok){for(a=e.md.normalizeLink(l.str),e.md.validateLink(a)?i=l.pos:a="";i<p&&(n=e.src.charCodeAt(i),!(n!==32&&n!==10));i++);if(l=F0(e.src,i,e.posMax),i<p&&l.ok)for(c=l.str,i=l.pos;i<p&&(n=e.src.charCodeAt(i),!(n!==32&&n!==10));i++);else c=""}if(i>=p||e.src.charCodeAt(i)!==41)return e.pos=f,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<p&&e.src.charCodeAt(i)===91?(u=i+1,i=Os(e,i),i>=0?o=e.src.slice(u,i++):i=d+1):i=d+1,o||(o=e.src.slice(h,d)),s=e.env.references[o&&o.toLowerCase()],!s)return e.pos=f,!1;a=s.href,c=s.title}if(!t){r=e.src.slice(h,d);const g=[];e.md.inline.parse(r,e.md,e.env,g);const m=e.push("image","img",0);m.attrs=[["src",a],["alt",""]],m.children=g,m.content=r,c&&m.attrs.push(["title",c])}return e.pos=i,e.posMax=p,!0}var J5=Z5;function X5(e,t){let n,r,o,i,s="",l="",c=e.pos,u=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const a=e.pos,f=e.posMax,p=e.pos+1,h=Os(e,e.pos,!0);if(h<0)return!1;let d=h+1;if(d<f&&e.src.charCodeAt(d)===40){for(u=!1,d++;d<f&&(n=e.src.charCodeAt(d),!(n!==32&&n!==10));d++);if(d>=f)return!1;if(c=d,o=L0(e.src,d,e.posMax),o.ok){for(s=e.md.normalizeLink(o.str),e.md.validateLink(s)?d=o.pos:s="";d<f&&(n=e.src.charCodeAt(d),!(n!==32&&n!==10));d++);if(o=F0(e.src,d,e.posMax),d<f&&o.ok)for(l=o.str,d=o.pos;d<f&&(n=e.src.charCodeAt(d),!(n!==32&&n!==10));d++);}(d>=f||e.src.charCodeAt(d)!==41)&&(u=!0),d++}if(u){if(typeof e.env.references>"u")return!1;if(d<f&&e.src.charCodeAt(d)===91?(c=d+1,d=Os(e,d),d>=0?r=e.src.slice(c,d++):d=h+1):d=h+1,r||(r=e.src.slice(p,h)),i=e.env.references[r&&r.toLowerCase()],!i)return e.pos=a,!1;s=i.href,l=i.title}if(!t){e.pos=p,e.posMax=h;const g=e.push("link_open","a",1),m=[["href",s]];g.attrs=m,l&&m.push(["title",l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=f,!0}var Q5=X5;const Y5=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function ex(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const o=e.pending.match(Y5);if(!o)return!1;const i=o[1],s=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!s)return!1;let l=s.url;if(l.length<=i.length)return!1;l=l.replace(/\*+$/,"");const c=e.md.normalizeLink(l);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const u=e.push("link_open","a",1);u.attrs=[["href",c]],u.markup="linkify",u.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(l);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=l.length-i.length,!0}function tx(e,t){const{pos:n,src:r,posMax:o}=e;if(r.charCodeAt(n)!==10)return!1;const i=e.pending.length-1,s=o;if(!t)if(i>=0&&e.pending.charCodeAt(i)===32)if(i>=1&&e.pending.charCodeAt(i-1)===32){let l=i-1;for(;l>=1&&e.pending.charCodeAt(l-1)===32;)l--;e.pending=e.pending.slice(0,l),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(e.pos++;e.pos<s&&r.charCodeAt(e.pos)===32;)e.pos++;return!0}var nx=tx;function rx(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const o=e.scanDelims(e.pos,!0);if(!o)return!1;let i=o.length;const s=String.fromCharCode(r);if(i<2)return!1;let l;i%2&&(l=e.push("text","",0),l.content=s,i--);for(let c=0;c<i;c+=2)l=e.push("text","",0),l.content=s+s,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0}function Xf(e,t){let n;const r=[],o=t.length;for(let i=0;i<o;i++){const s=t[i];if(s.marker!==126||s.end===-1)continue;const l=t[s.end];n=e.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[l.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[l.token-1].type==="text"&&e.tokens[l.token-1].content==="~"&&r.push(l.token-1)}for(;r.length;){const i=r.pop();let s=i+1;for(;s<e.tokens.length&&e.tokens[s].type==="s_close";)s++;s--,i!==s&&(n=e.tokens[s],e.tokens[s]=e.tokens[i],e.tokens[i]=n)}}function ox(e){const t=e.delimiters;Xf(e,t);const n=e.tokens_meta;if(n)for(let r=0;r<n.length;r++)n[r]&&n[r].delimiters&&Xf(e,n[r].delimiters)}const Qf={tokenize:rx,postProcess:ox};function ix(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function sx(e,t){let n=e.pos;for(;n<e.posMax&&!ix(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}var lx=sx,Yf=class{rules=[];cache=null;invalidateCache(){this.cache=null}push(e,t,n){const r=this.rules.findIndex(o=>o.name===e);r>=0&&this.rules.splice(r,1),this.rules.push({name:e,fn:t,alt:n?.alt||[],enabled:!0}),this.invalidateCache()}at(e){return this.rules.find(t=>t.name===e)}before(e,t,n,r){const o=this.rules.findIndex(s=>s.name===e);if(o<0)throw new Error(`Parser rule not found: ${e}`);const i=this.rules.findIndex(s=>s.name===t);i>=0&&this.rules.splice(i,1),this.rules.splice(o,0,{name:t,fn:n,alt:r?.alt||[],enabled:!0}),this.invalidateCache()}after(e,t,n,r){const o=this.rules.findIndex(s=>s.name===e);if(o<0)throw new Error(`Parser rule not found: ${e}`);const i=this.rules.findIndex(s=>s.name===t);i>=0&&this.rules.splice(i,1),this.rules.splice(o+1,0,{name:t,fn:n,alt:r?.alt||[],enabled:!0}),this.invalidateCache()}enable(e,t){const n=Array.isArray(e)?e:[e],r=[];for(const o of n){const i=this.rules.findIndex(s=>s.name===o);if(i<0){if(!t)throw new Error(`Rules manager: invalid rule name ${o}`);continue}this.rules[i].enabled||(this.rules[i].enabled=!0,r.push(o))}return r.length&&this.invalidateCache(),r}disable(e,t){const n=Array.isArray(e)?e:[e],r=[];for(const o of n){const i=this.rules.findIndex(s=>s.name===o);if(i<0){if(!t)throw new Error(`Rules manager: invalid rule name ${o}`);continue}this.rules[i].enabled&&(this.rules[i].enabled=!1,r.push(o))}return r.length&&this.invalidateCache(),r}enableOnly(e){const t=new Set(e);let n=!1;for(const r of this.rules){const o=t.has(r.name);r.enabled!==o&&(r.enabled=o,n=!0)}n&&this.invalidateCache()}getRules(e){const t=e||"";return this.cache||this.compileCache(),this.cache.get(t)??[]}compileCache(){const e=new Set([""]);for(const n of this.rules)if(n.enabled&&n.alt)for(const r of n.alt)e.add(r);const t=new Map;for(const n of e){const r=[];for(const o of this.rules)o.enabled&&(n!==""&&!o.alt?.includes(n)||r.push(o.fn));t.set(n,r)}this.cache=t}},cx=class{src;md;env;outTokens;tokens;tokens_meta;pos;posMax;level;pending;pendingLevel;cache;delimiters;_prev_delimiters;backticks;backticksScanned;linkLevel;Token;constructor(e,t,n,r){this.src=e,this.md=t,this.env=n,this.outTokens=r,this.tokens=r,this.tokens_meta=new Array(r.length),this.pos=0,this.posMax=e.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0,this.Token=zt}pushPending(){const e=new zt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.tokens_meta.push(null),this.pending="",e}push(e,t,n){this.pending&&this.pushPending();const r=new zt(e,t,n);r.level=this.level;let o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()||[]),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r}scanDelims(e,t){const{src:n,posMax:r}=this,o=n.charCodeAt(e);let i=e;for(;i<r&&n.charCodeAt(i)===o;)i++;const s=i-e;if(s<1)return null;const l=e>0?n.charCodeAt(e-1):32,c=i<r?n.charCodeAt(i):32,u=_i(l)||yi(String.fromCharCode(l)),a=_i(c)||yi(String.fromCharCode(c)),f=mi(l),p=mi(c),h=!p&&(!a||f||u),d=!f&&(!u||p||a);return{can_open:h&&(t||!d||u),can_close:d&&(t||!h||a),length:s}}},ax=class{ruler;ruler2;constructor(){this.ruler=new Yf,this.ruler2=new Yf,this.ruler.push("text",lx),this.ruler.push("linkify",ex),this.ruler.push("newline",nx),this.ruler.push("escape",H5),this.ruler.push("backticks",S5),this.ruler.push("strikethrough",Qf.tokenize),this.ruler.push("emphasis",Gf.tokenize),this.ruler.push("link",Q5),this.ruler.push("image",J5),this.ruler.push("autolink",E5),this.ruler.push("html_inline",G5),this.ruler.push("entity",O5),this.ruler2.push("balance_pairs",M5),this.ruler2.push("strikethrough",Qf.postProcess),this.ruler2.push("emphasis",Gf.postProcess),this.ruler2.push("fragments_join",q5)}skipToken(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,o=e.posMax,i=e.md?.options?.maxNesting||100,s=e.cache,l=s[t];if(l!==void 0){e.pos=l;return}let c=!1;if(e.level<i){for(let u=0;u<r;u++)if(e.level++,c=n[u](e,!0),e.level--,c){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=o;c||e.pos++,s[t]=e.pos}tokenize(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,o=e.md?.options?.maxNesting||100;for(;e.pos<r;){const i=e.pos;let s=!1;if(e.level<o){for(let l=0;l<n;l++)if(s=t[l](e,!1),s){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){const o=new cx(e,t,n,r);this.tokenize(o);const i=this.ruler2.getRules(""),s=i.length;for(let l=0;l<s;l++)i[l](o,!1)}},ux=class{src;env;tokens;inlineMode;md;Token;constructor(e,t,n={}){this.src=e||"",this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t,this.Token=zt}};const eh=[["normalize",Hk],["block",$k],["inline",Pk],["linkify",Ok],["replacements",Kk],["smartquotes",Xk],["text_join",Qk]],fx={html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",maxNesting:100},hx={parseLinkLabel:Oa,parseLinkDestination:Fa,parseLinkTitle:Na};function dx(){return{...fx}}function px(){return{...hx}}var gx=class{fallbackParser;lastState=null;block;inline;ruler;linkifyInstance=null;cachedCoreRules=null;constructor(){this.block=new w5,this.inline=new ax,this.ruler=new Gk;for(let e=0;e<eh.length;e++){const[t,n]=eh[e];this.ruler.push(t,n)}this.fallbackParser={block:this.block,inline:this.inline,core:this,options:dx(),helpers:px(),normalizeLink:B0,normalizeLinkText:H0,validateLink:N0,linkify:null}}resolveParser(e){return e||(this.linkifyInstance||(this.linkifyInstance=new S0),this.fallbackParser.block!==this.block&&(this.fallbackParser.block=this.block),this.fallbackParser.inline!==this.inline&&(this.fallbackParser.inline=this.inline),this.fallbackParser.core=this,this.fallbackParser.linkify=this.linkifyInstance,this.fallbackParser)}createState(e,t={},n){return new ux(e,this.resolveParser(n),t)}process(e){this.cachedCoreRules||(this.cachedCoreRules=this.ruler.getRules(""));const t=this.cachedCoreRules;for(let n=0;n<t.length;n++)t[n](e)}parse(e,t={},n){if(typeof e!="string")throw new TypeError("Input data should be a String");const r=this.createState(e,t,n);return this.process(r),this.lastState=r,r}getTokens(){return this.lastState?this.lastState.tokens:[]}},mx={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1}},yx={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},_x={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"]},inline2:{rules:["balance_pairs","fragments_join"]}}};const vx=/[&<>"]/,bx=/[&<>"]/g,wx={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function kx(e){return wx[e]||e}function Ir(e){return vx.test(e)?e.replace(bx,kx):e}const xx=new RegExp(`${/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),Cx=/^#(?:x[a-f0-9]{1,8}|\d{1,8})$/i;function Ex(e){return!e.includes("\\")&&!e.includes("&")?e:e.replace(xx,(t,n,r)=>{if(n)return n;if(Cx.test(r)){const o=r[1].toLowerCase()==="x"?Number.parseInt(r.slice(2),16):Number.parseInt(r.slice(1),10);return o>=55296&&o<=57343||o>=128&&o<=159?"�":String.fromCodePoint(o)}return t})}function Ha(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function th(e,t){if(Ha(e))throw new TypeError(`Renderer rule "${t}" returned a Promise. Use renderAsync() instead.`);return e}const nh=e=>Ha(e)?e:Promise.resolve(e);function Ul(e,t,n,r,o,i){if(t.startsWith("<pre"))return`${t}
16
+ `;if(n){const s=typeof e.attrIndex=="function"?e.attrIndex("class"):-1,l=e.attrs?e.attrs.map(a=>a.slice()):[],c=`${o.langPrefix||"language-"}${r}`;s<0?l.push(["class",c]):l[s][1]+=` ${c}`;const u={...e,attrs:l};return`<pre><code${i.renderAttrs(u)}>${t}</code></pre>
17
+ `}return`<pre><code${i.renderAttrs(e)}>${t}</code></pre>
18
+ `}const Ax={langPrefix:"language-",xhtmlOut:!1,breaks:!1},Ji=Object.prototype.hasOwnProperty,Sx={code_inline(e,t,n,r,o){const i=e[t];return`<code${o.renderAttrs(i)}>${Ir(i.content)}</code>`},code_block(e,t,n,r,o){const i=e[t];return`<pre${o.renderAttrs(i)}><code>${Ir(i.content)}</code></pre>
19
+ `},fence(e,t,n,r,o){const i=e[t],s=i.info?Ex(i.info).trim():"";let l="",c="";if(s){const p=s.split(/(\s+)/g);l=p[0],c=p.slice(2).join("")}const u=n.highlight,a=()=>Ir(i.content);if(!u)return Ul(i,a(),s,l,n,o);const f=u(i.content,l,c);return Ha(f)?f.then(p=>Ul(i,p||a(),s,l,n,o)):Ul(i,f||a(),s,l,n,o)},image(e,t,n,r,o){const i=e[t],s=o.renderInlineAsText(i.children||[],n,r);if(typeof i.attrIndex=="function"){const l=i.attrIndex("alt");l>=0&&i.attrs?i.attrs[l][1]=s:i.attrs?i.attrs.push(["alt",s]):i.attrs=[["alt",s]]}return o.renderToken(e,t,n)},hardbreak(e,t,n){return n.xhtmlOut?`<br />
20
+ `:`<br>
21
+ `},softbreak(e,t,n){return n.breaks?n.xhtmlOut?`<br />
22
+ `:`<br>
23
+ `:`
24
+ `},text(e,t){return Ir(e[t].content)},text_special(e,t){return Ir(e[t].content)},html_block(e,t){return e[t].content},html_inline(e,t){return e[t].content}};var Tx=class{rules;baseOptions;normalizedBase;constructor(e={}){this.baseOptions={...e},this.normalizedBase=this.buildNormalizedBase(),this.rules={...Sx}}set(e){return this.baseOptions={...this.baseOptions,...e},this.normalizedBase=this.buildNormalizedBase(),this}render(e,t,n){if(!Array.isArray(e))throw new TypeError("render expects token array as first argument");const r=this.mergeOptions(t),o=n??{},i=this.rules,s=new Array(e.length);for(let l=0;l<e.length;l++){const c=e[l];if(c.type==="inline"){s[l]=this.renderInlineTokens(c.children||[],r,o);continue}const u=i[c.type];u?s[l]=th(u(e,l,r,o,this),c.type):s[l]=this.renderToken(e,l,r)}return s.join("")}async renderAsync(e,t,n){if(!Array.isArray(e))throw new TypeError("render expects token array as first argument");const r=this.mergeOptions(t),o=n??{},i=this.rules,s=new Array(e.length);for(let l=0;l<e.length;l++){const c=e[l];if(c.type==="inline"){s[l]=await this.renderInlineTokensAsync(c.children||[],r,o);continue}const u=i[c.type];u?s[l]=await nh(u(e,l,r,o,this)):s[l]=this.renderToken(e,l,r)}return s.join("")}renderInline(e,t,n){const r=this.mergeOptions(t),o=n??{};return this.renderInlineTokens(e,r,o)}async renderInlineAsync(e,t,n){const r=this.mergeOptions(t),o=n??{};return this.renderInlineTokensAsync(e,r,o)}renderInlineAsText(e,t,n){const r=this.mergeOptions(t),o=n??{};return this.renderInlineAsTextInternal(e,r,o)}renderAttrs(e){if(!e.attrs||e.attrs.length===0)return"";let t="";for(let n=0;n<e.attrs.length;n++){const r=e.attrs[n];t+=` ${Ir(r[0])}="${Ir(r[1])}"`}return t}renderToken(e,t,n){const r=e[t];if(r.hidden)return"";let o="";r.block&&r.nesting!==-1&&t>0&&e[t-1].hidden&&(o+=`
25
+ `),o+=r.nesting===-1?`</${r.tag}`:`<${r.tag}`,o+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(o+=" /");let i=!1;if(r.block&&(i=!0,r.nesting===1&&t+1<e.length)){const s=e[t+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===r.tag)&&(i=!1)}return o+=i?`>
26
+ `:">",o}mergeOptions(e){const t=this.normalizedBase;if(!e)return t;let n=null;const r=()=>(n||(n={...t}),n);if(Ji.call(e,"highlight")&&e.highlight!==t.highlight&&(r().highlight=e.highlight),Ji.call(e,"langPrefix")){const o=e.langPrefix;o!==t.langPrefix&&(r().langPrefix=o)}if(Ji.call(e,"xhtmlOut")){const o=e.xhtmlOut;o!==t.xhtmlOut&&(r().xhtmlOut=o)}if(Ji.call(e,"breaks")){const o=e.breaks;o!==t.breaks&&(r().breaks=o)}return n||t}buildNormalizedBase(){return Object.freeze({...Ax,...this.baseOptions})}renderInlineTokens(e,t,n){if(!e||e.length===0)return"";const r=this.rules,o=new Array(e.length);for(let i=0;i<e.length;i++){const s=e[i],l=r[s.type];l?o[i]=th(l(e,i,t,n,this),s.type):o[i]=this.renderToken(e,i,t)}return o.join("")}async renderInlineTokensAsync(e,t,n){if(!e||e.length===0)return"";const r=this.rules,o=new Array(e.length);for(let i=0;i<e.length;i++){const s=r[e[i].type];s?o[i]=await nh(s(e,i,t,n,this)):o[i]=this.renderToken(e,i,t)}return o.join("")}renderInlineAsTextInternal(e,t,n){if(!e||e.length===0)return"";let r="";for(let o=0;o<e.length;o++){const i=e[o];switch(i.type){case"text":case"text_special":r+=i.content;break;case"image":r+=this.renderInlineAsTextInternal(i.children||[],t,n);break;case"html_inline":case"html_block":r+=i.content;break;case"softbreak":case"hardbreak":r+=`
27
+ `;break}}return r}},Mx=Tx;const Rx={maxChunkChars:1e4,maxChunkLines:200,fenceAware:!0,maxChunks:void 0};function fo(e,t,n={},r){const o={...Rx,...r||{}};let i=Ix(t,o);if(o.maxChunks&&i.length>o.maxChunks){const c=o.maxChunks-1,u=i.slice(0,c),a=i.slice(c).join(`
28
+ `);i=[...u,a]}let s=0;const l=[];try{n.__mdtsChunkInfo={count:i.length,maxChunkChars:o.maxChunkChars,maxChunkLines:o.maxChunkLines}}catch{}for(const c of i){const u=e.core.parse(c,n,e).tokens;s!==0&&u.length&&Dx(u,s),l.push(...u),s+=An(c)}return l}function Ix(e,t){const n=e.split(`
29
+ `),r=[];let o=[],i=0,s=0,l=0,c=0,u=null;function a(){o.length>0&&(r.push(o.join(`
30
+ `)),o=[],i=0,s=0)}for(let f=0;f<n.length;f++){const p=n[f],h=p.trim();if(t.fenceAware){let m=0;for(;m<p.length;){const _=p.charCodeAt(m);if(_===32||_===9)m++;else break}const x=p[m];if(x==="`"||x==="~"){let _=m;for(;_<p.length&&p[_]===x;)_++;const y=_-m;y>=3&&(u?u.marker===x&&y>=u.length&&(u=null):u={marker:x,length:y})}}o.push(p);const d=p.length+1;i+=d,s+=1,h.length===0?(l=0,c=0):(l+=1,c+=d);const g=h.length===0;if((i>=t.maxChunkChars||s>=t.maxChunkLines)&&!u)if(g)a();else{const m=Math.max(10,Math.floor(t.maxChunkLines*.5)),x=Math.max(t.maxChunkChars,8e3);(l>=m||c>=x)&&a()}}return a(),r}function Dx(e,t){if(t===0)return;const n=[...e];for(;n.length;){const r=n.pop();if(r.map&&(r.map[0]+=t,r.map[1]+=t),r.children)for(let o=r.children.length-1;o>=0;o--)n.push(r.children[o])}}const $x=[];function rh(){return{total:0,cacheHits:0,appendHits:0,fullParses:0,resets:0,chunkedParses:0,lastMode:"idle"}}var Px=class{core;cache=null;stats=rh();MIN_SIZE_FOR_OPTIMIZATION=1e3;DEFAULT_SKIP_CACHE_CHARS=6e5;DEFAULT_SKIP_CACHE_LINES=1e4;MAX_CHUNKS_FOR_FALLBACK=24;MAX_CHUNKED_DOC_CHARS=12e4;constructor(e){this.core=e}reset(){this.cache=null,this.stats.resets+=1,this.stats.lastMode="reset"}resetStats(){const{resets:e}=this.stats;this.stats=rh(),this.stats.resets=e}parse(e,t,n){const r=t,o=this.cache;if(!o||r&&r!==o.env){const x=r??{},_=!!n.options?.streamChunkedFallback,y=n.options?.streamChunkAdaptive!==!1,b=n.options?.streamChunkTargetChunks??8,v=n.options?.streamChunkSizeChars,S=n.options?.streamChunkSizeLines,w=n.options?.autoTuneChunks!==!1,A=n.options?.streamChunkFenceAware??!0,E=n.options?.streamSkipCacheAboveChars??this.DEFAULT_SKIP_CACHE_CHARS,C=n.options?.streamSkipCacheAboveLines??this.DEFAULT_SKIP_CACHE_LINES;let M,R=e.length>=E;if(!R&&C!==void 0&&(M=An(e),R=M>=C),R){const B=this.core.parse(e,x,n).tokens;return this.stats.total+=1,this.stats.fullParses+=1,this.stats.lastMode="full",B}else if(_&&e.length<this.MAX_CHUNKED_DOC_CHARS){const B=(q,K,Q)=>q<K?K:q>Q?Q:q;M===void 0&&(M=An(e));let D=y?B(Math.ceil(e.length/b),8e3,32e3):v??1e4,I=y?B(Math.ceil(M/b),150,350):S??200;w&&!v&&!S&&(e.length<=5e3?(D=16e3,I=250):e.length<=2e4?(D=16e3,I=200):e.length<=5e4?(D=16e3,I=250):e.length<=1e5?(D=1e4,I=200):(D=2e4,I=200));const O=e.length>0&&e.charCodeAt(e.length-1)===10,F=Math.ceil(e.length/D);if((e.length>=D*2||M>=I*2)&&O&&F<=this.MAX_CHUNKS_FOR_FALLBACK){const q=fo(n,e,x,{maxChunkChars:D,maxChunkLines:I,fenceAware:A});return this.cache={src:e,tokens:q,env:x,lineCount:M},this.stats.total+=1,this.stats.chunkedParses=(this.stats.chunkedParses||0)+1,this.stats.lastMode="chunked",q}}const P=this.core.parse(e,x,n).tokens;return this.cache={src:e,tokens:P,env:x,lineCount:M},this.stats.total+=1,this.stats.fullParses+=1,this.stats.lastMode="full",P}if(e===o.src)return this.stats.total+=1,this.stats.cacheHits+=1,this.stats.lastMode="cache",o.tokens;const i=n.options?.streamOptimizationMinSize??this.MIN_SIZE_FOR_OPTIMIZATION;if(o.src.length<i&&e.length<i*1.5&&!e.startsWith(o.src)){const x=r??o.env,_=this.core.parse(e,x,n).tokens;return this.cache={src:e,tokens:_,env:x,lineCount:An(e)},this.stats.total+=1,this.stats.fullParses+=1,this.stats.lastMode="full",_}const s=this.getAppendedSegment(o.src,e);if(s){let w=function(M){const R=M.length;let P=0;for(;P<=R;){let B=M.indexOf(`
31
+ `,P);B===-1&&(B=R);const D=B<R;let I=P,O=0;for(;I<B;){const F=M.charCodeAt(I);if(F===32){if(O++,I++,O>=4)return!0;continue}if(F===9){if(O+=4-O%4,I++,O>=4)return!0;continue}break}if(I<B){const F=M.charCodeAt(I);switch(F){case 35:{let q=I;for(;q<B&&M.charCodeAt(q)===35;)q++;const K=q-I;if(K>0&&K<=6){if(q<B){const Q=M.charCodeAt(q);if(Q===32||Q===9||Q===13)return!0}else if(q===B&&D)return!0}break}case 62:{const q=I+1;if(q<B){const K=M.charCodeAt(q);if(K===32||K===9||K===13)return!0}else if(q===B&&D)return!0;break}case 45:case 42:case 43:{const q=I+1;if(q<B){const K=M.charCodeAt(q);if(K===32||K===9||K===13)return!0}else if(q===B&&D)return!0;break}case 96:case 126:{let q=I;for(;q<B&&M.charCodeAt(q)===F;)q++;if(q-I>=3)return!0;break}default:if(F>=48&&F<=57){let q=I+1;for(;q<B;){const K=M.charCodeAt(q);if(K<48||K>57)break;q++}if(q<B&&M.charCodeAt(q)===46){const K=q+1;if(K<B){const Q=M.charCodeAt(K);if(Q===32||Q===9||Q===13)return!0}else if(K===B&&D)return!0}}break}}if(B===R)break;P=B+1}return!1};const x=o.lineCount??An(o.src);let _=3;s.length>5e3?_=8:s.length>1e3?_=6:s.length>200&&(_=4),_=Math.min(_,x);let y=null;const b=n.options?.streamContextParseStrategy??"chars",v=n.options?.streamContextParseMinChars??200,S=n.options?.streamContextParseMinLines??2;let A=null;const E=()=>(A===null&&(A=An(s)),A);let C=!1;switch(b){case"lines":C=E()>=S;break;case"constructs":if(s.length>=v){C=!0;break}if(w(s)){C=!0;break}C=E()>=S;break;default:C=s.length>=v}if(_>0&&C){const M=this.getTailLines(o.src,_)+s;try{const R=this.core.parse(M,o.env,n).tokens,P=R.findIndex(B=>B.map&&typeof B.map[1]=="number"&&B.map[1]>=_);if(P!==-1){const B=R.slice(P),D=x-_;D!==0&&this.shiftTokenLines(B,D),y={tokens:B}}}catch{y=null}}else y=null;if(!y){const M=this.core.parse(s,o.env,n),R=x;R>0&&this.shiftTokenLines(M.tokens,R),y=M}if(o.tokens.length>0&&y.tokens.length>0){const M=o.tokens[o.tokens.length-1],R=y.tokens[0];try{M.type==="inline"&&R.type==="inline"&&(R.children&&R.children.length>0&&(M.children||(M.children=[]),M.children.push(...R.children)),M.content=(M.content||"")+(R.content||""),y.tokens.shift())}catch{}}if(y.tokens.length>0){let B=function(I,O){return!I||!O||I.type!==O.type?!1:I.type==="inline"?(I.content||"")===(O.content||""):!0};const M=o.tokens,R=y.tokens,P=Math.min(M.length,R.length);let D=0;for(let I=P;I>0;I--){let O=!0;for(let F=0;F<I;F++){const q=M[M.length-I+F],K=R[F];if(!B(q,K)){O=!1;break}}if(O){D=I;break}}D>0&&R.splice(0,D),R.length>0&&o.tokens.push(...R)}return o.src=e,o.lineCount=x+(A??An(s)),this.stats.total+=1,this.stats.appendHits+=1,this.stats.lastMode="append",o.tokens}const l=r??o.env,c=!!n.options?.streamChunkedFallback,u=n.options?.streamChunkAdaptive!==!1,a=n.options?.streamChunkTargetChunks??8,f=n.options?.streamChunkSizeChars,p=n.options?.streamChunkSizeLines,h=n.options?.autoTuneChunks!==!1,d=n.options?.streamChunkFenceAware??!0;let g=o.lineCount;if(c&&e.length<this.MAX_CHUNKED_DOC_CHARS){g===void 0&&(g=An(e));const x=(S,w,A)=>S<w?w:S>A?A:S;let _=u?x(Math.ceil(e.length/a),8e3,32e3):f??1e4,y=u?x(Math.ceil(g/a),150,350):p??200;h&&!f&&!p&&(e.length<=5e3?(_=16e3,y=250):e.length<=2e4?(_=16e3,y=200):e.length<=5e4?(_=16e3,y=250):e.length<=1e5?(_=1e4,y=200):(_=2e4,y=200));const b=e.length>0&&e.charCodeAt(e.length-1)===10,v=Math.ceil(e.length/_);if((e.length>=_*2||g>=y*2)&&b&&v<=this.MAX_CHUNKS_FOR_FALLBACK){const S=fo(n,e,l,{maxChunkChars:_,maxChunkLines:y,fenceAware:d});return this.cache={src:e,tokens:S,env:l,lineCount:g},this.stats.total+=1,this.stats.chunkedParses=(this.stats.chunkedParses||0)+1,this.stats.lastMode="chunked",S}}const m=this.core.parse(e,l,n).tokens;return this.cache={src:e,tokens:m,env:l,lineCount:g},this.stats.total+=1,this.stats.fullParses+=1,this.stats.lastMode="full",m}getAppendedSegment(e,t){if(!t.startsWith(e)||!e.endsWith(`
32
+ `))return null;const n=t.slice(e.length);if(!n)return null;const r=n.length;if(n.charCodeAt(r-1)!==10)return null;let o=0,i=-1;for(let l=0;l<r&&!(n.charCodeAt(l)===10&&(i===-1&&(i=l),o++,o>=2));l++);if(o<2)return null;const s=(i===-1?n:n.slice(0,i)).trim();if(s.length===0)return null;if(/^[-=]+$/.test(s)){const l=e.slice(0,-1),c=l.lastIndexOf(`
33
+ `);if(l.slice(c+1).trim().length>0)return null}return this.endsInsideOpenFence(e)?null:n}getTailLines(e,t){if(t<=0)return"";let n=t;for(let r=e.length-1;r>=0;r--)if(e.charCodeAt(r)===10&&(n--,n===0))return e.slice(r+1);return e}endsInsideOpenFence(e){const n=e.length>4e3?e.length-4e3:0,r=e.slice(n),o=r.length;let i=null,s=0;for(;s<=o;){let l=r.indexOf(`
34
+ `,s);l===-1&&(l=o);let c=s;for(;c<l;){const u=r.charCodeAt(c);if(u===32||u===9)c++;else break}if(c<l){const u=r.charCodeAt(c);if(u===96||u===126){let a=c;for(;a<l&&r.charCodeAt(a)===u;)a++;const f=a-c;f>=3&&(i?i.marker===u&&f>=i.length&&(i=null):i={marker:u,length:f})}}if(l===o)break;s=l+1}return i!==null}peek(){return this.cache?.tokens??$x}getStats(){return{...this.stats}}shiftTokenLines(e,t){if(t===0)return;const n=[...e];for(;n.length>0;){const r=n.pop();if(r.map&&(r.map[0]+=t,r.map[1]+=t),r.children)for(let o=r.children.length-1;o>=0;o--)n.push(r.children[o])}}};const oh={default:yx,zero:_x,commonmark:mx};function Lx(e,t){let n={html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100,stream:!1,streamOptimizationMinSize:1e3,streamChunkedFallback:!1,streamChunkSizeChars:1e4,streamChunkSizeLines:200,streamChunkFenceAware:!0,streamChunkAdaptive:!0,streamChunkTargetChunks:8,streamSkipCacheAboveChars:6e5,streamSkipCacheAboveLines:1e4,fullChunkedFallback:!1,fullChunkThresholdChars:2e4,fullChunkThresholdLines:400,fullChunkSizeChars:1e4,fullChunkSizeLines:200,fullChunkFenceAware:!0,fullChunkAdaptive:!0,fullChunkTargetChunks:8,fullChunkMaxChunks:void 0,autoTuneChunks:!0},r="default",o;!t&&typeof e!="string"?(o=e,r="default"):typeof e=="string"&&(r=e,o=t);const i=oh[r];if(!i)throw new Error(`Wrong \`markdown-it\` preset "${r}", check name`);if(i?.options&&(n={...n,...i.options}),o&&(n={...n,...o}),typeof n.quotes=="string"){const d=n.quotes;d.length>=4?n.quotes=[d[0],d[1],d[2],d[3]]:n.quotes=["“","”","‘","’"]}const s=new gx;let l=null;const c=()=>(l||(l=new Mx(n)),l);let u=null;const a=()=>(u||(u=new Px(s)),u);let f=null;const p=()=>(f||(f=new S0),f),h={core:s,block:s.block,inline:s.inline,get linkify(){const d=p();return Object.defineProperty(this,"linkify",{value:d,writable:!0,configurable:!0}),d},get renderer(){const d=c();return Object.defineProperty(this,"renderer",{value:d,writable:!0,configurable:!0}),d},options:n,set(d){return this.options={...this.options,...d},l&&l.set(d),typeof d.stream=="boolean"&&(this.stream.enabled=d.stream,u&&(u.reset(),u.resetStats())),this},configure(d){const g=typeof d=="string"?oh[d]:d;if(!g)throw new Error("Wrong `markdown-it` preset, can't be empty");if(g.options&&this.set(g.options),g.components){const m=g.components;m.core?.rules&&this.core.ruler.enableOnly(m.core.rules),m.block?.rules&&this.block.ruler.enableOnly(m.block.rules),m.inline?.rules&&this.inline.ruler.enableOnly(m.inline.rules),m.inline2?.rules&&this.inline.ruler2.enableOnly(m.inline2.rules)}return this},enable(d,g){const m=Array.isArray(d)?d:[d],x=[this.core?.ruler,this.block?.ruler,this.inline?.ruler,this.inline?.ruler2];let _=0;for(const y of x){if(!y)continue;const b=y.enable(m,!0);_+=b.length}if(!g&&_<m.length)throw new Error("Rules manager: invalid rule name in list");return this},disable(d,g){const m=Array.isArray(d)?d:[d],x=[this.core?.ruler,this.block?.ruler,this.inline?.ruler,this.inline?.ruler2];let _=0;for(const y of x){if(!y)continue;const b=y.disable(m,!0);_+=b.length}if(!g&&_<m.length)throw new Error("Rules manager: invalid rule name in list");return this},use(d,...g){const m=typeof d=="function"?d:d&&typeof d.default=="function"?d.default:void 0;if(!m)throw new TypeError("MarkdownIt.use: plugin must be a function");const x=[this,...g],_=d;return m.apply(_,x),this},render(d,g={}){const m=this.parse(d,g);return c().render(m,this.options,g)},async renderAsync(d,g={}){const m=this.parse(d,g);return c().renderAsync(m,this.options,g)},renderInline(d,g={}){const m=this.parseInline(d,g);return c().render(m,this.options,g)},validateLink:N0,normalizeLink:B0,normalizeLinkText:H0,utils:ik,helpers:{...Rk},parse(d,g={}){if(typeof d!="string")throw new TypeError("Input data should be a String");if(!this.stream.enabled&&!this.options.fullChunkedFallback)return s.parse(d,g,this).tokens;if(!this.stream.enabled){const m=d.length;if(this.options.fullChunkedFallback){const x=An(d),_=this.options.autoTuneChunks!==!1,y=this.options.fullChunkSizeChars||this.options.fullChunkSizeLines;if(_&&!y){const b=this.options.fullChunkFenceAware??!0;if(m<=5e3)return fo(this,d,g,{maxChunkChars:32e3,maxChunkLines:150,fenceAware:b,maxChunks:8});if(m<=2e4)return fo(this,d,g,{maxChunkChars:24e3,maxChunkLines:200,fenceAware:b,maxChunks:12});if(!(m<=1e5)){if(m<=2e5)return fo(this,d,g,{maxChunkChars:2e4,maxChunkLines:150,fenceAware:b,maxChunks:12})}}if(m>=(this.options.fullChunkThresholdChars??2e4)||x>=(this.options.fullChunkThresholdLines??400)){const b=(R,P,B)=>R<P?P:R>B?B:R,v=this.options.fullChunkAdaptive!==!1,S=this.options.fullChunkTargetChunks??8,w=b(Math.ceil(m/S),8e3,32e3),A=b(Math.ceil(x/S),150,350),E=v?w:this.options.fullChunkSizeChars??1e4,C=v?A:this.options.fullChunkSizeLines??200,M=v?Math.max(6,Math.min(12,S)):this.options.fullChunkMaxChunks;return fo(this,d,g,{maxChunkChars:E,maxChunkLines:C,fenceAware:this.options.fullChunkFenceAware??!0,maxChunks:M})}}}return s.parse(d,g,this).tokens},parseInline(d,g={}){if(typeof d!="string")throw new TypeError("Input data should be a String");const m=s.createState(d,g,this);return m.inlineMode=!0,s.process(m),m.tokens}};if(h.stream={enabled:!!n.stream,parse(d,g){return h.stream.enabled?a().parse(d,g,h):s.parse(d,g??{},h).tokens},reset(){a().reset()},peek(){return u?u.peek():[]},stats(){return u?u.getStats():{total:0,cacheHits:0,appendHits:0,fullParses:0,resets:0,chunkedParses:0,lastMode:"idle"}},resetStats(){u&&u.resetStats()}},r==="zero"&&i?.components){const d=i.components;d.core?.rules&&h.core.ruler.enableOnly(d.core.rules),d.block?.rules&&h.block.ruler.enableOnly(d.block.rules),d.inline?.rules&&h.inline.ruler.enableOnly(d.inline.rules),d.inline2?.rules&&h.inline.ruler2.enableOnly(d.inline2.rules)}return h}var Fx=Lx;function Ox(e,t,n){function r(p){return p.trim().split(" ",2)[0]===t}function o(p,h,d,g,m){return p[h].nesting===1&&p[h].attrJoin("class",t),m.renderToken(p,h,d,g,m)}n=n||{};const i=3,s=n.marker||":",l=s.charCodeAt(0),c=s.length,u=n.validate||r,a=n.render||o;function f(p,h,d,g){let m,x=!1,_=p.bMarks[h]+p.tShift[h],y=p.eMarks[h];if(l!==p.src.charCodeAt(_))return!1;for(m=_+1;m<=y&&s[(m-_)%c]===p.src[m];m++);const b=Math.floor((m-_)/c);if(b<i)return!1;m-=(m-_)%c;const v=p.src.slice(_,m),S=p.src.slice(m,y);if(!u(S,v))return!1;if(g)return!0;let w=h;for(;w++,!(w>=d||(_=p.bMarks[w]+p.tShift[w],y=p.eMarks[w],_<y&&p.sCount[w]<p.blkIndent));)if(l===p.src.charCodeAt(_)&&!(p.sCount[w]-p.blkIndent>=4)){for(m=_+1;m<=y&&s[(m-_)%c]===p.src[m];m++);if(!(Math.floor((m-_)/c)<b)&&(m-=(m-_)%c,m=p.skipSpaces(m),!(m<y))){x=!0;break}}const A=p.parentType,E=p.lineMax;p.parentType="container",p.lineMax=w;const C=p.push("container_"+t+"_open","div",1);C.markup=v,C.block=!0,C.info=S,C.map=[h,w],p.md.block.tokenize(p,h+1,w);const M=p.push("container_"+t+"_close","div",-1);return M.markup=p.src.slice(_,m),M.block=!0,p.parentType=A,p.lineMax=E,p.line=w+(x?1:0),!0}e.block.ruler.before("fence","container_"+t,f,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules["container_"+t+"_open"]=a,e.renderer.rules["container_"+t+"_close"]=a}function Nx(e){const t=String(e??"").trim();if(!t.startsWith("{")||!t.endsWith("}"))return null;const n=t.slice(1,-1).trim();if(!n)return{};if(n.includes("{")||n.includes("[")||n.includes("]"))return null;const r=[];let o="",i=!1,s=!1;for(let c=0;c<n.length;c++){const u=n[c];if(u==="\\"){o+=u,c+1<n.length&&(o+=n[c+1],c++);continue}if(!s&&u==="'"){i=!i,o+=u;continue}if(!i&&u==='"'){s=!s,o+=u;continue}if(!i&&!s&&u===","){r.push(o.trim()),o="";continue}o+=u}o.trim()&&r.push(o.trim());const l={};for(const c of r){if(!c)continue;let u=!1,a=!1,f=-1;for(let m=0;m<c.length;m++){const x=c[m];if(x==="\\"){m++;continue}if(!a&&x==="'"){u=!u;continue}if(!u&&x==='"'){a=!a;continue}if(!u&&!a&&x===":"){f=m;break}}if(f===-1)return null;const p=c.slice(0,f).trim(),h=c.slice(f+1).trim();if(!p)return null;let d=p;if(d.startsWith('"')&&d.endsWith('"')||d.startsWith("'")&&d.endsWith("'"))try{d=JSON.parse(d.replace(/^'/,'"').replace(/'$/,'"'))}catch{return null}if(!/^[_$A-Z][\w$-]*$/i.test(d))return null;let g;if(!h)g="";else if(h.startsWith('"')&&h.endsWith('"')||h.startsWith("'")&&h.endsWith("'"))try{g=JSON.parse(h.replace(/^'/,'"').replace(/'$/,'"'))}catch{g=h}else/^-?\d+(?:\.\d+)?$/.test(h)?g=Number(h):h==="true"||h==="false"?g=h==="true":h==="null"?g=null:g=h;l[d]=g}return l}function Bx(e){["admonition","info","warning","error","tip","danger","note","caution"].forEach(t=>{e.use(Ox,t,{render(n,r){return n[r].nesting===1?`<div class="vmr-container vmr-container-${t}">`:`</div>
35
+ `}})}),e.block.ruler.before("fence","vmr_container_fallback",(t,n,r,o)=>{const i=t,s=i.bMarks[n]+i.tShift[n],l=i.eMarks[n],c=i.src.slice(s,l),u=c.match(/^:::\s*([^\s{]+)/);if(!u)return!1;const a=u[1];if(!a.trim())return!1;const f=c.slice(u[0].length).trim();let p,h;const d=f.indexOf("{"),g=d>=0?f.slice(d).trimStart():void 0;if(d===-1)p=f||void 0;else{if(p=f.slice(0,d).trim()||void 0,g?.startsWith("{")){let v=0,S=-1;for(let w=0;w<g.length;w++)if(g[w]==="{"?v++:g[w]==="}"&&v--,v===0){S=w+1;break}S>0&&(h=g.slice(0,S))}h||(p=f||void 0)}if(o)return!0;const m=!!i.env?.__markstreamFinal;let x=n+1,_=!1;for(;x<=r;){const v=i.bMarks[x]+i.tShift[x],S=i.eMarks[x];if(i.src.slice(v,S).trim()===":::"){_=!0;break}x++}_||(x=r);const y=i.push("vmr_container_open","div",1);if(y.attrSet("class",`vmr-container vmr-container-${a}`),y.meta={...y.meta,unclosed:!_&&!m},p&&y.attrSet("data-args",p),h)try{const v=JSON.parse(h);for(const[S,w]of Object.entries(v)){const A=w!=null&&typeof w=="object";y.attrSet(`data-${S}`,A?JSON.stringify(w):String(w))}}catch{const v=Nx(h);if(v)for(const[S,w]of Object.entries(v)){const A=w!=null&&typeof w=="object";y.attrSet(`data-${S}`,A?JSON.stringify(w):String(w))}else y.attrSet("data-attrs",h)}const b=[];for(let v=n+1;v<x;v++){const S=i.bMarks[v]+i.tShift[v],w=i.eMarks[v];b.push(i.src.slice(S,w))}if(b.some(v=>v.trim().length>0)){let v=b.join(`
36
+ `);v.endsWith(`
37
+ `)||(v+=`
38
+ `),v.endsWith(`
39
+
40
+ `)||(v+=`
41
+ `);const S=[];i.md.block.parse(v,i.md,i.env,S),i.tokens.push(...S)}return _&&i.push("vmr_container_close","div",-1),i.line=_?x+1:x,!0},{alt:["paragraph","reference","blockquote","list"]})}const z0=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Hx=new Set([...Array.from(z0),"a","abbr","b","bdi","bdo","button","cite","code","data","del","dfn","em","font","i","img","input","ins","kbd","label","mark","q","s","samp","small","span","strong","sub","sup","time","u","var","article","aside","blockquote","div","details","figcaption","figure","footer","header","h1","h2","h3","h4","h5","h6","li","main","nav","ol","p","pre","section","summary","table","tbody","td","th","thead","tr","ul","svg","g","path"]),jx=/<([A-Z][\w-]*)(?=[\s/>]|$)/gi,qx=/<\/\s*([A-Z][\w-]*)(?=[\s/>]|$)/gi,ih=/^<\s*(?:\/\s*)?([A-Z][\w-]*)/i;function vo(e){let t=!1,n=!1;for(let r=0;r<e.length;r++){const o=e[r];if(o==='"'&&!t){n=!n;continue}if(o==="'"&&!n){t=!t;continue}if(o===">"&&!t&&!n)return r}return-1}function sh(e){const t=e;return String(t.raw??t.content??t.markup??"")}function zx(e){const t=new Set(Hx);if(e&&Array.isArray(e))for(const n of e){const r=String(n??"").trim();if(!r)continue;const o=r.match(/^[<\s/]*([A-Z][\w-]*)/i);o&&t.add(o[1].toLowerCase())}return t}function lh(e,t){if(t.has(e))return!0;for(const n of t)if(n.startsWith(e))return!0;return!1}function Wx(e,t){let n=null;for(const i of e.matchAll(jx)){const s=i.index??-1;if(s<0)continue;const l=(i[1]??"").toLowerCase();lh(l,t)&&vo(e.slice(s))===-1&&(!n||s<n.index)&&(n={index:s,tag:l,closing:!1})}for(const i of e.matchAll(qx)){const s=i.index??-1;if(s<0)continue;const l=(i[1]??"").toLowerCase();lh(l,t)&&vo(e.slice(s))===-1&&(!n||s<n.index)&&(n={index:s,tag:l,closing:!0})}const r=/<\/\s*$/.exec(e);if(r&&typeof r.index=="number"){const i=r.index;!e.slice(i).includes(">")&&(!n||i<n.index)&&(n={index:i,tag:"",closing:!0})}const o=/<\s*$/.exec(e);if(o&&typeof o.index=="number"){const i=o.index,s=e.slice(i);!s.startsWith("</")&&!s.includes(">")&&(!n||i<n.index)&&(n={index:i,tag:"",closing:!1})}return n}function Ux(e,t){const n=e;return Object.assign(Object.create(Object.getPrototypeOf(n)),n,{type:"text",content:t,raw:t})}function Vx(e,t){if(!e.length)return{children:e};const n=[];let r=null,o=null;function i(c,u){c&&(u?n.push(Ux(u,c)):n.push({type:"text",content:c,raw:c}))}function s(c,u){let a=0;for(;a<c.length;){const f=c.indexOf("<",a);if(f===-1){i(c.slice(a),u);break}i(c.slice(a,f),u);const p=c.slice(f),h=p.match(ih);if(!h){i("<",u),a=f+1;continue}const d=vo(p);if(d===-1){i("<",u),a=f+1;continue}const g=p.slice(0,d+1),m=(h[1]??"").toLowerCase();t.has(m)?n.push({type:"html_inline",tag:"",content:g,raw:g}):i(g,u),a=f+g.length}}function l(c,u){if(!c)return;const a=Wx(c,t);if(!a){s(c,u);return}const f=c.slice(0,a.index);f&&s(f,u),r={tag:a.tag,buffer:c.slice(a.index),closing:a.closing},o=r.buffer}for(const c of e){if(r){r.buffer+=sh(c),o=r.buffer;const u=vo(r.buffer);if(u===-1)continue;const a=r.buffer.slice(0,u+1),f=r.buffer.slice(u+1);n.push({type:"html_inline",tag:"",content:a,raw:a}),r=null,o=null,f&&l(f);continue}if(c.type==="html_inline"){const u=sh(c),a=(u.match(ih)?.[1]??"").toLowerCase();if(a&&t.has(a)&&vo(u)===-1){r={tag:a,buffer:u,closing:/^<\s*\//.test(u)},o=r.buffer;continue}}if(c.type==="text"){const u=String(c.content??"");if(!u.includes("<")){n.push(c);continue}l(u,c);continue}n.push(c)}return{children:n,pendingBuffer:o??void 0}}function Kx(e,t={}){const n=zx(t.customHtmlTags),r=new Set(["a","span","strong","em","b","i","u"]),o=new Set;if(t.customHtmlTags?.length)for(const i of t.customHtmlTags){const s=String(i??"").trim();if(!s)continue;const l=s.match(/^[<\s/]*([A-Z][\w-]*)/i);if(!l)continue;const c=l[1].toLowerCase();o.add(c),r.add(c)}e.core.ruler.after("inline","fix_html_inline_streaming",i=>{const s=i.tokens??[];for(const l of s){const c=l;if(c.type!=="inline"||!Array.isArray(c.children))continue;const u=String(c.content??""),a=c.children.length?c.children:u.includes("<")?[{type:"text",content:u,raw:u}]:null;if(a)try{const f=Vx(a,n);if(c.children=f.children,f.pendingBuffer){const p=u.lastIndexOf(f.pendingBuffer);if(p!==-1){const h=u.slice(0,p);c.content=h,typeof c.raw=="string"&&(c.raw=h)}}}catch(f){console.error("[applyFixHtmlInlineTokens] failed to fix streaming html inline",f)}}}),e.core.ruler.push("fix_html_inline_tokens",i=>{const s=i.tokens??[],l=[];for(let c=0;c<s.length;c++){const u=s[c];if(l.length>0){const[a,f]=l[l.length-1];if(c!==f){if(u.type==="paragraph_open"||u.type==="paragraph_close"){s.splice(c,1),c--;continue}const p=String(u.content??u.raw??""),h=new RegExp(`<\\s*\\/\\s*${a}\\s*>`,"i"),d=p?h.exec(p):null,g=!!d;if(p){const m=s[f];if(d&&typeof d.index=="number"){const x=d.index+String(d[0]??"").length,_=p.slice(0,x),y=p.slice(x);m.content=`${String(m.content||"")}
42
+ ${_}`,m.loading=!1;const b=y.replace(/^\s+/,"");s.splice(c,1),l.pop(),b&&s.splice(c,0,b.startsWith("<")?{type:"html_block",content:b}:{type:"inline",content:b,children:[{type:"text",content:b,raw:b}]}),c--;continue}m.content=`${String(m.content||"")}
43
+ ${p}`,m.loading!==!1&&(m.loading=!g)}s.splice(c,1),c--,g&&l.pop();continue}}if(u.type==="html_block"){const a=String(u.content||""),f=(a.match(/<\s*(?:\/\s*)?([^\s>/]+)/)?.[1]??"").toLowerCase(),p=/^\s*<\s*\//.test(a);if(!f||!o.has(f))continue;if(p){if(l.length>0&&f&&l[l.length-1][0]===f){const[,h]=l[l.length-1],d=s[h];d.content=`${String(d.content||"")}
44
+ ${a}`,d.loading=!1,l.pop(),s.splice(c,1),c--}}else if(f){const h=new RegExp(`<\\s*\\/\\s*${f}\\s*>`,"i");!new RegExp(`^\\s*<\\s*${f}\\b[^>]*\\/\\s*>`,"i").test(a)&&!h.test(a)&&l.push([f,c])}continue}else if(l.length>0){if(u.type==="paragraph_open"||u.type==="paragraph_close"){s.splice(c,1),c--;continue}const a=u.content||"",f=new RegExp(`<\\s*\\/\\s*${l[l.length-1][0]}\\s*>`,"i").test(a);if(a){const[,p]=l[l.length-1],h=s[p];h.content=`${h.content||""}
45
+ ${a}`,h.loading!==!1&&(h.loading=!f)}f&&l.pop(),s.splice(c,1),c--}else continue}if(o.size>0){const c=new Map,u=new Map,a=h=>{let d=c.get(h);return d||(d=new RegExp(`<\\s*${h}\\b`,"i"),c.set(h,d)),d},f=h=>{let d=u.get(h);return d||(d=new RegExp(`<\\s*\\/\\s*${h}\\s*>`,"i"),u.set(h,d)),d},p=[];for(let h=0;h<s.length;h++){const d=s[h],g=String(d.content??"");if(p.length>0){const m=p[p.length-1],x=s[m.index];if(d.type==="html_block"&&f(m.tag).test(g)){x.content=`${String(x.content??"")}
46
+ ${g}`,Array.isArray(x.children)&&x.children.push({type:"html_inline",content:`</${m.tag}>`,raw:`</${m.tag}>`}),s.splice(h,1),h--,p.pop();continue}if(d.type!=="inline")continue;const _=Array.isArray(d.children)?d.children:[],y=_.findIndex(b=>{if(!b||b.type!=="html_inline")return!1;const v=String(b.content??"");return/^\s*<\s*\//.test(v)&&v.toLowerCase().includes(m.tag)});if(y!==-1){const b=_.slice(0,y+1),v=_.slice(y+1),S=b.map(w=>String(w?.content??w?.raw??"")).join("");if(x.content=`${String(x.content??"")}
47
+ ${S}`,Array.isArray(x.children)&&x.children.push(...b),v.length){const w=v.map(A=>String(A.content??A.raw??"")).join("");if(w.trim()){const A=w.replace(/^\s+/,"");A.startsWith("<")?s.splice(h,1,{type:"html_block",content:A}):s.splice(h,1,{type:"paragraph_open",tag:"p",nesting:1},{type:"inline",tag:"",nesting:0,content:w,children:[{type:"text",content:w,raw:w}]},{type:"paragraph_close",tag:"p",nesting:-1})}else s.splice(h,1),h--}else s.splice(h,1),h--;p.pop();continue}x.content=`${String(x.content??"")}
48
+ ${g}`,Array.isArray(x.children)&&x.children.push(..._),s.splice(h,1),h--;continue}if(d.type==="inline"){for(const m of o)if(a(m).test(g)&&!f(m).test(g)){p.push({tag:m,index:h});break}}}}{let c=0;for(let u=0;u<s.length;u++){const a=s[u];if(a.type==="paragraph_open"){c++;continue}a.type==="paragraph_close"&&(c>0?c--:(s.splice(u,1),u--))}}for(let c=0;c<s.length;c++){const u=s[c];if(u.type==="html_block"){const d=(u.content?.match(/<([^\s>/]+)/)?.[1]??"").toLowerCase();if(d.startsWith("!")||d.startsWith("?")){u.loading=!1;continue}if(o.has(d)){const v=String(u.content??""),S=new RegExp(`<\\/\\s*${d}\\s*>`,"i");u.loading=S.test(v)?!1:u.loading!==void 0?u.loading:!0;const w=S.exec(v),A=w?w.index:-1,E=w?w[0].length:0;if(A!==-1){const C=v.slice(0,A+E);let M="";const R=vo(v);R!==-1&&R<A&&(M=v.slice(R+1,A)),u.children=[{type:d,content:M,raw:C,attrs:[],tag:d,loading:!1}],u.content=C,u.raw=C;const P=(v.slice(A+E)||"").replace(/^\s+/,"");P&&s.splice(c+1,0,P.startsWith("<")?{type:"html_block",content:P}:{type:"text",content:P,raw:P})}else u.children=[{type:d,content:"",raw:v,attrs:[],tag:d,loading:!0}];continue}if(["br","hr","img","input","link","meta","div","p","ul","li"].includes(d))continue;u.type="inline";const g=/\s([\w:-]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'>]+)))?/g;let m;for(;(m=g.exec(u.content||""))!==null;)m[1],m[2]||m[3]||m[4];const x=String(u.content??""),_=new RegExp(`<\\/\\s*${d}\\s*>`,"i").exec(x),y=_?_.index:-1,b=_?_[0].length:0;if(y!==-1){const v=x.slice(0,y+b),S=(x.slice(y+b)||"").replace(/^\s+/,"");u.children=[{type:"html_block",content:v,tag:d,loading:!1}],u.content=v,u.raw=v,S&&s.splice(c+1,0,S.startsWith("<")?{type:"html_block",content:S}:{type:"text",content:S,raw:S})}else u.children=[{type:"html_block",content:u.content,tag:d,loading:!0}];continue}if(!u||u.type!=="inline")continue;if(u.children.length===2&&u.children[0].type==="html_inline"){const d=(u.children[0].content?.match(/<([^\s>/]+)/)?.[1]??"").toLowerCase();r.has(d)?(u.children[0].loading=!0,u.children[0].tag=d,u.children.push({type:"html_inline",tag:d,loading:!0,content:`</${d}>`})):u.children=[{type:"html_block",loading:!0,tag:d,content:u.children[0].content+u.children[1].content}];continue}else if(u.children.length===3&&u.children[0].type==="html_inline"&&u.children[2].type==="html_inline"){const d=(u.children[0].content?.match(/<([^\s>/]+)/)?.[1]??"").toLowerCase();if(r.has(d))continue;u.children=[{type:"html_block",loading:!1,tag:d,content:u.children.map(g=>g.content).join("")}];continue}if(!u.content?.startsWith("<")||u.children?.length!==1)continue;const a=String(u.content),f=a.match(/<([^\s>/]+)/)?.[1]?.toLowerCase()??"";if(!f)continue;const p=/\/\s*>\s*$/.test(a)||z0.has(f),h=u;if(p){h.children=[{type:"html_inline",content:a}];continue}h.children.length=0}})}function Gx(e){const t=e.trim();return!t||/^&[a-z0-9#]+;/i.test(t)?!1:!!(/^(?:const|let|var|function|class|import|export|if|for|while|return|await|async|yield|try|catch|throw|new|typeof|instanceof|switch|case|break|continue|def|ruby|perl|print|echo|true|false|null|undefined|NaN|Infinity|this)\b/.test(t)||/[a-z_$][\w$]*(?:\.[a-z_$][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\])*\s*\(/i.test(t)||/[a-z_$][\w$]*(?:\.[a-z_$][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[[\d+\]])+/i.test(t)||/\w+\s*(?:===?|!==?|<=?|>=?|\+\+|--|&&|\|\||\?\.)/.test(t)||/^(?:!!|\+\+|--)\s*\w/.test(t)||/[\w$]+\s*(?:\+=|-=|\*=|\/=|%=|\*\*=|=)/.test(t)||/^(?:https?:\/\/|ftp:\/\/|file:\/\/|\/\/|www\.)/i.test(t)||/`[^`]*\$\{[^}]*\}[^`]*`/.test(t)||/<\/?[A-Z][a-zA-Z0-9]*/.test(t)||/<[a-z][a-z0-9]*\s[^>]+>/.test(t)||/^(["'`]).*\1\s*[;,]?$/.test(t)||/^\[[\s\S]*\]$/.test(t)||/^\{[\s\S]*\}$/.test(t)||/^\(\s*\)$/.test(t)||/[\w$]+(?:\s*[+\-*/%<>=!&|^~:]+\s*[\w$]+|\s*\.\s*[\w$]+)/.test(t)||/=>|->|::/.test(t)||/^@[\w.$]+$/.test(t)||/^(?:0x[0-9a-fA-F]+|0b[01]+|0o[0-7]+|\d+(?:\.\d*)?(?:px|em|rem|%|vh|vw|deg|s|ms)?)$/.test(t)||/^\$[\w$]+\s*[=:]/.test(t)||/\|\s*\w+|\w+\s*\|/.test(t)||/^(?:git|npm|yarn|pnpm|bun|pip|cargo|go|rust|python|node|java|mvn|gradle|docker|kubectl)\s+/.test(t)||/(?:console|window|document|Math|JSON|Date|Array|Object|String|Number|Boolean)\.[a-zA-Z]/.test(t)||/^(?:\/\/|#|\/\*|\*\/|<!--|-->)/.test(t)||/^(?:<<<|<<\s*['"]?\w+['"]?)/.test(t))}function Zx(e,t={}){t.enabled!==!1&&e.core.ruler.after("inline","fix_indented_code_block",n=>{const r=n.tokens;for(let o=0;o<r.length;o++){const i=r[o];if(i.type!=="code_block")continue;const s=String(i.content??"").trim();if(!s)continue;const l=s.split(/\r?\n/).filter(c=>c.trim().length>0);if(l.length===1&&!Gx(l[0]??"")){const c=l[0]??"";r.splice(o,1,{type:"paragraph_open",tag:"p",nesting:1,level:i.level},{type:"inline",tag:"",nesting:0,level:i.level,content:c,children:[{type:"text",content:c,level:i.level+1}],block:!0},{type:"paragraph_close",tag:"p",nesting:-1,level:i.level}),o+=2}}})}function hn(e){return{type:"text",content:e,raw:e}}function Ar(e,t){t===1?e.push({type:"em_open",tag:"em",nesting:1}):t===2?e.push({type:"strong_open",tag:"strong",nesting:1}):t===3&&(e.push({type:"strong_open",tag:"strong",nesting:1}),e.push({type:"em_open",tag:"em",nesting:1}))}function Sr(e,t){t===1?e.push({type:"em_close",tag:"em",nesting:-1}):t===2?e.push({type:"strong_close",tag:"strong",nesting:-1}):t===3&&(e.push({type:"em_close",tag:"em",nesting:-1}),e.push({type:"strong_close",tag:"strong",nesting:-1}))}function or(e,t,n){let r="";if(t.includes('"')){const o=t.split('"');t=o[0].trim(),r=o[1].trim()}return{type:"link",loading:n,href:t,title:r,text:e,children:[{type:"text",content:e,raw:e}],raw:`[${e}](${t})`}}function Jx(e){e.core.ruler.after("inline","fix_link_tokens",t=>{const n=t.tokens??[];for(let r=0;r<n.length;r++){const o=n[r];if(o&&o.type==="inline"&&Array.isArray(o.children))try{o.children=Xx(o.children)}catch(i){console.error("[applyFixLinkTokens] failed to fix inline children",i)}}})}function Xx(e){if(e.length<4||e.some(t=>t.type==="code_inline"))return e;for(let t=0;t<=e.length-1;t++){t<0&&(t=0);const n=e[t];if(!n)break;if(n?.type==="em_open"&&e[t-1]?.type==="text"&&e[t-1].content?.endsWith("*")){const r=e[t-1].content?.replace(/(\*+)$/,"")||"";e[t-1].content=r,n.type="strong_open",n.tag="strong",n.markup="**";for(let o=t+1;o<e.length;o++)if(e[o]?.type==="em_close"){e[o].type="strong_close",e[o].tag="strong",e[o].markup="**";break}}else if(n?.type==="text"&&n.content?.endsWith("(")&&e[t+1]?.type==="link_open"){const r=n.content.match(/\[([^\]]+)\]/);if(r){let o=n.content.slice(0,r.index);const i=o.match(/(\*+)$/),s=[];if(i){o=o.slice(0,i.index),o&&s.push(hn(o));const l=r[1],c=i[1].length;Ar(s,c);let u=e[t+2]?.content||"";if(e[t+4]?.type==="text"&&!e[t+4].content?.startsWith(")")&&(u+=e[t+4]?.content||"",e[t+4].content=""),s.push(or(l,u,!e[t+4]?.content?.startsWith(")"))),Sr(s,c),e[t+4]?.type==="text"){const a=e[t+4].content?.replace(/^\)\**/,"");a&&s.push(hn(a)),e.splice(t,5,...s)}else e.splice(t,4,...s)}else{o&&s.push(hn(o));let l=r[1];const c=l.match(/^\*+/);if(c){const a=c[0].length;l=l.replace(/^\*+/,"").replace(/\*+$/,"");let f=e[t+2]?.content||"";if(e[t+4]?.type==="text"&&!e[t+4].content?.startsWith(")")&&(f+=e[t+4]?.content||"",e[t+4].content=""),Ar(s,a),s.push(or(l,f,!e[t+4]?.content?.startsWith(")"))),Sr(s,a),e[t+4]?.type==="text"){const p=e[t+4].content?.replace(/^\)/,"");p&&s.push(hn(p)),e.splice(t,5,...s)}else e.splice(t,4,...s);t===0?t=s.length-1:t-=s.length+1;continue}let u=e[t+2]?.content||"";if(e[t+4]?.type==="text"&&!e[t+4].content?.startsWith(")")&&(u+=e[t+4]?.content||"",e[t+4].content=""),s.push(or(l,u,!e[t+4]?.content?.startsWith(")"))),e[t+4]?.type==="text"){const a=e[t+4].content?.replace(/^\)/,"");a&&s.push(hn(a)),e.splice(t,5,...s)}else e.splice(t,4,...s)}t-=s.length+1;continue}}else if(n.type==="link_open"&&n.markup==="linkify"&&e[t-1]?.type==="text"&&e[t-1].content?.endsWith("(")){if(e[t-2]?.type==="link_close"){const r=[],o=e[t-3].content||"";let i=n.attrs?.find(s=>s[0]==="href")?.[1]||"";if(e[t+3]?.type==="text"){const s=(e[t+3]?.content??"").indexOf(")"),l=s===-1;s===-1&&(i+=e[t+3]?.content?.slice(0,s)||"",e[t+3].content=""),r.push(or(o,i,l));const c=e[t+3].content?.replace(/^\)\**/,"");c&&r.push(hn(c)),e.splice(t-4,8,...r)}else r.push({type:"link",loading:!0,href:i,title:"",text:o,children:[{type:"text",content:i,raw:i}],raw:`[${o}](${i})`}),e.splice(t-4,7,...r);continue}else if(e[t-1].content==="]("&&e[t-3]?.type==="text"&&e[t-3].content?.endsWith(")"))if(e[t-2]?.type==="strong_open"){const[r,o]=e[t-3].content?.split("[**")||[];e[t+1].content=o||"",e[t-3].content=r||"",e[t-1].content=""}else if(e[t-2]?.type==="em_open"){const[r,o]=e[t-3].content?.split("[*")||[];e[t+1].content=o||"",e[t-3].content=r||"",e[t-1].content=""}else{const[r,o]=e[t-3].content?.split("[")||[];e[t+1].content=o||"",e[t-3].content=r||"",e[t-1].content=""}}if(n.type==="link_close"&&n.nesting===-1&&e[t+1]?.type==="text"&&e[t-1]?.type==="text"){const r=e[t-1].content||"",o=e[t-2].attrs||[],i=o.find(f=>f[0]==="href")?.[1]||"",s=o.find(f=>f[0]==="title")?.[1]||"";let l=3,c=2;const u=(e[t-3]?.content||"").match(/^(\*+)$/),a=[];if(u){c+=1;const f=u[1].length;Ar(a,f)}if(n.markup!=="linkify"&&e[t+1].type==="text"&&e[t+1]?.content?.startsWith("](")){l+=1;for(let f=t+1;f<e.length;f++){const p=u?u[1].length:e[t-3].markup.length,h=e[f];if(p===1&&h.type==="em_close")break;if(p===2&&h.type==="strong_close")break;if(p===3&&(h.type==="em_close"||h.type==="strong_close"))break;l+=1}}if(a.push({type:"link",loading:!1,href:i,title:s,text:r,children:[{type:"text",content:r,raw:r}],raw:`[${r}](${i})`}),u){const f=u[1].length;Sr(a,f)}e.splice(t-c,l,...a),t-=a.length+1;continue}else if(n.content?.startsWith("](")&&e[t-1].markup?.includes("*")&&e[t-4]?.type==="text"&&e[t-4].content?.endsWith("[")){const r=e[t-1].markup.length,o=[],i=e[t-4].content.slice(0,e[t-4].content.length-r);i&&o.push(hn(i)),Ar(o,r);const s=e[t-2].content||"";let l=n.content.slice(2),c=!0;if(e[t+1]?.type==="text"){const u=(e[t+1]?.content??"").indexOf(")");c=u===-1,u===-1&&(l+=e[t+1]?.content?.slice(0,u)||"",e[t+1].content="")}if(o.push(or(s,l,c)),Sr(o,r),e[t+1]?.type==="text"){const u=e[t+1].content?.replace(/^\)\**/,"");u&&o.push(hn(u)),e.splice(t-4,8,...o)}else e[t+1]?.type==="link_open"?e.splice(t-4,10,...o):e.splice(t-4,7,...o);t-=o.length+1;continue}else if(n.content?.startsWith("](")&&e[t-1].type==="strong_close"&&e[t-4]?.type==="text"&&e[t-4]?.content?.includes("**[")){const r=[],o=e[t-4].content.split("**[")[0];o&&r.push(hn(o)),Ar(r,2);const i=e[t-2].content||"";let s=n.content.slice(2),l=!0;if(e[t+1]?.type==="text"){const c=(e[t+1]?.content??"").indexOf(")");l=c===-1,c===-1&&(s+=e[t+1]?.content?.slice(0,c)||"",e[t+1].content="")}if(r.push(or(i,s,l)),Sr(r,2),e[t+1]?.type==="text"){const c=e[t+1].content?.replace(/^\)\**/,"");c&&r.push(hn(c)),e.splice(t-4,8,...r)}else e[t+1]?.type==="link_open"?e.splice(t-4,10,...r):e.splice(t-4,7,...r);t-=r.length+1;continue}else if(n.type==="strong_close"&&e[t+1]?.type==="text"&&e[t+1].content?.includes("](")&&e[t-1].type==="text"&&/\[.*$/.test(e[t-1].content||"")){const r=[],[o,i]=e[t-1].content?.split("[")||["",""];o&&r.push(hn(o)),Ar(r,2);let[s,l]=e[t+1].content.split("](");s=i+s;let c=4;if(e[t+2]?.type==="link_open"){const a=e[t+2].attrs?.find(f=>f[0]==="href")?.[1];e[t+5]?.type==="text"&&e[t+5].content==="."?(l=(a||l)+e[t+5].content,e[t+5].content=""):l=a||l,c+=3}let u=!0;if(n.nesting===-1&&(s=s.replace(/\*+$/,"")),e[t+2]?.type==="text"){const a=(e[t+2]?.content??"").indexOf(")");u=a===-1,a===-1&&(l+=e[t+2]?.content?.slice(0,a)||"",e[t+2].content="")}r.push(or(s,l,u)),Sr(r,2),e.splice(t-2,c,...r)}if(n.type==="text"&&/\*+\[[^\]]*$/.test(n.content||"")&&e[t+1]?.type==="strong_open"&&e[t+2]?.type==="text"&&e[t+2].content==="]("&&e[t+3]?.type==="link_open"&&e[t+5]?.type==="link_close"&&e[t+6]?.type==="text"&&e[t+6].content===")"&&e[t+7]?.type==="strong_close"){const r=(n.content||"").match(/^(\*+)\[(.*)$/);if(r){const o=(r[2]||"")+r[1];let i=e[t+3]?.attrs?.find(l=>l[0]==="href")?.[1]||"";!i&&e[t+4]?.type==="text"&&(i=e[t+4].content||"");const s=[];Ar(s,2),s.push(or(o,i,!1)),Sr(s,2),e.splice(t,9,...s),t-=s.length-1;continue}}}return e}function Qx(e){e.core.ruler.after("inline","fix_list_item_tokens",t=>{const n=t.tokens??[];for(let r=0;r<n.length;r++){const o=n[r];if(o&&o.type==="inline"&&Array.isArray(o.children))try{o.children=Yx(o.children)}catch(i){console.error("[applyFixListItem] failed to fix inline children",i)}}})}function Yx(e){const t=e[e.length-1],n=String(t?.content??"");return t?.type==="text"&&/^\s*\d+\.\s*$/.test(n)&&e[e.length-2]?.tag==="br"&&e.splice(e.length-1,1),e}function e3(e){e.core.ruler.after("inline","fix_strong_tokens",t=>{const n=t.tokens??[];for(let r=0;r<n.length;r++){const o=n[r];if(o&&o.type==="inline"&&Array.isArray(o.children))try{o.children=t3(o.children)}catch(i){console.error("[applyFixStrongTokens] failed to fix inline children",i)}}})}function t3(e){let t=0;const n=new Set,r=new Set;let o=0;for(let a=0;a<e.length;a++){const f=e[a],p=f.type;if(p==="strong_open"){t++;const h=String(f.markup??"");let d=a-1;for(;d>=0&&e[d].type==="text"&&e[d].content==="";)d--;const g=e[d];let m=a+1;for(;m<e.length&&e[m].type==="text"&&e[m].content==="";)m++;const x=e[m];h==="__"&&(g?.content?.endsWith("_")||x?.content?.startsWith("_")||x?.markup?.includes("_"))&&(f.type="text",f.tag="",f.content=h,f.raw=h,f.markup="",f.attrs=null,f.map=null,f.info="",f.meta=null,n.add(t))}else if(p==="strong_close")n.has(t)&&f.markup==="__"&&(f.type="text",f.content=f.markup,f.raw=String(f.markup??""),f.tag="",f.markup="",f.attrs=null,f.map=null,f.info="",f.meta=null),t--,t<0&&(t=0);else if(p==="em_open"){o++;const h=String(f.markup??"");let d=a-1;for(;d>=0&&e[d].type==="text"&&e[d].content==="";)d--;const g=e[d];let m=a+1;for(;m<e.length&&e[m].type==="text"&&e[m].content==="";)m++;const x=e[m];h==="_"&&(g?.content?.endsWith("_")||x?.content?.startsWith("_")||x?.markup?.includes("_"))&&(f.type="text",f.tag="",f.content=h,f.raw=h,f.markup="",f.attrs=null,f.map=null,f.info="",f.meta=null,r.add(o))}else p==="em_close"&&(r.has(o)&&f.markup==="_"&&(f.type="text",f.content=f.markup,f.raw=String(f.markup??""),f.tag="",f.markup="",f.attrs=null,f.map=null,f.info="",f.meta=null),o--,o<0&&(o=0))}if(e.length<5)return e;const i=e.length-4,s=e[i];let l=[...e];const c=e[i+1],u=String(s.content??"");if(s.type==="link_open"&&e[i-1]?.type==="em_open"&&e[i-2]?.type==="text"&&e[i-2].content?.endsWith("*")){const a=String(e[i-2].content??"").slice(0,-1),f=[{type:"strong_open",tag:"strong",attrs:null,map:null,children:null,content:"",markup:"**",info:"",meta:null,raw:""},e[i],e[i+1],e[i+2],{type:"strong_close",tag:"strong",attrs:null,map:null,children:null,content:"",markup:"**",info:"",meta:null,raw:""}];a&&f.unshift({type:"text",content:a,raw:a}),l.splice(i-2,6,...f)}else if(s.type==="text"&&u.endsWith("*")&&c.type==="em_open"){const a=e[i+2],f=a?.type==="text"?4:3,p=[{type:"strong_open",tag:"strong",attrs:null,map:null,children:null,content:"",markup:"**",info:"",meta:null,raw:""},{type:"text",content:a?.type==="text"?String(a.content??""):"",raw:a?.type==="text"?String(a.content??""):""},{type:"strong_close",tag:"strong",attrs:null,map:null,children:null,content:"",markup:"**",info:"",meta:null,raw:""}],h=u.slice(0,-1);h&&p.unshift({type:"text",content:h,raw:h}),l.splice(i,f,...p)}return l=n3(l),l}function n3(e){if(e.length<7)return e;const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=e[n+1],i=e[n+2],s=e[n+3],l=e[n+4],c=e[n+5],u=e[n+6];if(r?.type==="strong_open"&&o?.type==="text"&&i?.type==="strong_close"&&s?.type==="strong_open"&&l?.type==="math_inline"&&c?.type==="strong_close"&&u?.type==="text"){const a=String(u.content??""),f=a.indexOf("**");if(f!==-1){const p=a.slice(0,f),h=a.slice(f+2);t.push(r),t.push(o),t.push(l),p&&t.push({...u,type:"text",content:p,raw:p}),t.push(c),h&&t.push({...u,type:"text",content:h,raw:h}),n+=6;continue}}t.push(r)}return t}function r3(e){e.core.ruler.after("block","fix_table_tokens",t=>{const n=t;try{const r=o3(n.tokens??[]);Array.isArray(r)&&(n.tokens=r)}catch(r){console.error("[applyFixTableTokens] failed to fix table tokens",r)}})}function ch(){return[{type:"table_open",tag:"table",attrs:null,map:null,children:null,content:"",markup:"",info:"",level:0,loading:!0,meta:null},{type:"thead_open",tag:"thead",attrs:null,block:!0,level:1,children:null},{type:"tr_open",tag:"tr",attrs:null,block:!0,level:2,children:null}]}function ah(){return[{type:"tr_close",tag:"tr",attrs:null,block:!0,level:2,children:null},{type:"thead_close",tag:"thead",attrs:null,block:!0,level:1,children:null},{type:"table_close",tag:"table",attrs:null,map:null,children:null,content:"",markup:"",info:"",level:0,meta:null}]}function uh(e){return[{type:"th_open",tag:"th",attrs:null,block:!0,level:3,children:null},{type:"inline",tag:"",children:[{tag:"",type:"text",block:!1,content:e,children:null}],content:e,level:4,attrs:null,block:!0},{type:"th_close",tag:"th",attrs:null,block:!0,level:3,children:null}]}function o3(e){const t=[...e];if(e.length<3)return t;const n=e.length-2,r=e[n];if(r.type==="inline"){const o=String(r.content??""),i=String(r.children?.[0]?.content??"");if(!o.includes(`
49
+ `)&&/^\|(?:[^|\n]+\|?)+/.test(o)){const s=i.slice(1).split("|").map(c=>c.trim()).filter(Boolean).flatMap(c=>uh(c)),l=[...ch(),...s,...ah()];t.splice(n-1,3,...l)}else if(/^\|(?:[^|\n]+\|)+\n\|:?-/.test(o)){const s=i.slice(1,-1).split("|").map(c=>c.trim()).flatMap(c=>uh(c)),l=[...ch(),...s,...ah()];t.splice(n-1,3,...l)}else/^\|(?:[^|\n:]+\|)+\n\|:?$/.test(o)&&(r.content=o.slice(0,-2),r.children.splice(2,1))}return t}function i3(e,t,n,r){const o=e.length;if(n==="$$"&&r==="$$"){let u=t;for(;u<o-1;){if(e[u]==="$"&&e[u+1]==="$"){let a=u-1,f=0;for(;a>=0&&e[a]==="\\";)f++,a--;if(f%2===0)return u}u++}return-1}const i=n[n.length-1],s=r;let l=0,c=t;for(;c<o;){if(e.slice(c,c+s.length)===s){let a=c-1,f=0;for(;a>=0&&e[a]==="\\";)f++,a--;if(f%2===0){if(l===0)return c;l--,c+=s.length;continue}}const u=e[c];if(u==="\\"){c+=2;continue}u===i?l++:u===s[s.length-1]&&l>0&&l--,c++}return-1}var s3=i3;const l3=["boldsymbol","mathbb","mathcal","mathfrak","mathrm","mathit","mathsf","vec","hat","bar","tilde","overline","underline","mathscr","mathnormal","operatorname","mathbf*"],Ns=l3.map(e=>e.replace(/[.*+?^${}()|[\\]"\]/g,"\\$&")).join("|"),c3=/\\[a-z]+/i,W0="(?:\\\\|\\u0008)",a3=new RegExp(`${W0}(?:${Ns})\\s*\\{[^}]+\\}`,"i"),u3=new RegExp(`(?:${W0})?(?:${Ns})s*{`,"i"),f3=/\\(?:text|frac|left|right|times)/,h3=new RegExp("(?:^|[^+])\\+(?!\\+)|[=\\-*/^<>]|\\\\times|\\\\pm|\\\\cdot|\\\\le|\\\\ge|\\\\neq"),d3=/\b[A-Z]{2,}-[A-Z]{2,}\b/i,p3=/[A-Z]+\s*\([^)]+\)/i,g3=/\b(?:sin|cos|tan|log|ln|exp|sqrt|frac|sum|lim|int|prod)\b/,m3=/\b\d{4}\/\d{1,2}\/\d{1,2}(?:[ T]\d{1,2}:\d{2}(?::\d{2})?)?\b/;function Uo(e){if(!e)return!1;const t=e.replace(/[\u0008\v\f]/g,h=>{switch(h){case"\b":return"\\b";case"\v":return"\\v";case"\f":return"\\f";default:return h}}),n=t.trim();if(m3.test(n)||n.includes("**"))return!1;if(n.length>2e3)return!0;const r=c3.test(t),o=a3.test(t),i=u3.test(t),s=f3.test(t),l=/(?:^|[^\w\\])(?:[A-Z]|\\[A-Z]+)_(?:\{[^}]+\}|[A-Z0-9\\])/i.test(t)||/(?:^|[^\w\\])(?:[A-Z]|\\[A-Z]+)\^(?:\{[^}]+\}|[A-Z0-9\\])/i.test(t),c=h3.test(t)&&!d3.test(t),u=p3.test(t),a=g3.test(t),f=/^\([a-z]\)$/i.test(n)||/^(?:[a-z]|pi)$/i.test(n),p=/^(?:[A-Z][a-z]?(?:_\{?\d+\}?|\^\{?\d+\}?)?)+$/.test(n);return r||o||i||s||l||c||u||a||f||p}const U0=["ldots","cdots","quad","in","displaystyle","int_","lim","lim_","ce","pu","end","infty","perp","mid","operatorname","to","rightarrow","leftarrow","math","mathrm","mathit","mathbb","mathcal","mathfrak","implies","alpha","beta","gamma","delta","epsilon","lambda","sum","sum_","prod","sqrt","fbox","boxed","color","rule","edef","fcolorbox","hline","hdashline","cdot","times","pm","le","ge","neq","sin","cos","tan","log","ln","exp","frac","text","left","right"],y3=["cdot","mathbf{","partial","mu_{"],V0=U0.slice().sort((e,t)=>t.length-e.length).map(e=>e.replace(/[.*+?^${}()|[\\]\\\]/g,"\\$&")).join("|"),K0="[ \r\b\f\v]",_3=new RegExp(`([^\\\\])(${y3.map(e=>e).join("|")})+`,"g"),v3=/span\{([^}]+)\}/,b3=/\\operatorname\{span\}\{((?:[^{}]|\{[^}]*\})+)\}/,w3=/(^|[^\\])\\\r?\n/g,k3=/(^|[^\\])\\$/g,x3=new RegExp(`(${K0})|(${V0})\\b`,"g"),fh=new Map,hh=new Map;function C3(e){if(!e)return x3;const t=[...e];t.sort((s,l)=>l.length-s.length);const n=t.join(""),r=fh.get(n);if(r)return r;const o=`(?:${t.map(s=>s.replace(/[.*+?^${}()|[\\]\\"\]/g,"\\$&")).join("|")})`,i=new RegExp(`(${K0})|(${o})\\b`,"g");return fh.set(n,i),i}function E3(e,t){const n=e?[]:[...t??[]];e||n.sort((l,c)=>c.length-l.length);const r=e?"__default__":n.join(""),o=hh.get(r);if(o)return o;const i=e?[Ns,V0].filter(Boolean).join("|"):[n.map(l=>l.replace(/[.*+?^${}()|[\\]\\\]/g,"\\$&")).join("|"),Ns].filter(Boolean).join("|"),s=new RegExp(`(^|[^\\\\\\w])(${i})\\s*\\{`,"g");return hh.set(r,s),s}const dh={" ":"t","\r":"r","\b":"b","\f":"f","\v":"v"};function ph(e){const t=/(^|[^\\])(__|\*\*)/g;let n=0;for(;t.exec(e)!==null;)n++;return n}function gh(e){const t=/(^|[^\\])(__|\*\*)/g;let n,r=null;for(;(n=t.exec(e))!==null;)r={marker:n[2],index:n.index+(n[1]?.length??0)};return r}function ir(e,t){const n=t?.commands??U0,r=t?.escapeExclamation??!0,o=t?.commands==null,i=C3(o?void 0:n);let s=e.replace(i,(u,a,f,p,h)=>{if(a!==void 0&&dh[a]!==void 0)return`\\${dh[a]}`;if(f&&n.includes(f)){const d=h&&typeof p=="number"?h[p-1]:void 0;return d==="\\"||d&&/\w/.test(d)?u:`\\${f}`}return u});r&&(s=s.replace(/(^|[^\\])!/g,"$1\\!"));let l=s;const c=E3(o,o?void 0:n);return l=l.replace(c,(u,a,f)=>`${a}\\${f}{`),l=l.replace(v3,"span\\{$1\\}").replace(b3,"\\operatorname{span}\\{$1\\}"),l=l.replace(w3,`$1\\\\
50
+ `),l=l.replace(k3,"$1\\\\"),l=l.replace(_3,"$1\\$2"),l}function mh(e){const t=e.trim();return!(!Uo(t)||/"[^"\n]{1,80}"\s*:\s*/.test(t)||!(/\\[a-z]+/i.test(t)||/[=+*/^<>]|\\times|\\pm|\\cdot|\\le|\\ge|\\neq/.test(t)||/[_^]/.test(t))&&/\s-\s/.test(t))}function A3(e,t){const n=(o,i)=>{const s=o,l=!!t?.strictDelimiters,c=!s?.env?.__markstreamFinal;if(/^\*[^*]+/.test(s.src))return!1;const u=[["$$","$$"],["$","$"],["\\(","\\)"]];let a=0,f=0;const p=s.pos;for(const[h,d]of u){const g=s.src;let m=!1;h==="$$"&&a!==p&&(a=p);let x=-1,_=-1,y=0;const b=v=>{if((v==="undefined"||v==null)&&(v=""),v==="\\"){s.pos=s.pos+v.length,a=s.pos;return}if(v==="\\)"||v==="\\("){const A=s.push("text_special","",0);A.content=v==="\\)"?")":"(",A.markup=v,s.pos=s.pos+v.length,a=s.pos;return}if(!v)return;if(h==="$$"&&v.includes("$")){let A=0;for(;A<v.length;){const E=v.indexOf("$",A);if(E===-1){const I=v.slice(A);if(I){const O=s.push("text","",0);O.content=I,s.pos=s.pos+I.length,a=s.pos}break}if(E>0&&v[E-1]==="$"||E+1<v.length&&v[E+1]==="$"){const I=v.slice(A,E+1);if(I){const O=s.push("text","",0);O.content=I,s.pos=s.pos+I.length,a=s.pos}A=E+1;continue}const C=v.slice(A,E);if(C){const I=s.push("text","",0);I.content=C,s.pos=s.pos+C.length,a=s.pos}const M=v.indexOf("$",E+1);if(M===-1){const I=v.slice(E),O=s.push("text","",0);O.content=I,s.pos=s.pos+I.length,a=s.pos;break}const R=v.slice(E+1,M),P=R.includes("`"),B=!R||!R.trim();if(!P&&!B){const I=s.push("math_inline","math",0);I.content=ir(R,t),I.markup="$",I.raw=`$${R}$`,I.loading=!1,s.pos=s.pos+(M-E+1),a=s.pos,A=M+1;continue}const D=s.push("text","",0);D.content="$",s.pos=s.pos+1,a=s.pos,A=E+1}return}const S=v.indexOf("![");if(S!==-1){if(S>0){const C=v.slice(0,S),M=s.push("text","",0);M.content=C,s.pos=s.pos+C.length,a=s.pos}const A=v.slice(S).match(/^!\[([^\]]*)\]\(([^)]+)\)/);if(A){const[,C,M]=A,R=M.match(/^(\S+)(?:\s+"([^"]+)")?\s*$/),P=R?R[1]:M,B=R&&R[2]?R[2]:null,D=s.push("image","img",0);D.attrs=[["src",P],["alt",C]],B&&D.attrs.push(["title",B]),D.content=C,D.children=[{type:"text",content:C,tag:""}],s.pos=s.pos+A[0].length,a=s.pos;const I=v.slice(S+A[0].length);I&&b(I);return}const E=s.push("text","",0);E.content=v,s.pos=s.pos+v.length,a=s.pos;return}const w=s.push("text","",0);w.content=v,s.pos=s.pos+v.length,a=s.pos};for(;!(a>=g.length);){const v=g.indexOf(h,a);if(v===-1)break;if(v===x&&a===_){if(y++,y>2){a=v+Math.max(1,h.length);continue}}else y=0,x=v,_=a;if(h==="("&&v>0){let C=v-1;for(;C>=0&&g[C]===" ";)C--;if(C>=0&&g[C]==="]"){a=v+h.length;continue}}if(h==="$"&&v>0&&g[v-1]==="$"){a=v+1;continue}if(h==="$"&&v<g.length-1&&g[v+1]==="$"){a=v+2;continue}const S=s3(g,v+h.length,h,d);if(S===-1){const C=g.slice(v+h.length);if(C.includes(h)){a=g.indexOf(h,v+h.length);continue}if(S===-1){if(c&&!l&&Uo(C)&&!C.includes("`")){if(a=v+h.length,m=!0,!i){s.pending="";const M=f?g.slice(f,a):g.slice(0,a),R=ph(M)%2===1;if(f)b(g.slice(f,a));else{let P=g.slice(0,a);P.endsWith(h)&&(P=P.slice(0,P.length-h.length)),b(P)}if(R){const P=gh(M)?.marker??"**",B=s.push("strong_open","",0);B.markup=P;const D=s.push("math_inline","math",0);D.content=ir(C,t),D.markup=h==="$$"?"$$":h==="\\("?"\\(\\)":h==="$"?"$":"()",D.raw=`${h}${C}${d}`,D.loading=!0,B.content=C,s.push("strong_close","",0)}else{const P=s.push("math_inline","math",0);P.content=ir(C,t),P.markup=h==="$$"?"$$":h==="\\("?"\\(\\)":h==="$"?"$":"()",P.raw=`${h}${C}${d}`,P.loading=!0}s.pos=g.length}a=g.length,f=a}break}}const w=g.slice(v+h.length,S),A=w.includes("`"),E=!w||!w.trim();if(l?A||E:A||E||h!=="$"&&!Uo(w)){a=S+d.length;const C=g.slice(s.pos,a);s.pending||(b(C),f=a);continue}if(m=!0,!i){const C=g.slice(s.pos-s.pending.length,v);let M=g.slice(0,a)?g.slice(f,v):C;const R=ph(M)%2===1;v!==s.pos&&R&&(M=s.pending+g.slice(s.pos,v));const P=R?gh(M):null,B=P?.marker??"**";if(s.pending!==M)if(s.pending="",R)if(P){const D=M.slice(P.index+B.length);b(M.slice(0,P.index));const I=s.push("strong_open","",0);I.markup=B;const O=s.push("text","",0);O.content=D,s.push("strong_close","",0)}else b(M);else b(M);if(R){const D=s.push("strong_open","",0);D.markup=B;const I=s.push("math_inline","math",0);I.content=ir(w,t),I.markup=h==="$$"?"$$":h==="\\("?"\\(\\)":h==="$"?"$":"()",I.raw=`${h}${w}${d}`,I.loading=!1;const O=g.slice(S+d.length).startsWith(B);O&&s.push("strong_close","",0),s.pos=S+d.length,a=s.pos,f=a,O||s.push("strong_close","",0);continue}else{const D=s.push("math_inline","math",0);D.content=ir(w,t),D.markup=h==="$$"?"$$":h==="\\("?"\\(\\)":h==="$"?"$":"()",D.raw=`${h}${w}${d}`,D.loading=!1}}a=S+d.length,f=a,s.pos=a}if(m){if(i)s.pos=a;else{if(h==="$$"&&a<g.length&&g.slice(a).includes("$")){let v=a;for(;!(v>=g.length);){const S=g.indexOf("$",v);if(S===-1)break;if(S+1<g.length&&g[S+1]==="$"){v=S+2;continue}if(S>0&&g[S-1]==="$"){v=S+1;continue}const w=g.indexOf("$",S+1);if(w===-1)break;if(w+1<g.length&&g[w+1]==="$"){v=S+1;continue}const A=g.slice(S+1,w),E=A.includes("`"),C=!A||!A.trim();if(!E&&!C){const M=g.slice(a,S);M&&b(M);const R=s.push("math_inline","math",0);R.content=ir(A,t),R.markup="$",R.raw=`$${A}$`,R.loading=!1,a=w+1,v=w+1}else b("$"),v=S+1}v<g.length&&b(g.slice(v))}else a<g.length&&b(g.slice(a));s.pos=g.length}return!0}}return!1},r=(o,i,s,l)=>{const c=o,u=!c?.env?.__markstreamFinal,a=t?.strictDelimiters,f=a?[["\\[","\\]"],["$$","$$"]]:[["\\[","\\]"],["[","]"],["$$","$$"]],p=c.bMarks[i]+c.tShift[i];let h=c.src.slice(p,c.eMarks[i]).trim(),d=!1,g="",m="",x=!1;for(const[A,E]of f)if(h.startsWith(A))if(A.includes("["))if(t?.strictDelimiters){if(h.replace("\\","")==="["){if(i+1<s){d=!0,g=A,m=E;break}continue}}else if(h.replace("\\","")==="["){if(i+1<s){d=!0,g=A,m=E;break}continue}else{const C=c.tokens[c.tokens.length-1];if(C&&C.type==="list_item_open"&&C.mark==="-"&&h.slice(A.length,h.indexOf("]")).trim()==="x")continue;if(h.replace("\\","").startsWith("[")&&!h.includes("](")){const M=h.indexOf("]");if(h.slice(M).trim()!=="]")continue;const R=h.slice(A.length,M);if(A==="["?mh(R):Uo(R)){d=!0,g=A,m=E;break}continue}}else{d=!0,g=A,m=E;break}else if(A==="$$"&&h.endsWith(A)&&!h.slice(0,h.length-A.length).trim().includes(A)&&i+1<s){c.push("text","",0).content=h.slice(0,h.length-A.length);const C=c.bMarks[i+1]+c.tShift[i+1];h=c.src.slice(C,c.eMarks[i+1]).trim(),x=!0,d=!0,g=A,m=E;break}if(!d)return!1;if(l)return!0;if(h.includes(m)&&h.indexOf(m)>g.length){const A=h.indexOf(g),E=h.indexOf(m,A+g.length),C=h.slice(A+g.length,E),M=c.push("math_block","math",0);return M.content=ir(C),M.markup=g==="$$"?"$$":g==="["?"[]":"\\[\\]",M.map=[i,i+1],M.raw=`${g}${C}${m}`,M.block=!0,M.loading=!1,c.line=i+1,!0}let _=i,y="",b=!1;const v=h===g?"":h.slice(g.length);if(v.includes(m)){const A=v.indexOf(m);y=v.slice(0,A),b=!0,_=i}else for(v&&!x&&(y=v),_=i+1;_<s;_++){const A=c.bMarks[_]+c.tShift[_],E=c.eMarks[_],C=c.src.slice(A-1,E);if(C.trim()===m){b=!0;break}else if(C.includes(m)){b=!0;const M=C.indexOf(m);y+=(y?`
51
+ `:"")+C.slice(0,M);break}y+=(y?`
52
+ `:"")+C}if((!u||a)&&!b)return!1;const S=/^\s*!\[/.test(y);if(!(g==="$$"?!S:g==="["?mh(y):Uo(y)))return!1;const w=c.push("math_block","math",0);return w.content=ir(y),w.markup=g==="$$"?"$$":g==="["?"[]":"\\[\\]",w.raw=`${g}${y}${y.startsWith(`
53
+ `)?`
54
+ `:""}${m}`,w.map=[i,_+1],w.block=!0,w.loading=!b,c.line=_+1,!0};e.inline.ruler.before("escape","math",n),e.block.ruler.before("paragraph","math_block",r,{alt:["paragraph","reference","blockquote","list"]})}function S3(e){const t=e.renderer.rules.image||function(n,r,o,i,s){const l=n,c=s;return c.renderToken?c.renderToken(l,r,o):""};e.renderer.rules.image=(n,r,o,i,s)=>{const l=n;return l[r].attrSet?.("loading","lazy"),t(l,r,o,i,s)},e.renderer.rules.fence=e.renderer.rules.fence||((n,r)=>{const o=n[r],i=String(o.info??"").trim();return`<pre class="${i?`language-${e.utils.escapeHtml(i.split(/\s+/g)[0])}`:""}"><code>${e.utils.escapeHtml(String(o.content??""))}</code></pre>`})}function T3(e={}){const t=new Fx({html:!0,linkify:!0,typographer:!0,stream:!0,...e.markdownItOptions??{}});return(e.enableMath??!0)&&A3(t,{...e.mathOptions??{}}),(e.enableContainers??!0)&&Bx(t),e.enableFixIndentedCodeBlock!==!1&&Zx(t),Jx(t),e3(t),Qx(t),r3(t),S3(t),Kx(t,{customHtmlTags:e.customHtmlTags}),t}function M3(e){const t=e.meta??{};return{type:"checkbox",checked:t.checked===!0,raw:t.checked?"[x]":"[ ]"}}function R3(e){const t=e,n=t.attrGet?t.attrGet("checked"):void 0,r=n===""||n==="true";return{type:"checkbox_input",checked:r,raw:r?"[x]":"[ ]"}}function I3(e){const t=String(e.content??"");return{type:"emoji",name:t,markup:String(e.markup??""),raw:`:${t}:`}}function Xi(e,t,n){const r=[];let o="",i=t+1;const s=[];for(;i<e.length&&e[i].type!=="em_close";)o+=String(e[i].content??e[i]?.text??""),s.push(e[i]),i++;return r.push(...Xe(s,void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags})),{node:{type:"emphasis",children:r,raw:`*${o}*`},nextIndex:i<e.length?i+1:e.length}}const yh=/\r?\n[ \t]*`+\s*$/,D3=["diff ","index ","--- ","+++ ","@@ "],$3=/\r?\n/;function P3(e){const t=[],n=[];for(const r of e.split($3)){const o=r;D3.some(i=>o.startsWith(i))||(o.length>=2&&o[0]==="-"&&o[1]===" "?t.push(` ${o.slice(1)}`):o.length>=2&&o[0]==="+"&&o[1]===" "?n.push(` ${o.slice(1)}`):(t.push(o),n.push(o)))}return{original:t.join(`
55
+ `),updated:n.join(`
56
+ `)}}function ja(e){const t=Array.isArray(e.map)&&e.map.length===2,n=e.meta??{},r=typeof n.closed=="boolean"?n.closed:void 0,o=String(e.info??""),i=o.startsWith("diff"),s=i?(()=>{const c=o,u=c.indexOf(" ");return u===-1?"":String(c.slice(u+1)??"")})():o;let l=String(e.content??"");if(yh.test(l)&&(l=l.replace(yh,"")),i){const{original:c,updated:u}=P3(l);return{type:"code_block",language:s,code:String(u??""),raw:String(l??""),diff:i,loading:r===!0?!1:r===!1?!0:!t,originalCode:c,updatedCode:u}}return{type:"code_block",language:s,code:String(l??""),raw:String(l??""),diff:i,loading:r===!0?!1:r===!1?!0:!t}}function L3(e){const t=e.meta??{};return{type:"footnote_reference",id:String(t.label??""),raw:`[^${String(t.label??"")}]`}}function F3(){return{type:"hardbreak",raw:`\\
57
+ `}}function O3(e,t,n){const r=[];let o="",i=t+1;const s=[];for(;i<e.length&&e[i].type!=="mark_close";)o+=String(e[i].content??""),s.push(e[i]),i++;return r.push(...Xe(s,void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags})),{node:{type:"highlight",children:r,raw:`==${o}==`},nextIndex:i<e.length?i+1:e.length}}const N3=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);let Vl=null;const Kl=new WeakMap;function _h(){return Vl||(Vl={customTagSet:null,allowedTagSet:pl()}),Vl}function G0(e){const t=e.match(/^<\s*(?:\/\s*)?([\w-]+)/);return t?t[1].toLowerCase():""}function Z0(e){return/^<\s*\//.test(e)}function J0(e,t){return/\/\s*>\s*$/.test(t)||N3.has(e)}function B3(e){const t=String(e??"").trim();if(!t)return"";const n=t.match(/^[<\s/]*([A-Z][\w-]*)/i);return n?n[1].toLowerCase():""}function H3(e){if(!e||e.length===0)return _h();const t=Kl.get(e);if(t)return t;const n=e.map(B3).filter(Boolean);if(!n.length){const o=_h();return Kl.set(e,o),o}const r={customTagSet:new Set(n),allowedTagSet:pl({customHtmlTags:e})};return Kl.set(e,r),r}function X0(e){const t=e,n=t.raw??t.content??t.markup??"";return String(n??"")}function Wc(e){return e.map(X0).join("")}function j3(e,t,n){let r=0;for(let o=t;o<e.length;o++){const i=e[o];if(i.type!=="html_inline")continue;const s=String(i.content??""),l=G0(s),c=Z0(s),u=J0(l,s);if(!c&&!u&&l===n){r++;continue}if(c&&l===n){if(r===0)return o;r--}}return-1}function Gl(e,t,n){const r=[e[t]];let o=[],i=t+1,s=!1;const l=n?j3(e,t+1,n):-1;return l!==-1?(o=e.slice(t+1,l),r.push(...o,e[l]),i=l+1,s=!0):(o=e.slice(t+1),o.length&&r.push(...o),i=e.length),{closed:s,html:Wc(r),innerTokens:o,nextIndex:i}}function q3(e,t,n,r,o,i,s){const l=String(e.content??""),c=G0(l),{customTagSet:u,allowedTagSet:a}=H3(s?.customHtmlTags);if(!c)return[{type:"inline_code",code:l,raw:l},n+1];if(!a.has(c)&&!Gl(t,n,c).closed){const v=X0(e);return[{type:"text",content:v,raw:v},n+1]}if(c==="br")return[{type:"hardbreak",raw:l},n+1];const f=Z0(l),p=J0(c,l);if(f)return[{type:"html_inline",tag:c,content:l,children:[],raw:l,loading:!1},n+1];if(c==="a"){const v=Gl(t,n,c),S=v.innerTokens,w=l.match(/href\s*=\s*"([^"]+)"|href\s*=\s*'([^']+)'|href\s*=\s*([^\s>]+)/i),A=w?w[1]||w[2]||w[3]:"",E=S.length?r(S,o,i,s):[],C=S.length?Wc(S):A||"";return!E.length&&C&&E.push({type:"text",content:C,raw:C}),[{type:"link",href:String(A??""),title:null,text:C,children:E,loading:!v.closed,raw:v.html||l},v.nextIndex]}if(p)return[{type:u?.has(c)?c:"html_inline",tag:c,content:l,children:[],raw:l,loading:!1},n+1];const h=Gl(t,n,c);if(c==="p"||c==="div")return[{type:"paragraph",children:h.innerTokens.length?r(h.innerTokens,o,i,s):[],raw:h.html},h.nextIndex];const d=h.innerTokens.length?r(h.innerTokens,o,i,s):[];let g=h.html||l,m=!h.closed,x=!1;if(!h.closed){const v=`</${c}>`;g.toLowerCase().includes(v.toLowerCase())||(g+=v),x=!0,m=!0}const _=[],y=/\s([\w:-]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'>]+)))?/g;let b;for(;(b=y.exec(l))!==null;){const v=b[1],S=b[2]||b[3]||b[4]||"";_.push([v,S])}return u?.has(c)?[{type:c,tag:c,attrs:_,content:h.innerTokens.length?Wc(h.innerTokens):"",children:h.innerTokens.length?r(h.innerTokens,o,i,s):[],raw:g,loading:e.loading||m,autoClosed:x},h.nextIndex]:[{type:"html_inline",tag:c,attrs:_,content:g,children:d,raw:g,loading:m,autoClosed:x},h.nextIndex]}function vh(e,t=!1){let n=e.attrs??[],r=null;if((!n||n.length===0)&&Array.isArray(e.children))for(const a of e.children){const f=a?.attrs;if(Array.isArray(f)&&f.length>0){n=f,r=a;break}}const o=String(n.find(a=>a[0]==="src")?.[1]??""),i=n.find(a=>a[0]==="alt")?.[1];let s="";i!=null&&String(i).length>0?s=String(i):r?.content!=null&&String(r.content).length>0?s=String(r.content):Array.isArray(r?.children)&&r.children[0]?.content?s=String(r.children[0].content):Array.isArray(e.children)&&e.children[0]?.content?s=String(e.children[0].content):e.content!=null&&String(e.content).length>0&&(s=String(e.content));const l=n.find(a=>a[0]==="title")?.[1]??null,c=l===null?null:String(l),u=String(e.content??"");return{type:"image",src:o,alt:s,title:c,raw:u,loading:t}}function z3(e){const t=String(e.content??"");return{type:"inline_code",code:t,raw:t}}function W3(e,t,n){const r=[];let o="",i=t+1;const s=[];for(;i<e.length&&e[i].type!=="ins_close";)o+=String(e[i].content??""),s.push(e[i]),i++;return r.push(...Xe(s,void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags})),{node:{type:"insert",children:r,raw:`++${String(o)}++`},nextIndex:i<e.length?i+1:e.length}}function U3(e,t,n){const r=e[t].attrs??[],o=String(r.find(p=>p[0]==="href")?.[1]??""),i=r.find(p=>p[0]==="title")?.[1]??null,s=i===null?null:String(i);let l=t+1;const c=[];let u=!0;for(;l<e.length&&e[l].type!=="link_close";)c.push(e[l]),l++;e[l]?.type==="link_close"&&(u=!1);const a=Xe(c,void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),f=a.map(p=>{const h=p;return"content"in p?String(h.content??""):String(h.raw??"")}).join("");return{node:{type:"link",href:o,title:s,text:f,children:a,raw:`[${f}](${o}${s?` "${s}"`:""})`,loading:u},nextIndex:l<e.length?l+1:e.length}}function bh(e){const t=e.content??"",n=e.raw==="$$"?`$${t}$`:e.raw||"";return{type:"math_inline",content:t,loading:!!e.loading,raw:n,markup:e.markup}}function V3(e){return{type:"reference",id:String(e.content??""),raw:String(e.markup??`[${e.content??""}]`)}}function wh(e,t,n){const r=[];let o="",i=t+1;const s=[];for(;i<e.length&&e[i].type!=="s_close";)o+=String(e[i].content??""),s.push(e[i]),i++;return r.push(...Xe(s,void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags})),{node:{type:"strikethrough",children:r,raw:`~~${o}~~`},nextIndex:i<e.length?i+1:e.length}}function Qi(e,t,n,r){const o=[];let i="",s=t+1;const l=[];let c=1;for(;s<e.length;){if(e[s].type==="strong_close"){if(c===1)break;c--}e[s].type==="strong_open"&&c++,i+=String(e[s].content??""),l.push(e[s]),s++}return o.push(...Xe(l,n,void 0,{requireClosingStrong:r?.requireClosingStrong,customHtmlTags:r?.customHtmlTags})),{node:{type:"strong",children:o,raw:`**${String(i)}**`},nextIndex:s<e.length?s+1:e.length}}function K3(e,t,n){const r=[];let o="",i=t+1;const s=[];for(;i<e.length&&e[i].type!=="sub_close";)o+=String(e[i].content??""),s.push(e[i]),i++;r.push(...Xe(s,void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}));const l=String(e[t].content??""),c=o||l;return{node:{type:"subscript",children:r.length>0?r:[{type:"text",content:c,raw:c}],raw:`~${c}~`},nextIndex:i<e.length?i+1:e.length}}function G3(e,t,n){const r=[];let o="",i=t+1;const s=[];for(;i<e.length&&e[i].type!=="sup_close";)o+=String(e[i].content??""),s.push(e[i]),i++;return r.push(...Xe(s,void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags})),{node:{type:"superscript",children:r.length>0?r:[{type:"text",content:o||String(e[t].content??""),raw:o||String(e[t].content??"")}],raw:`^${o||String(e[t].content??"")}^`},nextIndex:i<e.length?i+1:e.length}}function Z3(e){const t=String(e.content??"");return{type:"text",content:t,raw:t}}const J3=/\*\*([\s\S]*?)\*\*/,X3=/[^~]*~{2,}[^~]+/,Q3=/\*\*/;function Y3(e){let t=0,n=0;for(;n<e.length;){if(e[n]==="\\"&&n+1<e.length&&e[n+1]==="*"){n+=2;continue}e[n]==="*"&&t++,n++}return t}function Xe(e,t,n,r){if(!e||e.length===0)return[];const o=[];let i=null,s=0;const l=r?.requireClosingStrong;function c(){i=null}function u(w,A){if(X3.test(w)){let E=w.indexOf("~~");E===-1&&(E=0);const C=w.slice(0,E);C&&(i?(i.content+=C,i.raw+=C):(i={type:"text",content:String(C??""),raw:String(A.content??"")},o.push(i)));const{node:M}=wh([{type:"s_open",tag:"s",content:"",markup:"*",info:"",meta:null},{type:"text",tag:"",content:w.slice(E).replace(/~/g,""),markup:"",info:"",meta:null},{type:"s_close",tag:"s",content:"",markup:"*",info:"",meta:null}],0);return c(),h(M),s++,!0}if(Q3.test(w)){const E=w.indexOf("**"),C=E>-1?w.slice(0,E):"";if(C&&d(C,C),E===-1)return s++,!0;if(t&&E===0){let D=!1,I=0;for(;I<w.length&&w[I]==="*";)I++;if(t.startsWith("\\*")&&(D=!0),D){let O=0,F=0;for(;F<t.length&&O<I;)if(t[F]==="\\"&&F+1<t.length&&t[F+1]==="*")O+=1,F+=2;else{if(t[F]==="*")break;F++}if(O>=2)return d(w,w),s++,!0}}if(t&&(w.match(/\*/g)||[]).length>Y3(t))return d(w.slice(C.length),w.slice(C.length)),s++,!0;const M=J3.exec(w);let R="",P="";if(M&&typeof M.index=="number")R=M[1],P=w.slice(M.index+M[0].length);else{if(l)return d(w,w),s++,!0;R=w.slice(E+2),P=""}if(!R&&/^\*+$/.test(P))return d(w,w),s++,!0;const{node:B}=Qi([{type:"strong_open",tag:"strong",content:"",markup:"**",info:"",meta:null},{type:"text",tag:"",content:R,markup:"",info:"",meta:null},{type:"strong_close",tag:"strong",content:"",markup:"**",info:"",meta:null}],0,t,r);return c(),h(B),P&&(g({type:"text",content:P,raw:P}),s--),s++,!0}if(/[^*]*\*[^*]+/.test(w)){let E=w.indexOf("*");E===-1&&(E=0);const C=w.slice(0,E);C&&(i?(i.content+=C,i.raw+=C):(i={type:"text",content:String(C??""),raw:String(A.content??"")},o.push(i)));const M=w.indexOf("*",E+1),{node:R}=Xi([{type:"em_open",tag:"em",content:"",markup:"*",info:"",meta:null},{type:"text",tag:"",content:w.slice(E,M>-1?M+1:void 0).replace(/\*/g,""),markup:"",info:"",meta:null},{type:"em_close",tag:"em",content:"",markup:"*",info:"",meta:null}],0,r);if(M!==-1&&M<w.length-1){const P=w.slice(M+1);P&&g({type:"text",content:P,raw:P})}return c(),h(R),s++,!0}return!1}function a(w,A){if(!w.includes("`"))return!1;const E=w.indexOf("`");let C=1;for(let O=E+1;O<w.length&&w[O]==="`";O++)C++;const M="`".repeat(C),R=E+C,P=w.indexOf(M,R);if(P===-1){if(C===1){const F=w.slice(0,E),q=w.slice(E+1);return F&&(u(F,A)?s--:d(F,F)),f({type:"inline_code",code:q,raw:String(q)}),s++,!0}let O=w;for(let F=s+1;F<e.length;F++)O+=String((e[F].content??"")+(e[F].markup??""));return s=e.length-1,d(O,O),s++,!0}c();const B=w.slice(0,E),D=w.slice(E+C,P),I=w.slice(P+C);return B&&(u(B,A)?s--:d(B,B)),f({type:"inline_code",code:D,raw:String(D??"")}),I&&(g({type:"text",content:I,raw:I}),s--),s++,!0}function f(w){c(),o.push(w)}function p(w){c(),o.push(w)}function h(w){f(w)}function d(w,A){i?(i.content+=w,i.raw+=A??w):(i={type:"text",content:String(w??""),raw:String(A??w??"")},o.push(i))}for(;s<e.length;){const w=e[s];g(w)}function g(w){switch(w.type){case"text":x(w);break;case"softbreak":i?(i.content+=`
58
+ `,i.raw+=`
59
+ `):(i={type:"text",content:`
60
+ `,raw:`
61
+ `},o.push(i)),s++;break;case"code_inline":h(z3(w)),s++;break;case"html_inline":{const[A,E]=q3(w,e,s,Xe,t,n,r);h(A),s=E;break}case"link_open":_(w);break;case"image":c(),h(vh(w)),s++;break;case"strong_open":{c();const{node:A,nextIndex:E}=Qi(e,s,w.content,r);h(A),s=E;break}case"em_open":{c();const{node:A,nextIndex:E}=Xi(e,s,r);h(A),s=E;break}case"s_open":{c();const{node:A,nextIndex:E}=wh(e,s,r);h(A),s=E;break}case"mark_open":{c();const{node:A,nextIndex:E}=O3(e,s,r);h(A),s=E;break}case"ins_open":{c();const{node:A,nextIndex:E}=W3(e,s,r);h(A),s=E;break}case"sub_open":{c();const{node:A,nextIndex:E}=K3(e,s,r);h(A),s=E;break}case"sup_open":{c();const{node:A,nextIndex:E}=G3(e,s,r);h(A),s=E;break}case"sub":c(),h({type:"subscript",children:[{type:"text",content:String(w.content??""),raw:String(w.content??"")}],raw:`~${String(w.content??"")}~`}),s++;break;case"sup":c(),h({type:"superscript",children:[{type:"text",content:String(w.content??""),raw:String(w.content??"")}],raw:`^${String(w.content??"")}^`}),s++;break;case"emoji":{c();const A=e[s-1];A?.type==="text"&&/\|:-+/.test(String(A.content??""))?d("",""):h(I3(w)),s++;break}case"checkbox":c(),h(M3(w)),s++;break;case"checkbox_input":c(),h(R3(w)),s++;break;case"footnote_ref":c(),h(L3(w)),s++;break;case"footnote_anchor":{c();const A=w.meta??{};f({type:"footnote_anchor",id:String(A.label??w.content??""),raw:String(w.content??"")}),s++;break}case"hardbreak":c(),h(F3()),s++;break;case"fence":c(),h(ja(e[s])),s++;break;case"math_inline":c(),!w.content&&w.markup==="$"&&e[s+1]?.type==="text"&&e[s+2]?.type==="math_inline"?(h(bh({...w,content:e[s+1].content})),s+=2):h(bh(w)),s++;break;case"reference":y(w);break;case"text_special":d(String(w.content??""),String(w.content??"")),s++;break;default:p(w),s++;break}}function m(w,A,E,C){const M=Z3({...A,content:w});if(i){i.content+=M.content.replace(/(\*+|\(|\\)$/,""),i.raw+=M.raw;return}const R=E?.tag==="br"&&e[s-2]?.content==="[";C||(M.content=M.content.replace(/(\*+|\(|\\)$/,"")),i=M,i.center=R,o.push(i)}function x(w){let A=o.length-1;const E=String(w.content??"");let C=E;if(E.includes("\\")&&(C=E.replace(/\\/g,"")),w.content==="<"||C==="1"&&e[s-1]?.tag==="br"){s++;return}const M=C.indexOf("$");for(M!==-1&&M===C.lastIndexOf("$")&&C.endsWith("$")&&(C=C.slice(0,-1)),C.endsWith("undefined")&&!t?.endsWith("undefined")&&(C=C.slice(0,-9));A>=0;A--){const B=o[A];if(B.type==="text"){i=null;const D=String(B.content??"");C.startsWith(D)||(C=D+C);continue}break}A<o.length-1&&(o.length=A+1);const R=e[s+1];if(n?.type==="list_item_open"&&/^\d$/.test(C)){s++;return}if(C==="`"||C==="|"||C==="$"||/^\*+$/.test(C)){s++;return}if(!R&&/[^\]]\s*\(\s*$/.test(C)&&(C=C.replace(/\(\s*$/,"")),!C){s++;return}if(!(C.includes("*")||C.includes("~")||C.includes("`")||C.includes("[")||C.includes("!")||C.includes("$")||C.includes("|")||C.includes("("))){m(C,w,e[s-1],R),s++;return}if(S(C))return;const P=e[s-1];if(C==="["&&!R?.markup?.includes("*")||C==="]"&&!P?.markup?.includes("*")){s++;return}a(C,w)||v(C,w)||e[s+1]?.type!=="link_open"&&b(C)||u(C,w)||(m(C,w,P,R),s++)}function _(w){c();const{node:A,nextIndex:E}=U3(e,s,{requireClosingStrong:l});s=E;const C=w.attrs?.find(([R])=>R==="href")?.[1],M=String(C??"");if(t&&M){const R=t.indexOf("](");if(R!==-1){const P=t.indexOf(")",R+2);P===-1?A.loading=!0:A.loading&&t.slice(R+2,P).includes(M)&&(A.loading=!1)}}f(A)}function y(w){c();const A=e[s+1],E=e[s-1],C=o[o.length-1],M=A?.type==="text"&&!String(A.content??"").startsWith("("),R=E?.type==="text"&&/\]$|^\s*$/.test(String(E.content??""));M||R?h(V3(w)):A&&A.type==="text"?A.content=String(w.markup??"")+String(A.content??""):C&&C.type==="text"&&(C.content=String(C.content??"")+String(w.markup??""),C.raw=String(C.raw??"")+String(w.markup??"")),s++}function b(w,A){const E=w.indexOf("[");if(E===-1)return!1;let C=w.slice(0,E);const M=w.indexOf("](",E);if(M!==-1){const R=e[s+2];let P=w.slice(E+1,M);if(P.includes("[")){const K=P.indexOf("[");C+=w.slice(0,E+K+1);const Q=E+K+1;P=w.slice(Q+1,M)}const B=e[s+1];if(w.endsWith("](")&&B?.type==="link_open"&&R){const K=e[s+4];let Q=4,ce=!0;return K?.type==="text"&&K.content===")"?(Q++,ce=!1):K?.type==="text"&&K.content==="."&&s++,C&&d(C,C),f({type:"link",href:String(R.content??""),title:null,text:P,children:[{type:"text",content:P,raw:P}],loading:ce}),s+=Q,!0}const D=w.indexOf(")",M),I=D!==-1?w.slice(M+2,D):"",O=D===-1;let F=C.match(/\*+$/);if(F&&(C=C.replace(/\*+$/,"")),C&&d(C,C),F||(F=P.match(/^\*+/)),!l&&F){const K=F[0].length;P=P.replace(/^\*+/,"").replace(/\*+$/,"");const Q=[];if(K===1?Q.push({type:"em_open",tag:"em",nesting:1}):K===2?Q.push({type:"strong_open",tag:"strong",nesting:1}):K===3&&(Q.push({type:"strong_open",tag:"strong",nesting:1}),Q.push({type:"em_open",tag:"em",nesting:1})),Q.push({type:"link",href:I,title:null,text:P,children:[{type:"text",content:P,raw:P}],loading:O}),K===1){Q.push({type:"em_close",tag:"em",nesting:-1});const{node:ce}=Xi(Q,0,r);h(ce)}else if(K===2){Q.push({type:"strong_close",tag:"strong",nesting:-1});const{node:ce}=Qi(Q,0,void 0,r);h(ce)}else if(K===3){Q.push({type:"em_close",tag:"em",nesting:-1}),Q.push({type:"strong_close",tag:"strong",nesting:-1});const{node:ce}=Qi(Q,0,void 0,r);h(ce)}else{const{node:ce}=Xi(Q,0,r);h(ce)}}else f({type:"link",href:I,title:null,text:P,children:[{type:"text",content:P,raw:P}],loading:O});const q=D!==-1?w.slice(D+1):"";return q&&(g({type:"text",content:q,raw:q}),s--),s++,!0}return!1}function v(w,A){const E=w.indexOf("![");if(E===-1)return!1;const C=w.slice(0,E);return i?i.content+=C:i={type:"text",content:C,raw:C},o.push(i),i=null,f(vh(A,!0)),s++,!0}function S(w){if(!(w?.startsWith("[")&&n?.type==="list_item_open"))return!1;const A=w.slice(1).match(/[^\s\]]/);if(A===null)return s++,!0;if(A&&/x/i.test(A[0])){const E=A[0]==="x"||A[0]==="X";return f({type:"checkbox_input",checked:E,raw:E?"[x]":"[ ]"}),s++,!0}return!1}return o}function e4(e){const t=String(e.content??""),n=t.replace(/[ \t\r\n]+$/g,"");if(n===t)return;e.content=n;const r=e.children;if(!(!Array.isArray(r)||r.length===0))for(;r.length;){const o=r[r.length-1];if(!o){r.pop();continue}if(o.type==="softbreak"||o.type==="hardbreak"){r.pop();continue}if(o.type==="text"){const i=String(o.content??""),s=i.replace(/[ \t\r\n]+$/g,"");if(s===i)break;if(s){o.content=s;break}r.pop();continue}break}}function t4(e){const t=String(e.content??""),n=t.match(/\r?\n\s*\d+[.)]?\s*$/);if(!n||typeof n.index!="number")return;e.content=t.slice(0,n.index);const r=e.children;if(!(!Array.isArray(r)||r.length===0))for(;r.length;){const o=r[r.length-1];if(!o){r.pop();continue}if(o.type==="softbreak"||o.type==="hardbreak"){r.pop();continue}if(o.type==="text"){const i=String(o.content??"");if(/^[ \t\r\n\d.)]*$/.test(i)){r.pop();continue}const s=i.replace(/[ \t\r\n\d.)]+$/g,"");s!==i&&(s?o.content=s:r.pop())}break}}function Io(e,t,n){const r=e[t],o=[];let i=t+1;for(;i<e.length&&e[i].type!=="bullet_list_close"&&e[i].type!=="ordered_list_close";)if(e[i].type==="list_item_open"){const s=[];let l=i+1;for(;l<e.length&&e[l].type!=="list_item_close";)if(e[l].type==="paragraph_open"){const c=e[l+1],u=e[l-1];t4(c),e4(c),s.push({type:"paragraph",children:Xe(c.children||[],String(c.content??""),u,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:String(c.content??"")}),l+=3}else if(e[l].type==="blockquote_open"){const[c,u]=Do(e,l,n);s.push(c),l=u}else if(e[l].type==="bullet_list_open"||e[l].type==="ordered_list_open"){const[c,u]=Io(e,l,n);s.push(c),l=u}else{const c=za(e,l,n,qa);c?(s.push(c[0]),l=c[1]):l+=1}o.push({type:"list_item",children:s,raw:s.map(c=>c.raw).join("")}),i=l+1}else i+=1;return[{type:"list",ordered:r.type==="ordered_list_open",start:(()=>{if(r.attrs&&r.attrs.length){const s=r.attrs.find(l=>l[0]==="start");if(s){const l=Number(s[1]);return Number.isFinite(l)&&l!==0?l:1}}})(),items:o,raw:o.map(s=>s.raw).join(`
62
+ `)},i+1]}function n4(e,t,n,r){const o=String(n[1]??"note"),i=String(n[2]??o.charAt(0).toUpperCase()+o.slice(1)),s=[];let l=t+1;for(;l<e.length&&e[l].type!=="container_close";)if(e[l].type==="paragraph_open"){const c=e[l+1];c&&s.push({type:"paragraph",children:Xe(c.children||[],String(c.content??""),void 0,{requireClosingStrong:r?.requireClosingStrong,customHtmlTags:r?.customHtmlTags}),raw:String(c.content??"")}),l+=3}else if(e[l].type==="bullet_list_open"||e[l].type==="ordered_list_open"){const[c,u]=Io(e,l,r);s.push(c),l=u}else if(e[l].type==="blockquote_open"){const[c,u]=Do(e,l,r);s.push(c),l=u}else{const c=dl(e,l,r);c?(s.push(c[0]),l=c[1]):l++}return[{type:"admonition",kind:o,title:i,children:s,raw:`:::${o} ${i}
63
+ ${s.map(c=>c.raw).join(`
64
+ `)}
65
+ :::`},l+1]}function r4(e,t,n){const r=e[t];let o="note",i="";const s=r.type.match(/^container_(\w+)_open$/);if(s){o=s[1];const a=String(r.info??"").trim();if(a&&!a.startsWith(":::")){const f=a.replace(new RegExp(`^${o}`),"").trim();f&&(i=f)}}else{const a=String(r.info??"").trim(),f=/^:{1,3}\s*(warning|info|note|tip|danger|caution)\s*(.*)$/i.exec(a);f&&(o=f[1],i=String(f[2]??""))}i||(i=o.charAt(0).toUpperCase()+o.slice(1));const l=[];let c=t+1;const u=new RegExp(`^container_${o}_close$`);for(;c<e.length&&e[c].type!=="container_close"&&!u.test(e[c].type);)if(e[c].type==="paragraph_open"){const a=e[c+1];if(a){const f=a.children||[];let p=-1;for(let d=f.length-1;d>=0;d--){const g=f[d];if(g.type==="text"&&/:+/.test(g.content)){p=d;break}}const h=p!==-1?f.slice(0,p):f;l.push({type:"paragraph",children:Xe(h||[],void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:String(a.content??"").replace(/\n:+$/,"").replace(/\n\s*:::\s*$/,"")})}c+=3}else if(e[c].type==="bullet_list_open"||e[c].type==="ordered_list_open"){const[a,f]=Io(e,c,n);l.push(a),c=f}else if(e[c].type==="blockquote_open"){const[a,f]=Do(e,c,n);l.push(a),c=f}else{const a=dl(e,c,n);a?(l.push(a[0]),c=a[1]):c++}return[{type:"admonition",kind:o,title:i,children:l,raw:`:::${o} ${i}
66
+ ${l.map(a=>a.raw).join(`
67
+ `)}
68
+ :::`},c+1]}const o4=/^::: ?(warning|info|note|tip|danger|caution|error) ?(.*)$/;function i4(e,t,n){const r=e[t];if(r.type!=="container_open")return null;const o=o4.exec(String(r.info??""));return o?n4(e,t,o,n):null}const qa={parseContainer:(e,t,n)=>r4(e,t,n),matchAdmonition:i4};function Do(e,t,n){const r=[];let o=t+1;for(;o<e.length&&e[o].type!=="blockquote_close";)switch(e[o].type){case"paragraph_open":{const i=e[o+1];r.push({type:"paragraph",children:Xe(i.children||[],String(i.content??""),void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:String(i.content??"")}),o+=3;break}case"bullet_list_open":case"ordered_list_open":{const[i,s]=Io(e,o,n);r.push(i),o=s;break}case"blockquote_open":{const[i,s]=Do(e,o,n);r.push(i),o=s;break}default:{const i=za(e,o,n,qa);i?(r.push(i[0]),o=i[1]):o++;break}}return[{type:"blockquote",children:r,raw:r.map(i=>i.raw).join(`
69
+ `)},o+1]}function s4(e){if(e.info?.startsWith("diff"))return ja(e);const t=String(e.content??""),n=t.match(/ type="application\/vnd\.ant\.([^"]+)"/);n?.[1]&&(e.content=t.replace(/<antArtifact[^>]*>/g,"").replace(/<\/antArtifact>/g,""));const r=Array.isArray(e.map)&&e.map.length===2;return{type:"code_block",language:n?n[1]:String(e.info??""),code:String(e.content??""),raw:String(e.content??""),loading:!r}}function l4(e,t,n){const r=[];let o=t+1,i=[],s=[];for(;o<e.length&&e[o].type!=="dl_close";)if(e[o].type==="dt_open"){const l=e[o+1];i=Xe(l.children||[],void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),o+=3}else if(e[o].type==="dd_open"){let l=o+1;for(s=[];l<e.length&&e[l].type!=="dd_close";)if(e[l].type==="paragraph_open"){const c=e[l+1];s.push({type:"paragraph",children:Xe(c.children||[],String(c.content??""),void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:String(c.content??"")}),l+=3}else l++;i.length>0&&(r.push({type:"definition_item",term:i,definition:s,raw:`${i.map(c=>c.raw).join("")}: ${s.map(c=>c.raw).join(`
70
+ `)}`}),i=[]),o=l+1}else o++;return[{type:"definition_list",items:r,raw:r.map(l=>l.raw).join(`
71
+ `)},o+1]}function c4(e,t,n){const r=e[t].meta??{},o=String(r?.label??"0"),i=[];let s=t+1;for(;s<e.length&&e[s].type!=="footnote_close";)if(e[s].type==="paragraph_open"){const l=e[s+1],c=l.children||[];e[s+2].type==="footnote_anchor"&&c.push(e[s+2]),i.push({type:"paragraph",children:Xe(l.children||[],String(l.content??""),void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:String(l.content??"")}),s+=3}else s++;return[{type:"footnote",id:o,children:i,raw:`[^${o}]: ${i.map(l=>l.raw).join(`
72
+ `)}`},s+1]}function a4(e,t,n){const r=e[t],o=r?.attrs,i=Array.isArray(o)&&o.length?Object.fromEntries(o.filter(a=>Array.isArray(a)&&a.length>=1&&a[0]).map(([a,f])=>[String(a),f==null||f===""?!0:String(f)])):void 0,s=String(r.tag?.substring(1)??"1"),l=Number.parseInt(s,10),c=e[t+1],u=String(c.content??"");return{type:"heading",level:l,text:u,...i?{attrs:i}:{},children:Xe(c.children||[],u,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:u}}const u4=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),kh=new Map;function f4(e){const t=String(e.content??"");if(/^\s*<!--/.test(t)||/^\s*<!/.test(t)||/^\s*<\?/.test(t))return{type:"html_block",content:t,raw:t,tag:"",loading:!1};const n=(t.match(/^\s*<([A-Z][\w:-]*)/i)?.[1]||"").toLowerCase();if(!n)return{type:"html_block",content:t,raw:t,tag:"",loading:!1};const r=/^\s*<[^>]*\/\s*>/.test(t),o=u4.has(n);let i=kh.get(n);i||(i=new RegExp(`<\\s*\\/\\s*${n}\\s*>`,"i"),kh.set(n,i));const s=i.test(t),l=!(o||r||s);return{type:"html_block",content:l?`${t.replace(/<[^>]*$/,"")}
73
+ </${n}>`:t,raw:t,tag:n,loading:l}}function h4(e){const t=String(e.content??""),n=e.raw==="$$"?`$$${t}$$`:String(e.raw??"");return{type:"math_block",content:t,loading:!!e.loading,raw:n,markup:e.markup}}function d4(e){if(!e)return"left";for(const t of e){if(!t)continue;const[n,r]=t;if(!r)continue;const o=String(r).trim().toLowerCase();if(n==="style"){const i=/text-align\s*:\s*(left|right|center)/i.exec(o);if(i)return i[1].toLowerCase()}}return"left"}function p4(e,t,n){let r=t+1,o=null;const i=[];let s=!1;for(;r<e.length&&e[r].type!=="table_close";)if(e[r].type==="thead_open")s=!0,r++;else if(e[r].type==="thead_close")s=!1,r++;else if(e[r].type==="tbody_open"||e[r].type==="tbody_close")r++;else if(e[r].type==="tr_open"){const l=[];let c=r+1;for(;c<e.length&&e[c].type!=="tr_close";)if(e[c].type==="th_open"||e[c].type==="td_open"){const a=e[c].type==="th_open",f=e[c+1],p=String(f.content??""),h=d4(e[c].attrs);l.push({type:"table_cell",header:a||s,children:Xe(f.children||[],p,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:p,align:h}),c+=3}else c++;const u={type:"table_row",cells:l,raw:l.map(a=>a.raw).join("|")};s?o=u:i.push(u),r=c+1}else r++;return o||(o={type:"table_row",cells:[],raw:""}),[{type:"table",header:o,rows:i,loading:e[t].loading??!1,raw:[o,...i].map(l=>l.raw).join(`
74
+ `)},r+1]}function g4(){return{type:"thematic_break",raw:"---"}}let Zl=null;const Jl=new WeakMap;function xh(){return Zl||(Zl={allowedTagSet:pl(),customTagSet:null}),Zl}function m4(e){const t=String(e??"").trim();if(!t)return"";const n=t.match(/^[<\s/]*([A-Z][\w-]*)/i);return n?n[1].toLowerCase():""}function y4(e){if(!e||e.length===0)return xh();const t=Jl.get(e);if(t)return t;const n=e.map(m4).filter(Boolean);if(!n.length){const o=xh();return Jl.set(e,o),o}const r={allowedTagSet:pl({customHtmlTags:e}),customTagSet:new Set(n)};return Jl.set(e,r),r}function _4(e,t,n){const r=e[t].attrs;let o="";const i={};if(r){for(const[f,p]of r)if(f==="class"){const h=p.match(/(?:\s|^)vmr-container-(\S+)/);h&&(o=h[1])}else if(f.startsWith("data-")){const h=f.slice(5);try{i[h]=JSON.parse(p)}catch{i[h]=p}}}const s=[];let l=t+1;for(;l<e.length&&e[l].type!=="vmr_container_close";)if(e[l].type==="paragraph_open"){const f=e[l+1];if(f){const p=f.children||[];s.push({type:"paragraph",children:Xe(p||[],void 0,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:String(f.content??"")})}l+=3}else if(e[l].type==="bullet_list_open"||e[l].type==="ordered_list_open"){const[f,p]=Io(e,l,n);s.push(f),l=p}else if(e[l].type==="blockquote_open"){const[f,p]=Do(e,l,n);s.push(f),l=p}else{const f=dl(e,l,n);f?(s.push(f[0]),l=f[1]):l++}const c=l<e.length&&e[l].type==="vmr_container_close",u=c||!!n?.final;let a=`::: ${o}`;return Object.keys(i).length>0&&(a+=` ${JSON.stringify(i)}`),a+=`
75
+ `,s.length>0&&(a+=s.map(f=>f.raw).join(`
76
+ `),a+=`
77
+ `),a+=":::",[{type:"vmr_container",name:o,loading:!u,attrs:Object.keys(i).length>0?i:void 0,children:s,raw:a},c?l+1:l]}function Uc(e){let t=!1,n=!1;for(let r=0;r<e.length;r++){const o=e[r];if(o==="\\"){r++;continue}if(!n&&o==="'"){t=!t;continue}if(!t&&o==='"'){n=!n;continue}if(!t&&!n&&o===">")return r}return-1}function v4(e){return e.replace(/^\r?\n/,"").replace(/\r?\n$/,"")}function b4(e,t){if(!e||!t)return e;const n=new RegExp(String.raw`[\t ]*<\s*\/\s*${t}[^>]*$`,"i");return e.replace(n,"")}function w4(e,t,n){if(!e||!t)return null;const r=t.toLowerCase(),o=new RegExp(String.raw`<\s*${r}(?=\s|>|/)`,"gi");o.lastIndex=Math.max(0,n||0);const i=o.exec(e);if(!i||i.index==null)return null;const s=i.index,l=e.slice(s),c=Uc(l);if(c===-1)return null;const u=s+c;if(/\/\s*>\s*$/.test(l.slice(0,c+1))){const d=u+1;return{raw:e.slice(s,d),end:d}}let a=1,f=u+1;const p=d=>{const g=e.slice(d);return new RegExp(String.raw`^<\s*${r}(?=\s|>|/)`,"i").test(g)},h=d=>{const g=e.slice(d);return new RegExp(String.raw`^<\s*\/\s*${r}(?=\s|>)`,"i").test(g)};for(;f<e.length;){const d=e.indexOf("<",f);if(d===-1)return{raw:e.slice(s),end:e.length};if(h(d)){const g=e.indexOf(">",d);if(g===-1)return null;if(a--,a===0){const m=g+1;return{raw:e.slice(s,m),end:m}}f=g+1;continue}if(p(d)){const g=Uc(e.slice(d));if(g===-1)return null;a++,f=d+g+1;continue}f=d+1}return{raw:e.slice(s),end:e.length}}function Vc(e){return Number.isFinite(e)&&e>0?e:0}function k4(e,t){const n=Vc(t);if(!e||n<=0)return 0;let r=0;for(let o=0;o<e.length;o++)if(e[o]===`
78
+ `&&(r++,r===n))return o+1;return e.length}function dl(e,t,n){const r=e[t];switch(r.type){case"heading_open":return[a4(e,t,n),t+3];case"code_block":return[s4(r),t+1];case"fence":return[ja(r),t+1];case"math_block":return[h4(r),t+1];case"html_block":{const o=f4(r),i=o.tag?y4(n?.customHtmlTags):null;if(o.tag&&o.loading&&i&&!i.allowedTagSet.has(o.tag)){const s=String(r?.content??"").replace(/\n+$/,"");return[{type:"paragraph",children:s?[{type:"text",content:s,raw:s}]:[],raw:s},t+1]}if(o.tag&&i?.customTagSet?.has(o.tag)){const s=o.tag,l=String(n?.__sourceMarkdown??""),c=Number(n?.__customHtmlBlockCursor??0),u=Array.isArray(r.map)?k4(l,Number(r.map?.[0]??0)):0,a=w4(l,s,Math.max(Vc(c),Vc(u)));a&&(n.__customHtmlBlockCursor=a.end);const f=String(a?.raw??o.content??""),p=Uc(f),h=new RegExp(`<\\s*\\/\\s*${s}\\s*>`,"i").exec(f),d=h?h.index:-1;let g="";p!==-1&&(d!==-1&&p<d?g=f.slice(p+1,d):g=f.slice(p+1)),d===-1&&(g=b4(g,s));const m=[],x=p!==-1?f.slice(0,p+1):f,_=/\s([\w:-]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'>]+)))?/g;let y;for(;(y=_.exec(x))!==null;){const b=y[1];if(!b||b.toLowerCase()===s)continue;const v=y[2]||y[3]||y[4]||"";m.push([b,v])}return[{type:s,tag:s,content:v4(g),raw:String(a?.raw??o.raw??f),loading:o.loading,attrs:m.length?m:void 0},t+1]}return[o,t+1]}case"table_open":{const[o,i]=p4(e,t,n);return[o,i]}case"dl_open":{const[o,i]=l4(e,t,n);return[o,i]}case"footnote_open":{const[o,i]=c4(e,t,n);return[o,i]}case"hr":return[g4(),t+1]}return null}function za(e,t,n,r){const o=dl(e,t,n);if(o)return o;switch(e[t].type){case"container_warning_open":case"container_info_open":case"container_note_open":case"container_tip_open":case"container_danger_open":case"container_caution_open":case"container_error_open":if(r?.parseContainer)return r.parseContainer(e,t,n);break;case"container_open":if(r?.matchAdmonition){const i=r.matchAdmonition(e,t,n);if(i)return i}break;case"vmr_container_open":return _4(e,t,n)}return null}function x4(){return{type:"hardbreak",raw:`\\
79
+ `}}function C4(e,t,n){const r=e[t+1],o=String(r.content??"");return{type:"paragraph",children:Xe(r.children||[],o,void 0,{requireClosingStrong:n?.requireClosingStrong,customHtmlTags:n?.customHtmlTags}),raw:o}}const Ch=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr","a","abbr","b","bdi","bdo","button","cite","code","data","del","dfn","em","font","i","ins","kbd","label","mark","q","s","samp","small","span","strong","sub","sup","time","u","var","article","aside","blockquote","div","details","figcaption","figure","footer","header","h1","h2","h3","h4","h5","h6","li","main","nav","ol","p","pre","section","summary","table","tbody","td","th","thead","tr","ul","svg","g","path"]);function E4(e){const t=String(e??"").trim();if(!t)return"";const n=t.match(/^[<\s/]*([A-Z][\w-]*)/i);return n?n[1].toLowerCase():""}function pl(e){const t=e?.customHtmlTags;if(!Array.isArray(t)||t.length===0)return Ch;const n=new Set(Ch);for(const r of t){const o=E4(r);o&&n.add(o)}return n}function A4(e){const t=l=>l===" "||l===" "||l===`
80
+ `||l==="\r",n=l=>{if(!l||l[0]!=="<"||l.includes(">"))return!1;let c=1;if(c<l.length&&t(l[c])||l[c]==="/"&&(c++,c<l.length&&t(l[c])))return!1;const u=g=>{const m=g.charCodeAt(0);return m>=65&&m<=90||m>=97&&m<=122},a=g=>{const m=g.charCodeAt(0);return m>=48&&m<=57},f=g=>g==="!"||u(g),p=g=>u(g)||a(g)||g===":"||g==="-",h=g=>u(g)||a(g)||g==="_"||g==="."||g===":"||g==="-",d=h;if(c>=l.length||!f(l[c]))return!1;for(c++;c<l.length&&p(l[c]);)c++;for(;c<l.length;){for(;c<l.length&&t(l[c]);)c++;if(c>=l.length)return!0;if(l[c]==="/"){for(c++;c<l.length&&t(l[c]);)c++;return c>=l.length}if(!h(l[c]))return!1;for(c++;c<l.length&&d(l[c]);)c++;for(;c<l.length&&t(l[c]);)c++;if(c<l.length&&l[c]==="="){for(c++;c<l.length&&t(l[c]);)c++;if(c>=l.length)return!0;const g=l[c];if(g==='"'||g==="'"){for(c++;c<l.length&&l[c]!==g;)c++;if(c>=l.length)return!0;c++}else{for(;c<l.length;){const m=l[c];if(t(m)||m==="<"||m===">"||m==='"'||m==="'"||m==="`")break;c++}if(c>=l.length)return!0}}}return!0},r=(l,c)=>{let u=!1,a="",f=0;const p=_=>_===" "||_===" ",h=_=>{let y=0;for(;y<_.length&&p(_[y]);)y++;const b=_[y];if(b!=="`"&&b!=="~")return null;let v=y;for(;v<_.length&&_[v]===b;)v++;const S=v-y;return S<3?null:{markerChar:b,markerLen:S,rest:_.slice(v)}},d=_=>{let y=0;for(;y<_.length&&p(_[y]);)y++;let b=!1;for(;y<_.length&&_[y]===">";)for(b=!0,y++;y<_.length&&p(_[y]);)y++;return b?_.slice(y):null},g=_=>{const y=h(_);if(y)return y;const b=d(_);return b==null?null:h(b)};let m=0;const x=l.split(/\r?\n/);for(const _ of x){const y=m,b=m+_.length;if(c<y)break;const v=g(_);if(v){const S=v.markerChar,w=v.markerLen;u?S===a&&w>=f&&/^\s*$/.test(v.rest)&&(u=!1,a="",f=0):(u=!0,a=S,f=w)}if(c<=b)break;m=b+1}return u},o=String(e??""),i=o.lastIndexOf("<");if(i===-1||r(o,i))return o;if(i>0){const l=o[i-1],c=l===" "||l===" "||l===`
81
+ `||l==="\r",u=o[i-2];if(!c&&!((l==="n"||l==="r")&&u==="\\"))return o}const s=o.slice(i);return s.includes(">")||s.length>1&&(s[1]===" "||s[1]===" "||s[1]===`
82
+ `||s[1]==="\r")||!n(s)?o:o.slice(0,i)}function S4(e,t){if(!e||!t.length)return e;const n=new Set(t.map(a=>String(a??"").toLowerCase()));if(!n.size)return e;const r=a=>a===" "||a===" ",o=a=>{const f=a.charCodeAt(0);return f>=65&&f<=90||f>=97&&f<=122||f>=48&&f<=57||a==="_"||a==="-"},i=a=>{let f=0;for(;f<a.length&&r(a[f]);)f++;return a.slice(f)},s=(a,f,p)=>{const h=p.toLowerCase();let d=a.indexOf("<",f);for(;d!==-1;){let g=d+1;for(;g<a.length&&r(a[g]);)g++;if(g>=a.length||a[g]!=="/"){d=a.indexOf("<",d+1);continue}for(g++;g<a.length&&r(a[g]);)g++;if(g+h.length>a.length){d=a.indexOf("<",d+1);continue}let m=!0;for(let _=0;_<h.length;_++){const y=a[g+_];if((y>="A"&&y<="Z"?String.fromCharCode(y.charCodeAt(0)+32):y)!==h[_]){m=!1;break}}if(!m){d=a.indexOf("<",d+1);continue}let x=g+h.length;if(x<a.length&&o(a[x])){d=a.indexOf("<",d+1);continue}for(;x<a.length&&r(a[x]);)x++;if(x<a.length&&a[x]===">")return!0;d=a.indexOf("<",d+1)}return!1},l=a=>{let f=0;for(;f<a.length&&r(a[f]);)f++;if(f>=a.length||a[f]!=="<")return a;for(f++;f<a.length&&r(a[f]);)f++;if(f>=a.length||a[f]==="/")return a;const p=f;for(;f<a.length&&o(a[f]);)f++;if(f===p)return a;const h=a.slice(p,f).toLowerCase();if(!n.has(h))return a;const d=a.indexOf(">",f);if(d===-1||s(a,d+1,h))return a;const g=i(a.slice(d+1));return g?`${a.slice(0,d+1)}
83
+ ${g}`:a};let c="",u=0;for(;u<e.length;){const a=e.indexOf(`
84
+ `,u);if(a===-1){c+=l(e.slice(u));break}const f=a>u&&e[a-1]==="\r",p=f?a-1:a,h=e.slice(u,p);c+=l(h),c+=f?`\r
85
+ `:`
86
+ `,u=a+1}return c}function T4(e,t){if(!e||!t.length)return e;const n=new Set(t.map(A=>String(A??"").toLowerCase()));if(!n.size)return e;const r=A=>A===" "||A===" ",o=A=>{if(!A)return!1;if(A[0]===" ")return!0;let E=0;for(let C=0;C<A.length;C++){const M=A[C];if(M===" "){if(E++,E>=4)return!0;continue}if(M===" ")return!0;break}return!1},i=A=>{const E=A.charCodeAt(0);return E>=65&&E<=90||E>=97&&E<=122||E>=48&&E<=57||A==="_"||A==="-"||A===":"},s=A=>{let E=0;for(;E<A.length&&r(A[E]);)E++;return A.slice(E)},l=A=>{let E=0,C=!1,M=0;for(;E<A.length;){for(;E<A.length&&r(A[E]);)E++;if(E>=A.length||A[E]!==">")break;for(C=!0,E++;E<A.length&&r(A[E]);)E++;M=E}if(!C)return null;const R=A.slice(0,M);return{prefix:R,key:R.replace(/[ \t]+$/,""),content:A.slice(M)}},c=A=>s(A).startsWith("<"),u=A=>{for(let E=0;E<A.length;E++){const C=A[E];if(C!==" "&&C!==" ")return!1}return!0},a=A=>{if(o(A))return"";const E=s(A);if(!E.startsWith("<"))return"";let C=1;for(;C<E.length&&r(E[C]);)C++;if(C>=E.length||E[C]==="/"||E[C]==="!"||E[C]==="?")return"";const M=C;for(;C<E.length&&i(E[C]);)C++;if(C===M)return"";const R=E.slice(M,C).toLowerCase();if(!n.has(R))return"";const P=E[C];return P&&P!==" "&&P!==" "&&P!==">"&&P!=="/"?"":R},f=A=>{if(o(A))return null;const E=s(A);if(!E.startsWith("<"))return null;let C=1;for(;C<E.length&&r(E[C]);)C++;if(C>=E.length)return null;const M=E[C]==="/";if(M)for(C++;C<E.length&&r(E[C]);)C++;const R=E[C];if(!R||R==="!"||R==="?")return null;const P=C;for(;C<E.length&&i(E[C]);)C++;if(C===P)return null;const B=E.slice(P,C).toLowerCase();if(!n.has(B))return null;const D=E[C];if(D&&D!==" "&&D!==" "&&D!==">"&&D!=="/")return null;if(M)return{type:"close",name:B};if(/\/\s*>\s*$/.test(E))return{type:"open",name:B,complete:!0};const I=E.indexOf(">",C);if(I!==-1){const O=E.slice(I+1);if(new RegExp(`<\\s*\\/\\s*${B}\\s*>`,"i").test(O))return{type:"open",name:B,complete:!0}}return{type:"open",name:B,complete:!1}};let p=!1,h="",d=0;const g=A=>{let E=0;for(;E<A.length&&r(A[E]);)E++;const C=A[E];if(C!=="`"&&C!=="~")return null;let M=E;for(;M<A.length&&A[M]===C;)M++;const R=M-E;return R<3?null:{markerChar:C,markerLen:R,rest:A.slice(M)}},m=A=>g(A);let x="",_=0,y=!0,b=!1,v=`
87
+ `;const S=[];let w="";for(;_<e.length;){const A=e.indexOf(`
88
+ `,_),E=A!==-1,C=E&&A>_&&e[A-1]==="\r",M=E?C?A-1:A:e.length,R=e.slice(_,M),P=E?C?`\r
89
+ `:`
90
+ `:"",B=l(R),D=B?.key??"",I=B?.content??R,O=m(I);O&&(p?O.markerChar===h&&O.markerLen>=d&&/^\s*$/.test(O.rest)&&(p=!1,h="",d=0):(p=!0,h=O.markerChar,d=O.markerLen));const F=S.length>0;if(!p&&!F&&a(I)&&!y&&!b&&(D&&w&&D===w?x+=`${D}${v}`:D||(x+=v)),x+=R,x+=P,P&&(v=P),!p){const K=f(I);if(K){if(K.type==="open")K.complete||S.push(K.name);else for(let Q=S.length-1;Q>=0;Q--)if(S[Q]===K.name){S.length=Q;break}}}const q=u(I);y=q,b=!q&&c(I),w=D,_=E?A+1:e.length}return x}function M4(e,t,n={}){const r=!!n.final;let o=(e??"").toString().replace(/([^\\])\r(ight|ho)/g,"$1\\r$2").replace(/([^\\])\n(abla|eq|ot|exists)/g,"$1\\n$2");if(r||(o.endsWith("- *")&&(o=o.replace(/- \*$/,"- \\*")),/(?:^|\n)\s*-\s*$/.test(o)?o=o.replace(/(?:^|\n)\s*-\s*$/,f=>f.startsWith(`
91
+ `)?`
92
+ `:""):/(?:^|\n)\s*--\s*$/.test(o)?o=o.replace(/(?:^|\n)\s*--\s*$/,f=>f.startsWith(`
93
+ `)?`
94
+ `:""):/(?:^|\n)\s*>\s*$/.test(o)?o=o.replace(/(?:^|\n)\s*>\s*$/,f=>f.startsWith(`
95
+ `)?`
96
+ `:""):/\n\s*[*+]\s*$/.test(o)?o=o.replace(/\n\s*[*+]\s*$/,`
97
+ `):/(?:^|\n)\s*\d+\s*$/.test(o)?/^\d+$/.test(o.trim())||(o=o.replace(/(?:^|\n)\s*\d+\s*$/,f=>f.startsWith(`
98
+ `)?`
99
+ `:"")):/(?:^|\n)\s*\d+[.)]\s+\*{1,3}\s*$/.test(o)?o=o.replace(/((?:^|\n)\s*\d+[.)]\s+)(\*{1,3})\s*$/,(f,p,h)=>`${p}${h.split("").map(()=>"\\*").join("")}`):/(?:^|\n)\s*\d+[.)]\s*$/.test(o)?o=o.replace(/(?:^|\n)\s*\d+[.)]\s*$/,f=>f.startsWith(`
100
+ `)?`
101
+ `:""):/\n[[(]\n*$/.test(o)&&(o=o.replace(/(\n\[|\n\()+\n*$/g,`
102
+ `))),n.customHtmlTags?.length&&o.includes("<")){const f=n.customHtmlTags.map(p=>String(p??"").trim()).filter(Boolean).map(p=>(p.match(/^[<\s/]*([A-Z][\w-]*)/i)?.[1]??"").toLowerCase()).filter(Boolean);if(f.length&&(o=S4(o,f),o=T4(o,f),o.includes("</")))for(const p of f){const h=new RegExp(String.raw`(^[\t ]*<\s*\/\s*${p}\s*>[\t ]*)(\r?\n)(?![\t ]*\r?\n|$)`,"gim");o=o.replace(h,"$1$2$2")}}r||(o=A4(o));const i=t.parse(o,{__markstreamFinal:r});if(!i||!Array.isArray(i))return[];const s=n.preTransformTokens,l=n.postTransformTokens;let c=i;s&&typeof s=="function"&&(c=s(c)||c);const u={...n,__sourceMarkdown:o,__customHtmlBlockCursor:0};let a=Eh(c,u);if(l&&typeof l=="function"){const f=l(c);if(Array.isArray(f)){const p=f[0],h=p?.type;p&&typeof h=="string"?a=Eh(f):a=f}}return n.debug&&console.log("Parsed Markdown Tree Structure:",a),a}function Eh(e,t){if(!e||!Array.isArray(e))return[];const n=[];let r=0;for(;r<e.length;){const o=za(e,r,t,qa);if(o){n.push(o[0]),r=o[1];continue}const i=e[r];switch(i.type){case"paragraph_open":n.push(C4(e,r,t)),r+=3;break;case"bullet_list_open":case"ordered_list_open":{const[s,l]=Io(e,r,t);n.push(s),r=l;break}case"blockquote_open":{const[s,l]=Do(e,r,t);n.push(s),r=l;break}case"footnote_anchor":{const s=i.meta??{},l=String(s.label??i.content??"");n.push({type:"footnote_anchor",id:l,raw:String(i.content??"")}),r++;break}case"hardbreak":n.push(x4()),r++;break;case"text":{const s=String(i.content??"");n.push({type:"paragraph",raw:s,children:s?[{type:"text",content:s,raw:s}]:[]}),r++;break}case"inline":n.push(...Xe(i.children||[],String(i.content??""),void 0,{requireClosingStrong:t?.requireClosingStrong,customHtmlTags:t?.customHtmlTags})),r+=1;break;default:r+=1;break}}return n}const Ah=[];function Sh(e=`editor-${Date.now()}`,t={}){const n=T3(t),r={"common.copy":"Copy"};let o;if(typeof t.i18n=="function")o=t.i18n;else if(t.i18n&&typeof t.i18n=="object"){const u=t.i18n;o=a=>u[a]??r[a]??a}else o=u=>r[u]??u;if(Array.isArray(t.plugin))for(const u of t.plugin){const a=u;if(Array.isArray(a)){const f=a[0],p=a[1];typeof f=="function"&&n.use(f,p)}else typeof a=="function"&&n.use(a)}if(Array.isArray(t.apply))for(const u of t.apply)try{u(n)}catch(a){console.error("[getMarkdown] apply function threw an error",a)}if(Ah.length)for(const u of Ah)if(Array.isArray(u)){const a=u[0],f=u[1];typeof a=="function"&&n.use(a,f)}else typeof u=="function"&&n.use(u);n.use(mw),n.use(vw),n.use(dw);const i=Rf.default??Rf;n.use(i),n.use(hw),n.use(fw),n.core.ruler.after("block","mark_fence_closed",u=>{const a=u,f=a.src,p=!!a.env?.__markstreamFinal,h=f.split(/\r?\n/);for(const d of a.tokens){if(d.type!=="fence"||!d.map||!d.markup)continue;const g=d.map[0],m=d.map[1],x=d.markup,_=x[0],y=x.length,b=h[Math.max(0,m-1)]??"";let v=0;for(;v<b.length&&(b[v]===" "||b[v]===" ");)v++;let S=0;for(;v+S<b.length&&b[v+S]===_;)S++;let w=v+S;for(;w<b.length&&(b[w]===" "||b[w]===" ");)w++;const A=p?!0:m>g+1&&S>=y&&w===b.length,E=d;E.meta=E.meta??{},E.meta.unclosed=!A,E.meta.closed=!!A}});const s=(u,a)=>{const f=u,p=f.pos;if(f.src[p]!=="~")return!1;const h=f.src[p-1],d=f.src[p+1];if(/\d/.test(h)&&/\d/.test(d)){if(!a){const g=f.push("text","",0);g.content="~"}return f.pos+=1,!0}return!1};n.inline.ruler.before("sub","wave",s),n.renderer.rules.fence=(u,a)=>{const f=u[a],p=String(f.info??"").trim(),h=String(f.content??""),d=btoa(unescape(encodeURIComponent(h))),g=String(p??"text");return`<div class="code-block" data-code="${d}" data-lang="${g}" id="${`editor-${e}-${a}-${g}`}">
103
+ <div class="code-header">
104
+ <span class="code-lang">${g.toUpperCase()}</span>
105
+ <button class="copy-button" data-code="${d}">${o("common.copy")}</button>
106
+ </div>
107
+ <div class="code-editor"></div>
108
+ </div>`};const l=/^\[(\d+)\]/,c=(u,a)=>{const f=u;if(f.src[f.pos]!=="[")return!1;const p=l.exec(f.src.slice(f.pos));if(!p)return!1;const h=f.src.slice(Math.max(0,f.pos-120),f.pos);if(/"[^"\n]{1,80}"\s*:\s*$/.test(h))return!1;const d=f.src.slice(f.pos+p[0].length);if(d.startsWith("](")||d.startsWith("(")||d.startsWith("["))return!1;if(!a){const g=p[1],m=f.push("reference","span",0);m.content=g,m.markup=p[0]}return f.pos+=p[0].length,!0};return n.inline.ruler.before("escape","reference",c),n.renderer.rules.reference=(u,a)=>{const p=String(u[a].content??"");return`<span class="reference-link" data-reference-id="${p}" role="button" tabindex="0" title="Click to view reference">${p}</span>`},n}var R4=Object.defineProperty,I4=Object.defineProperties,D4=Object.getOwnPropertyDescriptors,Bs=Object.getOwnPropertySymbols,Q0=Object.prototype.hasOwnProperty,Y0=Object.prototype.propertyIsEnumerable,Th=(e,t,n)=>t in e?R4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ce=(e,t)=>{for(var n in t||(t={}))Q0.call(t,n)&&Th(e,n,t[n]);if(Bs)for(var n of Bs(t))Y0.call(t,n)&&Th(e,n,t[n]);return e},st=(e,t)=>I4(e,D4(t)),e1=(e,t)=>{var n={};for(var r in e)Q0.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Bs)for(var r of Bs(e))t.indexOf(r)<0&&Y0.call(e,r)&&(n[r]=e[r]);return n},Re=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{l(n.next(c))}catch(u){o(u)}},s=c=>{try{l(n.throw(c))}catch(u){o(u)}},l=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);l((n=n.apply(e,t)).next())});const $4=["cite"],Be=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ls=Be(xe({__name:"BlockquoteNode",props:{node:{},indexKey:{},typewriter:{type:Boolean},customId:{}},emits:["copy"],setup(e){const t=e;return(n,r)=>(z(),J("blockquote",{class:"blockquote",dir:"auto",cite:e.node.cite},[Mo([t.node.children],()=>Pe(ue(Ut),{"index-key":`blockquote-${t.indexKey}`,nodes:t.node.children||[],"custom-id":t.customId,typewriter:t.typewriter,onCopy:r[0]||(r[0]=o=>n.$emit("copy",o))},null,8,["index-key","nodes","custom-id","typewriter"]),r,1)],8,$4))}}),[["__scopeId","data-v-eeadc8a3"]]);ls.install=e=>{e.component(ls.__name,ls)};const P4={class:"checkbox-node"},L4=["checked"],gn=Be(xe({__name:"CheckboxNode",props:{node:{}},setup:e=>(t,n)=>(z(),J("span",P4,[se("input",{type:"checkbox",checked:e.node.checked,disabled:"",class:"checkbox-input"},null,8,L4)]))}),[["__scopeId","data-v-8dc6c46f"]]);gn.install=e=>{e.component(gn.__name,gn)};const F4={class:"definition-list"},O4={class:"definition-term"},N4={class:"definition-desc"},cs=Be(xe({__name:"DefinitionListNode",props:{node:{},indexKey:{},typewriter:{type:Boolean},customId:{}},emits:["copy"],setup(e){const t=e;return(n,r)=>(z(),J("dl",F4,[(z(!0),J(Ee,null,ut(t.node.items,(o,i)=>(z(),J(Ee,{key:i},[se("dt",O4,[Pe(ue(Ut),{"index-key":`definition-term-${t.indexKey}-${i}`,nodes:o.term,"custom-id":t.customId,typewriter:t.typewriter,onCopy:r[0]||(r[0]=s=>n.$emit("copy",s))},null,8,["index-key","nodes","custom-id","typewriter"])]),se("dd",N4,[Pe(ue(Ut),{"index-key":`definition-desc-${t.indexKey}-${i}`,nodes:o.definition,"custom-id":t.customId,typewriter:t.typewriter,onCopy:r[1]||(r[1]=s=>n.$emit("copy",s))},null,8,["index-key","nodes","custom-id","typewriter"])])],64))),128))]))}}),[["__scopeId","data-v-f88691d6"]]);cs.install=e=>{e.component(cs.__name,cs)};const B4={class:"emoji-node"},Zt=Be(xe({__name:"EmojiNode",props:{node:{}},setup:e=>(t,n)=>(z(),J("span",B4,Je(e.node.name),1))}),[["__scopeId","data-v-de55dc97"]]);Zt.install=e=>{e.component(Zt.__name,Zt)};const H4="__global__",Xl="__MARKSTREAM_VUE_CUSTOM_COMPONENTS_STORE__",Kc=(()=>{const e=globalThis;if(e[Xl])return e[Xl];const t={scopedCustomComponents:{},revision:Vr(0)};return e[Xl]=t,t})(),Ti=Kc.revision;function Et(e){const t=Kc.scopedCustomComponents[H4]||{};if(!e)return t;const n=Kc.scopedCustomComponents[e]||{};return t&&Object.keys(t).length!==0?n&&Object.keys(n).length!==0?Ce(Ce({},t),n):t:n}const j4=["id"],q4=["title"],Jt=Be(xe({__name:"FootnoteReferenceNode",props:{node:{}},setup(e){const t=`#footnote-${e.node.id}`;function n(){if(typeof document>"u")return;const r=document.querySelector(t);r?r.scrollIntoView({behavior:"smooth"}):console.warn(`Element with href: ${t} not found`)}return(r,o)=>(z(),J("sup",{id:`fnref-${e.node.id}`,class:"footnote-reference",onClick:n},[se("span",{href:t,title:`查看脚注 ${e.node.id}`,class:"footnote-link cursor-pointer"},"["+Je(e.node.id)+"]",9,q4)],8,j4))}}),[["__scopeId","data-v-01af0fee"]]);Jt.install=e=>{e.component(Jt.__name,Jt)};const z4=new Set(["onclick","onerror","onload","onmouseover","onmouseout","onmousedown","onmouseup","onkeydown","onkeyup","onfocus","onblur","onsubmit","onreset","onchange","onselect","ondblclick","ontouchstart","ontouchend","ontouchmove","ontouchcancel","onwheel","onscroll","oncopy","oncut","onpaste","oninput","oninvalid","onreset","onsearch","onsubmit"]),W4=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),U4=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]),Mh=/<([a-z][a-z0-9-]*)\b[^>]*>/gi,V4=new Set(["script"]),K4=new Set(["href","src","srcset","xlink:href","formaction"]),t1=(()=>{try{return!1}catch{}return!1})();function Ql(e){t1&&console.warn(e)}function G4(e){const t=(function(n){let r="";for(const o of n){const i=o.charCodeAt(0);i<=31||i===127||/\s/u.test(o)||(r+=o)}return r})(e).toLowerCase();return!(!t.startsWith("javascript:")&&!t.startsWith("vbscript:"))||!!t.startsWith("data:")&&!(t.startsWith("data:image/")||t.startsWith("data:video/")||t.startsWith("data:audio/"))}function Rh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function n1(e,t){const n=e.toLowerCase();return!U4.has(n)&&(Rh(t,n)||Rh(t,e))}function Z4(e,t){const n=t.toLowerCase();if(["checked","disabled","readonly","required","autofocus","multiple","hidden"].includes(n))return e==="true"||e===""||e===t;if(["value","min","max","step","width","height","size","maxlength"].includes(n)){const r=Number(e);if(e!==""&&!Number.isNaN(r))return r}return e}function Ih(e){return e.trim().length>0}function Yl(e,t,n,r,o){if(V4.has(e.toLowerCase()))return null;const i=(function(c){const u={};for(const[a,f]of Object.entries(c)){const p=a.toLowerCase();z4.has(p)||K4.has(p)&&f&&G4(f)||(u[a]=f)}return u})(t),s=i.key,l=s!=null&&s!==""?s:o;if(n1(e,r)){const c=r[e]||r[e.toLowerCase()],u=(function(a){const f={};for(const[p,h]of Object.entries(a))f[p]=Z4(h,p);return f})(i);return lt(c,st(Ce({},u),{key:l}),n.length>0?n:void 0)}return lt(e,st(Ce({},i),{innerHTML:void 0,key:l}),n.length>0?n:void 0)}function r1(e,t){if(!e||!e.includes("<")||!t||Object.keys(t).length===0)return!1;let n;for(Mh.lastIndex=0;(n=Mh.exec(e))!==null;)if(n1(n[1],t))return!0;return!1}function Hs(e,t){if(!e)return[];try{return(function(o,i){let s=0;const l=[],c=[];for(const u of o)if(u.type==="text")(l.length>0?l[l.length-1].children:c).push(u.content);else if(u.type==="self_closing"){const a=Yl(u.tagName,u.attrs||{},[],i,"ms-html-"+s++),f=l.length>0?l[l.length-1].children:c;a!=null&&f.push(a)}else if(u.type==="tag_open")l.push({tagName:u.tagName,children:[],attrs:u.attrs,autoKey:"ms-html-"+s++});else if(u.type==="tag_close"){const a=u.tagName.toLowerCase();let f=-1;for(let p=l.length-1;p>=0;p--)if(l[p].tagName.toLowerCase()===a){f=p;break}if(f!==-1)for(;l.length>f;){const p=l.pop(),h=Yl(p.tagName,p.attrs||{},p.children,i,p.autoKey);l.length>0?h!=null&&l[l.length-1].children.push(h):h!=null&&c.push(h),p.tagName.toLowerCase()!==a&&l.length>f&&Ql(`Auto-closing unclosed tag: <${p.tagName}>`)}else Ql(`Ignoring closing tag with no matching opening tag: </${u.tagName}>`)}for(;l.length>0;){const u=l.pop(),a=Yl(u.tagName,u.attrs||{},u.children,i,u.autoKey);l.length>0?a!=null&&l[l.length-1].children.push(a):a!=null&&c.push(a),Ql(`Auto-closing unclosed tag: <${u.tagName}>`)}return c})((function(o){var i,s,l;const c=[];let u=0;for(;u<o.length;){if(o.startsWith("<!--",u)){const g=o.indexOf("-->",u);if(g!==-1){u=g+3;continue}break}const a=o.indexOf("<",u);if(a===-1){if(u<o.length){const g=o.slice(u);Ih(g)&&c.push({type:"text",content:g})}break}if(a>u){const g=o.slice(u,a);Ih(g)&&c.push({type:"text",content:g})}if(o.startsWith("![CDATA[",a+1)){const g=o.indexOf("]]>",a);if(g!==-1){c.push({type:"text",content:o.slice(a,g+3)}),u=g+3;continue}break}if(o.startsWith("!",a+1)){const g=o.indexOf(">",a);if(g!==-1){u=g+1;continue}break}const f=o.indexOf(">",a);if(f===-1)break;const p=o.slice(a+1,f).trim(),h=p.startsWith("/"),d=p.endsWith("/");if(h){const g=p.slice(1).trim();c.push({type:"tag_close",tagName:g})}else{const g=p.indexOf(" ");let m,x="";g===-1?m=d?p.slice(0,-1).trim():p.trim():(m=p.slice(0,g).trim(),x=p.slice(g+1));const _={};if(x){const y=/([^\s=]+)(?:=(?:"([^"]*)"|'([^']*)'|(\S*)))?/g;let b;for(;(b=y.exec(x))!==null;){const v=b[1],S=(l=(s=(i=b[2])!=null?i:b[3])!=null?s:b[4])!=null?l:"";v&&!v.endsWith("/")&&(_[v]=S)}}c.push({type:d||W4.has(m.toLowerCase())?"self_closing":"tag_open",tagName:m,attrs:_})}u=f+1}return c})(e),t)}catch(r){return n=r,t1&&console.error("Failed to parse HTML to VNodes:",n),null}var n}const Xt=Be(xe({__name:"HtmlInlineNode",props:{node:{},customId:{}},setup(e){const t=e,n=le(()=>(Ti.value,Et(t.customId))),r=xe({name:"DynamicRenderer",props:{nodes:{type:Array,required:!0}},render(){return this.nodes}}),o=le(()=>{const p=t.node.content;if(!p)return{mode:"html",content:""};if(t.node.loading&&t.node.autoClosed){const d=Hs(p,n.value);if(d!==null)return{mode:"dynamic",nodes:d}}if(!r1(p,n.value))return{mode:"html",content:p};const h=Hs(p,n.value);return h===null?{mode:"html",content:p}:{mode:"dynamic",nodes:h}}),i=de(null),s=typeof window<"u",l=de({mode:"",content:"",el:null});let c=null;function u(p,h){if(!s||!i.value)return;const d=i.value,g=l.value;if(g.el!==d||g.mode!==p||g.content!==h){if(p==="text")d.textContent=h;else{const m=(!c&&s&&(c=document.createElement("template")),c);if(m){m.innerHTML=h;const x=m.content.cloneNode(!0);typeof d.replaceChildren=="function"?d.replaceChildren(x):(d.innerHTML="",d.appendChild(x))}else d.innerHTML=h}l.value={mode:p,content:h,el:d}}}function a(){u("html",t.node.content)}function f(){u("text",t.node.content)}return Ne(()=>[t.node.content,t.node.loading,t.node.autoClosed,o.value.mode],()=>{o.value.mode==="html"&&(t.node.loading&&!t.node.autoClosed?f():a())}),Ei(()=>{o.value.mode==="html"&&(t.node.loading&&!t.node.autoClosed?f():a())}),wn(()=>{i.value&&(i.value.innerHTML="",l.value={mode:"",content:"",el:null})}),(p,h)=>o.value.mode==="dynamic"?(z(),J("span",{key:0,class:nt(["html-inline-node",{"html-inline-node--loading":t.node.loading}])},[Pe(ue(r),{nodes:o.value.nodes},null,8,["nodes"])],2)):(z(),J("span",{key:1,ref_key:"containerRef",ref:i,class:nt(["html-inline-node",{"html-inline-node--loading":t.node.loading}])},null,2))}}),[["__scopeId","data-v-4add5e85"]]);Xt.install=e=>{e.component(Xt.__name,Xt)};const J4={class:"inline text-[85%] px-1 py-0.5 rounded font-mono bg-[hsl(var(--secondary))] whitespace-normal break-words max-w-full before:content-[''] after:content-['']"},Ct=xe({__name:"InlineCodeNode",props:{node:{}},setup:e=>(t,n)=>(z(),J("code",J4,Je(e.node.code),1))});Ct.install=e=>{e.component(Ct.__name,Ct)};const Gc=de(!1),Dh=de(""),$h=de("top"),ti=de(null),ni=de(null),Zc=de(null),Jc=de(null),Ph=de(null);let as=null,us=null;function o1(){as&&(clearTimeout(as),as=null),us&&(clearTimeout(us),us=null)}let ec=!1,tc=null;function Xc(e,t,n="top",r=!1,o,i){if(!e)return;ec||typeof document<"u"&&(tc||(tc=Promise.resolve().then(()=>L6).then(({default:l})=>{ec=!0;const c=document.createElement("div");c.setAttribute("data-singleton-tooltip","1"),document.body.appendChild(c),Sp({setup:()=>()=>{var u;return lt(l,{visible:Gc.value,"anchor-el":ti.value,content:Dh.value,placement:$h.value,id:ni.value,originX:Zc.value,originY:Jc.value,isDark:(u=Ph.value)!=null?u:void 0})}}).mount(c)}).catch(l=>{tc=null,ec=!1,console.warn("[markstream-vue] Failed to load Tooltip component. Tooltips will be disabled.",l)}))),o1();const s=()=>{var l,c;ni.value=`tooltip-${Date.now()}-${Math.floor(1e3*Math.random())}`,ti.value=e,Dh.value=t,$h.value=n,Zc.value=(l=o?.x)!=null?l:null,Jc.value=(c=o?.y)!=null?c:null,Ph.value=typeof i=="boolean"?i:null,Gc.value=!0;try{e.setAttribute("aria-describedby",ni.value)}catch{}};r?s():as=setTimeout(s,80)}function i1(e=!1){o1();const t=()=>{if(ti.value&&ni.value)try{ti.value.removeAttribute("aria-describedby")}catch{}Gc.value=!1,ti.value=null,ni.value=null,Zc.value=null,Jc.value=null};e?t():us=setTimeout(t,120)}const X4={"common.copy":"Copy","common.copySuccess":"Copied","common.decrease":"Decrease","common.reset":"Reset","common.increase":"Increase","common.expand":"Expand","common.collapse":"Collapse","common.preview":"Preview","common.source":"Source","common.export":"Export","common.open":"Open","common.zoomIn":"Zoom in","common.zoomOut":"Zoom out","common.resetZoom":"Reset zoom","image.loadError":"Image failed to load","image.loading":"Loading image..."};function s1(){try{const e=globalThis.$vueI18nUse||null;if(e&&typeof e=="function")try{const t=e();if(t&&typeof t.t=="function")return{t:t.t.bind(t)}}catch{}}catch{}return Re(null,null,function*(){try{const e=yield Dt(()=>import("./BB51-bYG.js"),[],import.meta.url),t=e.useI18n||e.default&&e.default.useI18n;if(t&&typeof t=="function")try{const n=t();if(n&&typeof n.t=="function")try{globalThis.$vueI18nUse=()=>n}catch{}}catch{}}catch{}}),{t:e=>{var t;return(t=X4[e])!=null?t:(function(n){return(n.split(".").pop()||n).replace(/[_-]/g," ").replace(/([A-Z])/g," $1").replace(/\s+/g," ").replace(/\b\w/g,r=>r.toUpperCase()).trim()})(e)}}}const l1=Symbol("ViewportPriority");function c1(){const e=It(l1,void 0);if(e)return e;const t=new WeakMap;let n=null;return r=>{const o=de(!1);let i,s=!1;const l=new Promise(a=>{i=()=>{s||(s=!0,a())}}),c=()=>{try{n?.unobserve(r)}catch{}t.delete(r)},u=n||(typeof window>"u"||typeof IntersectionObserver>"u"?null:(n=new IntersectionObserver(a=>{for(const f of a){const p=t.get(f.target);if(p&&(f.isIntersecting||f.intersectionRatio>0)){if(!p.visible.value){p.visible.value=!0;try{p.resolve()}catch{}}n?.unobserve(f.target),t.delete(f.target)}}},{root:null,rootMargin:"300px",threshold:0}),n));return u?(t.set(r,{resolve:i,visible:o}),u.observe(r),{isVisible:o,whenVisible:l,destroy:c}):(o.value=!0,i(),{isVisible:o,whenVisible:l,destroy:c})}}const Q4={class:"relative inline-block"},Y4=["src","alt","title","loading","tabindex","aria-label"],eC={class:"text-sm whitespace-nowrap"},tC={key:1,class:"text-sm text-gray-500"},nC={key:"error",class:"px-4 py-2 bg-gray-100 flex items-center justify-center rounded-lg gap-2 text-red-500"},rC={class:"text-sm whitespace-nowrap"},oC={key:0,class:"mt-2 text-sm text-gray-500 italic"},mr=Be(xe({__name:"ImageNode",props:{node:{},fallbackSrc:{default:""},showCaption:{type:Boolean,default:!1},lazy:{type:Boolean,default:!0},svgMinHeight:{default:"12rem"},usePlaceholder:{type:Boolean,default:!0}},emits:["load","error","click"],setup(e,{emit:t}){const n=e,r=t,o=de(!1),i=de(!1),s=de(!1),l=de(null),c=c1(),u=de(null),a=de(typeof window>"u");typeof window<"u"&&Ne(()=>l.value,_=>{var y;if((y=u.value)==null||y.destroy(),u.value=null,!_)return void(a.value=!1);const b=c(_,{rootMargin:"400px"});u.value=b,a.value=b.isVisible.value,b.whenVisible.then(()=>{a.value=!0})},{immediate:!0}),wn(()=>{var _;(_=u.value)==null||_.destroy(),u.value=null});const f=le(()=>i.value&&n.fallbackSrc?n.fallbackSrc:n.node.src),p=le(()=>!n.lazy||a.value),h=le(()=>/\.svg(?:\?|$)/i.test(f.value));function d(){n.fallbackSrc&&!s.value?(s.value=!0,i.value=!0):(i.value=!0,r("error",n.node.src))}function g(){o.value=!0,i.value=!1,r("load",f.value)}function m(_){_.preventDefault(),o.value&&!i.value&&r("click",[_,f.value])}const{t:x}=s1();return Ne(f,()=>{o.value=!1,i.value=!1}),(_,y)=>(z(),J("figure",{ref_key:"figureRef",ref:l,class:"text-center my-8"},[se("div",Q4,[Pe(Si,{name:"img-switch",mode:"out-in"},{default:_r(()=>{var b,v,S,w,A;return[e.node.loading||i.value||!p.value?i.value?e.node.loading||n.fallbackSrc?jt("",!0):(z(),J("div",nC,[Br(_.$slots,"error",{node:n.node,displaySrc:f.value,imageLoaded:o.value,hasError:i.value,fallbackSrc:n.fallbackSrc,lazy:n.lazy,isSvg:h.value},()=>[y[1]||(y[1]=se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},[se("path",{fill:"currentColor",d:"M2 2h20v10h-2V4H4v9.586l5-5L14.414 14L13 15.414l-4-4l-5 5V20h8v2H2zm13.547 5a1 1 0 1 0 0 2a1 1 0 0 0 0-2m-3 1a3 3 0 1 1 6 0a3 3 0 0 1-6 0m3.625 6.757L19 17.586l2.828-2.829l1.415 1.415L20.414 19l2.829 2.828l-1.415 1.415L19 20.414l-2.828 2.829l-1.415-1.415L17.586 19l-2.829-2.828z"})],-1)),se("span",rC,Je(ue(x)("image.loadError")),1)],!0)])):(z(),J("div",{key:"placeholder",class:"placeholder-layer max-w-96 inline-flex items-center justify-center gap-2",style:Kt(h.value?{minHeight:n.svgMinHeight,width:"100%"}:{minHeight:"6rem"})},[n.usePlaceholder?Br(_.$slots,"placeholder",{key:0,node:n.node,displaySrc:f.value,imageLoaded:o.value,hasError:i.value,fallbackSrc:n.fallbackSrc,lazy:n.lazy,isSvg:h.value},()=>[y[0]||(y[0]=se("div",{class:"w-4 h-4 rounded-full border-2 border-solid border-current border-t-transparent animate-spin","aria-hidden":"true"},null,-1)),se("span",eC,Je(ue(x)("image.loading")),1)],!0):(z(),J("span",tC,Je(e.node.raw),1))],4)):(z(),J("img",{key:"image",src:f.value,alt:String((v=(b=n.node.alt)!=null?b:n.node.title)!=null?v:""),title:String((w=(S=n.node.title)!=null?S:n.node.alt)!=null?w:""),class:nt(["max-w-96 h-auto rounded-lg transition-opacity duration-200 ease-in-out",{"opacity-0":!o.value,"opacity-100":o.value,"cursor-pointer":o.value}]),style:Kt(h.value?{minHeight:n.svgMinHeight,width:"100%",height:"auto",objectFit:"contain"}:void 0),loading:n.lazy?"lazy":"eager",decoding:"async",tabindex:o.value?0:-1,"aria-label":(A=n.node.alt)!=null?A:ue(x)("image.preview"),onError:d,onLoad:g,onClick:m},null,46,Y4))]}),_:3})]),n.showCaption&&n.node.alt?(z(),J("figcaption",oC,Je(n.node.alt),1)):jt("",!0)],512))}}),[["__scopeId","data-v-7ca79b66"]]);mr.install=e=>{e.component(mr.__name,mr)};let oo=null,nc=!1,a1=iC;function Wa(e){var t;const n=(t=e?.default)!=null?t:e;return n&&typeof n.renderToString=="function"?n:null}function u1(){try{const e=globalThis;return Wa(e?.katex)}catch{return null}}function iC(){return Re(null,null,function*(){const e=u1();if(e)return e;const t=yield Dt(()=>import("./DhXJpUyf.js"),[],import.meta.url);try{yield Dt(()=>import("./0OuYuFdd.js"),__vite__mapDeps([3,4]),import.meta.url)}catch{}return Wa(t)})}function f1(){return typeof a1=="function"}function Ua(){return Re(this,null,function*(){var e;const t=u1();if(t)return oo=t,oo;if(oo)return oo;if(nc)return null;const n=a1;if(!n)return nc=!0,null;try{const r=yield n();if(r)return oo=(e=Wa(r))!=null?e:r,oo}catch{}return nc=!0,null})}const rc=Vr(!1);let Lh=null;function h1(){return Lh||(Lh=Ua().then(e=>{rc.value=!!e}).catch(()=>{rc.value=!1})),ys(rc)}const ft=Be(xe({__name:"TextNode",props:{node:{}},emits:["copy"],setup(e){const t=h1();return(n,r)=>(z(),J("span",{class:nt([[ue(t)&&e.node.center?"text-node-center":""],"whitespace-pre-wrap break-words text-node"])},Je(e.node.content),3))}}),[["__scopeId","data-v-56f30838"]]);ft.install=e=>{e.component(ft.__name,ft)};const kn=Nr(()=>Re(null,null,function*(){var e,t;if(typeof globalThis<"u"&&globalThis.process!==void 0&&((t=(e=globalThis.process)==null?void 0:e.env)==null?void 0:t.NODE_ENV)==="test")return n=>{var r,o;return lt(ft,st(Ce({},n),{node:st(Ce({},n.node),{content:(o=n.node.raw)!=null?o:`$${(r=n.node.content)!=null?r:""}$`})}))};try{if(yield Ua())return(yield Dt(()=>import("./gw8YJBUN.js"),[],import.meta.url)).default}catch(n){console.warn('[markstream-vue] Optional peer dependencies for MathInlineNode are missing. Falling back to text rendering. To enable full math rendering features, please install "katex".',n)}return n=>{var r,o;return lt(ft,st(Ce({},n),{node:st(Ce({},n.node),{content:(o=n.node.raw)!=null?o:`$${(r=n.node.content)!=null?r:""}$`})}))}})),d1=Nr(()=>Re(null,null,function*(){try{if(yield Ua())return(yield Dt(()=>import("./DDwo0uwT.js"),[],import.meta.url)).default}catch(e){console.warn('[markstream-vue] Optional peer dependencies for MathBlockNode are missing. Falling back to text rendering. To enable full math rendering features, please install "katex".',e)}return e=>{var t,n;return lt(ft,st(Ce({},e),{node:st(Ce({},e.node),{content:(n=e.node.raw)!=null?n:`$$${(t=e.node.content)!=null?t:""}$$`})}))}})),$t=xe({__name:"ReferenceNode",props:{node:{},messageId:{},threadId:{}},emits:["click","mouseEnter","mouseLeave"],setup:e=>(t,n)=>(z(),J("span",{class:"reference-node cursor-pointer bg-[hsl(var(--muted))] text-xs rounded-md px-1.5 mx-0.5 hover:bg-[hsl(var(--secondary))]",role:"button",tabindex:"0",onClick:n[0]||(n[0]=r=>t.$emit("click",r,e.node.id,e.messageId,e.threadId)),onMouseenter:n[1]||(n[1]=r=>t.$emit("mouseEnter",r,e.node.id,e.messageId,e.threadId)),onMouseleave:n[2]||(n[2]=r=>t.$emit("mouseLeave",r,e.node.id,e.messageId,e.threadId))},Je(e.node.id),33))});$t.install=e=>{e.component($t.__name,$t)};const sC={class:"superscript-node"},lC={key:1},Qt=Be(xe({__name:"SuperscriptNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({text:ft,inline_code:Ct,link:Ft,html_inline:Xt,strong:Pt,emphasis:Ot,footnote_reference:Jt,strikethrough:Lt,highlight:cn,insert:en,subscript:Yt,emoji:Zt,math_inline:kn,reference:$t},n);return(o,i)=>(z(),J("sup",sC,[(z(!0),J(Ee,null,ut(e.node.children,(s,l)=>(z(),J(Ee,{key:`${e.indexKey||"superscript"}-${l}`},[r[s.type]?(z(),He(ht(r[s.type]),{key:0,node:s,"custom-id":t.customId,"index-key":`${e.indexKey||"superscript"}-${l}`},null,8,["node","custom-id","index-key"])):(z(),J("span",lC,Je(s.content||s.raw),1))],64))),128))]))}}),[["__scopeId","data-v-6dc1e3ba"]]);Qt.install=e=>{e.component(Qt.__name,Qt)};const cC={class:"subscript-node"},aC={key:1},Yt=Be(xe({__name:"SubscriptNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({text:ft,inline_code:Ct,link:Ft,html_inline:Xt,strong:Pt,emphasis:Ot,footnote_reference:Jt,strikethrough:Lt,highlight:cn,insert:en,superscript:Qt,emoji:Zt,math_inline:kn,reference:$t},n);return(o,i)=>(z(),J("sub",cC,[(z(!0),J(Ee,null,ut(e.node.children,(s,l)=>(z(),J(Ee,{key:`${e.indexKey||"subscript"}-${l}`},[r[s.type]?(z(),He(ht(r[s.type]),{key:0,node:s,"custom-id":t.customId,"index-key":`${e.indexKey||"subscript"}-${l}`},null,8,["node","custom-id","index-key"])):(z(),J("span",aC,Je(s.content||s.raw),1))],64))),128))]))}}),[["__scopeId","data-v-69de9b81"]]);Yt.install=e=>{e.component(Yt.__name,Yt)};const uC={class:"strong-node"},Pt=Be(xe({__name:"StrongNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({text:ft,inline_code:Ct,link:Ft,html_inline:Xt,emphasis:Ot,strikethrough:Lt,highlight:cn,insert:en,subscript:Yt,superscript:Qt,emoji:Zt,footnote_reference:Jt,math_inline:kn,reference:$t},n);return(o,i)=>(z(),J("strong",uC,[(z(!0),J(Ee,null,ut(e.node.children,(s,l)=>(z(),He(ht(r[s.type]),{key:`${e.indexKey||"strong"}-${l}`,"index-key":`${e.indexKey||"strong"}-${l}`,node:s,"custom-id":t.customId},null,8,["index-key","node","custom-id"]))),128))]))}}),[["__scopeId","data-v-af3ce037"]]);Pt.install=e=>{e.component(Pt.__name,Pt)};const fC={class:"strikethrough-node"},Lt=Be(xe({__name:"StrikethroughNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({text:ft,inline_code:Ct,link:Ft,html_inline:Xt,strong:Pt,emphasis:Ot,highlight:cn,insert:en,subscript:Yt,superscript:Qt,emoji:Zt,footnote_reference:Jt,math_inline:kn,reference:$t},n);return(o,i)=>(z(),J("del",fC,[(z(!0),J(Ee,null,ut(e.node.children,(s,l)=>(z(),He(ht(r[s.type]),{key:`${e.indexKey||"strikethrough"}-${l}`,node:s,"custom-id":t.customId,"index-key":`${e.indexKey||"strikethrough"}-${l}`},null,8,["node","custom-id","index-key"]))),128))]))}}),[["__scopeId","data-v-904d5bd1"]]);Lt.install=e=>{e.component(Lt.__name,Lt)};const hC=["href","title","aria-label","aria-hidden"],dC=["aria-hidden"],pC={class:"link-text-wrapper relative inline-flex"},gC={class:"leading-[normal] link-text"},mC={class:"leading-[normal] link-text"},Ft=Be(xe({__name:"LinkNode",props:{node:{},indexKey:{},customId:{},showTooltip:{type:Boolean,default:!0},color:{},underlineHeight:{},underlineBottom:{},animationDuration:{},animationOpacity:{},animationTiming:{},animationIteration:{}},setup(e){const t=e,n=le(()=>{var c,u,a,f,p,h;const d=t.underlineBottom!==void 0?typeof t.underlineBottom=="number"?`${t.underlineBottom}px`:String(t.underlineBottom):"-3px";return{"--link-color":(c=t.color)!=null?c:"#0366d6","--underline-height":`${(u=t.underlineHeight)!=null?u:2}px`,"--underline-bottom":d,"--underline-opacity":String((a=t.animationOpacity)!=null?a:.9),"--underline-duration":`${(f=t.animationDuration)!=null?f:.8}s`,"--underline-timing":(p=t.animationTiming)!=null?p:"linear","--underline-iteration":typeof t.animationIteration=="number"?String(t.animationIteration):(h=t.animationIteration)!=null?h:"infinite"}}),r={text:ft,strong:Pt,strikethrough:Lt,emphasis:Ot,image:mr,html_inline:Xt,inline_code:Ct},o=le(()=>(Ti.value,Et(t.customId))),i=sm();function s(){t.showTooltip&&i1()}const l=le(()=>{var c,u;return String((u=(c=t.node.title)!=null?c:t.node.href)!=null?u:"")});return(c,u)=>e.node.loading?(z(),J("span",Zn({key:1,class:"link-loading inline-flex items-baseline gap-1.5","aria-hidden":e.node.loading?"false":"true"},ue(i),{style:n.value}),[se("span",pC,[se("span",gC,[se("span",mC,Je(e.node.text),1)]),u[1]||(u[1]=se("span",{class:"underline-anim","aria-hidden":"true"},null,-1))])],16,dC)):(z(),J("a",Zn({key:0,class:"link-node",href:e.node.href,title:e.showTooltip?"":l.value,"aria-label":`Link: ${l.value}`,"aria-hidden":e.node.loading?"true":"false",target:"_blank",rel:"noopener noreferrer"},ue(i),{style:n.value,onMouseenter:u[0]||(u[0]=a=>(function(f){var p,h,d;if(!t.showTooltip)return;const g=f,m=g?.clientX!=null&&g?.clientY!=null?{x:g.clientX,y:g.clientY}:void 0,x=((p=t.node)==null?void 0:p.title)||((h=t.node)==null?void 0:h.href)||((d=t.node)==null?void 0:d.text)||"";Xc(f.currentTarget,x,"top",!1,m)})(a)),onMouseleave:s}),[(z(!0),J(Ee,null,ut(e.node.children,(a,f)=>(z(),He(ht((function(p){return o.value[p.type]||r[p.type]||null})(a)),{key:`${e.indexKey||"emphasis"}-${f}`,node:a,"custom-id":t.customId,"index-key":`${e.indexKey||"link-text"}-${f}`},null,8,["node","custom-id","index-key"]))),128))],16,hC))}}),[["__scopeId","data-v-2ccf6f70"]]);Ft.install=e=>{e.component(Ft.__name,Ft)};const yC={class:"insert-node"},en=Be(xe({__name:"InsertNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({text:ft,inline_code:Ct,link:Ft,html_inline:Xt,strong:Pt,emphasis:Ot,strikethrough:Lt,highlight:cn,subscript:Yt,superscript:Qt,emoji:Zt,footnote_reference:Jt,math_inline:kn,reference:$t},n);return(o,i)=>(z(),J("ins",yC,[(z(!0),J(Ee,null,ut(e.node.children,(s,l)=>(z(),He(ht(r[s.type]),{key:`${e.indexKey||"insert"}-${l}`,node:s,"custom-id":t.customId,"index-key":`${e.indexKey||"insert"}-${l}`},null,8,["node","custom-id","index-key"]))),128))]))}}),[["__scopeId","data-v-ab1ec9bc"]]);en.install=e=>{e.component(en.__name,en)};const _C={class:"highlight-node"},cn=Be(xe({__name:"HighlightNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({text:ft,inline_code:Ct,link:Ft,html_inline:Xt,strong:Pt,emphasis:Ot,strikethrough:Lt,insert:en,subscript:Yt,superscript:Qt,emoji:Zt,footnote_reference:Jt,math_inline:kn,reference:$t},n);return(o,i)=>(z(),J("mark",_C,[(z(!0),J(Ee,null,ut(e.node.children,(s,l)=>(z(),He(ht(r[s.type]),{key:`${e.indexKey||"highlight"}-${l}`,node:s,"custom-id":t.customId,"index-key":`${e.indexKey||"highlight"}-${l}`},null,8,["node","custom-id","index-key"]))),128))]))}}),[["__scopeId","data-v-38e31bf6"]]);cn.install=e=>{e.component(cn.__name,cn)};const vC={class:"emphasis-node"},Ot=Be(xe({__name:"EmphasisNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({text:ft,inline_code:Ct,link:Ft,html_inline:Xt,strong:Pt,strikethrough:Lt,highlight:cn,insert:en,subscript:Yt,superscript:Qt,emoji:Zt,footnote_reference:Jt,math_inline:kn,reference:$t},n);return(o,i)=>(z(),J("em",vC,[(z(!0),J(Ee,null,ut(e.node.children,(s,l)=>(z(),He(ht(r[s.type]),{key:`${e.indexKey||"emphasis"}-${l}`,node:s,"custom-id":t.customId,"index-key":`${e.indexKey||"emphasis"}-${l}`},null,8,["node","custom-id","index-key"]))),128))]))}}),[["__scopeId","data-v-8264674d"]]);Ot.install=e=>{e.component(Ot.__name,Ot)};const bC=["href","title"],ri=Be(xe({__name:"FootnoteAnchorNode",props:{node:{}},setup(e){const t=e;function n(r){var o;if(r.preventDefault(),typeof document>"u")return;const i=`fnref-${String((o=t.node.id)!=null?o:"")}`,s=document.getElementById(i);s&&s.scrollIntoView({behavior:"smooth"})}return(r,o)=>(z(),J("a",{class:"footnote-anchor text-sm text-[#0366d6] hover:underline cursor-pointer",href:`#fnref-${e.node.id}`,title:`返回引用 ${e.node.id}`,onClick:n}," ↩︎ ",8,bC))}}),[["__scopeId","data-v-4756ce0d"]]);ri.install=e=>{e.component(ri.__name,ri)};const wC=["id"],kC={class:"flex-1"},fs=xe({__name:"FootnoteNode",props:{node:{},indexKey:{},typewriter:{type:Boolean},customId:{}},emits:["copy"],setup(e){const t=e;return(n,r)=>(z(),J("div",{id:`fnref--${e.node.id}`,class:"flex mt-2 mb-2 text-sm leading-relaxed border-t border-[#eaecef] pt-2"},[se("div",kC,[Mo([t.node.children],()=>Pe(ue(Ut),{"index-key":`footnote-${t.indexKey}`,nodes:t.node.children,"custom-id":t.customId,typewriter:t.typewriter,onCopy:r[0]||(r[0]=o=>n.$emit("copy",o))},null,8,["index-key","nodes","custom-id","typewriter"]),r,1)])],8,wC))}});fs.install=e=>{e.component(fs.__name,fs)};const xC={class:"hard-break"},zr=Be(xe({__name:"HardBreakNode",props:{node:{}},setup:e=>(t,n)=>(z(),J("br",xC))}),[["__scopeId","data-v-50c58f70"]]);zr.install=e=>{e.component(zr.__name,zr)};const Qc=Be(xe({__name:"HeadingNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({text:ft,inline_code:Ct,link:Ft,image:mr,strong:Pt,emphasis:Ot,strikethrough:Lt,highlight:cn,insert:en,subscript:Yt,superscript:Qt,emoji:Zt,checkbox:gn,checkbox_input:gn,footnote_reference:Jt,hardbreak:zr,math_inline:kn,reference:$t},n);return(o,i)=>Mo([e.node.level,e.node.children,e.node.attrs],()=>(z(),He(ht(`h${e.node.level}`),Zn({class:["heading-node",[`heading-${e.node.level}`]],dir:"auto"},e.node.attrs),{default:_r(()=>[(z(!0),J(Ee,null,ut(e.node.children,(s,l,c,u)=>{const a=[s];if(u&&u.key===`${e.indexKey||"heading"}-${l}`&&rl(u,a))return u;const f=(z(),He(ht(r[s.type]),{key:`${e.indexKey||"heading"}-${l}`,"custom-id":t.customId,node:s,"index-key":`${e.indexKey||"heading"}-${l}`},null,8,["custom-id","node","index-key"]));return f.memo=a,f},i,0),128))]),_:1},16,["class"])),i,2)}}),[["__scopeId","data-v-af2f957a"]]),Va=Qc;Va.install=e=>{e.component(Qc.__name,Qc)};const oi=Be(xe({__name:"ListItemNode",props:{node:{},item:{},indexKey:{},value:{},customId:{},typewriter:{type:Boolean}},emits:["copy"],setup(e){const t=e,n=le(()=>{var o;return(o=t.node)!=null?o:t.item}),r=le(()=>t.value==null?{}:{value:t.value});return(o,i)=>{var s;return z(),J("li",Zn({class:"list-item pl-1.5 my-2",dir:"auto"},r.value),[Mo([(s=n.value)==null?void 0:s.children],()=>{var l,c;return Pe(ue(Ut),{"index-key":`list-item-${t.indexKey}`,nodes:(c=(l=n.value)==null?void 0:l.children)!=null?c:[],"custom-id":t.customId,typewriter:t.typewriter,"batch-rendering":!1,onCopy:i[0]||(i[0]=u=>o.$emit("copy",u))},null,8,["index-key","nodes","custom-id","typewriter"])},i,1)],16)}}}),[["__scopeId","data-v-31a88b1f"]]);oi.install=e=>{e.component(oi.__name,oi)};const ii=Be(xe({__name:"ListNode",props:{node:{},customId:{},indexKey:{},typewriter:{type:Boolean}},emits:["copy"],setup(e){const t=le(()=>(Ti.value,Et(e.customId).list_item||oi));return(n,r)=>(z(),He(ht(e.node.ordered?"ol":"ul"),{class:nt(["list-node",{"list-decimal":e.node.ordered,"list-disc":!e.node.ordered}])},{default:_r(()=>[(z(!0),J(Ee,null,ut(e.node.items,(o,i,s,l)=>{var c;const u=[o];if(l&&l.key===`${e.indexKey||"list"}-${i}`&&rl(l,u))return l;const a=(z(),He(ht(t.value),{key:`${e.indexKey||"list"}-${i}`,node:o,"custom-id":e.customId,"index-key":`${e.indexKey||"list"}-${i}`,typewriter:e.typewriter,value:e.node.ordered?((c=e.node.start)!=null?c:1)+i:void 0,onCopy:r[0]||(r[0]=f=>n.$emit("copy",f))},null,40,["node","custom-id","index-key","typewriter","value"]));return a.memo=u,a},r,1),128))]),_:1},8,["class"]))}}),[["__scopeId","data-v-01209c2b"]]);ii.install=e=>{e.component(ii.__name,ii)};const CC={key:1,class:"html-block-node__raw"},EC={key:1,class:"html-block-node__placeholder"},si=Be(xe({__name:"HtmlBlockNode",props:{node:{},customId:{}},setup(e){const t=e,n=le(()=>{const p=t.node.attrs;if(p){if(Array.isArray(p)){const h={};for(const d of p){if(!d||d.length<2)continue;const[g,m]=d;g!=null&&(h[String(g)]=m==null?"":String(m))}return h}return p}}),r=le(()=>(Ti.value,Et(t.customId))),o=xe({name:"DynamicRenderer",props:{nodes:{type:Array,required:!0}},render(){return this.nodes}}),i=de(null),s=de(typeof window>"u"),l=de(t.node.content),c=le(()=>{var p,h,d;if(!s.value)return{mode:"html",content:(p=l.value)!=null?p:""};const g=(h=l.value)!=null?h:t.node.content;if(!g)return{mode:"html",content:""};if(t.node.loading){const x=Hs(g,r.value);return x===null?{mode:"text",content:(d=t.node.raw)!=null?d:g}:{mode:"dynamic",nodes:x}}if(!r1(g,r.value))return{mode:"html",content:g};const m=Hs(g,r.value);return m===null?{mode:"html",content:g}:{mode:"dynamic",nodes:m}}),u=c1(),a=de(null),f=!!t.node.loading;return typeof window<"u"?(Ne(i,p=>{var h,d;if((d=(h=a.value)==null?void 0:h.destroy)==null||d.call(h),a.value=null,!f)return s.value=!0,void(l.value=t.node.content);if(!p)return void(s.value=!1);const g=u(p,{rootMargin:"400px"});a.value=g,s.value=g.isVisible.value,g.whenVisible.then(()=>{s.value=!0})},{immediate:!0}),Ne(()=>t.node.content,p=>{f&&!s.value||(l.value=p)})):s.value=!0,wn(()=>{var p,h;(h=(p=a.value)==null?void 0:p.destroy)==null||h.call(p),a.value=null}),(p,h)=>(z(),J("div",Zn({ref_key:"htmlRef",ref:i,class:"html-block-node"},n.value),[s.value?(z(),J(Ee,{key:0},[c.value.mode==="dynamic"?(z(),He(ue(o),{key:0,nodes:c.value.nodes},null,8,["nodes"])):c.value.mode==="text"?(z(),J("pre",CC,Je(c.value.content),1)):Mo([l.value],()=>(z(),J("div",{key:2,innerHTML:l.value},null,8,["innerHTML"])),h,0)],64)):(z(),J("div",EC,[Br(p.$slots,"placeholder",{node:e.node},()=>[h[1]||(h[1]=se("span",{class:"html-block-node__placeholder-bar"},null,-1)),h[2]||(h[2]=se("span",{class:"html-block-node__placeholder-bar w-4/5"},null,-1)),h[3]||(h[3]=se("span",{class:"html-block-node__placeholder-bar w-2/3"},null,-1))],!0)]))],16))}}),[["__scopeId","data-v-6797fa3c"]]);si.install=e=>{e.component(si.__name,si)};const AC={dir:"auto",class:"paragraph-node"},li=Be(xe({__name:"ParagraphNode",props:{node:{},customId:{},indexKey:{}},setup(e){const t=e,n=Et(t.customId),r=Ce({inline_code:Ct,image:mr,link:Ft,hardbreak:zr,emphasis:Ot,strong:Pt,strikethrough:Lt,highlight:cn,insert:en,subscript:Yt,superscript:Qt,html_inline:Xt,html_block:si,emoji:Zt,checkbox:gn,math_inline:kn,checkbox_input:gn,reference:$t,footnote_anchor:ri,footnote_reference:Jt},n),o=h1();return(i,s)=>(z(),J("p",AC,[(z(!0),J(Ee,null,ut(e.node.children,(l,c)=>(z(),J(Ee,{key:`${e.indexKey||"paragraph"}-${c}`},[l.type!=="text"?(z(),He(ht(r[l.type]),{key:0,node:l,"index-key":`${e.indexKey}-${c}`,"custom-id":t.customId},null,8,["node","index-key","custom-id"])):(z(),J("span",{key:1,class:nt([[ue(o)&&l.center?"text-node-center":""],"whitespace-pre-wrap break-words text-node"])},Je(l.content),3))],64))),128))]))}}),[["__scopeId","data-v-4e2afdbc"]]);li.install=e=>{e.component(li.__name,li)};const SC=["aria-busy","aria-label","data-language"],TC=["textContent"],$r=xe({__name:"PreCodeNode",props:{node:{}},setup(e){const t=e,n=le(()=>{var i,s,l;const c=String((s=(i=t.node)==null?void 0:i.language)!=null?s:"");return String((l=String(c).split(/\s+/g)[0])!=null?l:"").toLowerCase().replace(/[^\w-]/g,"")||"plaintext"}),r=le(()=>`language-${n.value}`),o=le(()=>{const i=n.value;return i?`Code block: ${i}`:"Code block"});return(i,s)=>(z(),J("pre",{class:nt([r.value]),"aria-busy":e.node.loading===!0,"aria-label":o.value,"data-language":n.value,tabindex:"0"},[se("code",{translate:"no",textContent:Je(e.node.code)},null,8,TC)],10,SC))}});$r.install=e=>{e.component($r.__name,$r)};const MC={class:"table-node-wrapper"},RC=["aria-busy"],IC={class:"border-[var(--table-border,#cbd5e1)]"},DC={class:"border-b"},$C={key:0,class:"table-node__loading",role:"status","aria-live":"polite"},ci=Be(xe({__name:"TableNode",props:{node:{},indexKey:{},isDark:{type:Boolean},typewriter:{type:Boolean},customId:{}},emits:["copy"],setup(e){const t=e,n=le(()=>{var o;return(o=t.node.loading)!=null&&o}),r=le(()=>{var o;return(o=t.node.rows)!=null?o:[]});return(o,i)=>(z(),J("div",MC,[se("table",{class:nt(["my-8 text-sm table-node",{"table-node--loading":n.value}]),"aria-busy":n.value},[se("thead",IC,[se("tr",DC,[(z(!0),J(Ee,null,ut(e.node.header.cells,(s,l)=>(z(),J("th",{key:`header-${l}`,dir:"auto",class:nt(["font-semibold p-[calc(4/7*1em)]",[s.align==="right"?"text-right":s.align==="center"?"text-center":"text-left"]])},[Pe(ue(Ut),{nodes:s.children,"index-key":`table-th-${t.indexKey}`,"custom-id":t.customId,typewriter:t.typewriter,onCopy:i[0]||(i[0]=c=>o.$emit("copy",c))},null,8,["nodes","index-key","custom-id","typewriter"])],2))),128))])]),se("tbody",null,[(z(!0),J(Ee,null,ut(r.value,(s,l)=>(z(),J("tr",{key:`row-${l}`,class:nt(["border-[var(--table-border,#cbd5e1)]",[l<r.value.length-1?"border-b":""]])},[(z(!0),J(Ee,null,ut(s.cells,(c,u)=>(z(),J("td",{key:`cell-${l}-${u}`,class:nt(["p-[calc(4/7*1em)]",[c.align==="right"?"text-right":c.align==="center"?"text-center":"text-left"]]),dir:"auto"},[Pe(ue(Ut),{nodes:c.children,"index-key":`table-td-${t.indexKey}`,"custom-id":t.customId,typewriter:t.typewriter,onCopy:i[1]||(i[1]=a=>o.$emit("copy",a))},null,8,["nodes","index-key","custom-id","typewriter"])],2))),128))],2))),128))])],10,RC),Pe(Si,{name:"table-node-fade"},{default:_r(()=>[n.value?(z(),J("div",$C,[Br(o.$slots,"loading",{isLoading:n.value},()=>[i[2]||(i[2]=se("span",{class:"table-node__spinner animate-spin","aria-hidden":"true"},null,-1)),i[3]||(i[3]=se("span",{class:"sr-only"},"Loading",-1))],!0)])):jt("",!0)]),_:3})]))}}),[["__scopeId","data-v-369096fa"]]);ci.install=e=>{e.component(ci.__name,ci)};const PC={class:"hr-node"},hs=Be({},[["render",function(e,t){return z(),J("hr",PC)}],["__scopeId","data-v-639cbad9"]]);hs.install=e=>{e.component(hs.__name,hs)};const LC={class:"unknown-node"},Yc=xe({__name:"FallbackComponent",props:{node:{}},setup:e=>(t,n)=>(z(),J("div",LC,Je(e.node.raw),1))}),ds=Be(xe({__name:"VmrContainerNode",props:{node:{},indexKey:{},isDark:{type:Boolean},typewriter:{type:Boolean},customId:{}},setup(e){const t=e,n=le(()=>`vmr-container vmr-container-${t.node.name}`),r=Et(t.customId),o=Ce({text:ft,paragraph:li,heading:Va,inline_code:Ct,link:Ft,image:mr,strong:Pt,emphasis:Ot,strikethrough:Lt,insert:en,subscript:Yt,superscript:Qt,checkbox:gn,checkbox_input:gn,hardbreak:zr,math_inline:kn,reference:$t,list:ii,math_block:d1,table:ci},r);return(i,s)=>(z(),J("div",Zn({class:n.value},e.node.attrs),[(z(!0),J(Ee,null,ut(e.node.children,(l,c,u,a)=>{const f=[l];if(a&&a.key===`${e.indexKey||"vmr-container"}-${c}`&&rl(a,f))return a;const p=(z(),He(ht((h=l.type,o[h]||Yc)),{key:`${e.indexKey||"vmr-container"}-${c}`,"custom-id":t.customId,node:l,"index-key":`${e.indexKey||"vmr-container"}-${c}`},null,8,["custom-id","node","index-key"]));var h;return p.memo=f,p},s,0),128))],16))}}),[["__scopeId","data-v-fac7405d"]]);ds.install=e=>{e.component(ds.__name,ds)};const FC=["data-custom-id"],OC=["data-node-index","data-node-type"],Ut=Be(xe({__name:"NodeRenderer",props:{content:{},nodes:{},final:{type:Boolean},parseOptions:{},customMarkdownIt:{},debugPerformance:{type:Boolean,default:!1},customHtmlTags:{},viewportPriority:{type:Boolean},codeBlockStream:{type:Boolean,default:!0},codeBlockDarkTheme:{},codeBlockLightTheme:{},codeBlockMonacoOptions:{},renderCodeBlocksAsPre:{type:Boolean},codeBlockMinWidth:{},codeBlockMaxWidth:{},codeBlockProps:{},themes:{},isDark:{type:Boolean},customId:{},indexKey:{},typewriter:{type:Boolean,default:!0},batchRendering:{type:Boolean,default:!0},initialRenderBatchSize:{default:40},renderBatchSize:{default:80},renderBatchDelay:{default:16},renderBatchBudgetMs:{default:6},renderBatchIdleTimeoutMs:{default:120},deferNodesUntilVisible:{type:Boolean,default:!0},maxLiveNodes:{default:320},liveNodeBuffer:{default:60}},emits:["copy","handleArtifactClick","click","mouseover","mouseout"],setup(e,{emit:t}){var n,r,o;const i=e,s=t,l=de(),c=de(!1),u=/auto|scroll|overlay/i,a=typeof window<"u",f=le(()=>i.debugPerformance&&a&&typeof console<"u");function p($,N){f.value&&console.info(`[markstream-vue][perf] ${$}`,N)}function h($){if(typeof window>"u")return null;const N=$??l.value;if(!N)return null;const G=N.ownerDocument||document,oe=G.scrollingElement||G.documentElement;let X=N;for(;X&&X!==G.body&&X!==oe;){const me=window.getComputedStyle(X),he=(me.overflowY||"").toLowerCase(),ke=(me.overflow||"").toLowerCase();if(u.test(he)||u.test(ke))return X;X=X.parentElement}return null}const d=i.customId?`renderer-${i.customId}`:`renderer-${Date.now()}-${Math.random().toString(36).slice(2)}`,g=Sh(d),m=new Map,x=le(()=>{const{key:$,tags:N}=(function(X){if(!X||X.length===0)return{key:"",tags:[]};const me=new Set,he=[];for(const ke of X){const _e=y(ke);_e&&!me.has(_e)&&(me.add(_e),he.push(_e))}return he.length===0?{key:"",tags:[]}:{key:he.join(","),tags:he}})(i.customHtmlTags);if(!$)return g;const G=m.get($);if(G)return G;const oe=Sh(d,{customHtmlTags:N});return m.set($,oe),oe}),_=le(()=>{const $=x.value;return i.customMarkdownIt?i.customMarkdownIt($):$});function y($){const N=String($??"").trim();if(!N)return"";const G=N.match(/^[<\s/]*([A-Z][\w-]*)/i);return G?G[1].toLowerCase():""}const b=le(()=>{var $,N,G,oe;const X=($=i.parseOptions)!=null?$:{},me=(N=i.final)!=null?N:X.final,he=[...(G=i.customHtmlTags)!=null?G:[],...(oe=X.customHtmlTags)!=null?oe:[]].map(y).filter(Boolean),ke=me!=null,_e=he.length>0;return ke||_e?Ce(Ce(Ce({},X),ke?{final:me}:{}),_e?{customHtmlTags:Array.from(new Set(he))}:{}):X}),v=le(()=>{var $;if(($=i.nodes)!=null&&$.length)return fc(i.nodes.slice());if(i.content){const N=f.value?performance.now():0,G=M4(i.content,_.value,b.value);return f.value&&p("parse(sync)",{ms:Math.round(performance.now()-N),nodes:G.length,contentLength:i.content.length}),fc(G)}return[]}),S=le(()=>{var $;return Math.max(1,($=i.maxLiveNodes)!=null?$:320)}),w=le(()=>{var $;return!((($=i.maxLiveNodes)!=null?$:0)<=0)&&v.value.length>S.value}),A=le(()=>i.viewportPriority!==!1&&!c.value),E=(function($,N){const G=typeof window<"u"&&typeof document<"u",oe=typeof N=="boolean"?de(N):N;let X=null,me=null;const he=new WeakMap,ke=(_e,Te)=>{const $e=de(!1);let Me,At=!1;const mt=new Promise(rn=>{Me=()=>{At||(At=!0,rn())}}),xn=()=>{try{X?.unobserve(_e)}catch{}he.delete(_e)};if(!G||!oe.value)return $e.value=!0,Me(),{isVisible:$e,whenVisible:mt,destroy:xn};!me&&Te&&(me=Ce({},Te));const Qn=(function(rn){var Bt,$n,Yn;if(X||!G)return X;if(typeof IntersectionObserver>"u")return null;const St=(Bt=$?.(rn??null))!=null?Bt:null,Ht=me||{};return X=new IntersectionObserver(er=>{for(const Pn of er){const Ln=he.get(Pn.target);if(Ln&&(Pn.isIntersecting||Pn.intersectionRatio>0)){if(!Ln.visible.value){Ln.visible.value=!0;try{Ln.resolve()}catch{}}X?.unobserve(Pn.target),he.delete(Pn.target)}}},{root:St,rootMargin:($n=Ht.rootMargin)!=null?$n:"300px",threshold:(Yn=Ht.threshold)!=null?Yn:0}),X})(_e);return Qn?(he.set(_e,{resolve:Me,visible:$e}),Qn.observe(_e),{isVisible:$e,whenVisible:mt,destroy:xn}):($e.value=!0,Me(),{isVisible:$e,whenVisible:mt,destroy:xn})};return Or(l1,ke),ke})($=>{var N;return h((N=$??l.value)!=null?N:null)},A),C=a&&typeof window.requestAnimationFrame=="function"?window.requestAnimationFrame.bind(window):null,M=a&&typeof window.cancelAnimationFrame=="function"?window.cancelAnimationFrame.bind(window):null,R=typeof globalThis<"u"&&globalThis.process!==void 0&&((r=(n=globalThis.process)==null?void 0:n.env)==null?void 0:r.NODE_ENV)==="test",P=a&&typeof window.requestIdleCallback=="function",B=le(()=>{var $;const N=Math.trunc(($=i.renderBatchSize)!=null?$:80);return Number.isFinite(N)?Math.max(0,N):0}),D=le(()=>{var $;const N=Math.trunc(($=i.initialRenderBatchSize)!=null?$:B.value);return Number.isFinite(N)?Math.max(0,N):B.value}),I=le(()=>i.batchRendering!==!1&&B.value>0&&a&&!R),O=de(0),F=de({key:i.indexKey,total:0}),q=de(Math.max(1,B.value||1)),K=ln({}),Q=new Map,ce=new Map,Ie=new Map,Ve=de(0),ze=le(()=>(Ve.value,Array.from(Ie.entries()).sort(($,N)=>$[0]-N[0]))),ye=de(0),H=de([]),ne=de([]),ee=de(null);let ae=null,ve=null;const W=le(()=>{var $;return i.deferNodesUntilVisible!==!1&&!((($=i.maxLiveNodes)!=null?$:0)<=0)&&!w.value&&!(v.value.length>900)&&A.value}),k=le(()=>{var $;return I.value&&(($=i.maxLiveNodes)!=null?$:0)<=0}),T=de({batchSize:B.value,initial:D.value,delay:(o=i.renderBatchDelay)!=null?o:16,enabled:k.value}),L=le(()=>!!E&&(W.value||w.value)),U=le(()=>{var $;return Math.max(0,($=i.liveNodeBuffer)!=null?$:60)}),j=de(0),V=ln({start:0,end:0}),te=new Map,re=le(()=>{if(!w.value)return v.value.length;const $=U.value,N=Math.max(V.end+$,D.value),G=Math.min(v.value.length,N);return Math.max(O.value,G)});function Y($){var N,G,oe,X;const me=h((N=$??l.value)!=null?N:null);if(me)return me;const he=(X=(oe=$?.ownerDocument)!=null?oe:(G=l.value)==null?void 0:G.ownerDocument)!=null?X:typeof document<"u"?document:null;return he?.scrollingElement||he?.documentElement||null}function Z($){if(!a)return!1;try{const N=window.getComputedStyle($);return!!(N.display||"").toLowerCase().includes("flex")&&(N.flexDirection||"").toLowerCase().endsWith("reverse")}catch{return!1}}function ge(){ae&&(ae(),ae=null),ee.value=null}function ie(){if(!a||!w.value)return;const $=Y();if(!$||ee.value===$)return;ge();const N=()=>pe();$.addEventListener("scroll",N,{passive:!0}),ee.value=$,ae=()=>{$.removeEventListener("scroll",N)}}function fe(){var $,N,G;if(!ve)return;const oe=(G=(N=($=l.value)==null?void 0:$.ownerDocument)==null?void 0:N.defaultView)!=null?G:typeof window<"u"?window:null;ve.viaTimeout?oe?oe.clearTimeout(ve.id):clearTimeout(ve.id):M?.(ve.id),ve=null}function pe($={}){var N,G,oe;if(!w.value)return;if(!a)return void Ae(!0);if($.immediate)return fe(),void Ae(!0);if(ve)return;const X=()=>{ve=null,Ae()};if(C)ve={id:C(X),viaTimeout:!1};else{const me=(oe=(G=(N=l.value)==null?void 0:N.ownerDocument)==null?void 0:G.defaultView)!=null?oe:typeof window<"u"?window:null;ve={id:me?me.setTimeout(X,16):setTimeout(X,16),viaTimeout:!0}}}function Ae($=!1){var N,G,oe,X,me,he,ke;if(!w.value)return;const _e=ee.value||Y();if(!_e)return;const Te=_e.ownerDocument||((N=l.value)==null?void 0:N.ownerDocument)||document,$e=Te?.defaultView||(typeof window<"u"?window:null),Me=_e===Te?.documentElement||_e===Te?.body,At=v.value.length;if(!Me&&At>0&&Z(_e)){const St=_e.clientHeight||0,Ht=_e.scrollTop,er=Ht<0?-Ht:Ht,Pn=(function(Yr){var fn;const Tt=v.value;if(!Tt.length)return 0;if(Yr<=0)return Math.max(0,Tt.length-1);if(ye.value===Tt.length){const bt=Xr(0,Tt.length);return $o(Math.max(0,bt-Yr))}let eo=Yr;for(let bt=Tt.length-1;bt>=0;bt--){const tr=(fn=Se[bt])!=null?fn:Nt.value;if(eo<=tr)return bt;eo-=tr}return 0})(Math.max(0,er)+.5*Math.max(0,St)),Ln=De(Pn,0,Math.max(0,At-1));return void(($||Math.abs(Ln-j.value)>1)&&(j.value=Ln))}const mt=Me?null:_e.getBoundingClientRect(),xn=Me?0:mt.top,Qn=Me?(oe=(G=$e?.innerHeight)!=null?G:_e.clientHeight)!=null?oe:0:mt.bottom,rn=ze.value;let Bt=null,$n=null;for(const[St,Ht]of rn){if(!Ht)continue;const er=Ht.getBoundingClientRect();er.bottom<=xn||er.top>=Qn||(Bt==null&&(Bt=St),$n=St)}if(Bt==null||$n==null){const St=l.value;if(!St)return;const Ht=Me?{top:0}:_e.getBoundingClientRect(),er=(function(fn,Tt,eo){var bt,tr,Di,tu,nu,ru;if(eo)return(tu=(Di=(bt=Tt?.documentElement)==null?void 0:bt.scrollTop)!=null?Di:(tr=Tt?.body)==null?void 0:tr.scrollTop)!=null?tu:0;const $i=fn.scrollTop;if(!Z(fn))return $i;const U1=$i<0?-$i:$i;return Math.max(0,((nu=fn.scrollHeight)!=null?nu:0)-((ru=fn.clientHeight)!=null?ru:0))-U1})(_e,Te,Me),Pn=Me?(()=>{const fn=St.getBoundingClientRect(),Tt=(Me?0:Ht.top)-fn.top;return Math.max(0,Tt)})():(()=>{const fn=(function(Tt,eo){let bt=Tt,tr=0,Di=0;for(;bt&&bt!==eo&&Di++<64;)tr+=bt.offsetTop||0,bt=bt.offsetParent;return tr})(St,_e);return Math.max(0,er-fn)})(),Ln=Me?(ke=(he=(me=$e?.innerHeight)!=null?me:(X=Te?.documentElement)==null?void 0:X.clientHeight)!=null?he:_e.clientHeight)!=null?ke:0:_e.clientHeight,Yr=$o(Pn+.5*Math.max(0,Ln));return void(j.value=De(Yr,0,Math.max(0,v.value.length-1)))}const Yn=Math.round((Bt+$n)/2);!$&&Math.abs(Yn-j.value)<=1||(j.value=De(Yn,0,Math.max(0,v.value.length-1)))}function De($,N,G){return Math.min(Math.max($,N),G)}const Se=ln({}),Ze=ln({total:0,count:0});function Ke($,N,G){for(let oe=N+1;oe<$.length;oe+=oe&-oe)$[oe]+=G}function pt($,N){let G=0;for(let oe=N+1;oe>0;oe-=oe&-oe)G+=$[oe];return G}function gt($,N,G){if(G<=N)return 0;const oe=pt($,G-1);return N<=0?oe:oe-pt($,N-1)}const Nt=le(()=>Ze.count>0?Math.max(12,Ze.total/Ze.count):32);function Xr($,N){var G,oe;if($>=N)return 0;if(ye.value!==v.value.length){let he=0;for(let ke=$;ke<N;ke++)he+=(G=Se[ke])!=null?G:Nt.value;return he}const X=H.value,me=ne.value;if(!X.length||!me.length){let he=0;for(let ke=$;ke<N;ke++)he+=(oe=Se[ke])!=null?oe:Nt.value;return he}return gt(X,$,N)+(N-$-gt(me,$,N))*Nt.value}Ne(()=>v.value.length,$=>{if($<=0)return ye.value=0,H.value=[],void(ne.value=[]);$!==ye.value&&(function(N){ye.value=N;const G=new Array(N+1).fill(0),oe=new Array(N+1).fill(0);for(const[X,me]of Object.entries(Se)){const he=Number(X),ke=Number(me);!Number.isFinite(he)||he<0||he>=N||!Number.isFinite(ke)||ke<=0||(Ke(G,he,ke),Ke(oe,he,1))}H.value=G,ne.value=oe})($)},{immediate:!0});const vt=le(()=>{if(!w.value)return v.value.map((oe,X)=>({node:oe,index:X}));const $=v.value.length,N=De(V.start,0,$),G=De(V.end,N,$);return v.value.slice(N,G).map((oe,X)=>({node:oe,index:N+X}))}),nn=le(()=>w.value?Xr(0,Math.min(V.start,v.value.length)):0),Mi=le(()=>{if(!w.value)return 0;const $=v.value.length;return Xr(Math.min(V.end,$),$)});function $o($){var N;if($<=0)return 0;const G=v.value;if(ye.value===G.length&&H.value.length&&ne.value.length){const X=Nt.value,me=H.value,he=ne.value,ke=Me=>Me<=0?0:pt(me,Me-1)+(Me-pt(he,Me-1))*X;let _e=0,Te=G.length-1,$e=G.length-1;for(;_e<=Te;){const Me=_e+Te>>1;ke(Me+1)>=$?($e=Me,Te=Me-1):_e=Me+1}return $e}let oe=$;for(let X=0;X<G.length;X++){const me=(N=Se[X])!=null?N:Nt.value;if(oe<=me)return X;oe-=me}return Math.max(0,G.length-1)}function Za(){Ve.value+=1}function Ri($){if(!Q.size||!w.value)return;let N=!1;for(const[G,oe]of Q)G>=$&&(oe.destroy(),Q.delete(G),W.value&&delete K[G],wr(G),Ie.delete(G)&&(N=!0));N&&Za()}function vr($,N){W.value&&(K[$]=N),N&&(w.value?pe():j.value=De($,0,Math.max(0,v.value.length-1)))}function Po($){const N=Q.get($);N&&(N.destroy(),Q.delete($)),wr($)}function Ja($,N){let G=!1;if(N){const X=Ie.get($);Ie.set($,N),X!==N&&(G=!0)}else Ie.delete($)&&(G=!0);if(G&&Za(),N||wr($),!L.value||!E||!w.value&&W.value&&!c.value&&Q.size>=640&&((function(){if(!c.value){c.value=!0;for(const X of Q.values())X.destroy();if(Q.clear(),a)for(const X of ce.values())window.clearTimeout(X);ce.clear();for(const X of Object.keys(K))delete K[X]}})(),!L.value||!E))return Po($),void(N?vr($,!0):W.value&&delete K[$]);if($<D.value&&!w.value)return Po($),void vr($,!0);if(!N)return Po($),void(W.value&&delete K[$]);Po($);const oe=E(N,{rootMargin:"400px"});oe&&(Q.set($,oe),vr($,oe.isVisible.value),W.value&&(function(X){if(!a||!W.value)return;wr(X);const me=X%17*23,he=window.setTimeout(()=>{var ke,_e;if(ce.delete(X),!W.value||K[X]===!0)return;const Te=Ie.get(X);if(!Te)return void delete K[X];const $e=Y(Te),Me=Te.ownerDocument||document,At=Me.defaultView||window,mt=!$e||$e===Me.documentElement||$e===Me.body,xn=!mt&&$e?$e.getBoundingClientRect():null,Qn=mt?0:xn.top,rn=mt?(_e=(ke=At.innerHeight)!=null?ke:$e?.clientHeight)!=null?_e:0:xn.bottom,Bt=Te.getBoundingClientRect();Bt.bottom>=Qn-500&&Bt.top<=rn+500&&vr(X,!0)},1800+me);ce.set(X,he)})($),oe.whenVisible.then(()=>{wr($),vr($,!0)}).catch(()=>{}).finally(()=>{Q.get($)===oe&&Q.delete($);try{oe.destroy()}catch{}}),w.value&&pe())}let Lo=null,Qr=null,Ii=!1,br=null,Fo=null;function Xa(){a&&(Lo!=null&&(M?.(Lo),Lo=null),Qr!=null&&(window.clearTimeout(Qr),Qr=null),Fo!=null&&typeof window.cancelIdleCallback=="function"&&(window.cancelIdleCallback(Fo),Fo=null),Ii=!1,br=null)}function wr($){if(!a)return;const N=ce.get($);N!=null&&(window.clearTimeout(N),ce.delete($))}function Qa($,N={}){var G,oe;if(!k.value)return;const X=re.value;if(O.value>=X)return;const me=Math.max(1,$),he=_e=>{var Te;Lo=null,Qr=null,Fo=null,Ii=!1;const $e=br??me;br=null;const Me=Math.max(2,(Te=i.renderBatchBudgetMs)!=null?Te:6),At=xn=>{const Qn=typeof performance<"u"?performance.now():Date.now();O.value=Math.min(X,O.value+Math.max(1,xn)),Ri(O.value);const rn=(typeof performance<"u"?performance.now():Date.now())-Qn;return(function(Bt){var $n;if(!k.value)return;const Yn=Math.max(2,($n=i.renderBatchBudgetMs)!=null?$n:6),St=Math.max(1,B.value||1),Ht=Math.max(1,Math.floor(St/4));Bt>1.2*Yn?q.value=Math.max(Ht,Math.floor(.7*q.value)):Bt<.5*Yn&&q.value<St&&(q.value=Math.min(St,Math.ceil(1.2*q.value)))})(rn),rn};let mt=$e;for(;At(mt),!(O.value>=X)&&_e&&!((typeof _e.timeRemaining=="function"?_e.timeRemaining():0)<=.5*Me);)mt=Math.max(1,Math.round(q.value));O.value<X&&Ya()};if(!a||N.immediate)return void he();const ke=Math.max(0,(G=i.renderBatchDelay)!=null?G:16);if(br=br!=null?Math.max(br,me):me,!Ii){if(Ii=!0,!R&&P&&window.requestIdleCallback){const _e=Math.max(0,(oe=i.renderBatchIdleTimeoutMs)!=null?oe:120);return void(Fo=window.requestIdleCallback(Te=>{he(Te)},{timeout:_e}))}C&&!R?Lo=C(()=>{ke!==0?Qr=window.setTimeout(()=>he(),ke):he()}):Qr=window.setTimeout(()=>he(),ke)}}function Ya(){k.value&&Qa(I.value?Math.max(1,Math.round(q.value)):Math.max(1,B.value))}Ne([()=>v.value,()=>v.value.length,()=>k.value,()=>B.value,()=>D.value,()=>i.renderBatchDelay,()=>i.indexKey],()=>{var $;const N=v.value.length,G=F.value,oe=i.indexKey,X=oe!==void 0&&oe!==G.key,me=N!==G.total,he=X||me;F.value={key:oe,total:N};const ke=T.value,_e=($=i.renderBatchDelay)!=null?$:16,Te=ke.batchSize!==B.value||ke.initial!==D.value||ke.delay!==_e||ke.enabled!==k.value;T.value={batchSize:B.value,initial:D.value,delay:_e,enabled:k.value},(he||Te||!k.value)&&Xa(),(he||Te)&&(q.value=Math.max(1,B.value||1)),he&&w.value&&pe({immediate:!0});const $e=re.value;if(!N)return O.value=0,void Ri(0);if(!k.value)return O.value=$e,void Ri(O.value);const Me=X||G.total===0;O.value=Me||Te?Math.min($e,D.value):Math.min(O.value,$e);const At=Math.max(1,D.value||B.value||N);O.value<$e?Qa(At,{immediate:!a}):Ri(O.value)},{immediate:!0}),Ne(()=>w.value,$=>{if(!$)return ge(),void fe();ie(),pe({immediate:!0})},{immediate:!0}),Ne([()=>v.value.length,()=>w.value],$=>Re(null,[$],function*([N,G]){G&&N&&a&&(yield Wt(),pe({immediate:!0}))}),{flush:"post"}),Ne(()=>l.value,()=>{w.value&&(ie(),pe({immediate:!0}))}),Ne(()=>v.value.length,()=>{w.value&&pe({immediate:!0})}),Ne(()=>W.value,$=>{if($)for(const[N,G]of Ie)Ja(N,G);else{for(const N of Q.values())N.destroy();Q.clear();for(const N of Array.from(ce.keys()))wr(N);for(const N of Object.keys(K))delete K[N];for(const[N,G]of Ie)G&&vr(N,!0)}},{immediate:!1}),Ne([()=>i.viewportPriority,()=>v.value.length],([$,N])=>{$!==!1?c.value&&N<=200&&(c.value=!1):c.value=!1}),Ne(()=>O.value,()=>{w.value&&pe({immediate:!0})}),Ne([j,S,U,()=>v.value.length,w],()=>{(function(){const $=v.value.length;if(!w.value||$===0)return V.start=0,void(V.end=$);const N=Math.min(S.value,$),G=U.value,oe=De(j.value-G,0,Math.max(0,$-N));V.start=oe,V.end=Math.min($,oe+N)})()},{immediate:!0}),Ne([()=>v.value.length,w,S,U,()=>V.start,()=>V.end],([$,N,G,oe,X,me])=>{f.value&&p("virtualization",{nodes:$,virtualization:N,maxLiveNodes:G,buffer:oe,focusIndex:j.value,scroll:N?(()=>{const he=ee.value||Y();return he?{reverse:Z(he),scrollTop:Math.round(he.scrollTop),scrollTopAbs:Math.round(Math.abs(he.scrollTop)),scrollHeight:Math.round(he.scrollHeight),clientHeight:Math.round(he.clientHeight)}:null})():null,liveRange:{start:X,end:me},rendered:O.value})}),Ne(()=>re.value,($,N)=>{k.value&&(typeof N=="number"&&$<=N||$>O.value&&Ya())}),wn(()=>{Xa();for(const $ of Q.values())$.destroy();Q.clear();for(const $ of Array.from(ce.keys()))wr($);ge(),fe()});const eu=Nr(()=>Re(null,null,function*(){try{return(yield Dt(()=>import("./BCdCHJrs.js"),__vite__mapDeps([5,6]),import.meta.url)).default}catch($){return console.warn('[markstream-vue] Optional peer dependencies for CodeBlockNode are missing. Falling back to inline-code rendering (no Monaco). To enable full code block features, please install "stream-monaco".',$),$r}})),R1=Nr(()=>Re(null,null,function*(){try{return(yield Dt(()=>import("./DhgdKvf3.js"),__vite__mapDeps([7,6]),import.meta.url)).default}catch($){return console.warn('[markstream-vue] Optional peer dependencies for MermaidBlockNode are missing. Falling back to preformatted code rendering. To enable Mermaid rendering, please install "mermaid".',$),$r}})),I1=Nr(()=>Re(null,null,function*(){try{return(yield Dt(()=>import("./DYanJOYX.js"),[],import.meta.url)).default}catch($){return console.warn('[markstream-vue] Optional peer dependencies for InfographicBlockNode are missing. Falling back to preformatted code rendering. To enable Infographic rendering, please install "@antv/infographic".',$),$r}})),D1=le(()=>i.renderCodeBlocksAsPre?$r:eu),$1={text:ft,paragraph:li,heading:Va,code_block:eu,list:ii,list_item:oi,blockquote:ls,table:ci,definition_list:cs,footnote:fs,footnote_reference:Jt,footnote_anchor:ri,admonition:ps,vmr_container:ds,hardbreak:zr,link:Ft,image:mr,thematic_break:hs,math_inline:kn,math_block:d1,strong:Pt,emphasis:Ot,strikethrough:Lt,highlight:cn,insert:en,subscript:Yt,superscript:Qt,emoji:Zt,checkbox:gn,checkbox_input:gn,inline_code:Ct,html_inline:Xt,reference:$t,html_block:si},P1=le(()=>(Ti.value,Et(i.customId))),L1=le(()=>i.indexKey!=null?String(i.indexKey):"markdown-renderer"),F1={},O1=le(()=>Ce({stream:i.codeBlockStream,darkTheme:i.codeBlockDarkTheme,lightTheme:i.codeBlockLightTheme,monacoOptions:i.codeBlockMonacoOptions,themes:i.themes,minWidth:i.codeBlockMinWidth,maxWidth:i.codeBlockMaxWidth},i.codeBlockProps||{})),N1=le(()=>({typewriter:i.typewriter})),B1=le(()=>vt.value.map($=>{const N=_l($.node);return st(Ce({},$),{component:H1($.node,N),bindings:j1($.node,N),isCodeBlock:$.node.type==="code_block",indexKey:`${L1.value}-${$.index}`})}));function _l($){var N;return $?.type==="code_block"?String((N=$.language)!=null?N:"").trim().toLowerCase():""}function H1($,N){if(!$)return Yc;const G=P1.value,oe=G[String($.type)];if($.type==="code_block"){const X=N??_l($);return X==="mermaid"?G.mermaid||R1:X==="infographic"?G.infographic||I1:oe||G.code_block||D1.value}return oe||$1[String($.type)]||Yc}function j1($,N){const G=N??_l($);return G==="mermaid"||G==="infographic"?F1:$.type==="code_block"?O1.value:N1.value}function q1($){s("click",$)}function z1($){var N;(N=$.target)!=null&&N.closest("[data-node-index]")&&s("mouseover",$)}function W1($){var N;(N=$.target)!=null&&N.closest("[data-node-index]")&&s("mouseout",$)}return($,N)=>(z(),J("div",{ref_key:"containerRef",ref:l,class:nt(["markstream-vue markdown-renderer",[{dark:i.isDark},{virtualized:w.value}]]),"data-custom-id":i.customId,onClick:q1,onMouseover:z1,onMouseout:W1},[w.value?(z(),J("div",{key:0,class:"node-spacer",style:Kt({height:`${nn.value}px`}),"aria-hidden":"true"},null,4)):jt("",!0),(z(!0),J(Ee,null,ut(B1.value,G=>{var oe,X;return z(),J("div",{key:G.index,ref_for:!0,ref:me=>Ja(G.index,me),class:"node-slot","data-node-index":G.index,"data-node-type":G.node.type},[(X=G.index,k.value&&X>=O.value||W.value&&!(X<D.value)&&K[X]!==!0?(z(),J("div",{key:1,class:"node-placeholder",style:Kt({height:`${(oe=Se[G.index])!=null?oe:Nt.value}px`})},null,4)):(z(),J("div",{key:0,ref_for:!0,ref:me=>(function(he,ke){ke?(te.set(he,ke),queueMicrotask(()=>{(function(_e,Te){if(!Number.isFinite(Te)||Te<=0)return;const $e=Se[_e];if(Se[_e]=Te,$e?Ze.total+=Te-$e:(Ze.total+=Te,Ze.count++),ye.value>_e){const Me=H.value,At=ne.value;if(Me.length&&At.length)if($e){const mt=Te-$e;mt!==0&&Ke(Me,_e,mt)}else Ke(Me,_e,Te),Ke(At,_e,1)}})(he,ke.offsetHeight)})):te.delete(he)})(G.index,me),class:"node-content"},[G.isCodeBlock||i.typewriter===!1?(z(),He(ht(G.component),Zn({key:1,node:G.node,loading:G.node.loading,"index-key":G.indexKey},{ref_for:!0},G.bindings,{"custom-id":i.customId,"is-dark":i.isDark,onCopy:N[2]||(N[2]=me=>s("copy",me)),onHandleArtifactClick:N[3]||(N[3]=me=>s("handleArtifactClick",me))}),null,16,["node","loading","index-key","custom-id","is-dark"])):(z(),He(Si,{key:0,name:"typewriter",appear:""},{default:_r(()=>[(z(),He(ht(G.component),Zn({node:G.node,loading:G.node.loading,"index-key":G.indexKey},{ref_for:!0},G.bindings,{"custom-id":i.customId,"is-dark":i.isDark,onCopy:N[0]||(N[0]=me=>s("copy",me)),onHandleArtifactClick:N[1]||(N[1]=me=>s("handleArtifactClick",me))}),null,16,["node","loading","index-key","custom-id","is-dark"]))]),_:2},1024))],512)))],8,OC)}),128)),w.value?(z(),J("div",{key:1,class:"node-spacer",style:Kt({height:`${Mi.value}px`}),"aria-hidden":"true"},null,4)):jt("",!0)],42,FC))}}),[["__scopeId","data-v-617f487c"]]);Ut.install=e=>{var t,n;const r=(n=(t=Ut.__name)!=null?t:Ut.name)!=null?n:"NodeRenderer";e.component(r,Ut)};const NC={key:0,class:"admonition-icon"},BC={class:"admonition-title"},HC=["aria-expanded","aria-controls","title"],jC={key:0},qC={key:1},zC=["id"],ps=Be(xe({__name:"AdmonitionNode",props:{node:{},indexKey:{},isDark:{type:Boolean},typewriter:{type:Boolean},customId:{}},emits:["copy"],setup(e,{emit:t}){var n;const r=e,o=t,i={note:"ℹ️",info:"ℹ️",tip:"💡",warning:"⚠️",danger:"❗",error:"⛔",caution:"⚠️"},s=le(()=>{if(r.node.title&&r.node.title.trim().length)return r.node.title;const a=r.node.kind||"note";return a.charAt(0).toUpperCase()+a.slice(1)}),l=de(!!r.node.collapsible&&!((n=r.node.open)==null||n));function c(){r.node.collapsible&&(l.value=!l.value)}const u=`admonition-${Math.random().toString(36).slice(2,9)}`;return(a,f)=>(z(),J("div",{class:nt(["admonition",[`admonition-${r.node.kind}`,r.isDark?"is-dark":""]])},[se("div",{id:u,class:"admonition-header"},[i[r.node.kind]?(z(),J("span",NC,Je(i[r.node.kind]),1)):jt("",!0),se("span",BC,Je(s.value),1),r.node.collapsible?(z(),J("button",{key:1,class:"admonition-toggle","aria-expanded":!l.value,"aria-controls":`${u}-content`,title:l.value?"Expand":"Collapse",onClick:c},[l.value?(z(),J("span",jC,"▶")):(z(),J("span",qC,"▼"))],8,HC)):jt("",!0)]),ks(se("div",{id:`${u}-content`,class:"admonition-content","aria-labelledby":u},[Mo([r.node.children],()=>Pe(ue(Ut),{"index-key":`admonition-${e.indexKey}`,nodes:r.node.children,"custom-id":r.customId,typewriter:r.typewriter,onCopy:f[0]||(f[0]=p=>o("copy",p))},null,8,["index-key","nodes","custom-id","typewriter"]),f,1)],8,zC),[[Rs,!l.value]])],2))}}),[["__scopeId","data-v-5e95c2b7"]]);ps.install=e=>{e.component(ps.__name,ps)};let Fh=!1,Tr=null,oc=!1;function a8(){return Re(this,null,function*(){if(Tr)return Tr;if(oc)return null;try{return Tr=yield Dt(()=>import("./DoSvhc5U.js"),[],import.meta.url),yield(function(e){return Re(this,null,function*(){if(Fh)return;Fh=!0;const t=globalThis?.MonacoEnvironment;return!t||typeof t.getWorker!="function"&&typeof t.getWorkerUrl!="function"?e.preloadMonacoWorkers():void 0})})(Tr),(yield(function(e){return Re(this,null,function*(){const t=e?.getOrCreateHighlighter;if(typeof t!="function")return!0;try{const n=yield t(["vitesse-dark","vitesse-light"],["plaintext","text","javascript"]);return n&&typeof n.codeToTokens=="function"&&n.codeToTokens("const a = 1",{lang:"javascript",theme:"vitesse-dark"}),!0}catch(n){return console.warn("[markstream-vue] Failed to warm up Shiki tokenizer; disabling stream-monaco for this session.",n),!1}})})(Tr))?Tr:(Tr=null,oc=!0,null)}catch{return oc=!0,null}})}const WC={"":"",javascript:"javascript",js:"javascript",mjs:"javascript",cjs:"javascript",typescript:"typescript",ts:"typescript",jsx:"jsx",tsx:"tsx",golang:"go",py:"python",rb:"ruby",sh:"shell",bash:"shell",zsh:"shell",shellscript:"shell",bat:"shell",batch:"shell",ps1:"powershell",plaintext:"plain",text:"plain","c++":"cpp","c#":"csharp","objective-c":"objectivec","objective-c++":"objectivecpp",yml:"yaml",md:"markdown",rs:"rust",kt:"kotlin"};function p1(e){var t;const n=(function(r){if(!r)return"";const o=r.trim();if(!o)return"";const[i]=o.split(/\s+/),[s]=i.split(":");return s.toLowerCase()})(e);return(t=WC[n])!=null?t:n}function u8(e){const t=p1(e);if(!t)return"plaintext";switch(t){case"plain":return"plaintext";case"jsx":return"javascript";case"tsx":return"typescript";default:return t}}function UC(e){switch(p1(e)){case"javascript":case"js":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
109
+ <g fill="none" stroke="#e5c890" stroke-linecap="round" stroke-linejoin="round">
110
+ <path d="M4.5 11c0 .828427.6715729 1.5 1.5 1.5.8284271 0 1.5-.671573 1.5-1.5V7.5M12.5 8.75C12.5 8.05964406 11.9627417 7.5 11.3 7.5L10.7 7.5C10.0372583 7.5 9.5 8.05964406 9.5 8.75 9.5 9.44035594 10.0372583 10 10.7 10L11.3 10C11.9627417 10 12.5 10.5596441 12.5 11.25 12.5 11.9403559 11.9627417 12.5 11.3 12.5L10.7 12.5C10.0372583 12.5 9.5 11.9403559 9.5 11.25" />
111
+ <path d="m 4,1.5 h 8 c 1.385,0 2.5,1.115 2.5,2.5 v 8 c 0,1.385 -1.115,2.5 -2.5,2.5 H 4 C 2.615,14.5 1.5,13.385 1.5,12 V 4 C 1.5,2.615 2.615,1.5 4,1.5 Z" />
112
+ </g>
113
+ </svg>
114
+ `;case"typescript":case"ts":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
115
+ <g fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round">
116
+ <path d="M4 1.5h8A2.5 2.5 0 0114.5 4v8a2.5 2.5 0 01-2.5 2.5H4A2.5 2.5 0 011.5 12V4A2.5 2.5 0 014 1.5" />
117
+ <path d="M12.5 8.75c0-.69-.54-1.25-1.2-1.25h-.6c-.66 0-1.2.56-1.2 1.25S10.04 10 10.7 10h.6c.66 0 1.2.56 1.2 1.25s-.54 1.25-1.2 1.25h-.6c-.66 0-1.2-.56-1.2-1.25m-3-3.75v5M5 7.5h3" />
118
+ </g>
119
+ </svg>
120
+ `;case"jsx":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
121
+ <g fill="none" stroke="#99d1db" stroke-linecap="round" stroke-linejoin="round">
122
+ <path d="M8 10.8c4.14 0 7.5-1.25 7.5-2.8S12.14 5.2 8 5.2.5 6.45.5 8s3.36 2.8 7.5 2.8" />
123
+ <path d="M5.52 9.4c2.07 3.5 4.86 5.72 6.23 4.95 1.37-.78.8-4.24-1.27-7.75C8.41 3.1 5.62.88 4.25 1.65c-1.37.78-.8 4.24 1.27 7.75" />
124
+ <path d="M5.52 6.6c-2.07 3.5-2.64 6.97-1.27 7.75 1.37.77 4.16-1.45 6.23-4.95s2.64-6.97 1.27-7.75C10.38.88 7.59 3.1 5.52 6.6" />
125
+ <path d="M8.5 8a.5.5 0 01-.5.5.5.5 0 01-.5-.5.5.5 0 01.5-.5.5.5 0 01.5.5" />
126
+ </g>
127
+ </svg>
128
+ `;case"tsx":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
129
+ <g fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round">
130
+ <path d="M8 11.3c4.14 0 7.5-1.28 7.5-2.86S12.14 5.58 8 5.58.5 6.86.5 8.44s3.36 2.87 7.5 2.87Z" />
131
+ <path d="M5.52 9.87c2.07 3.6 4.86 5.86 6.23 5.07 1.37-.8.8-4.34-1.27-7.93S5.62 1.16 4.25 1.95s-.8 4.34 1.27 7.92" />
132
+ <path d="M5.52 7.01c-2.07 3.59-2.64 7.14-1.27 7.93s4.16-1.48 6.23-5.07c2.07-3.58 2.64-7.13 1.27-7.92-1.37-.8-4.16 1.47-6.23 5.06" />
133
+ <path d="M8.5 8.44a.5.5 0 01-.5.5.5.5 0 01-.5-.5.5.5 0 01.5-.5.5.5 0 01.5.5" />
134
+ </g>
135
+ </svg>
136
+ `;case"html":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
137
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
138
+ <path stroke="#ef9f76" d="M1.5 1.5h13L13 13l-5 2-5-2z" />
139
+ <path stroke="#c6d0f5" d="M11 4.5H5l.25 3h5.5l-.25 3-2.5 1-2.5-1-.08-1" />
140
+ </g>
141
+ </svg>
142
+ `;case"css":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
143
+ <g fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round">
144
+ <path d="m4 1.5h8c1.38 0 2.5 1.12 2.5 2.5v8c0 1.38-1.12 2.5-2.5 2.5h-8c-1.38 0-2.5-1.12-2.5-2.5v-8c0-1.38 1.12-2.5 2.5-2.5z" />
145
+ <path stroke-width=".814" d="m 10.240861,11.529149 c 0,0.58011 0.437448,1.039154 0.96002,1.035371 l 0.451635,-0.0032 c 0.522572,-0.0036 0.949379,-0.451477 0.949379,-1.032848 0,-0.581372 -0.426807,-1.065638 -0.949379,-1.065638 l -0.451635,3.4e-5 c -0.522572,3.9e-5 -0.949379,-0.4855273 -0.949379,-1.0656374 0,-0.5801104 0.426807,-1.0378931 0.949379,-1.0378931 l 0.451635,2.825e-4 c 0.522572,3.267e-4 0.951743,0.4577827 0.951743,1.0378931 M 6.8003972,11.529149 c 0,0.58011 0.4374474,1.039154 0.9600196,1.035371 l 0.46464,-0.0032 c 0.5225722,-0.0035 0.9363738,-0.451477 0.9363738,-1.031587 0,-0.580111 -0.4090724,-1.065638 -0.9316446,-1.065638 l -0.4693692,3.4e-5 c -0.5225722,3.8e-5 -0.949379,-0.4855272 -0.949379,-1.0656373 0,-0.5801104 0.4268068,-1.0378931 0.949379,-1.0378931 h 0.4516348 c 0.5225722,0 0.9635665,0.4577827 0.9635665,1.0378931 M 3.4072246,11.529149 c 0,0.58011 0.4374474,1.051765 0.9600196,1.051765 H 4.818879 c 0.5225722,0 0.949379,-0.456521 0.949379,-1.037893 m 0.01129,-2.1312747 c 0,-0.5801103 -0.4374474,-1.037893 -0.9600196,-1.037893 L 4.3678939,8.3741358 C 3.8453217,8.3744624 3.4078743,8.8420074 3.4078743,9.4233788 v 2.1186642" />
146
+ </g>
147
+ </svg>
148
+ `;case"scss":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
149
+ <path fill="none" stroke="#f4b8e4" stroke-linecap="round" stroke-linejoin="round" d="M6.75 6.38c1.85 1.07 3.35.74 4.83-.2 1.5-.95 2.7-2.78 1.3-4.15-.7-.68-3.25-.8-5.62.19-2.36.99-4.59 3.02-4.74 4.11-.31 2.19 3.15 2.88 3.64 4.23s.28 1.98-.2 2.83c-.5.85-1.96 1.62-2.8.68-.83-.95 1.67-2.75 2.98-3.25 1.3-.5 3.1-.4 3.69.25.58.64-.07 1.79-.03 1.79" />
150
+ </svg>
151
+ `;case"json":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
152
+ <path fill="none" stroke="#e5c890" stroke-linecap="round" stroke-linejoin="round" d="M4.5 2.5H4c-.75 0-1.5.75-1.5 1.5v2c0 1.1-1 2-1.83 2 .83 0 1.83.9 1.83 2v2c0 .75.75 1.5 1.5 1.5h.5m7-11h.5c.75 0 1.5.75 1.5 1.5v2c0 1.1 1 2 1.83 2-.83 0-1.83.9-1.83 2v2c0 .74-.75 1.5-1.5 1.5h-.5m-6.5-3a.5.5 0 100-1 .5.5 0 000 1m3 0a.5.5 0 100-1 .5.5 0 000 1m3 0a.5.5 0 100-1 .5.5 0 000 1" />
153
+ </svg>
154
+ `;case"python":case"py":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
155
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
156
+ <path stroke="#8caaee" d="M8.5 5.5h-3m6 0V3c0-.8-.7-1.5-1.5-1.5H7c-.8 0-1.5.7-1.5 1.5v2.5H3c-.8 0-1.5.7-1.5 1.5v2c0 .8.7 1.5 1.48 1.5" />
157
+ <path stroke="#e5c890" d="M10.5 10.5h-3m-3 0V13c0 .8.7 1.5 1.5 1.5h3c.8 0 1.5-.7 1.5-1.5v-2.5H13c.8 0 1.5-.7 1.5-1.5V7c0-.8-.7-1.5-1.48-1.5H11.5c0 1.5 0 2-1 2h-2" />
158
+ <path stroke="#8caaee" d="M2.98 10.5H4.5c0-1.5 0-2 1-2h2M7.5 3.5v0" />
159
+ <path stroke="#e5c890" d="m 8.5,12.5 v 0" />
160
+ </g>
161
+ </svg>
162
+ `;case"ruby":case"rb":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
163
+ <path fill="none" stroke="#e78284" stroke-linecap="round" stroke-linejoin="round" d="M1.5 9.06v2.5c.02.86.36 1.61.9 2.15 1.76 1.76 5.71.65 8.84-2.47 3.12-3.13 4.23-7.08 2.47-8.84a3.1 3.1 0 00-2.15-.9h-2.5M14.5 4l-.25 10.25L4 14.5m4.39-6.11c2.34-2.35 3.29-5.2 2.12-6.37S6.49 1.8 4.14 4.14C1.8 6.5.85 9.34 2.02 10.51s4.02.22 6.37-2.12M5.5 14.5l.25-3.75L11 11l-.25-5.25 3.75-.25" />
164
+ </svg>
165
+ `;case"go":case"golang":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
166
+ <path fill="none" stroke="#85c1dc" stroke-linecap="round" stroke-linejoin="round" d="m15.48 8.06-4.85.48m4.85-.48a4.98 4.98 0 01-4.54 5.42 5 5 0 112.95-8.66l-1.7 1.84a2.5 2.5 0 00-4.18 2.06c.05.57.3 1.1.69 1.51.25.27 1 .83 1.78.82.8-.02 1.58-.25 2.07-.81 0 0 .8-.96.68-1.88M2.5 8.5l-2 .01m1.5 2h1.5m-2-3.99 2-.02" />
167
+ </svg>
168
+ `;case"r":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
169
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
170
+ <path stroke="#838ba7" d="M13.5 9.5c.63-.7 1-1.54 1-2.43 0-2.52-2.91-4.57-6.5-4.57S1.5 4.55 1.5 7.07c0 1.9 1.65 3.53 4 4.22" />
171
+ <path stroke="#8caaee" d="M10.5 9.5c.4 0 .86.34 1 .7l1 3.3m-5 0v-8h3.05c.95 0 1.95 1 1.95 2s-1 2-1.95 2H7.5Z" />
172
+ </g>
173
+ </svg>
174
+ `;case"java":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
175
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
176
+ <path stroke="#c6d0f5" d="M10.73 8.41c.57 3 1.59 5.83 2.77 7.09-6.63-3.45-9.76-1.75-10.5 0-.66-3.4-.54-5.74.09-7.78" />
177
+ <path stroke="#e78284" d="M8.5 7c.63.34 1.82 1.07 2.24 1.41-.54-2.9-.64-5.96-.74-7.91-2.13.58-5.73 1.98-6.9 7.22.52-.69 1.72-1.05 2.4-1.22" />
178
+ <path stroke="#e78284" d="M5.5 7A1.5 1.5 0 007 8.5 1.5 1.5 0 008.5 7 1.5 1.5 0 007 5.5 1.5 1.5 0 005.5 7" />
179
+ </g>
180
+ </svg>
181
+ `;case"kotlin":case"kt":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
182
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
183
+ <path stroke="#ca9ee6" d="M2.5 13.5h11L8 8" />
184
+ <path stroke="#ef9f76" d="M8.03 2.5h5.47l-8 8" />
185
+ <path stroke="#e78284" d="M2.5 13.5V8" />
186
+ <path stroke="#85c1dc" d="M8 2.5H2.5V8l3-2.5" />
187
+ </g>
188
+ </svg>
189
+ `;case"c":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
190
+ <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="m 4.0559072,12.951629 c 2.7459832,2.734744 7.1981158,2.734744 9.9441188,0 l -1.789955,-1.782586 c -1.75742,1.750224 -4.6067879,1.750224 -6.3642294,0 -1.7574416,-1.7502236 -1.7574416,-4.587893 0,-6.338097 1.7574415,-1.750224 4.6068094,-1.750224 6.3642294,0 l 0.894977,-0.8912929 0.894978,-0.891293 c -2.746003,-2.73472867 -7.1981359,-2.73472867 -9.944119,0 -2.7459858,2.7347089 -2.7459858,7.1685599 2e-7,9.9032689 z" clip-rule="evenodd" />
191
+ </svg>
192
+ `;case"cpp":case"c++":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
193
+ <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="m 2.5559121,12.951629 c 2.7459832,2.734744 7.1981158,2.734744 9.9441189,0 l -1.789955,-1.782586 c -1.7574201,1.750224 -4.606788,1.750224 -6.3642295,0 -1.7574416,-1.7502236 -1.7574416,-4.587893 0,-6.338097 1.7574415,-1.750224 4.6068094,-1.750224 6.3642295,0 l 0.894977,-0.8912929 0.894978,-0.891293 c -2.7460031,-2.73472867 -7.198136,-2.73472867 -9.9441191,0 -2.74598585,2.7347089 -2.74598585,7.1685599 2e-7,9.9032689 z" clip-rule="evenodd" />
194
+ <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="M7.5 6v4M5.513524 7.9999996H9.51304M13.486476 5.9999996v4M11.5 7.9999992h3.999516" />
195
+ </svg>
196
+ `;case"cs":case"csharp":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
197
+ <path fill="none" stroke="#8caaee" d="m 6.665625,1.0107144 c 0.54375,0.090628 0.9125,0.6062693 0.821875,1.1500367 L 7.18125,3.9983098 h 2.971875 L 10.5125,1.8326156 c 0.09063,-0.5437673 0.60625,-0.9125291 1.15,-0.8219012 0.54375,0.090628 0.9125,0.6062693 0.821875,1.1500367 L 12.18125,3.9983098 H 14 c 0.553125,0 1,0.4468892 1,1.0000319 0,0.5531426 -0.446875,1.0000319 -1,1.0000319 H 11.846875 L 11.18125,9.9985013 H 13 c 0.553125,0 1,0.4468897 1,1.0000317 0,0.553143 -0.446875,1.000032 -1,1.000032 H 10.846875 L 10.4875,14.164259 c -0.09063,0.543768 -0.60625,0.912529 -1.15,0.821902 -0.54375,-0.09063 -0.9125,-0.60627 -0.821875,-1.150037 l 0.30625,-1.834434 h -2.975 L 5.4875,14.167384 c -0.090625,0.543768 -0.60625,0.91253 -1.15,0.821902 C 3.79375,14.898658 3.425,14.383016 3.515625,13.839249 L 3.81875,11.998565 H 2 c -0.553125,0 -1,-0.446889 -1,-1.000032 C 1,10.445391 1.446875,9.9985013 2,9.9985013 H 4.153125 L 4.81875,5.9983736 H 3 c -0.553125,0 -1,-0.4468893 -1,-1.0000319 C 2,4.445199 2.446875,3.9983098 3,3.9983098 H 5.153125 L 5.5125,1.8326156 C 5.603125,1.2888483 6.11875,0.9200865 6.6625,1.0107144 Z M 6.846875,5.9983736 6.18125,9.9985013 H 9.153125 L 9.81875,5.9983736 Z" />
198
+ </svg>
199
+ `;case"php":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
200
+ <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="M0.5,12.5 L0.5,13.24 C0.5,14 1.27360724,14.5 2,14.5 C2.9375516,14.5 3.5,14 3.5,13.2445661 L3.5,6.00089968 C3.5,4.28551107 4.99401107,2.52263547 7.14960413,2.5 C9.49387886,2.5 11,4.0579782 11,5.5 C11.1657296,8.48962302 9.57820404,9.63684469 7.49621582,10.5 L7.49621582,14.5 L15.4979764,14.5 L15.4979764,9 C15.5394484,8.36478228 14.9387379,7.15595371 14.1308258,6.5 C13.1942239,5.80827275 12.0584852,5.50253264 11,5.5 M11.5,14.5 L11.5,11.5 M6,6.5 C6.27614237,6.5 6.5,6.27614237 6.5,6 C6.5,5.72385763 6.27614237,5.5 6,5.5 C5.72385763,5.5 5.5,5.72385763 5.5,6 C5.5,6.27614237 5.72385763,6.5 6,6.5 Z" />
201
+ </svg>
202
+ `;case"scala":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
203
+ <path fill="none" stroke="#e78284" stroke-linecap="round" stroke-linejoin="round" d="m2.5 2.48 11-.98v3.04l-11 1zm0 5 11-.98v3.04l-11 1zm0 5 11-.98v3.04l-11 1z" />
204
+ </svg>
205
+ `;case"shell":case"sh":case"bash":case"zsh":case"powershell":case"ps1":case"bat":case"batch":case"shellscript":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
206
+ <g fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round">
207
+ <path d="M2 15.5c-.7 0-1.5-.8-1.5-1.5V5c0-.7.8-1.5 1.5-1.5h9c.7 0 1.5.8 1.5 1.5v9c0 .7-.8 1.5-1.5 1.5z" />
208
+ <path d="m1.2 3.8 3.04-2.5S5.17.5 5.7.5h8.4c.66 0 1.4.73 1.4 1.4v7.73a2.7 2.7 0 01-.7 1.75l-2.68 3.51M3 8.5l3 2-3 2m4 0h2" />
209
+ </g>
210
+ </svg>
211
+ `;case"sql":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
212
+ <path fill="none" stroke="#e5c890" stroke-linecap="round" stroke-linejoin="round" d="M8 6.5c3.59 0 6.5-1.4 6.5-2.68S11.59 1.5 8 1.5 1.5 2.54 1.5 3.82 4.41 6.5 8 6.5M14.5 8c0 .83-1.24 1.79-3.25 2.2s-4.49.41-6.5 0S1.5 8.83 1.5 8m13 4.18c0 .83-1.24 1.6-3.25 2-2.01.42-4.49.42-6.5 0-2.01-.4-3.25-1.17-3.25-2m0-8.3v8.3m13-8.3v8.3" />
213
+ </svg>
214
+ `;case"yaml":case"yml":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
215
+ <path fill="none" stroke="#e78284" stroke-linecap="round" stroke-linejoin="round" d="M2.5 1.5h3l3 4 3-4h3l-9 13h-3L7 8z" />
216
+ </svg>
217
+ `;case"markdown":case"md":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
218
+ <path fill="none" stroke="#85c1dc" stroke-linecap="round" stroke-linejoin="round" d="m9.25 8.25 2.25 2.25 2.25-2.25M3.5 11V5.5l2.04 3 1.96-3V11m4-.5V5M1.65 2.5h12.7c.59 0 1.15.49 1.15 1v9c0 .51-.56 1-1.15 1H1.65c-.59 0-1.15-.49-1.15-1V3.58c0-.5.56-1.08 1.15-1.08" />
219
+ </svg>
220
+ `;case"xml":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
221
+ <path fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round" d="M4.5 4.5 1 8 4.5 11.5M11.5 4.5 15 8 11.5 11.5M9.5 2 6.5 14" />
222
+ </svg>
223
+ `;case"rust":case"rs":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
224
+ <g fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round">
225
+ <path d="M15.5 9.5Q8 13.505.5 9.5l1-1-1-2 2-.5V4.5h2l.5-2 1.5 1 1.5-2 1.5 2 1.5-1 .5 2h2V6l2 .5-1 2z" />
226
+ <path d="M6.5 7.5a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m5 0a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1M4 11.02c-.67.37-1.5.98-1.5 2.23s1.22 1.22 2 1.25v-2M12 11c.67.37 1.5 1 1.5 2.25s-1.22 1.22-2 1.25v-2" />
227
+ </g>
228
+ </svg>
229
+ `;case"swift":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
230
+ <path fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round" d="M14.34 10.2c.34-1.08 1.1-5.07-4.45-8.62a.48.48 0 00-.6.07.44.44 0 00-.02.6c.03.02 2.07 2.5 1.34 5.34-1.26-.86-6.24-4.81-6.24-4.81L7.25 7.5 1.9 4.05S5.68 8.7 8 10.45c-1.12.4-3.56.82-6.78-1.18a.48.48 0 00-.58.06.44.44 0 00-.08.56c.11.18 2.7 4.36 8.14 4.36 1.5 0 2.37-.42 3.08-.77.43-.2.77-.37 1.14-.37.93 0 1.54.92 1.54.93.1.14.27.22.44.21a.46.46 0 00.4-.28c.67-1.55-.49-3.2-.96-3.78h0Z" />
231
+ </svg>
232
+ `;case"perl":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
233
+ <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="M12.5 14.5v-3.34c-1-.66-1-1.35-1-2.66m-3 1 .02 2.53.98 2.47m-4-5v5m9 0V9.23s.17-1.73-1-1.73c0-1.5-.5-6-2.5-6S8.75 4.25 8.75 4.25A3.67 3.67 0 006.5 7.12v-3.5c0-.63-.85-1.32-1.5-1.32-.92 0-1.33.59-1.5 1.2H2.25c-.42.11-.75.59-.75 1 0 .5.28 1 .75 1h1.22l.02 3c.01.75.51 1 1.51 1h4.5" />
234
+ </svg>
235
+ `;case"lua":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
236
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
237
+ <path stroke="#c6d0f5" d="M10.5 7A1.5 1.5 0 019 8.5 1.5 1.5 0 017.5 7 1.5 1.5 0 019 5.5 1.5 1.5 0 0110.5 7" />
238
+ <path stroke="#8caaee" d="M7 2.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13m7-2a1.5 1.5 0 100 3 1.5 1.5 0 000-3" />
239
+ </g>
240
+ </svg>
241
+ `;case"haskell":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
242
+ <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="M12.5 4.5h3m-1.5 3h1.5m-10 6 2.5-5-2.5-5H8l5.6 10h-2.53l-1.52-2.92L8 13.5zm-5 0 2.5-5-2.5-5H3l2.5 5-2.5 5z" />
243
+ </svg>
244
+ `;case"erlang":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
245
+ <g fill="none" stroke="#e78284" stroke-linecap="round" stroke-linejoin="round">
246
+ <path d="M6.5 5.5c0-1.25 1-2 2-2s2 .75 2 2z" />
247
+ <path d="M13.5 13c.47-.57 1.12-1.24 1.5-2l-2.25-1.25c-.74 1.36-1.76 2.75-3.25 2.75-2.1 0-3-2.3-3-5h8c.05-1.61-.31-3.45-1-4.5M3 13c-1.08-1.3-1.5-3-1.5-5S2.1 4.24 3 3" />
248
+ </g>
249
+ </svg>
250
+ `;case"clojure":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
251
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
252
+ <path stroke="#a6d189" d="M14.17 10.03A6.5 6.5 0 011.81 6.02" />
253
+ <path stroke="#8caaee" d="M1.87 5.85A6.5 6.5 0 0114.22 9.9" />
254
+ <path stroke="#a6d189" d="M6.36 4.9a3.5 3.5 0 103.41 6.12" />
255
+ <path stroke="#8caaee" d="M9.77 11.02a3.5 3.5 0 00-3.03-6.29" />
256
+ <path stroke="#c6d0f5" d="M8 7.5s-1.66 2.48-1.5 3.65" />
257
+ <path stroke="#c6d0f5" d="M1.81 6.02C2.47 5 3.83 4.49 5 4.46c4.06 0 3 5.56 5.03 6.86 1.21.52 3.5-.21 4.15-1.32" />
258
+ </g>
259
+ </svg>
260
+ `;case"vue":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
261
+ <g fill="none" stroke="#a6d189" stroke-linecap="round" stroke-linejoin="round">
262
+ <path d="M1 1.5h5.44L8 4.56 9.56 1.5H15l-6.99 13z" />
263
+ <path d="M12.05 1.73 8 9.28 3.95 1.73" />
264
+ </g>
265
+ </svg>
266
+ `;case"svg":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
267
+ <path fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round" d="m4.54 10 6.92-4m-6.92 4a1.5 1.5 0 10-2.6 1.5 1.5 1.5 0 002.6-1.5M8 4v8m0-8a1.5 1.5 0 100-3 1.5 1.5 0 000 3M4.54 6l6.92 4M4.54 6a1.5 1.5 0 10-2.6-1.5A1.5 1.5 0 004.54 6M8 12a1.5 1.5 0 100 3 1.5 1.5 0 000-3m3.46-2a1.5 1.5 0 102.6 1.5 1.5 1.5 0 00-2.6-1.5m0-4a1.5 1.5 0 102.6-1.5 1.5 1.5 0 00-2.6 1.5" />
268
+ </svg>
269
+ `;case"mermaid":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
270
+ <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="M1.5 2.5c0 6 2.25 5.75 4 7 .83.67 1.17 2 1 4h3c-.17-2 .17-3.33 1-4 1.75-1.25 4-1 4-7C12 2.5 10 3 8 7 6 3 4 2.5 1.5 2.5" />
271
+ </svg>
272
+ `;case"dart":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
273
+ <g fill="none" stroke="#85c1dc" stroke-linecap="round" stroke-linejoin="round">
274
+ <path d="M7 14.5h4.5v-3h3V7L9.17 1.64c-.28-.29-.8-.47-1.17-.29L3.5 3.5 1.35 8c-.18.37 0 .88.3 1.17z" />
275
+ <path d="M3.5 11V3.5H11m-7.5 0 8 8" />
276
+ </g>
277
+ </svg>
278
+ `;case"assembly":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
279
+ <rect width="8" height="13.001" x="4" y="1.499" fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" rx="2.286" ry="2.286" />
280
+ <path fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" d="M 4,4.500025 H 1.5 M 4,7.9999993 H 1.5 M 4,11.499973 H 1.5 m 13,-6.999948 H 12 m 2.5,3.4999743 H 12 m 2.5,3.4999737 H 12" />
281
+ </svg>
282
+ `;case"dockerfile":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
283
+ <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="M.5 8.5H11l.75-.5a5.35 5.35 0 010-3.5c1 .6 1 1.88 1.74 2 .77-.09 1.23.01 2 .52 0 0-.97 1.77-2.5 1.98-1.93 3.65-4.5 5.5-6.98 5.5C0 14.5.5 8.5.5 8.5m1 0v-2m0 0h8m-6 2v-4m0 0h4m-2-2h2m-2 6v-6m2 6v-6m2 6v-2" />
284
+ </svg>
285
+ `;case"fortran":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
286
+ <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="M7.5 14.5v-1l-1-1v-3h2l1 2h1v-6h-1l-1 2h-2v-4h5l1 3h1v-5h-11v1l1 1v9l-1 1.25v.75z" />
287
+ </svg>
288
+ `;case"lisp":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
289
+ <g fill="none" stroke="#e78284" stroke-linecap="round" stroke-linejoin="round">
290
+ <path d="M.5 5.06v6.07C.5 12.41.82 13 2.27 13h5.6c1.04 0 1.63-.51 1.63-1.62 0-.85-.2-1.88-1.5-1.88h-.36C6.4 9.5 6 8.77 6 7.75 6 6.81 6.8 6 7.49 6h2.68" />
291
+ <path d="M3.5 10.5V4.99C3.5 3.89 3.62 3 5 3h9c.97 0 1.5.99 1.5 1.63.12 1.55-.98 1.62-2.1 2.16-.58.26-1.4.52-1.4.98V11" />
292
+ </g>
293
+ </svg>
294
+ `;case"ocaml":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
295
+ <g fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round">
296
+ <path d="M1.5 8V3c0-.83.67-1.5 1.5-1.5h10c.83 0 1.5.67 1.5 1.5v10c0 .83-.67 1.5-1.5 1.5H9" />
297
+ <path d="m1.5 8 1.14-2.3q.09-.21.36-.24a.8.8 0 01.44.13c.18.12.23.53.28.64.06.1.64 1.23.85 1.23.2 0 .71-1.47.71-1.47s.37-.49.72-.49.55.32.67.49c.12.16.24 1.76.46 2.01s1.32.87 1.67.73c.34-.13.53-.4.63-.73.1-.34-.14-.75 0-1a1.1 1.1 0 011.02-.55c.56.03 2.05.56 2.05 1.05q0 .75-1.5.75c-.48 1.33.28 2.22-3 2.25l1 4" />
298
+ <path d="m4.5 14.5 1.5-4 1 4zm-2 0 1.5-4-1.5-.5-1 1.54V14l1 .49Z" />
299
+ </g>
300
+ </svg>
301
+ `;case"prolog":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
302
+ <path fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round" d="M4.5 13.5c-.33.33-.5.67-.5 1s.17.67.5 1c.17-.67.5-1 1-1s.83.33 1 1c.33-.33.5-.83.5-1.5h2c0 .67.17 1.17.5 1.5.17-.67.5-1 1-1s.83.33 1 1c.33-.33.5-.67.5-1s-.17-.67-.5-1l1-1 1.25 1.25c0-2.75 1-2.75 1-5.75a7.1 7.1 0 00-2-5.25A3.64 3.64 0 0113 .5c-1.17 0-2 .42-2.5 1.25A3.08 3.08 0 008 .5c-1 0-1.83.42-2.5 1.25C5 .92 4.17.5 3 .5c.5.83.58 1.58.25 2.25a7.1 7.1 0 00-2 5.25c0 3 1 3 1 5.75L3.5 12.5zm6-5a2 2 0 100-4 2 2 0 000 4m-5 0a2 2 0 100-4 2 2 0 000 4M7 8l1 2.5L9 8m1.5-1.5" />
303
+ </svg>
304
+ `;case"groovy":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
305
+ <g fill="none" stroke="#85c1dc" stroke-linecap="round" stroke-linejoin="round">
306
+ <path d="M11.68 5.38c.4.19.54.68 1.53 3.25 1 2.57-.92 4.07-.92 4.07s-6.73 2.47-6.73 1.63c-.18-.92-1.92-2.08-1.92-2.08s-.52-.63.06-.75c5.89-1.27 6.96-.61 7.3-2" />
307
+ <path d="M7.38 10.63C2.62 10.88 2.48 8.08 2.5 8 3.6 4.6 9.24.91 10.8 1.58 14.07 3.04 9.2 8.96 7 8.5c-4.02-.83 1.5-4 1.5-4" />
308
+ </g>
309
+ </svg>
310
+ `;case"matlab":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
311
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
312
+ <path stroke="#85c1dc" d="M4 11 .5 8.5 5 7q.78-1.77 1.89-1.89c.74-.07 1.94-1.28 3.61-3.61M5 7l1.5 1.5" />
313
+ <path stroke="#ef9f76" d="m15.5 12.5-5-11C8.5 6.83 6.33 10 4 11c1.67-.33 2.67.83 3 3.5 3.5-1.5 3.5-3.5 5-4s1.5 1.5 3.5 2" />
314
+ </g>
315
+ </svg>
316
+ `;case"cobol":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
317
+ <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="M6.74 2.24c.32-1.32 2.2-1.32 2.52 0a1.3 1.3 0 001.93.8c1.15-.7 2.48.62 1.77 1.77a1.3 1.3 0 00.8 1.93c1.32.32 1.32 2.2 0 2.52a1.3 1.3 0 00-.8 1.93c.7 1.15-.62 2.48-1.77 1.77a1.3 1.3 0 00-1.93.8c-.32 1.32-2.2 1.32-2.52 0a1.3 1.3 0 00-1.93-.8c-1.15.7-2.48-.62-1.77-1.77a1.3 1.3 0 00-.8-1.93c-1.32-.32-1.32-2.2 0-2.52a1.3 1.3 0 00.8-1.93c-.7-1.15.62-2.48 1.77-1.77a1.3 1.3 0 001.93-.8M10 6.5a2.5 2.5 0 100 3" />
318
+ </svg>
319
+ `;case"ada":return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><path fill="#0f23c3" d="M24.554 20.075c.209.27 1.356.961 1.37 1.246a7 7 0 0 0-1.4-.324a17 17 0 0 1-1.412-.48a9.2 9.2 0 0 1-2.375-1.3A3.15 3.15 0 0 1 19.3 16.75a1.72 1.72 0 0 1 1.767-1.822a3.6 3.6 0 0 1 1.593.321c.146.066 1.31.606 1.256.809a5.5 5.5 0 0 0-1.41-.112c-.649.244-.4.828-.168 1.311a8 8 0 0 0 1.078 1.554c.164.194.884 1.271 1.138 1.264"/><path fill="#1a1978" d="M24.141 16.276c.128-.59.819-1.384 1.344-.773a4.2 4.2 0 0 1 .578 1.918c.12.656.2 1.327.261 1.982c.038.379.34 1.794.123 2.075a23 23 0 0 1-2.922-2.838a3.76 3.76 0 0 1-.925-1.7c-.1-1.073.879-.73 1.541-.664"/><path fill="#0f23c3" d="M26.3 17.781c.141-.732-.406-2.592-1.067-2.949a.06.06 0 0 0 .044-.007c-.156-.444-1.359 1.116-1.228 1.174c-.316-.138.774-1.984.988-2.16c.7-.578 1.372-.086 1.845.543a6.04 6.04 0 0 1 .733 4.434a4.5 4.5 0 0 1-.421 1.312c-.1.22-.45 1.1-.682 1.174a14.8 14.8 0 0 0-.212-3.521"/><path fill="#d2d2d2" d="M3.687 8.4c.179-.188-.041-1.527.324-1.548c.262-.015.553 1.741.627 1.968a9.2 9.2 0 0 0 1.127 2.329a7.53 7.53 0 0 0 4.016 2.978a4.55 4.55 0 0 0 2.366.2c.931-.208 1.82-.577 2.757-.765c1.35-.27 3.342-.352 4.438.647c.7.641.376.76.043 1.421a2.44 2.44 0 0 0 .178 2.562c.235.342 1.033.827.675 1.094c-.567.424-1.277-.452-1.636-.776c-1.4-1.264-2.711-1.313-4.492-1.074a9 9 0 0 1-4.883-.708A9.47 9.47 0 0 1 3.687 8.4M19.941 30a3.6 3.6 0 0 1-2.325-.817c.469-.092 1.021.025 1.508-.044a9.7 9.7 0 0 0 1.754-.43a10.5 10.5 0 0 0 3.022-1.554a6.55 6.55 0 0 0 2.757-5.214c.149-.088.316 1.034.319 1.091a5.8 5.8 0 0 1-.19 1.727a6.9 6.9 0 0 1-1.423 2.774A7.3 7.3 0 0 1 19.941 30"/><path fill="#d2d2d2" d="M18.962 19.109a5.8 5.8 0 0 1-2.05.859a13.4 13.4 0 0 1-2.224.549a8.86 8.86 0 0 1-4.435-.51a9.94 9.94 0 0 1-3.849-2.4c-.352-.367-2.104-2.417-1.548-3.05c.248-.282.875.846 1 .992a5 5 0 0 0 1.357 1.11a10.9 10.9 0 0 0 4.035 1.456a6.7 6.7 0 0 0 2.34-.094a13 13 0 0 1 1.694-.485a4 4 0 0 1 2.113.457c.344.17 1.523.743 1.567 1.116m9.351-4.031a19.3 19.3 0 0 1-.453 3.774c-.176-.242.016-1.47 0-1.792a6 6 0 0 0-.384-2.087a4.9 4.9 0 0 0-1.376-1.661a15 15 0 0 1-1.27-1.536c-1.837-2.382-3.245-5.211-2.9-8.3c.034-.308.069-1.448.411-1.445c.152 0 .266 1.561.29 1.718a12.5 12.5 0 0 0 1.224 4.116c.67 1.222 1.947 2.023 2.825 3.1a6.58 6.58 0 0 1 1.633 4.113M15.7 26.935a10.85 10.85 0 0 0 6.436-.687a6.94 6.94 0 0 0 4.278-4.418c.319.2-.048 1.529-.128 1.781a5.7 5.7 0 0 1-1.01 1.813a8.9 8.9 0 0 1-3.257 2.514c-1.703.772-5.662 1.652-6.319-1.003"/><path fill="#d2d2d2" d="M19.151 19.376c.367 2.107-2.957 3.124-4.478 3.213c-1.859.11-4.929-.292-6.06-2.031c-.673-1.035.781-.09 1.188.058a8.7 8.7 0 0 0 3.06.5a11.6 11.6 0 0 0 3.305-.5a14 14 0 0 0 1.533-.576c.301-.132 1.124-.691 1.452-.664m4.991 4.084c.4-.945-1.883-1.578-2.445-1.858a4.9 4.9 0 0 1-1.315-.867c-.181-.181-.872-.92-.807-1.219a5 5 0 0 1 1.087-.175a6 6 0 0 1 .855.588a10 10 0 0 0 .964.5a16 16 0 0 0 2.119.771c.308.09 1.549.208 1.727.428c-.04.296-1.97 2.021-2.185 1.832"/><path fill="#d2d2d2" d="M26.1 22.172c.265.43-1.08 1.831-1.363 2.105a9.3 9.3 0 0 1-2.566 1.728a7.8 7.8 0 0 1-2.56.753c-.679.058-1.966-.124-2.141-.979a7 7 0 0 1 1.177-.086c.462-.059.921-.149 1.376-.246a13 13 0 0 0 2.184-.645a11.5 11.5 0 0 0 2.084-1.11a11 11 0 0 0 1.078-.822c.105-.089.617-.702.731-.698m-7.342-10.207c-.1-1.308 2.612-1.3 3.271-1.092a5.98 5.98 0 0 1 2.982 2.475c-1.082.8-2.449.094-3.3-.654a4.3 4.3 0 0 0-1.481-1.029c-.809-.265-.818.094-1.472.3"/><path fill="#d2d2d2" d="M25.783 13.341c-.444-.029-.316.071-.647-.212c-.358-.307-.614-.795-.945-1.141c-.534-.558-1.242-.895-1.723-1.485a7.27 7.27 0 0 1-1.624-4.848c.018-1.489.407.187.551.675a12.3 12.3 0 0 0 1.126 2.708a46 46 0 0 0 3.4 4.321c-.039.002-.097-.021-.138-.018m-5.715 1.415c.033-.625-.911-.792-1.211-1.42c-.164-.343-.211-.569.029-.7c.082-.045.383.012.5-.02c.271-.076.335-.273.581-.4a1.193 1.193 0 0 1 1.633 1.021a1.82 1.82 0 0 1-1.532 1.519"/><path fill="#d2d2d2" d="M20.5 14.745a1.93 1.93 0 0 0 1.323-1.7c.524.139.928.658 1.521.771a2.6 2.6 0 0 0 1.029-.017c.207-.045.54-.274.721-.259c-.033.163-.464.546-.565.717a4.2 4.2 0 0 0-.388.9c-.229.741-.061.739-.709.311a4.3 4.3 0 0 0-1.957-.72c-.266-.026-.881.019-.975-.003m-.595 5.989a2.01 2.01 0 0 1-1.4 1.712c-.205.091-2.018.733-2.032.348c-.007-.2 1.624-.954 1.809-1.11a3.4 3.4 0 0 0 .867-1.071c.055-.112.232-.925.271-.943c.224-.106.488.93.485 1.064m-8.532-8.202a10.6 10.6 0 0 1 3.71-.914a10.3 10.3 0 0 1 1.865.024c.366.039 1.469.054 1.74.343a.255.255 0 0 1-.273.173c-.037.077.251.371.3.425c-.034.034-1.445-.4-1.572-.424a10.6 10.6 0 0 0-2.282-.134a16 16 0 0 0-1.841.194a6.2 6.2 0 0 1-1.647.313m11.139-1.801a1.89 1.89 0 0 1-1.517-.6c-.247-.349-.737-1.692-.385-2.021c.209-.2.384.662.484.846a11 11 0 0 0 1.418 1.775m5.276 8.469a19 19 0 0 1-.749 3.313c-.173-.077-.275-.778-.562-.95a4.1 4.1 0 0 0 .76-1.154c.152-.302.303-1.046.551-1.209m-7.807-7.357c-.132.268-.932 1.1-1.118.481c-.107-.356.876-.841 1.118-.481m-.747.45c.228.006.012-.248.012-.266c-.001-.043-.368.266-.012.266"/></svg>';case"julia":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
320
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
321
+ <path stroke="#a6d189" d="M10.5 5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0" />
322
+ <path stroke="#e78284" d="M6.5 11a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0" />
323
+ <path stroke="#ca9ee6" d="M14.5 11a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0" />
324
+ </g>
325
+ </svg>
326
+ `;case"elixir":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
327
+ <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="M8.03 14.5C5 14.5 3.5 12.49 3.5 10.01c0-2.82 2.25-7.02 4.62-8.48a.24.24 0 01.24 0c.08.04.12.12.11.2-.13 1.25.22 2.5.98 3.54.3.43.63.8 1.02 1.27.54.66.94 1.03 1.52 2.08l.01.02c.33.56.5 1.2.5 1.84 0 2.03-1.69 4.02-4.47 4.02" />
328
+ </svg>
329
+ `;case"vb.net":return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><path fill="#00519a" d="M6.67 7.836L9 18.915l2.336-11.079H16l-4.664 16.328H6.672L2 7.836Zm11.661 0h7.6a4.08 4.08 0 0 1 2.9 1.749a3.8 3.8 0 0 1 .571 2.04a4 4 0 0 1-.571 2.034a4.1 4.1 0 0 1-2.341 1.763a4.1 4.1 0 0 1 2.929 1.756a3.8 3.8 0 0 1 .58 2.1a4.66 4.66 0 0 1-.579 2.546a5.05 5.05 0 0 1-3.5 2.338h-7.589ZM23 14.252h1.166a1.754 1.754 0 0 0 0-3.5H23Zm0 7h1.39a2.047 2.047 0 0 0 0-4.089H23Z"/></svg>';case"nim":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
330
+ <path fill="none" stroke="#e5c890" stroke-linecap="round" stroke-linejoin="round" d="M1 7 .5 4.5l1.01.67c.28-.27.47-.48 1.18-.85l.56-1.82L4.5 3.84c.77-.18 1.53-.36 2.4-.33L8 1.5l1.1 2.01c.87-.03 1.63.15 2.4.33l1.25-1.34.56 1.82c.7.37.9.58 1.18.85l1.01-.67L15 7m-1.5 1C13 6.5 11 5.5 8 5.5S3 6.5 2.5 8m11.5.75L13.5 8l-1 1.5-1.5.5-3-1.5L5 10l-1.5-.5-1-1.5-.5.75L1 7l1.25 3.75C3 12.75 6 13.5 8 13.5s5-.75 5.75-2.75L15 7z" />
331
+ </svg>
332
+ `;case"crystal":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
333
+ <path fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" d="m 15.4712,10.050637 -5.433601,5.433968 c -0.015,0.01505 -0.04554,0.01505 -0.09055,0.01505 L 2.536327,13.517264 c -0.015,0 -0.04501,-0.01505 -0.06055,-0.06072 L 0.50026325,6.0396501 a 0.21432208,0.21495127 0 0 1 0.015,-0.090817 L 5.9483283,0.5154023 c 0.015,-0.0150465 0.04501,-0.0150465 0.09055,-0.0150465 l 7.4101857,1.997972 c 0.015,0 0.04501,0.015046 0.06055,0.060724 l 1.977121,7.4158186 c 0.03001,0.03063 0.01608,0.060724 -0.01554,0.07577 M 8.2121063,4.1480782 0.93801425,6.1154197 q -0.0225,0 0,0.04514 L 6.2655263,11.50371 c 0.015,0.01505 0.015,0 0.04501,0 l 1.962119,-7.2803988 c -0.03054,-0.075233 -0.06055,-0.075233 -0.06055,-0.075233" />
334
+ </svg>
335
+ `;case"d":return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><defs><linearGradient id="SVGMV3iTbAN" x1="185.455" x2="181.955" y1="1601.641" y2="1630.224" gradientTransform="translate(-62.523 -666.646)scale(.427)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="SVGniw2Mvsa" x1="176.136" x2="172.636" y1="1600.5" y2="1629.083" href="#SVGMV3iTbAN"/></defs><path fill="#b03931" d="m3.978 15.462l-.009-6.953a.59.59 0 0 1 .531-.562h.076l6.074-.009a15.7 15.7 0 0 1 6.067.95a8.9 8.9 0 0 1 2.244 1.359a4.47 4.47 0 0 1 2.946-1.083a4.11 4.11 0 0 1 4.276 3.92A4.11 4.11 0 0 1 21.907 17c-.089 0-.177-.008-.265-.012a7 7 0 0 1-.232.953a85 85 0 0 1 8.59 2.6V2H2v13.4q.992.02 1.978.062m22.8-7.944a1.32 1.32 0 0 1 1.374 1.259a1.379 1.379 0 0 1-2.747 0a1.32 1.32 0 0 1 1.375-1.26Z"/><path fill="#b03931" d="M17.861 15.787a4.11 4.11 0 0 0-1.748-3.458a5.8 5.8 0 0 0-1.508-.822a7.4 7.4 0 0 0-1.629-.438a22 22 0 0 0-2.588-.1H7.769l.006 4.737a89 89 0 0 1 9.91 1.408a5 5 0 0 0 .176-1.327m3.132 3.192a7.9 7.9 0 0 1-2.128 2.582a9.7 9.7 0 0 1-3.256 1.71a11.6 11.6 0 0 1-1.971.472h-.015a32 32 0 0 1-3.326.111l-5.625.022a.616.616 0 0 1-.686-.681l-.01-7.734Q2.992 15.42 2 15.4V30h28v-9.456a85 85 0 0 0-8.59-2.6a7 7 0 0 1-.417 1.035"/><path fill="url(#SVGMV3iTbAN)" d="M20.993 18.979a7.9 7.9 0 0 1-2.128 2.582a9.7 9.7 0 0 1-3.256 1.71a11.6 11.6 0 0 1-1.971.472h-.015a32 32 0 0 1-3.326.111l-5.625.022a.616.616 0 0 1-.686-.681l-.01-7.734Q2.992 15.42 2 15.4V30h28v-9.456a85 85 0 0 0-8.59-2.6a7 7 0 0 1-.417 1.035" opacity=".3"/><path fill="#b03931" d="M10.477 20.835a16 16 0 0 0 2.877-.2a7.6 7.6 0 0 0 1.628-.5a5.6 5.6 0 0 0 1.187-.748a4.46 4.46 0 0 0 1.518-2.271a89 89 0 0 0-9.91-1.408l.006 5.133Z"/><path fill="url(#SVGniw2Mvsa)" d="M10.477 20.835a16 16 0 0 0 2.877-.2a7.6 7.6 0 0 0 1.628-.5a5.6 5.6 0 0 0 1.187-.748a4.46 4.46 0 0 0 1.518-2.271a89 89 0 0 0-9.91-1.408l.006 5.133Z" opacity=".3"/><path fill="#fff" d="M20.383 11.746a7 7 0 0 1 1.36 4.148a6.6 6.6 0 0 1-.1 1.1c.088 0 .176.012.265.012a4.11 4.11 0 0 0 4.276-3.92a4.11 4.11 0 0 0-4.276-3.92a4.47 4.47 0 0 0-2.946 1.083a8 8 0 0 1 1.421 1.497"/><ellipse cx="26.78" cy="8.777" fill="#fff" rx="1.374" ry="1.259"/><path fill="#fff" d="m4.673 23.877l5.625-.022a32 32 0 0 0 3.326-.111h.015a11.5 11.5 0 0 0 1.971-.472a9.7 9.7 0 0 0 3.256-1.71a7.9 7.9 0 0 0 2.128-2.582a7 7 0 0 0 .417-1.034a7 7 0 0 0 .332-2.051a7 7 0 0 0-1.36-4.148a8 8 0 0 0-1.421-1.5a8.9 8.9 0 0 0-2.244-1.359a15.7 15.7 0 0 0-6.067-.95l-6.074.009h-.076a.59.59 0 0 0-.532.562l.009 6.952l.01 7.734a.616.616 0 0 0 .685.682m3.1-12.908h2.619a22 22 0 0 1 2.588.1a7.4 7.4 0 0 1 1.629.438a5.8 5.8 0 0 1 1.508.822a4.12 4.12 0 0 1 1.748 3.458a5 5 0 0 1-.175 1.327a4.46 4.46 0 0 1-1.518 2.271a5.6 5.6 0 0 1-1.187.748a7.7 7.7 0 0 1-1.628.5a16 16 0 0 1-2.877.2H7.786L7.78 15.7Z"/></svg>';case"applescript":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
336
+ <path fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" d="M14.4561802 11.3673353C13.0276218 14.1261537 11.8858593 15.5 10.8437759 15.5 10.3588459 15.5 9.88231005 15.3491298 9.41749082 15.0543006 8.74000639 14.6241577 7.8668418 14.6059458 7.17068967 15.0074382 6.60881451 15.3319356 6.07177167 15.5 5.56305868 15.5 4.02887542 15.5 1.5 10.9491129 1.5 8.45090396 1.5 5.78581061 2.95006811 3.551507 5.15647301 3.551507 6.19383481 3.551507 7.09007204 4.20001691 7.84308619 4.497206 8.16210316 4.62512517 8.52255587 4.61592787 8.83410596 4.47192 9.44477141 4.18872223 10.2497236 3.551507 11.2503615 3.551507 12.4715175 3.551507 13.5338865 4.33779342 14.4184071 5.47479877 14.5532906 5.64778615 14.5172013 5.89341518 14.3377895 6.02349446 13.3500923 6.736546 12.8746057 7.53893969 12.8746057 8.45090396 12.8746057 9.36404821 13.3502672 10.1652619 14.3377895 10.8793249 14.4946576 10.992887 14.5445377 11.1984946 14.4561802 11.3673353ZM8.5 3C8.5 3 8.3468635 1.3936039 10 1" />
337
+ </svg>
338
+ `;case"solidity":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
339
+ <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="m3 11.5 2.5 4 2.5-4 2.5 4 2.5-4-2.5-4-2.5 4m2.5 4h-5m7.5-4H3m10-7-2.5-4-2.5 4-2.5-4-2.5 4 2.5 4 2.5-4M5.5.5h5M3 4.5h10" />
340
+ </svg>
341
+ `;case"objectivec":return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><path fill="#c2c2c2" d="M11.29 15.976a8.9 8.9 0 0 0 1.039 4.557a4.82 4.82 0 0 0 5.579 2.13a3.79 3.79 0 0 0 2.734-3.181c.095-.535.1-.54.1-.54c1.537.222 4.014.582 5.55.8l-.1.389A9.96 9.96 0 0 1 23.8 24.9a8.35 8.35 0 0 1-4.747 2.378a12.93 12.93 0 0 1-7.322-.725a8.98 8.98 0 0 1-5.106-5.524A14.35 14.35 0 0 1 6.642 10.9a9.32 9.32 0 0 1 7.929-6.24a11.8 11.8 0 0 1 5.9.491a8.47 8.47 0 0 1 5.456 6.1c.083.311.1.369.1.369c-1.709.311-3.821.705-5.518 1.075c-.323-1.695-1.122-3.029-2.831-3.445a4.656 4.656 0 0 0-5.853 3.158a9 9 0 0 0-.341 1.273a11 11 0 0 0-.194 2.295"/><path fill="#c2c2c2" d="M2.033 30V2h5.934v2.227H4.723v23.546h3.244V30zm27.934-.001h-5.934v-2.228h3.244V4.226h-3.244V1.999h5.934z"/></svg>';case"objectivecpp":return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><path fill="#c2c2c2" d="M19.5 24.833a11.24 11.24 0 0 1-5.13 1.009a8.37 8.37 0 0 1-6.492-2.576A9.75 9.75 0 0 1 5.512 16.4a10.4 10.4 0 0 1 2.659-7.406a9.02 9.02 0 0 1 6.9-2.841a12.2 12.2 0 0 1 4.43.7v4.129a7.5 7.5 0 0 0-4.108-1.142a5.28 5.28 0 0 0-4.075 1.685A6.48 6.48 0 0 0 9.766 16.1a6.37 6.37 0 0 0 1.464 4.4a5.02 5.02 0 0 0 3.941 1.639a8.03 8.03 0 0 0 4.329-1.223Z"/><path fill="#c2c2c2" d="M16.572 15.081V13.24h1.841v1.841h1.84v1.84h-1.84v1.841h-1.841v-1.841h-1.839V15.08zm6.44 0V13.24h1.841v1.841h1.84v1.84h-1.84v1.841h-1.841v-1.841h-1.839V15.08zM2.035 30V2.001h5.933v2.227H4.725v23.545h3.243V30z"/><path fill="#c2c2c2" d="M29.965 29.999h-5.933v-2.228h3.243V4.227h-3.243V2h5.933z"/></svg>';case"terraform":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
342
+ <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="m1.5 6 8 4.25 4-2.25m-12-2V1.5l8 4.25 4-2.25V8m-4-2.25v8.75M5.53 3.82 5.5 12.5l4 2" />
343
+ </svg>
344
+ `;case"plain":case"text":case"":return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
345
+ <g fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round">
346
+ <path d="M13.5 6.5v6a2 2 0 01-2 2h-7a2 2 0 01-2-2v-9c0-1.1.9-2 2-2h4.01" />
347
+ <path d="m8.5 1.5 5 5h-4a1 1 0 01-1-1zm-3 10h5m-5-3h5m-5-3h1" />
348
+ </g>
349
+ </svg>
350
+ `;default:return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16"><!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m10 9l-3 3l3 3m4 0l3-3l-3-3"/><rect width="18" height="18" x="3" y="3" rx="2"/></g></svg>'}}const VC={js:"JavaScript",javascript:"JavaScript",ts:"TypeScript",jsx:"JSX",tsx:"TSX",html:"HTML",css:"CSS",scss:"SCSS",json:"JSON",py:"Python",python:"Python",rb:"Ruby",go:"Go",java:"Java",c:"C",cpp:"C++",cs:"C#",php:"PHP",sh:"Shell",bash:"Bash",sql:"SQL",yaml:"YAML",md:"Markdown","":"Plain Text",plain:"Plain Text"},KC={key:0,class:"code-block-header flex justify-between items-center px-4 py-2.5 border-b border-gray-400/5",style:{color:"var(--vscode-editor-foreground)","background-color":"var(--vscode-editor-background)"}},GC={class:"flex items-center gap-x-2"},ZC=["innerHTML"],JC={class:"text-sm font-medium font-mono"},XC={class:"flex items-center gap-x-2"},QC=["aria-pressed"],YC=["disabled"],e6=["disabled"],t6=["disabled"],n6=["aria-label"],r6={key:0,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 24 24",class:"w-3 h-3"},o6={key:1,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 24 24",class:"w-3 h-3"},i6=["aria-pressed"],s6={key:0,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"0.75rem",height:"0.75rem",viewBox:"0 0 24 24"},l6={key:1,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"0.75rem",height:"0.75rem",viewBox:"0 0 24 24"},c6=["aria-label"],a6=["innerHTML"],u6={class:"code-loading-placeholder"},ic=Be(xe({__name:"MarkdownCodeBlockNode",props:{node:{},loading:{type:Boolean,default:!0},stream:{type:Boolean,default:!0},darkTheme:{default:"vitesse-dark"},lightTheme:{default:"vitesse-light"},isDark:{type:Boolean,default:!1},isShowPreview:{type:Boolean,default:!0},enableFontSizeControl:{type:Boolean,default:!0},minWidth:{default:void 0},maxWidth:{default:void 0},themes:{},showHeader:{type:Boolean,default:!0},showCopyButton:{type:Boolean,default:!0},showExpandButton:{type:Boolean,default:!0},showPreviewButton:{type:Boolean,default:!0},showFontSizeButtons:{type:Boolean,default:!0}},emits:["previewCode","copy"],setup(e,{emit:t}){var n;const r=e,o=t,{t:i}=s1(),s=de(String((n=r.node.language)!=null?n:"")),l=de(!1),c=de(!1),u=de(!1),a=de(null),f=de(null),p=de(""),h=de(!1);let d;const g=de(!0),m=de(0),x=de(14),_=de(x.value),y=le(()=>{const W=x.value,k=_.value;return typeof W=="number"&&Number.isFinite(W)&&W>0&&typeof k=="number"&&Number.isFinite(k)&&k>0}),b=le(()=>{const W=s.value.trim().toLowerCase();return VC[W]||W.charAt(0).toUpperCase()+W.slice(1)}),v=le(()=>UC(s.value.trim().toLowerCase().split(":")[0])),S=le(()=>{const W=s.value.trim().toLowerCase();return r.isShowPreview&&(W==="html"||W==="svg")}),w=le(()=>{const W={},k=U=>{if(U!=null)return typeof U=="number"?`${U}px`:String(U)},T=k(r.minWidth),L=k(r.maxWidth);return T&&(W.minWidth=T),L&&(W.maxWidth=L),W}),A=le(()=>({fontSize:`${_.value}px`}));function E(){return r.isDark?r.darkTheme:r.lightTheme}function C(W){if(d?.disconnect(),d=void 0,!W)return p.value="",void(h.value=!1);var k;p.value=`<pre class="shiki shiki-fallback"><code>${k=W,k.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}</code></pre>`,h.value=!1}function M(){p.value="",h.value=!0}function R(){var W;const k=f.value;return!!k&&(k.childNodes.length>0||!!((W=k.textContent)!=null&&W.trim().length))}function P(){return Re(this,null,function*(){if(yield Wt(),R())return void M();const W=f.value;W&&(d?.disconnect(),d=new MutationObserver(()=>{R()&&(M(),d?.disconnect(),d=void 0)}),d.observe(W,{childList:!0,subtree:!0}))})}let B,D,I,O;const F=new Set,q=new Set,K=import.meta!==void 0&&!1;function Q(W,k){return Re(this,null,function*(){if(!B)return;const T=(function(L,U=!1){var j;const[V]=String(L??"").split(":"),te=(j=V?.trim().toLowerCase())!=null?j:"";return te?!O||O.has(te)?te:(U&&K&&!F.has(te)&&(F.add(te),console.warn(`[MarkdownCodeBlockNode] Language "${te}" not preloaded in stream-markdown; falling back to plaintext.`)),"plaintext"):"plaintext"})(k,!!(W&&W.length));try{yield B.updateCode(W,T)}catch(L){T!=="plaintext"?(K&&!q.has(T)&&(q.add(T),console.warn(`[MarkdownCodeBlockNode] Failed to render language "${T}", retrying as plaintext.`,L)),yield B.updateCode(W,"plaintext")):K&&console.warn("[MarkdownCodeBlockNode] Failed to render code block even as plaintext.",L)}})}function ce(){return Re(this,null,function*(){yield(function(){return Re(this,null,function*(){if(!D)try{const W=yield Dt(()=>import("./BojRNRsE.js"),[],import.meta.url);D=W.createShikiStreamRenderer,I=W.registerHighlight;const k=Array.isArray(W.defaultLanguages)?W.defaultLanguages:void 0;O=k?new Set(k.map(T=>T.toLowerCase())):void 0,I?.({themes:r.themes})}catch(W){console.warn("[MarkdownCodeBlockNode] stream-markdown not available:",W)}})})(),a.value&&f.value?(I?.({themes:r.themes}),!B&&D&&(B=D(f.value,{theme:E()}),h.value=!0),B?r.stream===!1&&r.loading?C(r.node.code):(C(r.node.code),yield Q(r.node.code,s.value),yield P()):C(r.node.code)):C(r.node.code)})}function Ie(){const W=a.value;if(!W||c.value)return;const k=W.scrollTop;k<m.value?g.value=!1:(function(T,L=50){return T.scrollHeight-T.scrollTop-T.clientHeight<=L})(W)&&(g.value=!0),m.value=k}function Ve(){return Re(this,null,function*(){try{typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function"&&(yield navigator.clipboard.writeText(r.node.code)),l.value=!0,o("copy",r.node.code),setTimeout(()=>{l.value=!1},1e3)}catch(W){console.error("Copy failed:",W)}})}function ze(W){return!W||W.disabled}function ye(W,k,T="top"){if(ze(W.currentTarget))return;const L=W,U=L?.clientX!=null&&L?.clientY!=null?{x:L.clientX,y:L.clientY}:void 0;Xc(W.currentTarget,k,T,!1,U,r.isDark)}function H(){i1()}function ne(W){if(ze(W.currentTarget))return;const k=l.value?i("common.copied")||"Copied":i("common.copy")||"Copy",T=W,L=T?.clientX!=null&&T?.clientY!=null?{x:T.clientX,y:T.clientY}:void 0;Xc(W.currentTarget,k,"top",!1,L,r.isDark)}function ee(){c.value=!c.value;const W=a.value;W&&(c.value?(W.style.maxHeight="none",W.style["overflow-y"]="visible",W.style["overflow-x"]="auto"):(W.style.maxHeight="500px",W.style.overflow="auto",g.value=!0,Wt(()=>{W.scrollHeight>W.clientHeight&&(W.scrollTop=W.scrollHeight)})))}function ae(){u.value=!u.value}function ve(){if(!S.value)return;const W=(s.value||r.node.language).toLowerCase(),k=W==="html"?"HTML Preview":"SVG Preview";o("previewCode",{type:W==="html"?"text/html":"image/svg+xml",content:r.node.code,title:k})}return ce(),Ei(()=>{ce()}),wn(()=>{d?.disconnect(),d=void 0}),Ne(()=>r.themes,()=>Re(null,null,function*(){I&&I({themes:r.themes})})),Ne(()=>r.loading,W=>{W||ce()}),Ne(()=>[r.node.code,r.node.language],W=>Re(null,[W],function*([k,T]){T!==s.value&&(s.value=T.trim()),a.value&&f.value?(B||(C(k),yield ce()),B&&k&&(r.stream===!1&&r.loading||(C(k),yield Q(k,T),yield P()))):C(k)})),Ne(()=>[r.darkTheme,r.lightTheme],()=>Re(null,null,function*(){a.value&&f.value&&(B||(yield ce()),B?.setTheme(E()))})),Ne(()=>r.node.code,()=>Re(null,null,function*(){if(c.value||!g.value)return;yield Wt();const W=a.value;W&&W.scrollHeight>W.clientHeight&&(W.scrollTop=W.scrollHeight)})),(W,k)=>(z(),J("div",{style:Kt(w.value),class:nt(["code-block-container my-4 rounded-lg border overflow-hidden shadow-sm",[r.isDark?"border-gray-700/30 bg-gray-900":"border-gray-200 bg-white",r.isDark?"is-dark":""]])},[r.showHeader?(z(),J("div",KC,[Br(W.$slots,"header-left",{},()=>[se("div",GC,[se("span",{class:"icon-slot h-4 w-4 flex-shrink-0",innerHTML:v.value},null,8,ZC),se("span",JC,Je(b.value),1)])],!0),Br(W.$slots,"header-right",{},()=>[se("div",XC,[se("button",{type:"button",class:"code-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]","aria-pressed":u.value,onClick:ae,onMouseenter:k[0]||(k[0]=T=>ye(T,u.value?ue(i)("common.expand")||"Expand":ue(i)("common.collapse")||"Collapse")),onFocus:k[1]||(k[1]=T=>ye(T,u.value?ue(i)("common.expand")||"Expand":ue(i)("common.collapse")||"Collapse")),onMouseleave:H,onBlur:H},[(z(),J("svg",{style:Kt({rotate:u.value?"0deg":"90deg"}),xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 24 24",class:"w-3 h-3"},[...k[17]||(k[17]=[se("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"},null,-1)])],4))],40,QC),r.showFontSizeButtons&&r.enableFontSizeControl?(z(),J(Ee,{key:0},[se("button",{type:"button",class:"code-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]",disabled:!!Number.isFinite(_.value)&&_.value<=10,onClick:k[2]||(k[2]=T=>(function(){const L=Math.max(10,_.value-1);_.value=L})()),onMouseenter:k[3]||(k[3]=T=>ye(T,ue(i)("common.decrease")||"Decrease")),onFocus:k[4]||(k[4]=T=>ye(T,ue(i)("common.decrease")||"Decrease")),onMouseleave:H,onBlur:H},[...k[18]||(k[18]=[se("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 24 24",class:"w-3 h-3"},[se("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14"})],-1)])],40,YC),se("button",{type:"button",class:"code-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]",disabled:!y.value||_.value===x.value,onClick:k[5]||(k[5]=T=>{_.value=x.value}),onMouseenter:k[6]||(k[6]=T=>ye(T,ue(i)("common.reset")||"Reset")),onFocus:k[7]||(k[7]=T=>ye(T,ue(i)("common.reset")||"Reset")),onMouseleave:H,onBlur:H},[...k[19]||(k[19]=[se("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 24 24",class:"w-3 h-3"},[se("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[se("path",{d:"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8"}),se("path",{d:"M3 3v5h5"})])],-1)])],40,e6),se("button",{type:"button",class:"code-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]",disabled:!!Number.isFinite(_.value)&&_.value>=36,onClick:k[8]||(k[8]=T=>(function(){const L=Math.min(36,_.value+1);_.value=L})()),onMouseenter:k[9]||(k[9]=T=>ye(T,ue(i)("common.increase")||"Increase")),onFocus:k[10]||(k[10]=T=>ye(T,ue(i)("common.increase")||"Increase")),onMouseleave:H,onBlur:H},[...k[20]||(k[20]=[se("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 24 24",class:"w-3 h-3"},[se("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14m-7-7v14"})],-1)])],40,t6)],64)):jt("",!0),r.showCopyButton?(z(),J("button",{key:1,type:"button",class:"code-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]","aria-label":l.value?ue(i)("common.copied")||"Copied":ue(i)("common.copy")||"Copy",onClick:Ve,onMouseenter:k[11]||(k[11]=T=>ne(T)),onFocus:k[12]||(k[12]=T=>ne(T)),onMouseleave:H,onBlur:H},[l.value?(z(),J("svg",o6,[...k[22]||(k[22]=[se("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 6L9 17l-5-5"},null,-1)])])):(z(),J("svg",r6,[...k[21]||(k[21]=[se("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[se("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),se("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})],-1)])]))],40,n6)):jt("",!0),r.showExpandButton?(z(),J("button",{key:2,type:"button",class:"code-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]","aria-pressed":c.value,onClick:ee,onMouseenter:k[13]||(k[13]=T=>ye(T,c.value?ue(i)("common.collapse")||"Collapse":ue(i)("common.expand")||"Expand")),onFocus:k[14]||(k[14]=T=>ye(T,c.value?ue(i)("common.collapse")||"Collapse":ue(i)("common.expand")||"Expand")),onMouseleave:H,onBlur:H},[c.value?(z(),J("svg",s6,[...k[23]||(k[23]=[se("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 3h6v6m0-6l-7 7M3 21l7-7m-1 7H3v-6"},null,-1)])])):(z(),J("svg",l6,[...k[24]||(k[24]=[se("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m14 10l7-7m-1 7h-6V4M3 21l7-7m-6 0h6v6"},null,-1)])]))],40,i6)):jt("",!0),S.value&&r.showPreviewButton?(z(),J("button",{key:3,type:"button",class:"code-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]","aria-label":ue(i)("common.preview")||"Preview",onClick:ve,onMouseenter:k[15]||(k[15]=T=>ye(T,ue(i)("common.preview")||"Preview")),onFocus:k[16]||(k[16]=T=>ye(T,ue(i)("common.preview")||"Preview")),onMouseleave:H,onBlur:H},[...k[25]||(k[25]=[se("svg",{"data-v-3d59cc65":"",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 24 24",class:"w-3 h-3"},[se("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[se("path",{d:"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0"}),se("circle",{cx:"12",cy:"12",r:"3"})])],-1)])],40,c6)):jt("",!0)])],!0)])):jt("",!0),ks(se("div",{ref_key:"codeBlockContent",ref:a,class:"code-block-content",style:Kt(A.value),onScroll:Ie},[se("div",{ref_key:"rendererTarget",ref:f,class:"code-block-render"},null,512),h.value?jt("",!0):(z(),J("div",{key:0,class:"code-fallback-plain",innerHTML:p.value},null,8,a6))],36),[[Rs,!(u.value||!e.stream&&e.loading)]]),ks(se("div",u6,[Br(W.$slots,"loading",{loading:e.loading,stream:e.stream},()=>[k[26]||(k[26]=se("div",{class:"loading-skeleton"},[se("div",{class:"skeleton-line"}),se("div",{class:"skeleton-line"}),se("div",{class:"skeleton-line short"})],-1))],!0)],512),[[Rs,!e.stream&&e.loading]])],6))}}),[["__scopeId","data-v-9411928c"]]);ic.install=e=>{e.component(ic.__name,ic)};const g1=()=>Dt(()=>import("./VvxifOG2.js").then(e=>e.bB),[],import.meta.url);let sr=null,m1=g1;function f6(){return typeof m1=="function"}function Oh(e){if(!e)return e;const t=e&&e.default?e.default:e;if(t&&(typeof t.render=="function"||typeof t.parse=="function"||typeof t.initialize=="function"))return t;if(t&&t.mermaidAPI&&(typeof t.mermaidAPI.render=="function"||typeof t.mermaidAPI.parse=="function")){const n=t.mermaidAPI;return st(Ce({},t),{render:n.render.bind(n),parse:n.parse?n.parse.bind(n):void 0,initialize:r=>typeof t.initialize=="function"?t.initialize(r):n.initialize?n.initialize(r):void 0})}return e.mermaid&&typeof e.mermaid.render=="function"?e.mermaid:t}function Nh(e){if(e)try{const t=e?.initialize;e.initialize=n=>{const r=Ce({suppressErrorRendering:!0},n||{});return typeof t=="function"?t.call(e,r):e?.mermaidAPI&&typeof e.mermaidAPI.initialize=="function"?e.mermaidAPI.initialize(r):void 0}}catch{}}function f8(){return Re(this,null,function*(){if(sr)return sr;const e=(function(){try{const r=globalThis;return Oh(r?.mermaid)}catch{return null}})();if(e)return sr=e,Nh(sr),sr;const t=m1;if(!t)return null;let n;try{n=yield t()}catch(r){throw t===g1?new Error('Optional dependency "mermaid" is not installed. Please install it to enable mermaid diagrams.'):r}return n?(sr=Oh(n),Nh(sr),sr):null})}const js=Math.min,Wr=Math.max,qs=Math.round,Yi=Math.floor,Tn=e=>({x:e,y:e}),h6={left:"right",right:"left",bottom:"top",top:"bottom"},d6={start:"end",end:"start"};function Bh(e,t,n){return Wr(e,js(t,n))}function gl(e,t){return typeof e=="function"?e(t):e}function Ur(e){return e.split("-")[0]}function zs(e){return e.split("-")[1]}function y1(e){return e==="x"?"y":"x"}function _1(e){return e==="y"?"height":"width"}const p6=new Set(["top","bottom"]);function dr(e){return p6.has(Ur(e))?"y":"x"}function v1(e){return y1(dr(e))}function sc(e){return e.replace(/start|end/g,t=>d6[t])}const Hh=["left","right"],jh=["right","left"],g6=["top","bottom"],m6=["bottom","top"];function es(e){return e.replace(/left|right|bottom|top/g,t=>h6[t])}function Ws(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function qh(e,t,n){let{reference:r,floating:o}=e;const i=dr(t),s=v1(t),l=_1(s),c=Ur(t),u=i==="y",a=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[l]/2-o[l]/2;let h;switch(c){case"top":h={x:a,y:r.y-o.height};break;case"bottom":h={x:a,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(zs(t)){case"start":h[s]-=p*(n&&u?-1:1);break;case"end":h[s]+=p*(n&&u?-1:1)}return h}function y6(e,t){return Re(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:a="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=gl(t,e),d=(function(v){return typeof v!="number"?(function(S){return Ce({top:0,right:0,bottom:0,left:0},S)})(v):{top:v,right:v,bottom:v,left:v}})(h),g=l[p?f==="floating"?"reference":"floating":f],m=Ws(yield i.getClippingRect({element:(n=yield i.isElement==null?void 0:i.isElement(g))==null||n?g:g.contextElement||(yield i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:a,strategy:c})),x=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,_=yield i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating),y=(yield i.isElement==null?void 0:i.isElement(_))&&(yield i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},b=Ws(i.convertOffsetParentRelativeRectToViewportRelativeRect?yield i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:_,strategy:c}):x);return{top:(m.top-b.top+d.top)/y.y,bottom:(b.bottom-m.bottom+d.bottom)/y.y,left:(m.left-b.left+d.left)/y.x,right:(b.right-m.right+d.right)/y.x}})}const _6=new Set(["left","top"]);function ml(){return typeof window<"u"}function So(e){return b1(e)?(e.nodeName||"").toLowerCase():"#document"}function Vt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Mn(e){var t;return(t=(b1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function b1(e){return!!ml()&&(e instanceof Node||e instanceof Vt(e).Node)}function mn(e){return!!ml()&&(e instanceof Element||e instanceof Vt(e).Element)}function In(e){return!!ml()&&(e instanceof HTMLElement||e instanceof Vt(e).HTMLElement)}function zh(e){return!(!ml()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof Vt(e).ShadowRoot)}const v6=new Set(["inline","contents"]);function vi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=yn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!v6.has(o)}const b6=new Set(["table","td","th"]);function w6(e){return b6.has(So(e))}const k6=[":popover-open",":modal"];function Us(e){return k6.some(t=>{try{return e.matches(t)}catch{return!1}})}const x6=["transform","translate","scale","rotate","perspective"],C6=["transform","translate","scale","rotate","perspective","filter"],E6=["paint","layout","strict","content"];function ea(e){const t=Ka(),n=mn(e)?yn(e):e;return x6.some(r=>!!n[r]&&n[r]!=="none")||!!n.containerType&&n.containerType!=="normal"||!t&&!!n.backdropFilter&&n.backdropFilter!=="none"||!t&&!!n.filter&&n.filter!=="none"||C6.some(r=>(n.willChange||"").includes(r))||E6.some(r=>(n.contain||"").includes(r))}function Ka(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const A6=new Set(["html","body","#document"]);function bo(e){return A6.has(So(e))}function yn(e){return Vt(e).getComputedStyle(e)}function yl(e){return mn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pr(e){if(So(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zh(e)&&e.host||Mn(e);return zh(t)?t.host:t}function w1(e){const t=pr(e);return bo(t)?e.ownerDocument?e.ownerDocument.body:e.body:In(t)&&vi(t)?t:w1(t)}function bi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=w1(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Vt(o);if(i){const l=ta(s);return t.concat(s,s.visualViewport||[],vi(o)?o:[],l&&n?bi(l):[])}return t.concat(o,bi(o,[],n))}function ta(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function k1(e){const t=yn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=In(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=qs(n)!==i||qs(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function Ga(e){return mn(e)?e:e.contextElement}function wo(e){const t=Ga(e);if(!In(t))return Tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=k1(t);let s=(i?qs(n.width):n.width)/r,l=(i?qs(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const S6=Tn(0);function x1(e){const t=Vt(e);return Ka()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:S6}function Zr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Ga(e);let s=Tn(1);t&&(r?mn(r)&&(s=wo(r)):s=wo(e));const l=(function(p,h,d){return h===void 0&&(h=!1),!(!d||h&&d!==Vt(p))&&h})(i,n,r)?x1(i):Tn(0);let c=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,a=o.width/s.x,f=o.height/s.y;if(i){const p=Vt(i),h=r&&mn(r)?Vt(r):r;let d=p,g=ta(d);for(;g&&r&&h!==d;){const m=wo(g),x=g.getBoundingClientRect(),_=yn(g),y=x.left+(g.clientLeft+parseFloat(_.paddingLeft))*m.x,b=x.top+(g.clientTop+parseFloat(_.paddingTop))*m.y;c*=m.x,u*=m.y,a*=m.x,f*=m.y,c+=y,u+=b,d=Vt(g),g=ta(d)}}return Ws({width:a,height:f,x:c,y:u})}function Vs(e,t){const n=yl(e).scrollLeft;return t?t.left+n:Zr(Mn(e)).left+n}function C1(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Vs(e,n),y:n.top+t.scrollTop}}const T6=new Set(["absolute","fixed"]);function Wh(e,t,n){let r;if(t==="viewport")r=(function(o,i){const s=Vt(o),l=Mn(o),c=s.visualViewport;let u=l.clientWidth,a=l.clientHeight,f=0,p=0;if(c){u=c.width,a=c.height;const d=Ka();(!d||d&&i==="fixed")&&(f=c.offsetLeft,p=c.offsetTop)}const h=Vs(l);if(h<=0){const d=l.ownerDocument,g=d.body,m=getComputedStyle(g),x=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,_=Math.abs(l.clientWidth-g.clientWidth-x);_<=25&&(u-=_)}else h<=25&&(u+=h);return{width:u,height:a,x:f,y:p}})(e,n);else if(t==="document")r=(function(o){const i=Mn(o),s=yl(o),l=o.ownerDocument.body,c=Wr(i.scrollWidth,i.clientWidth,l.scrollWidth,l.clientWidth),u=Wr(i.scrollHeight,i.clientHeight,l.scrollHeight,l.clientHeight);let a=-s.scrollLeft+Vs(o);const f=-s.scrollTop;return yn(l).direction==="rtl"&&(a+=Wr(i.clientWidth,l.clientWidth)-c),{width:c,height:u,x:a,y:f}})(Mn(e));else if(mn(t))r=(function(o,i){const s=Zr(o,!0,i==="fixed"),l=s.top+o.clientTop,c=s.left+o.clientLeft,u=In(o)?wo(o):Tn(1);return{width:o.clientWidth*u.x,height:o.clientHeight*u.y,x:c*u.x,y:l*u.y}})(t,n);else{const o=x1(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ws(r)}function E1(e,t){const n=pr(e);return!(n===t||!mn(n)||bo(n))&&(yn(n).position==="fixed"||E1(n,t))}function M6(e,t,n){const r=In(t),o=Mn(t),i=n==="fixed",s=Zr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=Tn(0);function u(){c.x=Vs(o)}if(r||!r&&!i)if((So(t)!=="body"||vi(o))&&(l=yl(t)),r){const f=Zr(t,!0,i,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else o&&u();i&&!r&&o&&u();const a=!o||r||i?Tn(0):C1(o,l);return{x:s.left+l.scrollLeft-c.x-a.x,y:s.top+l.scrollTop-c.y-a.y,width:s.width,height:s.height}}function lc(e){return yn(e).position==="static"}function Uh(e,t){if(!In(e)||yn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Mn(e)===n&&(n=n.ownerDocument.body),n}function Vh(e,t){const n=Vt(e);if(Us(e))return n;if(!In(e)){let o=pr(e);for(;o&&!bo(o);){if(mn(o)&&!lc(o))return o;o=pr(o)}return n}let r=Uh(e,t);for(;r&&w6(r)&&lc(r);)r=Uh(r,t);return r&&bo(r)&&lc(r)&&!ea(r)?n:r||(function(o){let i=pr(o);for(;In(i)&&!bo(i);){if(ea(i))return i;if(Us(i))return null;i=pr(i)}return null})(e)||n}const R6={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Mn(r),l=!!t&&Us(t.floating);if(r===s||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=Tn(1);const a=Tn(0),f=In(r);if((f||!f&&!i)&&((So(r)!=="body"||vi(s))&&(c=yl(r)),In(r))){const h=Zr(r);u=wo(r),a.x=h.x+r.clientLeft,a.y=h.y+r.clientTop}const p=!s||f||i?Tn(0):C1(s,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+a.x+p.x,y:n.y*u.y-c.scrollTop*u.y+a.y+p.y}},getDocumentElement:Mn,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Us(t)?[]:(function(c,u){const a=u.get(c);if(a)return a;let f=bi(c,[],!1).filter(g=>mn(g)&&So(g)!=="body"),p=null;const h=yn(c).position==="fixed";let d=h?pr(c):c;for(;mn(d)&&!bo(d);){const g=yn(d),m=ea(d);m||g.position!=="fixed"||(p=null),(h?!m&&!p:!m&&g.position==="static"&&p&&T6.has(p.position)||vi(d)&&!m&&E1(c,d))?f=f.filter(x=>x!==d):p=g,d=pr(d)}return u.set(c,f),f})(t,this._c):[].concat(n),r],s=i[0],l=i.reduce((c,u)=>{const a=Wh(t,u,o);return c.top=Wr(a.top,c.top),c.right=js(a.right,c.right),c.bottom=js(a.bottom,c.bottom),c.left=Wr(a.left,c.left),c},Wh(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Vh,getElementRects:function(e){return Re(this,null,function*(){const t=this.getOffsetParent||Vh,n=this.getDimensions,r=yield n(e.floating);return{reference:M6(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=k1(e);return{width:t,height:n}},getScale:wo,isElement:mn,isRTL:function(e){return yn(e).direction==="rtl"}};function Kh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Gh(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Ga(e),a=o||i?[...u?bi(u):[],...bi(t)]:[];a.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const f=u&&l?(function(m,x){let _,y=null;const b=Mn(m);function v(){var S;clearTimeout(_),(S=y)==null||S.disconnect(),y=null}return(function S(w,A){w===void 0&&(w=!1),A===void 0&&(A=1),v();const E=m.getBoundingClientRect(),{left:C,top:M,width:R,height:P}=E;if(w||x(),!R||!P)return;const B={rootMargin:-Yi(M)+"px "+-Yi(b.clientWidth-(C+R))+"px "+-Yi(b.clientHeight-(M+P))+"px "+-Yi(C)+"px",threshold:Wr(0,js(1,A))||1};let D=!0;function I(O){const F=O[0].intersectionRatio;if(F!==A){if(!D)return S();F?S(!1,F):_=setTimeout(()=>{S(!1,1e-7)},1e3)}F!==1||Kh(E,m.getBoundingClientRect())||S(),D=!1}try{y=new IntersectionObserver(I,st(Ce({},B),{root:b.ownerDocument}))}catch{y=new IntersectionObserver(I,B)}y.observe(m)})(!0),v})(u,n):null;let p,h=-1,d=null;s&&(d=new ResizeObserver(m=>{let[x]=m;x&&x.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var _;(_=d)==null||_.observe(t)})),n()}),u&&!c&&d.observe(u),d.observe(t));let g=c?Zr(e):null;return c&&(function m(){const x=Zr(e);g&&!Kh(g,x)&&n(),g=x,p=requestAnimationFrame(m)})(),n(),()=>{var m;a.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),f?.(),(m=d)==null||m.disconnect(),d=null,c&&cancelAnimationFrame(p)}}const I6=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(t){return Re(this,null,function*(){const{x:n,y:r,placement:o,platform:i}=t,s=gl(e,t),{mainAxis:l=!0,crossAxis:c=!1,limiter:u={fn:_=>{let{x:y,y:b}=_;return{x:y,y:b}}}}=s,a=e1(s,["mainAxis","crossAxis","limiter"]),f={x:n,y:r},p=yield i.detectOverflow(t,a),h=dr(Ur(o)),d=y1(h);let g=f[d],m=f[h];if(l){const _=d==="y"?"bottom":"right";g=Bh(g+p[d==="y"?"top":"left"],g,g-p[_])}if(c){const _=h==="y"?"bottom":"right";m=Bh(m+p[h==="y"?"top":"left"],m,m-p[_])}const x=u.fn(st(Ce({},t),{[d]:g,[h]:m}));return st(Ce({},x),{data:{x:x.x-n,y:x.y-r,enabled:{[d]:l,[h]:c}}})})}}},D6=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(t){return Re(this,null,function*(){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:c,elements:u}=t,a=gl(e,t),{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0}=a,x=e1(a,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=Ur(o),y=dr(l),b=Ur(l)===l,v=yield c.isRTL==null?void 0:c.isRTL(u.floating),S=h||(b||!m?[es(l)]:(function(D){const I=es(D);return[sc(D),I,sc(I)]})(l)),w=g!=="none";!h&&w&&S.push(...(function(D,I,O,F){const q=zs(D);let K=(function(Q,ce,Ie){switch(Q){case"top":case"bottom":return Ie?ce?jh:Hh:ce?Hh:jh;case"left":case"right":return ce?g6:m6;default:return[]}})(Ur(D),O==="start",F);return q&&(K=K.map(Q=>Q+"-"+q),I&&(K=K.concat(K.map(sc)))),K})(l,m,g,v));const A=[l,...S],E=yield c.detectOverflow(t,x),C=[];let M=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&C.push(E[_]),p){const D=(function(I,O,F){F===void 0&&(F=!1);const q=zs(I),K=v1(I),Q=_1(K);let ce=K==="x"?q===(F?"end":"start")?"right":"left":q==="start"?"bottom":"top";return O.reference[Q]>O.floating[Q]&&(ce=es(ce)),[ce,es(ce)]})(o,s,v);C.push(E[D[0]],E[D[1]])}if(M=[...M,{placement:o,overflows:C}],!C.every(D=>D<=0)){var R,P;const D=(((R=i.flip)==null?void 0:R.index)||0)+1,I=A[D];if(I&&(p!=="alignment"||y===dr(I)||M.every(F=>dr(F.placement)!==y||F.overflows[0]>0)))return{data:{index:D,overflows:M},reset:{placement:I}};let O=(P=M.filter(F=>F.overflows[0]<=0).sort((F,q)=>F.overflows[1]-q.overflows[1])[0])==null?void 0:P.placement;if(!O)switch(d){case"bestFit":{var B;const F=(B=M.filter(q=>{if(w){const K=dr(q.placement);return K===y||K==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(K=>K>0).reduce((K,Q)=>K+Q,0)]).sort((q,K)=>q[1]-K[1])[0])==null?void 0:B[0];F&&(O=F);break}case"initialPlacement":O=l}if(o!==O)return{reset:{placement:O}}}return{}})}}},$6={class:"markstream-vue"},P6=["id"],gs=Be(xe({__name:"Tooltip",props:{visible:{type:Boolean},anchorEl:{},content:{},placement:{},offset:{},originX:{},originY:{},id:{},isDark:{type:[Boolean,null]}},setup(e){const t=e,n=le(()=>{if(t.isDark!==void 0&&t.isDark!==null)return!!t.isDark;if(typeof document<"u")try{if(document.documentElement.classList.contains("dark")||window?.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)return!0}catch{}return!1}),r=de(null),o=de({transform:"translate3d(0px, 0px, 0px)",left:"0px",top:"0px"}),i=de(!1);let s=null;function l(){return Re(this,null,function*(){var c,u;if(!t.anchorEl||!r.value)return;const a=[(h=(c=t.offset)!=null?c:8,h===void 0&&(h=0),{name:"offset",options:h,fn(d){return Re(this,null,function*(){var g,m;const{x,y:_,placement:y,middlewareData:b}=d,v=yield(function(S,w){return Re(this,null,function*(){const{placement:A,platform:E,elements:C}=S,M=yield E.isRTL==null?void 0:E.isRTL(C.floating),R=Ur(A),P=zs(A),B=dr(A)==="y",D=_6.has(R)?-1:1,I=M&&B?-1:1,O=gl(w,S);let{mainAxis:F,crossAxis:q,alignmentAxis:K}=typeof O=="number"?{mainAxis:O,crossAxis:0,alignmentAxis:null}:{mainAxis:O.mainAxis||0,crossAxis:O.crossAxis||0,alignmentAxis:O.alignmentAxis};return P&&typeof K=="number"&&(q=P==="end"?-1*K:K),B?{x:q*I,y:F*D}:{x:F*D,y:q*I}})})(d,h);return y===((g=b.offset)==null?void 0:g.placement)&&(m=b.arrow)!=null&&m.alignmentOffset?{}:{x:x+v.x,y:_+v.y,data:st(Ce({},v),{placement:y})}})}}),D6(),I6({padding:8})],{x:f,y:p}=yield((d,g,m)=>{const x=new Map,_=Ce({platform:R6},m),y=st(Ce({},_.platform),{_c:x});return((b,v,S)=>Re(null,null,function*(){const{placement:w="bottom",strategy:A="absolute",middleware:E=[],platform:C}=S,M=E.filter(Boolean),R=yield C.isRTL==null?void 0:C.isRTL(v);let P=yield C.getElementRects({reference:b,floating:v,strategy:A}),{x:B,y:D}=qh(P,w,R),I=w,O={},F=0;for(let K=0;K<M.length;K++){var q;const{name:Q,fn:ce}=M[K],{x:Ie,y:Ve,data:ze,reset:ye}=yield ce({x:B,y:D,initialPlacement:w,placement:I,strategy:A,middlewareData:O,rects:P,platform:st(Ce({},C),{detectOverflow:(q=C.detectOverflow)!=null?q:y6}),elements:{reference:b,floating:v}});B=Ie??B,D=Ve??D,O=st(Ce({},O),{[Q]:Ce(Ce({},O[Q]),ze)}),ye&&F<=50&&(F++,typeof ye=="object"&&(ye.placement&&(I=ye.placement),ye.rects&&(P=ye.rects===!0?yield C.getElementRects({reference:b,floating:v,strategy:A}):ye.rects),{x:B,y:D}=qh(P,I,R)),K=-1)}return{x:B,y:D,placement:I,strategy:A,middlewareData:O}}))(d,g,st(Ce({},_),{platform:y}))})(t.anchorEl,r.value,{placement:(u=t.placement)!=null?u:"top",middleware:a,strategy:"fixed"});var h;o.value.transform=`translate3d(${Math.round(f)}px, ${Math.round(p)}px, 0)`,o.value.left="0px",o.value.top="0px"})}return Ne(()=>t.visible,c=>Re(null,null,function*(){if(c)if(i.value=!1,yield Wt(),t.anchorEl&&r.value)try{const u=t.anchorEl.getBoundingClientRect();yield l();const a=o.value.transform;if(t.originX!=null&&t.originY!=null){const f=Math.abs(Number(t.originX)-u.left),p=Math.abs(Number(t.originY)-u.top);Math.hypot(f,p)>120?(o.value.transform=`translate3d(${Math.round(t.originX)}px, ${Math.round(t.originY)}px, 0)`,yield Wt(),i.value=!0,yield Wt(),o.value.transform=a):i.value=!0}else i.value=!0;s=Gh(t.anchorEl,r.value,l)}catch{yield l(),i.value=!0,s=Gh(t.anchorEl,r.value,l)}else i.value=!0;else i.value=!1,s&&(s(),s=null)})),Ne([()=>t.anchorEl,()=>t.placement,()=>t.content],()=>Re(null,null,function*(){t.visible&&t.anchorEl&&r.value&&(yield Wt(),yield l())})),wn(()=>{s&&s()}),(c,u)=>(z(),He(qg,{to:"body"},[se("div",$6,[Pe(Si,{name:"tooltip",appear:""},{default:_r(()=>[ks(se("div",{id:t.id,ref_key:"tooltip",ref:r,style:Kt({position:"fixed",left:o.value.left,top:o.value.top,transform:o.value.transform}),class:nt(["z-[9999] inline-block text-base py-2 px-3 rounded-md shadow-md whitespace-nowrap pointer-events-none tooltip-element border",[n.value?"bg-gray-900 text-white border-gray-700 border is-dark":"bg-white text-gray-900 border-gray-200 border"]]),role:"tooltip"},Je(e.content),15,P6),[[Rs,e.visible&&i.value]])]),_:1})])]))}}),[["__scopeId","data-v-d524cc01"]]),L6=Object.freeze(Object.defineProperty({__proto__:null,default:gs},Symbol.toStringTag,{value:"Module"}));gs.install=e=>{e.component(gs.__name,gs)};let io=null;const A1=new Map,Vo=new Map;let S1=5;const Pr=new Set;function F6(){if(A1.size<S1&&Pr.size){const e=Array.from(Pr);Pr.clear();for(const t of e)try{t()}catch{}}}function O6(e,t=!0,n=2e3,r){return Re(this,null,function*(){if(performance.now(),!f1()){const s=new Error("KaTeX rendering disabled");return s.name="KaTeXDisabled",s.code="KATEX_DISABLED",Promise.reject(s)}if(io)return Promise.reject(io);const o=`${t?"d":"i"}:${e}`,i=Vo.get(o);return i?Promise.resolve(i):(io=new Error("[katexWorkerClient] No worker instance set. Please inject a Worker via setKaTeXWorker()."),io.name="WorkerInitError",io.code="WORKER_INIT_ERROR",Promise.reject(io))})}function h8(e,t=!0,n){const r=`${t?"d":"i"}:${e}`;if(Vo.set(r,n),Vo.size>200){const o=Vo.keys().next().value;Vo.delete(o)}}const N6="WORKER_BUSY";function B6(e=2e3,t){return A1.size<S1?Promise.resolve():new Promise((n,r)=>{let o,i=!1;const s=()=>{i||(i=!0,o&&globalThis.clearTimeout(o),Pr.delete(s),n())};if(Pr.add(s),o=globalThis.setTimeout(()=>{if(i)return;i=!0,Pr.delete(s);const l=new Error("Wait for worker slot timed out");l.name="WorkerBusyTimeout",l.code="WORKER_BUSY_TIMEOUT",r(l)},e),queueMicrotask(()=>F6()),t){const l=()=>{if(i)return;i=!0,o&&globalThis.clearTimeout(o),Pr.delete(s);const c=new Error("Aborted");c.name="AbortError",r(c)};t.aborted?l():t.addEventListener("abort",l,{once:!0})}})}const qo={timeout:2e3,waitTimeout:1500,backoffMs:30,maxRetries:1};function d8(e){return Re(this,arguments,function*(t,n=!0,r={}){var o,i,s,l;if(!f1()){const g=new Error("KaTeX rendering disabled");throw g.name="KaTeXDisabled",g.code="KATEX_DISABLED",g}const c=(o=r.timeout)!=null?o:qo.timeout,u=(i=r.waitTimeout)!=null?i:qo.waitTimeout,a=(s=r.backoffMs)!=null?s:qo.backoffMs,f=(l=r.maxRetries)!=null?l:qo.maxRetries,p=Number.isFinite(f)?Math.max(0,Math.min(Math.floor(f),8)):qo.maxRetries,h=r.signal;let d=0;for(;;){if(h?.aborted){const g=new Error("Aborted");throw g.name="AbortError",g}try{return yield O6(t,n,c,h)}catch(g){if(g?.code!==N6||d>=p)throw g;if(d++,yield B6(u,h).catch(()=>{}),h?.aborted){const m=new Error("Aborted");throw m.name="AbortError",m}a>0&&(yield new Promise(m=>globalThis.setTimeout(m,a*d)))}}})}let so=null;const H6="MERMAID_DISABLED";function T1(e,t,n=1400){if(!f6()){const r=new Error("Mermaid rendering disabled");return r.name="MermaidDisabled",r.code=H6,Promise.reject(r)}return so||(so=new Error("[mermaidWorkerClient] No worker instance set. Please inject a Worker via setMermaidWorker()."),so.name="WorkerInitError",so.code="WORKER_INIT_ERROR"),Promise.reject(so)}function p8(e,t,n=1400){return Re(this,null,function*(){try{return yield T1("canParse",{code:e,theme:t},n)}catch(r){return Promise.reject(r)}})}function g8(e,t,n=1400){return Re(this,null,function*(){try{return yield T1("findPrefix",{code:e,theme:t},n)}catch(r){return Promise.reject(r)}})}const j6=Dn(e=>{e.vueApp.component("MarkdownRender",Ut)}),q6=[dv,_v,qb,zb,Wb,Ub,Kb,Gb,Xb,j6],M1=(e="RouteProvider")=>xe({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,o={};for(const i in t.route)Object.defineProperty(o,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return Or(il,zn(o)),()=>t.vnode?lt(t.vnode,{ref:t.vnodeRef}):t.vnode}}),z6=M1(),Zh=new WeakMap,W6=xe({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const o=dt(),i=de(),s=It(il,null);let l;r({pageRef:i});const c=It(y2,null);let u;const a=o.deferHydration();let f=!1,p=0;if(o.isHydrating){const d=o.hooks.hookOnce("app:error",a);un().beforeEach(d)}e.pageKey&&Ne(()=>e.pageKey,(d,g)=>{d!==g&&o.callHook("page:loading:start")});let h=!1;{const d=un().beforeResolve(()=>{h=!1});wn(()=>{d()})}return()=>lt(p0,{name:e.name,route:e.route,...t},{default:d=>{const g=V6(s,d.route,d.Component),m=s&&s.matched.length===d.route.matched.length;if(!d.Component){if(u&&!m)return u;a();return}if(u&&c&&!c.isCurrent(d.route))return u;if(g&&s&&(!c||c?.isCurrent(s)))return m?u:null;const x=Nc(d,e.pageKey),_=K6(s,d.route,d.Component);!o.isHydrating&&l===x&&!_&&Wt(()=>{h||(h=!0,o.callHook("page:loading:end"))}),f&&l!==x&&p++,l=x;const y=!!(e.transition??d.route.meta.pageTransition??Xu),b=y&&U6([e.transition,d.route.meta.pageTransition,Xu,{onAfterLeave(){delete o._runningTransition,o.callHook("page:transition:finish",d.Component)}}]),v=e.keepalive??d.route.meta.keepalive??r2;return u=Ib(y&&b,Tb(v,lt(hp,{key:p,suspensible:!0,onPending:()=>{f=!0,y&&(o._runningTransition=!0),o.callHook("page:start",d.Component)},onResolve:async()=>{f=!1;try{await Wt(),o._route.sync?.(),await o.callHook("page:finish",d.Component),delete o._runningTransition,!h&&!_&&(h=!0,await o.callHook("page:loading:end"))}finally{a()}}},{default:()=>{const S={key:x||void 0,vnode:n.default?G6(n.default,d):d.Component,route:d.route,renderKey:x||void 0,trackRootNodes:y,vnodeRef:i};if(!v)return lt(z6,S);const w=d.Component.type,A=w;let E=Zh.get(A);return E||(E=M1(w.name||w.__name),Zh.set(A,E)),lt(E,S)}}))).default(),u}})}});function U6(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Ra(n.onAfterLeave):void 0});return qp(...t)}function V6(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>o.components?.default!==e.matched[i]?.components?.default)||n&&Nc({route:t,Component:n})!==Nc({route:e,Component:n})}function K6(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type)<t.matched.length-1:!1}function G6(e,t){const n=e(t);return n.length===1?lt(n[0]):lt(Ee,void 0,n)}const Z6={class:"h-full"},J6={__name:"app",setup(e){if(typeof window<"u"){const t=localStorage.getItem("goatchain-theme"),n=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;(t==="dark"||!t&&n)&&document.documentElement.classList.add("dark")}return(t,n)=>{const r=W6;return z(),J("div",Z6,[Pe(r)])}}},X6={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),l=void 0,a=o?Nr(()=>Dt(()=>import("./waGmH_zw.js"),__vite__mapDeps([8,1,9,10]),import.meta.url)):Nr(()=>Dt(()=>import("./DLps5vLc.js"),__vite__mapDeps([11,1,9,12]),import.meta.url));return(f,p)=>(z(),He(ue(a),tg(_p({status:ue(r),statusText:ue(i),statusCode:ue(r),statusMessage:ue(i),description:ue(s),stack:ue(l)})),null,16))}},Q6={key:0},Jh={__name:"nuxt-root",setup(e){const t=()=>null,n=dt(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);un().beforeEach(u)}const o=!1;Or(il,Ea()),n.hooks.callHookWith(u=>u.map(a=>a()),"vue:setup");const i=sl(),s=!1,l=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Ud((u,a,f)=>{if(n.hooks.callHook("vue:error",u,a,f).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),l.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(Up(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Rr(u)),!1});const c=!1;return(u,a)=>(z(),He(hp,{onResolve:ue(r)},{default:_r(()=>[ue(s)?(z(),J("div",Q6)):ue(i)?(z(),He(ue(X6),{key:1,error:ue(i)},null,8,["error"])):ue(c)?(z(),He(ue(t),{key:2,context:ue(c)},null,8,["context"])):ue(o)?(z(),He(ht(ue(o)),{key:3})):(z(),He(ue(J6),{key:4}))]),_:1},8,["onResolve"]))}};let Xh;{let e;Xh=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?wy(Jh):Sp(Jh),o=l2({vueApp:r});async function i(s){await o.callHook("app:error",s),o.payload.error||=qr(s)}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&Qu.id&&o.hook("app:suspense:resolve",()=>{document.getElementById(Qu.id)?.remove()});try{await u2(o,q6)}catch(s){i(s)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(o2),await o.hooks.callHook("app:mounted",r),await Wt()}catch(s){i(s)}return r},e=Xh().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{un as $,s1 as A,Ua as B,Wd as C,ue as D,$r as E,Je as F,p1 as G,Kt as H,Ee as I,le as J,VC as K,Xc as L,i1 as M,Jr as N,n8 as O,qg as P,a8 as Q,Wt as R,Zn as S,Si as T,e8 as U,g8 as V,p8 as W,f8 as X,UC as Y,u8 as Z,Dt as _,dt as a,Ia as a0,Mf as a1,c8 as a2,lt as a3,Y6 as a4,Pp as a5,Vr as a6,v2 as a7,Jb as a8,s8 as a9,Lp as aa,Ro as ab,ol as ac,N_ as ad,Sc as ae,i8 as af,vp as ag,ut as ah,r8 as ai,sm as aj,ln as ak,t8 as al,Jp as b,c1 as c,xe as d,Be as e,wn as f,z as g,da as h,It as i,J as j,ks as k,se as l,He as m,_r as n,Ei as o,jt as p,de as q,Br as r,d8 as s,N6 as t,l8 as u,Rs as v,Ne as w,h8 as x,Pe as y,nt as z};