@n8n/chat 0.18.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +2 -2
  2. package/dist/App.vue.d.ts +8 -0
  3. package/dist/__stories__/App.stories.d.ts +18 -0
  4. package/dist/__tests__/index.spec.d.ts +1 -0
  5. package/dist/__tests__/setup.d.ts +1 -0
  6. package/dist/__tests__/utils/create.d.ts +6 -0
  7. package/dist/__tests__/utils/fetch.d.ts +5 -0
  8. package/dist/__tests__/utils/selectors.d.ts +12 -0
  9. package/dist/api/generic.d.ts +6 -0
  10. package/dist/api/message.d.ts +4 -0
  11. package/dist/chat.bundle.es.js +11029 -0
  12. package/dist/chat.bundle.umd.js +37 -0
  13. package/dist/chat.es.js +6939 -0
  14. package/dist/chat.umd.js +18 -0
  15. package/dist/components/Button.vue.d.ts +11 -0
  16. package/dist/components/Chat.vue.d.ts +2 -0
  17. package/dist/components/ChatWindow.vue.d.ts +2 -0
  18. package/dist/components/GetStarted.vue.d.ts +2 -0
  19. package/dist/components/GetStartedFooter.vue.d.ts +2 -0
  20. package/dist/components/Input.vue.d.ts +2 -0
  21. package/dist/components/Layout.vue.d.ts +13 -0
  22. package/dist/components/Message.vue.d.ts +26 -0
  23. package/dist/components/MessageTyping.vue.d.ts +29 -0
  24. package/dist/components/MessagesList.vue.d.ts +17 -0
  25. package/dist/components/PoweredBy.vue.d.ts +2 -0
  26. package/dist/composables/useChat.d.ts +3 -0
  27. package/dist/composables/useI18n.d.ts +4 -0
  28. package/dist/composables/useOptions.d.ts +5 -0
  29. package/dist/constants/defaults.d.ts +4 -0
  30. package/dist/constants/localStorage.d.ts +2 -0
  31. package/dist/constants/symbols.d.ts +5 -0
  32. package/dist/event-buses/chatEventBus.d.ts +1 -0
  33. package/dist/index.d.ts +3 -0
  34. package/dist/plugins/chat.d.ts +4 -0
  35. package/dist/style.css +1 -0
  36. package/dist/types/chat.d.ts +12 -0
  37. package/{src/types/messages.ts → dist/types/messages.d.ts} +10 -12
  38. package/dist/types/options.d.ts +31 -0
  39. package/dist/types/webhook.d.ts +16 -0
  40. package/dist/utils/event-bus.d.ts +8 -0
  41. package/dist/utils/mount.d.ts +1 -0
  42. package/package.json +45 -9
  43. package/.eslintignore +0 -2
  44. package/.eslintrc.cjs +0 -10
  45. package/.np-config.json +0 -5
  46. package/.storybook/main.ts +0 -4
  47. package/.storybook/preview.scss +0 -4
  48. package/.storybook/preview.ts +0 -15
  49. package/.vscode/extensions.json +0 -3
  50. package/build.config.js +0 -21
  51. package/env.d.ts +0 -1
  52. package/index.html +0 -13
  53. package/resources/images/fullscreen.png +0 -0
  54. package/resources/images/windowed.png +0 -0
  55. package/resources/workflow-manual.json +0 -238
  56. package/resources/workflow.json +0 -119
  57. package/scripts/pack.js +0 -11
  58. package/scripts/postbuild.js +0 -36
  59. package/src/App.vue +0 -23
  60. package/src/__stories__/App.stories.ts +0 -43
  61. package/src/__tests__/index.spec.ts +0 -218
  62. package/src/__tests__/setup.ts +0 -1
  63. package/src/__tests__/utils/create.ts +0 -16
  64. package/src/__tests__/utils/fetch.ts +0 -18
  65. package/src/__tests__/utils/selectors.ts +0 -53
  66. package/src/api/generic.ts +0 -63
  67. package/src/api/message.ts +0 -37
  68. package/src/components/Button.vue +0 -41
  69. package/src/components/Chat.vue +0 -96
  70. package/src/components/ChatWindow.vue +0 -123
  71. package/src/components/GetStarted.vue +0 -24
  72. package/src/components/GetStartedFooter.vue +0 -20
  73. package/src/components/Input.vue +0 -108
  74. package/src/components/Layout.vue +0 -99
  75. package/src/components/Message.vue +0 -137
  76. package/src/components/MessageTyping.vue +0 -110
  77. package/src/components/MessagesList.vue +0 -33
  78. package/src/components/PoweredBy.vue +0 -17
  79. package/src/composables/useChat.ts +0 -7
  80. package/src/composables/useI18n.ts +0 -21
  81. package/src/composables/useOptions.ts +0 -11
  82. package/src/constants/defaults.ts +0 -30
  83. package/src/constants/localStorage.ts +0 -2
  84. package/src/constants/symbols.ts +0 -8
  85. package/src/css/_tokens.scss +0 -38
  86. package/src/css/index.scss +0 -1
  87. package/src/event-buses/chatEventBus.ts +0 -3
  88. package/src/index.ts +0 -42
  89. package/src/main.scss +0 -5
  90. package/src/plugins/chat.ts +0 -115
  91. package/src/shims.d.ts +0 -6
  92. package/src/types/chat.ts +0 -12
  93. package/src/types/icons.d.ts +0 -5
  94. package/src/types/options.ts +0 -33
  95. package/src/types/webhook.ts +0 -18
  96. package/src/utils/event-bus.ts +0 -51
  97. package/src/utils/mount.ts +0 -16
  98. package/tsconfig.json +0 -27
  99. package/vite.config.mts +0 -53
  100. package/vitest.config.mts +0 -30
  101. /package/{src/__tests__/utils/index.ts → dist/__tests__/utils/index.d.ts} +0 -0
  102. /package/{src/api/index.ts → dist/api/index.d.ts} +0 -0
  103. /package/{src/components/index.ts → dist/components/index.d.ts} +0 -0
  104. /package/{src/composables/index.ts → dist/composables/index.d.ts} +0 -0
  105. /package/{src/constants/index.ts → dist/constants/index.d.ts} +0 -0
  106. /package/{src/event-buses/index.ts → dist/event-buses/index.d.ts} +0 -0
  107. /package/{public → dist}/favicon.ico +0 -0
  108. /package/{src/plugins/index.ts → dist/plugins/index.d.ts} +0 -0
  109. /package/{src/types/index.ts → dist/types/index.d.ts} +0 -0
  110. /package/{src/utils/index.ts → dist/utils/index.d.ts} +0 -0
@@ -0,0 +1,37 @@
1
+ (function(Pt,vt){typeof exports=="object"&&typeof module<"u"?vt(exports):typeof define=="function"&&define.amd?define(["exports"],vt):(Pt=typeof globalThis<"u"?globalThis:Pt||self,vt(Pt.N8nChat={}))})(this,function(Pt){"use strict";/**
2
+ * @vue/shared v3.4.21
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/function vt(t,e){const n=new Set(t.split(","));return r=>n.has(r)}const fe={},Ut=[],Ne=()=>{},Bl=()=>!1,Nn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Fr=t=>t.startsWith("onUpdate:"),be=Object.assign,Br=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Pl=Object.prototype.hasOwnProperty,oe=(t,e)=>Pl.call(t,e),Z=Array.isArray,$t=t=>In(t)==="[object Map]",co=t=>In(t)==="[object Set]",X=t=>typeof t=="function",he=t=>typeof t=="string",zt=t=>typeof t=="symbol",pe=t=>t!==null&&typeof t=="object",io=t=>(pe(t)||X(t))&&X(t.then)&&X(t.catch),lo=Object.prototype.toString,In=t=>lo.call(t),Ul=t=>In(t).slice(8,-1),ao=t=>In(t)==="[object Object]",Pr=t=>he(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,cn=vt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mn=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},$l=/-(\w)/g,Ve=Mn(t=>t.replace($l,(e,n)=>n?n.toUpperCase():"")),zl=/\B([A-Z])/g,yt=Mn(t=>t.replace(zl,"-$1").toLowerCase()),On=Mn(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ur=Mn(t=>t?`on${On(t)}`:""),rt=(t,e)=>!Object.is(t,e),Fn=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Bn=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},$r=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Vl=t=>{const e=he(t)?Number(t):NaN;return isNaN(e)?t:e};let uo;const fo=()=>uo||(uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pn(t){if(Z(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],s=he(r)?Zl(r):Pn(r);if(s)for(const o in s)e[o]=s[o]}return e}else if(he(t)||pe(t))return t}const Hl=/;(?![^(]*\))/g,Gl=/:([^]+)/,jl=/\/\*[^]*?\*\//g;function Zl(t){const e={};return t.replace(jl,"").split(Hl).forEach(n=>{if(n){const r=n.split(Gl);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Vt(t){let e="";if(he(t))e=t;else if(Z(t))for(let n=0;n<t.length;n++){const r=Vt(t[n]);r&&(e+=r+" ")}else if(pe(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function Kl(t){if(!t)return null;let{class:e,style:n}=t;return e&&!he(e)&&(t.class=Vt(e)),n&&(t.style=Pn(n)),t}const Wl=vt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function po(t){return!!t||t===""}const Un=t=>he(t)?t:t==null?"":Z(t)||pe(t)&&(t.toString===lo||!X(t.toString))?JSON.stringify(t,ho,2):String(t),ho=(t,e)=>e&&e.__v_isRef?ho(t,e.value):$t(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,s],o)=>(n[zr(r,o)+" =>"]=s,n),{})}:co(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>zr(n))}:zt(e)?zr(e):pe(e)&&!Z(e)&&!ao(e)?String(e):e,zr=(t,e="")=>{var n;return zt(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
6
+ * @vue/reactivity v3.4.21
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let Pe;class Jl{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Pe,!e&&Pe&&(this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Pe;try{return Pe=this,e()}finally{Pe=n}}}on(){Pe=this}off(){Pe=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Yl(t,e=Pe){e&&e.active&&e.effects.push(t)}function Xl(){return Pe}let xt;class Vr{constructor(e,n,r,s){this.fn=e,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Yl(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,ot();for(let e=0;e<this._depsLength;e++){const n=this.deps[e];if(n.computed&&(Ql(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ct()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=st,n=xt;try{return st=!0,xt=this,this._runnings++,go(this),this.fn()}finally{mo(this),this._runnings--,xt=n,st=e}}stop(){var e;this.active&&(go(this),mo(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function Ql(t){return t.value}function go(t){t._trackId++,t._depsLength=0}function mo(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)bo(t.deps[e],t);t.deps.length=t._depsLength}}function bo(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let st=!0,Hr=0;const _o=[];function ot(){_o.push(st),st=!1}function ct(){const t=_o.pop();st=t===void 0?!0:t}function Gr(){Hr++}function jr(){for(Hr--;!Hr&&Zr.length;)Zr.shift()()}function vo(t,e,n){if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&bo(r,t),t.deps[t._depsLength++]=e):t._depsLength++}}const Zr=[];function yo(t,e,n){Gr();for(const r of t.keys()){let s;r._dirtyLevel<e&&(s??(s=t.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=e),r._shouldSchedule&&(s??(s=t.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Zr.push(r.scheduler)))}jr()}const xo=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},$n=new WeakMap,wt=Symbol(""),Kr=Symbol("");function De(t,e,n){if(st&&xt){let r=$n.get(t);r||$n.set(t,r=new Map);let s=r.get(n);s||r.set(n,s=xo(()=>r.delete(n))),vo(xt,s)}}function Qe(t,e,n,r,s,o){const c=$n.get(t);if(!c)return;let i=[];if(e==="clear")i=[...c.values()];else if(n==="length"&&Z(t)){const l=Number(r);c.forEach((a,u)=>{(u==="length"||!zt(u)&&u>=l)&&i.push(a)})}else switch(n!==void 0&&i.push(c.get(n)),e){case"add":Z(t)?Pr(n)&&i.push(c.get("length")):(i.push(c.get(wt)),$t(t)&&i.push(c.get(Kr)));break;case"delete":Z(t)||(i.push(c.get(wt)),$t(t)&&i.push(c.get(Kr)));break;case"set":$t(t)&&i.push(c.get(wt));break}Gr();for(const l of i)l&&yo(l,4);jr()}function ea(t,e){var n;return(n=$n.get(t))==null?void 0:n.get(e)}const ta=vt("__proto__,__v_isRef,__isVue"),wo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(zt)),ko=na();function na(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=ne(this);for(let o=0,c=this.length;o<c;o++)De(r,"get",o+"");const s=r[e](...n);return s===-1||s===!1?r[e](...n.map(ne)):s}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){ot(),Gr();const r=ne(this)[e].apply(this,n);return jr(),ct(),r}}),t}function ra(t){const e=ne(this);return De(e,"has",t),e.hasOwnProperty(t)}class Eo{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?ma:Lo:o?Ro:To).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const c=Z(e);if(!s){if(c&&oe(ko,n))return Reflect.get(ko,n,r);if(n==="hasOwnProperty")return ra}const i=Reflect.get(e,n,r);return(zt(n)?wo.has(n):ta(n))||(s||De(e,"get",n),o)?i:ve(i)?c&&Pr(n)?i:i.value:pe(i)?s?No(i):Yr(i):i}}class Ao extends Eo{constructor(e=!1){super(!1,e)}set(e,n,r,s){let o=e[n];if(!this._isShallow){const l=Gt(o);if(!Kn(r)&&!Gt(r)&&(o=ne(o),r=ne(r)),!Z(e)&&ve(o)&&!ve(r))return l?!1:(o.value=r,!0)}const c=Z(e)&&Pr(n)?Number(n)<e.length:oe(e,n),i=Reflect.set(e,n,r,s);return e===ne(s)&&(c?rt(r,o)&&Qe(e,"set",n,r):Qe(e,"add",n,r)),i}deleteProperty(e,n){const r=oe(e,n);e[n];const s=Reflect.deleteProperty(e,n);return s&&r&&Qe(e,"delete",n,void 0),s}has(e,n){const r=Reflect.has(e,n);return(!zt(n)||!wo.has(n))&&De(e,"has",n),r}ownKeys(e){return De(e,"iterate",Z(e)?"length":wt),Reflect.ownKeys(e)}}class sa extends Eo{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const oa=new Ao,ca=new sa,ia=new Ao(!0),Wr=t=>t,zn=t=>Reflect.getPrototypeOf(t);function Vn(t,e,n=!1,r=!1){t=t.__v_raw;const s=ne(t),o=ne(e);n||(rt(e,o)&&De(s,"get",e),De(s,"get",o));const{has:c}=zn(s),i=r?Wr:n?Qr:ln;if(c.call(s,e))return i(t.get(e));if(c.call(s,o))return i(t.get(o));t!==s&&t.get(e)}function Hn(t,e=!1){const n=this.__v_raw,r=ne(n),s=ne(t);return e||(rt(t,s)&&De(r,"has",t),De(r,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)}function Gn(t,e=!1){return t=t.__v_raw,!e&&De(ne(t),"iterate",wt),Reflect.get(t,"size",t)}function Co(t){t=ne(t);const e=ne(this);return zn(e).has.call(e,t)||(e.add(t),Qe(e,"add",t,t)),this}function So(t,e){e=ne(e);const n=ne(this),{has:r,get:s}=zn(n);let o=r.call(n,t);o||(t=ne(t),o=r.call(n,t));const c=s.call(n,t);return n.set(t,e),o?rt(e,c)&&Qe(n,"set",t,e):Qe(n,"add",t,e),this}function Do(t){const e=ne(this),{has:n,get:r}=zn(e);let s=n.call(e,t);s||(t=ne(t),s=n.call(e,t)),r&&r.call(e,t);const o=e.delete(t);return s&&Qe(e,"delete",t,void 0),o}function qo(){const t=ne(this),e=t.size!==0,n=t.clear();return e&&Qe(t,"clear",void 0,void 0),n}function jn(t,e){return function(r,s){const o=this,c=o.__v_raw,i=ne(c),l=e?Wr:t?Qr:ln;return!t&&De(i,"iterate",wt),c.forEach((a,u)=>r.call(s,l(a),l(u),o))}}function Zn(t,e,n){return function(...r){const s=this.__v_raw,o=ne(s),c=$t(o),i=t==="entries"||t===Symbol.iterator&&c,l=t==="keys"&&c,a=s[t](...r),u=n?Wr:e?Qr:ln;return!e&&De(o,"iterate",l?Kr:wt),{next(){const{value:f,done:p}=a.next();return p?{value:f,done:p}:{value:i?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function it(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function la(){const t={get(o){return Vn(this,o)},get size(){return Gn(this)},has:Hn,add:Co,set:So,delete:Do,clear:qo,forEach:jn(!1,!1)},e={get(o){return Vn(this,o,!1,!0)},get size(){return Gn(this)},has:Hn,add:Co,set:So,delete:Do,clear:qo,forEach:jn(!1,!0)},n={get(o){return Vn(this,o,!0)},get size(){return Gn(this,!0)},has(o){return Hn.call(this,o,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:jn(!0,!1)},r={get(o){return Vn(this,o,!0,!0)},get size(){return Gn(this,!0)},has(o){return Hn.call(this,o,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:jn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=Zn(o,!1,!1),n[o]=Zn(o,!0,!1),e[o]=Zn(o,!1,!0),r[o]=Zn(o,!0,!0)}),[t,n,e,r]}const[aa,ua,fa,pa]=la();function Jr(t,e){const n=e?t?pa:fa:t?ua:aa;return(r,s,o)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?r:Reflect.get(oe(n,s)&&s in r?n:r,s,o)}const ha={get:Jr(!1,!1)},da={get:Jr(!1,!0)},ga={get:Jr(!0,!1)},To=new WeakMap,Ro=new WeakMap,Lo=new WeakMap,ma=new WeakMap;function ba(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _a(t){return t.__v_skip||!Object.isExtensible(t)?0:ba(Ul(t))}function Yr(t){return Gt(t)?t:Xr(t,!1,oa,ha,To)}function va(t){return Xr(t,!1,ia,da,Ro)}function No(t){return Xr(t,!0,ca,ga,Lo)}function Xr(t,e,n,r,s){if(!pe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const c=_a(t);if(c===0)return t;const i=new Proxy(t,c===2?r:n);return s.set(t,i),i}function Ht(t){return Gt(t)?Ht(t.__v_raw):!!(t&&t.__v_isReactive)}function Gt(t){return!!(t&&t.__v_isReadonly)}function Kn(t){return!!(t&&t.__v_isShallow)}function Io(t){return Ht(t)||Gt(t)}function ne(t){const e=t&&t.__v_raw;return e?ne(e):t}function Mo(t){return Object.isExtensible(t)&&Bn(t,"__v_skip",!0),t}const ln=t=>pe(t)?Yr(t):t,Qr=t=>pe(t)?No(t):t;class Oo{constructor(e,n,r,s){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Vr(()=>e(this._value),()=>Wn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const e=ne(this);return(!e._cacheable||e.effect.dirty)&&rt(e._value,e._value=e.effect.run())&&Wn(e,4),Fo(e),e.effect._dirtyLevel>=2&&Wn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function ya(t,e,n=!1){let r,s;const o=X(t);return o?(r=t,s=Ne):(r=t.get,s=t.set),new Oo(r,s,o||!s,n)}function Fo(t){var e;st&&xt&&(t=ne(t),vo(xt,(e=t.dep)!=null?e:t.dep=xo(()=>t.dep=void 0,t instanceof Oo?t:void 0)))}function Wn(t,e=4,n){t=ne(t);const r=t.dep;r&&yo(r,e)}function ve(t){return!!(t&&t.__v_isRef===!0)}function lt(t){return xa(t,!1)}function xa(t,e){return ve(t)?t:new wa(t,e)}class wa{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:ne(e),this._value=n?e:ln(e)}get value(){return Fo(this),this._value}set value(e){const n=this.__v_isShallow||Kn(e)||Gt(e);e=n?e:ne(e),rt(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:ln(e),Wn(this,4))}}function le(t){return ve(t)?t.value:t}const ka={get:(t,e,n)=>le(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const s=t[e];return ve(s)&&!ve(n)?(s.value=n,!0):Reflect.set(t,e,n,r)}};function Bo(t){return Ht(t)?t:new Proxy(t,ka)}function Ea(t){const e=Z(t)?new Array(t.length):{};for(const n in t)e[n]=Ca(t,n);return e}class Aa{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return ea(ne(this._object),this._key)}}function Ca(t,e,n){const r=t[e];return ve(r)?r:new Aa(t,e,n)}/**
10
+ * @vue/runtime-core v3.4.21
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/const an=[];function _m(t,...e){ot();const n=an.length?an[an.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=Sa();if(r)et(r,n,11,[t+e.map(o=>{var c,i;return(i=(c=o.toString)==null?void 0:c.call(o))!=null?i:JSON.stringify(o)}).join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${Ic(n,o.type)}>`).join(`
14
+ `),s]);else{const o=[`[Vue warn]: ${t}`,...e];s.length&&o.push(`
15
+ `,...Da(s)),console.warn(...o)}ct()}function Sa(){let t=an[an.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const r=t.component&&t.component.parent;t=r&&r.vnode}return e}function Da(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
16
+ `],...qa(n))}),e}function qa({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,s=` at <${Ic(t.component,t.type,r)}`,o=">"+n;return t.props?[s,...Ta(t.props),o]:[s+o]}function Ta(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...Po(r,t[r]))}),n.length>3&&e.push(" ..."),e}function Po(t,e,n){return he(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:ve(e)?(e=Po(t,ne(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):X(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=ne(e),n?e:[`${t}=`,e])}function et(t,e,n,r){try{return r?t(...r):t()}catch(s){Jn(s,e,n)}}function Ie(t,e,n,r){if(X(t)){const o=et(t,e,n,r);return o&&io(o)&&o.catch(c=>{Jn(c,e,n)}),o}const s=[];for(let o=0;o<t.length;o++)s.push(Ie(t[o],e,n,r));return s}function Jn(t,e,n,r=!0){const s=e?e.vnode:null;if(e){let o=e.parent;const c=e.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const a=o.ec;if(a){for(let u=0;u<a.length;u++)if(a[u](t,c,i)===!1)return}o=o.parent}const l=e.appContext.config.errorHandler;if(l){et(l,null,10,[t,c,i]);return}}Ra(t,n,s,r)}function Ra(t,e,n,r=!0){console.error(t)}let un=!1,es=!1;const Ee=[];let He=0;const jt=[];let at=null,kt=0;const Uo=Promise.resolve();let ts=null;function Zt(t){const e=ts||Uo;return t?e.then(this?t.bind(this):t):e}function La(t){let e=He+1,n=Ee.length;for(;e<n;){const r=e+n>>>1,s=Ee[r],o=fn(s);o<t||o===t&&s.pre?e=r+1:n=r}return e}function ns(t){(!Ee.length||!Ee.includes(t,un&&t.allowRecurse?He+1:He))&&(t.id==null?Ee.push(t):Ee.splice(La(t.id),0,t),$o())}function $o(){!un&&!es&&(es=!0,ts=Uo.then(Ho))}function Na(t){const e=Ee.indexOf(t);e>He&&Ee.splice(e,1)}function Ia(t){Z(t)?jt.push(...t):(!at||!at.includes(t,t.allowRecurse?kt+1:kt))&&jt.push(t),$o()}function zo(t,e,n=un?He+1:0){for(;n<Ee.length;n++){const r=Ee[n];if(r&&r.pre){if(t&&r.id!==t.uid)continue;Ee.splice(n,1),n--,r()}}}function Vo(t){if(jt.length){const e=[...new Set(jt)].sort((n,r)=>fn(n)-fn(r));if(jt.length=0,at){at.push(...e);return}for(at=e,kt=0;kt<at.length;kt++)at[kt]();at=null,kt=0}}const fn=t=>t.id==null?1/0:t.id,Ma=(t,e)=>{const n=fn(t)-fn(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Ho(t){es=!1,un=!0,Ee.sort(Ma);try{for(He=0;He<Ee.length;He++){const e=Ee[He];e&&e.active!==!1&&et(e,null,14)}}finally{He=0,Ee.length=0,Vo(),un=!1,ts=null,(Ee.length||jt.length)&&Ho()}}function Oa(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||fe;let s=n;const o=e.startsWith("update:"),c=o&&e.slice(7);if(c&&c in r){const u=`${c==="modelValue"?"model":c}Modifiers`,{number:f,trim:p}=r[u]||fe;p&&(s=n.map(d=>he(d)?d.trim():d)),f&&(s=n.map($r))}let i,l=r[i=Ur(e)]||r[i=Ur(Ve(e))];!l&&o&&(l=r[i=Ur(yt(e))]),l&&Ie(l,t,6,s);const a=r[i+"Once"];if(a){if(!t.emitted)t.emitted={};else if(t.emitted[i])return;t.emitted[i]=!0,Ie(a,t,6,s)}}function Go(t,e,n=!1){const r=e.emitsCache,s=r.get(t);if(s!==void 0)return s;const o=t.emits;let c={},i=!1;if(!X(t)){const l=a=>{const u=Go(a,e,!0);u&&(i=!0,be(c,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!i?(pe(t)&&r.set(t,null),null):(Z(o)?o.forEach(l=>c[l]=null):be(c,o),pe(t)&&r.set(t,c),c)}function Yn(t,e){return!t||!Nn(e)?!1:(e=e.slice(2).replace(/Once$/,""),oe(t,e[0].toLowerCase()+e.slice(1))||oe(t,yt(e))||oe(t,e))}let _e=null,jo=null;function Xn(t){const e=_e;return _e=t,jo=t&&t.type.__scopeId||null,e}function ut(t,e=_e,n){if(!e||t._n)return t;const r=(...s)=>{r._d&&Ec(-1);const o=Xn(e);let c;try{c=t(...s)}finally{Xn(o),r._d&&Ec(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function vm(){}function rs(t){const{type:e,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[c],slots:i,attrs:l,emit:a,render:u,renderCache:f,data:p,setupState:d,ctx:E,inheritAttrs:k}=t;let M,L;const D=Xn(t);try{if(n.shapeFlag&4){const O=s||r,$=O;M=Ge(u.call($,O,f,o,d,p,E)),L=l}else{const O=e;M=Ge(O.length>1?O(o,{attrs:l,slots:i,emit:a}):O(o,null)),L=e.props?l:Fa(l)}}catch(O){bn.length=0,Jn(O,t,1),M=ge(Oe)}let q=M;if(L&&k!==!1){const O=Object.keys(L),{shapeFlag:$}=q;O.length&&$&7&&(c&&O.some(Fr)&&(L=Ba(L,c)),q=pt(q,L))}return n.dirs&&(q=pt(q),q.dirs=q.dirs?q.dirs.concat(n.dirs):n.dirs),n.transition&&(q.transition=n.transition),M=q,Xn(D),M}const Fa=t=>{let e;for(const n in t)(n==="class"||n==="style"||Nn(n))&&((e||(e={}))[n]=t[n]);return e},Ba=(t,e)=>{const n={};for(const r in t)(!Fr(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Pa(t,e,n){const{props:r,children:s,component:o}=t,{props:c,children:i,patchFlag:l}=e,a=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Zo(r,c,a):!!c;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(c[p]!==r[p]&&!Yn(a,p))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===c?!1:r?c?Zo(r,c,a):!0:!!c;return!1}function Zo(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(e[o]!==t[o]&&!Yn(n,o))return!0}return!1}function Ua({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const $a="components",Ko=Symbol.for("v-ndc");function za(t){return he(t)?Va($a,t,!1)||t:t||Ko}function Va(t,e,n=!0,r=!1){const s=_e||we;if(s){const o=s.type;{const i=Nc(o,!1);if(i&&(i===e||i===Ve(e)||i===On(Ve(e))))return o}const c=Wo(s[t]||o[t],e)||Wo(s.appContext[t],e);return!c&&r?o:c}}function Wo(t,e){return t&&(t[e]||t[Ve(e)]||t[On(Ve(e))])}const Ha=t=>t.__isSuspense;function Ga(t,e){e&&e.pendingBranch?Z(t)?e.effects.push(...t):e.effects.push(t):Ia(t)}const ja=Symbol.for("v-scx"),Za=()=>Wt(ja),Qn={};function ss(t,e,n){return Jo(t,e,n)}function Jo(t,e,{immediate:n,deep:r,flush:s,once:o,onTrack:c,onTrigger:i}=fe){if(e&&o){const x=e;e=(...K)=>{x(...K),$()}}const l=we,a=x=>r===!0?x:Et(x,r===!1?1:void 0);let u,f=!1,p=!1;if(ve(t)?(u=()=>t.value,f=Kn(t)):Ht(t)?(u=()=>a(t),f=!0):Z(t)?(p=!0,f=t.some(x=>Ht(x)||Kn(x)),u=()=>t.map(x=>{if(ve(x))return x.value;if(Ht(x))return a(x);if(X(x))return et(x,l,2)})):X(t)?e?u=()=>et(t,l,2):u=()=>(d&&d(),Ie(t,l,3,[E])):u=Ne,e&&r){const x=u;u=()=>Et(x())}let d,E=x=>{d=q.onStop=()=>{et(x,l,4),d=q.onStop=void 0}},k;if(ar)if(E=Ne,e?n&&Ie(e,l,3,[u(),p?[]:void 0,E]):u(),s==="sync"){const x=Za();k=x.__watcherHandles||(x.__watcherHandles=[])}else return Ne;let M=p?new Array(t.length).fill(Qn):Qn;const L=()=>{if(!(!q.active||!q.dirty))if(e){const x=q.run();(r||f||(p?x.some((K,B)=>rt(K,M[B])):rt(x,M)))&&(d&&d(),Ie(e,l,3,[x,M===Qn?void 0:p&&M[0]===Qn?[]:M,E]),M=x)}else q.run()};L.allowRecurse=!!e;let D;s==="sync"?D=L:s==="post"?D=()=>qe(L,l&&l.suspense):(L.pre=!0,l&&(L.id=l.uid),D=()=>ns(L));const q=new Vr(u,Ne,D),O=Xl(),$=()=>{q.stop(),O&&Br(O.effects,q)};return e?n?L():M=q.run():s==="post"?qe(q.run.bind(q),l&&l.suspense):q.run(),k&&k.push($),$}function Ka(t,e,n){const r=this.proxy,s=he(t)?t.includes(".")?Yo(r,t):()=>r[t]:t.bind(r,r);let o;X(e)?o=e:(o=e.handler,n=e);const c=vn(this),i=Jo(s,o.bind(r),n);return c(),i}function Yo(t,e){const n=e.split(".");return()=>{let r=t;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function Et(t,e,n=0,r){if(!pe(t)||t.__v_skip)return t;if(e&&e>0){if(n>=e)return t;n++}if(r=r||new Set,r.has(t))return t;if(r.add(t),ve(t))Et(t.value,e,n,r);else if(Z(t))for(let s=0;s<t.length;s++)Et(t[s],e,n,r);else if(co(t)||$t(t))t.forEach(s=>{Et(s,e,n,r)});else if(ao(t))for(const s in t)Et(t[s],e,n,r);return t}function Xo(t,e){if(_e===null)return t;const n=ur(_e)||_e.proxy,r=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[o,c,i,l=fe]=e[s];o&&(X(o)&&(o={mounted:o,updated:o}),o.deep&&Et(c),r.push({dir:o,instance:n,value:c,oldValue:void 0,arg:i,modifiers:l}))}return t}function At(t,e,n,r){const s=t.dirs,o=e&&e.dirs;for(let c=0;c<s.length;c++){const i=s[c];o&&(i.oldValue=o[c].value);let l=i.dir[r];l&&(ot(),Ie(l,n,8,[t.el,i,t,e]),ct())}}const ft=Symbol("_leaveCb"),er=Symbol("_enterCb");function Wa(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Kt(()=>{t.isMounted=!0}),ls(()=>{t.isUnmounting=!0}),t}const Me=[Function,Array],Qo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Me,onEnter:Me,onAfterEnter:Me,onEnterCancelled:Me,onBeforeLeave:Me,onLeave:Me,onAfterLeave:Me,onLeaveCancelled:Me,onBeforeAppear:Me,onAppear:Me,onAfterAppear:Me,onAppearCancelled:Me},Ja={name:"BaseTransition",props:Qo,setup(t,{slots:e}){const n=Lu(),r=Wa();return()=>{const s=e.default&&nc(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const p of s)if(p.type!==Oe){o=p;break}}const c=ne(t),{mode:i}=c;if(r.isLeaving)return cs(o);const l=tc(o);if(!l)return cs(o);const a=os(l,c,r,n);is(l,a);const u=n.subTree,f=u&&tc(u);if(f&&f.type!==Oe&&!St(l,f)){const p=os(f,c,r,n);if(is(f,p),i==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},cs(o);i==="in-out"&&l.type!==Oe&&(p.delayLeave=(d,E,k)=>{const M=ec(r,f);M[String(f.key)]=f,d[ft]=()=>{E(),d[ft]=void 0,delete a.delayedLeave},a.delayedLeave=k})}return o}}};function ec(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function os(t,e,n,r){const{appear:s,mode:o,persisted:c=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:E,onBeforeAppear:k,onAppear:M,onAfterAppear:L,onAppearCancelled:D}=e,q=String(t.key),O=ec(n,t),$=(B,Q)=>{B&&Ie(B,r,9,Q)},x=(B,Q)=>{const z=Q[1];$(B,Q),Z(B)?B.every(Y=>Y.length<=1)&&z():B.length<=1&&z()},K={mode:o,persisted:c,beforeEnter(B){let Q=i;if(!n.isMounted)if(s)Q=k||i;else return;B[ft]&&B[ft](!0);const z=O[q];z&&St(t,z)&&z.el[ft]&&z.el[ft](),$(Q,[B])},enter(B){let Q=l,z=a,Y=u;if(!n.isMounted)if(s)Q=M||l,z=L||a,Y=D||u;else return;let P=!1;const se=B[er]=T=>{P||(P=!0,T?$(Y,[B]):$(z,[B]),K.delayedLeave&&K.delayedLeave(),B[er]=void 0)};Q?x(Q,[B,se]):se()},leave(B,Q){const z=String(t.key);if(B[er]&&B[er](!0),n.isUnmounting)return Q();$(f,[B]);let Y=!1;const P=B[ft]=se=>{Y||(Y=!0,Q(),se?$(E,[B]):$(d,[B]),B[ft]=void 0,O[z]===t&&delete O[z])};O[z]=t,p?x(p,[B,P]):P()},clone(B){return os(B,e,n,r)}};return K}function cs(t){if(tr(t))return t=pt(t),t.children=null,t}function tc(t){return tr(t)?t.children?t.children[0]:void 0:t}function is(t,e){t.shapeFlag&6&&t.component?is(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function nc(t,e=!1,n){let r=[],s=0;for(let o=0;o<t.length;o++){let c=t[o];const i=n==null?c.key:String(n)+String(c.key!=null?c.key:o);c.type===Te?(c.patchFlag&128&&s++,r=r.concat(nc(c.children,e,i))):(e||c.type!==Oe)&&r.push(i!=null?pt(c,{key:i}):c)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Ue(t,e){return X(t)?be({name:t.name},e,{setup:t}):t}const pn=t=>!!t.type.__asyncLoader,tr=t=>t.type.__isKeepAlive;function Ya(t,e){rc(t,"a",e)}function Xa(t,e){rc(t,"da",e)}function rc(t,e,n=we){const r=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(nr(e,r,n),n){let s=n.parent;for(;s&&s.parent;)tr(s.parent.vnode)&&Qa(r,e,n,s),s=s.parent}}function Qa(t,e,n,r){const s=nr(e,t,r,!0);sc(()=>{Br(r[e],s)},n)}function nr(t,e,n=we,r=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...c)=>{if(n.isUnmounted)return;ot();const i=vn(n),l=Ie(e,n,t,c);return i(),ct(),l});return r?s.unshift(o):s.push(o),o}}const tt=t=>(e,n=we)=>(!ar||t==="sp")&&nr(t,(...r)=>e(...r),n),eu=tt("bm"),Kt=tt("m"),tu=tt("bu"),nu=tt("u"),ls=tt("bum"),sc=tt("um"),ru=tt("sp"),su=tt("rtg"),ou=tt("rtc");function cu(t,e=we){nr("ec",t,e)}function oc(t,e,n,r){let s;const o=n;if(Z(t)||he(t)){s=new Array(t.length);for(let c=0,i=t.length;c<i;c++)s[c]=e(t[c],c,void 0,o)}else if(typeof t=="number"){s=new Array(t);for(let c=0;c<t;c++)s[c]=e(c+1,c,void 0,o)}else if(pe(t))if(t[Symbol.iterator])s=Array.from(t,(c,i)=>e(c,i,void 0,o));else{const c=Object.keys(t);s=new Array(c.length);for(let i=0,l=c.length;i<l;i++){const a=c[i];s[i]=e(t[a],a,i,o)}}else s=[];return s}function hn(t,e,n={},r,s){if(_e.isCE||_e.parent&&pn(_e.parent)&&_e.parent.isCE)return e!=="default"&&(n.name=e),ge("slot",n,r&&r());let o=t[e];o&&o._c&&(o._d=!1),ee();const c=o&&cc(o(n)),i=ye(Te,{key:n.key||c&&c.key||`_${e}`},c||(r?r():[]),c&&t._===1?64:-2);return i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),o&&o._c&&(o._d=!0),i}function cc(t){return t.some(e=>or(e)?!(e.type===Oe||e.type===Te&&!cc(e.children)):!0)?t:null}const as=t=>t?qc(t)?ur(t)||t.proxy:as(t.parent):null,dn=be(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>as(t.parent),$root:t=>as(t.root),$emit:t=>t.emit,$options:t=>ps(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,ns(t.update)}),$nextTick:t=>t.n||(t.n=Zt.bind(t.proxy)),$watch:t=>Ka.bind(t)}),us=(t,e)=>t!==fe&&!t.__isScriptSetup&&oe(t,e),iu={get({_:t},e){const{ctx:n,setupState:r,data:s,props:o,accessCache:c,type:i,appContext:l}=t;let a;if(e[0]!=="$"){const d=c[e];if(d!==void 0)switch(d){case 1:return r[e];case 2:return s[e];case 4:return n[e];case 3:return o[e]}else{if(us(r,e))return c[e]=1,r[e];if(s!==fe&&oe(s,e))return c[e]=2,s[e];if((a=t.propsOptions[0])&&oe(a,e))return c[e]=3,o[e];if(n!==fe&&oe(n,e))return c[e]=4,n[e];fs&&(c[e]=0)}}const u=dn[e];let f,p;if(u)return e==="$attrs"&&De(t,"get",e),u(t);if((f=i.__cssModules)&&(f=f[e]))return f;if(n!==fe&&oe(n,e))return c[e]=4,n[e];if(p=l.config.globalProperties,oe(p,e))return p[e]},set({_:t},e,n){const{data:r,setupState:s,ctx:o}=t;return us(s,e)?(s[e]=n,!0):r!==fe&&oe(r,e)?(r[e]=n,!0):oe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:s,propsOptions:o}},c){let i;return!!n[c]||t!==fe&&oe(t,c)||us(e,c)||(i=o[0])&&oe(i,c)||oe(r,c)||oe(dn,c)||oe(s.config.globalProperties,c)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:oe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function ic(t){return Z(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let fs=!0;function lu(t){const e=ps(t),n=t.proxy,r=t.ctx;fs=!1,e.beforeCreate&&lc(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:c,watch:i,provide:l,inject:a,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:E,activated:k,deactivated:M,beforeDestroy:L,beforeUnmount:D,destroyed:q,unmounted:O,render:$,renderTracked:x,renderTriggered:K,errorCaptured:B,serverPrefetch:Q,expose:z,inheritAttrs:Y,components:P,directives:se,filters:T}=e;if(a&&au(a,r,null),c)for(const b in c){const S=c[b];X(S)&&(r[b]=S.bind(n))}if(s){const b=s.call(n,n);pe(b)&&(t.data=Yr(b))}if(fs=!0,o)for(const b in o){const S=o[b],j=X(S)?S.bind(n,n):X(S.get)?S.get.bind(n,n):Ne,te=!X(S)&&X(S.set)?S.set.bind(n):Ne,ce=Ze({get:j,set:te});Object.defineProperty(r,b,{enumerable:!0,configurable:!0,get:()=>ce.value,set:ue=>ce.value=ue})}if(i)for(const b in i)ac(i[b],r,n,b);if(l){const b=X(l)?l.call(n):l;Reflect.ownKeys(b).forEach(S=>{gu(S,b[S])})}u&&lc(u,t,"c");function G(b,S){Z(S)?S.forEach(j=>b(j.bind(n))):S&&b(S.bind(n))}if(G(eu,f),G(Kt,p),G(tu,d),G(nu,E),G(Ya,k),G(Xa,M),G(cu,B),G(ou,x),G(su,K),G(ls,D),G(sc,O),G(ru,Q),Z(z))if(z.length){const b=t.exposed||(t.exposed={});z.forEach(S=>{Object.defineProperty(b,S,{get:()=>n[S],set:j=>n[S]=j})})}else t.exposed||(t.exposed={});$&&t.render===Ne&&(t.render=$),Y!=null&&(t.inheritAttrs=Y),P&&(t.components=P),se&&(t.directives=se)}function au(t,e,n=Ne){Z(t)&&(t=hs(t));for(const r in t){const s=t[r];let o;pe(s)?"default"in s?o=Wt(s.from||r,s.default,!0):o=Wt(s.from||r):o=Wt(s),ve(o)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[r]=o}}function lc(t,e,n){Ie(Z(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function ac(t,e,n,r){const s=r.includes(".")?Yo(n,r):()=>n[r];if(he(t)){const o=e[t];X(o)&&ss(s,o)}else if(X(t))ss(s,t.bind(n));else if(pe(t))if(Z(t))t.forEach(o=>ac(o,e,n,r));else{const o=X(t.handler)?t.handler.bind(n):e[t.handler];X(o)&&ss(s,o,t)}}function ps(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:c}}=t.appContext,i=o.get(e);let l;return i?l=i:!s.length&&!n&&!r?l=e:(l={},s.length&&s.forEach(a=>rr(l,a,c,!0)),rr(l,e,c)),pe(e)&&o.set(e,l),l}function rr(t,e,n,r=!1){const{mixins:s,extends:o}=e;o&&rr(t,o,n,!0),s&&s.forEach(c=>rr(t,c,n,!0));for(const c in e)if(!(r&&c==="expose")){const i=uu[c]||n&&n[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const uu={data:uc,props:fc,emits:fc,methods:gn,computed:gn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:gn,directives:gn,watch:pu,provide:uc,inject:fu};function uc(t,e){return e?t?function(){return be(X(t)?t.call(this,this):t,X(e)?e.call(this,this):e)}:e:t}function fu(t,e){return gn(hs(t),hs(e))}function hs(t){if(Z(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ce(t,e){return t?[...new Set([].concat(t,e))]:e}function gn(t,e){return t?be(Object.create(null),t,e):e}function fc(t,e){return t?Z(t)&&Z(e)?[...new Set([...t,...e])]:be(Object.create(null),ic(t),ic(e??{})):e}function pu(t,e){if(!t)return e;if(!e)return t;const n=be(Object.create(null),t);for(const r in e)n[r]=Ce(t[r],e[r]);return n}function pc(){return{app:null,config:{isNativeTag:Bl,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 hu=0;function du(t,e){return function(r,s=null){X(r)||(r=be({},r)),s!=null&&!pe(s)&&(s=null);const o=pc(),c=new WeakSet;let i=!1;const l=o.app={_uid:hu++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Uu,get config(){return o.config},set config(a){},use(a,...u){return c.has(a)||(a&&X(a.install)?(c.add(a),a.install(l,...u)):X(a)&&(c.add(a),a(l,...u))),l},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),l},component(a,u){return u?(o.components[a]=u,l):o.components[a]},directive(a,u){return u?(o.directives[a]=u,l):o.directives[a]},mount(a,u,f){if(!i){const p=ge(r,s);return p.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),u&&e?e(p,a):t(p,a,f),i=!0,l._container=a,a.__vue_app__=l,ur(p.component)||p.component.proxy}},unmount(){i&&(t(null,l._container),delete l._container.__vue_app__)},provide(a,u){return o.provides[a]=u,l},runWithContext(a){const u=mn;mn=l;try{return a()}finally{mn=u}}};return l}}let mn=null;function gu(t,e){if(we){let n=we.provides;const r=we.parent&&we.parent.provides;r===n&&(n=we.provides=Object.create(r)),n[t]=e}}function Wt(t,e,n=!1){const r=we||_e;if(r||mn){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:mn._context.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&X(e)?e.call(r&&r.proxy):e}}function mu(t,e,n,r=!1){const s={},o={};Bn(o,cr,1),t.propsDefaults=Object.create(null),hc(t,e,s,o);for(const c in t.propsOptions[0])c in s||(s[c]=void 0);n?t.props=r?s:va(s):t.type.props?t.props=s:t.props=o,t.attrs=o}function bu(t,e,n,r){const{props:s,attrs:o,vnode:{patchFlag:c}}=t,i=ne(s),[l]=t.propsOptions;let a=!1;if((r||c>0)&&!(c&16)){if(c&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(Yn(t.emitsOptions,p))continue;const d=e[p];if(l)if(oe(o,p))d!==o[p]&&(o[p]=d,a=!0);else{const E=Ve(p);s[E]=ds(l,i,E,d,t,!1)}else d!==o[p]&&(o[p]=d,a=!0)}}}else{hc(t,e,s,o)&&(a=!0);let u;for(const f in i)(!e||!oe(e,f)&&((u=yt(f))===f||!oe(e,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=ds(l,i,f,void 0,t,!0)):delete s[f]);if(o!==i)for(const f in o)(!e||!oe(e,f))&&(delete o[f],a=!0)}a&&Qe(t,"set","$attrs")}function hc(t,e,n,r){const[s,o]=t.propsOptions;let c=!1,i;if(e)for(let l in e){if(cn(l))continue;const a=e[l];let u;s&&oe(s,u=Ve(l))?!o||!o.includes(u)?n[u]=a:(i||(i={}))[u]=a:Yn(t.emitsOptions,l)||(!(l in r)||a!==r[l])&&(r[l]=a,c=!0)}if(o){const l=ne(n),a=i||fe;for(let u=0;u<o.length;u++){const f=o[u];n[f]=ds(s,l,f,a[f],t,!oe(a,f))}}return c}function ds(t,e,n,r,s,o){const c=t[n];if(c!=null){const i=oe(c,"default");if(i&&r===void 0){const l=c.default;if(c.type!==Function&&!c.skipFactory&&X(l)){const{propsDefaults:a}=s;if(n in a)r=a[n];else{const u=vn(s);r=a[n]=l.call(null,e),u()}}else r=l}c[0]&&(o&&!i?r=!1:c[1]&&(r===""||r===yt(n))&&(r=!0))}return r}function dc(t,e,n=!1){const r=e.propsCache,s=r.get(t);if(s)return s;const o=t.props,c={},i=[];let l=!1;if(!X(t)){const u=f=>{l=!0;const[p,d]=dc(f,e,!0);be(c,p),d&&i.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return pe(t)&&r.set(t,Ut),Ut;if(Z(o))for(let u=0;u<o.length;u++){const f=Ve(o[u]);gc(f)&&(c[f]=fe)}else if(o)for(const u in o){const f=Ve(u);if(gc(f)){const p=o[u],d=c[f]=Z(p)||X(p)?{type:p}:be({},p);if(d){const E=_c(Boolean,d.type),k=_c(String,d.type);d[0]=E>-1,d[1]=k<0||E<k,(E>-1||oe(d,"default"))&&i.push(f)}}}const a=[c,i];return pe(t)&&r.set(t,a),a}function gc(t){return t[0]!=="$"&&!cn(t)}function mc(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function bc(t,e){return mc(t)===mc(e)}function _c(t,e){return Z(e)?e.findIndex(n=>bc(n,t)):X(e)&&bc(e,t)?0:-1}const vc=t=>t[0]==="_"||t==="$stable",gs=t=>Z(t)?t.map(Ge):[Ge(t)],_u=(t,e,n)=>{if(e._n)return e;const r=ut((...s)=>gs(e(...s)),n);return r._c=!1,r},yc=(t,e,n)=>{const r=t._ctx;for(const s in t){if(vc(s))continue;const o=t[s];if(X(o))e[s]=_u(s,o,r);else if(o!=null){const c=gs(o);e[s]=()=>c}}},xc=(t,e)=>{const n=gs(e);t.slots.default=()=>n},vu=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=ne(e),Bn(e,"_",n)):yc(e,t.slots={})}else t.slots={},e&&xc(t,e);Bn(t.slots,cr,1)},yu=(t,e,n)=>{const{vnode:r,slots:s}=t;let o=!0,c=fe;if(r.shapeFlag&32){const i=e._;i?n&&i===1?o=!1:(be(s,e),!n&&i===1&&delete s._):(o=!e.$stable,yc(e,s)),c=e}else e&&(xc(t,e),c={default:1});if(o)for(const i in s)!vc(i)&&c[i]==null&&delete s[i]};function ms(t,e,n,r,s=!1){if(Z(t)){t.forEach((p,d)=>ms(p,e&&(Z(e)?e[d]:e),n,r,s));return}if(pn(r)&&!s)return;const o=r.shapeFlag&4?ur(r.component)||r.component.proxy:r.el,c=s?null:o,{i,r:l}=t,a=e&&e.r,u=i.refs===fe?i.refs={}:i.refs,f=i.setupState;if(a!=null&&a!==l&&(he(a)?(u[a]=null,oe(f,a)&&(f[a]=null)):ve(a)&&(a.value=null)),X(l))et(l,i,12,[c,u]);else{const p=he(l),d=ve(l);if(p||d){const E=()=>{if(t.f){const k=p?oe(f,l)?f[l]:u[l]:l.value;s?Z(k)&&Br(k,o):Z(k)?k.includes(o)||k.push(o):p?(u[l]=[o],oe(f,l)&&(f[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else p?(u[l]=c,oe(f,l)&&(f[l]=c)):d&&(l.value=c,t.k&&(u[t.k]=c))};c?(E.id=-1,qe(E,n)):E()}}}const qe=Ga;function xu(t){return wu(t)}function wu(t,e){const n=fo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:c,createText:i,createComment:l,setText:a,setElementText:u,parentNode:f,nextSibling:p,setScopeId:d=Ne,insertStaticContent:E}=t,k=(h,g,m,y=null,A=null,N=null,v=void 0,R=null,C=!!g.dynamicChildren)=>{if(h===g)return;h&&!St(h,g)&&(y=Ot(h),ue(h,A,N,!0),h=null),g.patchFlag===-2&&(C=!1,g.dynamicChildren=null);const{type:_,ref:F,shapeFlag:V}=g;switch(_){case sr:M(h,g,m,y);break;case Oe:L(h,g,m,y);break;case _s:h==null&&D(g,m,y,v);break;case Te:P(h,g,m,y,A,N,v,R,C);break;default:V&1?$(h,g,m,y,A,N,v,R,C):V&6?se(h,g,m,y,A,N,v,R,C):(V&64||V&128)&&_.process(h,g,m,y,A,N,v,R,C,Ft)}F!=null&&A&&ms(F,h&&h.ref,N,g||h,!g)},M=(h,g,m,y)=>{if(h==null)r(g.el=i(g.children),m,y);else{const A=g.el=h.el;g.children!==h.children&&a(A,g.children)}},L=(h,g,m,y)=>{h==null?r(g.el=l(g.children||""),m,y):g.el=h.el},D=(h,g,m,y)=>{[h.el,h.anchor]=E(h.children,g,m,y,h.el,h.anchor)},q=({el:h,anchor:g},m,y)=>{let A;for(;h&&h!==g;)A=p(h),r(h,m,y),h=A;r(g,m,y)},O=({el:h,anchor:g})=>{let m;for(;h&&h!==g;)m=p(h),s(h),h=m;s(g)},$=(h,g,m,y,A,N,v,R,C)=>{g.type==="svg"?v="svg":g.type==="math"&&(v="mathml"),h==null?x(g,m,y,A,N,v,R,C):Q(h,g,A,N,v,R,C)},x=(h,g,m,y,A,N,v,R)=>{let C,_;const{props:F,shapeFlag:V,transition:H,dirs:W}=h;if(C=h.el=c(h.type,N,F&&F.is,F),V&8?u(C,h.children):V&16&&B(h.children,C,null,y,A,bs(h,N),v,R),W&&At(h,null,y,"created"),K(C,h,h.scopeId,v,y),F){for(const I in F)I!=="value"&&!cn(I)&&o(C,I,null,F[I],N,h.children,y,A,me);"value"in F&&o(C,"value",null,F.value,N),(_=F.onVnodeBeforeMount)&&je(_,y,h)}W&&At(h,null,y,"beforeMount");const w=ku(A,H);w&&H.beforeEnter(C),r(C,g,m),((_=F&&F.onVnodeMounted)||w||W)&&qe(()=>{_&&je(_,y,h),w&&H.enter(C),W&&At(h,null,y,"mounted")},A)},K=(h,g,m,y,A)=>{if(m&&d(h,m),y)for(let N=0;N<y.length;N++)d(h,y[N]);if(A){let N=A.subTree;if(g===N){const v=A.vnode;K(h,v,v.scopeId,v.slotScopeIds,A.parent)}}},B=(h,g,m,y,A,N,v,R,C=0)=>{for(let _=C;_<h.length;_++){const F=h[_]=R?ht(h[_]):Ge(h[_]);k(null,F,g,m,y,A,N,v,R)}},Q=(h,g,m,y,A,N,v)=>{const R=g.el=h.el;let{patchFlag:C,dynamicChildren:_,dirs:F}=g;C|=h.patchFlag&16;const V=h.props||fe,H=g.props||fe;let W;if(m&&Ct(m,!1),(W=H.onVnodeBeforeUpdate)&&je(W,m,g,h),F&&At(g,h,m,"beforeUpdate"),m&&Ct(m,!0),_?z(h.dynamicChildren,_,R,m,y,bs(g,A),N):v||S(h,g,R,null,m,y,bs(g,A),N,!1),C>0){if(C&16)Y(R,g,V,H,m,y,A);else if(C&2&&V.class!==H.class&&o(R,"class",null,H.class,A),C&4&&o(R,"style",V.style,H.style,A),C&8){const w=g.dynamicProps;for(let I=0;I<w.length;I++){const U=w[I],J=V[U],ae=H[U];(ae!==J||U==="value")&&o(R,U,J,ae,A,h.children,m,y,me)}}C&1&&h.children!==g.children&&u(R,g.children)}else!v&&_==null&&Y(R,g,V,H,m,y,A);((W=H.onVnodeUpdated)||F)&&qe(()=>{W&&je(W,m,g,h),F&&At(g,h,m,"updated")},y)},z=(h,g,m,y,A,N,v)=>{for(let R=0;R<g.length;R++){const C=h[R],_=g[R],F=C.el&&(C.type===Te||!St(C,_)||C.shapeFlag&70)?f(C.el):m;k(C,_,F,null,y,A,N,v,!0)}},Y=(h,g,m,y,A,N,v)=>{if(m!==y){if(m!==fe)for(const R in m)!cn(R)&&!(R in y)&&o(h,R,m[R],null,v,g.children,A,N,me);for(const R in y){if(cn(R))continue;const C=y[R],_=m[R];C!==_&&R!=="value"&&o(h,R,_,C,v,g.children,A,N,me)}"value"in y&&o(h,"value",m.value,y.value,v)}},P=(h,g,m,y,A,N,v,R,C)=>{const _=g.el=h?h.el:i(""),F=g.anchor=h?h.anchor:i("");let{patchFlag:V,dynamicChildren:H,slotScopeIds:W}=g;W&&(R=R?R.concat(W):W),h==null?(r(_,m,y),r(F,m,y),B(g.children||[],m,F,A,N,v,R,C)):V>0&&V&64&&H&&h.dynamicChildren?(z(h.dynamicChildren,H,m,A,N,v,R),(g.key!=null||A&&g===A.subTree)&&wc(h,g,!0)):S(h,g,m,F,A,N,v,R,C)},se=(h,g,m,y,A,N,v,R,C)=>{g.slotScopeIds=R,h==null?g.shapeFlag&512?A.ctx.activate(g,m,y,v,C):T(g,m,y,A,N,v,C):re(h,g,C)},T=(h,g,m,y,A,N,v)=>{const R=h.component=Ru(h,y,A);if(tr(h)&&(R.ctx.renderer=Ft),Nu(R),R.asyncDep){if(A&&A.registerDep(R,G),!h.el){const C=R.subTree=ge(Oe);L(null,C,g,m)}}else G(R,h,g,m,A,N,v)},re=(h,g,m)=>{const y=g.component=h.component;if(Pa(h,g,m))if(y.asyncDep&&!y.asyncResolved){b(y,g,m);return}else y.next=g,Na(y.update),y.effect.dirty=!0,y.update();else g.el=h.el,y.vnode=g},G=(h,g,m,y,A,N,v)=>{const R=()=>{if(h.isMounted){let{next:F,bu:V,u:H,parent:W,vnode:w}=h;{const Ae=kc(h);if(Ae){F&&(F.el=w.el,b(h,F,v)),Ae.asyncDep.then(()=>{h.isUnmounted||R()});return}}let I=F,U;Ct(h,!1),F?(F.el=w.el,b(h,F,v)):F=w,V&&Fn(V),(U=F.props&&F.props.onVnodeBeforeUpdate)&&je(U,W,F,w),Ct(h,!0);const J=rs(h),ae=h.subTree;h.subTree=J,k(ae,J,f(ae.el),Ot(ae),h,A,N),F.el=J.el,I===null&&Ua(h,J.el),H&&qe(H,A),(U=F.props&&F.props.onVnodeUpdated)&&qe(()=>je(U,W,F,w),A)}else{let F;const{el:V,props:H}=g,{bm:W,m:w,parent:I}=h,U=pn(g);if(Ct(h,!1),W&&Fn(W),!U&&(F=H&&H.onVnodeBeforeMount)&&je(F,I,g),Ct(h,!0),V&&Mr){const J=()=>{h.subTree=rs(h),Mr(V,h.subTree,h,A,null)};U?g.type.__asyncLoader().then(()=>!h.isUnmounted&&J()):J()}else{const J=h.subTree=rs(h);k(null,J,m,y,h,A,N),g.el=J.el}if(w&&qe(w,A),!U&&(F=H&&H.onVnodeMounted)){const J=g;qe(()=>je(F,I,J),A)}(g.shapeFlag&256||I&&pn(I.vnode)&&I.vnode.shapeFlag&256)&&h.a&&qe(h.a,A),h.isMounted=!0,g=m=y=null}},C=h.effect=new Vr(R,Ne,()=>ns(_),h.scope),_=h.update=()=>{C.dirty&&C.run()};_.id=h.uid,Ct(h,!0),_()},b=(h,g,m)=>{g.component=h;const y=h.vnode.props;h.vnode=g,h.next=null,bu(h,g.props,y,m),yu(h,g.children,m),ot(),zo(h),ct()},S=(h,g,m,y,A,N,v,R,C=!1)=>{const _=h&&h.children,F=h?h.shapeFlag:0,V=g.children,{patchFlag:H,shapeFlag:W}=g;if(H>0){if(H&128){te(_,V,m,y,A,N,v,R,C);return}else if(H&256){j(_,V,m,y,A,N,v,R,C);return}}W&8?(F&16&&me(_,A,N),V!==_&&u(m,V)):F&16?W&16?te(_,V,m,y,A,N,v,R,C):me(_,A,N,!0):(F&8&&u(m,""),W&16&&B(V,m,y,A,N,v,R,C))},j=(h,g,m,y,A,N,v,R,C)=>{h=h||Ut,g=g||Ut;const _=h.length,F=g.length,V=Math.min(_,F);let H;for(H=0;H<V;H++){const W=g[H]=C?ht(g[H]):Ge(g[H]);k(h[H],W,m,null,A,N,v,R,C)}_>F?me(h,A,N,!0,!1,V):B(g,m,y,A,N,v,R,C,V)},te=(h,g,m,y,A,N,v,R,C)=>{let _=0;const F=g.length;let V=h.length-1,H=F-1;for(;_<=V&&_<=H;){const W=h[_],w=g[_]=C?ht(g[_]):Ge(g[_]);if(St(W,w))k(W,w,m,null,A,N,v,R,C);else break;_++}for(;_<=V&&_<=H;){const W=h[V],w=g[H]=C?ht(g[H]):Ge(g[H]);if(St(W,w))k(W,w,m,null,A,N,v,R,C);else break;V--,H--}if(_>V){if(_<=H){const W=H+1,w=W<F?g[W].el:y;for(;_<=H;)k(null,g[_]=C?ht(g[_]):Ge(g[_]),m,w,A,N,v,R,C),_++}}else if(_>H)for(;_<=V;)ue(h[_],A,N,!0),_++;else{const W=_,w=_,I=new Map;for(_=w;_<=H;_++){const Le=g[_]=C?ht(g[_]):Ge(g[_]);Le.key!=null&&I.set(Le.key,_)}let U,J=0;const ae=H-w+1;let Ae=!1,Or=0;const Bt=new Array(ae);for(_=0;_<ae;_++)Bt[_]=0;for(_=W;_<=V;_++){const Le=h[_];if(J>=ae){ue(Le,A,N,!0);continue}let Xe;if(Le.key!=null)Xe=I.get(Le.key);else for(U=w;U<=H;U++)if(Bt[U-w]===0&&St(Le,g[U])){Xe=U;break}Xe===void 0?ue(Le,A,N,!0):(Bt[Xe-w]=_+1,Xe>=Or?Or=Xe:Ae=!0,k(Le,g[Xe],m,null,A,N,v,R,C),J++)}const Ol=Ae?Eu(Bt):Ut;for(U=Ol.length-1,_=ae-1;_>=0;_--){const Le=w+_,Xe=g[Le],Fl=Le+1<F?g[Le+1].el:y;Bt[_]===0?k(null,Xe,m,Fl,A,N,v,R,C):Ae&&(U<0||_!==Ol[U]?ce(Xe,m,Fl,2):U--)}}},ce=(h,g,m,y,A=null)=>{const{el:N,type:v,transition:R,children:C,shapeFlag:_}=h;if(_&6){ce(h.component.subTree,g,m,y);return}if(_&128){h.suspense.move(g,m,y);return}if(_&64){v.move(h,g,m,Ft);return}if(v===Te){r(N,g,m);for(let V=0;V<C.length;V++)ce(C[V],g,m,y);r(h.anchor,g,m);return}if(v===_s){q(h,g,m);return}if(y!==2&&_&1&&R)if(y===0)R.beforeEnter(N),r(N,g,m),qe(()=>R.enter(N),A);else{const{leave:V,delayLeave:H,afterLeave:W}=R,w=()=>r(N,g,m),I=()=>{V(N,()=>{w(),W&&W()})};H?H(N,w,I):I()}else r(N,g,m)},ue=(h,g,m,y=!1,A=!1)=>{const{type:N,props:v,ref:R,children:C,dynamicChildren:_,shapeFlag:F,patchFlag:V,dirs:H}=h;if(R!=null&&ms(R,null,m,h,!0),F&256){g.ctx.deactivate(h);return}const W=F&1&&H,w=!pn(h);let I;if(w&&(I=v&&v.onVnodeBeforeUnmount)&&je(I,g,h),F&6)Se(h.component,m,y);else{if(F&128){h.suspense.unmount(m,y);return}W&&At(h,null,g,"beforeUnmount"),F&64?h.type.remove(h,g,m,A,Ft,y):_&&(N!==Te||V>0&&V&64)?me(_,g,m,!1,!0):(N===Te&&V&384||!A&&F&16)&&me(C,g,m),y&&Re(h)}(w&&(I=v&&v.onVnodeUnmounted)||W)&&qe(()=>{I&&je(I,g,h),W&&At(h,null,g,"unmounted")},m)},Re=h=>{const{type:g,el:m,anchor:y,transition:A}=h;if(g===Te){sn(m,y);return}if(g===_s){O(h);return}const N=()=>{s(m),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(h.shapeFlag&1&&A&&!A.persisted){const{leave:v,delayLeave:R}=A,C=()=>v(m,N);R?R(h.el,N,C):C()}else N()},sn=(h,g)=>{let m;for(;h!==g;)m=p(h),s(h),h=m;s(g)},Se=(h,g,m)=>{const{bum:y,scope:A,update:N,subTree:v,um:R}=h;y&&Fn(y),A.stop(),N&&(N.active=!1,ue(v,h,g,m)),R&&qe(R,g),qe(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},me=(h,g,m,y=!1,A=!1,N=0)=>{for(let v=N;v<h.length;v++)ue(h[v],g,m,y,A)},Ot=h=>h.shapeFlag&6?Ot(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el);let on=!1;const Ln=(h,g,m)=>{h==null?g._vnode&&ue(g._vnode,null,null,!0):k(g._vnode||null,h,g,null,null,null,m),on||(on=!0,zo(),Vo(),on=!1),g._vnode=h},Ft={p:k,um:ue,m:ce,r:Re,mt:T,mc:B,pc:S,pbc:z,n:Ot,o:t};let Ir,Mr;return{render:Ln,hydrate:Ir,createApp:du(Ln,Ir)}}function bs({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Ct({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function ku(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function wc(t,e,n=!1){const r=t.children,s=e.children;if(Z(r)&&Z(s))for(let o=0;o<r.length;o++){const c=r[o];let i=s[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[o]=ht(s[o]),i.el=c.el),n||wc(c,i)),i.type===sr&&(i.el=c.el)}}function Eu(t){const e=t.slice(),n=[0];let r,s,o,c,i;const l=t.length;for(r=0;r<l;r++){const a=t[r];if(a!==0){if(s=n[n.length-1],t[s]<a){e[r]=s,n.push(r);continue}for(o=0,c=n.length-1;o<c;)i=o+c>>1,t[n[i]]<a?o=i+1:c=i;a<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}for(o=n.length,c=n[o-1];o-- >0;)n[o]=c,c=e[c];return n}function kc(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:kc(e)}const Au=t=>t.__isTeleport,Te=Symbol.for("v-fgt"),sr=Symbol.for("v-txt"),Oe=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),bn=[];let $e=null;function ee(t=!1){bn.push($e=t?null:[])}function Cu(){bn.pop(),$e=bn[bn.length-1]||null}let _n=1;function Ec(t){_n+=t}function Ac(t){return t.dynamicChildren=_n>0?$e||Ut:null,Cu(),_n>0&&$e&&$e.push(t),t}function de(t,e,n,r,s,o){return Ac(xe(t,e,n,r,s,o,!0))}function ye(t,e,n,r,s){return Ac(ge(t,e,n,r,s,!0))}function or(t){return t?t.__v_isVNode===!0:!1}function St(t,e){return t.type===e.type&&t.key===e.key}const cr="__vInternal",Cc=({key:t})=>t??null,ir=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?he(t)||ve(t)||X(t)?{i:_e,r:t,k:e,f:!!n}:t:null);function xe(t,e=null,n=null,r=0,s=null,o=t===Te?0:1,c=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Cc(e),ref:e&&ir(e),scopeId:jo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:_e};return i?(ys(l,n),o&128&&t.normalize(l)):n&&(l.shapeFlag|=he(n)?8:16),_n>0&&!c&&$e&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&$e.push(l),l}const ge=Su;function Su(t,e=null,n=null,r=0,s=null,o=!1){if((!t||t===Ko)&&(t=Oe),or(t)){const i=pt(t,e,!0);return n&&ys(i,n),_n>0&&!o&&$e&&(i.shapeFlag&6?$e[$e.indexOf(t)]=i:$e.push(i)),i.patchFlag|=-2,i}if(Pu(t)&&(t=t.__vccOpts),e){e=Du(e);let{class:i,style:l}=e;i&&!he(i)&&(e.class=Vt(i)),pe(l)&&(Io(l)&&!Z(l)&&(l=be({},l)),e.style=Pn(l))}const c=he(t)?1:Ha(t)?128:Au(t)?64:pe(t)?4:X(t)?2:0;return xe(t,e,n,r,s,c,o,!0)}function Du(t){return t?Io(t)||cr in t?be({},t):t:null}function pt(t,e,n=!1){const{props:r,ref:s,patchFlag:o,children:c}=t,i=e?Sc(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:i,key:i&&Cc(i),ref:e&&e.ref?n&&s?Z(s)?s.concat(ir(e)):[s,ir(e)]:ir(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Te?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&pt(t.ssContent),ssFallback:t.ssFallback&&pt(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function vs(t=" ",e=0){return ge(sr,null,t,e)}function Dt(t="",e=!1){return e?(ee(),ye(Oe,null,t)):ge(Oe,null,t)}function Ge(t){return t==null||typeof t=="boolean"?ge(Oe):Z(t)?ge(Te,null,t.slice()):typeof t=="object"?ht(t):ge(sr,null,String(t))}function ht(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:pt(t)}function ys(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(Z(e))n=16;else if(typeof e=="object")if(r&65){const s=e.default;s&&(s._c&&(s._d=!1),ys(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!(cr in e)?e._ctx=_e:s===3&&_e&&(_e.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else X(e)?(e={default:e,_ctx:_e},n=32):(e=String(e),r&64?(n=16,e=[vs(e)]):n=8);t.children=e,t.shapeFlag|=n}function Sc(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const s in r)if(s==="class")e.class!==r.class&&(e.class=Vt([e.class,r.class]));else if(s==="style")e.style=Pn([e.style,r.style]);else if(Nn(s)){const o=e[s],c=r[s];c&&o!==c&&!(Z(o)&&o.includes(c))&&(e[s]=o?[].concat(o,c):c)}else s!==""&&(e[s]=r[s])}return e}function je(t,e,n,r=null){Ie(t,e,7,[n,r])}const qu=pc();let Tu=0;function Ru(t,e,n){const r=t.type,s=(e?e.appContext:t.appContext)||qu,o={uid:Tu++,vnode:t,type:r,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Jl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:dc(r,s),emitsOptions:Go(r,s),emit:null,emitted:null,propsDefaults:fe,inheritAttrs:r.inheritAttrs,ctx:fe,data:fe,props:fe,attrs:fe,slots:fe,refs:fe,setupState:fe,setupContext:null,attrsProxy:null,slotsProxy: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 o.ctx={_:o},o.root=e?e.root:o,o.emit=Oa.bind(null,o),t.ce&&t.ce(o),o}let we=null;const Lu=()=>we||_e;let lr,xs;{const t=fo(),e=(n,r)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(r),o=>{s.length>1?s.forEach(c=>c(o)):s[0](o)}};lr=e("__VUE_INSTANCE_SETTERS__",n=>we=n),xs=e("__VUE_SSR_SETTERS__",n=>ar=n)}const vn=t=>{const e=we;return lr(t),t.scope.on(),()=>{t.scope.off(),lr(e)}},Dc=()=>{we&&we.scope.off(),lr(null)};function qc(t){return t.vnode.shapeFlag&4}let ar=!1;function Nu(t,e=!1){e&&xs(e);const{props:n,children:r}=t.vnode,s=qc(t);mu(t,n,s,e),vu(t,r);const o=s?Iu(t,e):void 0;return e&&xs(!1),o}function Iu(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Mo(new Proxy(t.ctx,iu));const{setup:r}=n;if(r){const s=t.setupContext=r.length>1?Ou(t):null,o=vn(t);ot();const c=et(r,t,0,[t.props,s]);if(ct(),o(),io(c)){if(c.then(Dc,Dc),e)return c.then(i=>{Tc(t,i,e)}).catch(i=>{Jn(i,t,0)});t.asyncDep=c}else Tc(t,c,e)}else Lc(t,e)}function Tc(t,e,n){X(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:pe(e)&&(t.setupState=Bo(e)),Lc(t,n)}let Rc;function Lc(t,e,n){const r=t.type;if(!t.render){if(!e&&Rc&&!r.render){const s=r.template||ps(t).template;if(s){const{isCustomElement:o,compilerOptions:c}=t.appContext.config,{delimiters:i,compilerOptions:l}=r,a=be(be({isCustomElement:o,delimiters:i},c),l);r.render=Rc(s,a)}}t.render=r.render||Ne}{const s=vn(t);ot();try{lu(t)}finally{ct(),s()}}}function Mu(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return De(t,"get","$attrs"),e[n]}}))}function Ou(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return Mu(t)},slots:t.slots,emit:t.emit,expose:e}}function ur(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Bo(Mo(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in dn)return dn[n](t)},has(e,n){return n in e||n in dn}}))}const Fu=/(?:^|[-_])(\w)/g,Bu=t=>t.replace(Fu,e=>e.toUpperCase()).replace(/[-_]/g,"");function Nc(t,e=!0){return X(t)?t.displayName||t.name:t.name||e&&t.__name}function Ic(t,e,n=!1){let r=Nc(e);if(!r&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&t&&t.parent){const s=o=>{for(const c in o)if(o[c]===e)return c};r=s(t.components||t.parent.type.components)||s(t.appContext.components)}return r?Bu(r):n?"App":"Anonymous"}function Pu(t){return X(t)&&"__vccOpts"in t}const Ze=(t,e)=>ya(t,e,ar);function Mc(t,e,n){const r=arguments.length;return r===2?pe(e)&&!Z(e)?or(e)?ge(t,null,[e]):ge(t,e):ge(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&or(n)&&(n=[n]),ge(t,e,n))}const Uu="3.4.21";/**
17
+ * @vue/runtime-dom v3.4.21
18
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
19
+ * @license MIT
20
+ **/const $u="http://www.w3.org/2000/svg",zu="http://www.w3.org/1998/Math/MathML",dt=typeof document<"u"?document:null,Oc=dt&&dt.createElement("template"),Vu={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const s=e==="svg"?dt.createElementNS($u,t):e==="mathml"?dt.createElementNS(zu,t):dt.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:t=>dt.createTextNode(t),createComment:t=>dt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>dt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,s,o){const c=n?n.previousSibling:e.lastChild;if(s&&(s===o||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Oc.innerHTML=r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t;const i=Oc.content;if(r==="svg"||r==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}e.insertBefore(i,n)}return[c?c.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},gt="transition",yn="animation",xn=Symbol("_vtc"),fr=(t,{slots:e})=>Mc(Ja,Hu(t),e);fr.displayName="Transition";const Fc={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};fr.props=be({},Qo,Fc);const qt=(t,e=[])=>{Z(t)?t.forEach(n=>n(...e)):t&&t(...e)},Bc=t=>t?Z(t)?t.some(e=>e.length>1):t.length>1:!1;function Hu(t){const e={};for(const P in t)P in Fc||(e[P]=t[P]);if(t.css===!1)return e;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:a=c,appearToClass:u=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,E=Gu(s),k=E&&E[0],M=E&&E[1],{onBeforeEnter:L,onEnter:D,onEnterCancelled:q,onLeave:O,onLeaveCancelled:$,onBeforeAppear:x=L,onAppear:K=D,onAppearCancelled:B=q}=e,Q=(P,se,T)=>{Tt(P,se?u:i),Tt(P,se?a:c),T&&T()},z=(P,se)=>{P._isLeaving=!1,Tt(P,f),Tt(P,d),Tt(P,p),se&&se()},Y=P=>(se,T)=>{const re=P?K:D,G=()=>Q(se,P,T);qt(re,[se,G]),Pc(()=>{Tt(se,P?l:o),mt(se,P?u:i),Bc(re)||Uc(se,r,k,G)})};return be(e,{onBeforeEnter(P){qt(L,[P]),mt(P,o),mt(P,c)},onBeforeAppear(P){qt(x,[P]),mt(P,l),mt(P,a)},onEnter:Y(!1),onAppear:Y(!0),onLeave(P,se){P._isLeaving=!0;const T=()=>z(P,se);mt(P,f),Ku(),mt(P,p),Pc(()=>{P._isLeaving&&(Tt(P,f),mt(P,d),Bc(O)||Uc(P,r,M,T))}),qt(O,[P,T])},onEnterCancelled(P){Q(P,!1),qt(q,[P])},onAppearCancelled(P){Q(P,!0),qt(B,[P])},onLeaveCancelled(P){z(P),qt($,[P])}})}function Gu(t){if(t==null)return null;if(pe(t))return[ws(t.enter),ws(t.leave)];{const e=ws(t);return[e,e]}}function ws(t){return Vl(t)}function mt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[xn]||(t[xn]=new Set)).add(e)}function Tt(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[xn];n&&(n.delete(e),n.size||(t[xn]=void 0))}function Pc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let ju=0;function Uc(t,e,n,r){const s=t._endId=++ju,o=()=>{s===t._endId&&r()};if(n)return setTimeout(o,n);const{type:c,timeout:i,propCount:l}=Zu(t,e);if(!c)return r();const a=c+"end";let u=0;const f=()=>{t.removeEventListener(a,p),o()},p=d=>{d.target===t&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},i+1),t.addEventListener(a,p)}function Zu(t,e){const n=window.getComputedStyle(t),r=E=>(n[E]||"").split(", "),s=r(`${gt}Delay`),o=r(`${gt}Duration`),c=$c(s,o),i=r(`${yn}Delay`),l=r(`${yn}Duration`),a=$c(i,l);let u=null,f=0,p=0;e===gt?c>0&&(u=gt,f=c,p=o.length):e===yn?a>0&&(u=yn,f=a,p=l.length):(f=Math.max(c,a),u=f>0?c>a?gt:yn:null,p=u?u===gt?o.length:l.length:0);const d=u===gt&&/\b(transform|all)(,|$)/.test(r(`${gt}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:d}}function $c(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>zc(n)+zc(t[r])))}function zc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ku(){return document.body.offsetHeight}function Wu(t,e,n){const r=t[xn];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const pr=Symbol("_vod"),Vc=Symbol("_vsh"),Ju={beforeMount(t,{value:e},{transition:n}){t[pr]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):wn(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),wn(t,!0),r.enter(t)):r.leave(t,()=>{wn(t,!1)}):wn(t,e))},beforeUnmount(t,{value:e}){wn(t,e)}};function wn(t,e){t.style.display=e?t[pr]:"none",t[Vc]=!e}const Yu=Symbol(""),Xu=/(^|;)\s*display\s*:/;function Qu(t,e,n){const r=t.style,s=he(n);let o=!1;if(n&&!s){if(e)if(he(e))for(const c of e.split(";")){const i=c.slice(0,c.indexOf(":")).trim();n[i]==null&&hr(r,i,"")}else for(const c in e)n[c]==null&&hr(r,c,"");for(const c in n)c==="display"&&(o=!0),hr(r,c,n[c])}else if(s){if(e!==n){const c=r[Yu];c&&(n+=";"+c),r.cssText=n,o=Xu.test(n)}}else e&&t.removeAttribute("style");pr in t&&(t[pr]=o?r.display:"",t[Vc]&&(r.display="none"))}const Hc=/\s*!important$/;function hr(t,e,n){if(Z(n))n.forEach(r=>hr(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=ef(t,e);Hc.test(n)?t.setProperty(yt(r),n.replace(Hc,""),"important"):t[r]=n}}const Gc=["Webkit","Moz","ms"],ks={};function ef(t,e){const n=ks[e];if(n)return n;let r=Ve(e);if(r!=="filter"&&r in t)return ks[e]=r;r=On(r);for(let s=0;s<Gc.length;s++){const o=Gc[s]+r;if(o in t)return ks[e]=o}return e}const jc="http://www.w3.org/1999/xlink";function tf(t,e,n,r,s){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(jc,e.slice(6,e.length)):t.setAttributeNS(jc,e,n);else{const o=Wl(e);n==null||o&&!po(n)?t.removeAttribute(e):t.setAttribute(e,o?"":n)}}function nf(t,e,n,r,s,o,c){if(e==="innerHTML"||e==="textContent"){r&&c(r,s,o),t[e]=n??"";return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?t.getAttribute("value")||"":t.value,u=n??"";(a!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let l=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=po(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function Jt(t,e,n,r){t.addEventListener(e,n,r)}function rf(t,e,n,r){t.removeEventListener(e,n,r)}const Zc=Symbol("_vei");function sf(t,e,n,r,s=null){const o=t[Zc]||(t[Zc]={}),c=o[e];if(r&&c)c.value=r;else{const[i,l]=of(e);if(r){const a=o[e]=af(r,s);Jt(t,i,a,l)}else c&&(rf(t,i,c,l),o[e]=void 0)}}const Kc=/(?:Once|Passive|Capture)$/;function of(t){let e;if(Kc.test(t)){e={};let r;for(;r=t.match(Kc);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):yt(t.slice(2)),e]}let Es=0;const cf=Promise.resolve(),lf=()=>Es||(cf.then(()=>Es=0),Es=Date.now());function af(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ie(uf(r,n.value),e,5,[r])};return n.value=t,n.attached=lf(),n}function uf(t,e){if(Z(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>s=>!s._stopped&&r&&r(s))}else return e}const Wc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ff=(t,e,n,r,s,o,c,i,l)=>{const a=s==="svg";e==="class"?Wu(t,r,a):e==="style"?Qu(t,n,r):Nn(e)?Fr(e)||sf(t,e,n,r,c):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):pf(t,e,r,a))?nf(t,e,r,o,c,i,l):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),tf(t,e,r,a))};function pf(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&Wc(e)&&X(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Wc(e)&&he(n)?!1:e in t}const Jc=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Z(e)?n=>Fn(e,n):e};function hf(t){t.target.composing=!0}function Yc(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const As=Symbol("_assign"),df={created(t,{modifiers:{lazy:e,trim:n,number:r}},s){t[As]=Jc(s);const o=r||s.props&&s.props.type==="number";Jt(t,e?"change":"input",c=>{if(c.target.composing)return;let i=t.value;n&&(i=i.trim()),o&&(i=$r(i)),t[As](i)}),n&&Jt(t,"change",()=>{t.value=t.value.trim()}),e||(Jt(t,"compositionstart",hf),Jt(t,"compositionend",Yc),Jt(t,"change",Yc))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:s}},o){if(t[As]=Jc(o),t.composing)return;const c=s||t.type==="number"?$r(t.value):t.value,i=e??"";c!==i&&(document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===i)||(t.value=i))}},gf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},mf=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=yt(s.key);if(e.some(c=>c===o||gf[c]===o))return t(s)})},bf=be({patchProp:ff},Vu);let Xc;function _f(){return Xc||(Xc=xu(bf))}const vf=(...t)=>{const e=_f().createApp(...t),{mount:n}=e;return e.mount=r=>{const s=xf(r);if(!s)return;const o=e._component;!X(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const c=n(s,!1,yf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),c},e};function yf(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function xf(t){return he(t)?document.querySelector(t):t}function Cs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wf(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),n}function Qc(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&Qc(n)}),t}class ei{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ti(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function bt(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const s in r)n[s]=r[s]}),n}const kf="</span>",ni=t=>!!t.scope,Ef=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,s)=>`${r}${"_".repeat(s+1)}`)].join(" ")}return`${e}${t}`};class Af{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=ti(e)}openNode(e){if(!ni(e))return;const n=Ef(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){ni(e)&&(this.buffer+=kf)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const ri=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Ss{constructor(){this.rootNode=ri(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=ri({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Ss._collapse(n)}))}}class Cf extends Ss{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new Af(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function kn(t){return t?typeof t=="string"?t:t.source:null}function si(t){return Rt("(?=",t,")")}function Sf(t){return Rt("(?:",t,")*")}function Df(t){return Rt("(?:",t,")?")}function Rt(...t){return t.map(n=>kn(n)).join("")}function qf(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Ds(...t){return"("+(qf(t).capture?"":"?:")+t.map(r=>kn(r)).join("|")+")"}function oi(t){return new RegExp(t.toString()+"|").exec("").length-1}function Tf(t,e){const n=t&&t.exec(e);return n&&n.index===0}const Rf=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function qs(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const s=n;let o=kn(r),c="";for(;o.length>0;){const i=Rf.exec(o);if(!i){c+=o;break}c+=o.substring(0,i.index),o=o.substring(i.index+i[0].length),i[0][0]==="\\"&&i[1]?c+="\\"+String(Number(i[1])+s):(c+=i[0],i[0]==="("&&n++)}return c}).map(r=>`(${r})`).join(e)}const Lf=/\b\B/,ci="[a-zA-Z]\\w*",Ts="[a-zA-Z_]\\w*",ii="\\b\\d+(\\.\\d+)?",li="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ai="\\b(0b[01]+)",Nf="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",If=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Rt(e,/.*\b/,t.binary,/\b.*/)),bt({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},En={begin:"\\\\[\\s\\S]",relevance:0},Mf={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[En]},Of={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[En]},Ff={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},dr=function(t,e,n={}){const r=bt({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const s=Ds("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Rt(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Bf=dr("//","$"),Pf=dr("/\\*","\\*/"),Uf=dr("#","$"),$f={scope:"number",begin:ii,relevance:0},zf={scope:"number",begin:li,relevance:0},Vf={scope:"number",begin:ai,relevance:0},Hf={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[En,{begin:/\[/,end:/\]/,relevance:0,contains:[En]}]},Gf={scope:"title",begin:ci,relevance:0},jf={scope:"title",begin:Ts,relevance:0},Zf={begin:"\\.\\s*"+Ts,relevance:0};var gr=Object.freeze({__proto__:null,APOS_STRING_MODE:Mf,BACKSLASH_ESCAPE:En,BINARY_NUMBER_MODE:Vf,BINARY_NUMBER_RE:ai,COMMENT:dr,C_BLOCK_COMMENT_MODE:Pf,C_LINE_COMMENT_MODE:Bf,C_NUMBER_MODE:zf,C_NUMBER_RE:li,END_SAME_AS_BEGIN:function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})},HASH_COMMENT_MODE:Uf,IDENT_RE:ci,MATCH_NOTHING_RE:Lf,METHOD_GUARD:Zf,NUMBER_MODE:$f,NUMBER_RE:ii,PHRASAL_WORDS_MODE:Ff,QUOTE_STRING_MODE:Of,REGEXP_MODE:Hf,RE_STARTERS_RE:Nf,SHEBANG:If,TITLE_MODE:Gf,UNDERSCORE_IDENT_RE:Ts,UNDERSCORE_TITLE_MODE:jf});function Kf(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Wf(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Jf(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Kf,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Yf(t,e){Array.isArray(t.illegal)&&(t.illegal=Ds(...t.illegal))}function Xf(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function Qf(t,e){t.relevance===void 0&&(t.relevance=1)}const ep=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=Rt(n.beforeMatch,si(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},tp=["of","and","for","in","not","or","if","then","parent","list","value"],np="keyword";function ui(t,e,n=np){const r=Object.create(null);return typeof t=="string"?s(n,t.split(" ")):Array.isArray(t)?s(n,t):Object.keys(t).forEach(function(o){Object.assign(r,ui(t[o],e,o))}),r;function s(o,c){e&&(c=c.map(i=>i.toLowerCase())),c.forEach(function(i){const l=i.split("|");r[l[0]]=[o,rp(l[0],l[1])]})}}function rp(t,e){return e?Number(e):sp(t)?0:1}function sp(t){return tp.includes(t.toLowerCase())}const fi={},Lt=t=>{console.error(t)},pi=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Yt=(t,e)=>{fi[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),fi[`${t}/${e}`]=!0)},mr=new Error;function hi(t,e,{key:n}){let r=0;const s=t[n],o={},c={};for(let i=1;i<=e.length;i++)c[i+r]=s[i],o[i+r]=!0,r+=oi(e[i-1]);t[n]=c,t[n]._emit=o,t[n]._multi=!0}function op(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Lt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),mr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Lt("beginScope must be object"),mr;hi(t,t.begin,{key:"beginScope"}),t.begin=qs(t.begin,{joinWith:""})}}function cp(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Lt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),mr;if(typeof t.endScope!="object"||t.endScope===null)throw Lt("endScope must be object"),mr;hi(t,t.end,{key:"endScope"}),t.end=qs(t.end,{joinWith:""})}}function ip(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function lp(t){ip(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),op(t),cp(t)}function ap(t){function e(c,i){return new RegExp(kn(c),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(i?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,i]),this.matchAt+=oi(i)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const i=this.regexes.map(l=>l[1]);this.matcherRe=e(qs(i,{joinWith:"|"}),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(i);if(!l)return null;const a=l.findIndex((f,p)=>p>0&&f!==void 0),u=this.matchIndexes[a];return l.splice(0,a),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const l=new n;return this.rules.slice(i).forEach(([a,u])=>l.addRule(a,u)),l.compile(),this.multiRegexes[i]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(i,l){this.rules.push([i,l]),l.type==="begin"&&this.count++}exec(i){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let a=l.exec(i);if(this.resumingScanAtSamePosition()&&!(a&&a.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,a=u.exec(i)}return a&&(this.regexIndex+=a.position+1,this.regexIndex===this.count&&this.considerAll()),a}}function s(c){const i=new r;return c.contains.forEach(l=>i.addRule(l.begin,{rule:l,type:"begin"})),c.terminatorEnd&&i.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&i.addRule(c.illegal,{type:"illegal"}),i}function o(c,i){const l=c;if(c.isCompiled)return l;[Wf,Xf,lp,ep].forEach(u=>u(c,i)),t.compilerExtensions.forEach(u=>u(c,i)),c.__beforeBegin=null,[Jf,Yf,Qf].forEach(u=>u(c,i)),c.isCompiled=!0;let a=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),a=c.keywords.$pattern,delete c.keywords.$pattern),a=a||/\w+/,c.keywords&&(c.keywords=ui(c.keywords,t.case_insensitive)),l.keywordPatternRe=e(a,!0),i&&(c.begin||(c.begin=/\B|\b/),l.beginRe=e(l.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(l.endRe=e(l.end)),l.terminatorEnd=kn(l.end)||"",c.endsWithParent&&i.terminatorEnd&&(l.terminatorEnd+=(c.end?"|":"")+i.terminatorEnd)),c.illegal&&(l.illegalRe=e(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(u){return up(u==="self"?c:u)})),c.contains.forEach(function(u){o(u,l)}),c.starts&&o(c.starts,i),l.matcher=s(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=bt(t.classNameAliases||{}),o(t)}function di(t){return t?t.endsWithParent||di(t.starts):!1}function up(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return bt(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:di(t)?bt(t,{starts:t.starts?bt(t.starts):null}):Object.isFrozen(t)?bt(t):t}var fp="11.9.0";class pp extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Rs=ti,gi=bt,mi=Symbol("nomatch"),hp=7,bi=function(t){const e=Object.create(null),n=Object.create(null),r=[];let s=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let i={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Cf};function l(b){return i.noHighlightRe.test(b)}function a(b){let S=b.className+" ";S+=b.parentNode?b.parentNode.className:"";const j=i.languageDetectRe.exec(S);if(j){const te=Q(j[1]);return te||(pi(o.replace("{}",j[1])),pi("Falling back to no-highlight mode for this block.",b)),te?j[1]:"no-highlight"}return S.split(/\s+/).find(te=>l(te)||Q(te))}function u(b,S,j){let te="",ce="";typeof S=="object"?(te=b,j=S.ignoreIllegals,ce=S.language):(Yt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Yt("10.7.0",`Please use highlight(code, options) instead.
21
+ https://github.com/highlightjs/highlight.js/issues/2277`),ce=b,te=S),j===void 0&&(j=!0);const ue={code:te,language:ce};re("before:highlight",ue);const Re=ue.result?ue.result:f(ue.language,ue.code,j);return Re.code=ue.code,re("after:highlight",Re),Re}function f(b,S,j,te){const ce=Object.create(null);function ue(w,I){return w.keywords[I]}function Re(){if(!v.keywords){C.addText(_);return}let w=0;v.keywordPatternRe.lastIndex=0;let I=v.keywordPatternRe.exec(_),U="";for(;I;){U+=_.substring(w,I.index);const J=y.case_insensitive?I[0].toLowerCase():I[0],ae=ue(v,J);if(ae){const[Ae,Or]=ae;if(C.addText(U),U="",ce[J]=(ce[J]||0)+1,ce[J]<=hp&&(F+=Or),Ae.startsWith("_"))U+=I[0];else{const Bt=y.classNameAliases[Ae]||Ae;me(I[0],Bt)}}else U+=I[0];w=v.keywordPatternRe.lastIndex,I=v.keywordPatternRe.exec(_)}U+=_.substring(w),C.addText(U)}function sn(){if(_==="")return;let w=null;if(typeof v.subLanguage=="string"){if(!e[v.subLanguage]){C.addText(_);return}w=f(v.subLanguage,_,!0,R[v.subLanguage]),R[v.subLanguage]=w._top}else w=d(_,v.subLanguage.length?v.subLanguage:null);v.relevance>0&&(F+=w.relevance),C.__addSublanguage(w._emitter,w.language)}function Se(){v.subLanguage!=null?sn():Re(),_=""}function me(w,I){w!==""&&(C.startScope(I),C.addText(w),C.endScope())}function Ot(w,I){let U=1;const J=I.length-1;for(;U<=J;){if(!w._emit[U]){U++;continue}const ae=y.classNameAliases[w[U]]||w[U],Ae=I[U];ae?me(Ae,ae):(_=Ae,Re(),_=""),U++}}function on(w,I){return w.scope&&typeof w.scope=="string"&&C.openNode(y.classNameAliases[w.scope]||w.scope),w.beginScope&&(w.beginScope._wrap?(me(_,y.classNameAliases[w.beginScope._wrap]||w.beginScope._wrap),_=""):w.beginScope._multi&&(Ot(w.beginScope,I),_="")),v=Object.create(w,{parent:{value:v}}),v}function Ln(w,I,U){let J=Tf(w.endRe,U);if(J){if(w["on:end"]){const ae=new ei(w);w["on:end"](I,ae),ae.isMatchIgnored&&(J=!1)}if(J){for(;w.endsParent&&w.parent;)w=w.parent;return w}}if(w.endsWithParent)return Ln(w.parent,I,U)}function Ft(w){return v.matcher.regexIndex===0?(_+=w[0],1):(W=!0,0)}function Ir(w){const I=w[0],U=w.rule,J=new ei(U),ae=[U.__beforeBegin,U["on:begin"]];for(const Ae of ae)if(Ae&&(Ae(w,J),J.isMatchIgnored))return Ft(I);return U.skip?_+=I:(U.excludeBegin&&(_+=I),Se(),!U.returnBegin&&!U.excludeBegin&&(_=I)),on(U,w),U.returnBegin?0:I.length}function Mr(w){const I=w[0],U=S.substring(w.index),J=Ln(v,w,U);if(!J)return mi;const ae=v;v.endScope&&v.endScope._wrap?(Se(),me(I,v.endScope._wrap)):v.endScope&&v.endScope._multi?(Se(),Ot(v.endScope,w)):ae.skip?_+=I:(ae.returnEnd||ae.excludeEnd||(_+=I),Se(),ae.excludeEnd&&(_=I));do v.scope&&C.closeNode(),!v.skip&&!v.subLanguage&&(F+=v.relevance),v=v.parent;while(v!==J.parent);return J.starts&&on(J.starts,w),ae.returnEnd?0:I.length}function h(){const w=[];for(let I=v;I!==y;I=I.parent)I.scope&&w.unshift(I.scope);w.forEach(I=>C.openNode(I))}let g={};function m(w,I){const U=I&&I[0];if(_+=w,U==null)return Se(),0;if(g.type==="begin"&&I.type==="end"&&g.index===I.index&&U===""){if(_+=S.slice(I.index,I.index+1),!s){const J=new Error(`0 width match regex (${b})`);throw J.languageName=b,J.badRule=g.rule,J}return 1}if(g=I,I.type==="begin")return Ir(I);if(I.type==="illegal"&&!j){const J=new Error('Illegal lexeme "'+U+'" for mode "'+(v.scope||"<unnamed>")+'"');throw J.mode=v,J}else if(I.type==="end"){const J=Mr(I);if(J!==mi)return J}if(I.type==="illegal"&&U==="")return 1;if(H>1e5&&H>I.index*3)throw new Error("potential infinite loop, way more iterations than matches");return _+=U,U.length}const y=Q(b);if(!y)throw Lt(o.replace("{}",b)),new Error('Unknown language: "'+b+'"');const A=ap(y);let N="",v=te||A;const R={},C=new i.__emitter(i);h();let _="",F=0,V=0,H=0,W=!1;try{if(y.__emitTokens)y.__emitTokens(S,C);else{for(v.matcher.considerAll();;){H++,W?W=!1:v.matcher.considerAll(),v.matcher.lastIndex=V;const w=v.matcher.exec(S);if(!w)break;const I=S.substring(V,w.index),U=m(I,w);V=w.index+U}m(S.substring(V))}return C.finalize(),N=C.toHTML(),{language:b,value:N,relevance:F,illegal:!1,_emitter:C,_top:v}}catch(w){if(w.message&&w.message.includes("Illegal"))return{language:b,value:Rs(S),illegal:!0,relevance:0,_illegalBy:{message:w.message,index:V,context:S.slice(V-100,V+100),mode:w.mode,resultSoFar:N},_emitter:C};if(s)return{language:b,value:Rs(S),illegal:!1,relevance:0,errorRaised:w,_emitter:C,_top:v};throw w}}function p(b){const S={value:Rs(b),illegal:!1,relevance:0,_top:c,_emitter:new i.__emitter(i)};return S._emitter.addText(b),S}function d(b,S){S=S||i.languages||Object.keys(e);const j=p(b),te=S.filter(Q).filter(Y).map(Se=>f(Se,b,!1));te.unshift(j);const ce=te.sort((Se,me)=>{if(Se.relevance!==me.relevance)return me.relevance-Se.relevance;if(Se.language&&me.language){if(Q(Se.language).supersetOf===me.language)return 1;if(Q(me.language).supersetOf===Se.language)return-1}return 0}),[ue,Re]=ce,sn=ue;return sn.secondBest=Re,sn}function E(b,S,j){const te=S&&n[S]||j;b.classList.add("hljs"),b.classList.add(`language-${te}`)}function k(b){let S=null;const j=a(b);if(l(j))return;if(re("before:highlightElement",{el:b,language:j}),b.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",b);return}if(b.children.length>0&&(i.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(b)),i.throwUnescapedHTML))throw new pp("One of your code blocks includes unescaped HTML.",b.innerHTML);S=b;const te=S.textContent,ce=j?u(te,{language:j,ignoreIllegals:!0}):d(te);b.innerHTML=ce.value,b.dataset.highlighted="yes",E(b,j,ce.language),b.result={language:ce.language,re:ce.relevance,relevance:ce.relevance},ce.secondBest&&(b.secondBest={language:ce.secondBest.language,relevance:ce.secondBest.relevance}),re("after:highlightElement",{el:b,result:ce,text:te})}function M(b){i=gi(i,b)}const L=()=>{O(),Yt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function D(){O(),Yt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let q=!1;function O(){if(document.readyState==="loading"){q=!0;return}document.querySelectorAll(i.cssSelector).forEach(k)}function $(){q&&O()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",$,!1);function x(b,S){let j=null;try{j=S(t)}catch(te){if(Lt("Language definition for '{}' could not be registered.".replace("{}",b)),s)Lt(te);else throw te;j=c}j.name||(j.name=b),e[b]=j,j.rawDefinition=S.bind(null,t),j.aliases&&z(j.aliases,{languageName:b})}function K(b){delete e[b];for(const S of Object.keys(n))n[S]===b&&delete n[S]}function B(){return Object.keys(e)}function Q(b){return b=(b||"").toLowerCase(),e[b]||e[n[b]]}function z(b,{languageName:S}){typeof b=="string"&&(b=[b]),b.forEach(j=>{n[j.toLowerCase()]=S})}function Y(b){const S=Q(b);return S&&!S.disableAutodetect}function P(b){b["before:highlightBlock"]&&!b["before:highlightElement"]&&(b["before:highlightElement"]=S=>{b["before:highlightBlock"](Object.assign({block:S.el},S))}),b["after:highlightBlock"]&&!b["after:highlightElement"]&&(b["after:highlightElement"]=S=>{b["after:highlightBlock"](Object.assign({block:S.el},S))})}function se(b){P(b),r.push(b)}function T(b){const S=r.indexOf(b);S!==-1&&r.splice(S,1)}function re(b,S){const j=b;r.forEach(function(te){te[j]&&te[j](S)})}function G(b){return Yt("10.7.0","highlightBlock will be removed entirely in v12.0"),Yt("10.7.0","Please use highlightElement now."),k(b)}Object.assign(t,{highlight:u,highlightAuto:d,highlightAll:O,highlightElement:k,highlightBlock:G,configure:M,initHighlighting:L,initHighlightingOnLoad:D,registerLanguage:x,unregisterLanguage:K,listLanguages:B,getLanguage:Q,registerAliases:z,autoDetection:Y,inherit:gi,addPlugin:se,removePlugin:T}),t.debugMode=function(){s=!1},t.safeMode=function(){s=!0},t.versionString=fp,t.regex={concat:Rt,lookahead:si,either:Ds,optional:Df,anyNumberOfTimes:Sf};for(const b in gr)typeof gr[b]=="object"&&Qc(gr[b]);return Object.assign(t,gr),t},Xt=bi({});Xt.newInstance=()=>bi({});var dp=Xt;Xt.HighlightJS=Xt,Xt.default=Xt;const br=Cs(dp);function gp(t){const e=t.regex,n=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=t.inherit(o,{begin:/\(/,end:/\)/}),i=t.inherit(t.APOS_STRING_MODE,{className:"string"}),l=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),a={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,l,i,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,c,l,i]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[a],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[a],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(n,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:a}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const _i="[A-Za-z$_][0-9A-Za-z$_]*",mp=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],bp=["true","false","null","undefined","NaN","Infinity"],vi=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],yi=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],xi=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],_p=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],vp=[].concat(xi,vi,yi);function yp(t){const e=t.regex,n=(S,{after:j})=>{const te="</"+S[0].slice(1);return S.input.indexOf(te,j)!==-1},r=_i,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(S,j)=>{const te=S[0].length+S.index,ce=S.input[te];if(ce==="<"||ce===","){j.ignoreMatch();return}ce===">"&&(n(S,{after:te})||j.ignoreMatch());let ue;const Re=S.input.substring(te);if(ue=Re.match(/^\s*=/)){j.ignoreMatch();return}if((ue=Re.match(/^\s+extends\s+/))&&ue.index===0){j.ignoreMatch();return}}},i={$pattern:_i,keyword:mp,literal:bp,built_in:vp,"variable.language":_p},l="[0-9](_?[0-9])*",a=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${a})|\\.)?|(${a}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},E={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},D={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},q=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,E,k,M,{match:/\$\d+/},f];p.contains=q.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(q)});const O=[].concat(D,p.contains),$=O.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(O)}]),x={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:$},K={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,e.concat(r,"(",e.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},B={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...vi,...yi]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[x],illegal:/%/},Y={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function P(S){return e.concat("(?!",S.join("|"),")")}const se={match:e.concat(/\b/,P([...xi,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},T={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},G="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",b={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(G)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:B},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,E,k,M,D,{match:/\$\d+/},f,B,{className:"attr",begin:r+e.lookahead(":"),relevance:0},b,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,t.REGEXP_MODE,{className:"function",begin:G,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:$}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},T,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},se,Y,K,re,{match:/\$[(.]/}]}}const wi=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},xp={},wp={class:"chat-button"};function kp(t,e){return ee(),de("button",wp,[hn(t.$slots,"default")])}const Ep=wi(xp,[["render",kp]]),Ap={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Cp=[xe("path",{fill:"currentColor",d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"},null,-1)];function Sp(t,e){return ee(),de("svg",Ap,[...Cp])}const Dp={name:"mdi-close",render:Sp};function qp(){const t=new Map;function e(s,o){const c=t.get(s);c&&c.splice(c.indexOf(o)>>>0,1)}function n(s,o){let c=t.get(s);return c?c.push(o):c=[o],t.set(s,c),()=>e(s,o)}function r(s,o){const c=t.get(s);c&&c.slice().forEach(async i=>{await i(o)})}return{on:n,off:e,emit:r}}function Tp(t){if(!document.querySelector(t)){const n=document.createElement("div");t.startsWith("#")&&(n.id=t.replace("#","")),t.startsWith(".")&&n.classList.add(t.replace(".","")),document.body.appendChild(n)}}const nt=qp(),Rp={class:"chat-layout"},Lp={key:0,class:"chat-header"},Np={key:2,class:"chat-footer"},Ip=Ue({__name:"Layout",setup(t){const e=lt(null);function n(){const r=e.value;r&&(r.scrollTop=r.scrollHeight)}return Kt(()=>{nt.on("scrollToBottom",n),window.addEventListener("resize",n)}),ls(()=>{nt.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(ee(),de("main",Rp,[r.$slots.header?(ee(),de("div",Lp,[hn(r.$slots,"header")])):Dt("",!0),r.$slots.default?(ee(),de("div",{key:1,ref_key:"chatBodyRef",ref:e,class:"chat-body"},[hn(r.$slots,"default")],512)):Dt("",!0),r.$slots.footer?(ee(),de("div",Np,[hn(r.$slots,"footer")])):Dt("",!0)]))}}),An={webhookUrl:"http://localhost:5678",webhookConfig:{method:"POST",headers:{}},target:"#n8n-chat",mode:"window",loadPreviousSession:!0,chatInputKey:"chatInput",chatSessionKey:"sessionId",defaultLanguage:"en",showWelcomeScreen:!1,initialMessages:["Hi there! 👋","My name is Nathan. How can I assist you today?"],i18n:{en:{title:"Hi there! 👋",subtitle:"Start a chat. We're here to help you 24/7.",footer:"",getStarted:"New Conversation",inputPlaceholder:"Type your question..",closeButtonTooltip:"Close chat"}},theme:{}},Mp="#n8n-chat",ki="n8n-chat/sessionId",Ei="Chat",Ai="ChatOptions";function Ls(){return Wt(Ei)}function Cn(){return{options:Wt(Ai)}}function _r(){const{options:t}=Cn(),e=(t==null?void 0:t.defaultLanguage)??"en";function n(s){var c,i;const o=(i=(c=t==null?void 0:t.i18n)==null?void 0:c[e])==null?void 0:i[s];return ve(o)?o.value:o??s}function r(s){var o,c;return!!((c=(o=t==null?void 0:t.i18n)==null?void 0:o[e])!=null&&c[s])}return{t:n,te:r}}const Op={class:"chat-get-started"},Fp=Ue({__name:"GetStarted",setup(t){const{t:e}=_r();return(n,r)=>(ee(),de("div",Op,[ge(Ep,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:ut(()=>[vs(Un(le(e)("getStarted")),1)]),_:1})]))}}),Bp={},Pp={class:"chat-powered-by"},Up=xe("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1);function $p(t,e){return ee(),de("div",Pp,[vs(" Powered by "),Up])}const zp=wi(Bp,[["render",$p]]),Vp={class:"chat-get-started-footer"},Hp={key:0},Gp=Ue({__name:"GetStartedFooter",setup(t){const{t:e,te:n}=_r();return(r,s)=>(ee(),de("div",Vp,[le(n)("footer")?(ee(),de("div",Hp,Un(le(e)("footer")),1)):Dt("",!0),ge(zp)]))}});var ie={},Ci={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
22
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Ns=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\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-\u2E4E\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[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Qt={},Si={};function jp(t){var e,n,r=Si[t];if(r)return r;for(r=Si[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function vr(t,e,n){var r,s,o,c,i,l="";for(typeof e!="string"&&(n=e,e=vr.defaultChars),typeof n>"u"&&(n=!0),i=jp(e),r=0,s=t.length;r<s;r++){if(o=t.charCodeAt(r),n&&o===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){l+=t.slice(r,r+3),r+=2;continue}if(o<128){l+=i[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&r+1<s&&(c=t.charCodeAt(r+1),c>=56320&&c<=57343)){l+=encodeURIComponent(t[r]+t[r+1]),r++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[r])}return l}vr.defaultChars=";/?:@&=+$,-_.!~*'()#",vr.componentChars="-_.!~*'()";var Zp=vr,Di={};function Kp(t){var e,n,r=Di[t];if(r)return r;for(r=Di[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e<t.length;e++)n=t.charCodeAt(e),r[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}function yr(t,e){var n;return typeof e!="string"&&(e=yr.defaultChars),n=Kp(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var s,o,c,i,l,a,u,f="";for(s=0,o=r.length;s<o;s+=3){if(c=parseInt(r.slice(s+1,s+3),16),c<128){f+=n[c];continue}if((c&224)===192&&s+3<o&&(i=parseInt(r.slice(s+4,s+6),16),(i&192)===128)){u=c<<6&1984|i&63,u<128?f+="��":f+=String.fromCharCode(u),s+=3;continue}if((c&240)===224&&s+6<o&&(i=parseInt(r.slice(s+4,s+6),16),l=parseInt(r.slice(s+7,s+9),16),(i&192)===128&&(l&192)===128)){u=c<<12&61440|i<<6&4032|l&63,u<2048||u>=55296&&u<=57343?f+="���":f+=String.fromCharCode(u),s+=6;continue}if((c&248)===240&&s+9<o&&(i=parseInt(r.slice(s+4,s+6),16),l=parseInt(r.slice(s+7,s+9),16),a=parseInt(r.slice(s+10,s+12),16),(i&192)===128&&(l&192)===128&&(a&192)===128)){u=c<<18&1835008|i<<12&258048|l<<6&4032|a&63,u<65536||u>1114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),s+=9;continue}f+="�"}return f})}yr.defaultChars=";/?:@&=+$,#",yr.componentChars="";var Wp=yr,Jp=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function xr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Yp=/^([a-z0-9.+-]+:)/i,Xp=/:[0-9]*$/,Qp=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,eh=["<",">",'"',"`"," ","\r",`
23
+ `," "],th=["{","}","|","\\","^","`"].concat(eh),nh=["'"].concat(th),qi=["%","/","?",";","#"].concat(nh),Ti=["/","?","#"],rh=255,Ri=/^[+a-z0-9A-Z_-]{0,63}$/,sh=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Li={javascript:!0,"javascript:":!0},Ni={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function oh(t,e){if(t&&t instanceof xr)return t;var n=new xr;return n.parse(t,e),n}xr.prototype.parse=function(t,e){var n,r,s,o,c,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var l=Qp.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var a=Yp.exec(i);if(a&&(a=a[0],s=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(e||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(c=i.substr(0,2)==="//",c&&!(a&&Li[a])&&(i=i.substr(2),this.slashes=!0)),!Li[a]&&(c||a&&!Ni[a])){var u=-1;for(n=0;n<Ti.length;n++)o=i.indexOf(Ti[n]),o!==-1&&(u===-1||o<u)&&(u=o);var f,p;for(u===-1?p=i.lastIndexOf("@"):p=i.lastIndexOf("@",u),p!==-1&&(f=i.slice(0,p),i=i.slice(p+1),this.auth=f),u=-1,n=0;n<qi.length;n++)o=i.indexOf(qi[n]),o!==-1&&(u===-1||o<u)&&(u=o);u===-1&&(u=i.length),i[u-1]===":"&&u--;var d=i.slice(0,u);i=i.slice(u),this.parseHost(d),this.hostname=this.hostname||"";var E=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!E){var k=this.hostname.split(/\./);for(n=0,r=k.length;n<r;n++){var M=k[n];if(M&&!M.match(Ri)){for(var L="",D=0,q=M.length;D<q;D++)M.charCodeAt(D)>127?L+="x":L+=M[D];if(!L.match(Ri)){var O=k.slice(0,n),$=k.slice(n+1),x=M.match(sh);x&&(O.push(x[1]),$.unshift(x[2])),$.length&&(i=$.join(".")+i),this.hostname=O.join(".");break}}}}this.hostname.length>rh&&(this.hostname=""),E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var K=i.indexOf("#");K!==-1&&(this.hash=i.substr(K),i=i.slice(0,K));var B=i.indexOf("?");return B!==-1&&(this.search=i.substr(B),i=i.slice(0,B)),i&&(this.pathname=i),Ni[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},xr.prototype.parseHost=function(t){var e=Xp.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var ch=oh;Qt.encode=Zp,Qt.decode=Wp,Qt.format=Jp,Qt.parse=ch;var Nt={},Is,Ii;function Mi(){return Ii||(Ii=1,Is=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Is}var Ms,Oi;function Fi(){return Oi||(Oi=1,Ms=/[\0-\x1F\x7F-\x9F]/),Ms}var Os,Bi;function ih(){return Bi||(Bi=1,Os=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Os}var Fs,Pi;function Ui(){return Pi||(Pi=1,Fs=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Fs}var $i;function lh(){return $i||($i=1,Nt.Any=Mi(),Nt.Cc=Fi(),Nt.Cf=ih(),Nt.P=Ns,Nt.Z=Ui()),Nt}(function(t){function e(T){return Object.prototype.toString.call(T)}function n(T){return e(T)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(T,re){return r.call(T,re)}function o(T){var re=Array.prototype.slice.call(arguments,1);return re.forEach(function(G){if(G){if(typeof G!="object")throw new TypeError(G+"must be object");Object.keys(G).forEach(function(b){T[b]=G[b]})}}),T}function c(T,re,G){return[].concat(T.slice(0,re),G,T.slice(re+1))}function i(T){return!(T>=55296&&T<=57343||T>=64976&&T<=65007||(T&65535)===65535||(T&65535)===65534||T>=0&&T<=8||T===11||T>=14&&T<=31||T>=127&&T<=159||T>1114111)}function l(T){if(T>65535){T-=65536;var re=55296+(T>>10),G=56320+(T&1023);return String.fromCharCode(re,G)}return String.fromCharCode(T)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(a.source+"|"+u.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,d=Ci;function E(T,re){var G=0;return s(d,re)?d[re]:re.charCodeAt(0)===35&&p.test(re)&&(G=re[1].toLowerCase()==="x"?parseInt(re.slice(2),16):parseInt(re.slice(1),10),i(G))?l(G):T}function k(T){return T.indexOf("\\")<0?T:T.replace(a,"$1")}function M(T){return T.indexOf("\\")<0&&T.indexOf("&")<0?T:T.replace(f,function(re,G,b){return G||E(re,b)})}var L=/[&<>"]/,D=/[&<>"]/g,q={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function O(T){return q[T]}function $(T){return L.test(T)?T.replace(D,O):T}var x=/[.?*+^$[\]\\(){}|-]/g;function K(T){return T.replace(x,"\\$&")}function B(T){switch(T){case 9:case 32:return!0}return!1}function Q(T){if(T>=8192&&T<=8202)return!0;switch(T){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}var z=Ns;function Y(T){return z.test(T)}function P(T){switch(T){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 se(T){return T=T.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(T=T.replace(/ẞ/g,"ß")),T.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Qt,t.lib.ucmicro=lh(),t.assign=o,t.isString=n,t.has=s,t.unescapeMd=k,t.unescapeAll=M,t.isValidEntityCode=i,t.fromCodePoint=l,t.escapeHtml=$,t.arrayReplaceAt=c,t.isSpace=B,t.isWhiteSpace=Q,t.isMdAsciiPunct=P,t.isPunctChar=Y,t.escapeRE=K,t.normalizeReference=se})(ie);var wr={},ah=function(e,n,r){var s,o,c,i,l=-1,a=e.posMax,u=e.pos;for(e.pos=n+1,s=1;e.pos<a;){if(c=e.src.charCodeAt(e.pos),c===93&&(s--,s===0)){o=!0;break}if(i=e.pos,e.md.inline.skipToken(e),c===91){if(i===e.pos-1)s++;else if(r)return e.pos=u,-1}}return o&&(l=e.pos),e.pos=u,l},zi=ie.unescapeAll,uh=function(e,n,r){var s,o,c=0,i=n,l={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(n)===60){for(n++;n<r;){if(s=e.charCodeAt(n),s===10||s===60)return l;if(s===62)return l.pos=n+1,l.str=zi(e.slice(i+1,n)),l.ok=!0,l;if(s===92&&n+1<r){n+=2;continue}n++}return l}for(o=0;n<r&&(s=e.charCodeAt(n),!(s===32||s<32||s===127));){if(s===92&&n+1<r){if(e.charCodeAt(n+1)===32)break;n+=2;continue}if(s===40&&(o++,o>32))return l;if(s===41){if(o===0)break;o--}n++}return i===n||o!==0||(l.str=zi(e.slice(i,n)),l.lines=c,l.pos=n,l.ok=!0),l},fh=ie.unescapeAll,ph=function(e,n,r){var s,o,c=0,i=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=r||(o=e.charCodeAt(n),o!==34&&o!==39&&o!==40))return l;for(n++,o===40&&(o=41);n<r;){if(s=e.charCodeAt(n),s===o)return l.pos=n+1,l.lines=c,l.str=fh(e.slice(i+1,n)),l.ok=!0,l;if(s===40&&o===41)return l;s===10?c++:s===92&&n+1<r&&(n++,e.charCodeAt(n)===10&&c++),n++}return l};wr.parseLinkLabel=ah,wr.parseLinkDestination=uh,wr.parseLinkTitle=ph;var hh=ie.assign,dh=ie.unescapeAll,It=ie.escapeHtml,Ke={};Ke.code_inline=function(t,e,n,r,s){var o=t[e];return"<code"+s.renderAttrs(o)+">"+It(t[e].content)+"</code>"},Ke.code_block=function(t,e,n,r,s){var o=t[e];return"<pre"+s.renderAttrs(o)+"><code>"+It(t[e].content)+`</code></pre>
24
+ `},Ke.fence=function(t,e,n,r,s){var o=t[e],c=o.info?dh(o.info).trim():"",i="",l="",a,u,f,p,d;return c&&(f=c.split(/(\s+)/g),i=f[0],l=f.slice(2).join("")),n.highlight?a=n.highlight(o.content,i,l)||It(o.content):a=It(o.content),a.indexOf("<pre")===0?a+`
25
+ `:c?(u=o.attrIndex("class"),p=o.attrs?o.attrs.slice():[],u<0?p.push(["class",n.langPrefix+i]):(p[u]=p[u].slice(),p[u][1]+=" "+n.langPrefix+i),d={attrs:p},"<pre><code"+s.renderAttrs(d)+">"+a+`</code></pre>
26
+ `):"<pre><code"+s.renderAttrs(o)+">"+a+`</code></pre>
27
+ `},Ke.image=function(t,e,n,r,s){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,n,r),s.renderToken(t,e,n)},Ke.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
28
+ `:`<br>
29
+ `},Ke.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
30
+ `:`<br>
31
+ `:`
32
+ `},Ke.text=function(t,e){return It(t[e].content)},Ke.html_block=function(t,e){return t[e].content},Ke.html_inline=function(t,e){return t[e].content};function en(){this.rules=hh({},Ke)}en.prototype.renderAttrs=function(e){var n,r,s;if(!e.attrs)return"";for(s="",n=0,r=e.attrs.length;n<r;n++)s+=" "+It(e.attrs[n][0])+'="'+It(e.attrs[n][1])+'"';return s},en.prototype.renderToken=function(e,n,r){var s,o="",c=!1,i=e[n];return i.hidden?"":(i.block&&i.nesting!==-1&&n&&e[n-1].hidden&&(o+=`
33
+ `),o+=(i.nesting===-1?"</":"<")+i.tag,o+=this.renderAttrs(i),i.nesting===0&&r.xhtmlOut&&(o+=" /"),i.block&&(c=!0,i.nesting===1&&n+1<e.length&&(s=e[n+1],(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===i.tag)&&(c=!1))),o+=c?`>
34
+ `:">",o)},en.prototype.renderInline=function(t,e,n){for(var r,s="",o=this.rules,c=0,i=t.length;c<i;c++)r=t[c].type,typeof o[r]<"u"?s+=o[r](t,c,e,n,this):s+=this.renderToken(t,c,e);return s},en.prototype.renderInlineAsText=function(t,e,n){for(var r="",s=0,o=t.length;s<o;s++)t[s].type==="text"?r+=t[s].content:t[s].type==="image"?r+=this.renderInlineAsText(t[s].children,e,n):t[s].type==="softbreak"&&(r+=`
35
+ `);return r},en.prototype.render=function(t,e,n){var r,s,o,c="",i=this.rules;for(r=0,s=t.length;r<s;r++)o=t[r].type,o==="inline"?c+=this.renderInline(t[r].children,e,n):typeof i[o]<"u"?c+=i[t[r].type](t,r,e,n,this):c+=this.renderToken(t,r,e,n);return c};var gh=en;function ze(){this.__rules__=[],this.__cache__=null}ze.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},ze.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),t.__cache__={},e.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||t.__cache__[n].push(r.fn))})})},ze.prototype.at=function(t,e,n){var r=this.__find__(t),s=n||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=s.alt||[],this.__cache__=null},ze.prototype.before=function(t,e,n,r){var s=this.__find__(t),o=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},ze.prototype.after=function(t,e,n,r){var s=this.__find__(t),o=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},ze.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},ze.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!0,n.push(r)},this),this.__cache__=null,n},ze.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)},ze.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!1,n.push(r)},this),this.__cache__=null,n},ze.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var Bs=ze,mh=/\r\n?|\n/g,bh=/\0/g,_h=function(e){var n;n=e.src.replace(mh,`
36
+ `),n=n.replace(bh,"�"),e.src=n},vh=function(e){var n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},yh=function(e){var n=e.tokens,r,s,o;for(s=0,o=n.length;s<o;s++)r=n[s],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},xh=ie.arrayReplaceAt;function wh(t){return/^<a[>\s]/i.test(t)}function kh(t){return/^<\/a\s*>/i.test(t)}var Eh=function(e){var n,r,s,o,c,i,l,a,u,f,p,d,E,k,M,L,D=e.tokens,q;if(e.md.options.linkify){for(r=0,s=D.length;r<s;r++)if(!(D[r].type!=="inline"||!e.md.linkify.pretest(D[r].content)))for(o=D[r].children,E=0,n=o.length-1;n>=0;n--){if(i=o[n],i.type==="link_close"){for(n--;o[n].level!==i.level&&o[n].type!=="link_open";)n--;continue}if(i.type==="html_inline"&&(wh(i.content)&&E>0&&E--,kh(i.content)&&E++),!(E>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(u=i.content,q=e.md.linkify.match(u),l=[],d=i.level,p=0,a=0;a<q.length;a++)k=q[a].url,M=e.md.normalizeLink(k),e.md.validateLink(M)&&(L=q[a].text,q[a].schema?q[a].schema==="mailto:"&&!/^mailto:/i.test(L)?L=e.md.normalizeLinkText("mailto:"+L).replace(/^mailto:/,""):L=e.md.normalizeLinkText(L):L=e.md.normalizeLinkText("http://"+L).replace(/^http:\/\//,""),f=q[a].index,f>p&&(c=new e.Token("text","",0),c.content=u.slice(p,f),c.level=d,l.push(c)),c=new e.Token("link_open","a",1),c.attrs=[["href",M]],c.level=d++,c.markup="linkify",c.info="auto",l.push(c),c=new e.Token("text","",0),c.content=L,c.level=d,l.push(c),c=new e.Token("link_close","a",-1),c.level=--d,c.markup="linkify",c.info="auto",l.push(c),p=q[a].lastIndex);p<u.length&&(c=new e.Token("text","",0),c.content=u.slice(p),c.level=d,l.push(c)),D[r].children=o=xh(o,n,l)}}}},Vi=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ah=/\((c|tm|r|p)\)/i,Ch=/\((c|tm|r|p)\)/ig,Sh={c:"©",r:"®",p:"§",tm:"™"};function Dh(t,e){return Sh[e.toLowerCase()]}function qh(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&(n.content=n.content.replace(Ch,Dh)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function Th(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&Vi.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var Rh=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Ah.test(e.tokens[n].content)&&qh(e.tokens[n].children),Vi.test(e.tokens[n].content)&&Th(e.tokens[n].children))},Hi=ie.isWhiteSpace,Gi=ie.isPunctChar,ji=ie.isMdAsciiPunct,Lh=/['"]/,Zi=/['"]/g,Ki="’";function kr(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function Nh(t,e){var n,r,s,o,c,i,l,a,u,f,p,d,E,k,M,L,D,q,O,$,x;for(O=[],n=0;n<t.length;n++){for(r=t[n],l=t[n].level,D=O.length-1;D>=0&&!(O[D].level<=l);D--);if(O.length=D+1,r.type==="text"){s=r.content,c=0,i=s.length;e:for(;c<i&&(Zi.lastIndex=c,o=Zi.exec(s),!!o);){if(M=L=!0,c=o.index+1,q=o[0]==="'",u=32,o.index-1>=0)u=s.charCodeAt(o.index-1);else for(D=n-1;D>=0&&!(t[D].type==="softbreak"||t[D].type==="hardbreak");D--)if(t[D].content){u=t[D].content.charCodeAt(t[D].content.length-1);break}if(f=32,c<i)f=s.charCodeAt(c);else for(D=n+1;D<t.length&&!(t[D].type==="softbreak"||t[D].type==="hardbreak");D++)if(t[D].content){f=t[D].content.charCodeAt(0);break}if(p=ji(u)||Gi(String.fromCharCode(u)),d=ji(f)||Gi(String.fromCharCode(f)),E=Hi(u),k=Hi(f),k?M=!1:d&&(E||p||(M=!1)),E?L=!1:p&&(k||d||(L=!1)),f===34&&o[0]==='"'&&u>=48&&u<=57&&(L=M=!1),M&&L&&(M=p,L=d),!M&&!L){q&&(r.content=kr(r.content,o.index,Ki));continue}if(L){for(D=O.length-1;D>=0&&(a=O[D],!(O[D].level<l));D--)if(a.single===q&&O[D].level===l){a=O[D],q?($=e.md.options.quotes[2],x=e.md.options.quotes[3]):($=e.md.options.quotes[0],x=e.md.options.quotes[1]),r.content=kr(r.content,o.index,x),t[a.token].content=kr(t[a.token].content,a.pos,$),c+=x.length-1,a.token===n&&(c+=$.length-1),s=r.content,i=s.length,O.length=D;continue e}}M?O.push({token:n,pos:o.index,single:q,level:l}):L&&q&&(r.content=kr(r.content,o.index,Ki))}}}}var Ih=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!Lh.test(e.tokens[n].content)||Nh(e.tokens[n].children,e)};function tn(t,e,n){this.type=t,this.tag=e,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}tn.prototype.attrIndex=function(e){var n,r,s;if(!this.attrs)return-1;for(n=this.attrs,r=0,s=n.length;r<s;r++)if(n[r][0]===e)return r;return-1},tn.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},tn.prototype.attrSet=function(e,n){var r=this.attrIndex(e),s=[e,n];r<0?this.attrPush(s):this.attrs[r]=s},tn.prototype.attrGet=function(e){var n=this.attrIndex(e),r=null;return n>=0&&(r=this.attrs[n][1]),r},tn.prototype.attrJoin=function(e,n){var r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var Ps=tn,Mh=Ps;function Wi(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Wi.prototype.Token=Mh;var Oh=Wi,Fh=Bs,Us=[["normalize",_h],["block",vh],["inline",yh],["linkify",Eh],["replacements",Rh],["smartquotes",Ih]];function $s(){this.ruler=new Fh;for(var t=0;t<Us.length;t++)this.ruler.push(Us[t][0],Us[t][1])}$s.prototype.process=function(t){var e,n,r;for(r=this.ruler.getRules(""),e=0,n=r.length;e<n;e++)r[e](t)},$s.prototype.State=Oh;var Bh=$s,zs=ie.isSpace;function Vs(t,e){var n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.substr(n,r-n)}function Ji(t){var e=[],n=0,r=t.length,s,o=!1,c=0,i="";for(s=t.charCodeAt(n);n<r;)s===124&&(o?(i+=t.substring(c,n-1),c=n):(e.push(i+t.substring(c,n)),i="",c=n+1)),o=s===92,n++,s=t.charCodeAt(n);return e.push(i+t.substring(c)),e}var Ph=function(e,n,r,s){var o,c,i,l,a,u,f,p,d,E,k,M,L,D,q,O,$,x;if(n+2>r||(u=n+1,e.sCount[u]<e.blkIndent)||e.sCount[u]-e.blkIndent>=4||(i=e.bMarks[u]+e.tShift[u],i>=e.eMarks[u])||($=e.src.charCodeAt(i++),$!==124&&$!==45&&$!==58)||i>=e.eMarks[u]||(x=e.src.charCodeAt(i++),x!==124&&x!==45&&x!==58&&!zs(x))||$===45&&zs(x))return!1;for(;i<e.eMarks[u];){if(o=e.src.charCodeAt(i),o!==124&&o!==45&&o!==58&&!zs(o))return!1;i++}for(c=Vs(e,n+1),f=c.split("|"),E=[],l=0;l<f.length;l++){if(k=f[l].trim(),!k){if(l===0||l===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;k.charCodeAt(k.length-1)===58?E.push(k.charCodeAt(0)===58?"center":"right"):k.charCodeAt(0)===58?E.push("left"):E.push("")}if(c=Vs(e,n).trim(),c.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(f=Ji(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),p=f.length,p===0||p!==E.length))return!1;if(s)return!0;for(D=e.parentType,e.parentType="table",O=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),d.map=M=[n,0],d=e.push("thead_open","thead",1),d.map=[n,n+1],d=e.push("tr_open","tr",1),d.map=[n,n+1],l=0;l<f.length;l++)d=e.push("th_open","th",1),E[l]&&(d.attrs=[["style","text-align:"+E[l]]]),d=e.push("inline","",0),d.content=f[l].trim(),d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),u=n+2;u<r&&!(e.sCount[u]<e.blkIndent);u++){for(q=!1,l=0,a=O.length;l<a;l++)if(O[l](e,u,r,!0)){q=!0;break}if(q||(c=Vs(e,u).trim(),!c)||e.sCount[u]-e.blkIndent>=4)break;for(f=Ji(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),u===n+2&&(d=e.push("tbody_open","tbody",1),d.map=L=[n+2,0]),d=e.push("tr_open","tr",1),d.map=[u,u+1],l=0;l<p;l++)d=e.push("td_open","td",1),E[l]&&(d.attrs=[["style","text-align:"+E[l]]]),d=e.push("inline","",0),d.content=f[l]?f[l].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return L&&(d=e.push("tbody_close","tbody",-1),L[1]=u),d=e.push("table_close","table",-1),M[1]=u,e.parentType=D,e.line=u,!0},Uh=function(e,n,r){var s,o,c;if(e.sCount[n]-e.blkIndent<4)return!1;for(o=s=n+1;s<r;){if(e.isEmpty(s)){s++;continue}if(e.sCount[s]-e.blkIndent>=4){s++,o=s;continue}break}return e.line=o,c=e.push("code_block","code",0),c.content=e.getLines(n,o,4+e.blkIndent,!1)+`
37
+ `,c.map=[n,e.line],!0},$h=function(e,n,r,s){var o,c,i,l,a,u,f,p=!1,d=e.bMarks[n]+e.tShift[n],E=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||d+3>E||(o=e.src.charCodeAt(d),o!==126&&o!==96)||(a=d,d=e.skipChars(d,o),c=d-a,c<3)||(f=e.src.slice(a,d),i=e.src.slice(d,E),o===96&&i.indexOf(String.fromCharCode(o))>=0))return!1;if(s)return!0;for(l=n;l++,!(l>=r||(d=a=e.bMarks[l]+e.tShift[l],E=e.eMarks[l],d<E&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(d)===o&&!(e.sCount[l]-e.blkIndent>=4)&&(d=e.skipChars(d,o),!(d-a<c)&&(d=e.skipSpaces(d),!(d<E)))){p=!0;break}return c=e.sCount[n],e.line=l+(p?1:0),u=e.push("fence","code",0),u.info=i,u.content=e.getLines(n+1,l,c,!0),u.markup=f,u.map=[n,e.line],!0},Yi=ie.isSpace,zh=function(e,n,r,s){var o,c,i,l,a,u,f,p,d,E,k,M,L,D,q,O,$,x,K,B,Q=e.lineMax,z=e.bMarks[n]+e.tShift[n],Y=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(z++)!==62)return!1;if(s)return!0;for(l=d=e.sCount[n]+1,e.src.charCodeAt(z)===32?(z++,l++,d++,o=!1,O=!0):e.src.charCodeAt(z)===9?(O=!0,(e.bsCount[n]+d)%4===3?(z++,l++,d++,o=!1):o=!0):O=!1,E=[e.bMarks[n]],e.bMarks[n]=z;z<Y&&(c=e.src.charCodeAt(z),Yi(c));){c===9?d+=4-(d+e.bsCount[n]+(o?1:0))%4:d++;z++}for(k=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(O?1:0),u=z>=Y,D=[e.sCount[n]],e.sCount[n]=d-l,q=[e.tShift[n]],e.tShift[n]=z-e.bMarks[n],x=e.md.block.ruler.getRules("blockquote"),L=e.parentType,e.parentType="blockquote",p=n+1;p<r&&(B=e.sCount[p]<e.blkIndent,z=e.bMarks[p]+e.tShift[p],Y=e.eMarks[p],!(z>=Y));p++){if(e.src.charCodeAt(z++)===62&&!B){for(l=d=e.sCount[p]+1,e.src.charCodeAt(z)===32?(z++,l++,d++,o=!1,O=!0):e.src.charCodeAt(z)===9?(O=!0,(e.bsCount[p]+d)%4===3?(z++,l++,d++,o=!1):o=!0):O=!1,E.push(e.bMarks[p]),e.bMarks[p]=z;z<Y&&(c=e.src.charCodeAt(z),Yi(c));){c===9?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++;z++}u=z>=Y,k.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(O?1:0),D.push(e.sCount[p]),e.sCount[p]=d-l,q.push(e.tShift[p]),e.tShift[p]=z-e.bMarks[p];continue}if(u)break;for($=!1,i=0,a=x.length;i<a;i++)if(x[i](e,p,r,!0)){$=!0;break}if($){e.lineMax=p,e.blkIndent!==0&&(E.push(e.bMarks[p]),k.push(e.bsCount[p]),q.push(e.tShift[p]),D.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}E.push(e.bMarks[p]),k.push(e.bsCount[p]),q.push(e.tShift[p]),D.push(e.sCount[p]),e.sCount[p]=-1}for(M=e.blkIndent,e.blkIndent=0,K=e.push("blockquote_open","blockquote",1),K.markup=">",K.map=f=[n,0],e.md.block.tokenize(e,n,p),K=e.push("blockquote_close","blockquote",-1),K.markup=">",e.lineMax=Q,e.parentType=L,f[1]=e.line,i=0;i<q.length;i++)e.bMarks[i+n]=E[i],e.tShift[i+n]=q[i],e.sCount[i+n]=D[i],e.bsCount[i+n]=k[i];return e.blkIndent=M,!0},Vh=ie.isSpace,Hh=function(e,n,r,s){var o,c,i,l,a=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(o=e.src.charCodeAt(a++),o!==42&&o!==45&&o!==95))return!1;for(c=1;a<u;){if(i=e.src.charCodeAt(a++),i!==o&&!Vh(i))return!1;i===o&&c++}return c<3?!1:(s||(e.line=n+1,l=e.push("hr","hr",0),l.map=[n,e.line],l.markup=Array(c+1).join(String.fromCharCode(o))),!0)},Xi=ie.isSpace;function Qi(t,e){var n,r,s,o;return r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e],n=t.src.charCodeAt(r++),n!==42&&n!==45&&n!==43||r<s&&(o=t.src.charCodeAt(r),!Xi(o))?-1:r}function el(t,e){var n,r=t.bMarks[e]+t.tShift[e],s=r,o=t.eMarks[e];if(s+1>=o||(n=t.src.charCodeAt(s++),n<48||n>57))return-1;for(;;){if(s>=o)return-1;if(n=t.src.charCodeAt(s++),n>=48&&n<=57){if(s-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return s<o&&(n=t.src.charCodeAt(s),!Xi(n))?-1:s}function Gh(t,e){var n,r,s=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===s&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var jh=function(e,n,r,s){var o,c,i,l,a,u,f,p,d,E,k,M,L,D,q,O,$,x,K,B,Q,z,Y,P,se,T,re,G,b=!1,S=!0;if(e.sCount[n]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[n]>=e.blkIndent&&(b=!0),(Y=el(e,n))>=0){if(f=!0,se=e.bMarks[n]+e.tShift[n],L=Number(e.src.slice(se,Y-1)),b&&L!==1)return!1}else if((Y=Qi(e,n))>=0)f=!1;else return!1;if(b&&e.skipSpaces(Y)>=e.eMarks[n])return!1;if(M=e.src.charCodeAt(Y-1),s)return!0;for(k=e.tokens.length,f?(G=e.push("ordered_list_open","ol",1),L!==1&&(G.attrs=[["start",L]])):G=e.push("bullet_list_open","ul",1),G.map=E=[n,0],G.markup=String.fromCharCode(M),q=n,P=!1,re=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";q<r;){for(z=Y,D=e.eMarks[q],u=O=e.sCount[q]+Y-(e.bMarks[n]+e.tShift[n]);z<D;){if(o=e.src.charCodeAt(z),o===9)O+=4-(O+e.bsCount[q])%4;else if(o===32)O++;else break;z++}if(c=z,c>=D?a=1:a=O-u,a>4&&(a=1),l=u+a,G=e.push("list_item_open","li",1),G.markup=String.fromCharCode(M),G.map=p=[n,0],f&&(G.info=e.src.slice(se,Y-1)),Q=e.tight,B=e.tShift[n],K=e.sCount[n],$=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=c-e.bMarks[n],e.sCount[n]=O,c>=D&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,n,r,!0),(!e.tight||P)&&(S=!1),P=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=$,e.tShift[n]=B,e.sCount[n]=K,e.tight=Q,G=e.push("list_item_close","li",-1),G.markup=String.fromCharCode(M),q=n=e.line,p[1]=q,c=e.bMarks[n],q>=r||e.sCount[q]<e.blkIndent||e.sCount[n]-e.blkIndent>=4)break;for(T=!1,i=0,d=re.length;i<d;i++)if(re[i](e,q,r,!0)){T=!0;break}if(T)break;if(f){if(Y=el(e,q),Y<0)break;se=e.bMarks[q]+e.tShift[q]}else if(Y=Qi(e,q),Y<0)break;if(M!==e.src.charCodeAt(Y-1))break}return f?G=e.push("ordered_list_close","ol",-1):G=e.push("bullet_list_close","ul",-1),G.markup=String.fromCharCode(M),E[1]=q,e.line=q,e.parentType=x,S&&Gh(e,k),!0},Zh=ie.normalizeReference,Er=ie.isSpace,Kh=function(e,n,r,s){var o,c,i,l,a,u,f,p,d,E,k,M,L,D,q,O,$=0,x=e.bMarks[n]+e.tShift[n],K=e.eMarks[n],B=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(x)!==91)return!1;for(;++x<K;)if(e.src.charCodeAt(x)===93&&e.src.charCodeAt(x-1)!==92){if(x+1===K||e.src.charCodeAt(x+1)!==58)return!1;break}for(l=e.lineMax,q=e.md.block.ruler.getRules("reference"),E=e.parentType,e.parentType="reference";B<l&&!e.isEmpty(B);B++)if(!(e.sCount[B]-e.blkIndent>3)&&!(e.sCount[B]<0)){for(D=!1,u=0,f=q.length;u<f;u++)if(q[u](e,B,l,!0)){D=!0;break}if(D)break}for(L=e.getLines(n,B,e.blkIndent,!1).trim(),K=L.length,x=1;x<K;x++){if(o=L.charCodeAt(x),o===91)return!1;if(o===93){d=x;break}else o===10?$++:o===92&&(x++,x<K&&L.charCodeAt(x)===10&&$++)}if(d<0||L.charCodeAt(d+1)!==58)return!1;for(x=d+2;x<K;x++)if(o=L.charCodeAt(x),o===10)$++;else if(!Er(o))break;if(k=e.md.helpers.parseLinkDestination(L,x,K),!k.ok||(a=e.md.normalizeLink(k.str),!e.md.validateLink(a)))return!1;for(x=k.pos,$+=k.lines,c=x,i=$,M=x;x<K;x++)if(o=L.charCodeAt(x),o===10)$++;else if(!Er(o))break;for(k=e.md.helpers.parseLinkTitle(L,x,K),x<K&&M!==x&&k.ok?(O=k.str,x=k.pos,$+=k.lines):(O="",x=c,$=i);x<K&&(o=L.charCodeAt(x),!!Er(o));)x++;if(x<K&&L.charCodeAt(x)!==10&&O)for(O="",x=c,$=i;x<K&&(o=L.charCodeAt(x),!!Er(o));)x++;return x<K&&L.charCodeAt(x)!==10||(p=Zh(L.slice(1,d)),!p)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[p]>"u"&&(e.env.references[p]={title:O,href:a}),e.parentType=E,e.line=n+$+1),!0)},Wh=["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","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ar={},Jh="[a-zA-Z_:][a-zA-Z0-9:._-]*",Yh="[^\"'=<>`\\x00-\\x20]+",Xh="'[^']*'",Qh='"[^"]*"',ed="(?:"+Yh+"|"+Xh+"|"+Qh+")",td="(?:\\s+"+Jh+"(?:\\s*=\\s*"+ed+")?)",tl="<[A-Za-z][A-Za-z0-9\\-]*"+td+"*\\s*\\/?>",nl="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",nd="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",rd="<[?][\\s\\S]*?[?]>",sd="<![A-Z]+\\s+[^>]*>",od="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",cd=new RegExp("^(?:"+tl+"|"+nl+"|"+nd+"|"+rd+"|"+sd+"|"+od+")"),id=new RegExp("^(?:"+tl+"|"+nl+")");Ar.HTML_TAG_RE=cd,Ar.HTML_OPEN_CLOSE_TAG_RE=id;var ld=Wh,ad=Ar.HTML_OPEN_CLOSE_TAG_RE,nn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+ld.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(ad.source+"\\s*$"),/^$/,!1]],ud=function(e,n,r,s){var o,c,i,l,a=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(a)!==60)return!1;for(l=e.src.slice(a,u),o=0;o<nn.length&&!nn[o][0].test(l);o++);if(o===nn.length)return!1;if(s)return nn[o][2];if(c=n+1,!nn[o][1].test(l)){for(;c<r&&!(e.sCount[c]<e.blkIndent);c++)if(a=e.bMarks[c]+e.tShift[c],u=e.eMarks[c],l=e.src.slice(a,u),nn[o][1].test(l)){l.length!==0&&c++;break}}return e.line=c,i=e.push("html_block","",0),i.map=[n,c],i.content=e.getLines(n,c,e.blkIndent,!0),!0},rl=ie.isSpace,fd=function(e,n,r,s){var o,c,i,l,a=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(o=e.src.charCodeAt(a),o!==35||a>=u))return!1;for(c=1,o=e.src.charCodeAt(++a);o===35&&a<u&&c<=6;)c++,o=e.src.charCodeAt(++a);return c>6||a<u&&!rl(o)?!1:(s||(u=e.skipSpacesBack(u,a),i=e.skipCharsBack(u,35,a),i>a&&rl(e.src.charCodeAt(i-1))&&(u=i),e.line=n+1,l=e.push("heading_open","h"+String(c),1),l.markup="########".slice(0,c),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(a,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(c),-1),l.markup="########".slice(0,c)),!0)},pd=function(e,n,r){var s,o,c,i,l,a,u,f,p,d=n+1,E,k=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(E=e.parentType,e.parentType="paragraph";d<r&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(a=e.bMarks[d]+e.tShift[d],u=e.eMarks[d],a<u&&(p=e.src.charCodeAt(a),(p===45||p===61)&&(a=e.skipChars(a,p),a=e.skipSpaces(a),a>=u)))){f=p===61?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,c=0,i=k.length;c<i;c++)if(k[c](e,d,r,!0)){o=!0;break}if(o)break}}return f?(s=e.getLines(n,d,e.blkIndent,!1).trim(),e.line=d+1,l=e.push("heading_open","h"+String(f),1),l.markup=String.fromCharCode(p),l.map=[n,e.line],l=e.push("inline","",0),l.content=s,l.map=[n,e.line-1],l.children=[],l=e.push("heading_close","h"+String(f),-1),l.markup=String.fromCharCode(p),e.parentType=E,!0):!1},hd=function(e,n){var r,s,o,c,i,l,a=n+1,u=e.md.block.ruler.getRules("paragraph"),f=e.lineMax;for(l=e.parentType,e.parentType="paragraph";a<f&&!e.isEmpty(a);a++)if(!(e.sCount[a]-e.blkIndent>3)&&!(e.sCount[a]<0)){for(s=!1,o=0,c=u.length;o<c;o++)if(u[o](e,a,f,!0)){s=!0;break}if(s)break}return r=e.getLines(n,a,e.blkIndent,!1).trim(),e.line=a,i=e.push("paragraph_open","p",1),i.map=[n,e.line],i=e.push("inline","",0),i.content=r,i.map=[n,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=l,!0},sl=Ps,Cr=ie.isSpace;function We(t,e,n,r){var s,o,c,i,l,a,u,f;for(this.src=t,this.md=e,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",o=this.src,f=!1,c=i=a=u=0,l=o.length;i<l;i++){if(s=o.charCodeAt(i),!f)if(Cr(s)){a++,s===9?u+=4-u%4:u++;continue}else f=!0;(s===10||i===l-1)&&(s!==10&&i++,this.bMarks.push(c),this.eMarks.push(i),this.tShift.push(a),this.sCount.push(u),this.bsCount.push(0),f=!1,a=0,u=0,c=i+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}We.prototype.push=function(t,e,n){var r=new sl(t,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},We.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},We.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},We.prototype.skipSpaces=function(e){for(var n,r=this.src.length;e<r&&(n=this.src.charCodeAt(e),!!Cr(n));e++);return e},We.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!Cr(this.src.charCodeAt(--e)))return e+1;return e},We.prototype.skipChars=function(e,n){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===n;e++);return e},We.prototype.skipCharsBack=function(e,n,r){if(e<=r)return e;for(;e>r;)if(n!==this.src.charCodeAt(--e))return e+1;return e},We.prototype.getLines=function(e,n,r,s){var o,c,i,l,a,u,f,p=e;if(e>=n)return"";for(u=new Array(n-e),o=0;p<n;p++,o++){for(c=0,f=l=this.bMarks[p],p+1<n||s?a=this.eMarks[p]+1:a=this.eMarks[p];l<a&&c<r;){if(i=this.src.charCodeAt(l),Cr(i))i===9?c+=4-(c+this.bsCount[p])%4:c++;else if(l-f<this.tShift[p])c++;else break;l++}c>r?u[o]=new Array(c-r+1).join(" ")+this.src.slice(l,a):u[o]=this.src.slice(l,a)}return u.join("")},We.prototype.Token=sl;var dd=We,gd=Bs,Sr=[["table",Ph,["paragraph","reference"]],["code",Uh],["fence",$h,["paragraph","reference","blockquote","list"]],["blockquote",zh,["paragraph","reference","blockquote","list"]],["hr",Hh,["paragraph","reference","blockquote","list"]],["list",jh,["paragraph","reference","blockquote"]],["reference",Kh],["html_block",ud,["paragraph","reference","blockquote"]],["heading",fd,["paragraph","reference","blockquote"]],["lheading",pd],["paragraph",hd]];function Dr(){this.ruler=new gd;for(var t=0;t<Sr.length;t++)this.ruler.push(Sr[t][0],Sr[t][1],{alt:(Sr[t][2]||[]).slice()})}Dr.prototype.tokenize=function(t,e,n){for(var r,s,o=this.ruler.getRules(""),c=o.length,i=e,l=!1,a=t.md.options.maxNesting;i<n&&(t.line=i=t.skipEmptyLines(i),!(i>=n||t.sCount[i]<t.blkIndent));){if(t.level>=a){t.line=n;break}for(s=0;s<c&&(r=o[s](t,i,n,!1),!r);s++);t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),i=t.line,i<n&&t.isEmpty(i)&&(l=!0,i++,t.line=i)}},Dr.prototype.parse=function(t,e,n,r){var s;t&&(s=new this.State(t,e,n,r),this.tokenize(s,s.line,s.lineMax))},Dr.prototype.State=dd;var md=Dr;function bd(t){switch(t){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}}for(var _d=function(e,n){for(var r=e.pos;r<e.posMax&&!bd(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},vd=ie.isSpace,yd=function(e,n){var r,s,o,c=e.pos;if(e.src.charCodeAt(c)!==10)return!1;if(r=e.pending.length-1,s=e.posMax,!n)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(o=r-1;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),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(c++;c<s&&vd(e.src.charCodeAt(c));)c++;return e.pos=c,!0},xd=ie.isSpace,Hs=[],ol=0;ol<256;ol++)Hs.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){Hs[t.charCodeAt(0)]=1});var wd=function(e,n){var r,s=e.pos,o=e.posMax;if(e.src.charCodeAt(s)!==92)return!1;if(s++,s<o){if(r=e.src.charCodeAt(s),r<256&&Hs[r]!==0)return n||(e.pending+=e.src[s]),e.pos+=2,!0;if(r===10){for(n||e.push("hardbreak","br",0),s++;s<o&&(r=e.src.charCodeAt(s),!!xd(r));)s++;return e.pos=s,!0}}return n||(e.pending+="\\"),e.pos++,!0},kd=function(e,n){var r,s,o,c,i,l,a,u,f=e.pos,p=e.src.charCodeAt(f);if(p!==96)return!1;for(r=f,f++,s=e.posMax;f<s&&e.src.charCodeAt(f)===96;)f++;if(o=e.src.slice(r,f),a=o.length,e.backticksScanned&&(e.backticks[a]||0)<=r)return n||(e.pending+=o),e.pos+=a,!0;for(i=l=f;(i=e.src.indexOf("`",l))!==-1;){for(l=i+1;l<s&&e.src.charCodeAt(l)===96;)l++;if(u=l-i,u===a)return n||(c=e.push("code_inline","code",0),c.markup=o,c.content=e.src.slice(f,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=l,!0;e.backticks[u]=i}return e.backticksScanned=!0,n||(e.pending+=o),e.pos+=a,!0},qr={};qr.tokenize=function(e,n){var r,s,o,c,i,l=e.pos,a=e.src.charCodeAt(l);if(n||a!==126||(s=e.scanDelims(e.pos,!0),c=s.length,i=String.fromCharCode(a),c<2))return!1;for(c%2&&(o=e.push("text","",0),o.content=i,c--),r=0;r<c;r+=2)o=e.push("text","",0),o.content=i+i,e.delimiters.push({marker:a,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function cl(t,e){var n,r,s,o,c,i=[],l=e.length;for(n=0;n<l;n++)s=e[n],s.marker===126&&s.end!==-1&&(o=e[s.end],c=t.tokens[s.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[o.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[o.token-1].type==="text"&&t.tokens[o.token-1].content==="~"&&i.push(o.token-1));for(;i.length;){for(n=i.pop(),r=n+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,n!==r&&(c=t.tokens[r],t.tokens[r]=t.tokens[n],t.tokens[n]=c)}}qr.postProcess=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(cl(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&cl(e,r[n].delimiters)};var Tr={};Tr.tokenize=function(e,n){var r,s,o,c=e.pos,i=e.src.charCodeAt(c);if(n||i!==95&&i!==42)return!1;for(s=e.scanDelims(e.pos,i===42),r=0;r<s.length;r++)o=e.push("text","",0),o.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:s.length,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function il(t,e){var n,r,s,o,c,i,l=e.length;for(n=l-1;n>=0;n--)r=e[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],i=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,c=String.fromCharCode(r.marker),o=t.tokens[r.token],o.type=i?"strong_open":"em_open",o.tag=i?"strong":"em",o.nesting=1,o.markup=i?c+c:c,o.content="",o=t.tokens[s.token],o.type=i?"strong_close":"em_close",o.tag=i?"strong":"em",o.nesting=-1,o.markup=i?c+c:c,o.content="",i&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}Tr.postProcess=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(il(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&il(e,r[n].delimiters)};var Ed=ie.normalizeReference,Gs=ie.isSpace,Ad=function(e,n){var r,s,o,c,i,l,a,u,f,p="",d="",E=e.pos,k=e.posMax,M=e.pos,L=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,c=e.md.helpers.parseLinkLabel(e,e.pos,!0),c<0))return!1;if(l=c+1,l<k&&e.src.charCodeAt(l)===40){for(L=!1,l++;l<k&&(s=e.src.charCodeAt(l),!(!Gs(s)&&s!==10));l++);if(l>=k)return!1;if(M=l,a=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),a.ok){for(p=e.md.normalizeLink(a.str),e.md.validateLink(p)?l=a.pos:p="",M=l;l<k&&(s=e.src.charCodeAt(l),!(!Gs(s)&&s!==10));l++);if(a=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<k&&M!==l&&a.ok)for(d=a.str,l=a.pos;l<k&&(s=e.src.charCodeAt(l),!(!Gs(s)&&s!==10));l++);}(l>=k||e.src.charCodeAt(l)!==41)&&(L=!0),l++}if(L){if(typeof e.env.references>"u")return!1;if(l<k&&e.src.charCodeAt(l)===91?(M=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?o=e.src.slice(M,l++):l=c+1):l=c+1,o||(o=e.src.slice(i,c)),u=e.env.references[Ed(o)],!u)return e.pos=E,!1;p=u.href,d=u.title}return n||(e.pos=i,e.posMax=c,f=e.push("link_open","a",1),f.attrs=r=[["href",p]],d&&r.push(["title",d]),e.md.inline.tokenize(e),f=e.push("link_close","a",-1)),e.pos=l,e.posMax=k,!0},Cd=ie.normalizeReference,js=ie.isSpace,Sd=function(e,n){var r,s,o,c,i,l,a,u,f,p,d,E,k,M="",L=e.pos,D=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(a=i+1,a<D&&e.src.charCodeAt(a)===40){for(a++;a<D&&(s=e.src.charCodeAt(a),!(!js(s)&&s!==10));a++);if(a>=D)return!1;for(k=a,f=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),f.ok&&(M=e.md.normalizeLink(f.str),e.md.validateLink(M)?a=f.pos:M=""),k=a;a<D&&(s=e.src.charCodeAt(a),!(!js(s)&&s!==10));a++);if(f=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<D&&k!==a&&f.ok)for(p=f.str,a=f.pos;a<D&&(s=e.src.charCodeAt(a),!(!js(s)&&s!==10));a++);else p="";if(a>=D||e.src.charCodeAt(a)!==41)return e.pos=L,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a<D&&e.src.charCodeAt(a)===91?(k=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?c=e.src.slice(k,a++):a=i+1):a=i+1,c||(c=e.src.slice(l,i)),u=e.env.references[Cd(c)],!u)return e.pos=L,!1;M=u.href,p=u.title}return n||(o=e.src.slice(l,i),e.md.inline.parse(o,e.md,e.env,E=[]),d=e.push("image","img",0),d.attrs=r=[["src",M],["alt",""]],d.children=E,d.content=o,p&&r.push(["title",p])),e.pos=a,e.posMax=D,!0},Dd=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,qd=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Td=function(e,n){var r,s,o,c,i,l,a=e.pos;if(e.src.charCodeAt(a)!==60)return!1;for(i=e.pos,l=e.posMax;;){if(++a>=l||(c=e.src.charCodeAt(a),c===60))return!1;if(c===62)break}return r=e.src.slice(i+1,a),qd.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(n||(o=e.push("link_open","a",1),o.attrs=[["href",s]],o.markup="autolink",o.info="auto",o=e.push("text","",0),o.content=e.md.normalizeLinkText(r),o=e.push("link_close","a",-1),o.markup="autolink",o.info="auto"),e.pos+=r.length+2,!0):!1):Dd.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(n||(o=e.push("link_open","a",1),o.attrs=[["href",s]],o.markup="autolink",o.info="auto",o=e.push("text","",0),o.content=e.md.normalizeLinkText(r),o=e.push("link_close","a",-1),o.markup="autolink",o.info="auto"),e.pos+=r.length+2,!0):!1):!1},Rd=Ar.HTML_TAG_RE;function Ld(t){var e=t|32;return e>=97&&e<=122}var Nd=function(e,n){var r,s,o,c,i=e.pos;return!e.md.options.html||(o=e.posMax,e.src.charCodeAt(i)!==60||i+2>=o)||(r=e.src.charCodeAt(i+1),r!==33&&r!==63&&r!==47&&!Ld(r))||(s=e.src.slice(i).match(Rd),!s)?!1:(n||(c=e.push("html_inline","",0),c.content=e.src.slice(i,i+s[0].length)),e.pos+=s[0].length,!0)},ll=Ci,Id=ie.has,Md=ie.isValidEntityCode,al=ie.fromCodePoint,Od=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Fd=/^&([a-z][a-z0-9]{1,31});/i,Bd=function(e,n){var r,s,o,c=e.pos,i=e.posMax;if(e.src.charCodeAt(c)!==38)return!1;if(c+1<i){if(r=e.src.charCodeAt(c+1),r===35){if(o=e.src.slice(c).match(Od),o)return n||(s=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),e.pending+=Md(s)?al(s):al(65533)),e.pos+=o[0].length,!0}else if(o=e.src.slice(c).match(Fd),o&&Id(ll,o[1]))return n||(e.pending+=ll[o[1]]),e.pos+=o[0].length,!0}return n||(e.pending+="&"),e.pos++,!0};function ul(t,e){var n,r,s,o,c,i,l,a,u={},f=e.length;if(f){var p=0,d=-2,E=[];for(n=0;n<f;n++)if(s=e[n],E.push(0),(e[p].marker!==s.marker||d!==s.token-1)&&(p=n),d=s.token,s.length=s.length||0,!!s.close){for(u.hasOwnProperty(s.marker)||(u[s.marker]=[-1,-1,-1,-1,-1,-1]),c=u[s.marker][(s.open?3:0)+s.length%3],r=p-E[p]-1,i=r;r>c;r-=E[r]+1)if(o=e[r],o.marker===s.marker&&o.open&&o.end<0&&(l=!1,(o.close||s.open)&&(o.length+s.length)%3===0&&(o.length%3!==0||s.length%3!==0)&&(l=!0),!l)){a=r>0&&!e[r-1].open?E[r-1]+1:0,E[n]=n-r+a,E[r]=a,s.open=!1,o.end=n,o.close=!1,i=-1,d=-2;break}i!==-1&&(u[s.marker][(s.open?3:0)+(s.length||0)%3]=i)}}}var Pd=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(ul(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&ul(e,r[n].delimiters)},Ud=function(e){var n,r,s=0,o=e.tokens,c=e.tokens.length;for(n=r=0;n<c;n++)o[n].nesting<0&&s--,o[n].level=s,o[n].nesting>0&&s++,o[n].type==="text"&&n+1<c&&o[n+1].type==="text"?o[n+1].content=o[n].content+o[n+1].content:(n!==r&&(o[r]=o[n]),r++);n!==r&&(o.length=r)},Zs=Ps,fl=ie.isWhiteSpace,pl=ie.isPunctChar,hl=ie.isMdAsciiPunct;function Sn(t,e,n,r){this.src=t,this.env=n,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}Sn.prototype.pushPending=function(){var t=new Zs("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},Sn.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new Zs(t,e,n),s=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=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},Sn.prototype.scanDelims=function(t,e){var n=t,r,s,o,c,i,l,a,u,f,p=!0,d=!0,E=this.posMax,k=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n<E&&this.src.charCodeAt(n)===k;)n++;return o=n-t,s=n<E?this.src.charCodeAt(n):32,a=hl(r)||pl(String.fromCharCode(r)),f=hl(s)||pl(String.fromCharCode(s)),l=fl(r),u=fl(s),u?p=!1:f&&(l||a||(p=!1)),l?d=!1:a&&(u||f||(d=!1)),e?(c=p,i=d):(c=p&&(!d||a),i=d&&(!p||f)),{can_open:c,can_close:i,length:o}},Sn.prototype.Token=Zs;var $d=Sn,dl=Bs,Ks=[["text",_d],["newline",yd],["escape",wd],["backticks",kd],["strikethrough",qr.tokenize],["emphasis",Tr.tokenize],["link",Ad],["image",Sd],["autolink",Td],["html_inline",Nd],["entity",Bd]],Ws=[["balance_pairs",Pd],["strikethrough",qr.postProcess],["emphasis",Tr.postProcess],["text_collapse",Ud]];function Dn(){var t;for(this.ruler=new dl,t=0;t<Ks.length;t++)this.ruler.push(Ks[t][0],Ks[t][1]);for(this.ruler2=new dl,t=0;t<Ws.length;t++)this.ruler2.push(Ws[t][0],Ws[t][1])}Dn.prototype.skipToken=function(t){var e,n,r=t.pos,s=this.ruler.getRules(""),o=s.length,c=t.md.options.maxNesting,i=t.cache;if(typeof i[r]<"u"){t.pos=i[r];return}if(t.level<c)for(n=0;n<o&&(t.level++,e=s[n](t,!0),t.level--,!e);n++);else t.pos=t.posMax;e||t.pos++,i[r]=t.pos},Dn.prototype.tokenize=function(t){for(var e,n,r=this.ruler.getRules(""),s=r.length,o=t.posMax,c=t.md.options.maxNesting;t.pos<o;){if(t.level<c)for(n=0;n<s&&(e=r[n](t,!1),!e);n++);if(e){if(t.pos>=o)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Dn.prototype.parse=function(t,e,n,r){var s,o,c,i=new this.State(t,e,n,r);for(this.tokenize(i),o=this.ruler2.getRules(""),c=o.length,s=0;s<c;s++)o[s](i)},Dn.prototype.State=$d;var zd=Dn,Js,gl;function Vd(){return gl||(gl=1,Js=function(t){var e={};e.src_Any=Mi().source,e.src_Cc=Fi().source,e.src_Z=Ui().source,e.src_P=Ns.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var n="[><|]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.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]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+").|;(?!"+e.src_ZCc+").|\\!+(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Js}function Ys(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Rr(t){return Object.prototype.toString.call(t)}function Hd(t){return Rr(t)==="[object String]"}function Gd(t){return Rr(t)==="[object Object]"}function jd(t){return Rr(t)==="[object RegExp]"}function ml(t){return Rr(t)==="[object Function]"}function Zd(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var bl={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Kd(t){return Object.keys(t||{}).reduce(function(e,n){return e||bl.hasOwnProperty(n)},!1)}var Wd={"http:":{validate:function(t,e,n){var r=t.slice(e);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(t,e,n){var r=t.slice(e);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)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);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}}},Jd="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]",Yd="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Xd(t){t.__index__=-1,t.__text_cache__=""}function Qd(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function _l(){return function(t,e){e.normalize(t)}}function Lr(t){var e=t.re=Vd()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Jd),n.push(e.src_xn),e.src_tlds=n.join("|");function r(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var s=[];t.__compiled__={};function o(i,l){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+l)}Object.keys(t.__schemas__).forEach(function(i){var l=t.__schemas__[i];if(l!==null){var a={validate:null,link:null};if(t.__compiled__[i]=a,Gd(l)){jd(l.validate)?a.validate=Qd(l.validate):ml(l.validate)?a.validate=l.validate:o(i,l),ml(l.normalize)?a.normalize=l.normalize:l.normalize?o(i,l):a.normalize=_l();return}if(Hd(l)){s.push(i);return}o(i,l)}}),s.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:_l()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(Zd).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),Xd(t)}function eg(t,e){var n=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function vl(t,e){var n=new eg(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Fe(t,e){if(!(this instanceof Fe))return new Fe(t,e);e||Kd(t)&&(e=t,t={}),this.__opts__=Ys({},bl,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ys({},Wd,t),this.__compiled__={},this.__tlds__=Yd,this.__tlds_replaced__=!1,this.re={},Lr(this)}Fe.prototype.add=function(e,n){return this.__schemas__[e]=n,Lr(this),this},Fe.prototype.set=function(e){return this.__opts__=Ys(this.__opts__,e),this},Fe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,r,s,o,c,i,l,a,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(o=this.testSchemaAt(e,n[2],l.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(a=e.search(this.re.host_fuzzy_test),a>=0&&(this.__index__<0||a<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=r.index+r[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(c=s.index+s[1].length,i=s.index+s[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},Fe.prototype.pretest=function(e){return this.re.pretest.test(e)},Fe.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0},Fe.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(vl(this,n)),n=this.__last_index__);for(var s=n?e.slice(n):e;this.test(s);)r.push(vl(this,n)),s=s.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null},Fe.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,o){return r!==o[s-1]}).reverse(),Lr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Lr(this),this)},Fe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},Fe.prototype.onCompile=function(){};var tg=Fe;const rn=2147483647,Je=36,Xs=1,qn=26,ng=38,rg=700,yl=72,xl=128,wl="-",sg=/^xn--/,og=/[^\0-\x7F]/,cg=/[\x2E\u3002\uFF0E\uFF61]/g,ig={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qs=Je-Xs,Ye=Math.floor,eo=String.fromCharCode;function _t(t){throw new RangeError(ig[t])}function lg(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function kl(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(cg,".");const s=t.split("."),o=lg(s,e).join(".");return r+o}function to(t){const e=[];let n=0;const r=t.length;for(;n<r;){const s=t.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){const o=t.charCodeAt(n++);(o&64512)==56320?e.push(((s&1023)<<10)+(o&1023)+65536):(e.push(s),n--)}else e.push(s)}return e}const El=t=>String.fromCodePoint(...t),ag=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Je},Al=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Cl=function(t,e,n){let r=0;for(t=n?Ye(t/rg):t>>1,t+=Ye(t/e);t>Qs*qn>>1;r+=Je)t=Ye(t/Qs);return Ye(r+(Qs+1)*t/(t+ng))},no=function(t){const e=[],n=t.length;let r=0,s=xl,o=yl,c=t.lastIndexOf(wl);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&_t("not-basic"),e.push(t.charCodeAt(i));for(let i=c>0?c+1:0;i<n;){const l=r;for(let u=1,f=Je;;f+=Je){i>=n&&_t("invalid-input");const p=ag(t.charCodeAt(i++));p>=Je&&_t("invalid-input"),p>Ye((rn-r)/u)&&_t("overflow"),r+=p*u;const d=f<=o?Xs:f>=o+qn?qn:f-o;if(p<d)break;const E=Je-d;u>Ye(rn/E)&&_t("overflow"),u*=E}const a=e.length+1;o=Cl(r-l,a,l==0),Ye(r/a)>rn-s&&_t("overflow"),s+=Ye(r/a),r%=a,e.splice(r++,0,s)}return String.fromCodePoint(...e)},ro=function(t){const e=[];t=to(t);const n=t.length;let r=xl,s=0,o=yl;for(const l of t)l<128&&e.push(eo(l));const c=e.length;let i=c;for(c&&e.push(wl);i<n;){let l=rn;for(const u of t)u>=r&&u<l&&(l=u);const a=i+1;l-r>Ye((rn-s)/a)&&_t("overflow"),s+=(l-r)*a,r=l;for(const u of t)if(u<r&&++s>rn&&_t("overflow"),u===r){let f=s;for(let p=Je;;p+=Je){const d=p<=o?Xs:p>=o+qn?qn:p-o;if(f<d)break;const E=f-d,k=Je-d;e.push(eo(Al(d+E%k,0))),f=Ye(E/k)}e.push(eo(Al(f,0))),o=Cl(s,a,i===c),s=0,++i}++s,++r}return e.join("")},Sl=function(t){return kl(t,function(e){return sg.test(e)?no(e.slice(4).toLowerCase()):e})},Dl=function(t){return kl(t,function(e){return og.test(e)?"xn--"+ro(e):e})},ug=wf(Object.freeze(Object.defineProperty({__proto__:null,decode:no,default:{version:"2.3.1",ucs2:{decode:to,encode:El},decode:no,encode:ro,toASCII:Dl,toUnicode:Sl},encode:ro,toASCII:Dl,toUnicode:Sl,ucs2decode:to,ucs2encode:El},Symbol.toStringTag,{value:"Module"})));var fg={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},pg={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}},hg={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}},Tn=ie,dg=wr,gg=gh,mg=Bh,bg=md,_g=zd,vg=tg,Mt=Qt,ql=ug,yg={default:fg,zero:pg,commonmark:hg},xg=/^(vbscript|javascript|file|data):/,wg=/^data:image\/(gif|png|jpeg|webp);/;function kg(t){var e=t.trim().toLowerCase();return xg.test(e)?!!wg.test(e):!0}var Tl=["http:","https:","mailto:"];function Eg(t){var e=Mt.parse(t,!0);if(e.hostname&&(!e.protocol||Tl.indexOf(e.protocol)>=0))try{e.hostname=ql.toASCII(e.hostname)}catch{}return Mt.encode(Mt.format(e))}function Ag(t){var e=Mt.parse(t,!0);if(e.hostname&&(!e.protocol||Tl.indexOf(e.protocol)>=0))try{e.hostname=ql.toUnicode(e.hostname)}catch{}return Mt.decode(Mt.format(e),Mt.decode.defaultChars+"%")}function Be(t,e){if(!(this instanceof Be))return new Be(t,e);e||Tn.isString(t)||(e=t||{},t="default"),this.inline=new _g,this.block=new bg,this.core=new mg,this.renderer=new gg,this.linkify=new vg,this.validateLink=kg,this.normalizeLink=Eg,this.normalizeLinkText=Ag,this.utils=Tn,this.helpers=Tn.assign({},dg),this.options={},this.configure(t),e&&this.set(e)}Be.prototype.set=function(t){return Tn.assign(this.options,t),this},Be.prototype.configure=function(t){var e=this,n;if(Tn.isString(t)&&(n=t,t=yg[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},Be.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){n=n.concat(this[s].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(s){return n.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},Be.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){n=n.concat(this[s].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(s){return n.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},Be.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},Be.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},Be.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Be.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},Be.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Cg=Be,Sg=Cg;const Dg=Cs(Sg);var qg=Ue({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup:function(t){for(var e,n,r=lt(new Dg((e=t.options)!==null&&e!==void 0?e:{})),s=0,o=(n=t.plugins)!==null&&n!==void 0?n:[];s<o.length;s++){var c=o[s];r.value.use(c)}var i=Ze(function(){return r.value.render(t.source)});return function(){return Mc("div",{innerHTML:i.value})}}});function Tg(t,e){var n,r,s=t.attrs[t.attrIndex("href")][1];for(n=0;n<e.length;++n){if(r=e[n],typeof r.matcher=="function"){if(r.matcher(s,r))return r;continue}return r}}function Rg(t,e,n){Object.keys(n).forEach(function(r){var s,o=n[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,o]):e[t].attrs[s][1]=o})}function Rl(t,e){e?e=Array.isArray(e)?e:[e]:e=[],Object.freeze(e);var n=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(r,s,o,c,i){var l=Tg(r[s],e),a=l&&l.attrs;return a&&Rg(s,r,a),n(r,s,o,c,i)}}Rl.defaultRender=function(t,e,n,r,s){return s.renderToken(t,e,n)};var Lg=Rl;const Ng=Cs(Lg),so=Ue({__name:"Message",props:{message:{}},setup(t){const e=t,{message:n}=Ea(e),{options:r}=Cn(),s=Ze(()=>n.value.text||"&lt;Empty response&gt;"),o=Ze(()=>({"chat-message-from-user":n.value.sender==="user","chat-message-from-bot":n.value.sender==="bot","chat-message-transparent":n.value.transparent===!0})),c=a=>{a.use(Ng,{attrs:{target:"_blank",rel:"noopener"}})},i={highlight(a,u){if(u&&br.getLanguage(u))try{return br.highlight(a,{language:u}).value}catch{}return""}},l=(r==null?void 0:r.messageComponents)??{};return(a,u)=>(ee(),de("div",{class:Vt(["chat-message",o.value])},[hn(a.$slots,"default",{},()=>[le(n).type==="component"&&le(l)[le(n).key]?(ee(),ye(za(le(l)[le(n).key]),Kl(Sc({key:0},le(n).arguments)),null,16)):(ee(),ye(le(qg),{key:1,class:"chat-message-markdown",source:s.value,options:i,plugins:[c]},null,8,["source","plugins"]))])],2))}}),Ig=xe("div",{class:"chat-message-typing-body"},[xe("span",{class:"chat-message-typing-circle"}),xe("span",{class:"chat-message-typing-circle"}),xe("span",{class:"chat-message-typing-circle"})],-1),Mg=Ue({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(t){const e=t,n={id:"typing",text:"",sender:"bot",createdAt:""},r=Ze(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${e.animation}`]:!0}));return(s,o)=>(ee(),ye(le(so),{class:Vt(r.value),message:n},{default:ut(()=>[Ig]),_:1},8,["class"]))}}),Og={class:"chat-messages-list"},Fg=Ue({__name:"MessagesList",props:{messages:{}},setup(t){const e=Ls(),{initialMessages:n,waitingForResponse:r}=e;return(s,o)=>(ee(),de("div",Og,[(ee(!0),de(Te,null,oc(le(n),c=>(ee(),ye(so,{key:c.id,message:c},null,8,["message"]))),128)),(ee(!0),de(Te,null,oc(s.messages,c=>(ee(),ye(so,{key:c.id,message:c},null,8,["message"]))),128)),le(r)?(ee(),ye(Mg,{key:0})):Dt("",!0)]))}}),Bg={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Pg=[xe("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)];function Ug(t,e){return ee(),de("svg",Bg,[...Pg])}const $g={name:"mdi-send",render:Ug},zg={class:"chat-input"},Vg=["disabled","placeholder"],Hg=["disabled"],Gg=Ue({__name:"Input",setup(t){const{options:e}=Cn(),n=Ls(),{waitingForResponse:r}=n,{t:s}=_r(),o=lt(null),c=lt(""),i=Ze(()=>{var f;return c.value===""||r.value||((f=e.disabled)==null?void 0:f.value)===!0}),l=Ze(()=>{var f;return((f=e.disabled)==null?void 0:f.value)===!0});Kt(()=>{nt.on("focusInput",()=>{o.value&&o.value.focus()})});async function a(f){if(f.preventDefault(),i.value)return;const p=c.value;c.value="",await n.sendMessage(p)}async function u(f){f.shiftKey||await a(f)}return(f,p)=>(ee(),de("div",zg,[Xo(xe("textarea",{ref_key:"chatTextArea",ref:o,"onUpdate:modelValue":p[0]||(p[0]=d=>c.value=d),rows:"1",disabled:l.value,placeholder:le(s)("inputPlaceholder"),onKeydown:mf(u,["enter"])},null,40,Vg),[[df,c.value]]),xe("button",{disabled:i.value,class:"chat-input-send-button",onClick:a},[ge(le($g),{height:"32",width:"32"})],8,Hg)]))}}),jg={class:"chat-heading"},Zg=["title"],Kg={key:0},Ll=Ue({__name:"Chat",setup(t){const{t:e}=_r(),n=Ls(),{messages:r,currentSessionId:s}=n,{options:o}=Cn(),c=Ze(()=>o.mode==="window"&&o.showWindowCloseButton);async function i(){n.startNewSession&&(n.startNewSession(),Zt(()=>{nt.emit("scrollToBottom")}))}async function l(){n.loadPreviousSession&&(await n.loadPreviousSession(),Zt(()=>{nt.emit("scrollToBottom")}))}function a(){nt.emit("close")}return Kt(async()=>{await l(),!o.showWelcomeScreen&&!s.value&&await i()}),(u,f)=>(ee(),ye(Ip,{class:"chat-wrapper"},{header:ut(()=>[xe("div",jg,[xe("h1",null,Un(le(e)("title")),1),c.value?(ee(),de("button",{key:0,class:"chat-close-button",title:le(e)("closeButtonTooltip"),onClick:a},[ge(le(Dp),{height:"18",width:"18"})],8,Zg)):Dt("",!0)]),le(e)("subtitle")?(ee(),de("p",Kg,Un(le(e)("subtitle")),1)):Dt("",!0)]),footer:ut(()=>[le(s)?(ee(),ye(Gg,{key:0})):(ee(),ye(Gp,{key:1}))]),default:ut(()=>[!le(s)&&le(o).showWelcomeScreen?(ee(),ye(Fp,{key:0,"onClick:button":i})):(ee(),ye(Fg,{key:1,messages:le(r)},null,8,["messages"]))]),_:1}))}}),Wg={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Jg=[xe("path",{fill:"currentColor",d:"M12 3c5.5 0 10 3.58 10 8s-4.5 8-10 8c-1.24 0-2.43-.18-3.53-.5C5.55 21 2 21 2 21c2.33-2.33 2.7-3.9 2.75-4.5C3.05 15.07 2 13.13 2 11c0-4.42 4.5-8 10-8"},null,-1)];function Yg(t,e){return ee(),de("svg",Wg,[...Jg])}const Xg={name:"mdi-chat",render:Yg},Qg={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},em=[xe("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)];function tm(t,e){return ee(),de("svg",Qg,[...em])}const nm={name:"mdi-chevron-down",render:tm},rm={class:"chat-window-wrapper"},sm={class:"chat-window"},om=Ue({__name:"ChatWindow",setup(t){const e=lt(!1);function n(){e.value=!e.value,e.value&&Zt(()=>{nt.emit("scrollToBottom")})}return(r,s)=>(ee(),de("div",rm,[ge(fr,{name:"chat-window-transition"},{default:ut(()=>[Xo(xe("div",sm,[ge(Ll)],512),[[Ju,e.value]])]),_:1}),xe("div",{class:"chat-window-toggle",onClick:n},[ge(fr,{name:"chat-window-toggle-transition",mode:"out-in"},{default:ut(()=>[e.value?(ee(),ye(le(nm),{key:1,height:"32",width:"32"})):(ee(),ye(le(Xg),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),cm=Ue({__name:"App",props:{},setup(t){const{options:e}=Cn(),n=Ze(()=>e.mode==="fullscreen");return Kt(()=>{br.registerLanguage("xml",gp),br.registerLanguage("javascript",yp)}),(r,s)=>n.value?(ee(),ye(le(Ll),{key:0,class:"n8n-chat"})):(ee(),ye(le(om),{key:1,class:"n8n-chat"}))}});var Nr,im=new Uint8Array(16);function lm(){if(!Nr&&(Nr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!Nr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Nr(im)}const am=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function um(t){return typeof t=="string"&&am.test(t)}for(var ke=[],oo=0;oo<256;++oo)ke.push((oo+256).toString(16).substr(1));function fm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(ke[t[e+0]]+ke[t[e+1]]+ke[t[e+2]]+ke[t[e+3]]+"-"+ke[t[e+4]]+ke[t[e+5]]+"-"+ke[t[e+6]]+ke[t[e+7]]+"-"+ke[t[e+8]]+ke[t[e+9]]+"-"+ke[t[e+10]]+ke[t[e+11]]+ke[t[e+12]]+ke[t[e+13]]+ke[t[e+14]]+ke[t[e+15]]).toLowerCase();if(!um(n))throw TypeError("Stringified UUID is invalid");return n}function Rn(t,e,n){t=t||{};var r=t.random||(t.rng||lm)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,fm(r)}async function pm(){return""}async function Nl(...t){var r;const e=await pm();return await(await fetch(t[0],{...t[1],mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json",...e?{authorization:`Bearer ${e}`}:{},...(r=t[1])==null?void 0:r.headers}})).json()}async function Il(t,e={},n={}){let r=t;return Object.keys(e).length>0&&(r=`${r}?${new URLSearchParams(e).toString()}`),await Nl(r,{...n,method:"GET"})}async function Ml(t,e={},n={}){return await Nl(t,{...n,method:"POST",body:JSON.stringify(e)})}async function hm(t,e){var r,s;return await(((r=e.webhookConfig)==null?void 0:r.method)==="POST"?Ml:Il)(`${e.webhookUrl}`,{action:"loadPreviousSession",[e.chatSessionKey]:t,...e.metadata?{metadata:e.metadata}:{}},{headers:(s=e.webhookConfig)==null?void 0:s.headers})}async function dm(t,e,n){var s,o;return await(((s=n.webhookConfig)==null?void 0:s.method)==="POST"?Ml:Il)(`${n.webhookUrl}`,{action:"sendMessage",[n.chatSessionKey]:e,[n.chatInputKey]:t,...n.metadata?{metadata:n.metadata}:{}},{headers:(o=n.webhookConfig)==null?void 0:o.headers})}const gm={install(t,e){t.provide(Ai,e);const n=lt([]),r=lt(null),s=lt(!1),o=Ze(()=>(e.initialMessages??[]).map(u=>({id:Rn(),text:u,sender:"bot",createdAt:new Date().toISOString()})));async function c(u){const f={id:Rn(),text:u,sender:"user",createdAt:new Date().toISOString()};n.value.push(f),s.value=!0,Zt(()=>{nt.emit("scrollToBottom")});const p=await dm(u,r.value,e);let d=p.output??p.text??"";if(d===""&&Object.keys(p).length>0)try{d=JSON.stringify(p,null,2)}catch{}const E={id:Rn(),text:d,sender:"bot",createdAt:new Date().toISOString()};n.value.push(E),s.value=!1,Zt(()=>{nt.emit("scrollToBottom")})}async function i(){if(!e.loadPreviousSession)return;const u=localStorage.getItem(ki)??Rn(),f=await hm(u,e),p=new Date().toISOString();return n.value=((f==null?void 0:f.data)||[]).map((d,E)=>({id:`${E}`,text:d.kwargs.content,sender:d.id.includes("HumanMessage")?"user":"bot",createdAt:p})),n.value.length&&(r.value=u),u}async function l(){r.value=Rn(),localStorage.setItem(ki,r.value)}const a={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:i,startNewSession:l,sendMessage:c};t.provide(Ei,a),t.config.globalProperties.$chat=a}};function mm(t){var s,o;const e={...An,...t,webhookConfig:{...An.webhookConfig,...t==null?void 0:t.webhookConfig},i18n:{...An.i18n,...t==null?void 0:t.i18n,en:{...(s=An.i18n)==null?void 0:s.en,...(o=t==null?void 0:t.i18n)==null?void 0:o.en}},theme:{...An.theme,...t==null?void 0:t.theme}},n=e.target??Mp;typeof n=="string"&&Tp(n);const r=vf(cm);return r.use(gm,e),r.mount(n),r}Pt.createChat=mm,Object.defineProperty(Pt,Symbol.toStringTag,{value:"Module"})});