diff --git a/docs/youtube/script_lollms.md b/docs/youtube/script_lollms.md index 9ccc1098..710237a8 100644 --- a/docs/youtube/script_lollms.md +++ b/docs/youtube/script_lollms.md @@ -90,4 +90,8 @@ You can view in the console what servers are active at the moment. You can choo Now that our remote service is up, we can use it as we use any local binding. Let's ask Carl sagan what is cosmos. -If we look at the Lollms console, we can see that it got the prompt and is generating the words. \ No newline at end of file +If we look at the Lollms console, we can see that it got the prompt and is generating the words. + +As you can see, generative AI has a huge potential to help us enhance our productivity. This tool is a little glimpse of what AI models especially generative models are capable of. AI is a tool, it can be used for good, as for bad. I hope you use this tool wizely and bare in mind that the future of humanity may depend on how we use these technologies. It is now impossible to stop AI development but we should tame it and make sure that its goals are aligned with ours. It can lead us to a bright future where we fix urgent problems like climate change and resource depletion, where we aceive great science discoveries, like building a better physics theory that can fuse quantum physics and general relativity. Or it can lead us to a dark world where AI empowers a handful of ritch people and enslaves the rest. I personally think that open source is the way to ensure fair access to every one to those tools. + +I hope that you have liked this video. If you did, please consider leaving a thumb up, a sub to the channel and a comment. Thank you for watching. C ya \ No newline at end of file diff --git a/web/dist/assets/index-0d62c0a3.js b/web/dist/assets/index-3ae5f636.js similarity index 53% rename from web/dist/assets/index-0d62c0a3.js rename to web/dist/assets/index-3ae5f636.js index 10402bca..4287c283 100644 --- a/web/dist/assets/index-0d62c0a3.js +++ b/web/dist/assets/index-3ae5f636.js @@ -1,41 +1,41 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function pl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function en(t){if(ve(t)){const e={};for(let n=0;n{if(n){const s=n.split(fm);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Me(t){let e="";if(Ge(t))e=t;else if(ve(t))for(let n=0;nSo(n,e))}const ne=t=>Ge(t)?t:t==null?"":ve(t)||He(t)&&(t.toString===Nf||!Se(t.toString))?JSON.stringify(t,Mf,2):String(t),Mf=(t,e)=>e&&e.__v_isRef?Mf(t,e.value):hs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ns(e)?{[`Set(${e.size})`]:[...e.values()]}:He(e)&&!ve(e)&&!Df(e)?String(e):e,Ve={},fs=[],Dt=()=>{},bm=()=>!1,ym=/^on[^a-z]/,Ir=t=>ym.test(t),ml=t=>t.startsWith("onUpdate:"),et=Object.assign,_l=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},vm=Object.prototype.hasOwnProperty,Ie=(t,e)=>vm.call(t,e),ve=Array.isArray,hs=t=>Ds(t)==="[object Map]",Ns=t=>Ds(t)==="[object Set]",vc=t=>Ds(t)==="[object Date]",wm=t=>Ds(t)==="[object RegExp]",Se=t=>typeof t=="function",Ge=t=>typeof t=="string",lo=t=>typeof t=="symbol",He=t=>t!==null&&typeof t=="object",Rf=t=>He(t)&&Se(t.then)&&Se(t.catch),Nf=Object.prototype.toString,Ds=t=>Nf.call(t),xm=t=>Ds(t).slice(8,-1),Df=t=>Ds(t)==="[object Object]",bl=t=>Ge(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,er=pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},km=/-(\w)/g,Gt=Pr(t=>t.replace(km,(e,n)=>n?n.toUpperCase():"")),Em=/\B([A-Z])/g,Xn=Pr(t=>t.replace(Em,"-$1").toLowerCase()),Fr=Pr(t=>t.charAt(0).toUpperCase()+t.slice(1)),gi=Pr(t=>t?`on${Fr(t)}`:""),co=(t,e)=>!Object.is(t,e),ps=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},pr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Cm=t=>{const e=Ge(t)?Number(t):NaN;return isNaN(e)?t:e};let wc;const Am=()=>wc||(wc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ot;class Sm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ot,!e&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Ot;try{return Ot=this,e()}finally{Ot=n}}}on(){Ot=this}off(){Ot=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},Lf=t=>(t.w&Sn)>0,If=t=>(t.n&Sn)>0,Mm=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":ve(t)?bl(n)&&a.push(i.get("length")):(a.push(i.get(Vn)),hs(t)&&a.push(i.get(Na)));break;case"delete":ve(t)||(a.push(i.get(Vn)),hs(t)&&a.push(i.get(Na)));break;case"set":hs(t)&&a.push(i.get(Vn));break}if(a.length===1)a[0]&&Da(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Da(yl(l))}}function Da(t,e){const n=ve(t)?t:[...t];for(const s of n)s.computed&&kc(s);for(const s of n)s.computed||kc(s)}function kc(t,e){(t!==Rt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Nm=pl("__proto__,__v_isRef,__isVue"),Bf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(lo)),Dm=wl(),Lm=wl(!1,!0),Im=wl(!0),Ec=Pm();function Pm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Fe(this);for(let r=0,i=this.length;r{t[e]=function(...n){Ls();const s=Fe(this)[e].apply(this,n);return Is(),s}}),t}function Fm(t){const e=Fe(this);return ht(e,"has",t),e.hasOwnProperty(t)}function wl(t=!1,e=!1){return function(s,o,r){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&r===(t?e?Xm:Uf:e?qf:$f).get(s))return s;const i=ve(s);if(!t){if(i&&Ie(Ec,o))return Reflect.get(Ec,o,r);if(o==="hasOwnProperty")return Fm}const a=Reflect.get(s,o,r);return(lo(o)?Bf.has(o):Nm(o))||(t||ht(s,"get",o),e)?a:lt(a)?i&&bl(o)?a:a.value:He(a)?t?Hf(a):Ps(a):a}}const Bm=jf(),jm=jf(!0);function jf(t=!1){return function(n,s,o,r){let i=n[s];if(ys(i)&<(i)&&!lt(o))return!1;if(!t&&(!gr(o)&&!ys(o)&&(i=Fe(i),o=Fe(o)),!ve(n)&<(i)&&!lt(o)))return i.value=o,!0;const a=ve(n)&&bl(s)?Number(s)t,Br=t=>Reflect.getPrototypeOf(t);function Po(t,e,n=!1,s=!1){t=t.__v_raw;const o=Fe(t),r=Fe(e);n||(e!==r&&ht(o,"get",e),ht(o,"get",r));const{has:i}=Br(o),a=s?xl:n?Cl:uo;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function Fo(t,e=!1){const n=this.__v_raw,s=Fe(n),o=Fe(t);return e||(t!==o&&ht(s,"has",t),ht(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Bo(t,e=!1){return t=t.__v_raw,!e&&ht(Fe(t),"iterate",Vn),Reflect.get(t,"size",t)}function Cc(t){t=Fe(t);const e=Fe(this);return Br(e).has.call(e,t)||(e.add(t),sn(e,"add",t,t)),this}function Ac(t,e){e=Fe(e);const n=Fe(this),{has:s,get:o}=Br(n);let r=s.call(n,t);r||(t=Fe(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?co(e,i)&&sn(n,"set",t,e):sn(n,"add",t,e),this}function Sc(t){const e=Fe(this),{has:n,get:s}=Br(e);let o=n.call(e,t);o||(t=Fe(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&sn(e,"delete",t,void 0),r}function Tc(){const t=Fe(this),e=t.size!==0,n=t.clear();return e&&sn(t,"clear",void 0,void 0),n}function jo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Fe(i),l=e?xl:t?Cl:uo;return!t&&ht(a,"iterate",Vn),i.forEach((c,u)=>s.call(o,l(c),l(u),r))}}function zo(t,e,n){return function(...s){const o=this.__v_raw,r=Fe(o),i=hs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),u=n?xl:e?Cl:uo;return!e&&ht(r,"iterate",l?Na:Vn),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function un(t){return function(...e){return t==="delete"?!1:this}}function Vm(){const t={get(r){return Po(this,r)},get size(){return Bo(this)},has:Fo,add:Cc,set:Ac,delete:Sc,clear:Tc,forEach:jo(!1,!1)},e={get(r){return Po(this,r,!1,!0)},get size(){return Bo(this)},has:Fo,add:Cc,set:Ac,delete:Sc,clear:Tc,forEach:jo(!1,!0)},n={get(r){return Po(this,r,!0)},get size(){return Bo(this,!0)},has(r){return Fo.call(this,r,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:jo(!0,!1)},s={get(r){return Po(this,r,!0,!0)},get size(){return Bo(this,!0)},has(r){return Fo.call(this,r,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:jo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=zo(r,!1,!1),n[r]=zo(r,!0,!1),e[r]=zo(r,!1,!0),s[r]=zo(r,!0,!0)}),[t,n,e,s]}const[Gm,Km,Wm,Zm]=Vm();function kl(t,e){const n=e?t?Zm:Wm:t?Km:Gm;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(Ie(n,o)&&o in s?n:s,o,r)}const Ym={get:kl(!1,!1)},Qm={get:kl(!1,!0)},Jm={get:kl(!0,!1)},$f=new WeakMap,qf=new WeakMap,Uf=new WeakMap,Xm=new WeakMap;function e_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function t_(t){return t.__v_skip||!Object.isExtensible(t)?0:e_(xm(t))}function Ps(t){return ys(t)?t:El(t,!1,zf,Ym,$f)}function n_(t){return El(t,!1,Hm,Qm,qf)}function Hf(t){return El(t,!0,Um,Jm,Uf)}function El(t,e,n,s,o){if(!He(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=t_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function gs(t){return ys(t)?gs(t.__v_raw):!!(t&&t.__v_isReactive)}function ys(t){return!!(t&&t.__v_isReadonly)}function gr(t){return!!(t&&t.__v_isShallow)}function Vf(t){return gs(t)||ys(t)}function Fe(t){const e=t&&t.__v_raw;return e?Fe(e):t}function Gf(t){return hr(t,"__v_skip",!0),t}const uo=t=>He(t)?Ps(t):t,Cl=t=>He(t)?Hf(t):t;function Kf(t){Cn&&Rt&&(t=Fe(t),Ff(t.dep||(t.dep=yl())))}function Wf(t,e){t=Fe(t);const n=t.dep;n&&Da(n)}function lt(t){return!!(t&&t.__v_isRef===!0)}function s_(t){return Zf(t,!1)}function o_(t){return Zf(t,!0)}function Zf(t,e){return lt(t)?t:new r_(t,e)}class r_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Fe(e),this._value=n?e:uo(e)}get value(){return Kf(this),this._value}set value(e){const n=this.__v_isShallow||gr(e)||ys(e);e=n?e:Fe(e),co(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:uo(e),Wf(this))}}function gt(t){return lt(t)?t.value:t}const i_={get:(t,e,n)=>gt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return lt(o)&&!lt(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function Yf(t){return gs(t)?t:new Proxy(t,i_)}var Qf;class a_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Qf]=!1,this._dirty=!0,this.effect=new vl(e,()=>{this._dirty||(this._dirty=!0,Wf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Fe(this);return Kf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Qf="__v_isReadonly";function l_(t,e,n=!1){let s,o;const r=Se(t);return r?(s=t,o=Dt):(s=t.get,o=t.set),new a_(s,o,r||!o,n)}function An(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){jr(r,e,n)}return o}function xt(t,e,n,s){if(Se(t)){const r=An(t,e,n,s);return r&&Rf(r)&&r.catch(i=>{jr(i,e,n)}),r}const o=[];for(let r=0;r>>1;ho(it[s])Bt&&it.splice(e,1)}function f_(t){ve(t)?ms.push(...t):(!Xt||!Xt.includes(t,t.allowRecurse?Fn+1:Fn))&&ms.push(t),Xf()}function Oc(t,e=fo?Bt+1:0){for(;eho(n)-ho(s)),Fn=0;Fnt.id==null?1/0:t.id,h_=(t,e)=>{const n=ho(t)-ho(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function th(t){La=!1,fo=!0,it.sort(h_);const e=Dt;try{for(Bt=0;BtGe(g)?g.trim():g)),f&&(o=n.map(pr))}let a,l=s[a=gi(e)]||s[a=gi(Gt(e))];!l&&r&&(l=s[a=gi(Xn(e))]),l&&xt(l,t,6,o);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,xt(c,t,6,o)}}function nh(t,e,n=!1){const s=e.emitsCache,o=s.get(t);if(o!==void 0)return o;const r=t.emits;let i={},a=!1;if(!Se(t)){const l=c=>{const u=nh(c,e,!0);u&&(a=!0,et(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(He(t)&&s.set(t,null),null):(ve(r)?r.forEach(l=>i[l]=null):et(i,r),He(t)&&s.set(t,i),i)}function zr(t,e){return!t||!Ir(e)?!1:(e=e.slice(2).replace(/Once$/,""),Ie(t,e[0].toLowerCase()+e.slice(1))||Ie(t,Xn(e))||Ie(t,e))}let nt=null,$r=null;function mr(t){const e=nt;return nt=t,$r=t&&t.type.__scopeId||null,e}function Fs(t){$r=t}function Bs(){$r=null}function Je(t,e=nt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&jc(-1);const r=mr(e);let i;try{i=t(...o)}finally{mr(r),s._d&&jc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function mi(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:h,setupState:g,ctx:p,inheritAttrs:m}=t;let v,_;const b=mr(t);try{if(n.shapeFlag&4){const C=o||s;v=Ft(u.call(C,C,f,r,g,h,p)),_=l}else{const C=e;v=Ft(C.length>1?C(r,{attrs:l,slots:a,emit:c}):C(r,null)),_=e.props?l:g_(l)}}catch(C){eo.length=0,jr(C,t,1),v=Ce(kt)}let x=v;if(_&&m!==!1){const C=Object.keys(_),{shapeFlag:M}=x;C.length&&M&7&&(i&&C.some(ml)&&(_=m_(_,i)),x=on(x,_))}return n.dirs&&(x=on(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),v=x,mr(b),v}const g_=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ir(n))&&((e||(e={}))[n]=t[n]);return e},m_=(t,e)=>{const n={};for(const s in t)(!ml(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function __(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Mc(s,i,c):!!i;if(l&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function y_(t,e){e&&e.pendingBranch?ve(t)?e.effects.push(...t):e.effects.push(t):f_(t)}function tr(t,e){if(We){let n=We.provides;const s=We.parent&&We.parent.provides;s===n&&(n=We.provides=Object.create(s)),n[t]=e}}function tn(t,e,n=!1){const s=We||nt;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Se(e)?e.call(s.proxy):e}}const $o={};function Gn(t,e,n){return oh(t,e,n)}function oh(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ve){const a=Om()===(We==null?void 0:We.scope)?We:null;let l,c=!1,u=!1;if(lt(t)?(l=()=>t.value,c=gr(t)):gs(t)?(l=()=>t,s=!0):ve(t)?(u=!0,c=t.some(x=>gs(x)||gr(x)),l=()=>t.map(x=>{if(lt(x))return x.value;if(gs(x))return Un(x);if(Se(x))return An(x,a,2)})):Se(t)?e?l=()=>An(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),xt(t,a,3,[h])}:l=Dt,e&&s){const x=l;l=()=>Un(x())}let f,h=x=>{f=_.onStop=()=>{An(x,a,4)}},g;if(_o)if(h=Dt,e?n&&xt(e,a,3,[l(),u?[]:void 0,h]):l(),o==="sync"){const x=d1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Dt;let p=u?new Array(t.length).fill($o):$o;const m=()=>{if(_.active)if(e){const x=_.run();(s||c||(u?x.some((C,M)=>co(C,p[M])):co(x,p)))&&(f&&f(),xt(e,a,3,[x,p===$o?void 0:u&&p[0]===$o?[]:p,h]),p=x)}else _.run()};m.allowRecurse=!!e;let v;o==="sync"?v=m:o==="post"?v=()=>tt(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),v=()=>Sl(m));const _=new vl(l,v);e?n?m():p=_.run():o==="post"?tt(_.run.bind(_),a&&a.suspense):_.run();const b=()=>{_.stop(),a&&a.scope&&_l(a.scope.effects,_)};return g&&g.push(b),b}function v_(t,e,n){const s=this.proxy,o=Ge(t)?t.includes(".")?rh(s,t):()=>s[t]:t.bind(s,s);let r;Se(e)?r=e:(r=e.handler,n=e);const i=We;ws(this);const a=oh(o,r.bind(s),n);return i?ws(i):Kn(),a}function rh(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Un(n,e)});else if(Df(t))for(const n in t)Un(t[n],e);return t}function ih(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Hr(()=>{t.isMounted=!0}),Ml(()=>{t.isUnmounting=!0}),t}const bt=[Function,Array],w_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:bt,onEnter:bt,onAfterEnter:bt,onEnterCancelled:bt,onBeforeLeave:bt,onLeave:bt,onAfterLeave:bt,onLeaveCancelled:bt,onBeforeAppear:bt,onAppear:bt,onAfterAppear:bt,onAppearCancelled:bt},setup(t,{slots:e}){const n=Il(),s=ih();let o;return()=>{const r=e.default&&Tl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==kt){i=m;break}}const a=Fe(t),{mode:l}=a;if(s.isLeaving)return _i(i);const c=Rc(i);if(!c)return _i(i);const u=po(c,a,s,n);vs(c,u);const f=n.subTree,h=f&&Rc(f);let g=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,g=!0)}if(h&&h.type!==kt&&(!xn(c,h)||g)){const m=po(h,a,s,n);if(vs(h,m),l==="out-in")return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},_i(i);l==="in-out"&&c.type!==kt&&(m.delayLeave=(v,_,b)=>{const x=ah(s,h);x[String(h.key)]=h,v._leaveCb=()=>{_(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=b})}return i}}},x_=w_;function ah(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function po(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:m,onAppear:v,onAfterAppear:_,onAppearCancelled:b}=e,x=String(t.key),C=ah(n,t),M=(y,k)=>{y&&xt(y,s,9,k)},T=(y,k)=>{const S=k[1];M(y,k),ve(y)?y.every(L=>L.length<=1)&&S():y.length<=1&&S()},D={mode:r,persisted:i,beforeEnter(y){let k=a;if(!n.isMounted)if(o)k=m||a;else return;y._leaveCb&&y._leaveCb(!0);const S=C[x];S&&xn(t,S)&&S.el._leaveCb&&S.el._leaveCb(),M(k,[y])},enter(y){let k=l,S=c,L=u;if(!n.isMounted)if(o)k=v||l,S=_||c,L=b||u;else return;let F=!1;const Y=y._enterCb=I=>{F||(F=!0,I?M(L,[y]):M(S,[y]),D.delayedLeave&&D.delayedLeave(),y._enterCb=void 0)};k?T(k,[y,Y]):Y()},leave(y,k){const S=String(t.key);if(y._enterCb&&y._enterCb(!0),n.isUnmounting)return k();M(f,[y]);let L=!1;const F=y._leaveCb=Y=>{L||(L=!0,k(),Y?M(p,[y]):M(g,[y]),y._leaveCb=void 0,C[S]===t&&delete C[S])};C[S]=t,h?T(h,[y,F]):F()},clone(y){return po(y,e,n,s)}};return D}function _i(t){if(qr(t))return t=on(t),t.children=null,t}function Rc(t){return qr(t)?t.children?t.children[0]:void 0:t}function vs(t,e){t.shapeFlag&6&&t.component?vs(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 Tl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,qr=t=>t.type.__isKeepAlive,k_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Il(),s=n.ctx;if(!s.renderer)return()=>{const b=e.default&&e.default();return b&&b.length===1?b[0]:b};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=s,h=f("div");s.activate=(b,x,C,M,T)=>{const D=b.component;c(b,x,C,0,a),l(D.vnode,b,x,C,D,a,M,b.slotScopeIds,T),tt(()=>{D.isDeactivated=!1,D.a&&ps(D.a);const y=b.props&&b.props.onVnodeMounted;y&&yt(y,D.parent,b)},a)},s.deactivate=b=>{const x=b.component;c(b,h,null,1,a),tt(()=>{x.da&&ps(x.da);const C=b.props&&b.props.onVnodeUnmounted;C&&yt(C,x.parent,b),x.isDeactivated=!0},a)};function g(b){bi(b),u(b,n,a,!0)}function p(b){o.forEach((x,C)=>{const M=za(x.type);M&&(!b||!b(M))&&m(C)})}function m(b){const x=o.get(b);!i||!xn(x,i)?g(x):i&&bi(i),o.delete(b),r.delete(b)}Gn(()=>[t.include,t.exclude],([b,x])=>{b&&p(C=>Qs(b,C)),x&&p(C=>!Qs(x,C))},{flush:"post",deep:!0});let v=null;const _=()=>{v!=null&&o.set(v,yi(n.subTree))};return Hr(_),Ol(_),Ml(()=>{o.forEach(b=>{const{subTree:x,suspense:C}=n,M=yi(x);if(b.type===M.type&&b.key===M.key){bi(M);const T=M.component.da;T&&tt(T,C);return}g(b)})}),()=>{if(v=null,!e.default)return null;const b=e.default(),x=b[0];if(b.length>1)return i=null,b;if(!mo(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let C=yi(x);const M=C.type,T=za(_s(C)?C.type.__asyncResolved||{}:M),{include:D,exclude:y,max:k}=t;if(D&&(!T||!Qs(D,T))||y&&T&&Qs(y,T))return i=C,x;const S=C.key==null?M:C.key,L=o.get(S);return C.el&&(C=on(C),x.shapeFlag&128&&(x.ssContent=C)),v=S,L?(C.el=L.el,C.component=L.component,C.transition&&vs(C,C.transition),C.shapeFlag|=512,r.delete(S),r.add(S)):(r.add(S),k&&r.size>parseInt(k,10)&&m(r.values().next().value)),C.shapeFlag|=256,i=C,sh(x.type)?x:C}}},E_=k_;function Qs(t,e){return ve(t)?t.some(n=>Qs(n,e)):Ge(t)?t.split(",").includes(e):wm(t)?t.test(e):!1}function C_(t,e){ch(t,"a",e)}function A_(t,e){ch(t,"da",e)}function ch(t,e,n=We){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Ur(e,s,n),n){let o=n.parent;for(;o&&o.parent;)qr(o.parent.vnode)&&S_(s,e,n,o),o=o.parent}}function S_(t,e,n,s){const o=Ur(e,t,s,!0);uh(()=>{_l(s[e],o)},n)}function bi(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function yi(t){return t.shapeFlag&128?t.ssContent:t}function Ur(t,e,n=We,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Ls(),ws(n);const a=xt(e,n,t,i);return Kn(),Is(),a});return s?o.unshift(r):o.push(r),r}}const ln=t=>(e,n=We)=>(!_o||t==="sp")&&Ur(t,(...s)=>e(...s),n),T_=ln("bm"),Hr=ln("m"),O_=ln("bu"),Ol=ln("u"),Ml=ln("bum"),uh=ln("um"),M_=ln("sp"),R_=ln("rtg"),N_=ln("rtc");function D_(t,e=We){Ur("ec",t,e)}function Oe(t,e){const n=nt;if(n===null)return t;const s=Kr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;re(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;amo(e)?!(e.type===kt||e.type===Be&&!ph(e.children)):!0)?t:null}const Ia=t=>t?Ch(t)?Kr(t)||t.proxy:Ia(t.parent):null,Xs=et(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=>Ia(t.parent),$root:t=>Ia(t.root),$emit:t=>t.emit,$options:t=>Nl(t),$forceUpdate:t=>t.f||(t.f=()=>Sl(t.update)),$nextTick:t=>t.n||(t.n=ge.bind(t.proxy)),$watch:t=>v_.bind(t)}),vi=(t,e)=>t!==Ve&&!t.__isScriptSetup&&Ie(t,e),I_={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const g=i[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(vi(s,e))return i[e]=1,s[e];if(o!==Ve&&Ie(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&Ie(c,e))return i[e]=3,r[e];if(n!==Ve&&Ie(n,e))return i[e]=4,n[e];Pa&&(i[e]=0)}}const u=Xs[e];let f,h;if(u)return e==="$attrs"&&ht(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==Ve&&Ie(n,e))return i[e]=4,n[e];if(h=l.config.globalProperties,Ie(h,e))return h[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return vi(o,e)?(o[e]=n,!0):s!==Ve&&Ie(s,e)?(s[e]=n,!0):Ie(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||t!==Ve&&Ie(t,i)||vi(e,i)||(a=r[0])&&Ie(a,i)||Ie(s,i)||Ie(Xs,i)||Ie(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Ie(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Pa=!0;function P_(t){const e=Nl(t),n=t.proxy,s=t.ctx;Pa=!1,e.beforeCreate&&Dc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:g,updated:p,activated:m,deactivated:v,beforeDestroy:_,beforeUnmount:b,destroyed:x,unmounted:C,render:M,renderTracked:T,renderTriggered:D,errorCaptured:y,serverPrefetch:k,expose:S,inheritAttrs:L,components:F,directives:Y,filters:I}=e;if(c&&F_(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const A in i){const q=i[A];Se(q)&&(s[A]=q.bind(n))}if(o){const A=o.call(n,n);He(A)&&(t.data=Ps(A))}if(Pa=!0,r)for(const A in r){const q=r[A],V=Se(q)?q.bind(n,n):Se(q.get)?q.get.bind(n,n):Dt,me=!Se(q)&&Se(q.set)?q.set.bind(n):Dt,pe=wt({get:V,set:me});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>pe.value,set:X=>pe.value=X})}if(a)for(const A in a)gh(a[A],s,n,A);if(l){const A=Se(l)?l.call(n):l;Reflect.ownKeys(A).forEach(q=>{tr(q,A[q])})}u&&Dc(u,t,"c");function W(A,q){ve(q)?q.forEach(V=>A(V.bind(n))):q&&A(q.bind(n))}if(W(T_,f),W(Hr,h),W(O_,g),W(Ol,p),W(C_,m),W(A_,v),W(D_,y),W(N_,T),W(R_,D),W(Ml,b),W(uh,C),W(M_,k),ve(S))if(S.length){const A=t.exposed||(t.exposed={});S.forEach(q=>{Object.defineProperty(A,q,{get:()=>n[q],set:V=>n[q]=V})})}else t.exposed||(t.exposed={});M&&t.render===Dt&&(t.render=M),L!=null&&(t.inheritAttrs=L),F&&(t.components=F),Y&&(t.directives=Y)}function F_(t,e,n=Dt,s=!1){ve(t)&&(t=Fa(t));for(const o in t){const r=t[o];let i;He(r)?"default"in r?i=tn(r.from||o,r.default,!0):i=tn(r.from||o):i=tn(r),lt(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Dc(t,e,n){xt(ve(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function gh(t,e,n,s){const o=s.includes(".")?rh(n,s):()=>n[s];if(Ge(t)){const r=e[t];Se(r)&&Gn(o,r)}else if(Se(t))Gn(o,t.bind(n));else if(He(t))if(ve(t))t.forEach(r=>gh(r,e,n,s));else{const r=Se(t.handler)?t.handler.bind(n):e[t.handler];Se(r)&&Gn(o,r,t)}}function Nl(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=t.appContext,a=r.get(e);let l;return a?l=a:!o.length&&!n&&!s?l=e:(l={},o.length&&o.forEach(c=>_r(l,c,i,!0)),_r(l,e,i)),He(e)&&r.set(e,l),l}function _r(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&_r(t,r,n,!0),o&&o.forEach(i=>_r(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=B_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const B_={data:Lc,props:In,emits:In,methods:In,computed:In,beforeCreate:ct,created:ct,beforeMount:ct,mounted:ct,beforeUpdate:ct,updated:ct,beforeDestroy:ct,beforeUnmount:ct,destroyed:ct,unmounted:ct,activated:ct,deactivated:ct,errorCaptured:ct,serverPrefetch:ct,components:In,directives:In,watch:z_,provide:Lc,inject:j_};function Lc(t,e){return e?t?function(){return et(Se(t)?t.call(this,this):t,Se(e)?e.call(this,this):e)}:e:t}function j_(t,e){return In(Fa(t),Fa(e))}function Fa(t){if(ve(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,g]=_h(f,e,!0);et(i,h),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return He(t)&&s.set(t,fs),fs;if(ve(r))for(let u=0;u-1,g[1]=m<0||p-1||Ie(g,"default"))&&a.push(f)}}}const c=[i,a];return He(t)&&s.set(t,c),c}function Ic(t){return t[0]!=="$"}function Pc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Fc(t,e){return Pc(t)===Pc(e)}function Bc(t,e){return ve(e)?e.findIndex(n=>Fc(n,t)):Se(e)&&Fc(e,t)?0:-1}const bh=t=>t[0]==="_"||t==="$stable",Dl=t=>ve(t)?t.map(Ft):[Ft(t)],U_=(t,e,n)=>{if(e._n)return e;const s=Je((...o)=>Dl(e(...o)),n);return s._c=!1,s},yh=(t,e,n)=>{const s=t._ctx;for(const o in t){if(bh(o))continue;const r=t[o];if(Se(r))e[o]=U_(o,r,s);else if(r!=null){const i=Dl(r);e[o]=()=>i}}},vh=(t,e)=>{const n=Dl(e);t.slots.default=()=>n},H_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Fe(e),hr(e,"_",n)):yh(e,t.slots={})}else t.slots={},e&&vh(t,e);hr(t.slots,Gr,1)},V_=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ve;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(et(o,e),!n&&a===1&&delete o._):(r=!e.$stable,yh(e,o)),i=e}else e&&(vh(t,e),i={default:1});if(r)for(const a in o)!bh(a)&&!(a in i)&&delete o[a]};function wh(){return{app:null,config:{isNativeTag:bm,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 G_=0;function K_(t,e){return function(s,o=null){Se(s)||(s=Object.assign({},s)),o!=null&&!He(o)&&(o=null);const r=wh(),i=new Set;let a=!1;const l=r.app={_uid:G_++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:f1,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&Se(c.install)?(i.add(c),c.install(l,...u)):Se(c)&&(i.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,f){if(!a){const h=Ce(s,o);return h.appContext=r,u&&e?e(h,c):t(h,c,f),a=!0,l._container=c,c.__vue_app__=l,Kr(h.component)||h.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function ja(t,e,n,s,o=!1){if(ve(t)){t.forEach((h,g)=>ja(h,e&&(ve(e)?e[g]:e),n,s,o));return}if(_s(s)&&!o)return;const r=s.shapeFlag&4?Kr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ve?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ge(c)?(u[c]=null,Ie(f,c)&&(f[c]=null)):lt(c)&&(c.value=null)),Se(l))An(l,a,12,[i,u]);else{const h=Ge(l),g=lt(l);if(h||g){const p=()=>{if(t.f){const m=h?Ie(f,l)?f[l]:u[l]:l.value;o?ve(m)&&_l(m,r):ve(m)?m.includes(r)||m.push(r):h?(u[l]=[r],Ie(f,l)&&(f[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else h?(u[l]=i,Ie(f,l)&&(f[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(p.id=-1,tt(p,n)):p()}}}const tt=y_;function W_(t){return Z_(t)}function Z_(t,e){const n=Am();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:g=Dt,insertStaticContent:p}=t,m=(w,E,P,B=null,j=null,te=null,re=!1,z=null,se=!!E.dynamicChildren)=>{if(w===E)return;w&&!xn(w,E)&&(B=H(w),X(w,j,te,!0),w=null),E.patchFlag===-2&&(se=!1,E.dynamicChildren=null);const{type:$,ref:Z,shapeFlag:ie}=E;switch($){case Vr:v(w,E,P,B);break;case kt:_(w,E,P,B);break;case nr:w==null&&b(E,P,B,re);break;case Be:F(w,E,P,B,j,te,re,z,se);break;default:ie&1?M(w,E,P,B,j,te,re,z,se):ie&6?Y(w,E,P,B,j,te,re,z,se):(ie&64||ie&128)&&$.process(w,E,P,B,j,te,re,z,se,J)}Z!=null&&j&&ja(Z,w&&w.ref,te,E||w,!E)},v=(w,E,P,B)=>{if(w==null)s(E.el=a(E.children),P,B);else{const j=E.el=w.el;E.children!==w.children&&c(j,E.children)}},_=(w,E,P,B)=>{w==null?s(E.el=l(E.children||""),P,B):E.el=w.el},b=(w,E,P,B)=>{[w.el,w.anchor]=p(w.children,E,P,B,w.el,w.anchor)},x=({el:w,anchor:E},P,B)=>{let j;for(;w&&w!==E;)j=h(w),s(w,P,B),w=j;s(E,P,B)},C=({el:w,anchor:E})=>{let P;for(;w&&w!==E;)P=h(w),o(w),w=P;o(E)},M=(w,E,P,B,j,te,re,z,se)=>{re=re||E.type==="svg",w==null?T(E,P,B,j,te,re,z,se):k(w,E,j,te,re,z,se)},T=(w,E,P,B,j,te,re,z)=>{let se,$;const{type:Z,props:ie,shapeFlag:de,transition:ce,dirs:ye}=w;if(se=w.el=i(w.type,te,ie&&ie.is,ie),de&8?u(se,w.children):de&16&&y(w.children,se,null,B,j,te&&Z!=="foreignObject",re,z),ye&&Rn(w,null,B,"created"),D(se,w,w.scopeId,re,B),ie){for(const oe in ie)oe!=="value"&&!er(oe)&&r(se,oe,null,ie[oe],te,w.children,B,j,Q);"value"in ie&&r(se,"value",null,ie.value),($=ie.onVnodeBeforeMount)&&yt($,B,w)}ye&&Rn(w,null,B,"beforeMount");const K=(!j||j&&!j.pendingBranch)&&ce&&!ce.persisted;K&&ce.beforeEnter(se),s(se,E,P),(($=ie&&ie.onVnodeMounted)||K||ye)&&tt(()=>{$&&yt($,B,w),K&&ce.enter(se),ye&&Rn(w,null,B,"mounted")},j)},D=(w,E,P,B,j)=>{if(P&&g(w,P),B)for(let te=0;te{for(let $=se;${const z=E.el=w.el;let{patchFlag:se,dynamicChildren:$,dirs:Z}=E;se|=w.patchFlag&16;const ie=w.props||Ve,de=E.props||Ve;let ce;P&&Nn(P,!1),(ce=de.onVnodeBeforeUpdate)&&yt(ce,P,E,w),Z&&Rn(E,w,P,"beforeUpdate"),P&&Nn(P,!0);const ye=j&&E.type!=="foreignObject";if($?S(w.dynamicChildren,$,z,P,B,ye,te):re||q(w,E,z,null,P,B,ye,te,!1),se>0){if(se&16)L(z,E,ie,de,P,B,j);else if(se&2&&ie.class!==de.class&&r(z,"class",null,de.class,j),se&4&&r(z,"style",ie.style,de.style,j),se&8){const K=E.dynamicProps;for(let oe=0;oe{ce&&yt(ce,P,E,w),Z&&Rn(E,w,P,"updated")},B)},S=(w,E,P,B,j,te,re)=>{for(let z=0;z{if(P!==B){if(P!==Ve)for(const z in P)!er(z)&&!(z in B)&&r(w,z,P[z],null,re,E.children,j,te,Q);for(const z in B){if(er(z))continue;const se=B[z],$=P[z];se!==$&&z!=="value"&&r(w,z,$,se,re,E.children,j,te,Q)}"value"in B&&r(w,"value",P.value,B.value)}},F=(w,E,P,B,j,te,re,z,se)=>{const $=E.el=w?w.el:a(""),Z=E.anchor=w?w.anchor:a("");let{patchFlag:ie,dynamicChildren:de,slotScopeIds:ce}=E;ce&&(z=z?z.concat(ce):ce),w==null?(s($,P,B),s(Z,P,B),y(E.children,P,Z,j,te,re,z,se)):ie>0&&ie&64&&de&&w.dynamicChildren?(S(w.dynamicChildren,de,P,j,te,re,z),(E.key!=null||j&&E===j.subTree)&&xh(w,E,!0)):q(w,E,P,Z,j,te,re,z,se)},Y=(w,E,P,B,j,te,re,z,se)=>{E.slotScopeIds=z,w==null?E.shapeFlag&512?j.ctx.activate(E,P,B,re,se):I(E,P,B,j,te,re,se):ae(w,E,se)},I=(w,E,P,B,j,te,re)=>{const z=w.component=o1(w,B,j);if(qr(w)&&(z.ctx.renderer=J),r1(z),z.asyncDep){if(j&&j.registerDep(z,W),!w.el){const se=z.subTree=Ce(kt);_(null,se,E,P)}return}W(z,w,E,P,j,te,re)},ae=(w,E,P)=>{const B=E.component=w.component;if(__(w,E,P))if(B.asyncDep&&!B.asyncResolved){A(B,E,P);return}else B.next=E,d_(B.update),B.update();else E.el=w.el,B.vnode=E},W=(w,E,P,B,j,te,re)=>{const z=()=>{if(w.isMounted){let{next:Z,bu:ie,u:de,parent:ce,vnode:ye}=w,K=Z,oe;Nn(w,!1),Z?(Z.el=ye.el,A(w,Z,re)):Z=ye,ie&&ps(ie),(oe=Z.props&&Z.props.onVnodeBeforeUpdate)&&yt(oe,ce,Z,ye),Nn(w,!0);const he=mi(w),xe=w.subTree;w.subTree=he,m(xe,he,f(xe.el),H(xe),w,j,te),Z.el=he.el,K===null&&b_(w,he.el),de&&tt(de,j),(oe=Z.props&&Z.props.onVnodeUpdated)&&tt(()=>yt(oe,ce,Z,ye),j)}else{let Z;const{el:ie,props:de}=E,{bm:ce,m:ye,parent:K}=w,oe=_s(E);if(Nn(w,!1),ce&&ps(ce),!oe&&(Z=de&&de.onVnodeBeforeMount)&&yt(Z,K,E),Nn(w,!0),ie&&le){const he=()=>{w.subTree=mi(w),le(ie,w.subTree,w,j,null)};oe?E.type.__asyncLoader().then(()=>!w.isUnmounted&&he()):he()}else{const he=w.subTree=mi(w);m(null,he,P,B,w,j,te),E.el=he.el}if(ye&&tt(ye,j),!oe&&(Z=de&&de.onVnodeMounted)){const he=E;tt(()=>yt(Z,K,he),j)}(E.shapeFlag&256||K&&_s(K.vnode)&&K.vnode.shapeFlag&256)&&w.a&&tt(w.a,j),w.isMounted=!0,E=P=B=null}},se=w.effect=new vl(z,()=>Sl($),w.scope),$=w.update=()=>se.run();$.id=w.uid,Nn(w,!0),$()},A=(w,E,P)=>{E.component=w;const B=w.vnode.props;w.vnode=E,w.next=null,q_(w,E.props,B,P),V_(w,E.children,P),Ls(),Oc(),Is()},q=(w,E,P,B,j,te,re,z,se=!1)=>{const $=w&&w.children,Z=w?w.shapeFlag:0,ie=E.children,{patchFlag:de,shapeFlag:ce}=E;if(de>0){if(de&128){me($,ie,P,B,j,te,re,z,se);return}else if(de&256){V($,ie,P,B,j,te,re,z,se);return}}ce&8?(Z&16&&Q($,j,te),ie!==$&&u(P,ie)):Z&16?ce&16?me($,ie,P,B,j,te,re,z,se):Q($,j,te,!0):(Z&8&&u(P,""),ce&16&&y(ie,P,B,j,te,re,z,se))},V=(w,E,P,B,j,te,re,z,se)=>{w=w||fs,E=E||fs;const $=w.length,Z=E.length,ie=Math.min($,Z);let de;for(de=0;deZ?Q(w,j,te,!0,!1,ie):y(E,P,B,j,te,re,z,se,ie)},me=(w,E,P,B,j,te,re,z,se)=>{let $=0;const Z=E.length;let ie=w.length-1,de=Z-1;for(;$<=ie&&$<=de;){const ce=w[$],ye=E[$]=se?gn(E[$]):Ft(E[$]);if(xn(ce,ye))m(ce,ye,P,null,j,te,re,z,se);else break;$++}for(;$<=ie&&$<=de;){const ce=w[ie],ye=E[de]=se?gn(E[de]):Ft(E[de]);if(xn(ce,ye))m(ce,ye,P,null,j,te,re,z,se);else break;ie--,de--}if($>ie){if($<=de){const ce=de+1,ye=cede)for(;$<=ie;)X(w[$],j,te,!0),$++;else{const ce=$,ye=$,K=new Map;for($=ye;$<=de;$++){const Qe=E[$]=se?gn(E[$]):Ft(E[$]);Qe.key!=null&&K.set(Qe.key,$)}let oe,he=0;const xe=de-ye+1;let Le=!1,Ue=0;const Ne=new Array(xe);for($=0;$=xe){X(Qe,j,te,!0);continue}let ot;if(Qe.key!=null)ot=K.get(Qe.key);else for(oe=ye;oe<=de;oe++)if(Ne[oe-ye]===0&&xn(Qe,E[oe])){ot=oe;break}ot===void 0?X(Qe,j,te,!0):(Ne[ot-ye]=$+1,ot>=Ue?Ue=ot:Le=!0,m(Qe,E[ot],P,null,j,te,re,z,se),he++)}const Ze=Le?Y_(Ne):fs;for(oe=Ze.length-1,$=xe-1;$>=0;$--){const Qe=ye+$,ot=E[Qe],yc=Qe+1{const{el:te,type:re,transition:z,children:se,shapeFlag:$}=w;if($&6){pe(w.component.subTree,E,P,B);return}if($&128){w.suspense.move(E,P,B);return}if($&64){re.move(w,E,P,J);return}if(re===Be){s(te,E,P);for(let ie=0;iez.enter(te),j);else{const{leave:ie,delayLeave:de,afterLeave:ce}=z,ye=()=>s(te,E,P),K=()=>{ie(te,()=>{ye(),ce&&ce()})};de?de(te,ye,K):K()}else s(te,E,P)},X=(w,E,P,B=!1,j=!1)=>{const{type:te,props:re,ref:z,children:se,dynamicChildren:$,shapeFlag:Z,patchFlag:ie,dirs:de}=w;if(z!=null&&ja(z,null,P,w,!0),Z&256){E.ctx.deactivate(w);return}const ce=Z&1&&de,ye=!_s(w);let K;if(ye&&(K=re&&re.onVnodeBeforeUnmount)&&yt(K,E,w),Z&6)N(w.component,P,B);else{if(Z&128){w.suspense.unmount(P,B);return}ce&&Rn(w,null,E,"beforeUnmount"),Z&64?w.type.remove(w,E,P,j,J,B):$&&(te!==Be||ie>0&&ie&64)?Q($,E,P,!1,!0):(te===Be&&ie&384||!j&&Z&16)&&Q(se,E,P),B&&_e(w)}(ye&&(K=re&&re.onVnodeUnmounted)||ce)&&tt(()=>{K&&yt(K,E,w),ce&&Rn(w,null,E,"unmounted")},P)},_e=w=>{const{type:E,el:P,anchor:B,transition:j}=w;if(E===Be){we(P,B);return}if(E===nr){C(w);return}const te=()=>{o(P),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(w.shapeFlag&1&&j&&!j.persisted){const{leave:re,delayLeave:z}=j,se=()=>re(P,te);z?z(w.el,te,se):se()}else te()},we=(w,E)=>{let P;for(;w!==E;)P=h(w),o(w),w=P;o(E)},N=(w,E,P)=>{const{bum:B,scope:j,update:te,subTree:re,um:z}=w;B&&ps(B),j.stop(),te&&(te.active=!1,X(re,w,E,P)),z&&tt(z,E),tt(()=>{w.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},Q=(w,E,P,B=!1,j=!1,te=0)=>{for(let re=te;rew.shapeFlag&6?H(w.component.subTree):w.shapeFlag&128?w.suspense.next():h(w.anchor||w.el),ee=(w,E,P)=>{w==null?E._vnode&&X(E._vnode,null,null,!0):m(E._vnode||null,w,E,null,null,null,P),Oc(),eh(),E._vnode=w},J={p:m,um:X,m:pe,r:_e,mt:I,mc:y,pc:q,pbc:S,n:H,o:t};let fe,le;return e&&([fe,le]=e(J)),{render:ee,hydrate:fe,createApp:K_(ee,fe)}}function Nn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function xh(t,e,n=!1){const s=t.children,o=e.children;if(ve(s)&&ve(o))for(let r=0;r>1,t[n[a]]0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=e[i];return n}const Q_=t=>t.__isTeleport,Be=Symbol(void 0),Vr=Symbol(void 0),kt=Symbol(void 0),nr=Symbol(void 0),eo=[];let Nt=null;function O(t=!1){eo.push(Nt=t?null:[])}function J_(){eo.pop(),Nt=eo[eo.length-1]||null}let go=1;function jc(t){go+=t}function kh(t){return t.dynamicChildren=go>0?Nt||fs:null,J_(),go>0&&Nt&&Nt.push(t),t}function R(t,e,n,s,o,r){return kh(d(t,e,n,s,o,r,!0))}function at(t,e,n,s,o){return kh(Ce(t,e,n,s,o,!0))}function mo(t){return t?t.__v_isVNode===!0:!1}function xn(t,e){return t.type===e.type&&t.key===e.key}const Gr="__vInternal",Eh=({key:t})=>t??null,sr=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ge(t)||lt(t)||Se(t)?{i:nt,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===Be?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Eh(e),ref:e&&sr(e),scopeId:$r,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:nt};return a?(Ll(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),go>0&&!i&&Nt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Nt.push(l),l}const Ce=X_;function X_(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===dh)&&(t=kt),mo(t)){const a=on(t,e,!0);return n&&Ll(a,n),go>0&&!r&&Nt&&(a.shapeFlag&6?Nt[Nt.indexOf(t)]=a:Nt.push(a)),a.patchFlag|=-2,a}if(c1(t)&&(t=t.__vccOpts),e){e=e1(e);let{class:a,style:l}=e;a&&!Ge(a)&&(e.class=Me(a)),He(l)&&(Vf(l)&&!ve(l)&&(l=et({},l)),e.style=en(l))}const i=Ge(t)?1:sh(t)?128:Q_(t)?64:He(t)?4:Se(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function e1(t){return t?Vf(t)||Gr in t?et({},t):t:null}function on(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?t1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Eh(a),ref:e&&e.ref?n&&o?ve(o)?o.concat(sr(e)):[o,sr(e)]:sr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Be?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&on(t.ssContent),ssFallback:t.ssFallback&&on(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ke(t=" ",e=0){return Ce(Vr,null,t,e)}function To(t,e){const n=Ce(nr,null,t);return n.staticCount=e,n}function U(t="",e=!1){return e?(O(),at(kt,null,t)):Ce(kt,null,t)}function Ft(t){return t==null||typeof t=="boolean"?Ce(kt):ve(t)?Ce(Be,null,t.slice()):typeof t=="object"?gn(t):Ce(Vr,null,String(t))}function gn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:on(t)}function Ll(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(ve(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Ll(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Gr in e)?e._ctx=nt:o===3&&nt&&(nt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Se(e)?(e={default:e,_ctx:nt},n=32):(e=String(e),s&64?(n=16,e=[ke(e)]):n=8);t.children=e,t.shapeFlag|=n}function t1(...t){const e={};for(let n=0;nWe||nt,ws=t=>{We=t,t.scope.on()},Kn=()=>{We&&We.scope.off(),We=null};function Ch(t){return t.vnode.shapeFlag&4}let _o=!1;function r1(t,e=!1){_o=e;const{props:n,children:s}=t.vnode,o=Ch(t);$_(t,n,o,e),H_(t,s);const r=o?i1(t,e):void 0;return _o=!1,r}function i1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Gf(new Proxy(t.ctx,I_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?l1(t):null;ws(t),Ls();const r=An(s,t,0,[t.props,o]);if(Is(),Kn(),Rf(r)){if(r.then(Kn,Kn),e)return r.then(i=>{zc(t,i,e)}).catch(i=>{jr(i,t,0)});t.asyncDep=r}else zc(t,r,e)}else Ah(t,e)}function zc(t,e,n){Se(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:He(e)&&(t.setupState=Yf(e)),Ah(t,n)}let $c;function Ah(t,e,n){const s=t.type;if(!t.render){if(!e&&$c&&!s.render){const o=s.template||Nl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=et(et({isCustomElement:r,delimiters:a},i),l);s.render=$c(o,c)}}t.render=s.render||Dt}ws(t),Ls(),P_(t),Is(),Kn()}function a1(t){return new Proxy(t.attrs,{get(e,n){return ht(t,"get","$attrs"),e[n]}})}function l1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=a1(t))},slots:t.slots,emit:t.emit,expose:e}}function Kr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Yf(Gf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Xs)return Xs[n](t)},has(e,n){return n in e||n in Xs}}))}function za(t,e=!0){return Se(t)?t.displayName||t.name:t.name||e&&t.__name}function c1(t){return Se(t)&&"__vccOpts"in t}const wt=(t,e)=>l_(t,e,_o);function Sh(t,e,n){const s=arguments.length;return s===2?He(e)&&!ve(e)?mo(e)?Ce(t,null,[e]):Ce(t,e):Ce(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&mo(n)&&(n=[n]),Ce(t,e,n))}const u1=Symbol(""),d1=()=>tn(u1),f1="3.2.47",h1="http://www.w3.org/2000/svg",Bn=typeof document<"u"?document:null,qc=Bn&&Bn.createElement("template"),p1={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const o=e?Bn.createElementNS(h1,t):Bn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Bn.createTextNode(t),createComment:t=>Bn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Bn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,o,r){const i=n?n.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{qc.innerHTML=s?`${t}`:t;const a=qc.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[i?i.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function g1(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function m1(t,e,n){const s=t.style,o=Ge(n);if(n&&!o){if(e&&!Ge(e))for(const r in e)n[r]==null&&$a(s,r,"");for(const r in n)$a(s,r,n[r])}else{const r=s.display;o?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=r)}}const Uc=/\s*!important$/;function $a(t,e,n){if(ve(n))n.forEach(s=>$a(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=_1(t,e);Uc.test(n)?t.setProperty(Xn(s),n.replace(Uc,""),"important"):t[s]=n}}const Hc=["Webkit","Moz","ms"],wi={};function _1(t,e){const n=wi[e];if(n)return n;let s=Gt(e);if(s!=="filter"&&s in t)return wi[e]=s;s=Fr(s);for(let o=0;oxi||(k1.then(()=>xi=0),xi=Date.now());function C1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xt(A1(s,n.value),e,5,[s])};return n.value=t,n.attached=E1(),n}function A1(t,e){if(ve(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>o=>!o._stopped&&s&&s(o))}else return e}const Kc=/^on[a-z]/,S1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?g1(t,s,o):e==="style"?m1(t,n,s):Ir(e)?ml(e)||w1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):T1(t,e,s,o))?y1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),b1(t,e,s,o))};function T1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&Kc.test(e)&&Se(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Kc.test(e)&&Ge(n)?!1:e in t}const dn="transition",Vs="animation",Th={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},O1=et({},x_.props,Th),Dn=(t,e=[])=>{ve(t)?t.forEach(n=>n(...e)):t&&t(...e)},Wc=t=>t?ve(t)?t.some(e=>e.length>1):t.length>1:!1;function M1(t){const e={};for(const F in t)F in Th||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,p=R1(o),m=p&&p[0],v=p&&p[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:x,onLeave:C,onLeaveCancelled:M,onBeforeAppear:T=_,onAppear:D=b,onAppearCancelled:y=x}=e,k=(F,Y,I)=>{pn(F,Y?u:a),pn(F,Y?c:i),I&&I()},S=(F,Y)=>{F._isLeaving=!1,pn(F,f),pn(F,g),pn(F,h),Y&&Y()},L=F=>(Y,I)=>{const ae=F?D:b,W=()=>k(Y,F,I);Dn(ae,[Y,W]),Zc(()=>{pn(Y,F?l:r),Jt(Y,F?u:a),Wc(ae)||Yc(Y,s,m,W)})};return et(e,{onBeforeEnter(F){Dn(_,[F]),Jt(F,r),Jt(F,i)},onBeforeAppear(F){Dn(T,[F]),Jt(F,l),Jt(F,c)},onEnter:L(!1),onAppear:L(!0),onLeave(F,Y){F._isLeaving=!0;const I=()=>S(F,Y);Jt(F,f),Mh(),Jt(F,h),Zc(()=>{F._isLeaving&&(pn(F,f),Jt(F,g),Wc(C)||Yc(F,s,v,I))}),Dn(C,[F,I])},onEnterCancelled(F){k(F,!1),Dn(x,[F])},onAppearCancelled(F){k(F,!0),Dn(y,[F])},onLeaveCancelled(F){S(F),Dn(M,[F])}})}function R1(t){if(t==null)return null;if(He(t))return[ki(t.enter),ki(t.leave)];{const e=ki(t);return[e,e]}}function ki(t){return Cm(t)}function Jt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function pn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Zc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let N1=0;function Yc(t,e,n,s){const o=t._endId=++N1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Oh(t,e);if(!i)return s();const c=i+"end";let u=0;const f=()=>{t.removeEventListener(c,h),r()},h=g=>{g.target===t&&++u>=l&&f()};setTimeout(()=>{u(n[p]||"").split(", "),o=s(`${dn}Delay`),r=s(`${dn}Duration`),i=Qc(o,r),a=s(`${Vs}Delay`),l=s(`${Vs}Duration`),c=Qc(a,l);let u=null,f=0,h=0;e===dn?i>0&&(u=dn,f=i,h=r.length):e===Vs?c>0&&(u=Vs,f=c,h=l.length):(f=Math.max(i,c),u=f>0?i>c?dn:Vs:null,h=u?u===dn?r.length:l.length:0);const g=u===dn&&/\b(transform|all)(,|$)/.test(s(`${dn}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:g}}function Qc(t,e){for(;t.lengthJc(n)+Jc(t[s])))}function Jc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Mh(){return document.body.offsetHeight}const Rh=new WeakMap,Nh=new WeakMap,Dh={name:"TransitionGroup",props:et({},O1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Il(),s=ih();let o,r;return Ol(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!F1(o[0].el,n.vnode.el,i))return;o.forEach(L1),o.forEach(I1);const a=o.filter(P1);Mh(),a.forEach(l=>{const c=l.el,u=c.style;Jt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,pn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Fe(t),a=M1(i);let l=i.tag||Be;o=r,r=e.default?Tl(e.default()):[];for(let c=0;cdelete t.mode;Dh.props;const jt=Dh;function L1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function I1(t){Nh.set(t,t.el.getBoundingClientRect())}function P1(t){const e=Rh.get(t),n=Nh.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function F1(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=Oh(s);return o.removeChild(s),r}const xs=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ve(e)?n=>ps(e,n):e};function B1(t){t.target.composing=!0}function Xc(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const je={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=xs(o);const r=s||o.props&&o.props.type==="number";kn(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=pr(a)),t._assign(a)}),n&&kn(t,"change",()=>{t.value=t.value.trim()}),e||(kn(t,"compositionstart",B1),kn(t,"compositionend",Xc),kn(t,"change",Xc))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=xs(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&pr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},mn={deep:!0,created(t,e,n){t._assign=xs(n),kn(t,"change",()=>{const s=t._modelValue,o=bo(t),r=t.checked,i=t._assign;if(ve(s)){const a=gl(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const c=[...s];c.splice(a,1),i(c)}}else if(Ns(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Lh(t,r))})},mounted:eu,beforeUpdate(t,e,n){t._assign=xs(n),eu(t,e,n)}};function eu(t,{value:e,oldValue:n},s){t._modelValue=e,ve(e)?t.checked=gl(e,s.props.value)>-1:Ns(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=So(e,Lh(t,!0)))}const j1={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Ns(e);kn(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?pr(bo(i)):bo(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=xs(s)},mounted(t,{value:e}){tu(t,e)},beforeUpdate(t,e,n){t._assign=xs(n)},updated(t,{value:e}){tu(t,e)}};function tu(t,e){const n=t.multiple;if(!(n&&!ve(e)&&!Ns(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(So(bo(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function bo(t){return"_value"in t?t._value:t.value}function Lh(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const z1=["ctrl","shift","alt","meta"],$1={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>z1.some(n=>t[`${n}Key`]&&!e.includes(n))},ue=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=Xn(n.key);if(e.some(o=>o===s||q1[o]===s))return t(n)},U1=et({patchProp:S1},p1);let nu;function H1(){return nu||(nu=W_(U1))}const Ih=(...t)=>{const e=H1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=V1(s);if(!o)return;const r=e._component;!Se(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},e};function V1(t){return Ge(t)?document.querySelector(t):t}function G1(){return Ph().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Ph(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const K1=typeof Proxy=="function",W1="devtools-plugin:setup",Z1="plugin:settings:set";let ss,Ua;function Y1(){var t;return ss!==void 0||(typeof window<"u"&&window.performance?(ss=!0,Ua=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(ss=!0,Ua=global.perf_hooks.performance):ss=!1),ss}function Q1(){return Y1()?Ua.now():Date.now()}class J1{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const s={};if(e.settings)for(const i in e.settings){const a=e.settings[i];s[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},s);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}r=i},now(){return Q1()}},n&&n.on(Z1,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function X1(t,e){const n=t,s=Ph(),o=G1(),r=K1&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(W1,t,e);else{const i=r?new J1(n,o):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*! +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function gl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function en(t){if(ve(t)){const e={};for(let n=0;n{if(n){const s=n.split(hm);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Me(t){let e="";if(Ge(t))e=t;else if(ve(t))for(let n=0;nTo(n,e))}const ne=t=>Ge(t)?t:t==null?"":ve(t)||He(t)&&(t.toString===Df||!Se(t.toString))?JSON.stringify(t,Rf,2):String(t),Rf=(t,e)=>e&&e.__v_isRef?Rf(t,e.value):ps(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ds(e)?{[`Set(${e.size})`]:[...e.values()]}:He(e)&&!ve(e)&&!Lf(e)?String(e):e,Ve={},hs=[],Dt=()=>{},ym=()=>!1,vm=/^on[^a-z]/,Pr=t=>vm.test(t),_l=t=>t.startsWith("onUpdate:"),et=Object.assign,bl=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},wm=Object.prototype.hasOwnProperty,Ie=(t,e)=>wm.call(t,e),ve=Array.isArray,ps=t=>Ls(t)==="[object Map]",Ds=t=>Ls(t)==="[object Set]",wc=t=>Ls(t)==="[object Date]",xm=t=>Ls(t)==="[object RegExp]",Se=t=>typeof t=="function",Ge=t=>typeof t=="string",co=t=>typeof t=="symbol",He=t=>t!==null&&typeof t=="object",Nf=t=>He(t)&&Se(t.then)&&Se(t.catch),Df=Object.prototype.toString,Ls=t=>Df.call(t),km=t=>Ls(t).slice(8,-1),Lf=t=>Ls(t)==="[object Object]",yl=t=>Ge(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,tr=gl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Em=/-(\w)/g,Gt=Fr(t=>t.replace(Em,(e,n)=>n?n.toUpperCase():"")),Cm=/\B([A-Z])/g,ts=Fr(t=>t.replace(Cm,"-$1").toLowerCase()),Br=Fr(t=>t.charAt(0).toUpperCase()+t.slice(1)),mi=Fr(t=>t?`on${Br(t)}`:""),uo=(t,e)=>!Object.is(t,e),gs=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},gr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Am=t=>{const e=Ge(t)?Number(t):NaN;return isNaN(e)?t:e};let xc;const Sm=()=>xc||(xc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ot;class Tm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ot,!e&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Ot;try{return Ot=this,e()}finally{Ot=n}}}on(){Ot=this}off(){Ot=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},If=t=>(t.w&Tn)>0,Pf=t=>(t.n&Tn)>0,Rm=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s{(c==="length"||c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":ve(t)?yl(n)&&a.push(i.get("length")):(a.push(i.get(Kn)),ps(t)&&a.push(i.get(Da)));break;case"delete":ve(t)||(a.push(i.get(Kn)),ps(t)&&a.push(i.get(Da)));break;case"set":ps(t)&&a.push(i.get(Kn));break}if(a.length===1)a[0]&&La(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);La(vl(l))}}function La(t,e){const n=ve(t)?t:[...t];for(const s of n)s.computed&&Ec(s);for(const s of n)s.computed||Ec(s)}function Ec(t,e){(t!==Rt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Dm=gl("__proto__,__v_isRef,__isVue"),jf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(co)),Lm=xl(),Im=xl(!1,!0),Pm=xl(!0),Cc=Fm();function Fm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Fe(this);for(let r=0,i=this.length;r{t[e]=function(...n){Is();const s=Fe(this)[e].apply(this,n);return Ps(),s}}),t}function Bm(t){const e=Fe(this);return ht(e,"has",t),e.hasOwnProperty(t)}function xl(t=!1,e=!1){return function(s,o,r){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&r===(t?e?e_:Hf:e?Uf:qf).get(s))return s;const i=ve(s);if(!t){if(i&&Ie(Cc,o))return Reflect.get(Cc,o,r);if(o==="hasOwnProperty")return Bm}const a=Reflect.get(s,o,r);return(co(o)?jf.has(o):Dm(o))||(t||ht(s,"get",o),e)?a:lt(a)?i&&yl(o)?a:a.value:He(a)?t?Vf(a):Fs(a):a}}const jm=zf(),zm=zf(!0);function zf(t=!1){return function(n,s,o,r){let i=n[s];if(vs(i)&<(i)&&!lt(o))return!1;if(!t&&(!mr(o)&&!vs(o)&&(i=Fe(i),o=Fe(o)),!ve(n)&<(i)&&!lt(o)))return i.value=o,!0;const a=ve(n)&&yl(s)?Number(s)t,jr=t=>Reflect.getPrototypeOf(t);function Fo(t,e,n=!1,s=!1){t=t.__v_raw;const o=Fe(t),r=Fe(e);n||(e!==r&&ht(o,"get",e),ht(o,"get",r));const{has:i}=jr(o),a=s?kl:n?Al:fo;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function Bo(t,e=!1){const n=this.__v_raw,s=Fe(n),o=Fe(t);return e||(t!==o&&ht(s,"has",t),ht(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function jo(t,e=!1){return t=t.__v_raw,!e&&ht(Fe(t),"iterate",Kn),Reflect.get(t,"size",t)}function Ac(t){t=Fe(t);const e=Fe(this);return jr(e).has.call(e,t)||(e.add(t),sn(e,"add",t,t)),this}function Sc(t,e){e=Fe(e);const n=Fe(this),{has:s,get:o}=jr(n);let r=s.call(n,t);r||(t=Fe(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?uo(e,i)&&sn(n,"set",t,e):sn(n,"add",t,e),this}function Tc(t){const e=Fe(this),{has:n,get:s}=jr(e);let o=n.call(e,t);o||(t=Fe(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&sn(e,"delete",t,void 0),r}function Oc(){const t=Fe(this),e=t.size!==0,n=t.clear();return e&&sn(t,"clear",void 0,void 0),n}function zo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Fe(i),l=e?kl:t?Al:fo;return!t&&ht(a,"iterate",Kn),i.forEach((u,c)=>s.call(o,l(u),l(c),r))}}function $o(t,e,n){return function(...s){const o=this.__v_raw,r=Fe(o),i=ps(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,u=o[t](...s),c=n?kl:e?Al:fo;return!e&&ht(r,"iterate",l?Da:Kn),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function dn(t){return function(...e){return t==="delete"?!1:this}}function Gm(){const t={get(r){return Fo(this,r)},get size(){return jo(this)},has:Bo,add:Ac,set:Sc,delete:Tc,clear:Oc,forEach:zo(!1,!1)},e={get(r){return Fo(this,r,!1,!0)},get size(){return jo(this)},has:Bo,add:Ac,set:Sc,delete:Tc,clear:Oc,forEach:zo(!1,!0)},n={get(r){return Fo(this,r,!0)},get size(){return jo(this,!0)},has(r){return Bo.call(this,r,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:zo(!0,!1)},s={get(r){return Fo(this,r,!0,!0)},get size(){return jo(this,!0)},has(r){return Bo.call(this,r,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:zo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=$o(r,!1,!1),n[r]=$o(r,!0,!1),e[r]=$o(r,!1,!0),s[r]=$o(r,!0,!0)}),[t,n,e,s]}const[Km,Wm,Zm,Ym]=Gm();function El(t,e){const n=e?t?Ym:Zm:t?Wm:Km;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(Ie(n,o)&&o in s?n:s,o,r)}const Qm={get:El(!1,!1)},Jm={get:El(!1,!0)},Xm={get:El(!0,!1)},qf=new WeakMap,Uf=new WeakMap,Hf=new WeakMap,e_=new WeakMap;function t_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function n_(t){return t.__v_skip||!Object.isExtensible(t)?0:t_(km(t))}function Fs(t){return vs(t)?t:Cl(t,!1,$f,Qm,qf)}function s_(t){return Cl(t,!1,Vm,Jm,Uf)}function Vf(t){return Cl(t,!0,Hm,Xm,Hf)}function Cl(t,e,n,s,o){if(!He(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=n_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ms(t){return vs(t)?ms(t.__v_raw):!!(t&&t.__v_isReactive)}function vs(t){return!!(t&&t.__v_isReadonly)}function mr(t){return!!(t&&t.__v_isShallow)}function Gf(t){return ms(t)||vs(t)}function Fe(t){const e=t&&t.__v_raw;return e?Fe(e):t}function Kf(t){return pr(t,"__v_skip",!0),t}const fo=t=>He(t)?Fs(t):t,Al=t=>He(t)?Vf(t):t;function Wf(t){An&&Rt&&(t=Fe(t),Bf(t.dep||(t.dep=vl())))}function Zf(t,e){t=Fe(t);const n=t.dep;n&&La(n)}function lt(t){return!!(t&&t.__v_isRef===!0)}function o_(t){return Yf(t,!1)}function r_(t){return Yf(t,!0)}function Yf(t,e){return lt(t)?t:new i_(t,e)}class i_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Fe(e),this._value=n?e:fo(e)}get value(){return Wf(this),this._value}set value(e){const n=this.__v_isShallow||mr(e)||vs(e);e=n?e:Fe(e),uo(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:fo(e),Zf(this))}}function gt(t){return lt(t)?t.value:t}const a_={get:(t,e,n)=>gt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return lt(o)&&!lt(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function Qf(t){return ms(t)?t:new Proxy(t,a_)}var Jf;class l_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Jf]=!1,this._dirty=!0,this.effect=new wl(e,()=>{this._dirty||(this._dirty=!0,Zf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Fe(this);return Wf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Jf="__v_isReadonly";function c_(t,e,n=!1){let s,o;const r=Se(t);return r?(s=t,o=Dt):(s=t.get,o=t.set),new l_(s,o,r||!o,n)}function Sn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){zr(r,e,n)}return o}function xt(t,e,n,s){if(Se(t)){const r=Sn(t,e,n,s);return r&&Nf(r)&&r.catch(i=>{zr(i,e,n)}),r}const o=[];for(let r=0;r>>1;po(it[s])Bt&&it.splice(e,1)}function h_(t){ve(t)?_s.push(...t):(!Xt||!Xt.includes(t,t.allowRecurse?jn+1:jn))&&_s.push(t),eh()}function Mc(t,e=ho?Bt+1:0){for(;epo(n)-po(s)),jn=0;jnt.id==null?1/0:t.id,p_=(t,e)=>{const n=po(t)-po(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function nh(t){Ia=!1,ho=!0,it.sort(p_);const e=Dt;try{for(Bt=0;BtGe(p)?p.trim():p)),f&&(o=n.map(gr))}let a,l=s[a=mi(e)]||s[a=mi(Gt(e))];!l&&r&&(l=s[a=mi(ts(e))]),l&&xt(l,t,6,o);const u=s[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,xt(u,t,6,o)}}function sh(t,e,n=!1){const s=e.emitsCache,o=s.get(t);if(o!==void 0)return o;const r=t.emits;let i={},a=!1;if(!Se(t)){const l=u=>{const c=sh(u,e,!0);c&&(a=!0,et(i,c))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(He(t)&&s.set(t,null),null):(ve(r)?r.forEach(l=>i[l]=null):et(i,r),He(t)&&s.set(t,i),i)}function $r(t,e){return!t||!Pr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Ie(t,e[0].toLowerCase()+e.slice(1))||Ie(t,ts(e))||Ie(t,e))}let nt=null,qr=null;function _r(t){const e=nt;return nt=t,qr=t&&t.type.__scopeId||null,e}function Bs(t){qr=t}function js(){qr=null}function Je(t,e=nt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&zc(-1);const r=_r(e);let i;try{i=t(...o)}finally{_r(r),s._d&&zc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function _i(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:u,render:c,renderCache:f,data:h,setupState:p,ctx:g,inheritAttrs:m}=t;let y,_;const b=_r(t);try{if(n.shapeFlag&4){const E=o||s;y=Ft(c.call(E,E,f,r,p,h,g)),_=l}else{const E=e;y=Ft(E.length>1?E(r,{attrs:l,slots:a,emit:u}):E(r,null)),_=e.props?l:m_(l)}}catch(E){to.length=0,zr(E,t,1),y=Ce(kt)}let v=y;if(_&&m!==!1){const E=Object.keys(_),{shapeFlag:M}=v;E.length&&M&7&&(i&&E.some(_l)&&(_=__(_,i)),v=on(v,_))}return n.dirs&&(v=on(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),y=v,_r(b),y}const m_=t=>{let e;for(const n in t)(n==="class"||n==="style"||Pr(n))&&((e||(e={}))[n]=t[n]);return e},__=(t,e)=>{const n={};for(const s in t)(!_l(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function b_(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,u=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Rc(s,i,u):!!i;if(l&8){const c=e.dynamicProps;for(let f=0;ft.__isSuspense;function v_(t,e){e&&e.pendingBranch?ve(t)?e.effects.push(...t):e.effects.push(t):h_(t)}function nr(t,e){if(We){let n=We.provides;const s=We.parent&&We.parent.provides;s===n&&(n=We.provides=Object.create(s)),n[t]=e}}function tn(t,e,n=!1){const s=We||nt;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Se(e)?e.call(s.proxy):e}}const qo={};function Wn(t,e,n){return rh(t,e,n)}function rh(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ve){const a=Mm()===(We==null?void 0:We.scope)?We:null;let l,u=!1,c=!1;if(lt(t)?(l=()=>t.value,u=mr(t)):ms(t)?(l=()=>t,s=!0):ve(t)?(c=!0,u=t.some(v=>ms(v)||mr(v)),l=()=>t.map(v=>{if(lt(v))return v.value;if(ms(v))return Vn(v);if(Se(v))return Sn(v,a,2)})):Se(t)?e?l=()=>Sn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),xt(t,a,3,[h])}:l=Dt,e&&s){const v=l;l=()=>Vn(v())}let f,h=v=>{f=_.onStop=()=>{Sn(v,a,4)}},p;if(bo)if(h=Dt,e?n&&xt(e,a,3,[l(),c?[]:void 0,h]):l(),o==="sync"){const v=f1();p=v.__watcherHandles||(v.__watcherHandles=[])}else return Dt;let g=c?new Array(t.length).fill(qo):qo;const m=()=>{if(_.active)if(e){const v=_.run();(s||u||(c?v.some((E,M)=>uo(E,g[M])):uo(v,g)))&&(f&&f(),xt(e,a,3,[v,g===qo?void 0:c&&g[0]===qo?[]:g,h]),g=v)}else _.run()};m.allowRecurse=!!e;let y;o==="sync"?y=m:o==="post"?y=()=>tt(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),y=()=>Tl(m));const _=new wl(l,y);e?n?m():g=_.run():o==="post"?tt(_.run.bind(_),a&&a.suspense):_.run();const b=()=>{_.stop(),a&&a.scope&&bl(a.scope.effects,_)};return p&&p.push(b),b}function w_(t,e,n){const s=this.proxy,o=Ge(t)?t.includes(".")?ih(s,t):()=>s[t]:t.bind(s,s);let r;Se(e)?r=e:(r=e.handler,n=e);const i=We;xs(this);const a=rh(o,r.bind(s),n);return i?xs(i):Zn(),a}function ih(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Vn(n,e)});else if(Lf(t))for(const n in t)Vn(t[n],e);return t}function ah(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Vr(()=>{t.isMounted=!0}),Rl(()=>{t.isUnmounting=!0}),t}const bt=[Function,Array],x_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:bt,onEnter:bt,onAfterEnter:bt,onEnterCancelled:bt,onBeforeLeave:bt,onLeave:bt,onAfterLeave:bt,onLeaveCancelled:bt,onBeforeAppear:bt,onAppear:bt,onAfterAppear:bt,onAppearCancelled:bt},setup(t,{slots:e}){const n=Pl(),s=ah();let o;return()=>{const r=e.default&&Ol(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==kt){i=m;break}}const a=Fe(t),{mode:l}=a;if(s.isLeaving)return bi(i);const u=Nc(i);if(!u)return bi(i);const c=go(u,a,s,n);ws(u,c);const f=n.subTree,h=f&&Nc(f);let p=!1;const{getTransitionKey:g}=u.type;if(g){const m=g();o===void 0?o=m:m!==o&&(o=m,p=!0)}if(h&&h.type!==kt&&(!kn(u,h)||p)){const m=go(h,a,s,n);if(ws(h,m),l==="out-in")return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},bi(i);l==="in-out"&&u.type!==kt&&(m.delayLeave=(y,_,b)=>{const v=lh(s,h);v[String(h.key)]=h,y._leaveCb=()=>{_(),y._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=b})}return i}}},k_=x_;function lh(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function go(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:y,onAfterAppear:_,onAppearCancelled:b}=e,v=String(t.key),E=lh(n,t),M=(w,k)=>{w&&xt(w,s,9,k)},T=(w,k)=>{const S=k[1];M(w,k),ve(w)?w.every(D=>D.length<=1)&&S():w.length<=1&&S()},N={mode:r,persisted:i,beforeEnter(w){let k=a;if(!n.isMounted)if(o)k=m||a;else return;w._leaveCb&&w._leaveCb(!0);const S=E[v];S&&kn(t,S)&&S.el._leaveCb&&S.el._leaveCb(),M(k,[w])},enter(w){let k=l,S=u,D=c;if(!n.isMounted)if(o)k=y||l,S=_||u,D=b||c;else return;let P=!1;const W=w._enterCb=R=>{P||(P=!0,R?M(D,[w]):M(S,[w]),N.delayedLeave&&N.delayedLeave(),w._enterCb=void 0)};k?T(k,[w,W]):W()},leave(w,k){const S=String(t.key);if(w._enterCb&&w._enterCb(!0),n.isUnmounting)return k();M(f,[w]);let D=!1;const P=w._leaveCb=W=>{D||(D=!0,k(),W?M(g,[w]):M(p,[w]),w._leaveCb=void 0,E[S]===t&&delete E[S])};E[S]=t,h?T(h,[w,P]):P()},clone(w){return go(w,e,n,s)}};return N}function bi(t){if(Ur(t))return t=on(t),t.children=null,t}function Nc(t){return Ur(t)?t.children?t.children[0]:void 0:t}function ws(t,e){t.shapeFlag&6&&t.component?ws(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 Ol(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,Ur=t=>t.type.__isKeepAlive,E_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Pl(),s=n.ctx;if(!s.renderer)return()=>{const b=e.default&&e.default();return b&&b.length===1?b[0]:b};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=s,h=f("div");s.activate=(b,v,E,M,T)=>{const N=b.component;u(b,v,E,0,a),l(N.vnode,b,v,E,N,a,M,b.slotScopeIds,T),tt(()=>{N.isDeactivated=!1,N.a&&gs(N.a);const w=b.props&&b.props.onVnodeMounted;w&&yt(w,N.parent,b)},a)},s.deactivate=b=>{const v=b.component;u(b,h,null,1,a),tt(()=>{v.da&&gs(v.da);const E=b.props&&b.props.onVnodeUnmounted;E&&yt(E,v.parent,b),v.isDeactivated=!0},a)};function p(b){yi(b),c(b,n,a,!0)}function g(b){o.forEach((v,E)=>{const M=$a(v.type);M&&(!b||!b(M))&&m(E)})}function m(b){const v=o.get(b);!i||!kn(v,i)?p(v):i&&yi(i),o.delete(b),r.delete(b)}Wn(()=>[t.include,t.exclude],([b,v])=>{b&&g(E=>Js(b,E)),v&&g(E=>!Js(v,E))},{flush:"post",deep:!0});let y=null;const _=()=>{y!=null&&o.set(y,vi(n.subTree))};return Vr(_),Ml(_),Rl(()=>{o.forEach(b=>{const{subTree:v,suspense:E}=n,M=vi(v);if(b.type===M.type&&b.key===M.key){yi(M);const T=M.component.da;T&&tt(T,E);return}p(b)})}),()=>{if(y=null,!e.default)return null;const b=e.default(),v=b[0];if(b.length>1)return i=null,b;if(!_o(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let E=vi(v);const M=E.type,T=$a(bs(E)?E.type.__asyncResolved||{}:M),{include:N,exclude:w,max:k}=t;if(N&&(!T||!Js(N,T))||w&&T&&Js(w,T))return i=E,v;const S=E.key==null?M:E.key,D=o.get(S);return E.el&&(E=on(E),v.shapeFlag&128&&(v.ssContent=E)),y=S,D?(E.el=D.el,E.component=D.component,E.transition&&ws(E,E.transition),E.shapeFlag|=512,r.delete(S),r.add(S)):(r.add(S),k&&r.size>parseInt(k,10)&&m(r.values().next().value)),E.shapeFlag|=256,i=E,oh(v.type)?v:E}}},C_=E_;function Js(t,e){return ve(t)?t.some(n=>Js(n,e)):Ge(t)?t.split(",").includes(e):xm(t)?t.test(e):!1}function A_(t,e){uh(t,"a",e)}function S_(t,e){uh(t,"da",e)}function uh(t,e,n=We){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Hr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Ur(o.parent.vnode)&&T_(s,e,n,o),o=o.parent}}function T_(t,e,n,s){const o=Hr(e,t,s,!0);dh(()=>{bl(s[e],o)},n)}function yi(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function vi(t){return t.shapeFlag&128?t.ssContent:t}function Hr(t,e,n=We,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Is(),xs(n);const a=xt(e,n,t,i);return Zn(),Ps(),a});return s?o.unshift(r):o.push(r),r}}const ln=t=>(e,n=We)=>(!bo||t==="sp")&&Hr(t,(...s)=>e(...s),n),O_=ln("bm"),Vr=ln("m"),M_=ln("bu"),Ml=ln("u"),Rl=ln("bum"),dh=ln("um"),R_=ln("sp"),N_=ln("rtg"),D_=ln("rtc");function L_(t,e=We){Hr("ec",t,e)}function Oe(t,e){const n=nt;if(n===null)return t;const s=Wr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;re(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;a_o(e)?!(e.type===kt||e.type===Be&&!gh(e.children)):!0)?t:null}const Pa=t=>t?Ah(t)?Wr(t)||t.proxy:Pa(t.parent):null,eo=et(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=>Pa(t.parent),$root:t=>Pa(t.root),$emit:t=>t.emit,$options:t=>Dl(t),$forceUpdate:t=>t.f||(t.f=()=>Tl(t.update)),$nextTick:t=>t.n||(t.n=me.bind(t.proxy)),$watch:t=>w_.bind(t)}),wi=(t,e)=>t!==Ve&&!t.__isScriptSetup&&Ie(t,e),P_={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let u;if(e[0]!=="$"){const p=i[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(wi(s,e))return i[e]=1,s[e];if(o!==Ve&&Ie(o,e))return i[e]=2,o[e];if((u=t.propsOptions[0])&&Ie(u,e))return i[e]=3,r[e];if(n!==Ve&&Ie(n,e))return i[e]=4,n[e];Fa&&(i[e]=0)}}const c=eo[e];let f,h;if(c)return e==="$attrs"&&ht(t,"get",e),c(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==Ve&&Ie(n,e))return i[e]=4,n[e];if(h=l.config.globalProperties,Ie(h,e))return h[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return wi(o,e)?(o[e]=n,!0):s!==Ve&&Ie(s,e)?(s[e]=n,!0):Ie(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||t!==Ve&&Ie(t,i)||wi(e,i)||(a=r[0])&&Ie(a,i)||Ie(s,i)||Ie(eo,i)||Ie(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Ie(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Fa=!0;function F_(t){const e=Dl(t),n=t.proxy,s=t.ctx;Fa=!1,e.beforeCreate&&Lc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:p,updated:g,activated:m,deactivated:y,beforeDestroy:_,beforeUnmount:b,destroyed:v,unmounted:E,render:M,renderTracked:T,renderTriggered:N,errorCaptured:w,serverPrefetch:k,expose:S,inheritAttrs:D,components:P,directives:W,filters:R}=e;if(u&&B_(u,s,null,t.appContext.config.unwrapInjectedRef),i)for(const A in i){const $=i[A];Se($)&&(s[A]=$.bind(n))}if(o){const A=o.call(n,n);He(A)&&(t.data=Fs(A))}if(Fa=!0,r)for(const A in r){const $=r[A],H=Se($)?$.bind(n,n):Se($.get)?$.get.bind(n,n):Dt,fe=!Se($)&&Se($.set)?$.set.bind(n):Dt,ge=wt({get:H,set:fe});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>ge.value,set:J=>ge.value=J})}if(a)for(const A in a)mh(a[A],s,n,A);if(l){const A=Se(l)?l.call(n):l;Reflect.ownKeys(A).forEach($=>{nr($,A[$])})}c&&Lc(c,t,"c");function V(A,$){ve($)?$.forEach(H=>A(H.bind(n))):$&&A($.bind(n))}if(V(O_,f),V(Vr,h),V(M_,p),V(Ml,g),V(A_,m),V(S_,y),V(L_,w),V(D_,T),V(N_,N),V(Rl,b),V(dh,E),V(R_,k),ve(S))if(S.length){const A=t.exposed||(t.exposed={});S.forEach($=>{Object.defineProperty(A,$,{get:()=>n[$],set:H=>n[$]=H})})}else t.exposed||(t.exposed={});M&&t.render===Dt&&(t.render=M),D!=null&&(t.inheritAttrs=D),P&&(t.components=P),W&&(t.directives=W)}function B_(t,e,n=Dt,s=!1){ve(t)&&(t=Ba(t));for(const o in t){const r=t[o];let i;He(r)?"default"in r?i=tn(r.from||o,r.default,!0):i=tn(r.from||o):i=tn(r),lt(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Lc(t,e,n){xt(ve(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function mh(t,e,n,s){const o=s.includes(".")?ih(n,s):()=>n[s];if(Ge(t)){const r=e[t];Se(r)&&Wn(o,r)}else if(Se(t))Wn(o,t.bind(n));else if(He(t))if(ve(t))t.forEach(r=>mh(r,e,n,s));else{const r=Se(t.handler)?t.handler.bind(n):e[t.handler];Se(r)&&Wn(o,r,t)}}function Dl(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=t.appContext,a=r.get(e);let l;return a?l=a:!o.length&&!n&&!s?l=e:(l={},o.length&&o.forEach(u=>br(l,u,i,!0)),br(l,e,i)),He(e)&&r.set(e,l),l}function br(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&br(t,r,n,!0),o&&o.forEach(i=>br(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=j_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const j_={data:Ic,props:Fn,emits:Fn,methods:Fn,computed:Fn,beforeCreate:ct,created:ct,beforeMount:ct,mounted:ct,beforeUpdate:ct,updated:ct,beforeDestroy:ct,beforeUnmount:ct,destroyed:ct,unmounted:ct,activated:ct,deactivated:ct,errorCaptured:ct,serverPrefetch:ct,components:Fn,directives:Fn,watch:$_,provide:Ic,inject:z_};function Ic(t,e){return e?t?function(){return et(Se(t)?t.call(this,this):t,Se(e)?e.call(this,this):e)}:e:t}function z_(t,e){return Fn(Ba(t),Ba(e))}function Ba(t){if(ve(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const c=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,p]=bh(f,e,!0);et(i,h),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!r&&!l)return He(t)&&s.set(t,hs),hs;if(ve(r))for(let c=0;c-1,p[1]=m<0||g-1||Ie(p,"default"))&&a.push(f)}}}const u=[i,a];return He(t)&&s.set(t,u),u}function Pc(t){return t[0]!=="$"}function Fc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Bc(t,e){return Fc(t)===Fc(e)}function jc(t,e){return ve(e)?e.findIndex(n=>Bc(n,t)):Se(e)&&Bc(e,t)?0:-1}const yh=t=>t[0]==="_"||t==="$stable",Ll=t=>ve(t)?t.map(Ft):[Ft(t)],H_=(t,e,n)=>{if(e._n)return e;const s=Je((...o)=>Ll(e(...o)),n);return s._c=!1,s},vh=(t,e,n)=>{const s=t._ctx;for(const o in t){if(yh(o))continue;const r=t[o];if(Se(r))e[o]=H_(o,r,s);else if(r!=null){const i=Ll(r);e[o]=()=>i}}},wh=(t,e)=>{const n=Ll(e);t.slots.default=()=>n},V_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Fe(e),pr(e,"_",n)):vh(e,t.slots={})}else t.slots={},e&&wh(t,e);pr(t.slots,Kr,1)},G_=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ve;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(et(o,e),!n&&a===1&&delete o._):(r=!e.$stable,vh(e,o)),i=e}else e&&(wh(t,e),i={default:1});if(r)for(const a in o)!yh(a)&&!(a in i)&&delete o[a]};function xh(){return{app:null,config:{isNativeTag:ym,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 K_=0;function W_(t,e){return function(s,o=null){Se(s)||(s=Object.assign({},s)),o!=null&&!He(o)&&(o=null);const r=xh(),i=new Set;let a=!1;const l=r.app={_uid:K_++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:h1,get config(){return r.config},set config(u){},use(u,...c){return i.has(u)||(u&&Se(u.install)?(i.add(u),u.install(l,...c)):Se(u)&&(i.add(u),u(l,...c))),l},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),l},component(u,c){return c?(r.components[u]=c,l):r.components[u]},directive(u,c){return c?(r.directives[u]=c,l):r.directives[u]},mount(u,c,f){if(!a){const h=Ce(s,o);return h.appContext=r,c&&e?e(h,u):t(h,u,f),a=!0,l._container=u,u.__vue_app__=l,Wr(h.component)||h.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(u,c){return r.provides[u]=c,l}};return l}}function za(t,e,n,s,o=!1){if(ve(t)){t.forEach((h,p)=>za(h,e&&(ve(e)?e[p]:e),n,s,o));return}if(bs(s)&&!o)return;const r=s.shapeFlag&4?Wr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,u=e&&e.r,c=a.refs===Ve?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(Ge(u)?(c[u]=null,Ie(f,u)&&(f[u]=null)):lt(u)&&(u.value=null)),Se(l))Sn(l,a,12,[i,c]);else{const h=Ge(l),p=lt(l);if(h||p){const g=()=>{if(t.f){const m=h?Ie(f,l)?f[l]:c[l]:l.value;o?ve(m)&&bl(m,r):ve(m)?m.includes(r)||m.push(r):h?(c[l]=[r],Ie(f,l)&&(f[l]=c[l])):(l.value=[r],t.k&&(c[t.k]=l.value))}else h?(c[l]=i,Ie(f,l)&&(f[l]=i)):p&&(l.value=i,t.k&&(c[t.k]=i))};i?(g.id=-1,tt(g,n)):g()}}}const tt=v_;function Z_(t){return Y_(t)}function Y_(t,e){const n=Sm();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:p=Dt,insertStaticContent:g}=t,m=(x,C,F,B=null,j=null,te=null,ie=!1,z=null,se=!!C.dynamicChildren)=>{if(x===C)return;x&&!kn(x,C)&&(B=G(x),J(x,j,te,!0),x=null),C.patchFlag===-2&&(se=!1,C.dynamicChildren=null);const{type:q,ref:Y,shapeFlag:ae}=C;switch(q){case Gr:y(x,C,F,B);break;case kt:_(x,C,F,B);break;case sr:x==null&&b(C,F,B,ie);break;case Be:P(x,C,F,B,j,te,ie,z,se);break;default:ae&1?M(x,C,F,B,j,te,ie,z,se):ae&6?W(x,C,F,B,j,te,ie,z,se):(ae&64||ae&128)&&q.process(x,C,F,B,j,te,ie,z,se,X)}Y!=null&&j&&za(Y,x&&x.ref,te,C||x,!C)},y=(x,C,F,B)=>{if(x==null)s(C.el=a(C.children),F,B);else{const j=C.el=x.el;C.children!==x.children&&u(j,C.children)}},_=(x,C,F,B)=>{x==null?s(C.el=l(C.children||""),F,B):C.el=x.el},b=(x,C,F,B)=>{[x.el,x.anchor]=g(x.children,C,F,B,x.el,x.anchor)},v=({el:x,anchor:C},F,B)=>{let j;for(;x&&x!==C;)j=h(x),s(x,F,B),x=j;s(C,F,B)},E=({el:x,anchor:C})=>{let F;for(;x&&x!==C;)F=h(x),o(x),x=F;o(C)},M=(x,C,F,B,j,te,ie,z,se)=>{ie=ie||C.type==="svg",x==null?T(C,F,B,j,te,ie,z,se):k(x,C,j,te,ie,z,se)},T=(x,C,F,B,j,te,ie,z)=>{let se,q;const{type:Y,props:ae,shapeFlag:de,transition:ce,dirs:ye}=x;if(se=x.el=i(x.type,te,ae&&ae.is,ae),de&8?c(se,x.children):de&16&&w(x.children,se,null,B,j,te&&Y!=="foreignObject",ie,z),ye&&Dn(x,null,B,"created"),N(se,x,x.scopeId,ie,B),ae){for(const oe in ae)oe!=="value"&&!tr(oe)&&r(se,oe,null,ae[oe],te,x.children,B,j,Q);"value"in ae&&r(se,"value",null,ae.value),(q=ae.onVnodeBeforeMount)&&yt(q,B,x)}ye&&Dn(x,null,B,"beforeMount");const Z=(!j||j&&!j.pendingBranch)&&ce&&!ce.persisted;Z&&ce.beforeEnter(se),s(se,C,F),((q=ae&&ae.onVnodeMounted)||Z||ye)&&tt(()=>{q&&yt(q,B,x),Z&&ce.enter(se),ye&&Dn(x,null,B,"mounted")},j)},N=(x,C,F,B,j)=>{if(F&&p(x,F),B)for(let te=0;te{for(let q=se;q{const z=C.el=x.el;let{patchFlag:se,dynamicChildren:q,dirs:Y}=C;se|=x.patchFlag&16;const ae=x.props||Ve,de=C.props||Ve;let ce;F&&Ln(F,!1),(ce=de.onVnodeBeforeUpdate)&&yt(ce,F,C,x),Y&&Dn(C,x,F,"beforeUpdate"),F&&Ln(F,!0);const ye=j&&C.type!=="foreignObject";if(q?S(x.dynamicChildren,q,z,F,B,ye,te):ie||$(x,C,z,null,F,B,ye,te,!1),se>0){if(se&16)D(z,C,ae,de,F,B,j);else if(se&2&&ae.class!==de.class&&r(z,"class",null,de.class,j),se&4&&r(z,"style",ae.style,de.style,j),se&8){const Z=C.dynamicProps;for(let oe=0;oe{ce&&yt(ce,F,C,x),Y&&Dn(C,x,F,"updated")},B)},S=(x,C,F,B,j,te,ie)=>{for(let z=0;z{if(F!==B){if(F!==Ve)for(const z in F)!tr(z)&&!(z in B)&&r(x,z,F[z],null,ie,C.children,j,te,Q);for(const z in B){if(tr(z))continue;const se=B[z],q=F[z];se!==q&&z!=="value"&&r(x,z,q,se,ie,C.children,j,te,Q)}"value"in B&&r(x,"value",F.value,B.value)}},P=(x,C,F,B,j,te,ie,z,se)=>{const q=C.el=x?x.el:a(""),Y=C.anchor=x?x.anchor:a("");let{patchFlag:ae,dynamicChildren:de,slotScopeIds:ce}=C;ce&&(z=z?z.concat(ce):ce),x==null?(s(q,F,B),s(Y,F,B),w(C.children,F,Y,j,te,ie,z,se)):ae>0&&ae&64&&de&&x.dynamicChildren?(S(x.dynamicChildren,de,F,j,te,ie,z),(C.key!=null||j&&C===j.subTree)&&kh(x,C,!0)):$(x,C,F,Y,j,te,ie,z,se)},W=(x,C,F,B,j,te,ie,z,se)=>{C.slotScopeIds=z,x==null?C.shapeFlag&512?j.ctx.activate(C,F,B,ie,se):R(C,F,B,j,te,ie,se):re(x,C,se)},R=(x,C,F,B,j,te,ie)=>{const z=x.component=r1(x,B,j);if(Ur(x)&&(z.ctx.renderer=X),i1(z),z.asyncDep){if(j&&j.registerDep(z,V),!x.el){const se=z.subTree=Ce(kt);_(null,se,C,F)}return}V(z,x,C,F,j,te,ie)},re=(x,C,F)=>{const B=C.component=x.component;if(b_(x,C,F))if(B.asyncDep&&!B.asyncResolved){A(B,C,F);return}else B.next=C,f_(B.update),B.update();else C.el=x.el,B.vnode=C},V=(x,C,F,B,j,te,ie)=>{const z=()=>{if(x.isMounted){let{next:Y,bu:ae,u:de,parent:ce,vnode:ye}=x,Z=Y,oe;Ln(x,!1),Y?(Y.el=ye.el,A(x,Y,ie)):Y=ye,ae&&gs(ae),(oe=Y.props&&Y.props.onVnodeBeforeUpdate)&&yt(oe,ce,Y,ye),Ln(x,!0);const pe=_i(x),xe=x.subTree;x.subTree=pe,m(xe,pe,f(xe.el),G(xe),x,j,te),Y.el=pe.el,Z===null&&y_(x,pe.el),de&&tt(de,j),(oe=Y.props&&Y.props.onVnodeUpdated)&&tt(()=>yt(oe,ce,Y,ye),j)}else{let Y;const{el:ae,props:de}=C,{bm:ce,m:ye,parent:Z}=x,oe=bs(C);if(Ln(x,!1),ce&&gs(ce),!oe&&(Y=de&&de.onVnodeBeforeMount)&&yt(Y,Z,C),Ln(x,!0),ae&&le){const pe=()=>{x.subTree=_i(x),le(ae,x.subTree,x,j,null)};oe?C.type.__asyncLoader().then(()=>!x.isUnmounted&&pe()):pe()}else{const pe=x.subTree=_i(x);m(null,pe,F,B,x,j,te),C.el=pe.el}if(ye&&tt(ye,j),!oe&&(Y=de&&de.onVnodeMounted)){const pe=C;tt(()=>yt(Y,Z,pe),j)}(C.shapeFlag&256||Z&&bs(Z.vnode)&&Z.vnode.shapeFlag&256)&&x.a&&tt(x.a,j),x.isMounted=!0,C=F=B=null}},se=x.effect=new wl(z,()=>Tl(q),x.scope),q=x.update=()=>se.run();q.id=x.uid,Ln(x,!0),q()},A=(x,C,F)=>{C.component=x;const B=x.vnode.props;x.vnode=C,x.next=null,U_(x,C.props,B,F),G_(x,C.children,F),Is(),Mc(),Ps()},$=(x,C,F,B,j,te,ie,z,se=!1)=>{const q=x&&x.children,Y=x?x.shapeFlag:0,ae=C.children,{patchFlag:de,shapeFlag:ce}=C;if(de>0){if(de&128){fe(q,ae,F,B,j,te,ie,z,se);return}else if(de&256){H(q,ae,F,B,j,te,ie,z,se);return}}ce&8?(Y&16&&Q(q,j,te),ae!==q&&c(F,ae)):Y&16?ce&16?fe(q,ae,F,B,j,te,ie,z,se):Q(q,j,te,!0):(Y&8&&c(F,""),ce&16&&w(ae,F,B,j,te,ie,z,se))},H=(x,C,F,B,j,te,ie,z,se)=>{x=x||hs,C=C||hs;const q=x.length,Y=C.length,ae=Math.min(q,Y);let de;for(de=0;deY?Q(x,j,te,!0,!1,ae):w(C,F,B,j,te,ie,z,se,ae)},fe=(x,C,F,B,j,te,ie,z,se)=>{let q=0;const Y=C.length;let ae=x.length-1,de=Y-1;for(;q<=ae&&q<=de;){const ce=x[q],ye=C[q]=se?mn(C[q]):Ft(C[q]);if(kn(ce,ye))m(ce,ye,F,null,j,te,ie,z,se);else break;q++}for(;q<=ae&&q<=de;){const ce=x[ae],ye=C[de]=se?mn(C[de]):Ft(C[de]);if(kn(ce,ye))m(ce,ye,F,null,j,te,ie,z,se);else break;ae--,de--}if(q>ae){if(q<=de){const ce=de+1,ye=cede)for(;q<=ae;)J(x[q],j,te,!0),q++;else{const ce=q,ye=q,Z=new Map;for(q=ye;q<=de;q++){const Qe=C[q]=se?mn(C[q]):Ft(C[q]);Qe.key!=null&&Z.set(Qe.key,q)}let oe,pe=0;const xe=de-ye+1;let Le=!1,Ue=0;const Ne=new Array(xe);for(q=0;q=xe){J(Qe,j,te,!0);continue}let ot;if(Qe.key!=null)ot=Z.get(Qe.key);else for(oe=ye;oe<=de;oe++)if(Ne[oe-ye]===0&&kn(Qe,C[oe])){ot=oe;break}ot===void 0?J(Qe,j,te,!0):(Ne[ot-ye]=q+1,ot>=Ue?Ue=ot:Le=!0,m(Qe,C[ot],F,null,j,te,ie,z,se),pe++)}const Ze=Le?Q_(Ne):hs;for(oe=Ze.length-1,q=xe-1;q>=0;q--){const Qe=ye+q,ot=C[Qe],vc=Qe+1{const{el:te,type:ie,transition:z,children:se,shapeFlag:q}=x;if(q&6){ge(x.component.subTree,C,F,B);return}if(q&128){x.suspense.move(C,F,B);return}if(q&64){ie.move(x,C,F,X);return}if(ie===Be){s(te,C,F);for(let ae=0;aez.enter(te),j);else{const{leave:ae,delayLeave:de,afterLeave:ce}=z,ye=()=>s(te,C,F),Z=()=>{ae(te,()=>{ye(),ce&&ce()})};de?de(te,ye,Z):Z()}else s(te,C,F)},J=(x,C,F,B=!1,j=!1)=>{const{type:te,props:ie,ref:z,children:se,dynamicChildren:q,shapeFlag:Y,patchFlag:ae,dirs:de}=x;if(z!=null&&za(z,null,F,x,!0),Y&256){C.ctx.deactivate(x);return}const ce=Y&1&&de,ye=!bs(x);let Z;if(ye&&(Z=ie&&ie.onVnodeBeforeUnmount)&&yt(Z,C,x),Y&6)I(x.component,F,B);else{if(Y&128){x.suspense.unmount(F,B);return}ce&&Dn(x,null,C,"beforeUnmount"),Y&64?x.type.remove(x,C,F,j,X,B):q&&(te!==Be||ae>0&&ae&64)?Q(q,C,F,!1,!0):(te===Be&&ae&384||!j&&Y&16)&&Q(se,C,F),B&&_e(x)}(ye&&(Z=ie&&ie.onVnodeUnmounted)||ce)&&tt(()=>{Z&&yt(Z,C,x),ce&&Dn(x,null,C,"unmounted")},F)},_e=x=>{const{type:C,el:F,anchor:B,transition:j}=x;if(C===Be){we(F,B);return}if(C===sr){E(x);return}const te=()=>{o(F),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(x.shapeFlag&1&&j&&!j.persisted){const{leave:ie,delayLeave:z}=j,se=()=>ie(F,te);z?z(x.el,te,se):se()}else te()},we=(x,C)=>{let F;for(;x!==C;)F=h(x),o(x),x=F;o(C)},I=(x,C,F)=>{const{bum:B,scope:j,update:te,subTree:ie,um:z}=x;B&&gs(B),j.stop(),te&&(te.active=!1,J(ie,x,C,F)),z&&tt(z,C),tt(()=>{x.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},Q=(x,C,F,B=!1,j=!1,te=0)=>{for(let ie=te;iex.shapeFlag&6?G(x.component.subTree):x.shapeFlag&128?x.suspense.next():h(x.anchor||x.el),ee=(x,C,F)=>{x==null?C._vnode&&J(C._vnode,null,null,!0):m(C._vnode||null,x,C,null,null,null,F),Mc(),th(),C._vnode=x},X={p:m,um:J,m:ge,r:_e,mt:R,mc:w,pc:$,pbc:S,n:G,o:t};let he,le;return e&&([he,le]=e(X)),{render:ee,hydrate:he,createApp:W_(ee,he)}}function Ln({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function kh(t,e,n=!1){const s=t.children,o=e.children;if(ve(s)&&ve(o))for(let r=0;r>1,t[n[a]]0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=e[i];return n}const J_=t=>t.__isTeleport,Be=Symbol(void 0),Gr=Symbol(void 0),kt=Symbol(void 0),sr=Symbol(void 0),to=[];let Nt=null;function O(t=!1){to.push(Nt=t?null:[])}function X_(){to.pop(),Nt=to[to.length-1]||null}let mo=1;function zc(t){mo+=t}function Eh(t){return t.dynamicChildren=mo>0?Nt||hs:null,X_(),mo>0&&Nt&&Nt.push(t),t}function L(t,e,n,s,o,r){return Eh(d(t,e,n,s,o,r,!0))}function at(t,e,n,s,o){return Eh(Ce(t,e,n,s,o,!0))}function _o(t){return t?t.__v_isVNode===!0:!1}function kn(t,e){return t.type===e.type&&t.key===e.key}const Kr="__vInternal",Ch=({key:t})=>t??null,or=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ge(t)||lt(t)||Se(t)?{i:nt,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===Be?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ch(e),ref:e&&or(e),scopeId:qr,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:nt};return a?(Il(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),mo>0&&!i&&Nt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Nt.push(l),l}const Ce=e1;function e1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===fh)&&(t=kt),_o(t)){const a=on(t,e,!0);return n&&Il(a,n),mo>0&&!r&&Nt&&(a.shapeFlag&6?Nt[Nt.indexOf(t)]=a:Nt.push(a)),a.patchFlag|=-2,a}if(u1(t)&&(t=t.__vccOpts),e){e=t1(e);let{class:a,style:l}=e;a&&!Ge(a)&&(e.class=Me(a)),He(l)&&(Gf(l)&&!ve(l)&&(l=et({},l)),e.style=en(l))}const i=Ge(t)?1:oh(t)?128:J_(t)?64:He(t)?4:Se(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function t1(t){return t?Gf(t)||Kr in t?et({},t):t:null}function on(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?n1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Ch(a),ref:e&&e.ref?n&&o?ve(o)?o.concat(or(e)):[o,or(e)]:or(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Be?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&on(t.ssContent),ssFallback:t.ssFallback&&on(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ke(t=" ",e=0){return Ce(Gr,null,t,e)}function Oo(t,e){const n=Ce(sr,null,t);return n.staticCount=e,n}function U(t="",e=!1){return e?(O(),at(kt,null,t)):Ce(kt,null,t)}function Ft(t){return t==null||typeof t=="boolean"?Ce(kt):ve(t)?Ce(Be,null,t.slice()):typeof t=="object"?mn(t):Ce(Gr,null,String(t))}function mn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:on(t)}function Il(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(ve(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Il(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Kr in e)?e._ctx=nt:o===3&&nt&&(nt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Se(e)?(e={default:e,_ctx:nt},n=32):(e=String(e),s&64?(n=16,e=[ke(e)]):n=8);t.children=e,t.shapeFlag|=n}function n1(...t){const e={};for(let n=0;nWe||nt,xs=t=>{We=t,t.scope.on()},Zn=()=>{We&&We.scope.off(),We=null};function Ah(t){return t.vnode.shapeFlag&4}let bo=!1;function i1(t,e=!1){bo=e;const{props:n,children:s}=t.vnode,o=Ah(t);q_(t,n,o,e),V_(t,s);const r=o?a1(t,e):void 0;return bo=!1,r}function a1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Kf(new Proxy(t.ctx,P_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?c1(t):null;xs(t),Is();const r=Sn(s,t,0,[t.props,o]);if(Ps(),Zn(),Nf(r)){if(r.then(Zn,Zn),e)return r.then(i=>{$c(t,i,e)}).catch(i=>{zr(i,t,0)});t.asyncDep=r}else $c(t,r,e)}else Sh(t,e)}function $c(t,e,n){Se(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:He(e)&&(t.setupState=Qf(e)),Sh(t,n)}let qc;function Sh(t,e,n){const s=t.type;if(!t.render){if(!e&&qc&&!s.render){const o=s.template||Dl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,u=et(et({isCustomElement:r,delimiters:a},i),l);s.render=qc(o,u)}}t.render=s.render||Dt}xs(t),Is(),F_(t),Ps(),Zn()}function l1(t){return new Proxy(t.attrs,{get(e,n){return ht(t,"get","$attrs"),e[n]}})}function c1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=l1(t))},slots:t.slots,emit:t.emit,expose:e}}function Wr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Qf(Kf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in eo)return eo[n](t)},has(e,n){return n in e||n in eo}}))}function $a(t,e=!0){return Se(t)?t.displayName||t.name:t.name||e&&t.__name}function u1(t){return Se(t)&&"__vccOpts"in t}const wt=(t,e)=>c_(t,e,bo);function Th(t,e,n){const s=arguments.length;return s===2?He(e)&&!ve(e)?_o(e)?Ce(t,null,[e]):Ce(t,e):Ce(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_o(n)&&(n=[n]),Ce(t,e,n))}const d1=Symbol(""),f1=()=>tn(d1),h1="3.2.47",p1="http://www.w3.org/2000/svg",zn=typeof document<"u"?document:null,Uc=zn&&zn.createElement("template"),g1={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const o=e?zn.createElementNS(p1,t):zn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>zn.createTextNode(t),createComment:t=>zn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>zn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,o,r){const i=n?n.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Uc.innerHTML=s?`${t}`:t;const a=Uc.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[i?i.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function m1(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function _1(t,e,n){const s=t.style,o=Ge(n);if(n&&!o){if(e&&!Ge(e))for(const r in e)n[r]==null&&qa(s,r,"");for(const r in n)qa(s,r,n[r])}else{const r=s.display;o?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=r)}}const Hc=/\s*!important$/;function qa(t,e,n){if(ve(n))n.forEach(s=>qa(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=b1(t,e);Hc.test(n)?t.setProperty(ts(s),n.replace(Hc,""),"important"):t[s]=n}}const Vc=["Webkit","Moz","ms"],xi={};function b1(t,e){const n=xi[e];if(n)return n;let s=Gt(e);if(s!=="filter"&&s in t)return xi[e]=s;s=Br(s);for(let o=0;oki||(E1.then(()=>ki=0),ki=Date.now());function A1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xt(S1(s,n.value),e,5,[s])};return n.value=t,n.attached=C1(),n}function S1(t,e){if(ve(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>o=>!o._stopped&&s&&s(o))}else return e}const Wc=/^on[a-z]/,T1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?m1(t,s,o):e==="style"?_1(t,n,s):Pr(e)?_l(e)||x1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):O1(t,e,s,o))?v1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),y1(t,e,s,o))};function O1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&Wc.test(e)&&Se(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Wc.test(e)&&Ge(n)?!1:e in t}const fn="transition",Gs="animation",Oh={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},M1=et({},k_.props,Oh),In=(t,e=[])=>{ve(t)?t.forEach(n=>n(...e)):t&&t(...e)},Zc=t=>t?ve(t)?t.some(e=>e.length>1):t.length>1:!1;function R1(t){const e={};for(const P in t)P in Oh||(e[P]=t[P]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,g=N1(o),m=g&&g[0],y=g&&g[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:v,onLeave:E,onLeaveCancelled:M,onBeforeAppear:T=_,onAppear:N=b,onAppearCancelled:w=v}=e,k=(P,W,R)=>{gn(P,W?c:a),gn(P,W?u:i),R&&R()},S=(P,W)=>{P._isLeaving=!1,gn(P,f),gn(P,p),gn(P,h),W&&W()},D=P=>(W,R)=>{const re=P?N:b,V=()=>k(W,P,R);In(re,[W,V]),Yc(()=>{gn(W,P?l:r),Jt(W,P?c:a),Zc(re)||Qc(W,s,m,V)})};return et(e,{onBeforeEnter(P){In(_,[P]),Jt(P,r),Jt(P,i)},onBeforeAppear(P){In(T,[P]),Jt(P,l),Jt(P,u)},onEnter:D(!1),onAppear:D(!0),onLeave(P,W){P._isLeaving=!0;const R=()=>S(P,W);Jt(P,f),Rh(),Jt(P,h),Yc(()=>{P._isLeaving&&(gn(P,f),Jt(P,p),Zc(E)||Qc(P,s,y,R))}),In(E,[P,R])},onEnterCancelled(P){k(P,!1),In(v,[P])},onAppearCancelled(P){k(P,!0),In(w,[P])},onLeaveCancelled(P){S(P),In(M,[P])}})}function N1(t){if(t==null)return null;if(He(t))return[Ei(t.enter),Ei(t.leave)];{const e=Ei(t);return[e,e]}}function Ei(t){return Am(t)}function Jt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function gn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Yc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let D1=0;function Qc(t,e,n,s){const o=t._endId=++D1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Mh(t,e);if(!i)return s();const u=i+"end";let c=0;const f=()=>{t.removeEventListener(u,h),r()},h=p=>{p.target===t&&++c>=l&&f()};setTimeout(()=>{c(n[g]||"").split(", "),o=s(`${fn}Delay`),r=s(`${fn}Duration`),i=Jc(o,r),a=s(`${Gs}Delay`),l=s(`${Gs}Duration`),u=Jc(a,l);let c=null,f=0,h=0;e===fn?i>0&&(c=fn,f=i,h=r.length):e===Gs?u>0&&(c=Gs,f=u,h=l.length):(f=Math.max(i,u),c=f>0?i>u?fn:Gs:null,h=c?c===fn?r.length:l.length:0);const p=c===fn&&/\b(transform|all)(,|$)/.test(s(`${fn}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:p}}function Jc(t,e){for(;t.lengthXc(n)+Xc(t[s])))}function Xc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Rh(){return document.body.offsetHeight}const Nh=new WeakMap,Dh=new WeakMap,Lh={name:"TransitionGroup",props:et({},M1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Pl(),s=ah();let o,r;return Ml(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!B1(o[0].el,n.vnode.el,i))return;o.forEach(I1),o.forEach(P1);const a=o.filter(F1);Rh(),a.forEach(l=>{const u=l.el,c=u.style;Jt(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const f=u._moveCb=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",f),u._moveCb=null,gn(u,i))};u.addEventListener("transitionend",f)})}),()=>{const i=Fe(t),a=R1(i);let l=i.tag||Be;o=r,r=e.default?Ol(e.default()):[];for(let u=0;udelete t.mode;Lh.props;const jt=Lh;function I1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function P1(t){Dh.set(t,t.el.getBoundingClientRect())}function F1(t){const e=Nh.get(t),n=Dh.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function B1(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=Mh(s);return o.removeChild(s),r}const ks=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ve(e)?n=>gs(e,n):e};function j1(t){t.target.composing=!0}function eu(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const je={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=ks(o);const r=s||o.props&&o.props.type==="number";En(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=gr(a)),t._assign(a)}),n&&En(t,"change",()=>{t.value=t.value.trim()}),e||(En(t,"compositionstart",j1),En(t,"compositionend",eu),En(t,"change",eu))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=ks(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&gr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},_n={deep:!0,created(t,e,n){t._assign=ks(n),En(t,"change",()=>{const s=t._modelValue,o=yo(t),r=t.checked,i=t._assign;if(ve(s)){const a=ml(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const u=[...s];u.splice(a,1),i(u)}}else if(Ds(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Ih(t,r))})},mounted:tu,beforeUpdate(t,e,n){t._assign=ks(n),tu(t,e,n)}};function tu(t,{value:e,oldValue:n},s){t._modelValue=e,ve(e)?t.checked=ml(e,s.props.value)>-1:Ds(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=To(e,Ih(t,!0)))}const z1={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Ds(e);En(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?gr(yo(i)):yo(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=ks(s)},mounted(t,{value:e}){nu(t,e)},beforeUpdate(t,e,n){t._assign=ks(n)},updated(t,{value:e}){nu(t,e)}};function nu(t,e){const n=t.multiple;if(!(n&&!ve(e)&&!Ds(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(To(yo(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function yo(t){return"_value"in t?t._value:t.value}function Ih(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const $1=["ctrl","shift","alt","meta"],q1={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>$1.some(n=>t[`${n}Key`]&&!e.includes(n))},ue=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=ts(n.key);if(e.some(o=>o===s||U1[o]===s))return t(n)},H1=et({patchProp:T1},g1);let su;function V1(){return su||(su=Z_(H1))}const Ph=(...t)=>{const e=V1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=G1(s);if(!o)return;const r=e._component;!Se(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},e};function G1(t){return Ge(t)?document.querySelector(t):t}function K1(){return Fh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Fh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const W1=typeof Proxy=="function",Z1="devtools-plugin:setup",Y1="plugin:settings:set";let os,Ha;function Q1(){var t;return os!==void 0||(typeof window<"u"&&window.performance?(os=!0,Ha=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(os=!0,Ha=global.perf_hooks.performance):os=!1),os}function J1(){return Q1()?Ha.now():Date.now()}class X1{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const s={};if(e.settings)for(const i in e.settings){const a=e.settings[i];s[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},s);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}r=i},now(){return J1()}},n&&n.on(Y1,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:a,args:l,resolve:u})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function e0(t,e){const n=t,s=Fh(),o=K1(),r=W1&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(Z1,t,e);else{const i=r?new X1(n,o):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*! * vuex v4.0.2 * (c) 2021 Evan You * @license MIT - */var e0="store";function js(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function t0(t){return t!==null&&typeof t=="object"}function n0(t){return t&&typeof t.then=="function"}function s0(t,e){return function(){return t(e)}}function Fh(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function Bh(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;Wr(t,n,[],t._modules.root,!0),Pl(t,n,e)}function Pl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};js(o,function(i,a){r[a]=s0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Ps({data:e}),t.strict&&l0(t),s&&n&&t._withCommit(function(){s.data=null})}function Wr(t,e,n,s,o){var r=!n.length,i=t._modules.getNamespace(n);if(s.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=s),!r&&!o){var a=Fl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var c=s.context=o0(t,i,n);s.forEachMutation(function(u,f){var h=i+f;r0(t,h,u,c)}),s.forEachAction(function(u,f){var h=u.root?f:i+f,g=u.handler||u;i0(t,h,g,c)}),s.forEachGetter(function(u,f){var h=i+f;a0(t,h,u,c)}),s.forEachChild(function(u,f){Wr(t,e,n.concat(f),u,o)})}function o0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=br(r,i,a),c=l.payload,u=l.options,f=l.type;return(!u||!u.root)&&(f=e+f),t.dispatch(f,c)},commit:s?t.commit:function(r,i,a){var l=br(r,i,a),c=l.payload,u=l.options,f=l.type;(!u||!u.root)&&(f=e+f),t.commit(f,c,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return jh(t,e)}},state:{get:function(){return Fl(t.state,n)}}}),o}function jh(t,e){if(!t._makeLocalGettersCache[e]){var n={},s=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,s)===e){var r=o.slice(s);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function r0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function i0(t,e,n,s){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(i){var a=n.call(t,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:t.getters,rootState:t.state},i);return n0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function a0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function l0(t){Gn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Fl(t,e){return e.reduce(function(n,s){return n[s]},t)}function br(t,e,n){return t0(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var c0="vuex bindings",su="vuex:mutations",Ei="vuex:actions",os="vuex",u0=0;function d0(t,e){X1({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[c0]},function(n){n.addTimelineLayer({id:su,label:"Vuex Mutations",color:ou}),n.addTimelineLayer({id:Ei,label:"Vuex Actions",color:ou}),n.addInspector({id:os,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===os)if(s.filter){var o=[];Uh(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[qh(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===os){var o=s.nodeId;jh(e,o),s.state=p0(m0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===os){var o=s.nodeId,r=s.path;o!=="root"&&(r=o.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,o){var r={};s.payload&&(r.payload=s.payload),r.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(os),n.sendInspectorState(os),n.addTimelineEvent({layerId:su,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,o){var r={};s.payload&&(r.payload=s.payload),s._id=u0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Ei,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,o){var r={},i=Date.now()-s._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(r.payload=s.payload),r.state=o,n.addTimelineEvent({layerId:Ei,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var ou=8702998,f0=6710886,h0=16777215,zh={label:"namespaced",textColor:h0,backgroundColor:f0};function $h(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function qh(t,e){return{id:e||"root",label:$h(e),tags:t.namespaced?[zh]:[],children:Object.keys(t._children).map(function(n){return qh(t._children[n],e+n+"/")})}}function Uh(t,e,n,s){s.includes(n)&&t.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[zh]:[]}),Object.keys(e._children).forEach(function(o){Uh(t,e._children[o],n,s+o+"/")})}function p0(t,e,n){e=n==="root"?e:e[n];var s=Object.keys(e),o={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(s.length){var r=g0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?$h(i):i,editable:!1,value:Ha(function(){return r[i]})}})}return o}function g0(t){var e={};return Object.keys(t).forEach(function(n){var s=n.split("/");if(s.length>1){var o=e,r=s.pop();s.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[r]=Ha(function(){return t[n]})}else e[n]=Ha(function(){return t[n]})}),e}function m0(t,e){var n=e.split("/").filter(function(s){return s});return n.reduce(function(s,o,r){var i=s[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+e+'".');return r===n.length-1?i:i._children},e==="root"?t:t.root._children)}function Ha(t){try{return t()}catch(e){return e}}var It=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},Hh={namespaced:{configurable:!0}};Hh.namespaced.get=function(){return!!this._rawModule.namespaced};It.prototype.addChild=function(e,n){this._children[e]=n};It.prototype.removeChild=function(e){delete this._children[e]};It.prototype.getChild=function(e){return this._children[e]};It.prototype.hasChild=function(e){return e in this._children};It.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};It.prototype.forEachChild=function(e){js(this._children,e)};It.prototype.forEachGetter=function(e){this._rawModule.getters&&js(this._rawModule.getters,e)};It.prototype.forEachAction=function(e){this._rawModule.actions&&js(this._rawModule.actions,e)};It.prototype.forEachMutation=function(e){this._rawModule.mutations&&js(this._rawModule.mutations,e)};Object.defineProperties(It.prototype,Hh);var es=function(e){this.register([],e,!1)};es.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};es.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};es.prototype.update=function(e){Vh([],this.root,e)};es.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new It(n,s);if(e.length===0)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}n.modules&&js(n.modules,function(a,l){o.register(e.concat(l),a,s)})};es.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1],o=n.getChild(s);o&&o.runtime&&n.removeChild(s)};es.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function Vh(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;Vh(t.concat(s),e.getChild(s),n.modules[s])}}function _0(t){return new pt(t)}var pt=function(e){var n=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var o=e.strict;o===void 0&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new es(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(h,g){return l.call(i,h,g)},this.commit=function(h,g,p){return c.call(i,h,g,p)},this.strict=o;var u=this._modules.root.state;Wr(this,u,[],this._modules.root),Pl(this,u),s.forEach(function(f){return f(n)})},Bl={state:{configurable:!0}};pt.prototype.install=function(e,n){e.provide(n||e0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&d0(e,this)};Bl.state.get=function(){return this._state.data};Bl.state.set=function(t){};pt.prototype.commit=function(e,n,s){var o=this,r=br(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(f){f(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};pt.prototype.dispatch=function(e,n){var s=this,o=br(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,f){c.then(function(h){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}u(h)},function(h){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,h)})}catch{}f(h)})})}};pt.prototype.subscribe=function(e,n){return Fh(e,this._subscribers,n)};pt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Fh(s,this._actionSubscribers,n)};pt.prototype.watch=function(e,n,s){var o=this;return Gn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};pt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};pt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),Wr(this,this.state,e,this._modules.get(e),s.preserveState),Pl(this,this.state)};pt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Fl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Bh(this)};pt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};pt.prototype.hotUpdate=function(e){this._modules.update(e),Bh(this,!0)};pt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(pt.prototype,Bl);/*! + */var t0="store";function zs(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function n0(t){return t!==null&&typeof t=="object"}function s0(t){return t&&typeof t.then=="function"}function o0(t,e){return function(){return t(e)}}function Bh(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function jh(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;Zr(t,n,[],t._modules.root,!0),Fl(t,n,e)}function Fl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};zs(o,function(i,a){r[a]=o0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Fs({data:e}),t.strict&&c0(t),s&&n&&t._withCommit(function(){s.data=null})}function Zr(t,e,n,s,o){var r=!n.length,i=t._modules.getNamespace(n);if(s.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=s),!r&&!o){var a=Bl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var u=s.context=r0(t,i,n);s.forEachMutation(function(c,f){var h=i+f;i0(t,h,c,u)}),s.forEachAction(function(c,f){var h=c.root?f:i+f,p=c.handler||c;a0(t,h,p,u)}),s.forEachGetter(function(c,f){var h=i+f;l0(t,h,c,u)}),s.forEachChild(function(c,f){Zr(t,e,n.concat(f),c,o)})}function r0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=yr(r,i,a),u=l.payload,c=l.options,f=l.type;return(!c||!c.root)&&(f=e+f),t.dispatch(f,u)},commit:s?t.commit:function(r,i,a){var l=yr(r,i,a),u=l.payload,c=l.options,f=l.type;(!c||!c.root)&&(f=e+f),t.commit(f,u,c)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return zh(t,e)}},state:{get:function(){return Bl(t.state,n)}}}),o}function zh(t,e){if(!t._makeLocalGettersCache[e]){var n={},s=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,s)===e){var r=o.slice(s);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function i0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function a0(t,e,n,s){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(i){var a=n.call(t,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:t.getters,rootState:t.state},i);return s0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function l0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function c0(t){Wn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Bl(t,e){return e.reduce(function(n,s){return n[s]},t)}function yr(t,e,n){return n0(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var u0="vuex bindings",ou="vuex:mutations",Ci="vuex:actions",rs="vuex",d0=0;function f0(t,e){e0({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[u0]},function(n){n.addTimelineLayer({id:ou,label:"Vuex Mutations",color:ru}),n.addTimelineLayer({id:Ci,label:"Vuex Actions",color:ru}),n.addInspector({id:rs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===rs)if(s.filter){var o=[];Hh(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[Uh(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===rs){var o=s.nodeId;zh(e,o),s.state=g0(_0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===rs){var o=s.nodeId,r=s.path;o!=="root"&&(r=o.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,o){var r={};s.payload&&(r.payload=s.payload),r.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(rs),n.sendInspectorState(rs),n.addTimelineEvent({layerId:ou,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,o){var r={};s.payload&&(r.payload=s.payload),s._id=d0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Ci,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,o){var r={},i=Date.now()-s._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(r.payload=s.payload),r.state=o,n.addTimelineEvent({layerId:Ci,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var ru=8702998,h0=6710886,p0=16777215,$h={label:"namespaced",textColor:p0,backgroundColor:h0};function qh(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Uh(t,e){return{id:e||"root",label:qh(e),tags:t.namespaced?[$h]:[],children:Object.keys(t._children).map(function(n){return Uh(t._children[n],e+n+"/")})}}function Hh(t,e,n,s){s.includes(n)&&t.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[$h]:[]}),Object.keys(e._children).forEach(function(o){Hh(t,e._children[o],n,s+o+"/")})}function g0(t,e,n){e=n==="root"?e:e[n];var s=Object.keys(e),o={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(s.length){var r=m0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?qh(i):i,editable:!1,value:Va(function(){return r[i]})}})}return o}function m0(t){var e={};return Object.keys(t).forEach(function(n){var s=n.split("/");if(s.length>1){var o=e,r=s.pop();s.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[r]=Va(function(){return t[n]})}else e[n]=Va(function(){return t[n]})}),e}function _0(t,e){var n=e.split("/").filter(function(s){return s});return n.reduce(function(s,o,r){var i=s[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+e+'".');return r===n.length-1?i:i._children},e==="root"?t:t.root._children)}function Va(t){try{return t()}catch(e){return e}}var It=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},Vh={namespaced:{configurable:!0}};Vh.namespaced.get=function(){return!!this._rawModule.namespaced};It.prototype.addChild=function(e,n){this._children[e]=n};It.prototype.removeChild=function(e){delete this._children[e]};It.prototype.getChild=function(e){return this._children[e]};It.prototype.hasChild=function(e){return e in this._children};It.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};It.prototype.forEachChild=function(e){zs(this._children,e)};It.prototype.forEachGetter=function(e){this._rawModule.getters&&zs(this._rawModule.getters,e)};It.prototype.forEachAction=function(e){this._rawModule.actions&&zs(this._rawModule.actions,e)};It.prototype.forEachMutation=function(e){this._rawModule.mutations&&zs(this._rawModule.mutations,e)};Object.defineProperties(It.prototype,Vh);var ns=function(e){this.register([],e,!1)};ns.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};ns.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};ns.prototype.update=function(e){Gh([],this.root,e)};ns.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new It(n,s);if(e.length===0)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}n.modules&&zs(n.modules,function(a,l){o.register(e.concat(l),a,s)})};ns.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1],o=n.getChild(s);o&&o.runtime&&n.removeChild(s)};ns.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function Gh(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;Gh(t.concat(s),e.getChild(s),n.modules[s])}}function b0(t){return new pt(t)}var pt=function(e){var n=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var o=e.strict;o===void 0&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ns(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,u=a.commit;this.dispatch=function(h,p){return l.call(i,h,p)},this.commit=function(h,p,g){return u.call(i,h,p,g)},this.strict=o;var c=this._modules.root.state;Zr(this,c,[],this._modules.root),Fl(this,c),s.forEach(function(f){return f(n)})},jl={state:{configurable:!0}};pt.prototype.install=function(e,n){e.provide(n||t0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&f0(e,this)};jl.state.get=function(){return this._state.data};jl.state.set=function(t){};pt.prototype.commit=function(e,n,s){var o=this,r=yr(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},u=this._mutations[i];u&&(this._withCommit(function(){u.forEach(function(f){f(a)})}),this._subscribers.slice().forEach(function(c){return c(l,o.state)}))};pt.prototype.dispatch=function(e,n){var s=this,o=yr(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(a,s.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(c){return c(i)})):l[0](i);return new Promise(function(c,f){u.then(function(h){try{s._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,s.state)})}catch{}c(h)},function(h){try{s._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,s.state,h)})}catch{}f(h)})})}};pt.prototype.subscribe=function(e,n){return Bh(e,this._subscribers,n)};pt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Bh(s,this._actionSubscribers,n)};pt.prototype.watch=function(e,n,s){var o=this;return Wn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};pt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};pt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),Zr(this,this.state,e,this._modules.get(e),s.preserveState),Fl(this,this.state)};pt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Bl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),jh(this)};pt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};pt.prototype.hotUpdate=function(e){this._modules.update(e),jh(this,!0)};pt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(pt.prototype,jl);/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const ls=typeof window<"u";function b0(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const qe=Object.assign;function Ci(t,e){const n={};for(const s in e){const o=e[s];n[s]=Lt(o)?o.map(t):t(o)}return n}const to=()=>{},Lt=Array.isArray,y0=/\/$/,v0=t=>t.replace(y0,"");function Ai(t,e,n="/"){let s,o={},r="",i="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),o=t(r)),a>-1&&(s=s||e.slice(0,a),i=e.slice(a,e.length)),s=E0(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function w0(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function ru(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function x0(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&ks(e.matched[s],n.matched[o])&&Gh(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function ks(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Gh(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!k0(t[n],e[n]))return!1;return!0}function k0(t,e){return Lt(t)?iu(t,e):Lt(e)?iu(e,t):t===e}function iu(t,e){return Lt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function E0(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/");let o=n.length-1,r,i;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var yo;(function(t){t.pop="pop",t.push="push"})(yo||(yo={}));var no;(function(t){t.back="back",t.forward="forward",t.unknown=""})(no||(no={}));function C0(t){if(!t)if(ls){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),v0(t)}const A0=/^[^#]+#/;function S0(t,e){return t.replace(A0,"#")+e}function T0(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const Zr=()=>({left:window.pageXOffset,top:window.pageYOffset});function O0(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=T0(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function au(t,e){return(history.state?history.state.position-e:-1)+t}const Va=new Map;function M0(t,e){Va.set(t,e)}function R0(t){const e=Va.get(t);return Va.delete(t),e}let N0=()=>location.protocol+"//"+location.host;function Kh(t,e){const{pathname:n,search:s,hash:o}=e,r=t.indexOf("#");if(r>-1){let a=o.includes(t.slice(r))?t.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),ru(l,"")}return ru(n,t)+s+o}function D0(t,e,n,s){let o=[],r=[],i=null;const a=({state:h})=>{const g=Kh(t,location),p=n.value,m=e.value;let v=0;if(h){if(n.value=g,e.value=h,i&&i===p){i=null;return}v=m?h.position-m.position:0}else s(g);o.forEach(_=>{_(n.value,p,{delta:v,type:yo.pop,direction:v?v>0?no.forward:no.back:no.unknown})})};function l(){i=n.value}function c(h){o.push(h);const g=()=>{const p=o.indexOf(h);p>-1&&o.splice(p,1)};return r.push(g),g}function u(){const{history:h}=window;h.state&&h.replaceState(qe({},h.state,{scroll:Zr()}),"")}function f(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function lu(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?Zr():null}}function L0(t){const{history:e,location:n}=window,s={value:Kh(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const f=t.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:N0()+t+l;try{e[u?"replaceState":"pushState"](c,"",h),o.value=c}catch(g){console.error(g),n[u?"replace":"assign"](h)}}function i(l,c){const u=qe({},e.state,lu(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=qe({},o.value,e.state,{forward:l,scroll:Zr()});r(u.current,u,!0);const f=qe({},lu(s.value,l,null),{position:u.position+1},c);r(l,f,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function I0(t){t=C0(t);const e=L0(t),n=D0(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=qe({location:"",base:t,go:s,createHref:S0.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function P0(t){return typeof t=="string"||t&&typeof t=="object"}function Wh(t){return typeof t=="string"||typeof t=="symbol"}const fn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Zh=Symbol("");var cu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(cu||(cu={}));function Es(t,e){return qe(new Error,{type:t,[Zh]:!0},e)}function Qt(t,e){return t instanceof Error&&Zh in t&&(e==null||!!(t.type&e))}const uu="[^/]+?",F0={sensitive:!1,strict:!1,start:!0,end:!0},B0=/[.+*?^${}()[\]/\\]/g;function j0(t,e){const n=qe({},F0,e),s=[];let o=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function $0(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const q0={type:0,value:""},U0=/[a-zA-Z0-9_]/;function H0(t){if(!t)return[[]];if(t==="/")return[[q0]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,c="",u="";function f(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a{i(b)}:to}function i(u){if(Wh(u)){const f=s.get(u);f&&(s.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Yh(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!hu(u)&&s.set(u.record.name,u)}function c(u,f){let h,g={},p,m;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw Es(1,{location:u});m=h.record.name,g=qe(fu(f.params,h.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&fu(u.params,h.keys.map(b=>b.name))),p=h.stringify(g)}else if("path"in u)p=u.path,h=n.find(b=>b.re.test(p)),h&&(g=h.parse(p),m=h.record.name);else{if(h=f.name?s.get(f.name):n.find(b=>b.re.test(f.path)),!h)throw Es(1,{location:u,currentLocation:f});m=h.record.name,g=qe({},f.params,u.params),p=h.stringify(g)}const v=[];let _=h;for(;_;)v.unshift(_.record),_=_.parent;return{name:m,path:p,params:g,matched:v,meta:Z0(v)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function fu(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function K0(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:W0(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function W0(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="boolean"?n:n[s];return e}function hu(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Z0(t){return t.reduce((e,n)=>qe(e,n.meta),{})}function pu(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Yh(t,e){return e.children.some(n=>n===t||Yh(t,n))}const Qh=/#/g,Y0=/&/g,Q0=/\//g,J0=/=/g,X0=/\?/g,Jh=/\+/g,eb=/%5B/g,tb=/%5D/g,Xh=/%5E/g,nb=/%60/g,ep=/%7B/g,sb=/%7C/g,tp=/%7D/g,ob=/%20/g;function jl(t){return encodeURI(""+t).replace(sb,"|").replace(eb,"[").replace(tb,"]")}function rb(t){return jl(t).replace(ep,"{").replace(tp,"}").replace(Xh,"^")}function Ga(t){return jl(t).replace(Jh,"%2B").replace(ob,"+").replace(Qh,"%23").replace(Y0,"%26").replace(nb,"`").replace(ep,"{").replace(tp,"}").replace(Xh,"^")}function ib(t){return Ga(t).replace(J0,"%3D")}function ab(t){return jl(t).replace(Qh,"%23").replace(X0,"%3F")}function lb(t){return t==null?"":ab(t).replace(Q0,"%2F")}function yr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function cb(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&Ga(r)):[s&&Ga(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function ub(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Lt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const db=Symbol(""),mu=Symbol(""),zl=Symbol(""),np=Symbol(""),Ka=Symbol("");function Gs(){let t=[];function e(s){return t.push(s),()=>{const o=t.indexOf(s);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function _n(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(Es(4,{from:n,to:e})):f instanceof Error?a(f):P0(f)?a(Es(2,{from:e,to:f})):(r&&s.enterCallbacks[o]===r&&typeof f=="function"&&r.push(f),i())},c=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Si(t,e,n,s){const o=[];for(const r of t)for(const i in r.components){let a=r.components[i];if(!(e!=="beforeRouteEnter"&&!r.instances[i]))if(fb(a)){const c=(a.__vccOpts||a)[e];c&&o.push(_n(c,n,s,r,i))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=b0(c)?c.default:c;r.components[i]=u;const h=(u.__vccOpts||u)[e];return h&&_n(h,n,s,r,i)()}))}}return o}function fb(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function _u(t){const e=tn(zl),n=tn(np),s=wt(()=>e.resolve(gt(t.to))),o=wt(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(ks.bind(null,u));if(h>-1)return h;const g=bu(l[c-2]);return c>1&&bu(u)===g&&f[f.length-1].path!==g?f.findIndex(ks.bind(null,l[c-2])):h}),r=wt(()=>o.value>-1&&gb(n.params,s.value.params)),i=wt(()=>o.value>-1&&o.value===n.matched.length-1&&Gh(n.params,s.value.params));function a(l={}){return pb(l)?e[gt(t.replace)?"replace":"push"](gt(t.to)).catch(to):Promise.resolve()}return{route:s,href:wt(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const hb=lh({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_u,setup(t,{slots:e}){const n=Ps(_u(t)),{options:s}=tn(zl),o=wt(()=>({[yu(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[yu(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Sh("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),jn=hb;function pb(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function gb(t,e){for(const n in e){const s=e[n],o=t[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Lt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function bu(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const yu=(t,e,n)=>t??e??n,mb=lh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=tn(Ka),o=wt(()=>t.route||s.value),r=tn(mu,0),i=wt(()=>{let c=gt(r);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=wt(()=>o.value.matched[i.value]);tr(mu,wt(()=>i.value+1)),tr(db,a),tr(Ka,o);const l=s_();return Gn(()=>[l.value,a.value,t.name],([c,u,f],[h,g,p])=>{u&&(u.instances[f]=c,g&&g!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!ks(u,g)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=t.name,f=a.value,h=f&&f.components[u];if(!h)return vu(n.default,{Component:h,route:c});const g=f.props[u],p=g?g===!0?c.params:typeof g=="function"?g(c):g:null,v=Sh(h,qe({},p,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return vu(n.default,{Component:v,route:c})||v}}});function vu(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const sp=mb;function _b(t){const e=G0(t.routes,t),n=t.parseQuery||cb,s=t.stringifyQuery||gu,o=t.history,r=Gs(),i=Gs(),a=Gs(),l=o_(fn);let c=fn;ls&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ci.bind(null,N=>""+N),f=Ci.bind(null,lb),h=Ci.bind(null,yr);function g(N,Q){let H,ee;return Wh(N)?(H=e.getRecordMatcher(N),ee=Q):ee=N,e.addRoute(ee,H)}function p(N){const Q=e.getRecordMatcher(N);Q&&e.removeRoute(Q)}function m(){return e.getRoutes().map(N=>N.record)}function v(N){return!!e.getRecordMatcher(N)}function _(N,Q){if(Q=qe({},Q||l.value),typeof N=="string"){const w=Ai(n,N,Q.path),E=e.resolve({path:w.path},Q),P=o.createHref(w.fullPath);return qe(w,E,{params:h(E.params),hash:yr(w.hash),redirectedFrom:void 0,href:P})}let H;if("path"in N)H=qe({},N,{path:Ai(n,N.path,Q.path).path});else{const w=qe({},N.params);for(const E in w)w[E]==null&&delete w[E];H=qe({},N,{params:f(N.params)}),Q.params=f(Q.params)}const ee=e.resolve(H,Q),J=N.hash||"";ee.params=u(h(ee.params));const fe=w0(s,qe({},N,{hash:rb(J),path:ee.path})),le=o.createHref(fe);return qe({fullPath:fe,hash:J,query:s===gu?ub(N.query):N.query||{}},ee,{redirectedFrom:void 0,href:le})}function b(N){return typeof N=="string"?Ai(n,N,l.value.path):qe({},N)}function x(N,Q){if(c!==N)return Es(8,{from:Q,to:N})}function C(N){return D(N)}function M(N){return C(qe(b(N),{replace:!0}))}function T(N){const Q=N.matched[N.matched.length-1];if(Q&&Q.redirect){const{redirect:H}=Q;let ee=typeof H=="function"?H(N):H;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=b(ee):{path:ee},ee.params={}),qe({query:N.query,hash:N.hash,params:"path"in ee?{}:N.params},ee)}}function D(N,Q){const H=c=_(N),ee=l.value,J=N.state,fe=N.force,le=N.replace===!0,w=T(H);if(w)return D(qe(b(w),{state:typeof w=="object"?qe({},J,w.state):J,force:fe,replace:le}),Q||H);const E=H;E.redirectedFrom=Q;let P;return!fe&&x0(s,ee,H)&&(P=Es(16,{to:E,from:ee}),me(ee,ee,!0,!1)),(P?Promise.resolve(P):k(E,ee)).catch(B=>Qt(B)?Qt(B,2)?B:V(B):A(B,E,ee)).then(B=>{if(B){if(Qt(B,2))return D(qe({replace:le},b(B.to),{state:typeof B.to=="object"?qe({},J,B.to.state):J,force:fe}),Q||E)}else B=L(E,ee,!0,le,J);return S(E,ee,B),B})}function y(N,Q){const H=x(N,Q);return H?Promise.reject(H):Promise.resolve()}function k(N,Q){let H;const[ee,J,fe]=bb(N,Q);H=Si(ee.reverse(),"beforeRouteLeave",N,Q);for(const w of ee)w.leaveGuards.forEach(E=>{H.push(_n(E,N,Q))});const le=y.bind(null,N,Q);return H.push(le),rs(H).then(()=>{H=[];for(const w of r.list())H.push(_n(w,N,Q));return H.push(le),rs(H)}).then(()=>{H=Si(J,"beforeRouteUpdate",N,Q);for(const w of J)w.updateGuards.forEach(E=>{H.push(_n(E,N,Q))});return H.push(le),rs(H)}).then(()=>{H=[];for(const w of N.matched)if(w.beforeEnter&&!Q.matched.includes(w))if(Lt(w.beforeEnter))for(const E of w.beforeEnter)H.push(_n(E,N,Q));else H.push(_n(w.beforeEnter,N,Q));return H.push(le),rs(H)}).then(()=>(N.matched.forEach(w=>w.enterCallbacks={}),H=Si(fe,"beforeRouteEnter",N,Q),H.push(le),rs(H))).then(()=>{H=[];for(const w of i.list())H.push(_n(w,N,Q));return H.push(le),rs(H)}).catch(w=>Qt(w,8)?w:Promise.reject(w))}function S(N,Q,H){for(const ee of a.list())ee(N,Q,H)}function L(N,Q,H,ee,J){const fe=x(N,Q);if(fe)return fe;const le=Q===fn,w=ls?history.state:{};H&&(ee||le?o.replace(N.fullPath,qe({scroll:le&&w&&w.scroll},J)):o.push(N.fullPath,J)),l.value=N,me(N,Q,H,le),V()}let F;function Y(){F||(F=o.listen((N,Q,H)=>{if(!we.listening)return;const ee=_(N),J=T(ee);if(J){D(qe(J,{replace:!0}),ee).catch(to);return}c=ee;const fe=l.value;ls&&M0(au(fe.fullPath,H.delta),Zr()),k(ee,fe).catch(le=>Qt(le,12)?le:Qt(le,2)?(D(le.to,ee).then(w=>{Qt(w,20)&&!H.delta&&H.type===yo.pop&&o.go(-1,!1)}).catch(to),Promise.reject()):(H.delta&&o.go(-H.delta,!1),A(le,ee,fe))).then(le=>{le=le||L(ee,fe,!1),le&&(H.delta&&!Qt(le,8)?o.go(-H.delta,!1):H.type===yo.pop&&Qt(le,20)&&o.go(-1,!1)),S(ee,fe,le)}).catch(to)}))}let I=Gs(),ae=Gs(),W;function A(N,Q,H){V(N);const ee=ae.list();return ee.length?ee.forEach(J=>J(N,Q,H)):console.error(N),Promise.reject(N)}function q(){return W&&l.value!==fn?Promise.resolve():new Promise((N,Q)=>{I.add([N,Q])})}function V(N){return W||(W=!N,Y(),I.list().forEach(([Q,H])=>N?H(N):Q()),I.reset()),N}function me(N,Q,H,ee){const{scrollBehavior:J}=t;if(!ls||!J)return Promise.resolve();const fe=!H&&R0(au(N.fullPath,0))||(ee||!H)&&history.state&&history.state.scroll||null;return ge().then(()=>J(N,Q,fe)).then(le=>le&&O0(le)).catch(le=>A(le,N,Q))}const pe=N=>o.go(N);let X;const _e=new Set,we={currentRoute:l,listening:!0,addRoute:g,removeRoute:p,hasRoute:v,getRoutes:m,resolve:_,options:t,push:C,replace:M,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ae.add,isReady:q,install(N){const Q=this;N.component("RouterLink",jn),N.component("RouterView",sp),N.config.globalProperties.$router=Q,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>gt(l)}),ls&&!X&&l.value===fn&&(X=!0,C(o.location).catch(J=>{}));const H={};for(const J in fn)H[J]=wt(()=>l.value[J]);N.provide(zl,Q),N.provide(np,Ps(H)),N.provide(Ka,l);const ee=N.unmount;_e.add(N),N.unmount=function(){_e.delete(N),_e.size<1&&(c=fn,F&&F(),F=null,l.value=fn,X=!1,W=!1),ee()}}};return we}function rs(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function bb(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iks(c,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(c=>ks(c,l))||o.push(l))}return[n,s,o]}const yb="modulepreload",vb=function(t){return"/"+t},wu={},Ti=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=vb(r),r in wu)return;wu[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===r&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":yb,i||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},op="/assets/logo-023c77a1.png";var rp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ts(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wb(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var r=Function.bind.apply(e,o);return new r}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),n}var ip={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:rp,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:a})},o.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,s,o){var r,i;/*! + */const cs=typeof window<"u";function y0(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const qe=Object.assign;function Ai(t,e){const n={};for(const s in e){const o=e[s];n[s]=Lt(o)?o.map(t):t(o)}return n}const no=()=>{},Lt=Array.isArray,v0=/\/$/,w0=t=>t.replace(v0,"");function Si(t,e,n="/"){let s,o={},r="",i="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),o=t(r)),a>-1&&(s=s||e.slice(0,a),i=e.slice(a,e.length)),s=C0(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function x0(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function iu(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function k0(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Es(e.matched[s],n.matched[o])&&Kh(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Es(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Kh(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!E0(t[n],e[n]))return!1;return!0}function E0(t,e){return Lt(t)?au(t,e):Lt(e)?au(e,t):t===e}function au(t,e){return Lt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function C0(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/");let o=n.length-1,r,i;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var vo;(function(t){t.pop="pop",t.push="push"})(vo||(vo={}));var so;(function(t){t.back="back",t.forward="forward",t.unknown=""})(so||(so={}));function A0(t){if(!t)if(cs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),w0(t)}const S0=/^[^#]+#/;function T0(t,e){return t.replace(S0,"#")+e}function O0(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const Yr=()=>({left:window.pageXOffset,top:window.pageYOffset});function M0(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=O0(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function lu(t,e){return(history.state?history.state.position-e:-1)+t}const Ga=new Map;function R0(t,e){Ga.set(t,e)}function N0(t){const e=Ga.get(t);return Ga.delete(t),e}let D0=()=>location.protocol+"//"+location.host;function Wh(t,e){const{pathname:n,search:s,hash:o}=e,r=t.indexOf("#");if(r>-1){let a=o.includes(t.slice(r))?t.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),iu(l,"")}return iu(n,t)+s+o}function L0(t,e,n,s){let o=[],r=[],i=null;const a=({state:h})=>{const p=Wh(t,location),g=n.value,m=e.value;let y=0;if(h){if(n.value=p,e.value=h,i&&i===g){i=null;return}y=m?h.position-m.position:0}else s(p);o.forEach(_=>{_(n.value,g,{delta:y,type:vo.pop,direction:y?y>0?so.forward:so.back:so.unknown})})};function l(){i=n.value}function u(h){o.push(h);const p=()=>{const g=o.indexOf(h);g>-1&&o.splice(g,1)};return r.push(p),p}function c(){const{history:h}=window;h.state&&h.replaceState(qe({},h.state,{scroll:Yr()}),"")}function f(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:f}}function cu(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?Yr():null}}function I0(t){const{history:e,location:n}=window,s={value:Wh(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,u,c){const f=t.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:D0()+t+l;try{e[c?"replaceState":"pushState"](u,"",h),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](h)}}function i(l,u){const c=qe({},e.state,cu(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});r(l,c,!0),s.value=l}function a(l,u){const c=qe({},o.value,e.state,{forward:l,scroll:Yr()});r(c.current,c,!0);const f=qe({},cu(s.value,l,null),{position:c.position+1},u);r(l,f,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function P0(t){t=A0(t);const e=I0(t),n=L0(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=qe({location:"",base:t,go:s,createHref:T0.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function F0(t){return typeof t=="string"||t&&typeof t=="object"}function Zh(t){return typeof t=="string"||typeof t=="symbol"}const hn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Yh=Symbol("");var uu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(uu||(uu={}));function Cs(t,e){return qe(new Error,{type:t,[Yh]:!0},e)}function Qt(t,e){return t instanceof Error&&Yh in t&&(e==null||!!(t.type&e))}const du="[^/]+?",B0={sensitive:!1,strict:!1,start:!0,end:!0},j0=/[.+*?^${}()[\]/\\]/g;function z0(t,e){const n=qe({},B0,e),s=[];let o=n.start?"^":"";const r=[];for(const u of t){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function q0(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const U0={type:0,value:""},H0=/[a-zA-Z0-9_]/;function V0(t){if(!t)return[[]];if(t==="/")return[[U0]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,u="",c="";function f(){u&&(n===0?r.push({type:0,value:u}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;a{i(b)}:no}function i(c){if(Zh(c)){const f=s.get(c);f&&(s.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&s.delete(c.record.name),c.children.forEach(i),c.alias.forEach(i))}}function a(){return n}function l(c){let f=0;for(;f=0&&(c.record.path!==n[f].record.path||!Qh(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!pu(c)&&s.set(c.record.name,c)}function u(c,f){let h,p={},g,m;if("name"in c&&c.name){if(h=s.get(c.name),!h)throw Cs(1,{location:c});m=h.record.name,p=qe(hu(f.params,h.keys.filter(b=>!b.optional).map(b=>b.name)),c.params&&hu(c.params,h.keys.map(b=>b.name))),g=h.stringify(p)}else if("path"in c)g=c.path,h=n.find(b=>b.re.test(g)),h&&(p=h.parse(g),m=h.record.name);else{if(h=f.name?s.get(f.name):n.find(b=>b.re.test(f.path)),!h)throw Cs(1,{location:c,currentLocation:f});m=h.record.name,p=qe({},f.params,c.params),g=h.stringify(p)}const y=[];let _=h;for(;_;)y.unshift(_.record),_=_.parent;return{name:m,path:g,params:p,matched:y,meta:Y0(y)}}return t.forEach(c=>r(c)),{addRoute:r,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function hu(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function W0(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Z0(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function Z0(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="boolean"?n:n[s];return e}function pu(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Y0(t){return t.reduce((e,n)=>qe(e,n.meta),{})}function gu(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Qh(t,e){return e.children.some(n=>n===t||Qh(t,n))}const Jh=/#/g,Q0=/&/g,J0=/\//g,X0=/=/g,eb=/\?/g,Xh=/\+/g,tb=/%5B/g,nb=/%5D/g,ep=/%5E/g,sb=/%60/g,tp=/%7B/g,ob=/%7C/g,np=/%7D/g,rb=/%20/g;function zl(t){return encodeURI(""+t).replace(ob,"|").replace(tb,"[").replace(nb,"]")}function ib(t){return zl(t).replace(tp,"{").replace(np,"}").replace(ep,"^")}function Ka(t){return zl(t).replace(Xh,"%2B").replace(rb,"+").replace(Jh,"%23").replace(Q0,"%26").replace(sb,"`").replace(tp,"{").replace(np,"}").replace(ep,"^")}function ab(t){return Ka(t).replace(X0,"%3D")}function lb(t){return zl(t).replace(Jh,"%23").replace(eb,"%3F")}function cb(t){return t==null?"":lb(t).replace(J0,"%2F")}function vr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function ub(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&Ka(r)):[s&&Ka(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function db(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Lt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const fb=Symbol(""),_u=Symbol(""),$l=Symbol(""),sp=Symbol(""),Wa=Symbol("");function Ks(){let t=[];function e(s){return t.push(s),()=>{const o=t.indexOf(s);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function bn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(Cs(4,{from:n,to:e})):f instanceof Error?a(f):F0(f)?a(Cs(2,{from:e,to:f})):(r&&s.enterCallbacks[o]===r&&typeof f=="function"&&r.push(f),i())},u=t.call(s&&s.instances[o],e,n,l);let c=Promise.resolve(u);t.length<3&&(c=c.then(l)),c.catch(f=>a(f))})}function Ti(t,e,n,s){const o=[];for(const r of t)for(const i in r.components){let a=r.components[i];if(!(e!=="beforeRouteEnter"&&!r.instances[i]))if(hb(a)){const u=(a.__vccOpts||a)[e];u&&o.push(bn(u,n,s,r,i))}else{let l=a();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const c=y0(u)?u.default:u;r.components[i]=c;const h=(c.__vccOpts||c)[e];return h&&bn(h,n,s,r,i)()}))}}return o}function hb(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function bu(t){const e=tn($l),n=tn(sp),s=wt(()=>e.resolve(gt(t.to))),o=wt(()=>{const{matched:l}=s.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const h=f.findIndex(Es.bind(null,c));if(h>-1)return h;const p=yu(l[u-2]);return u>1&&yu(c)===p&&f[f.length-1].path!==p?f.findIndex(Es.bind(null,l[u-2])):h}),r=wt(()=>o.value>-1&&mb(n.params,s.value.params)),i=wt(()=>o.value>-1&&o.value===n.matched.length-1&&Kh(n.params,s.value.params));function a(l={}){return gb(l)?e[gt(t.replace)?"replace":"push"](gt(t.to)).catch(no):Promise.resolve()}return{route:s,href:wt(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const pb=ch({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bu,setup(t,{slots:e}){const n=Fs(bu(t)),{options:s}=tn($l),o=wt(()=>({[vu(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[vu(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Th("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),$n=pb;function gb(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function mb(t,e){for(const n in e){const s=e[n],o=t[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Lt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function yu(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const vu=(t,e,n)=>t??e??n,_b=ch({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=tn(Wa),o=wt(()=>t.route||s.value),r=tn(_u,0),i=wt(()=>{let u=gt(r);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=wt(()=>o.value.matched[i.value]);nr(_u,wt(()=>i.value+1)),nr(fb,a),nr(Wa,o);const l=o_();return Wn(()=>[l.value,a.value,t.name],([u,c,f],[h,p,g])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===h&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!Es(c,p)||!h)&&(c.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=o.value,c=t.name,f=a.value,h=f&&f.components[c];if(!h)return wu(n.default,{Component:h,route:u});const p=f.props[c],g=p?p===!0?u.params:typeof p=="function"?p(u):p:null,y=Th(h,qe({},g,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return wu(n.default,{Component:y,route:u})||y}}});function wu(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const op=_b;function bb(t){const e=K0(t.routes,t),n=t.parseQuery||ub,s=t.stringifyQuery||mu,o=t.history,r=Ks(),i=Ks(),a=Ks(),l=r_(hn);let u=hn;cs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ai.bind(null,I=>""+I),f=Ai.bind(null,cb),h=Ai.bind(null,vr);function p(I,Q){let G,ee;return Zh(I)?(G=e.getRecordMatcher(I),ee=Q):ee=I,e.addRoute(ee,G)}function g(I){const Q=e.getRecordMatcher(I);Q&&e.removeRoute(Q)}function m(){return e.getRoutes().map(I=>I.record)}function y(I){return!!e.getRecordMatcher(I)}function _(I,Q){if(Q=qe({},Q||l.value),typeof I=="string"){const x=Si(n,I,Q.path),C=e.resolve({path:x.path},Q),F=o.createHref(x.fullPath);return qe(x,C,{params:h(C.params),hash:vr(x.hash),redirectedFrom:void 0,href:F})}let G;if("path"in I)G=qe({},I,{path:Si(n,I.path,Q.path).path});else{const x=qe({},I.params);for(const C in x)x[C]==null&&delete x[C];G=qe({},I,{params:f(I.params)}),Q.params=f(Q.params)}const ee=e.resolve(G,Q),X=I.hash||"";ee.params=c(h(ee.params));const he=x0(s,qe({},I,{hash:ib(X),path:ee.path})),le=o.createHref(he);return qe({fullPath:he,hash:X,query:s===mu?db(I.query):I.query||{}},ee,{redirectedFrom:void 0,href:le})}function b(I){return typeof I=="string"?Si(n,I,l.value.path):qe({},I)}function v(I,Q){if(u!==I)return Cs(8,{from:Q,to:I})}function E(I){return N(I)}function M(I){return E(qe(b(I),{replace:!0}))}function T(I){const Q=I.matched[I.matched.length-1];if(Q&&Q.redirect){const{redirect:G}=Q;let ee=typeof G=="function"?G(I):G;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=b(ee):{path:ee},ee.params={}),qe({query:I.query,hash:I.hash,params:"path"in ee?{}:I.params},ee)}}function N(I,Q){const G=u=_(I),ee=l.value,X=I.state,he=I.force,le=I.replace===!0,x=T(G);if(x)return N(qe(b(x),{state:typeof x=="object"?qe({},X,x.state):X,force:he,replace:le}),Q||G);const C=G;C.redirectedFrom=Q;let F;return!he&&k0(s,ee,G)&&(F=Cs(16,{to:C,from:ee}),fe(ee,ee,!0,!1)),(F?Promise.resolve(F):k(C,ee)).catch(B=>Qt(B)?Qt(B,2)?B:H(B):A(B,C,ee)).then(B=>{if(B){if(Qt(B,2))return N(qe({replace:le},b(B.to),{state:typeof B.to=="object"?qe({},X,B.to.state):X,force:he}),Q||C)}else B=D(C,ee,!0,le,X);return S(C,ee,B),B})}function w(I,Q){const G=v(I,Q);return G?Promise.reject(G):Promise.resolve()}function k(I,Q){let G;const[ee,X,he]=yb(I,Q);G=Ti(ee.reverse(),"beforeRouteLeave",I,Q);for(const x of ee)x.leaveGuards.forEach(C=>{G.push(bn(C,I,Q))});const le=w.bind(null,I,Q);return G.push(le),is(G).then(()=>{G=[];for(const x of r.list())G.push(bn(x,I,Q));return G.push(le),is(G)}).then(()=>{G=Ti(X,"beforeRouteUpdate",I,Q);for(const x of X)x.updateGuards.forEach(C=>{G.push(bn(C,I,Q))});return G.push(le),is(G)}).then(()=>{G=[];for(const x of I.matched)if(x.beforeEnter&&!Q.matched.includes(x))if(Lt(x.beforeEnter))for(const C of x.beforeEnter)G.push(bn(C,I,Q));else G.push(bn(x.beforeEnter,I,Q));return G.push(le),is(G)}).then(()=>(I.matched.forEach(x=>x.enterCallbacks={}),G=Ti(he,"beforeRouteEnter",I,Q),G.push(le),is(G))).then(()=>{G=[];for(const x of i.list())G.push(bn(x,I,Q));return G.push(le),is(G)}).catch(x=>Qt(x,8)?x:Promise.reject(x))}function S(I,Q,G){for(const ee of a.list())ee(I,Q,G)}function D(I,Q,G,ee,X){const he=v(I,Q);if(he)return he;const le=Q===hn,x=cs?history.state:{};G&&(ee||le?o.replace(I.fullPath,qe({scroll:le&&x&&x.scroll},X)):o.push(I.fullPath,X)),l.value=I,fe(I,Q,G,le),H()}let P;function W(){P||(P=o.listen((I,Q,G)=>{if(!we.listening)return;const ee=_(I),X=T(ee);if(X){N(qe(X,{replace:!0}),ee).catch(no);return}u=ee;const he=l.value;cs&&R0(lu(he.fullPath,G.delta),Yr()),k(ee,he).catch(le=>Qt(le,12)?le:Qt(le,2)?(N(le.to,ee).then(x=>{Qt(x,20)&&!G.delta&&G.type===vo.pop&&o.go(-1,!1)}).catch(no),Promise.reject()):(G.delta&&o.go(-G.delta,!1),A(le,ee,he))).then(le=>{le=le||D(ee,he,!1),le&&(G.delta&&!Qt(le,8)?o.go(-G.delta,!1):G.type===vo.pop&&Qt(le,20)&&o.go(-1,!1)),S(ee,he,le)}).catch(no)}))}let R=Ks(),re=Ks(),V;function A(I,Q,G){H(I);const ee=re.list();return ee.length?ee.forEach(X=>X(I,Q,G)):console.error(I),Promise.reject(I)}function $(){return V&&l.value!==hn?Promise.resolve():new Promise((I,Q)=>{R.add([I,Q])})}function H(I){return V||(V=!I,W(),R.list().forEach(([Q,G])=>I?G(I):Q()),R.reset()),I}function fe(I,Q,G,ee){const{scrollBehavior:X}=t;if(!cs||!X)return Promise.resolve();const he=!G&&N0(lu(I.fullPath,0))||(ee||!G)&&history.state&&history.state.scroll||null;return me().then(()=>X(I,Q,he)).then(le=>le&&M0(le)).catch(le=>A(le,I,Q))}const ge=I=>o.go(I);let J;const _e=new Set,we={currentRoute:l,listening:!0,addRoute:p,removeRoute:g,hasRoute:y,getRoutes:m,resolve:_,options:t,push:E,replace:M,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:re.add,isReady:$,install(I){const Q=this;I.component("RouterLink",$n),I.component("RouterView",op),I.config.globalProperties.$router=Q,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>gt(l)}),cs&&!J&&l.value===hn&&(J=!0,E(o.location).catch(X=>{}));const G={};for(const X in hn)G[X]=wt(()=>l.value[X]);I.provide($l,Q),I.provide(sp,Fs(G)),I.provide(Wa,l);const ee=I.unmount;_e.add(I),I.unmount=function(){_e.delete(I),_e.size<1&&(u=hn,P&&P(),P=null,l.value=hn,J=!1,V=!1),ee()}}};return we}function is(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function yb(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iEs(u,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(u=>Es(u,l))||o.push(l))}return[n,s,o]}const vb="modulepreload",wb=function(t){return"/"+t},xu={},Oi=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=wb(r),r in xu)return;xu[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let c=o.length-1;c>=0;c--){const f=o[c];if(f.href===r&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":vb,i||(u.as="script",u.crossOrigin=""),u.href=r,document.head.appendChild(u),i)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},rp="/assets/logo-023c77a1.png";var ip=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function On(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function xb(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var r=Function.bind.apply(e,o);return new r}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),n}var ap={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:ip,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:a})},o.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,s,o){var r,i;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function c(_,b){for(var x=b.length,C=0;C1?arguments[1]:void 0,b=_!==void 0,x=0,C=f(p),M,T,D,y;if(b&&(_=r(_,v>2?arguments[2]:void 0,2)),C!=null&&!(m==Array&&l(C)))for(y=C.call(p),T=new m;!(D=y.next()).done;x++)u(T,x,b?a(y,_,[D.value,x],!0):D.value);else for(M=c(p.length),T=new m(M);M>x;x++)u(T,x,b?_(p[x],x):p[x]);return T.length=x,T}},"./node_modules/core-js/internals/array-includes.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),i=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(c,u,f){var h=r(c),g=i(h.length),p=a(f,g),m;if(l&&u!=u){for(;g>p;)if(m=h[p++],m!=m)return!0}else for(;g>p;p++)if((l||p in h)&&h[p]===u)return l||p||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(c){return i.call(a,c)};case 2:return function(c,u){return i.call(a,c,u)};case 3:return function(c,u,f){return i.call(a,c,u,f)}}return function(){return i.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(i,a,l,c){try{return c?a(r(l)[0],l[1]):a(l)}catch(f){var u=i.return;throw u!==void 0&&r(u.call(i)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var l=0,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,f){if(!f&&!a)return!1;var h=!1;try{var g={};g[i]=function(){return{next:function(){return{done:h=!0}}}},u(g)}catch{}return h}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",c=function(u,f){try{return u[f]}catch{}};n.exports=function(u){var f,h,g;return u===void 0?"Undefined":u===null?"Null":typeof(h=c(f=Object(u),a))=="string"?h:l?r(f):(g=r(f))=="Object"&&typeof f.callee=="function"?"Arguments":g}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var f=i(u),h=l.f,g=a.f,p=0;p",M="java"+x+":",T;for(v.style.display="none",c.appendChild(v),v.src=String(M),T=v.contentWindow.document,T.open(),T.write(b+x+C+"document.F=Object"+b+"/"+x+C),T.close(),m=T.F;_--;)delete m[g][a[_]];return m()};n.exports=Object.create||function(_,b){var x;return _!==null?(p[g]=r(_),x=new p,p[g]=null,x[h]=_):x=m(),b===void 0?x:i(x,b)},l[h]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(u,f){a(u);for(var h=l(f),g=h.length,p=0,m;g>p;)i.f(u,m=h[p++],f[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;s.f=r?c:function(f,h,g){if(a(f),h=l(h,!0),a(g),i)try{return c(f,h,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(f[h]=g.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),c=o("./node_modules/core-js/internals/to-primitive.js"),u=o("./node_modules/core-js/internals/has.js"),f=o("./node_modules/core-js/internals/ie8-dom-define.js"),h=Object.getOwnPropertyDescriptor;s.f=r?h:function(p,m){if(p=l(p),m=c(m,!0),f)try{return h(p,m)}catch{}if(u(p,m))return a(!i.f.call(p,m),p[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return r(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(f){return f=i(f),r(f,c)?f[c]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),c=a(!1);n.exports=function(u,f){var h=i(u),g=0,p=[],m;for(m in h)!r(l,m)&&r(h,m)&&p.push(m);for(;f.length>g;)r(h,m=f[g++])&&(~c(p,m)||p.push(m));return p}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(c){var u=i(this,c);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(u,f){return r(u,f),i?l.call(u,f):u.__proto__=f,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),c=r.Reflect;n.exports=c&&c.ownKeys||function(f){var h=i.f(l(f)),g=a.f;return g?h.concat(g(f)):h}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),c=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),f=o("./node_modules/core-js/internals/internal-state.js"),h=f.get,g=f.enforce,p=String(u).split("toString");i("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,v,_,b){var x=b?!!b.unsafe:!1,C=b?!!b.enumerable:!1,M=b?!!b.noTargetGet:!1;if(typeof _=="function"&&(typeof v=="string"&&!l(_,"name")&&a(_,"name",v),g(_).source=p.join(typeof v=="string"?v:"")),m===r){C?m[v]=_:c(v,_);return}else x?!M&&m[v]&&(C=!0):delete m[v];C?m[v]=_:a(m,v,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,s){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{i(r,a,l)}catch{r[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,i=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(c,u,f){c&&!i(c=f?c:c.prototype,l)&&r(c,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=r[l]||i(l,{});(n.exports=function(u,f){return c[u]||(c[u]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,c){var u=String(i(a)),f=r(l),h=u.length,g,p;return f<0||f>=h?c?"":void 0:(g=u.charCodeAt(f),g<55296||g>56319||f+1===h||(p=u.charCodeAt(f+1))<56320||p>57343?c?u.charAt(f):g:c?u.slice(f,f+2):(g-55296<<10)+(p-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,c){var u=r(l);return u<0?i(u+c,0):a(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,c;if(a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(c=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),c=r.Symbol,u=i("wks");n.exports=function(f){return u[f]||(u[f]=l&&c[f]||(l?c:a)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(c){Array.from(c)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",function(f){c(this,{type:l,string:String(f),index:0})},function(){var h=u(this),g=h.string,p=h.index,m;return p>=g.length?{value:void 0,done:!0}:(m=r(g,p,!0),h.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var v=1;v2&&arguments[2]!==void 0?arguments[2]:[];h(this,m),this.name=v,this.contents=_,this.tags=b,this.attrs=r({},u.default,{class:"feather feather-"+v})}return i(m,[{key:"toSvg",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=r({},this.attrs,_,{class:(0,l.default)(this.attrs.class,_.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),m}();function p(m){return Object.keys(m).map(function(v){return v+'="'+m[v]+'"'}).join(" ")}s.default=g},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=f(r),a=o("./dist/icons.json"),l=f(a),c=o("./src/tags.json"),u=f(c);function f(h){return h&&h.__esModule?h:{default:h}}s.default=Object.keys(l.default).map(function(h){return new i.default(h,l.default[h],u.default[h])}).reduce(function(h,g){return h[g.name]=g,h},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=f(r),a=o("./src/to-svg.js"),l=f(a),c=o("./src/replace.js"),u=f(c);function f(h){return h&&h.__esModule?h:{default:h}}n.exports={icons:i.default,toSvg:l.default,replace:u.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(p){for(var m=1;m0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var m=document.querySelectorAll("[data-feather]");Array.from(m).forEach(function(v){return h(v,p)})}function h(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=g(p),_=v["data-feather"];delete v["data-feather"];var b=c.default[_].toSvg(r({},m,v,{class:(0,a.default)(m.class,v.class)})),x=new DOMParser().parseFromString(b,"image/svg+xml"),C=x.querySelector("svg");p.parentNode.replaceChild(C,p)}function g(p){return Array.from(p.attributes).reduce(function(m,v){return m[v.name]=v.value,m},{})}s.default=f},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icons.js"),i=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function l(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return i.default[c].toSvg(u)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(ip);var xb=ip.exports;const Ee=ts(xb),kb={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},Eb={class:"items-center justify-between w-full flex-row md:w-auto md:order-1"},Cb={class:"flex flex-row font-medium p-0 mt-4 space-x-8"},Ab=d("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),Sb=d("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),Tb=d("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),Ob=d("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),Mb=d("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),Rb={data(){return{}},activated(){},methods:{}},ap=Object.assign(Rb,{__name:"Navigation",setup(t){return(e,n)=>(O(),R("div",kb,[d("div",Eb,[d("ul",Cb,[d("li",null,[Ce(gt(jn),{to:{name:"discussions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Ab]),_:1})]),d("li",null,[Ce(gt(jn),{to:{name:"settings"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Sb]),_:1})]),d("li",null,[Ce(gt(jn),{to:{name:"extensions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Tb]),_:1})]),d("li",null,[Ce(gt(jn),{to:{name:"training"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Ob]),_:1})]),d("li",null,[Ce(gt(jn),{to:{name:"help"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Mb]),_:1})])])])]))}}),Nb={class:"top-0 shadow-lg"},Db={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},Lb=d("div",{class:"flex items-center gap-3 flex-1"},[d("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:op,alt:"Logo"}),d("div",{class:"flex flex-col"},[d("p",{class:"text-2xl"},"Lord of Large Language Models"),d("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),Ib={class:"flex gap-3 flex-1 items-center justify-end"},Pb=d("a",{href:"https://github.com/ParisNeo/lollms-webui",target:"_blank"},[d("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[d("i",{"data-feather":"github"})])],-1),Fb=d("i",{"data-feather":"sun"},null,-1),Bb=[Fb],jb=d("i",{"data-feather":"moon"},null,-1),zb=[jb],$b=d("body",null,null,-1),qb={name:"TopBar",data(){return{codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),ge(()=>{Ee.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none"),ge(()=>{Ti(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}ge(()=>{Ti(()=>Promise.resolve({}),["assets/stackoverflow-light-b5b5e2eb.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}Ti(()=>Promise.resolve({}),["assets/tokyo-night-dark-a847eb67.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:ap}},Ub=Object.assign(qb,{setup(t){return(e,n)=>(O(),R(Be,null,[d("header",Nb,[d("nav",Db,[Ce(gt(jn),{to:{name:"discussions"}},{default:Je(()=>[Lb]),_:1}),d("div",Ib,[Pb,d("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=s=>e.themeSwitch())},Bb),d("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=s=>e.themeSwitch())},zb)])]),Ce(ap)]),$b],64))}}),Ke=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},Hb={class:"flex flex-col h-screen max-h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},Vb={class:"flex overflow-hidden flex-grow"},Gb={__name:"App",setup(t){return(e,n)=>(O(),R("div",Hb,[Ce(Ub),d("div",Vb,[Ce(gt(sp),null,{default:Je(({Component:s})=>[(O(),at(E_,null,[(O(),at(L_(s)))],1024))]),_:1})])]))}},Kb={setup(){return{}}};function Wb(t,e,n,s,o,r){return O(),R("div",null," Extensions ")}const Zb=Ke(Kb,[["render",Wb]]);var lp={exports:{}};/* @license +*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function u(_,b){for(var v=b.length,E=0;E1?arguments[1]:void 0,b=_!==void 0,v=0,E=f(g),M,T,N,w;if(b&&(_=r(_,y>2?arguments[2]:void 0,2)),E!=null&&!(m==Array&&l(E)))for(w=E.call(g),T=new m;!(N=w.next()).done;v++)c(T,v,b?a(w,_,[N.value,v],!0):N.value);else for(M=u(g.length),T=new m(M);M>v;v++)c(T,v,b?_(g[v],v):g[v]);return T.length=v,T}},"./node_modules/core-js/internals/array-includes.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),i=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(u,c,f){var h=r(u),p=i(h.length),g=a(f,p),m;if(l&&c!=c){for(;p>g;)if(m=h[g++],m!=m)return!0}else for(;p>g;g++)if((l||g in h)&&h[g]===c)return l||g||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(u){return i.call(a,u)};case 2:return function(u,c){return i.call(a,u,c)};case 3:return function(u,c,f){return i.call(a,u,c,f)}}return function(){return i.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(i,a,l,u){try{return u?a(r(l)[0],l[1]):a(l)}catch(f){var c=i.return;throw c!==void 0&&r(c.call(i)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var l=0,u={next:function(){return{done:!!l++}},return:function(){a=!0}};u[i]=function(){return this},Array.from(u,function(){throw 2})}catch{}n.exports=function(c,f){if(!f&&!a)return!1;var h=!1;try{var p={};p[i]=function(){return{next:function(){return{done:h=!0}}}},c(p)}catch{}return h}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",u=function(c,f){try{return c[f]}catch{}};n.exports=function(c){var f,h,p;return c===void 0?"Undefined":c===null?"Null":typeof(h=u(f=Object(c),a))=="string"?h:l?r(f):(p=r(f))=="Object"&&typeof f.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(u,c){for(var f=i(c),h=l.f,p=a.f,g=0;g",M="java"+v+":",T;for(y.style.display="none",u.appendChild(y),y.src=String(M),T=y.contentWindow.document,T.open(),T.write(b+v+E+"document.F=Object"+b+"/"+v+E),T.close(),m=T.F;_--;)delete m[p][a[_]];return m()};n.exports=Object.create||function(_,b){var v;return _!==null?(g[p]=r(_),v=new g,g[p]=null,v[h]=_):v=m(),b===void 0?v:i(v,b)},l[h]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(c,f){a(c);for(var h=l(f),p=h.length,g=0,m;p>g;)i.f(c,m=h[g++],f[m]);return c}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),u=Object.defineProperty;s.f=r?u:function(f,h,p){if(a(f),h=l(h,!0),a(p),i)try{return u(f,h,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(f[h]=p.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),u=o("./node_modules/core-js/internals/to-primitive.js"),c=o("./node_modules/core-js/internals/has.js"),f=o("./node_modules/core-js/internals/ie8-dom-define.js"),h=Object.getOwnPropertyDescriptor;s.f=r?h:function(g,m){if(g=l(g),m=u(m,!0),f)try{return h(g,m)}catch{}if(c(g,m))return a(!i.f.call(g,m),g[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(u){return r(u,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),u=a("IE_PROTO"),c=Object.prototype;n.exports=l?Object.getPrototypeOf:function(f){return f=i(f),r(f,u)?f[u]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?c:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),u=a(!1);n.exports=function(c,f){var h=i(c),p=0,g=[],m;for(m in h)!r(l,m)&&r(h,m)&&g.push(m);for(;f.length>p;)r(h,m=f[p++])&&(~u(g,m)||g.push(m));return g}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(u){var c=i(this,u);return!!c&&c.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(c,f){return r(c,f),i?l.call(c,f):c.__proto__=f,c}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),u=r.Reflect;n.exports=u&&u.ownKeys||function(f){var h=i.f(l(f)),p=a.f;return p?h.concat(p(f)):h}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),u=o("./node_modules/core-js/internals/set-global.js"),c=o("./node_modules/core-js/internals/function-to-string.js"),f=o("./node_modules/core-js/internals/internal-state.js"),h=f.get,p=f.enforce,g=String(c).split("toString");i("inspectSource",function(m){return c.call(m)}),(n.exports=function(m,y,_,b){var v=b?!!b.unsafe:!1,E=b?!!b.enumerable:!1,M=b?!!b.noTargetGet:!1;if(typeof _=="function"&&(typeof y=="string"&&!l(_,"name")&&a(_,"name",y),p(_).source=g.join(typeof y=="string"?y:"")),m===r){E?m[y]=_:u(y,_);return}else v?!M&&m[y]&&(E=!0):delete m[y];E?m[y]=_:a(m,y,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||c.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,s){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{i(r,a,l)}catch{r[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,i=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(u,c,f){u&&!i(u=f?u:u.prototype,l)&&r(u,l,{configurable:!0,value:c})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",u=r[l]||i(l,{});(n.exports=function(c,f){return u[c]||(u[c]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,u){var c=String(i(a)),f=r(l),h=c.length,p,g;return f<0||f>=h?u?"":void 0:(p=c.charCodeAt(f),p<55296||p>56319||f+1===h||(g=c.charCodeAt(f+1))<56320||g>57343?u?c.charAt(f):p:u?c.slice(f,f+2):(p-55296<<10)+(g-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,u){var c=r(l);return c<0?i(c+u,0):a(c,u)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,u;if(a&&typeof(l=i.toString)=="function"&&!r(u=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(u=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(u=l.call(i)))return u;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),u=r.Symbol,c=i("wks");n.exports=function(f){return c[f]||(c[f]=l&&u[f]||(l?u:a)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(u){Array.from(u)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",u=i.set,c=i.getterFor(l);a(String,"String",function(f){u(this,{type:l,string:String(f),index:0})},function(){var h=c(this),p=h.string,g=h.index,m;return g>=p.length?{value:void 0,done:!0}:(m=r(p,g,!0),h.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var y=1;y2&&arguments[2]!==void 0?arguments[2]:[];h(this,m),this.name=y,this.contents=_,this.tags=b,this.attrs=r({},c.default,{class:"feather feather-"+y})}return i(m,[{key:"toSvg",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=r({},this.attrs,_,{class:(0,l.default)(this.attrs.class,_.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),m}();function g(m){return Object.keys(m).map(function(y){return y+'="'+m[y]+'"'}).join(" ")}s.default=p},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=f(r),a=o("./dist/icons.json"),l=f(a),u=o("./src/tags.json"),c=f(u);function f(h){return h&&h.__esModule?h:{default:h}}s.default=Object.keys(l.default).map(function(h){return new i.default(h,l.default[h],c.default[h])}).reduce(function(h,p){return h[p.name]=p,h},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=f(r),a=o("./src/to-svg.js"),l=f(a),u=o("./src/replace.js"),c=f(u);function f(h){return h&&h.__esModule?h:{default:h}}n.exports={icons:i.default,toSvg:l.default,replace:c.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(g){for(var m=1;m0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var m=document.querySelectorAll("[data-feather]");Array.from(m).forEach(function(y){return h(y,g)})}function h(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=p(g),_=y["data-feather"];delete y["data-feather"];var b=u.default[_].toSvg(r({},m,y,{class:(0,a.default)(m.class,y.class)})),v=new DOMParser().parseFromString(b,"image/svg+xml"),E=v.querySelector("svg");g.parentNode.replaceChild(E,g)}function p(g){return Array.from(g.attributes).reduce(function(m,y){return m[y.name]=y.value,m},{})}s.default=f},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icons.js"),i=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function l(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!u)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[u])throw new Error("No icon matching '"+u+"'. See the complete list of icons at https://feathericons.com");return i.default[u].toSvg(c)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(ap);var kb=ap.exports;const Ee=On(kb),Eb={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},Cb={class:"items-center justify-between w-full flex-row md:w-auto md:order-1"},Ab={class:"flex flex-row font-medium p-0 mt-4 space-x-8"},Sb=d("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),Tb=d("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),Ob=d("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),Mb=d("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),Rb=d("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),Nb={data(){return{}},activated(){},methods:{}},lp=Object.assign(Nb,{__name:"Navigation",setup(t){return(e,n)=>(O(),L("div",Eb,[d("div",Cb,[d("ul",Ab,[d("li",null,[Ce(gt($n),{to:{name:"discussions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Sb]),_:1})]),d("li",null,[Ce(gt($n),{to:{name:"settings"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Tb]),_:1})]),d("li",null,[Ce(gt($n),{to:{name:"extensions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Ob]),_:1})]),d("li",null,[Ce(gt($n),{to:{name:"training"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Mb]),_:1})]),d("li",null,[Ce(gt($n),{to:{name:"help"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[Rb]),_:1})])])])]))}}),Db={class:"top-0 shadow-lg"},Lb={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},Ib=d("div",{class:"flex items-center gap-3 flex-1"},[d("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:rp,alt:"Logo"}),d("div",{class:"flex flex-col"},[d("p",{class:"text-2xl"},"Lord of Large Language Models"),d("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),Pb={class:"flex gap-3 flex-1 items-center justify-end"},Fb=d("a",{href:"https://github.com/ParisNeo/lollms-webui",target:"_blank"},[d("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[d("i",{"data-feather":"github"})])],-1),Bb=d("i",{"data-feather":"sun"},null,-1),jb=[Bb],zb=d("i",{"data-feather":"moon"},null,-1),$b=[zb],qb=d("body",null,null,-1),Ub={name:"TopBar",data(){return{codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),me(()=>{Ee.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none"),me(()=>{Oi(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}me(()=>{Oi(()=>Promise.resolve({}),["assets/stackoverflow-light-b5b5e2eb.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}Oi(()=>Promise.resolve({}),["assets/tokyo-night-dark-a847eb67.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:lp}},Hb=Object.assign(Ub,{setup(t){return(e,n)=>(O(),L(Be,null,[d("header",Db,[d("nav",Lb,[Ce(gt($n),{to:{name:"discussions"}},{default:Je(()=>[Ib]),_:1}),d("div",Pb,[Fb,d("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=s=>e.themeSwitch())},jb),d("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=s=>e.themeSwitch())},$b)])]),Ce(lp)]),qb],64))}}),Ke=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},Vb={class:"flex flex-col h-screen max-h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},Gb={class:"flex overflow-hidden flex-grow"},Kb={__name:"App",setup(t){return(e,n)=>(O(),L("div",Vb,[Ce(Hb),d("div",Gb,[Ce(gt(op),null,{default:Je(({Component:s})=>[(O(),at(C_,null,[(O(),at(I_(s)))],1024))]),_:1})])]))}},Wb={setup(){return{}}};function Zb(t,e,n,s,o,r){return O(),L("div",null," Extensions ")}const Yb=Ke(Wb,[["render",Zb]]);var cp={exports:{}};/* @license Papa Parse v5.4.1 https://github.com/mholt/PapaParse License: MIT -*/(function(t,e){(function(n,s){t.exports=s()})(rp,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},o=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,i={},a=0,l={parse:function(y,k){var S=(k=k||{}).dynamicTyping||!1;if(D(S)&&(k.dynamicTypingFunction=S,S={}),k.dynamicTyping=S,k.transform=!!D(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var L=function(){if(!l.WORKERS_SUPPORTED)return!1;var Y=(ae=s.URL||s.webkitURL||null,W=n.toString(),l.BLOB_URL||(l.BLOB_URL=ae.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",W,")();"],{type:"text/javascript"})))),I=new s.Worker(Y),ae,W;return I.onmessage=b,I.id=a++,i[I.id]=I}();return L.userStep=k.step,L.userChunk=k.chunk,L.userComplete=k.complete,L.userError=k.error,k.step=D(k.step),k.chunk=D(k.chunk),k.complete=D(k.complete),k.error=D(k.error),delete k.worker,void L.postMessage({input:y,config:k,workerId:L.id})}var F=null;return l.NODE_STREAM_INPUT,typeof y=="string"?(y=function(Y){return Y.charCodeAt(0)===65279?Y.slice(1):Y}(y),F=k.download?new f(k):new g(k)):y.readable===!0&&D(y.read)&&D(y.on)?F=new p(k):(s.File&&y instanceof File||y instanceof Object)&&(F=new h(k)),F.stream(y)},unparse:function(y,k){var S=!1,L=!0,F=",",Y=`\r -`,I='"',ae=I+I,W=!1,A=null,q=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(X){return k.delimiter.indexOf(X)!==-1}).length||(F=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(S=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(W=k.skipEmptyLines),typeof k.newline=="string"&&(Y=k.newline),typeof k.quoteChar=="string"&&(I=k.quoteChar),typeof k.header=="boolean"&&(L=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");A=k.columns}k.escapeChar!==void 0&&(ae=k.escapeChar+I),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(q=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var V=new RegExp(v(I),"g");if(typeof y=="string"&&(y=JSON.parse(y)),Array.isArray(y)){if(!y.length||Array.isArray(y[0]))return me(null,y,W);if(typeof y[0]=="object")return me(A||Object.keys(y[0]),y,W)}else if(typeof y=="object")return typeof y.data=="string"&&(y.data=JSON.parse(y.data)),Array.isArray(y.data)&&(y.fields||(y.fields=y.meta&&y.meta.fields||A),y.fields||(y.fields=Array.isArray(y.data[0])?y.fields:typeof y.data[0]=="object"?Object.keys(y.data[0]):[]),Array.isArray(y.data[0])||typeof y.data[0]=="object"||(y.data=[y.data])),me(y.fields||[],y.data||[],W);throw new Error("Unable to serialize unrecognized input");function me(X,_e,we){var N="";typeof X=="string"&&(X=JSON.parse(X)),typeof _e=="string"&&(_e=JSON.parse(_e));var Q=Array.isArray(X)&&0=this._config.preview;if(r)s.postMessage({results:Y,workerId:l.WORKER_ID,finished:ae});else if(D(this._config.chunk)&&!S){if(this._config.chunk(Y,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);Y=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Y.data),this._completeResults.errors=this._completeResults.errors.concat(Y.errors),this._completeResults.meta=Y.meta),this._completed||!ae||!D(this._config.complete)||Y&&Y.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ae||Y&&Y.meta.paused||this._nextChunk(),Y}this._halted=!0},this._sendError=function(k){D(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function f(y){var k;(y=y||{}).chunkSize||(y.chunkSize=l.RemoteChunkSize),u.call(this,y),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(S){this._input=S,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(k=new XMLHttpRequest,this._config.withCredentials&&(k.withCredentials=this._config.withCredentials),o||(k.onload=T(this._chunkLoaded,this),k.onerror=T(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var S=this._config.downloadRequestHeaders;for(var L in S)k.setRequestHeader(L,S[L])}if(this._config.chunkSize){var F=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+F)}try{k.send(this._config.downloadRequestBody)}catch(Y){this._chunkError(Y.message)}o&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(S){var L=S.getResponseHeader("Content-Range");return L===null?-1:parseInt(L.substring(L.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(S){var L=k.statusText||S;this._sendError(new Error(L))}}function h(y){var k,S;(y=y||{}).chunkSize||(y.chunkSize=l.LocalChunkSize),u.call(this,y);var L=typeof FileReader<"u";this.stream=function(F){this._input=F,S=F.slice||F.webkitSlice||F.mozSlice,L?((k=new FileReader).onload=T(this._chunkLoaded,this),k.onerror=T(this._chunkError,this)):k=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(F.target.result)},this._chunkError=function(){this._sendError(k.error)}}function g(y){var k;u.call(this,y=y||{}),this.stream=function(S){return k=S,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var S,L=this._config.chunkSize;return L?(S=k.substring(0,L),k=k.substring(L)):(S=k,k=""),this._finished=!k,this.parseChunk(S)}}}function p(y){u.call(this,y=y||{});var k=[],S=!0,L=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(F){this._input=F,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){L&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):S=!0},this._streamData=T(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),S&&(S=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(Y){this._streamError(Y)}},this),this._streamError=T(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=T(function(){this._streamCleanUp(),L=!0,this._streamData("")},this),this._streamCleanUp=T(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(y){var k,S,L,F=Math.pow(2,53),Y=-F,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ae=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,W=this,A=0,q=0,V=!1,me=!1,pe=[],X={data:[],errors:[],meta:{}};if(D(y.step)){var _e=y.step;y.step=function(J){if(X=J,Q())N();else{if(N(),X.data.length===0)return;A+=J.data.length,y.preview&&A>y.preview?S.abort():(X.data=X.data[0],_e(X,W))}}}function we(J){return y.skipEmptyLines==="greedy"?J.join("").trim()==="":J.length===1&&J[0].length===0}function N(){return X&&L&&(ee("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),L=!1),y.skipEmptyLines&&(X.data=X.data.filter(function(J){return!we(J)})),Q()&&function(){if(!X)return;function J(le,w){D(y.transformHeader)&&(le=y.transformHeader(le,w)),pe.push(le)}if(Array.isArray(X.data[0])){for(var fe=0;Q()&&fe=pe.length?"__parsed_extra":pe[E]),y.transform&&(j=y.transform(j,B)),j=H(B,j),B==="__parsed_extra"?(P[B]=P[B]||[],P[B].push(j)):P[B]=j}return y.header&&(E>pe.length?ee("FieldMismatch","TooManyFields","Too many fields: expected "+pe.length+" fields but parsed "+E,q+w):E=re.length/2?`\r -`:"\r"}(J,w)),L=!1,y.delimiter)D(y.delimiter)&&(y.delimiter=y.delimiter(J),X.meta.delimiter=y.delimiter);else{var E=function(B,j,te,re,z){var se,$,Z,ie;z=z||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var de=0;de=I)return Ue(!0)}else for(ce=A,A++;;){if((ce=V.indexOf(k,ce+1))===-1)return pe||ee.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:H.length,index:A}),xe();if(ce===X-1)return xe(V.substring(A,ce).replace(de,k));if(k!==W||V[ce+1]!==W){if(k===W||ce===0||V[ce-1]!==W){Z!==-1&&Z=I)return Ue(!0);break}ee.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:H.length,index:A}),ce++}}else ce++}return xe();function oe(Ze){H.push(Ze),fe=A}function he(Ze){var Qe=0;if(Ze!==-1){var ot=V.substring(ce+1,Ze);ot&&ot.trim()===""&&(Qe=ot.length)}return Qe}function xe(Ze){return pe||(Ze===void 0&&(Ze=V.substring(A)),J.push(Ze),A=X,oe(J),Q&&Ne()),Ue()}function Le(Ze){A=Ze,oe(J),J=[],ie=V.indexOf(L,A)}function Ue(Ze){return{data:H,errors:ee,meta:{delimiter:S,linebreak:L,aborted:q,truncated:!!Ze,cursor:fe+(me||0)}}}function Ne(){Y(Ue()),H=[],ee=[]}},this.abort=function(){q=!0},this.getCharIndex=function(){return A}}function b(y){var k=y.data,S=i[k.workerId],L=!1;if(k.error)S.userError(k.error,k.file);else if(k.results&&k.results.data){var F={abort:function(){L=!0,x(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:C,resume:C};if(D(S.userStep)){for(var Y=0;Yt.text()).then(t=>{const{data:e}=Qb.parse(t,{header:!0});console.log("Recovered data"),console.log(e),this.faqs=e}).catch(t=>{console.error("Error loading FAQs:",t)})},parseMultiline(t){return t.replace(/\n/g,"
")}}},cp=t=>(Fs("data-v-3cb88319"),t=t(),Bs(),t),Xb={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},ey={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},ty=cp(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),ny={class:"list-disc pl-4"},sy={class:"text-xl font-bold mb-1"},oy=["innerHTML"],ry=cp(()=>d("div",null,[d("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),d("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to us."),d("p",null,[ke("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),iy={class:"mt-8"},ay=To('

Credits

This project is developed by ParisNeo With help from the community.

Check out the full list of developers here and show them some love.

',3),ly=["href"];function cy(t,e,n,s,o,r){return O(),R("div",Xb,[d("div",ey,[ty,d("ul",ny,[(O(!0),R(Be,null,rt(o.faqs,(i,a)=>(O(),R("li",{key:a},[d("h3",sy,ne(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,oy)]))),128))])]),ry,d("div",iy,[ay,d("p",null,[ke("Check out the project on "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,ly),ke(".")])])])}const uy=Ke(Jb,[["render",cy],["__scopeId","data-v-3cb88319"]]);function zt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&re=>{const n=dy.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),cn=t=>(t=t.toLowerCase(),e=>Yr(e)===t),Qr=t=>e=>typeof e===t,{isArray:zs}=Array,vo=Qr("undefined");function fy(t){return t!==null&&!vo(t)&&t.constructor!==null&&!vo(t.constructor)&&rn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const dp=cn("ArrayBuffer");function hy(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&dp(t.buffer),e}const py=Qr("string"),rn=Qr("function"),fp=Qr("number"),ql=t=>t!==null&&typeof t=="object",gy=t=>t===!0||t===!1,or=t=>{if(Yr(t)!=="object")return!1;const e=$l(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},my=cn("Date"),_y=cn("File"),by=cn("Blob"),yy=cn("FileList"),vy=t=>ql(t)&&rn(t.pipe),wy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||rn(t.append)&&((e=Yr(t))==="formdata"||e==="object"&&rn(t.toString)&&t.toString()==="[object FormData]"))},xy=cn("URLSearchParams"),ky=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),zs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const pp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),gp=t=>!vo(t)&&t!==pp;function Wa(){const{caseless:t}=gp(this)&&this||{},e={},n=(s,o)=>{const r=t&&hp(e,o)||o;or(e[r])&&or(s)?e[r]=Wa(e[r],s):or(s)?e[r]=Wa({},s):zs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Oo(e,(o,r)=>{n&&rn(o)?t[r]=up(o,n):t[r]=o},{allOwnKeys:s}),t),Cy=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ay=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Sy=(t,e,n,s)=>{let o,r,i;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),r=o.length;r-- >0;)i=o[r],(!s||s(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&$l(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Ty=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},Oy=t=>{if(!t)return null;if(zs(t))return t;let e=t.length;if(!fp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},My=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&$l(Uint8Array)),Ry=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=s.next())&&!o.done;){const r=o.value;e.call(t,r[0],r[1])}},Ny=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Dy=cn("HTMLFormElement"),Ly=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),xu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Iy=cn("RegExp"),mp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Oo(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},Py=t=>{mp(t,(e,n)=>{if(rn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(rn(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Fy=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return zs(t)?s(t):s(String(t).split(e)),n},By=()=>{},jy=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Oi="abcdefghijklmnopqrstuvwxyz",ku="0123456789",_p={DIGIT:ku,ALPHA:Oi,ALPHA_DIGIT:Oi+Oi.toUpperCase()+ku},zy=(t=16,e=_p.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function $y(t){return!!(t&&rn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const qy=t=>{const e=new Array(10),n=(s,o)=>{if(ql(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=zs(s)?[]:{};return Oo(s,(i,a)=>{const l=n(i,o+1);!vo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},G={isArray:zs,isArrayBuffer:dp,isBuffer:fy,isFormData:wy,isArrayBufferView:hy,isString:py,isNumber:fp,isBoolean:gy,isObject:ql,isPlainObject:or,isUndefined:vo,isDate:my,isFile:_y,isBlob:by,isRegExp:Iy,isFunction:rn,isStream:vy,isURLSearchParams:xy,isTypedArray:My,isFileList:yy,forEach:Oo,merge:Wa,extend:Ey,trim:ky,stripBOM:Cy,inherits:Ay,toFlatObject:Sy,kindOf:Yr,kindOfTest:cn,endsWith:Ty,toArray:Oy,forEachEntry:Ry,matchAll:Ny,isHTMLForm:Dy,hasOwnProperty:xu,hasOwnProp:xu,reduceDescriptors:mp,freezeMethods:Py,toObjectSet:Fy,toCamelCase:Ly,noop:By,toFiniteNumber:jy,findKey:hp,global:pp,isContextDefined:gp,ALPHABET:_p,generateString:zy,isSpecCompliantForm:$y,toJSONObject:qy};function Pe(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}G.inherits(Pe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const bp=Pe.prototype,yp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{yp[t]={value:t}});Object.defineProperties(Pe,yp);Object.defineProperty(bp,"isAxiosError",{value:!0});Pe.from=(t,e,n,s,o,r)=>{const i=Object.create(bp);return G.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Pe.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const Uy=null;function Za(t){return G.isPlainObject(t)||G.isArray(t)}function vp(t){return G.endsWith(t,"[]")?t.slice(0,-2):t}function Eu(t,e,n){return t?t.concat(e).map(function(o,r){return o=vp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function Hy(t){return G.isArray(t)&&!t.some(Za)}const Vy=G.toFlatObject(G,{},null,function(e){return/^is[A-Z]/.test(e)});function Jr(t,e,n){if(!G.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=G.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!G.isUndefined(v[m])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(e);if(!G.isFunction(o))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(G.isDate(p))return p.toISOString();if(!l&&G.isBlob(p))throw new Pe("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(p)||G.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,v){let _=p;if(p&&!v&&typeof p=="object"){if(G.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(G.isArray(p)&&Hy(p)||(G.isFileList(p)||G.endsWith(m,"[]"))&&(_=G.toArray(p)))return m=vp(m),_.forEach(function(x,C){!(G.isUndefined(x)||x===null)&&e.append(i===!0?Eu([m],C,r):i===null?m:m+"[]",c(x))}),!1}return Za(p)?!0:(e.append(Eu(v,m,r),c(p)),!1)}const f=[],h=Object.assign(Vy,{defaultVisitor:u,convertValue:c,isVisitable:Za});function g(p,m){if(!G.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),G.forEach(p,function(_,b){(!(G.isUndefined(_)||_===null)&&o.call(e,_,G.isString(b)?b.trim():b,m,h))===!0&&g(_,m?m.concat(b):[b])}),f.pop()}}if(!G.isObject(t))throw new TypeError("data must be an object");return g(t),e}function Cu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Ul(t,e){this._pairs=[],t&&Jr(t,this,e)}const wp=Ul.prototype;wp.append=function(e,n){this._pairs.push([e,n])};wp.toString=function(e){const n=e?function(s){return e.call(this,s,Cu)}:Cu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Gy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function xp(t,e,n){if(!e)return t;const s=n&&n.encode||Gy,o=n&&n.serialize;let r;if(o?r=o(e,n):r=G.isURLSearchParams(e)?e.toString():new Ul(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class Ky{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){G.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Au=Ky,kp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wy=typeof URLSearchParams<"u"?URLSearchParams:Ul,Zy=typeof FormData<"u"?FormData:null,Yy=typeof Blob<"u"?Blob:null,Qy=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Jy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),$t={isBrowser:!0,classes:{URLSearchParams:Wy,FormData:Zy,Blob:Yy},isStandardBrowserEnv:Qy,isStandardBrowserWebWorkerEnv:Jy,protocols:["http","https","file","blob","url","data"]};function Xy(t,e){return Jr(t,new $t.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return $t.isNode&&G.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function ev(t){return G.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function tv(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&G.isArray(o)?o.length:i,l?(G.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!G.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&G.isArray(o[i])&&(o[i]=tv(o[i])),!a)}if(G.isFormData(t)&&G.isFunction(t.entries)){const n={};return G.forEachEntry(t,(s,o)=>{e(ev(s),o,n,0)}),n}return null}const nv={"Content-Type":void 0};function sv(t,e,n){if(G.isString(t))try{return(e||JSON.parse)(t),G.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const Xr={transitional:kp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=G.isObject(e);if(r&&G.isHTMLForm(e)&&(e=new FormData(e)),G.isFormData(e))return o&&o?JSON.stringify(Ep(e)):e;if(G.isArrayBuffer(e)||G.isBuffer(e)||G.isStream(e)||G.isFile(e)||G.isBlob(e))return e;if(G.isArrayBufferView(e))return e.buffer;if(G.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Xy(e,this.formSerializer).toString();if((a=G.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Jr(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),sv(e)):e}],transformResponse:[function(e){const n=this.transitional||Xr.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&G.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?Pe.from(a,Pe.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};G.forEach(["delete","get","head"],function(e){Xr.headers[e]={}});G.forEach(["post","put","patch"],function(e){Xr.headers[e]=G.merge(nv)});const Hl=Xr,ov=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rv=t=>{const e={};let n,s,o;return t&&t.split(` -`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||e[n]&&ov[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Su=Symbol("internals");function Ks(t){return t&&String(t).trim().toLowerCase()}function rr(t){return t===!1||t==null?t:G.isArray(t)?t.map(rr):String(t)}function iv(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const av=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Mi(t,e,n,s,o){if(G.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!G.isString(e)){if(G.isString(s))return e.indexOf(s)!==-1;if(G.isRegExp(s))return s.test(e)}}function lv(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function cv(t,e){const n=G.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(o,r,i){return this[s].call(this,e,o,r,i)},configurable:!0})})}class ei{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const u=Ks(l);if(!u)throw new Error("header name must be a non-empty string");const f=G.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=rr(a))}const i=(a,l)=>G.forEach(a,(c,u)=>r(c,u,l));return G.isPlainObject(e)||e instanceof this.constructor?i(e,n):G.isString(e)&&(e=e.trim())&&!av(e)?i(rv(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Ks(e),e){const s=G.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return iv(o);if(G.isFunction(n))return n.call(this,o,s);if(G.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Ks(e),e){const s=G.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Mi(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Ks(i),i){const a=G.findKey(s,i);a&&(!n||Mi(s,s[a],a,n))&&(delete s[a],o=!0)}}return G.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!e||Mi(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return G.forEach(this,(o,r)=>{const i=G.findKey(s,r);if(i){n[i]=rr(o),delete n[r];return}const a=e?lv(r):String(r).trim();a!==r&&delete n[r],n[a]=rr(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return G.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&G.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[Su]=this[Su]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Ks(i);s[a]||(cv(o,i),s[a]=!0)}return G.isArray(e)?e.forEach(r):r(e),this}}ei.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.freezeMethods(ei.prototype);G.freezeMethods(ei);const nn=ei;function Ri(t,e){const n=this||Hl,s=e||n,o=nn.from(s.headers);let r=s.data;return G.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function Cp(t){return!!(t&&t.__CANCEL__)}function Mo(t,e,n){Pe.call(this,t??"canceled",Pe.ERR_CANCELED,e,n),this.name="CanceledError"}G.inherits(Mo,Pe,{__CANCEL__:!0});function uv(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Pe("Request failed with status code "+n.status,[Pe.ERR_BAD_REQUEST,Pe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const dv=$t.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),G.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),G.isString(r)&&l.push("path="+r),G.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function fv(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function hv(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Ap(t,e){return t&&!fv(e)?hv(t,e):e}const pv=$t.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(i){const a=G.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function gv(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function mv(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];i||(i=c),n[o]=l,s[o]=c;let f=r,h=0;for(;f!==o;)h+=n[f++],f=f%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),c=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const _v=typeof XMLHttpRequest<"u",bv=_v&&function(t){return new Promise(function(n,s){let o=t.data;const r=nn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}G.isFormData(o)&&($t.isStandardBrowserEnv||$t.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+p))}const u=Ap(t.baseURL,t.url);c.open(t.method.toUpperCase(),xp(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function f(){if(!c)return;const g=nn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:t,request:c};uv(function(_){n(_),l()},function(_){s(_),l()},m),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(s(new Pe("Request aborted",Pe.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new Pe("Network Error",Pe.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let p=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||kp;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),s(new Pe(p,m.clarifyTimeoutError?Pe.ETIMEDOUT:Pe.ECONNABORTED,t,c)),c=null},$t.isStandardBrowserEnv){const g=(t.withCredentials||pv(u))&&t.xsrfCookieName&&dv.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&G.forEach(r.toJSON(),function(p,m){c.setRequestHeader(m,p)}),G.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",Tu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Tu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{c&&(s(!g||g.type?new Mo(null,t,c):g),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const h=gv(u);if(h&&$t.protocols.indexOf(h)===-1){s(new Pe("Unsupported protocol "+h+":",Pe.ERR_BAD_REQUEST,t));return}c.send(o||null)})},ir={http:Uy,xhr:bv};G.forEach(ir,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const yv={getAdapter:t=>{t=G.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof nn?t.toJSON():t;function Cs(t,e){e=e||{};const n={};function s(c,u,f){return G.isPlainObject(c)&&G.isPlainObject(u)?G.merge.call({caseless:f},c,u):G.isPlainObject(u)?G.merge({},u):G.isArray(u)?u.slice():u}function o(c,u,f){if(G.isUndefined(u)){if(!G.isUndefined(c))return s(void 0,c,f)}else return s(c,u,f)}function r(c,u){if(!G.isUndefined(u))return s(void 0,u)}function i(c,u){if(G.isUndefined(u)){if(!G.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,f){if(f in e)return s(c,u);if(f in t)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u)=>o(Mu(c),Mu(u),!0)};return G.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const f=l[u]||o,h=f(t[u],e[u],u);G.isUndefined(h)&&f!==a||(n[u]=h)}),n}const Sp="1.3.6",Vl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Vl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Ru={};Vl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+Sp+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new Pe(o(i," has been removed"+(n?" in "+n:"")),Pe.ERR_DEPRECATED);return n&&!Ru[i]&&(Ru[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,i,a):!0}};function vv(t,e,n){if(typeof t!="object")throw new Pe("options must be an object",Pe.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let o=s.length;for(;o-- >0;){const r=s[o],i=e[r];if(i){const a=t[r],l=a===void 0||i(a,r,t);if(l!==!0)throw new Pe("option "+r+" must be "+l,Pe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Pe("Unknown option "+r,Pe.ERR_BAD_OPTION)}}const Ya={assertOptions:vv,validators:Vl},hn=Ya.validators;class vr{constructor(e){this.defaults=e,this.interceptors={request:new Au,response:new Au}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Cs(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&Ya.assertOptions(s,{silentJSONParsing:hn.transitional(hn.boolean),forcedJSONParsing:hn.transitional(hn.boolean),clarifyTimeoutError:hn.transitional(hn.boolean)},!1),o!=null&&(G.isFunction(o)?n.paramsSerializer={serialize:o}:Ya.assertOptions(o,{encode:hn.function,serialize:hn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&G.merge(r.common,r[n.method]),i&&G.forEach(["delete","get","head","post","put","patch","common"],p=>{delete r[p]}),n.headers=nn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,h;if(!l){const p=[Ou.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),h=p.length,u=Promise.resolve(n);f{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Mo(r,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Gl(function(o){e=o}),cancel:e}}}const wv=Gl;function xv(t){return function(n){return t.apply(null,n)}}function kv(t){return G.isObject(t)&&t.isAxiosError===!0}const Qa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Qa).forEach(([t,e])=>{Qa[e]=t});const Ev=Qa;function Tp(t){const e=new ar(t),n=up(ar.prototype.request,e);return G.extend(n,ar.prototype,e,{allOwnKeys:!0}),G.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Tp(Cs(t,o))},n}const Xe=Tp(Hl);Xe.Axios=ar;Xe.CanceledError=Mo;Xe.CancelToken=wv;Xe.isCancel=Cp;Xe.VERSION=Sp;Xe.toFormData=Jr;Xe.AxiosError=Pe;Xe.Cancel=Xe.CanceledError;Xe.all=function(e){return Promise.all(e)};Xe.spread=xv;Xe.isAxiosError=kv;Xe.mergeConfig=Cs;Xe.AxiosHeaders=nn;Xe.formToJSON=t=>Ep(G.isHTMLForm(t)?new FormData(t):t);Xe.HttpStatusCode=Ev;Xe.default=Xe;const Ae=Xe,Cv={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},Av={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Sv={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},Tv={class:"text-lg font-medium"},Ov={class:"mt-4 flex justify-center"};function Mv(t,e,n,s,o,r){return o.show?(O(),R("div",Av,[d("div",Sv,[d("h3",Tv,ne(o.message),1),d("div",Ov,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):U("",!0)}const Rv=Ke(Cv,[["render",Mv]]),Nv={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},askQuestion(t,e,n){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=n||this.DenyButtonText,new Promise(s=>{this.message=t,this.show=!0,this.resolve=s})}}},Dv={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Lv={class:"relative w-full max-w-md max-h-full"},Iv={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Pv=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Fv=d("span",{class:"sr-only"},"Close modal",-1),Bv=[Pv,Fv],jv={class:"p-4 text-center"},zv=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),$v={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function qv(t,e,n,s,o,r){return o.show?(O(),R("div",Dv,[d("div",Lv,[d("div",Iv,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},Bv),d("div",jv,[zv,d("h3",$v,ne(o.message),1),d("button",{onClick:e[1]||(e[1]=i=>r.hide(!0)),type:"button",class:"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"},ne(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},ne(o.DenyButtonText),1)])])])])):U("",!0)}const Uv=Ke(Nv,[["render",qv]]);const Hv={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),ge(()=>{Ee.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),ge(()=>{Ee.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Tn=t=>(Fs("data-v-3ffdabf3"),t=t(),Bs(),t),Vv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},Gv={class:"flex flex-row items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},Kv={class:"flex flex-row flex-grow items-center"},Wv={key:0,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"},Zv=Tn(()=>d("i",{"data-feather":"check"},null,-1)),Yv=Tn(()=>d("span",{class:"sr-only"},"Check icon",-1)),Qv=[Zv,Yv],Jv={key:1,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"},Xv=Tn(()=>d("i",{"data-feather":"x"},null,-1)),e2=Tn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),t2=[Xv,e2],n2=["title"],s2={class:"flex"},o2=["onClick"],r2=Tn(()=>d("span",{class:"sr-only"},"Copy message",-1)),i2=Tn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),a2=[r2,i2],l2=["onClick"],c2=Tn(()=>d("span",{class:"sr-only"},"Close",-1)),u2=Tn(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),d2=[c2,u2];function f2(t,e,n,s,o,r){return O(),R("div",Vv,[Ce(jt,{name:"toastItem",tag:"div"},{default:Je(()=>[(O(!0),R(Be,null,rt(o.toastArr,i=>(O(),R("div",{key:i.id,class:"relative"},[d("div",Gv,[d("div",Kv,[hh(t.$slots,"default",{},()=>[i.success?(O(),R("div",Wv,Qv)):U("",!0),i.success?U("",!0):(O(),R("div",Jv,t2)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},ne(i.message),9,n2)],!0)]),d("div",s2,[d("button",{type:"button",onClick:ue(a=>r.copyToClipBoard(i.message),["stop"]),title:"Copy message",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},a2,8,o2),d("button",{type:"button",onClick:a=>r.close(i.id),title:"Close",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},d2,8,l2)])])]))),128))]),_:3})])}const ti=Ke(Hv,[["render",f2],["__scopeId","data-v-3ffdabf3"]]),Ja="/assets/default_model-9e24e852.png",h2={props:{title:String,icon:String,path:String,owner:String,owner_link:String,license:String,description:String,isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,fileSize:"",linkNotValid:!1}},async mounted(){this.fileSize=await this.getFileSize(this.model.path),ge(()=>{Ee.replace()})},methods:{computedFileSize(t){return zt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Ae.head(t);return e?e.headers["content-length"]?this.computedFileSize(e.headers["content-length"]):this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined":this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined"}catch(e){return console.log(e.message,"getFileSize"),this.linkNotValid=!0,"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Ja:this.icon},defaultImg(t){t.target.src=Ja},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):(this.installing=!0,this.onInstall(this))},toggleSelected(){this.onSelected(this)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){console.log("asdasdas"),this.$emit("copy","this.message.content")}},computed:{speed_computed(){return zt(this.speed)},total_size_computed(){return zt(this.total_size)},downloaded_size_computed(){return zt(this.downloaded_size)}},watch:{linkNotValid(){ge(()=>{Ee.replace()})}}},p2=["title"],g2={key:0,class:"flex flex-row"},m2={class:"flex gap-3 items-center grow"},_2=["src"],b2={class:"font-bold font-large text-lg truncate"},y2={key:1,class:"flex items-center flex-row gap-2 my-1"},v2={class:"flex grow items-center"},w2=d("i",{"data-feather":"box",class:"w-5"},null,-1),x2=d("span",{class:"sr-only"},"Custom model / local model",-1),k2=[w2,x2],E2=d("span",{class:"sr-only"},"Remove",-1),C2={key:2,class:"absolute z-10 -m-4 p-5 shadow-md text-center rounded-lg w-full h-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel bg-opacity-70 dark:bg-opacity-70 flex justify-center items-center"},A2={class:"relative flex flex-col items-center justify-center flex-grow h-full"},S2=d("div",{role:"status",class:"justify-center"},[d("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1),T2={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},O2={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},M2={class:"flex justify-between mb-1"},R2=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),N2={class:"text-sm font-medium text-blue-700 dark:text-white"},D2={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},L2={class:"flex justify-between mb-1"},I2={class:"text-base font-medium text-blue-700 dark:text-white"},P2={class:"text-sm font-medium text-blue-700 dark:text-white"},F2={class:"flex flex-grow"},B2={class:"flex flex-row flex-grow gap-3"},j2={class:"p-2 text-center grow"},z2={key:3},$2={class:"flex flex-row items-center gap-3"},q2=["src"],U2={class:"font-bold font-large text-lg truncate"},H2=d("div",{class:"grow"},null,-1),V2=d("div",{class:"flex-none gap-1"},null,-1),G2={class:"flex items-center flex-row-reverse gap-2 my-1"},K2=d("span",{class:"sr-only"},"Copy info",-1),W2={class:"flex flex-row items-center"},Z2={key:0,class:"text-base text-red-600 flex items-center mt-1"},Y2=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),Q2=d("span",{class:"sr-only"},"Click to install",-1),J2=d("span",{class:"sr-only"},"Remove",-1),X2=["title"],ew={class:""},tw={class:"flex flex-row items-center"},nw=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),sw=d("b",null,"Manual download: ",-1),ow=["href","title"],rw=d("div",{class:"grow"},null,-1),iw=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),aw=[iw],lw={class:"flex items-center"},cw=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),uw=d("b",null,"File size: ",-1),dw={class:"flex items-center"},fw=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),hw=d("b",null,"License: ",-1),pw={class:"flex items-center"},gw=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),mw=d("b",null,"Owner: ",-1),_w=["href"],bw=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),yw=["title"];function vw(t,e,n,s,o,r){return O(),R("div",{class:Me(["relative items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[11]||(e[11]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(O(),R("div",g2,[d("div",m2,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,_2),d("h3",b2,ne(n.title),1)])])):U("",!0),n.model.isCustomModel?(O(),R("div",y2,[d("div",v2,[d("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ue(()=>{},["stop"]))},k2),ke(" Custom model ")]),d("div",null,[n.model.isInstalled?(O(),R("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Uninstall "),E2])):U("",!0)])])):U("",!0),o.installing?(O(),R("div",C2,[d("div",A2,[S2,d("div",T2,[d("div",O2,[d("div",M2,[R2,d("span",N2,ne(Math.floor(o.progress))+"%",1)]),d("div",D2,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en({width:o.progress+"%"})},null,4)]),d("div",L2,[d("span",I2,"Download speed: "+ne(r.speed_computed)+"/s",1),d("span",P2,ne(r.downloaded_size_computed)+"/"+ne(r.total_size_computed),1)])])]),d("div",F2,[d("div",B2,[d("div",j2,[d("button",{onClick:e[3]||(e[3]=ue((...i)=>r.toggleCancelInstall&&r.toggleCancelInstall(...i),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):U("",!0),n.model.isCustomModel?U("",!0):(O(),R("div",z2,[d("div",$2,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Me(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,q2),d("h3",U2,ne(n.title),1),H2,V2]),d("div",G2,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=ue(i=>r.toggleCopy(),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Copy info "),K2]),d("div",W2,[o.linkNotValid?(O(),R("div",Z2,[Y2,ke(" Link is not valid ")])):U("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(O(),R("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Install "),Q2])):U("",!0),n.model.isInstalled?(O(),R("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Uninstall "),J2])):U("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",ew,[d("div",tw,[nw,sw,d("a",{href:n.path,onClick:e[8]||(e[8]=ue(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," Click here to download ",8,ow),rw,d("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[9]||(e[9]=ue(i=>r.toggleCopyLink(),["stop"]))},aw)]),d("div",lw,[d("div",{class:Me(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[cw,uw,ke(" "+ne(o.fileSize),1)],2)]),d("div",dw,[fw,hw,ke(" "+ne(n.license),1)]),d("div",pw,[gw,mw,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=ue(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},ne(n.owner),9,_w)])]),bw,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},ne(n.description),9,yw)],8,X2)]))],10,p2)}const ww=Ke(h2,[["render",vw]]),xw={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",personalityLanguage:"English",personalityCategory:"Category",disclaimer:"Disclaimer text",conditioningText:"Conditioning Text",aiPrefix:"AI Prefix",userPrefix:"User Prefix",antipromptsList:[{id:1,text:"Antiprompt 1"},{id:2,text:"Antiprompt 2"},{id:3,text:"Antiprompt 3"}]}},methods:{commitChanges(){console.log("Personality changes committed"),this.editMode=!1}}},kw={class:"p-4"},Ew={class:"flex items-center mb-4"},Cw=["src"],Aw={class:"text-lg font-semibold"},Sw=d("strong",null,"Author:",-1),Tw=d("strong",null,"Description:",-1),Ow=d("strong",null,"Language:",-1),Mw=d("strong",null,"Category:",-1),Rw={key:0},Nw=d("strong",null,"Disclaimer:",-1),Dw=d("strong",null,"Conditioning Text:",-1),Lw=d("strong",null,"AI Prefix:",-1),Iw=d("strong",null,"User Prefix:",-1),Pw=d("strong",null,"Antiprompts:",-1);function Fw(t,e,n,s,o,r){return O(),R("div",kw,[d("div",Ew,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Cw),d("h2",Aw,ne(o.personalityName),1)]),d("p",null,[Sw,ke(" "+ne(o.personalityAuthor),1)]),d("p",null,[Tw,ke(" "+ne(o.personalityDescription),1)]),d("p",null,[Ow,ke(" "+ne(o.personalityLanguage),1)]),d("p",null,[Mw,ke(" "+ne(o.personalityCategory),1)]),o.disclaimer?(O(),R("p",Rw,[Nw,ke(" "+ne(o.disclaimer),1)])):U("",!0),d("p",null,[Dw,ke(" "+ne(o.conditioningText),1)]),d("p",null,[Lw,ke(" "+ne(o.aiPrefix),1)]),d("p",null,[Iw,ke(" "+ne(o.userPrefix),1)]),d("div",null,[Pw,d("ul",null,[(O(!0),R(Be,null,rt(o.antipromptsList,i=>(O(),R("li",{key:i.id},ne(i.text),1))),128))])]),d("button",{onClick:e[0]||(e[0]=i=>o.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),o.editMode?(O(),R("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):U("",!0)])}const Bw=Ke(xw,[["render",Fw]]),Yn="/assets/logo-9d653710.svg",jw="/assets/default_user-17642e5a.svg",zw="/",$w={props:{personality:{},onSelected:Function,selected:Boolean,onMounted:Function,full_path:String,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,ge(()=>{Ee.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return zw+this.personality.avatar},defaultImg(t){t.target.src=Yn},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)}},watch:{selected(){ge(()=>{Ee.replace()})}}},qw=["title"],Uw={class:"flex flex-row items-center flex-shrink-0 gap-3"},Hw=["src"],Vw={class:"font-bold font-large text-lg line-clamp-3"},Gw={class:"flex items-center flex-row-reverse gap-2 my-1"},Kw=d("span",{class:"sr-only"},"Settings",-1),Ww=d("span",{class:"sr-only"},"Click to install",-1),Zw=d("span",{class:"sr-only"},"Remove",-1),Yw={class:""},Qw={class:""},Jw={class:"flex items-center"},Xw=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),ex=d("b",null,"Author: ",-1),tx={class:"flex items-center"},nx=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),sx=d("b",null,"Language: ",-1),ox={class:"flex items-center"},rx=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),ix=d("b",null,"Category: ",-1),ax=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),lx=["title"];function cx(t,e,n,s,o,r){return O(),R("div",{class:Me(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer active:scale-95 duration-75 select-none",r.selected_computed?"border-primary-light":"border-transparent"]),onClick:e[4]||(e[4]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Me(n.personality.installed?"":"opacity-50")},[d("div",Uw,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,Hw),d("h3",Vw,ne(n.personality.name),1)]),d("div",Gw,[r.selected_computed?(O(),R("button",{key:0,type:"button",title:"Settings",onClick:e[1]||(e[1]=ue((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Settings "),Kw])):U("",!0),o.isMounted?U("",!0):(O(),R("button",{key:1,title:"Mount personality",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Mount "),Ww])),o.isMounted?(O(),R("button",{key:2,title:"Unmount personality",type:"button",onClick:e[3]||(e[3]=ue((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Unmount "),Zw])):U("",!0)]),d("div",Yw,[d("div",Qw,[d("div",Jw,[Xw,ex,ke(" "+ne(n.personality.author),1)]),d("div",tx,[nx,sx,ke(" "+ne(n.personality.language),1)]),d("div",ox,[rx,ix,ke(" "+ne(n.personality.category),1)])]),ax,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},ne(n.personality.description),9,lx)])],2)],10,qw)}const Op=Ke($w,[["render",cx]]),ux="/",dx={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){ge(()=>{Ee.replace()})},methods:{getImgUrl(){return ux+this.binding.icon},defaultImg(t){t.target.src=Yn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){ge(()=>{Ee.replace()})}}},fx=["title"],hx={class:"flex flex-row items-center gap-3"},px=["src"],gx={class:"font-bold font-large text-lg truncate"},mx=d("div",{class:"grow"},null,-1),_x=d("div",{class:"flex-none gap-1"},null,-1),bx={class:"flex items-center flex-row-reverse gap-2 my-1"},yx=d("span",{class:"sr-only"},"Click to install",-1),vx=d("span",{class:"sr-only"},"Reinstall binding",-1),wx=d("span",{class:"sr-only"},"Settings",-1),xx={class:""},kx={class:""},Ex={class:"flex items-center"},Cx=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Ax=d("b",null,"Author: ",-1),Sx={class:"flex items-center"},Tx=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Ox=d("b",null,"Folder: ",-1),Mx={class:"flex items-center"},Rx=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Nx=d("b",null,"Version: ",-1),Dx={class:"flex items-center"},Lx=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),Ix=d("b",null,"Link: ",-1),Px=["href"],Fx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Bx=["title"];function jx(t,e,n,s,o,r){return O(),R("div",{class:Me(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[4]||(e[4]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",hx,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,px),d("h3",gx,ne(n.binding.name),1),mx,_x]),d("div",bx,[n.binding.installed?U("",!0):(O(),R("button",{key:0,title:"Click to install",type:"button",onClick:e[1]||(e[1]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Install "),yx])),n.binding.installed?(O(),R("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Reinstall binding "),vx])):U("",!0),n.selected?(O(),R("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[3]||(e[3]=ue((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Settings "),wx])):U("",!0)]),d("div",xx,[d("div",kx,[d("div",Ex,[Cx,Ax,ke(" "+ne(n.binding.author),1)]),d("div",Sx,[Tx,Ox,ke(" "+ne(n.binding.folder),1)]),d("div",Mx,[Rx,Nx,ke(" "+ne(n.binding.version),1)]),d("div",Dx,[Lx,Ix,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},ne(n.binding.link),9,Px)])]),Fx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},ne(n.binding.description),9,Bx)])])],10,fx)}const zx=Ke(dx,[["render",jx]]),Kt=Object.create(null);Kt.open="0";Kt.close="1";Kt.ping="2";Kt.pong="3";Kt.message="4";Kt.upgrade="5";Kt.noop="6";const lr=Object.create(null);Object.keys(Kt).forEach(t=>{lr[Kt[t]]=t});const $x={type:"error",data:"parser error"},qx=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Ux=typeof ArrayBuffer=="function",Hx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Mp=({type:t,data:e},n,s)=>qx&&e instanceof Blob?n?s(e):Nu(e,s):Ux&&(e instanceof ArrayBuffer||Hx(e))?n?s(e):Nu(new Blob([e]),s):s(Kt[t]+(e||"")),Nu=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Du="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Js=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),u=new Uint8Array(c);for(s=0;s>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return c},Gx=typeof ArrayBuffer=="function",Rp=(t,e)=>{if(typeof t!="string")return{type:"message",data:Np(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:Kx(t.substring(1),e)}:lr[n]?t.length>1?{type:lr[n],data:t.substring(1)}:{type:lr[n]}:$x},Kx=(t,e)=>{if(Gx){const n=Vx(t);return Np(n,e)}else return{base64:!0,data:t}},Np=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Dp=String.fromCharCode(30),Wx=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{Mp(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Dp))})})},Zx=(t,e)=>{const n=t.split(Dp),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Ip(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const Qx=vt.setTimeout,Jx=vt.clearTimeout;function ni(t,e){e.useNativeTimers?(t.setTimeoutFn=Qx.bind(vt),t.clearTimeoutFn=Jx.bind(vt)):(t.setTimeoutFn=vt.setTimeout.bind(vt),t.clearTimeoutFn=vt.clearTimeout.bind(vt))}const Xx=1.33;function ek(t){return typeof t=="string"?tk(t):Math.ceil((t.byteLength||t.size)*Xx)}function tk(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class nk extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Pp extends Ye{constructor(e){super(),this.writable=!1,ni(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new nk(e,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=Rp(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const Fp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Xa=64,sk={};let Lu=0,qo=0,Iu;function Pu(t){let e="";do e=Fp[t%Xa]+e,t=Math.floor(t/Xa);while(t>0);return e}function Bp(){const t=Pu(+new Date);return t!==Iu?(Lu=0,Iu=t):t+"."+Pu(Lu++)}for(;qo{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};Zx(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,Wx(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let s="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=Bp()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port);const o=jp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Ht(this.uri(),e)}doWrite(e,n){const s=this.request({method:"POST",data:e});s.on("success",n),s.on("error",(o,r)=>{this.onError("xhr post error",o,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=e}}class Ht extends Ye{constructor(e,n){super(),ni(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=Ip(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new $p(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let s in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(s)&&n.setRequestHeader(s,this.opts.extraHeaders[s])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(s){this.setTimeoutFn(()=>{this.onError(s)},0);return}typeof document<"u"&&(this.index=Ht.requestsCount++,Ht.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=ik,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Ht.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Ht.requestsCount=0;Ht.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Fu);else if(typeof addEventListener=="function"){const t="onpagehide"in vt?"pagehide":"unload";addEventListener(t,Fu,!1)}}function Fu(){for(let t in Ht.requests)Ht.requests.hasOwnProperty(t)&&Ht.requests[t].abort()}const qp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Uo=vt.WebSocket||vt.MozWebSocket,Bu=!0,ck="arraybuffer",ju=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class uk extends Pp{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,s=ju?{}:Ip(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=Bu&&!ju?n?new Uo(e,n):new Uo(e):new Uo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||ck,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const i={};try{Bu&&this.ws.send(r)}catch{}o&&qp(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let s="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=Bp()),this.supportsBinary||(e.b64=1);const o=jp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}check(){return!!Uo}}const dk={websocket:uk,polling:lk},fk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,hk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function el(t){const e=t,n=t.indexOf("["),s=t.indexOf("]");n!=-1&&s!=-1&&(t=t.substring(0,n)+t.substring(n,s).replace(/:/g,";")+t.substring(s,t.length));let o=fk.exec(t||""),r={},i=14;for(;i--;)r[hk[i]]=o[i]||"";return n!=-1&&s!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=pk(r,r.path),r.queryKey=gk(r,r.query),r}function pk(t,e){const n=/\/{2,9}/g,s=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function gk(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Up=class cs extends Ye{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=el(e),n.hostname=e.host,n.secure=e.protocol==="https"||e.protocol==="wss",n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=el(n.host).host),ni(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=ok(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Lp,n.transport=e,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new dk[e](s)}open(){let e;if(this.opts.rememberUpgrade&&cs.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(e){let n=this.createTransport(e),s=!1;cs.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!s)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;cs.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=f=>{const h=new Error("probe error: "+f);h.transport=n.name,r(),this.emitReserved("upgradeError",h)};function a(){i("transport closed")}function l(){i("socket closed")}function c(f){n&&f.name!==n.name&&r()}const u=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",cs.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}onError(e){cs.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Hp=Object.prototype.toString,yk=typeof Blob=="function"||typeof Blob<"u"&&Hp.call(Blob)==="[object BlobConstructor]",vk=typeof File=="function"||typeof File<"u"&&Hp.call(File)==="[object FileConstructor]";function Kl(t){return _k&&(t instanceof ArrayBuffer||bk(t))||yk&&t instanceof Blob||vk&&t instanceof File}function cr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n=0&&t.num{delete this.acks[e];for(let i=0;i{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:De.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case De.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case De.EVENT:case De.BINARY_EVENT:this.onevent(e);break;case De.ACK:case De.BINARY_ACK:this.onack(e);break;case De.DISCONNECT:this.ondisconnect();break;case De.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:De.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:De.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}$s.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=Math.floor(e*10)&1?t+n:t-n}return Math.min(t,this.max)|0};$s.prototype.reset=function(){this.attempts=0};$s.prototype.setMin=function(t){this.ms=t};$s.prototype.setMax=function(t){this.max=t};$s.prototype.setJitter=function(t){this.jitter=t};class sl extends Ye{constructor(e,n){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,ni(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new $s({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||Ak;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Up(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Mt(n,"open",function(){s.onopen(),e&&e()}),r=Mt(n,"error",i=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",i),e?e(i):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&o();const a=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(o),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Mt(e,"ping",this.onping.bind(this)),Mt(e,"data",this.ondata.bind(this)),Mt(e,"error",this.onerror.bind(this)),Mt(e,"close",this.onclose.bind(this)),Mt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){qp(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new Vp(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;se()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Ws={};function ur(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=mk(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Ws[o]&&r in Ws[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new sl(s,e):(Ws[o]||(Ws[o]=new sl(s,e)),l=Ws[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(ur,{Manager:sl,Socket:Vp,io:ur,connect:ur});const Tk=void 0,$e=new ur(Tk);$e.onopen=()=>{console.log("WebSocket connection established.")};$e.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};$e.onerror=t=>{console.error("WebSocket error:",t),$e.disconnect()};$e.on("connect",()=>{console.log("WebSocket connected (websocket)")});$e.on("disconnect",()=>{console.log("WebSocket disonnected (websocket)")});const Gp=Ih();Gp.config.globalProperties.$socket=$e;Gp.mount();const Ok={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(t=>{this.resolve=t})},hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},showDialog(t){return new Promise(e=>{this.model_path=t,this.show=!0,this.resolve=e})}}},Mk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Rk={class:"relative w-full max-w-md max-h-full"},Nk={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Dk=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Lk=d("span",{class:"sr-only"},"Close modal",-1),Ik=[Dk,Lk],Pk={class:"p-4 text-center"},Fk=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),Bk={class:"p-4 text-center mx-auto mb-4"},jk=d("label",{class:"mr-2"},"Model path",-1);function zk(t,e,n,s,o,r){return o.show?(O(),R("div",Mk,[d("div",Rk,[d("div",Nk,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},Ik),d("div",Pk,[Fk,d("div",Bk,[jk,Oe(d("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[je,o.model_path]])]),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),d("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):U("",!0)}const $k=Ke(Ok,[["render",zk]]),qk={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){ge(()=>{Ee.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){ge(()=>{Ee.replace()})}}},Uk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},Hk={class:"relative w-full max-w-md"},Vk={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},Gk={class:"flex flex-row flex-grow items-center m-2 p-1"},Kk={class:"grow flex items-center"},Wk=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),Zk={class:"text-lg font-semibold select-none mr-2"},Yk={class:"items-end"},Qk=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Jk=d("span",{class:"sr-only"},"Close form modal",-1),Xk=[Qk,Jk],eE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},tE={class:"px-2"},nE={key:0},sE={key:0},oE={class:"text-base font-semibold"},rE={key:0,class:"relative inline-flex"},iE=["onUpdate:modelValue"],aE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),lE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},cE=["onUpdate:modelValue"],uE={key:1},dE={class:"text-base font-semibold"},fE={key:0,class:"relative inline-flex"},hE=["onUpdate:modelValue"],pE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),gE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},mE=["onUpdate:modelValue"],_E=["value","selected"],bE={key:1},yE={class:"text-base font-semibold"},vE={key:0,class:"relative inline-flex"},wE=["onUpdate:modelValue"],xE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),kE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},EE=["onUpdate:modelValue"],CE=["onUpdate:modelValue","min","max"],AE={key:2},SE={class:"mb-2 relative flex items-center gap-2"},TE={for:"default-checkbox",class:"text-base font-semibold"},OE=["onUpdate:modelValue"],ME={key:0,class:"relative inline-flex"},RE=["onUpdate:modelValue"],NE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),DE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},LE={key:3},IE={class:"text-base font-semibold"},PE={key:0,class:"relative inline-flex"},FE=["onUpdate:modelValue"],BE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),jE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},zE=["onUpdate:modelValue"],$E=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),qE={class:"flex flex-row flex-grow gap-3"},UE={class:"p-2 text-center grow"};function HE(t,e,n,s,o,r){return o.show?(O(),R("div",Uk,[d("div",Hk,[d("div",Vk,[d("div",Gk,[d("div",Kk,[Wk,d("h3",Zk,ne(o.title),1)]),d("div",Yk,[d("button",{type:"button",onClick:e[0]||(e[0]=ue(i=>r.hide(!1),["stop"])),title:"Close",class:"bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},Xk)])]),d("div",eE,[(O(!0),R(Be,null,rt(o.controls_array,(i,a)=>(O(),R("div",tE,[i.type=="str"?(O(),R("div",nE,[i.options?U("",!0):(O(),R("div",sE,[d("label",{class:Me(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",oE,ne(i.name)+": ",1),i.help?(O(),R("label",rE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,iE),[[mn,i.isHelp]]),aE])):U("",!0)],2),i.isHelp?(O(),R("p",lE,ne(i.help),1)):U("",!0),Oe(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter string"},null,8,cE),[[je,i.value]])])),i.options?(O(),R("div",uE,[d("label",{class:Me(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",dE,ne(i.name)+": ",1),i.help?(O(),R("label",fE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,hE),[[mn,i.isHelp]]),pE])):U("",!0)],2),i.isHelp?(O(),R("p",gE,ne(i.help),1)):U("",!0),Oe(d("select",{"onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(O(!0),R(Be,null,rt(i.options,l=>(O(),R("option",{value:l,selected:i.value===l},ne(l),9,_E))),256))],8,mE),[[j1,i.value]])])):U("",!0)])):U("",!0),i.type=="int"||i.type=="float"?(O(),R("div",bE,[d("label",{class:Me(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",yE,ne(i.name)+": ",1),i.help?(O(),R("label",vE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,wE),[[mn,i.isHelp]]),xE])):U("",!0)],2),i.isHelp?(O(),R("p",kE,ne(i.help),1)):U("",!0),Oe(d("input",{type:"number","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter number"},null,8,EE),[[je,i.value]]),i.min!=null&&i.max!=null?Oe((O(),R("input",{key:1,type:"range","onUpdate:modelValue":l=>i.value=l,min:i.min,max:i.max,step:"0.1",class:"flex-none h-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,8,CE)),[[je,i.value]]):U("",!0)])):U("",!0),i.type=="bool"?(O(),R("div",AE,[d("div",SE,[d("label",TE,ne(i.name)+": ",1),Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.value=l,class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"},null,8,OE),[[mn,i.value]]),i.help?(O(),R("label",ME,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,RE),[[mn,i.isHelp]]),NE])):U("",!0)]),i.isHelp?(O(),R("p",DE,ne(i.help),1)):U("",!0)])):U("",!0),i.type=="list"?(O(),R("div",LE,[d("label",{class:Me(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",IE,ne(i.name)+": ",1),i.help?(O(),R("label",PE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,FE),[[mn,i.isHelp]]),BE])):U("",!0)],2),i.isHelp?(O(),R("p",jE,ne(i.help),1)):U("",!0),Oe(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter comma separated values"},null,8,zE),[[je,i.value]])])):U("",!0),$E]))),256)),d("div",qE,[d("div",UE,[d("button",{onClick:e[1]||(e[1]=ue(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},ne(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=ue(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},ne(o.DenyButtonText),1)])])])])])])):U("",!0)}const Kp=Ke(qk,[["render",HE]]);const VE="/";Ae.defaults.baseURL="/";const GE={components:{AddModelDialog:$k,MessageBox:Rv,YesNoDialog:Uv,ModelEntry:ww,PersonalityViewer:Bw,Toast:ti,PersonalityEntry:Op,BindingEntry:zx,UniversalForm:Kp},data(){return{addModelDialogVisibility:!1,modelPath:"",models:[],personalities:[],personalitiesFiltered:[],modelsFiltered:[],bindings:[],collapsedArr:[],all_collapsed:!0,bec_collapsed:!0,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,bindingsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{},showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,diskUsage:{},ramUsage:{},vramUsage:{},mountedPersArr:[],isMounted:!1,bUrl:VE,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){},methods:{async constructor(){this.isLoading=!0,ge(()=>{Ee.replace()}),this.configFile=await this.api_get_req("get_config");let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,this.configFile.model_name&&(this.isModelSelected=!0),this.fetchModels(),this.bindingsArr=await this.api_get_req("list_bindings"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.bindingsArr.sort((e,n)=>e.name.localeCompare(n.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),await this.getPersonalitiesArr(),this.bindings=await this.api_get_req("list_bindings"),this.bindings.sort((e,n)=>e.name.localeCompare(n.name)),this.isLoading=!1,this.diskUsage=await this.api_get_req("disk_usage"),this.ramUsage=await this.api_get_req("ram_usage"),this.vramUsage=await this.api_get_req("vram_usage"),this.getMountedPersonalities(),this.isMounted=!0},async progressListener(t){if(console.log("received something"),t.status==="progress"){if(this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(console.log("model entry",n),n.installing=!0,n.progress=t.progress,console.log(`Progress = ${t.progress}`),t.progress>=100&&(n.installing=!1,n.isInstalled=!0))}}else if(t.status==="succeeded"){if(console.log("Received succeeded"),console.log("Installed successfully"),this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!0)}this.$refs.toast.showToast(`Model: +*/(function(t,e){(function(n,s){t.exports=s()})(ip,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},o=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,i={},a=0,l={parse:function(w,k){var S=(k=k||{}).dynamicTyping||!1;if(N(S)&&(k.dynamicTypingFunction=S,S={}),k.dynamicTyping=S,k.transform=!!N(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var D=function(){if(!l.WORKERS_SUPPORTED)return!1;var W=(re=s.URL||s.webkitURL||null,V=n.toString(),l.BLOB_URL||(l.BLOB_URL=re.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",V,")();"],{type:"text/javascript"})))),R=new s.Worker(W),re,V;return R.onmessage=b,R.id=a++,i[R.id]=R}();return D.userStep=k.step,D.userChunk=k.chunk,D.userComplete=k.complete,D.userError=k.error,k.step=N(k.step),k.chunk=N(k.chunk),k.complete=N(k.complete),k.error=N(k.error),delete k.worker,void D.postMessage({input:w,config:k,workerId:D.id})}var P=null;return l.NODE_STREAM_INPUT,typeof w=="string"?(w=function(W){return W.charCodeAt(0)===65279?W.slice(1):W}(w),P=k.download?new f(k):new p(k)):w.readable===!0&&N(w.read)&&N(w.on)?P=new g(k):(s.File&&w instanceof File||w instanceof Object)&&(P=new h(k)),P.stream(w)},unparse:function(w,k){var S=!1,D=!0,P=",",W=`\r +`,R='"',re=R+R,V=!1,A=null,$=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(J){return k.delimiter.indexOf(J)!==-1}).length||(P=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(S=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(V=k.skipEmptyLines),typeof k.newline=="string"&&(W=k.newline),typeof k.quoteChar=="string"&&(R=k.quoteChar),typeof k.header=="boolean"&&(D=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");A=k.columns}k.escapeChar!==void 0&&(re=k.escapeChar+R),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&($=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var H=new RegExp(y(R),"g");if(typeof w=="string"&&(w=JSON.parse(w)),Array.isArray(w)){if(!w.length||Array.isArray(w[0]))return fe(null,w,V);if(typeof w[0]=="object")return fe(A||Object.keys(w[0]),w,V)}else if(typeof w=="object")return typeof w.data=="string"&&(w.data=JSON.parse(w.data)),Array.isArray(w.data)&&(w.fields||(w.fields=w.meta&&w.meta.fields||A),w.fields||(w.fields=Array.isArray(w.data[0])?w.fields:typeof w.data[0]=="object"?Object.keys(w.data[0]):[]),Array.isArray(w.data[0])||typeof w.data[0]=="object"||(w.data=[w.data])),fe(w.fields||[],w.data||[],V);throw new Error("Unable to serialize unrecognized input");function fe(J,_e,we){var I="";typeof J=="string"&&(J=JSON.parse(J)),typeof _e=="string"&&(_e=JSON.parse(_e));var Q=Array.isArray(J)&&0=this._config.preview;if(r)s.postMessage({results:W,workerId:l.WORKER_ID,finished:re});else if(N(this._config.chunk)&&!S){if(this._config.chunk(W,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);W=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(W.data),this._completeResults.errors=this._completeResults.errors.concat(W.errors),this._completeResults.meta=W.meta),this._completed||!re||!N(this._config.complete)||W&&W.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),re||W&&W.meta.paused||this._nextChunk(),W}this._halted=!0},this._sendError=function(k){N(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function f(w){var k;(w=w||{}).chunkSize||(w.chunkSize=l.RemoteChunkSize),c.call(this,w),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(S){this._input=S,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(k=new XMLHttpRequest,this._config.withCredentials&&(k.withCredentials=this._config.withCredentials),o||(k.onload=T(this._chunkLoaded,this),k.onerror=T(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var S=this._config.downloadRequestHeaders;for(var D in S)k.setRequestHeader(D,S[D])}if(this._config.chunkSize){var P=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+P)}try{k.send(this._config.downloadRequestBody)}catch(W){this._chunkError(W.message)}o&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(S){var D=S.getResponseHeader("Content-Range");return D===null?-1:parseInt(D.substring(D.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(S){var D=k.statusText||S;this._sendError(new Error(D))}}function h(w){var k,S;(w=w||{}).chunkSize||(w.chunkSize=l.LocalChunkSize),c.call(this,w);var D=typeof FileReader<"u";this.stream=function(P){this._input=P,S=P.slice||P.webkitSlice||P.mozSlice,D?((k=new FileReader).onload=T(this._chunkLoaded,this),k.onerror=T(this._chunkError,this)):k=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(P.target.result)},this._chunkError=function(){this._sendError(k.error)}}function p(w){var k;c.call(this,w=w||{}),this.stream=function(S){return k=S,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var S,D=this._config.chunkSize;return D?(S=k.substring(0,D),k=k.substring(D)):(S=k,k=""),this._finished=!k,this.parseChunk(S)}}}function g(w){c.call(this,w=w||{});var k=[],S=!0,D=!1;this.pause=function(){c.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){c.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(P){this._input=P,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){D&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):S=!0},this._streamData=T(function(P){try{k.push(typeof P=="string"?P:P.toString(this._config.encoding)),S&&(S=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(W){this._streamError(W)}},this),this._streamError=T(function(P){this._streamCleanUp(),this._sendError(P)},this),this._streamEnd=T(function(){this._streamCleanUp(),D=!0,this._streamData("")},this),this._streamCleanUp=T(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(w){var k,S,D,P=Math.pow(2,53),W=-P,R=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,re=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,V=this,A=0,$=0,H=!1,fe=!1,ge=[],J={data:[],errors:[],meta:{}};if(N(w.step)){var _e=w.step;w.step=function(X){if(J=X,Q())I();else{if(I(),J.data.length===0)return;A+=X.data.length,w.preview&&A>w.preview?S.abort():(J.data=J.data[0],_e(J,V))}}}function we(X){return w.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function I(){return J&&D&&(ee("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),D=!1),w.skipEmptyLines&&(J.data=J.data.filter(function(X){return!we(X)})),Q()&&function(){if(!J)return;function X(le,x){N(w.transformHeader)&&(le=w.transformHeader(le,x)),ge.push(le)}if(Array.isArray(J.data[0])){for(var he=0;Q()&&he=ge.length?"__parsed_extra":ge[C]),w.transform&&(j=w.transform(j,B)),j=G(B,j),B==="__parsed_extra"?(F[B]=F[B]||[],F[B].push(j)):F[B]=j}return w.header&&(C>ge.length?ee("FieldMismatch","TooManyFields","Too many fields: expected "+ge.length+" fields but parsed "+C,$+x):C=ie.length/2?`\r +`:"\r"}(X,x)),D=!1,w.delimiter)N(w.delimiter)&&(w.delimiter=w.delimiter(X),J.meta.delimiter=w.delimiter);else{var C=function(B,j,te,ie,z){var se,q,Y,ae;z=z||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var de=0;de=R)return Ue(!0)}else for(ce=A,A++;;){if((ce=H.indexOf(k,ce+1))===-1)return ge||ee.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:G.length,index:A}),xe();if(ce===J-1)return xe(H.substring(A,ce).replace(de,k));if(k!==V||H[ce+1]!==V){if(k===V||ce===0||H[ce-1]!==V){Y!==-1&&Y=R)return Ue(!0);break}ee.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:G.length,index:A}),ce++}}else ce++}return xe();function oe(Ze){G.push(Ze),he=A}function pe(Ze){var Qe=0;if(Ze!==-1){var ot=H.substring(ce+1,Ze);ot&&ot.trim()===""&&(Qe=ot.length)}return Qe}function xe(Ze){return ge||(Ze===void 0&&(Ze=H.substring(A)),X.push(Ze),A=J,oe(X),Q&&Ne()),Ue()}function Le(Ze){A=Ze,oe(X),X=[],ae=H.indexOf(D,A)}function Ue(Ze){return{data:G,errors:ee,meta:{delimiter:S,linebreak:D,aborted:$,truncated:!!Ze,cursor:he+(fe||0)}}}function Ne(){W(Ue()),G=[],ee=[]}},this.abort=function(){$=!0},this.getCharIndex=function(){return A}}function b(w){var k=w.data,S=i[k.workerId],D=!1;if(k.error)S.userError(k.error,k.file);else if(k.results&&k.results.data){var P={abort:function(){D=!0,v(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:E,resume:E};if(N(S.userStep)){for(var W=0;Wt.text()).then(t=>{const{data:e}=Jb.parse(t,{header:!0});console.log("Recovered data"),console.log(e),this.faqs=e}).catch(t=>{console.error("Error loading FAQs:",t)})},parseMultiline(t){return t.replace(/\n/g,"
")}}},up=t=>(Bs("data-v-3cb88319"),t=t(),js(),t),ey={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},ty={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},ny=up(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),sy={class:"list-disc pl-4"},oy={class:"text-xl font-bold mb-1"},ry=["innerHTML"],iy=up(()=>d("div",null,[d("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),d("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to us."),d("p",null,[ke("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),ay={class:"mt-8"},ly=Oo('

Credits

This project is developed by ParisNeo With help from the community.

Check out the full list of developers here and show them some love.

',3),cy=["href"];function uy(t,e,n,s,o,r){return O(),L("div",ey,[d("div",ty,[ny,d("ul",sy,[(O(!0),L(Be,null,rt(o.faqs,(i,a)=>(O(),L("li",{key:a},[d("h3",oy,ne(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,ry)]))),128))])]),iy,d("div",ay,[ly,d("p",null,[ke("Check out the project on "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,cy),ke(".")])])])}const dy=Ke(Xb,[["render",uy],["__scopeId","data-v-3cb88319"]]);function zt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&re=>{const n=fy.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),cn=t=>(t=t.toLowerCase(),e=>Qr(e)===t),Jr=t=>e=>typeof e===t,{isArray:$s}=Array,wo=Jr("undefined");function hy(t){return t!==null&&!wo(t)&&t.constructor!==null&&!wo(t.constructor)&&rn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const fp=cn("ArrayBuffer");function py(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&fp(t.buffer),e}const gy=Jr("string"),rn=Jr("function"),hp=Jr("number"),Ul=t=>t!==null&&typeof t=="object",my=t=>t===!0||t===!1,rr=t=>{if(Qr(t)!=="object")return!1;const e=ql(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},_y=cn("Date"),by=cn("File"),yy=cn("Blob"),vy=cn("FileList"),wy=t=>Ul(t)&&rn(t.pipe),xy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||rn(t.append)&&((e=Qr(t))==="formdata"||e==="object"&&rn(t.toString)&&t.toString()==="[object FormData]"))},ky=cn("URLSearchParams"),Ey=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Mo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),$s(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const gp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),mp=t=>!wo(t)&&t!==gp;function Za(){const{caseless:t}=mp(this)&&this||{},e={},n=(s,o)=>{const r=t&&pp(e,o)||o;rr(e[r])&&rr(s)?e[r]=Za(e[r],s):rr(s)?e[r]=Za({},s):$s(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Mo(e,(o,r)=>{n&&rn(o)?t[r]=dp(o,n):t[r]=o},{allOwnKeys:s}),t),Ay=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Sy=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Ty=(t,e,n,s)=>{let o,r,i;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),r=o.length;r-- >0;)i=o[r],(!s||s(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&ql(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Oy=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},My=t=>{if(!t)return null;if($s(t))return t;let e=t.length;if(!hp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Ry=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ql(Uint8Array)),Ny=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=s.next())&&!o.done;){const r=o.value;e.call(t,r[0],r[1])}},Dy=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Ly=cn("HTMLFormElement"),Iy=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),ku=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Py=cn("RegExp"),_p=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Mo(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},Fy=t=>{_p(t,(e,n)=>{if(rn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(rn(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},By=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return $s(t)?s(t):s(String(t).split(e)),n},jy=()=>{},zy=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Mi="abcdefghijklmnopqrstuvwxyz",Eu="0123456789",bp={DIGIT:Eu,ALPHA:Mi,ALPHA_DIGIT:Mi+Mi.toUpperCase()+Eu},$y=(t=16,e=bp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function qy(t){return!!(t&&rn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Uy=t=>{const e=new Array(10),n=(s,o)=>{if(Ul(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=$s(s)?[]:{};return Mo(s,(i,a)=>{const l=n(i,o+1);!wo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},K={isArray:$s,isArrayBuffer:fp,isBuffer:hy,isFormData:xy,isArrayBufferView:py,isString:gy,isNumber:hp,isBoolean:my,isObject:Ul,isPlainObject:rr,isUndefined:wo,isDate:_y,isFile:by,isBlob:yy,isRegExp:Py,isFunction:rn,isStream:wy,isURLSearchParams:ky,isTypedArray:Ry,isFileList:vy,forEach:Mo,merge:Za,extend:Cy,trim:Ey,stripBOM:Ay,inherits:Sy,toFlatObject:Ty,kindOf:Qr,kindOfTest:cn,endsWith:Oy,toArray:My,forEachEntry:Ny,matchAll:Dy,isHTMLForm:Ly,hasOwnProperty:ku,hasOwnProp:ku,reduceDescriptors:_p,freezeMethods:Fy,toObjectSet:By,toCamelCase:Iy,noop:jy,toFiniteNumber:zy,findKey:pp,global:gp,isContextDefined:mp,ALPHABET:bp,generateString:$y,isSpecCompliantForm:qy,toJSONObject:Uy};function Pe(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}K.inherits(Pe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const yp=Pe.prototype,vp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{vp[t]={value:t}});Object.defineProperties(Pe,vp);Object.defineProperty(yp,"isAxiosError",{value:!0});Pe.from=(t,e,n,s,o,r)=>{const i=Object.create(yp);return K.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Pe.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const Hy=null;function Ya(t){return K.isPlainObject(t)||K.isArray(t)}function wp(t){return K.endsWith(t,"[]")?t.slice(0,-2):t}function Cu(t,e,n){return t?t.concat(e).map(function(o,r){return o=wp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function Vy(t){return K.isArray(t)&&!t.some(Ya)}const Gy=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function Xr(t,e,n){if(!K.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,y){return!K.isUndefined(y[m])});const s=n.metaTokens,o=n.visitor||c,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(e);if(!K.isFunction(o))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(K.isDate(g))return g.toISOString();if(!l&&K.isBlob(g))throw new Pe("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(g)||K.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function c(g,m,y){let _=g;if(g&&!y&&typeof g=="object"){if(K.endsWith(m,"{}"))m=s?m:m.slice(0,-2),g=JSON.stringify(g);else if(K.isArray(g)&&Vy(g)||(K.isFileList(g)||K.endsWith(m,"[]"))&&(_=K.toArray(g)))return m=wp(m),_.forEach(function(v,E){!(K.isUndefined(v)||v===null)&&e.append(i===!0?Cu([m],E,r):i===null?m:m+"[]",u(v))}),!1}return Ya(g)?!0:(e.append(Cu(y,m,r),u(g)),!1)}const f=[],h=Object.assign(Gy,{defaultVisitor:c,convertValue:u,isVisitable:Ya});function p(g,m){if(!K.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(g),K.forEach(g,function(_,b){(!(K.isUndefined(_)||_===null)&&o.call(e,_,K.isString(b)?b.trim():b,m,h))===!0&&p(_,m?m.concat(b):[b])}),f.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Au(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Hl(t,e){this._pairs=[],t&&Xr(t,this,e)}const xp=Hl.prototype;xp.append=function(e,n){this._pairs.push([e,n])};xp.toString=function(e){const n=e?function(s){return e.call(this,s,Au)}:Au;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Ky(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function kp(t,e,n){if(!e)return t;const s=n&&n.encode||Ky,o=n&&n.serialize;let r;if(o?r=o(e,n):r=K.isURLSearchParams(e)?e.toString():new Hl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class Wy{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Su=Wy,Ep={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zy=typeof URLSearchParams<"u"?URLSearchParams:Hl,Yy=typeof FormData<"u"?FormData:null,Qy=typeof Blob<"u"?Blob:null,Jy=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Xy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),$t={isBrowser:!0,classes:{URLSearchParams:Zy,FormData:Yy,Blob:Qy},isStandardBrowserEnv:Jy,isStandardBrowserWebWorkerEnv:Xy,protocols:["http","https","file","blob","url","data"]};function ev(t,e){return Xr(t,new $t.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return $t.isNode&&K.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function tv(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function nv(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&K.isArray(o)?o.length:i,l?(K.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!K.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&K.isArray(o[i])&&(o[i]=nv(o[i])),!a)}if(K.isFormData(t)&&K.isFunction(t.entries)){const n={};return K.forEachEntry(t,(s,o)=>{e(tv(s),o,n,0)}),n}return null}const sv={"Content-Type":void 0};function ov(t,e,n){if(K.isString(t))try{return(e||JSON.parse)(t),K.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const ei={transitional:Ep,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=K.isObject(e);if(r&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return o&&o?JSON.stringify(Cp(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return ev(e,this.formSerializer).toString();if((a=K.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Xr(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),ov(e)):e}],transformResponse:[function(e){const n=this.transitional||ei.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&K.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?Pe.from(a,Pe.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};K.forEach(["delete","get","head"],function(e){ei.headers[e]={}});K.forEach(["post","put","patch"],function(e){ei.headers[e]=K.merge(sv)});const Vl=ei,rv=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),iv=t=>{const e={};let n,s,o;return t&&t.split(` +`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||e[n]&&rv[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Tu=Symbol("internals");function Ws(t){return t&&String(t).trim().toLowerCase()}function ir(t){return t===!1||t==null?t:K.isArray(t)?t.map(ir):String(t)}function av(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const lv=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ri(t,e,n,s,o){if(K.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!K.isString(e)){if(K.isString(s))return e.indexOf(s)!==-1;if(K.isRegExp(s))return s.test(e)}}function cv(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function uv(t,e){const n=K.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(o,r,i){return this[s].call(this,e,o,r,i)},configurable:!0})})}class ti{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,u){const c=Ws(l);if(!c)throw new Error("header name must be a non-empty string");const f=K.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=ir(a))}const i=(a,l)=>K.forEach(a,(u,c)=>r(u,c,l));return K.isPlainObject(e)||e instanceof this.constructor?i(e,n):K.isString(e)&&(e=e.trim())&&!lv(e)?i(iv(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Ws(e),e){const s=K.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return av(o);if(K.isFunction(n))return n.call(this,o,s);if(K.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Ws(e),e){const s=K.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Ri(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Ws(i),i){const a=K.findKey(s,i);a&&(!n||Ri(s,s[a],a,n))&&(delete s[a],o=!0)}}return K.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!e||Ri(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return K.forEach(this,(o,r)=>{const i=K.findKey(s,r);if(i){n[i]=ir(o),delete n[r];return}const a=e?cv(r):String(r).trim();a!==r&&delete n[r],n[a]=ir(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return K.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&K.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[Tu]=this[Tu]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Ws(i);s[a]||(uv(o,i),s[a]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}ti.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.freezeMethods(ti.prototype);K.freezeMethods(ti);const nn=ti;function Ni(t,e){const n=this||Vl,s=e||n,o=nn.from(s.headers);let r=s.data;return K.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function Ap(t){return!!(t&&t.__CANCEL__)}function Ro(t,e,n){Pe.call(this,t??"canceled",Pe.ERR_CANCELED,e,n),this.name="CanceledError"}K.inherits(Ro,Pe,{__CANCEL__:!0});function dv(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Pe("Request failed with status code "+n.status,[Pe.ERR_BAD_REQUEST,Pe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const fv=$t.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),K.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),K.isString(r)&&l.push("path="+r),K.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function hv(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function pv(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Sp(t,e){return t&&!hv(e)?pv(t,e):e}const gv=$t.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(i){const a=K.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function mv(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function _v(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=s[r];i||(i=u),n[o]=l,s[o]=u;let f=r,h=0;for(;f!==o;)h+=n[f++],f=f%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),u-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),u=r<=i;n=r;const c={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-r)/l:void 0,event:o};c[e?"download":"upload"]=!0,t(c)}}const bv=typeof XMLHttpRequest<"u",yv=bv&&function(t){return new Promise(function(n,s){let o=t.data;const r=nn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}K.isFormData(o)&&($t.isStandardBrowserEnv||$t.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let u=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(p+":"+g))}const c=Sp(t.baseURL,t.url);u.open(t.method.toUpperCase(),kp(c,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function f(){if(!u)return;const p=nn.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:p,config:t,request:u};dv(function(_){n(_),l()},function(_){s(_),l()},m),u=null}if("onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(f)},u.onabort=function(){u&&(s(new Pe("Request aborted",Pe.ECONNABORTED,t,u)),u=null)},u.onerror=function(){s(new Pe("Network Error",Pe.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||Ep;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),s(new Pe(g,m.clarifyTimeoutError?Pe.ETIMEDOUT:Pe.ECONNABORTED,t,u)),u=null},$t.isStandardBrowserEnv){const p=(t.withCredentials||gv(c))&&t.xsrfCookieName&&fv.read(t.xsrfCookieName);p&&r.set(t.xsrfHeaderName,p)}o===void 0&&r.setContentType(null),"setRequestHeader"in u&&K.forEach(r.toJSON(),function(g,m){u.setRequestHeader(m,g)}),K.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),i&&i!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",Ou(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Ou(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=p=>{u&&(s(!p||p.type?new Ro(null,t,u):p),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const h=mv(c);if(h&&$t.protocols.indexOf(h)===-1){s(new Pe("Unsupported protocol "+h+":",Pe.ERR_BAD_REQUEST,t));return}u.send(o||null)})},ar={http:Hy,xhr:yv};K.forEach(ar,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const vv={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof nn?t.toJSON():t;function As(t,e){e=e||{};const n={};function s(u,c,f){return K.isPlainObject(u)&&K.isPlainObject(c)?K.merge.call({caseless:f},u,c):K.isPlainObject(c)?K.merge({},c):K.isArray(c)?c.slice():c}function o(u,c,f){if(K.isUndefined(c)){if(!K.isUndefined(u))return s(void 0,u,f)}else return s(u,c,f)}function r(u,c){if(!K.isUndefined(c))return s(void 0,c)}function i(u,c){if(K.isUndefined(c)){if(!K.isUndefined(u))return s(void 0,u)}else return s(void 0,c)}function a(u,c,f){if(f in e)return s(u,c);if(f in t)return s(void 0,u)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,c)=>o(Ru(u),Ru(c),!0)};return K.forEach(Object.keys(t).concat(Object.keys(e)),function(c){const f=l[c]||o,h=f(t[c],e[c],c);K.isUndefined(h)&&f!==a||(n[c]=h)}),n}const Tp="1.3.6",Gl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Gl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Nu={};Gl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+Tp+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new Pe(o(i," has been removed"+(n?" in "+n:"")),Pe.ERR_DEPRECATED);return n&&!Nu[i]&&(Nu[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,i,a):!0}};function wv(t,e,n){if(typeof t!="object")throw new Pe("options must be an object",Pe.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let o=s.length;for(;o-- >0;){const r=s[o],i=e[r];if(i){const a=t[r],l=a===void 0||i(a,r,t);if(l!==!0)throw new Pe("option "+r+" must be "+l,Pe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Pe("Unknown option "+r,Pe.ERR_BAD_OPTION)}}const Qa={assertOptions:wv,validators:Gl},pn=Qa.validators;class wr{constructor(e){this.defaults=e,this.interceptors={request:new Su,response:new Su}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=As(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&Qa.assertOptions(s,{silentJSONParsing:pn.transitional(pn.boolean),forcedJSONParsing:pn.transitional(pn.boolean),clarifyTimeoutError:pn.transitional(pn.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:Qa.assertOptions(o,{encode:pn.function,serialize:pn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&K.merge(r.common,r[n.method]),i&&K.forEach(["delete","get","head","post","put","patch","common"],g=>{delete r[g]}),n.headers=nn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,f=0,h;if(!l){const g=[Mu.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,u),h=g.length,c=Promise.resolve(n);f{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Ro(r,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Kl(function(o){e=o}),cancel:e}}}const xv=Kl;function kv(t){return function(n){return t.apply(null,n)}}function Ev(t){return K.isObject(t)&&t.isAxiosError===!0}const Ja={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ja).forEach(([t,e])=>{Ja[e]=t});const Cv=Ja;function Op(t){const e=new lr(t),n=dp(lr.prototype.request,e);return K.extend(n,lr.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Op(As(t,o))},n}const Xe=Op(Vl);Xe.Axios=lr;Xe.CanceledError=Ro;Xe.CancelToken=xv;Xe.isCancel=Ap;Xe.VERSION=Tp;Xe.toFormData=Xr;Xe.AxiosError=Pe;Xe.Cancel=Xe.CanceledError;Xe.all=function(e){return Promise.all(e)};Xe.spread=kv;Xe.isAxiosError=Ev;Xe.mergeConfig=As;Xe.AxiosHeaders=nn;Xe.formToJSON=t=>Cp(K.isHTMLForm(t)?new FormData(t):t);Xe.HttpStatusCode=Cv;Xe.default=Xe;const Ae=Xe,Av={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},Sv={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Tv={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},Ov={class:"text-lg font-medium"},Mv={class:"mt-4 flex justify-center"};function Rv(t,e,n,s,o,r){return o.show?(O(),L("div",Sv,[d("div",Tv,[d("h3",Ov,ne(o.message),1),d("div",Mv,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):U("",!0)}const Nv=Ke(Av,[["render",Rv]]),Dv={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},askQuestion(t,e,n){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=n||this.DenyButtonText,new Promise(s=>{this.message=t,this.show=!0,this.resolve=s})}}},Lv={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Iv={class:"relative w-full max-w-md max-h-full"},Pv={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Fv=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Bv=d("span",{class:"sr-only"},"Close modal",-1),jv=[Fv,Bv],zv={class:"p-4 text-center"},$v=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),qv={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function Uv(t,e,n,s,o,r){return o.show?(O(),L("div",Lv,[d("div",Iv,[d("div",Pv,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},jv),d("div",zv,[$v,d("h3",qv,ne(o.message),1),d("button",{onClick:e[1]||(e[1]=i=>r.hide(!0)),type:"button",class:"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"},ne(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},ne(o.DenyButtonText),1)])])])])):U("",!0)}const Hv=Ke(Dv,[["render",Uv]]);const Vv={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),me(()=>{Ee.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),me(()=>{Ee.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Mn=t=>(Bs("data-v-3ffdabf3"),t=t(),js(),t),Gv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},Kv={class:"flex flex-row items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},Wv={class:"flex flex-row flex-grow items-center"},Zv={key:0,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"},Yv=Mn(()=>d("i",{"data-feather":"check"},null,-1)),Qv=Mn(()=>d("span",{class:"sr-only"},"Check icon",-1)),Jv=[Yv,Qv],Xv={key:1,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"},e2=Mn(()=>d("i",{"data-feather":"x"},null,-1)),t2=Mn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),n2=[e2,t2],s2=["title"],o2={class:"flex"},r2=["onClick"],i2=Mn(()=>d("span",{class:"sr-only"},"Copy message",-1)),a2=Mn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),l2=[i2,a2],c2=["onClick"],u2=Mn(()=>d("span",{class:"sr-only"},"Close",-1)),d2=Mn(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),f2=[u2,d2];function h2(t,e,n,s,o,r){return O(),L("div",Gv,[Ce(jt,{name:"toastItem",tag:"div"},{default:Je(()=>[(O(!0),L(Be,null,rt(o.toastArr,i=>(O(),L("div",{key:i.id,class:"relative"},[d("div",Kv,[d("div",Wv,[ph(t.$slots,"default",{},()=>[i.success?(O(),L("div",Zv,Jv)):U("",!0),i.success?U("",!0):(O(),L("div",Xv,n2)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},ne(i.message),9,s2)],!0)]),d("div",o2,[d("button",{type:"button",onClick:ue(a=>r.copyToClipBoard(i.message),["stop"]),title:"Copy message",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},l2,8,r2),d("button",{type:"button",onClick:a=>r.close(i.id),title:"Close",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},f2,8,c2)])])]))),128))]),_:3})])}const ni=Ke(Vv,[["render",h2],["__scopeId","data-v-3ffdabf3"]]),Xa="/assets/default_model-9e24e852.png",p2={props:{title:String,icon:String,path:String,owner:String,owner_link:String,license:String,description:String,isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,fileSize:"",linkNotValid:!1}},async mounted(){this.fileSize=await this.getFileSize(this.model.path),me(()=>{Ee.replace()})},methods:{computedFileSize(t){return zt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Ae.head(t);return e?e.headers["content-length"]?this.computedFileSize(e.headers["content-length"]):this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined":this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined"}catch(e){return console.log(e.message,"getFileSize"),this.linkNotValid=!0,"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Xa:this.icon},defaultImg(t){t.target.src=Xa},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):(this.installing=!0,this.onInstall(this))},toggleSelected(){this.onSelected(this)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){console.log("asdasdas"),this.$emit("copy","this.message.content")}},computed:{speed_computed(){return zt(this.speed)},total_size_computed(){return zt(this.total_size)},downloaded_size_computed(){return zt(this.downloaded_size)}},watch:{linkNotValid(){me(()=>{Ee.replace()})}}},g2=["title"],m2={key:0,class:"flex flex-row"},_2={class:"flex gap-3 items-center grow"},b2=["src"],y2={class:"font-bold font-large text-lg truncate"},v2={key:1,class:"flex items-center flex-row gap-2 my-1"},w2={class:"flex grow items-center"},x2=d("i",{"data-feather":"box",class:"w-5"},null,-1),k2=d("span",{class:"sr-only"},"Custom model / local model",-1),E2=[x2,k2],C2=d("span",{class:"sr-only"},"Remove",-1),A2={key:2,class:"absolute z-10 -m-4 p-5 shadow-md text-center rounded-lg w-full h-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel bg-opacity-70 dark:bg-opacity-70 flex justify-center items-center"},S2={class:"relative flex flex-col items-center justify-center flex-grow h-full"},T2=d("div",{role:"status",class:"justify-center"},[d("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1),O2={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},M2={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},R2={class:"flex justify-between mb-1"},N2=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),D2={class:"text-sm font-medium text-blue-700 dark:text-white"},L2={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},I2={class:"flex justify-between mb-1"},P2={class:"text-base font-medium text-blue-700 dark:text-white"},F2={class:"text-sm font-medium text-blue-700 dark:text-white"},B2={class:"flex flex-grow"},j2={class:"flex flex-row flex-grow gap-3"},z2={class:"p-2 text-center grow"},$2={key:3},q2={class:"flex flex-row items-center gap-3"},U2=["src"],H2={class:"font-bold font-large text-lg truncate"},V2=d("div",{class:"grow"},null,-1),G2=d("div",{class:"flex-none gap-1"},null,-1),K2={class:"flex items-center flex-row-reverse gap-2 my-1"},W2=d("span",{class:"sr-only"},"Copy info",-1),Z2={class:"flex flex-row items-center"},Y2={key:0,class:"text-base text-red-600 flex items-center mt-1"},Q2=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),J2=d("span",{class:"sr-only"},"Click to install",-1),X2=d("span",{class:"sr-only"},"Remove",-1),ew=["title"],tw={class:""},nw={class:"flex flex-row items-center"},sw=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),ow=d("b",null,"Manual download: ",-1),rw=["href","title"],iw=d("div",{class:"grow"},null,-1),aw=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),lw=[aw],cw={class:"flex items-center"},uw=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),dw=d("b",null,"File size: ",-1),fw={class:"flex items-center"},hw=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),pw=d("b",null,"License: ",-1),gw={class:"flex items-center"},mw=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),_w=d("b",null,"Owner: ",-1),bw=["href"],yw=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),vw=["title"];function ww(t,e,n,s,o,r){return O(),L("div",{class:Me(["relative items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[11]||(e[11]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(O(),L("div",m2,[d("div",_2,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,b2),d("h3",y2,ne(n.title),1)])])):U("",!0),n.model.isCustomModel?(O(),L("div",v2,[d("div",w2,[d("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ue(()=>{},["stop"]))},E2),ke(" Custom model ")]),d("div",null,[n.model.isInstalled?(O(),L("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Uninstall "),C2])):U("",!0)])])):U("",!0),o.installing?(O(),L("div",A2,[d("div",S2,[T2,d("div",O2,[d("div",M2,[d("div",R2,[N2,d("span",D2,ne(Math.floor(o.progress))+"%",1)]),d("div",L2,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en({width:o.progress+"%"})},null,4)]),d("div",I2,[d("span",P2,"Download speed: "+ne(r.speed_computed)+"/s",1),d("span",F2,ne(r.downloaded_size_computed)+"/"+ne(r.total_size_computed),1)])])]),d("div",B2,[d("div",j2,[d("div",z2,[d("button",{onClick:e[3]||(e[3]=ue((...i)=>r.toggleCancelInstall&&r.toggleCancelInstall(...i),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):U("",!0),n.model.isCustomModel?U("",!0):(O(),L("div",$2,[d("div",q2,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Me(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,U2),d("h3",H2,ne(n.title),1),V2,G2]),d("div",K2,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=ue(i=>r.toggleCopy(),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Copy info "),W2]),d("div",Z2,[o.linkNotValid?(O(),L("div",Y2,[Q2,ke(" Link is not valid ")])):U("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(O(),L("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Install "),J2])):U("",!0),n.model.isInstalled?(O(),L("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Uninstall "),X2])):U("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",tw,[d("div",nw,[sw,ow,d("a",{href:n.path,onClick:e[8]||(e[8]=ue(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," Click here to download ",8,rw),iw,d("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[9]||(e[9]=ue(i=>r.toggleCopyLink(),["stop"]))},lw)]),d("div",cw,[d("div",{class:Me(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[uw,dw,ke(" "+ne(o.fileSize),1)],2)]),d("div",fw,[hw,pw,ke(" "+ne(n.license),1)]),d("div",gw,[mw,_w,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=ue(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},ne(n.owner),9,bw)])]),yw,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},ne(n.description),9,vw)],8,ew)]))],10,g2)}const xw=Ke(p2,[["render",ww]]),kw={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",personalityLanguage:"English",personalityCategory:"Category",disclaimer:"Disclaimer text",conditioningText:"Conditioning Text",aiPrefix:"AI Prefix",userPrefix:"User Prefix",antipromptsList:[{id:1,text:"Antiprompt 1"},{id:2,text:"Antiprompt 2"},{id:3,text:"Antiprompt 3"}]}},methods:{commitChanges(){console.log("Personality changes committed"),this.editMode=!1}}},Ew={class:"p-4"},Cw={class:"flex items-center mb-4"},Aw=["src"],Sw={class:"text-lg font-semibold"},Tw=d("strong",null,"Author:",-1),Ow=d("strong",null,"Description:",-1),Mw=d("strong",null,"Language:",-1),Rw=d("strong",null,"Category:",-1),Nw={key:0},Dw=d("strong",null,"Disclaimer:",-1),Lw=d("strong",null,"Conditioning Text:",-1),Iw=d("strong",null,"AI Prefix:",-1),Pw=d("strong",null,"User Prefix:",-1),Fw=d("strong",null,"Antiprompts:",-1);function Bw(t,e,n,s,o,r){return O(),L("div",Ew,[d("div",Cw,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Aw),d("h2",Sw,ne(o.personalityName),1)]),d("p",null,[Tw,ke(" "+ne(o.personalityAuthor),1)]),d("p",null,[Ow,ke(" "+ne(o.personalityDescription),1)]),d("p",null,[Mw,ke(" "+ne(o.personalityLanguage),1)]),d("p",null,[Rw,ke(" "+ne(o.personalityCategory),1)]),o.disclaimer?(O(),L("p",Nw,[Dw,ke(" "+ne(o.disclaimer),1)])):U("",!0),d("p",null,[Lw,ke(" "+ne(o.conditioningText),1)]),d("p",null,[Iw,ke(" "+ne(o.aiPrefix),1)]),d("p",null,[Pw,ke(" "+ne(o.userPrefix),1)]),d("div",null,[Fw,d("ul",null,[(O(!0),L(Be,null,rt(o.antipromptsList,i=>(O(),L("li",{key:i.id},ne(i.text),1))),128))])]),d("button",{onClick:e[0]||(e[0]=i=>o.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),o.editMode?(O(),L("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):U("",!0)])}const jw=Ke(kw,[["render",Bw]]),Jn="/assets/logo-9d653710.svg",zw="/assets/default_user-17642e5a.svg",$w="/",qw={props:{personality:{},onSelected:Function,selected:Boolean,onMounted:Function,full_path:String,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,me(()=>{Ee.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return $w+this.personality.avatar},defaultImg(t){t.target.src=Jn},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)}},watch:{selected(){me(()=>{Ee.replace()})}}},Uw=["title"],Hw={class:"flex flex-row items-center flex-shrink-0 gap-3"},Vw=["src"],Gw={class:"font-bold font-large text-lg line-clamp-3"},Kw={class:"flex items-center flex-row-reverse gap-2 my-1"},Ww=d("span",{class:"sr-only"},"Settings",-1),Zw=d("span",{class:"sr-only"},"Click to install",-1),Yw=d("span",{class:"sr-only"},"Remove",-1),Qw={class:""},Jw={class:""},Xw={class:"flex items-center"},ex=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),tx=d("b",null,"Author: ",-1),nx={class:"flex items-center"},sx=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),ox=d("b",null,"Language: ",-1),rx={class:"flex items-center"},ix=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),ax=d("b",null,"Category: ",-1),lx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),cx=["title"];function ux(t,e,n,s,o,r){return O(),L("div",{class:Me(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer active:scale-95 duration-75 select-none",r.selected_computed?"border-primary-light":"border-transparent"]),onClick:e[4]||(e[4]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Me(n.personality.installed?"":"opacity-50")},[d("div",Hw,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,Vw),d("h3",Gw,ne(n.personality.name),1)]),d("div",Kw,[r.selected_computed?(O(),L("button",{key:0,type:"button",title:"Settings",onClick:e[1]||(e[1]=ue((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Settings "),Ww])):U("",!0),o.isMounted?U("",!0):(O(),L("button",{key:1,title:"Mount personality",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Mount "),Zw])),o.isMounted?(O(),L("button",{key:2,title:"Unmount personality",type:"button",onClick:e[3]||(e[3]=ue((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Unmount "),Yw])):U("",!0)]),d("div",Qw,[d("div",Jw,[d("div",Xw,[ex,tx,ke(" "+ne(n.personality.author),1)]),d("div",nx,[sx,ox,ke(" "+ne(n.personality.language),1)]),d("div",rx,[ix,ax,ke(" "+ne(n.personality.category),1)])]),lx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},ne(n.personality.description),9,cx)])],2)],10,Uw)}const Mp=Ke(qw,[["render",ux]]),dx="/",fx={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){me(()=>{Ee.replace()})},methods:{getImgUrl(){return dx+this.binding.icon},defaultImg(t){t.target.src=Jn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){me(()=>{Ee.replace()})}}},hx=["title"],px={class:"flex flex-row items-center gap-3"},gx=["src"],mx={class:"font-bold font-large text-lg truncate"},_x=d("div",{class:"grow"},null,-1),bx=d("div",{class:"flex-none gap-1"},null,-1),yx={class:"flex items-center flex-row-reverse gap-2 my-1"},vx=d("span",{class:"sr-only"},"Click to install",-1),wx=d("span",{class:"sr-only"},"Reinstall binding",-1),xx=d("span",{class:"sr-only"},"Settings",-1),kx={class:""},Ex={class:""},Cx={class:"flex items-center"},Ax=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Sx=d("b",null,"Author: ",-1),Tx={class:"flex items-center"},Ox=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Mx=d("b",null,"Folder: ",-1),Rx={class:"flex items-center"},Nx=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Dx=d("b",null,"Version: ",-1),Lx={class:"flex items-center"},Ix=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),Px=d("b",null,"Link: ",-1),Fx=["href"],Bx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),jx=["title"];function zx(t,e,n,s,o,r){return O(),L("div",{class:Me(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[4]||(e[4]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",px,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,gx),d("h3",mx,ne(n.binding.name),1),_x,bx]),d("div",yx,[n.binding.installed?U("",!0):(O(),L("button",{key:0,title:"Click to install",type:"button",onClick:e[1]||(e[1]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Install "),vx])),n.binding.installed?(O(),L("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Reinstall binding "),wx])):U("",!0),n.selected?(O(),L("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[3]||(e[3]=ue((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Settings "),xx])):U("",!0)]),d("div",kx,[d("div",Ex,[d("div",Cx,[Ax,Sx,ke(" "+ne(n.binding.author),1)]),d("div",Tx,[Ox,Mx,ke(" "+ne(n.binding.folder),1)]),d("div",Rx,[Nx,Dx,ke(" "+ne(n.binding.version),1)]),d("div",Lx,[Ix,Px,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},ne(n.binding.link),9,Fx)])]),Bx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},ne(n.binding.description),9,jx)])])],10,hx)}const $x=Ke(fx,[["render",zx]]),Kt=Object.create(null);Kt.open="0";Kt.close="1";Kt.ping="2";Kt.pong="3";Kt.message="4";Kt.upgrade="5";Kt.noop="6";const cr=Object.create(null);Object.keys(Kt).forEach(t=>{cr[Kt[t]]=t});const qx={type:"error",data:"parser error"},Ux=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Hx=typeof ArrayBuffer=="function",Vx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Rp=({type:t,data:e},n,s)=>Ux&&e instanceof Blob?n?s(e):Du(e,s):Hx&&(e instanceof ArrayBuffer||Vx(e))?n?s(e):Du(new Blob([e]),s):s(Kt[t]+(e||"")),Du=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Lu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const u=new ArrayBuffer(e),c=new Uint8Array(u);for(s=0;s>4,c[o++]=(i&15)<<4|a>>2,c[o++]=(a&3)<<6|l&63;return u},Kx=typeof ArrayBuffer=="function",Np=(t,e)=>{if(typeof t!="string")return{type:"message",data:Dp(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:Wx(t.substring(1),e)}:cr[n]?t.length>1?{type:cr[n],data:t.substring(1)}:{type:cr[n]}:qx},Wx=(t,e)=>{if(Kx){const n=Gx(t);return Dp(n,e)}else return{base64:!0,data:t}},Dp=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Lp=String.fromCharCode(30),Zx=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{Rp(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Lp))})})},Yx=(t,e)=>{const n=t.split(Lp),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Pp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const Jx=vt.setTimeout,Xx=vt.clearTimeout;function si(t,e){e.useNativeTimers?(t.setTimeoutFn=Jx.bind(vt),t.clearTimeoutFn=Xx.bind(vt)):(t.setTimeoutFn=vt.setTimeout.bind(vt),t.clearTimeoutFn=vt.clearTimeout.bind(vt))}const ek=1.33;function tk(t){return typeof t=="string"?nk(t):Math.ceil((t.byteLength||t.size)*ek)}function nk(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class sk extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Fp extends Ye{constructor(e){super(),this.writable=!1,si(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new sk(e,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=Np(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const Bp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),el=64,ok={};let Iu=0,Uo=0,Pu;function Fu(t){let e="";do e=Bp[t%el]+e,t=Math.floor(t/el);while(t>0);return e}function jp(){const t=Fu(+new Date);return t!==Pu?(Iu=0,Pu=t):t+"."+Fu(Iu++)}for(;Uo{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};Yx(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,Zx(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let s="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=jp()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port);const o=zp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Ht(this.uri(),e)}doWrite(e,n){const s=this.request({method:"POST",data:e});s.on("success",n),s.on("error",(o,r)=>{this.onError("xhr post error",o,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=e}}class Ht extends Ye{constructor(e,n){super(),si(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=Pp(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new qp(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let s in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(s)&&n.setRequestHeader(s,this.opts.extraHeaders[s])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(s){this.setTimeoutFn(()=>{this.onError(s)},0);return}typeof document<"u"&&(this.index=Ht.requestsCount++,Ht.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=ak,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Ht.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Ht.requestsCount=0;Ht.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Bu);else if(typeof addEventListener=="function"){const t="onpagehide"in vt?"pagehide":"unload";addEventListener(t,Bu,!1)}}function Bu(){for(let t in Ht.requests)Ht.requests.hasOwnProperty(t)&&Ht.requests[t].abort()}const Up=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Ho=vt.WebSocket||vt.MozWebSocket,ju=!0,uk="arraybuffer",zu=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class dk extends Fp{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,s=zu?{}:Pp(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=ju&&!zu?n?new Ho(e,n):new Ho(e):new Ho(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||uk,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const i={};try{ju&&this.ws.send(r)}catch{}o&&Up(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let s="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=jp()),this.supportsBinary||(e.b64=1);const o=zp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}check(){return!!Ho}}const fk={websocket:dk,polling:ck},hk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,pk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function tl(t){const e=t,n=t.indexOf("["),s=t.indexOf("]");n!=-1&&s!=-1&&(t=t.substring(0,n)+t.substring(n,s).replace(/:/g,";")+t.substring(s,t.length));let o=hk.exec(t||""),r={},i=14;for(;i--;)r[pk[i]]=o[i]||"";return n!=-1&&s!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=gk(r,r.path),r.queryKey=mk(r,r.query),r}function gk(t,e){const n=/\/{2,9}/g,s=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function mk(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Hp=class us extends Ye{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=tl(e),n.hostname=e.host,n.secure=e.protocol==="https"||e.protocol==="wss",n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=tl(n.host).host),si(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=rk(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Ip,n.transport=e,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new fk[e](s)}open(){let e;if(this.opts.rememberUpgrade&&us.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(e){let n=this.createTransport(e),s=!1;us.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!s)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;us.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function r(){s||(s=!0,c(),n.close(),n=null)}const i=f=>{const h=new Error("probe error: "+f);h.transport=n.name,r(),this.emitReserved("upgradeError",h)};function a(){i("transport closed")}function l(){i("socket closed")}function u(f){n&&f.name!==n.name&&r()}const c=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",u)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",us.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}onError(e){us.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Vp=Object.prototype.toString,vk=typeof Blob=="function"||typeof Blob<"u"&&Vp.call(Blob)==="[object BlobConstructor]",wk=typeof File=="function"||typeof File<"u"&&Vp.call(File)==="[object FileConstructor]";function Wl(t){return bk&&(t instanceof ArrayBuffer||yk(t))||vk&&t instanceof Blob||wk&&t instanceof File}function ur(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n=0&&t.num{delete this.acks[e];for(let i=0;i{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:De.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case De.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case De.EVENT:case De.BINARY_EVENT:this.onevent(e);break;case De.ACK:case De.BINARY_ACK:this.onack(e);break;case De.DISCONNECT:this.ondisconnect();break;case De.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:De.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:De.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}qs.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=Math.floor(e*10)&1?t+n:t-n}return Math.min(t,this.max)|0};qs.prototype.reset=function(){this.attempts=0};qs.prototype.setMin=function(t){this.ms=t};qs.prototype.setMax=function(t){this.max=t};qs.prototype.setJitter=function(t){this.jitter=t};class ol extends Ye{constructor(e,n){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,si(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new qs({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||Sk;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Hp(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Mt(n,"open",function(){s.onopen(),e&&e()}),r=Mt(n,"error",i=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",i),e?e(i):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&o();const a=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(o),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Mt(e,"ping",this.onping.bind(this)),Mt(e,"data",this.ondata.bind(this)),Mt(e,"error",this.onerror.bind(this)),Mt(e,"close",this.onclose.bind(this)),Mt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Up(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new Gp(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;se()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Zs={};function dr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=_k(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Zs[o]&&r in Zs[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new ol(s,e):(Zs[o]||(Zs[o]=new ol(s,e)),l=Zs[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(dr,{Manager:ol,Socket:Gp,io:dr,connect:dr});const Ok=void 0,$e=new dr(Ok);$e.onopen=()=>{console.log("WebSocket connection established.")};$e.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};$e.onerror=t=>{console.error("WebSocket error:",t),$e.disconnect()};$e.on("connect",()=>{console.log("WebSocket connected (websocket)")});$e.on("disconnect",()=>{console.log("WebSocket disonnected (websocket)")});const Kp=Ph();Kp.config.globalProperties.$socket=$e;Kp.mount();const Mk={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(t=>{this.resolve=t})},hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},showDialog(t){return new Promise(e=>{this.model_path=t,this.show=!0,this.resolve=e})}}},Rk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Nk={class:"relative w-full max-w-md max-h-full"},Dk={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Lk=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Ik=d("span",{class:"sr-only"},"Close modal",-1),Pk=[Lk,Ik],Fk={class:"p-4 text-center"},Bk=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),jk={class:"p-4 text-center mx-auto mb-4"},zk=d("label",{class:"mr-2"},"Model path",-1);function $k(t,e,n,s,o,r){return o.show?(O(),L("div",Rk,[d("div",Nk,[d("div",Dk,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},Pk),d("div",Fk,[Bk,d("div",jk,[zk,Oe(d("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[je,o.model_path]])]),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),d("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):U("",!0)}const qk=Ke(Mk,[["render",$k]]),Uk={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){me(()=>{Ee.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){me(()=>{Ee.replace()})}}},Hk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},Vk={class:"relative w-full max-w-md"},Gk={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},Kk={class:"flex flex-row flex-grow items-center m-2 p-1"},Wk={class:"grow flex items-center"},Zk=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),Yk={class:"text-lg font-semibold select-none mr-2"},Qk={class:"items-end"},Jk=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Xk=d("span",{class:"sr-only"},"Close form modal",-1),eE=[Jk,Xk],tE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},nE={class:"px-2"},sE={key:0},oE={key:0},rE={class:"text-base font-semibold"},iE={key:0,class:"relative inline-flex"},aE=["onUpdate:modelValue"],lE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),cE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},uE=["onUpdate:modelValue"],dE={key:1},fE={class:"text-base font-semibold"},hE={key:0,class:"relative inline-flex"},pE=["onUpdate:modelValue"],gE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),mE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},_E=["onUpdate:modelValue"],bE=["value","selected"],yE={key:1},vE={class:"text-base font-semibold"},wE={key:0,class:"relative inline-flex"},xE=["onUpdate:modelValue"],kE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),EE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},CE=["onUpdate:modelValue"],AE=["onUpdate:modelValue","min","max"],SE={key:2},TE={class:"mb-2 relative flex items-center gap-2"},OE={for:"default-checkbox",class:"text-base font-semibold"},ME=["onUpdate:modelValue"],RE={key:0,class:"relative inline-flex"},NE=["onUpdate:modelValue"],DE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),LE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},IE={key:3},PE={class:"text-base font-semibold"},FE={key:0,class:"relative inline-flex"},BE=["onUpdate:modelValue"],jE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),zE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},$E=["onUpdate:modelValue"],qE=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),UE={class:"flex flex-row flex-grow gap-3"},HE={class:"p-2 text-center grow"};function VE(t,e,n,s,o,r){return o.show?(O(),L("div",Hk,[d("div",Vk,[d("div",Gk,[d("div",Kk,[d("div",Wk,[Zk,d("h3",Yk,ne(o.title),1)]),d("div",Qk,[d("button",{type:"button",onClick:e[0]||(e[0]=ue(i=>r.hide(!1),["stop"])),title:"Close",class:"bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},eE)])]),d("div",tE,[(O(!0),L(Be,null,rt(o.controls_array,(i,a)=>(O(),L("div",nE,[i.type=="str"?(O(),L("div",sE,[i.options?U("",!0):(O(),L("div",oE,[d("label",{class:Me(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",rE,ne(i.name)+": ",1),i.help?(O(),L("label",iE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,aE),[[_n,i.isHelp]]),lE])):U("",!0)],2),i.isHelp?(O(),L("p",cE,ne(i.help),1)):U("",!0),Oe(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter string"},null,8,uE),[[je,i.value]])])),i.options?(O(),L("div",dE,[d("label",{class:Me(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",fE,ne(i.name)+": ",1),i.help?(O(),L("label",hE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,pE),[[_n,i.isHelp]]),gE])):U("",!0)],2),i.isHelp?(O(),L("p",mE,ne(i.help),1)):U("",!0),Oe(d("select",{"onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(O(!0),L(Be,null,rt(i.options,l=>(O(),L("option",{value:l,selected:i.value===l},ne(l),9,bE))),256))],8,_E),[[z1,i.value]])])):U("",!0)])):U("",!0),i.type=="int"||i.type=="float"?(O(),L("div",yE,[d("label",{class:Me(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",vE,ne(i.name)+": ",1),i.help?(O(),L("label",wE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,xE),[[_n,i.isHelp]]),kE])):U("",!0)],2),i.isHelp?(O(),L("p",EE,ne(i.help),1)):U("",!0),Oe(d("input",{type:"number","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter number"},null,8,CE),[[je,i.value]]),i.min!=null&&i.max!=null?Oe((O(),L("input",{key:1,type:"range","onUpdate:modelValue":l=>i.value=l,min:i.min,max:i.max,step:"0.1",class:"flex-none h-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,8,AE)),[[je,i.value]]):U("",!0)])):U("",!0),i.type=="bool"?(O(),L("div",SE,[d("div",TE,[d("label",OE,ne(i.name)+": ",1),Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.value=l,class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"},null,8,ME),[[_n,i.value]]),i.help?(O(),L("label",RE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,NE),[[_n,i.isHelp]]),DE])):U("",!0)]),i.isHelp?(O(),L("p",LE,ne(i.help),1)):U("",!0)])):U("",!0),i.type=="list"?(O(),L("div",IE,[d("label",{class:Me(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",PE,ne(i.name)+": ",1),i.help?(O(),L("label",FE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,BE),[[_n,i.isHelp]]),jE])):U("",!0)],2),i.isHelp?(O(),L("p",zE,ne(i.help),1)):U("",!0),Oe(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter comma separated values"},null,8,$E),[[je,i.value]])])):U("",!0),qE]))),256)),d("div",UE,[d("div",HE,[d("button",{onClick:e[1]||(e[1]=ue(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},ne(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=ue(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},ne(o.DenyButtonText),1)])])])])])])):U("",!0)}const Wp=Ke(Uk,[["render",VE]]);const GE="/";Ae.defaults.baseURL="/";const KE={components:{AddModelDialog:qk,MessageBox:Nv,YesNoDialog:Hv,ModelEntry:xw,PersonalityViewer:jw,Toast:ni,PersonalityEntry:Mp,BindingEntry:$x,UniversalForm:Wp},data(){return{addModelDialogVisibility:!1,modelPath:"",models:[],personalities:[],personalitiesFiltered:[],modelsFiltered:[],bindings:[],collapsedArr:[],all_collapsed:!0,bec_collapsed:!0,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,bindingsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{},showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,diskUsage:{},ramUsage:{},vramUsage:{},mountedPersArr:[],isMounted:!1,bUrl:GE,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){},methods:{async constructor(){this.isLoading=!0,me(()=>{Ee.replace()}),this.configFile=await this.api_get_req("get_config");let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,this.configFile.model_name&&(this.isModelSelected=!0),this.fetchModels(),this.bindingsArr=await this.api_get_req("list_bindings"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.bindingsArr.sort((e,n)=>e.name.localeCompare(n.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),await this.getPersonalitiesArr(),this.bindings=await this.api_get_req("list_bindings"),this.bindings.sort((e,n)=>e.name.localeCompare(n.name)),this.isLoading=!1,this.diskUsage=await this.api_get_req("disk_usage"),this.ramUsage=await this.api_get_req("ram_usage"),this.vramUsage=await this.api_get_req("vram_usage"),this.getMountedPersonalities(),this.isMounted=!0},async progressListener(t){if(console.log("received something"),t.status==="progress"){if(this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(console.log("model entry",n),n.installing=!0,n.progress=t.progress,console.log(`Progress = ${t.progress}`),t.progress>=100&&(n.installing=!1,n.isInstalled=!0))}}else if(t.status==="succeeded"){if(console.log("Received succeeded"),console.log("Installed successfully"),this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!0)}this.$refs.toast.showToast(`Model: `+model_object.title+` installed!`,4,!0),this.api_get_req("disk_usage").then(e=>{this.diskUsage=e})}else if(t.status==="failed"&&(console.log("Install failed"),this.$refs.modelZoo)){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!1),console.error("Installation failed:",t.error),this.$refs.toast.showToast(`Model: `+model_object.title+` failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s})}},showAddModelDialog(){this.$refs.addmodeldialog.showDialog("").then(()=>{console.log(this.$refs.addmodeldialog.model_path);const t=this.$refs.addmodeldialog.model_path;$e.emit("install_model",{path:t},e=>{console.log("Model installation successful:",e)}),console.log(this.$refs.addmodeldialog.model_path)})},closeAddModelDialog(){this.addModelDialogVisibility=!1},collapseAll(t){this.bec_collapsed=t,this.mzc_collapsed=t,this.pzc_collapsed=t,this.bzc_collapsed=t,this.pc_collapsed=t,this.mc_collapsed=t,this.sc_collapsed=t,this.mzdc_collapsed=t},fetchModels(){Ae.get("/get_available_models").then(t=>{this.models=t.data,this.models.sort((e,n)=>e.title.localeCompare(n.title)),this.fetchCustomModels()}).catch(t=>{console.log(t.message,"fetchModels")})},fetchCustomModels(){Ae.get("/list_models").then(t=>{for(let e=0;eo.title==n)==-1){let o={};o.title=n,o.path=n,o.isCustomModel=!0,o.isInstalled=!0,this.models.push(o)}}}).catch(t=>{console.log(t.message,"fetchCustomModels")})},async onPersonalitySelected(t){if(console.log("on pers",t),this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}if(t.isMounted&&this.configFile.personalities.includes(t.personality.full_path)){const e=await this.select_personality(t);console.log("pers is mounted",e),e&&e.status&&e.active_personality_id>-1?this.$refs.toast.showToast(`Selected personality: `+t.name,4,!0):this.$refs.toast.showToast(`Error on select personality: -`+t.name,4,!1),this.isLoading=!1}else console.log("mounting pers"),this.onPersonalityMounted(t);ge(()=>{Ee.replace()})}},onSelected(t){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?this.configFile.model_name!=t.title&&(this.update_model(t.title),this.configFile.model_name=t.title,this.$refs.toast.showToast(`Selected model: +`+t.name,4,!1),this.isLoading=!1}else console.log("mounting pers"),this.onPersonalityMounted(t);me(()=>{Ee.replace()})}},onSelected(t){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?this.configFile.model_name!=t.title&&(this.update_model(t.title),this.configFile.model_name=t.title,this.$refs.toast.showToast(`Selected model: `+t.title,4,!0),this.settingsChanged=!0,this.isModelSelected=!0):this.$refs.toast.showToast(`Model: `+t.title+` -is not installed`,4,!1),ge(()=>{Ee.replace()}))},onCopy(t){let e;t.model.isCustomModel?e=`Model name: ${t.title} +is not installed`,4,!1),me(()=>{Ee.replace()}))},onCopy(t){let e;t.model.isCustomModel?e=`Model name: ${t.title} File size: ${t.fileSize} Manually downloaded model `:e=`Model name: ${t.title} File size: ${t.fileSize} @@ -67,38 +67,39 @@ failed to uninstall!`,4,!1),this.api_get_req("disk_usage").then(o=>{this.diskUsa Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Binding has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open binding settings. Endpoint error: "+e.message,4,!1)}},onSettingsPersonality(t){try{this.isLoading=!0,Ae.get("/get_active_personality_settings").then(e=>{this.isLoading=!1,e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{Ae.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get Personality settings responses. `+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses. Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Personality has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},onMessageBoxOk(){console.log("OK button clicked")},refresh(){this.api_get_req("list_models").then(t=>{this.modelsArr=t,this.modelsArr.sort()}),this.api_get_req("list_personalities_categories").then(t=>{this.persCatgArr=t,this.persCatgArr.sort()}),this.api_get_req("get_config").then(t=>{this.getPersonalitiesArr().then(()=>{this.getMountedPersonalities()}),console.log("Received config"),this.configFile=t,this.models.forEach(e=>{e.title==t.model_name?e.selected=!0:e.selected=!1})}).then(()=>{this.api_get_req("get_current_personality_path_infos").then(t=>{this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,console.log("received infos")})}),this.api_get_req("list_personalities").then(t=>{this.persArr=t,this.persArr.sort(),console.log(`Listed personalities: -${t}`)}),this.api_get_req("disk_usage").then(t=>{this.diskUsage=t}),this.api_get_req("ram_usage").then(t=>{this.ramUsage=t}),this.fetchModels(),this.api_get_req("list_bindings"),then(t=>{this.bindings=t,this.bindings.sort((e,n)=>e.name.localeCompare(n.name))})},toggleAccordion(){this.showAccordion=!this.showAccordion},update_setting(t,e,n){this.isLoading=!0;const s={setting_name:t,setting_value:e};Ae.post("/update_setting",s).then(o=>{if(o)return this.isLoading=!1,console.log("update_setting",o),n!==void 0&&n(o),o.data;this.isLoading=!1}).catch(o=>(this.isLoading=!1,{status:!1}))},update_binding(t){this.isLoading=!0,this.update_setting("binding_name",t,e=>{const n=this.bindings.findIndex(o=>o.folder==t),s=this.bindings[n];s&&(s.installed=!0),this.$refs.toast.showToast("Binding changed.",4,!0),this.settingsChanged=!0,this.isLoading=!1,this.update_model(null),this.configFile.model_name=null,this.refresh(),ge(()=>{Ee.replace()})})},update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0,this.update_setting("model_name",t,e=>{this.isLoading=!1})},applyConfiguration(){this.isLoading=!0,Ae.post("/apply_settings").then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),ge(()=>{Ee.replace()})})},save_configuration(){this.showConfirmation=!1,Ae.post("/save_settings",{}).then(t=>{if(t)return t.status||this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion(`Are you sure? -This will delete all your configurations and get back to default configuration.`).then(t=>{t&&Ae.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let g={};return g=f,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+f.folder,g.isMounted=h,g});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},async filterModels(){if(!this.searchModel){this.modelsFiltered=this.models,this.modelsFiltered.sort(),this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase(),e=this.models.filter(n=>{if(n.title&&n.title.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.path&&n.path.toLowerCase().includes(t))return n});e.length>0?this.modelsFiltered=e.sort():(this.modelsFiltered=this.models,this.modelsFiltered.sort()),this.searchModelInProgress=!1},computedFileSize(t){return zt(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ae.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ae.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ae.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: +${t}`)}),this.api_get_req("disk_usage").then(t=>{this.diskUsage=t}),this.api_get_req("ram_usage").then(t=>{this.ramUsage=t}),this.fetchModels(),this.api_get_req("list_bindings"),then(t=>{this.bindings=t,this.bindings.sort((e,n)=>e.name.localeCompare(n.name))})},toggleAccordion(){this.showAccordion=!this.showAccordion},update_setting(t,e,n){this.isLoading=!0;const s={setting_name:t,setting_value:e};Ae.post("/update_setting",s).then(o=>{if(o)return this.isLoading=!1,console.log("update_setting",o),n!==void 0&&n(o),o.data;this.isLoading=!1}).catch(o=>(this.isLoading=!1,{status:!1}))},update_binding(t){this.isLoading=!0,this.update_setting("binding_name",t,e=>{const n=this.bindings.findIndex(o=>o.folder==t),s=this.bindings[n];s&&(s.installed=!0),this.$refs.toast.showToast("Binding changed.",4,!0),this.settingsChanged=!0,this.isLoading=!1,this.update_model(null),this.configFile.model_name=null,this.refresh(),me(()=>{Ee.replace()})})},update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0,this.update_setting("model_name",t,e=>{this.isLoading=!1})},applyConfiguration(){this.isLoading=!0,Ae.post("/apply_settings").then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),me(()=>{Ee.replace()})})},save_configuration(){this.showConfirmation=!1,Ae.post("/save_settings",{}).then(t=>{if(t)return t.status||this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion(`Are you sure? +This will delete all your configurations and get back to default configuration.`).then(t=>{t&&Ae.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let p={};return p=f,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+f.folder,p.isMounted=h,p});this.personalities.length==0?this.personalities=c:this.personalities=this.personalities.concat(c)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},async filterModels(){if(!this.searchModel){this.modelsFiltered=this.models,this.modelsFiltered.sort(),this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase(),e=this.models.filter(n=>{if(n.title&&n.title.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.path&&n.path.toLowerCase().includes(t))return n});e.length>0?this.modelsFiltered=e.sort():(this.modelsFiltered=this.models,this.modelsFiltered.sort()),this.searchModelInProgress=!1},computedFileSize(t){return zt(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ae.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ae.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ae.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality Error: `+e.error+` Response: `+e,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1);this.isLoading=!1},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n);console.log("index",s),console.log("i:",e);const o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),ge(()=>{})},onPersonalityMounted(t){console.log("on sel ",t),this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},personalityImgPlacehodler(t){t.target.src=Yn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){clearTimeout(this.searchModelTimer),this.searchModel&&(this.searchModelInProgress=!0,setTimeout(this.filterModels,this.searchModelTimer))}},async mounted(){this.constructor()},activated(){this.isMounted&&this.constructor()},computed:{disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},vram_available_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram-this.vramUsage.gpu_0_used_vram)},vram_usage(){return this.computedFileSize(this.vramUsage.gpu_0_used_vram)},vram_percent_usage(){return(this.vramUsage.gpu_0_used_vram/this.vramUsage.gpu_0_total_vram*100).toFixed(2)},vram_total_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return defaultImgPlaceholder}},imgModel(){if(this.isMounted)try{return this.$refs.modelZoo[this.$refs.modelZoo.findIndex(t=>t.title==this.configFile.model_name)].$refs.imgElement.src}catch{return Ja}},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return zt(this.addModel.speed)},total_size_computed(){return zt(this.addModel.total_size)},downloaded_size_computed(){return zt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){ge(()=>{Ee.replace()})},pc_collapsed(){ge(()=>{Ee.replace()})},mc_collapsed(){ge(()=>{Ee.replace()})},sc_collapsed(){ge(()=>{Ee.replace()})},showConfirmation(){ge(()=>{Ee.replace()})},mzl_collapsed(){ge(()=>{Ee.replace()})},pzl_collapsed(){ge(()=>{Ee.replace()})},bzl_collapsed(){ge(()=>{Ee.replace()})},all_collapsed(t){this.collapseAll(t),ge(()=>{Ee.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,ge(()=>{Ee.replace()})},isLoading(){ge(()=>{Ee.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){ge(()=>{Ee.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to apply changes? +Error: `+e.error,4,!1);this.isLoading=!1},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n);console.log("index",s),console.log("i:",e);const o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),me(()=>{})},onPersonalityMounted(t){console.log("on sel ",t),this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},personalityImgPlacehodler(t){t.target.src=Jn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){clearTimeout(this.searchModelTimer),this.searchModel&&(this.searchModelInProgress=!0,setTimeout(this.filterModels,this.searchModelTimer))}},async mounted(){this.constructor()},activated(){this.isMounted&&this.constructor()},computed:{disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},vram_available_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram-this.vramUsage.gpu_0_used_vram)},vram_usage(){return this.computedFileSize(this.vramUsage.gpu_0_used_vram)},vram_percent_usage(){return(this.vramUsage.gpu_0_used_vram/this.vramUsage.gpu_0_total_vram*100).toFixed(2)},vram_total_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return defaultImgPlaceholder}},imgModel(){if(this.isMounted)try{return this.$refs.modelZoo[this.$refs.modelZoo.findIndex(t=>t.title==this.configFile.model_name)].$refs.imgElement.src}catch{return Xa}},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return zt(this.addModel.speed)},total_size_computed(){return zt(this.addModel.total_size)},downloaded_size_computed(){return zt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){me(()=>{Ee.replace()})},pc_collapsed(){me(()=>{Ee.replace()})},mc_collapsed(){me(()=>{Ee.replace()})},sc_collapsed(){me(()=>{Ee.replace()})},showConfirmation(){me(()=>{Ee.replace()})},mzl_collapsed(){me(()=>{Ee.replace()})},pzl_collapsed(){me(()=>{Ee.replace()})},bzl_collapsed(){me(()=>{Ee.replace()})},all_collapsed(t){this.collapseAll(t),me(()=>{Ee.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,me(()=>{Ee.replace()})},isLoading(){me(()=>{Ee.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){me(()=>{Ee.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to apply changes? You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1;if(!this.isModelSelected)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to select model? -You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},be=t=>(Fs("data-v-bac4dabe"),t=t(),Bs(),t),KE={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},WE={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},ZE={key:0,class:"flex gap-3 flex-1 items-center duration-75"},YE=be(()=>d("i",{"data-feather":"x"},null,-1)),QE=[YE],JE=be(()=>d("i",{"data-feather":"check"},null,-1)),XE=[JE],eC={key:1,class:"flex gap-3 flex-1 items-center"},tC=be(()=>d("i",{"data-feather":"save"},null,-1)),nC=[tC],sC=be(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),oC=[sC],rC=be(()=>d("i",{"data-feather":"list"},null,-1)),iC=[rC],aC={class:"flex gap-3 flex-1 items-center justify-end"},lC={class:"flex gap-3 items-center"},cC={key:0,class:"flex gap-3 items-center"},uC=be(()=>d("i",{"data-feather":"check"},null,-1)),dC=[uC],fC={key:1,role:"status"},hC=be(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),pC=be(()=>d("span",{class:"sr-only"},"Loading...",-1)),gC=[hC,pC],mC={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},_C={class:"flex flex-row p-3"},bC=be(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),yC=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),vC=be(()=>d("div",{class:"mr-2"},"|",-1)),wC={class:"text-base font-semibold cursor-pointer select-none items-center"},xC={class:"flex gap-2 items-center"},kC=To('',1),EC={class:"font-bold font-large text-lg"},CC=be(()=>d("i",{"data-feather":"cpu",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),AC={class:"font-bold font-large text-lg"},SC=be(()=>d("i",{"data-feather":"hard-drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),TC={class:"font-bold font-large text-lg"},OC={class:"mb-2"},MC=be(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[d("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),ke(" Ram usage: ")],-1)),RC={class:"flex flex-col mx-2"},NC=be(()=>d("b",null,"Avaliable ram: ",-1)),DC=be(()=>d("b",null,"Ram usage: ",-1)),LC={class:"p-2"},IC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},PC={class:"mb-2"},FC=be(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),ke(" Disk usage: ")],-1)),BC={class:"flex flex-col mx-2"},jC=be(()=>d("b",null,"Avaliable disk space: ",-1)),zC=be(()=>d("b",null,"Disk usage: ",-1)),$C={class:"p-2"},qC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},UC={class:"mb-2"},HC=To('',1),VC={class:"flex flex-col mx-2"},GC=be(()=>d("b",null,"Avaliable vram: ",-1)),KC=be(()=>d("b",null,"GPU usage: ",-1)),WC={class:"p-2"},ZC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},YC={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},QC={class:"flex flex-row p-3"},JC=be(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),XC=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),e5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},t5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),n5={key:1,class:"mr-2"},s5={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},o5={class:"flex gap-1 items-center"},r5=["src"],i5={class:"font-bold font-large text-lg line-clamp-1"},a5={key:0,class:"mb-2"},l5={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},c5=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),u5=[c5],d5=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),f5=[d5],h5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},p5={class:"flex flex-row p-3"},g5=["data-feather"],m5=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),_5={class:"flex flex-row items-center"},b5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},y5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),v5={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},w5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),x5={key:2,class:"mr-2"},k5={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},E5={class:"flex gap-1 items-center"},C5=["src"],A5={class:"font-bold font-large text-lg line-clamp-1"},S5={class:"mx-2 mb-4"},T5={class:"relative"},O5={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},M5={key:0},R5=be(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),N5=[R5],D5={key:1},L5=be(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),I5=[L5],P5={key:0},F5={key:0,class:"mb-2"},B5={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},j5={key:1},z5={key:0,class:"mb-2"},$5={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},q5=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),U5=[q5],H5=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),V5=[H5],G5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},K5={class:"flex flex-row p-3"},W5=["data-feather"],Z5=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),Y5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Q5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),J5={key:1,class:"mr-2"},X5={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},e4={class:"flex gap-1 items-center"},t4=["src"],n4={class:"font-bold font-large text-lg line-clamp-1"},s4={class:"mb-2"},o4={key:0,class:"p-2"},r4={class:"mb-3"},i4=be(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white",for:"file_input"},"Upload model:",-1)),a4={class:"p-2"},l4={key:0},c4={class:"mb-3"},u4=be(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),d4={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},f4=be(()=>d("div",{role:"status",class:"justify-center"},null,-1)),h4={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},p4={class:"w-full p-2"},g4={class:"flex justify-between mb-1"},m4=To(' Downloading Loading...',1),_4={class:"text-sm font-medium text-blue-700 dark:text-white"},b4=["title"],y4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},v4={class:"flex justify-between mb-1"},w4={class:"text-base font-medium text-blue-700 dark:text-white"},x4={class:"text-sm font-medium text-blue-700 dark:text-white"},k4={class:"flex flex-grow"},E4={class:"flex flex-row flex-grow gap-3"},C4={class:"p-2 text-center grow"},A4={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},S4={class:"flex flex-row p-3 items-center"},T4=["data-feather"],O4=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),M4={key:0,class:"mr-2"},R4={class:"mr-2 font-bold font-large text-lg line-clamp-1"},N4={key:1,class:"mr-2"},D4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},L4={key:0,class:"flex -space-x-4 items-center"},I4={class:"group items-center flex flex-row"},P4=["onClick"],F4=["src","title"],B4=["onClick"],j4=be(()=>d("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[d("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),z4=[j4],$4={class:"mx-2 mb-4"},q4=be(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),U4={class:"relative"},H4={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},V4={key:0},G4=be(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),K4=[G4],W4={key:1},Z4=be(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),Y4=[Z4],Q4={key:0,class:"mx-2 mb-4"},J4={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},X4=["selected"],eA={key:1,class:"mx-2 mb-4"},tA={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},nA=["selected"],sA={key:0,class:"mb-2"},oA={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},rA=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),iA=[rA],aA=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),lA=[aA],cA={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},uA={class:"flex flex-row"},dA=["data-feather"],fA=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),hA={class:"m-2"},pA={class:"flex flex-row gap-2 items-center"},gA=be(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),mA={class:"m-2"},_A=be(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),bA={class:"m-2"},yA={class:"flex flex-col align-bottom"},vA={class:"relative"},wA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),xA={class:"absolute right-0"},kA={class:"m-2"},EA={class:"flex flex-col align-bottom"},CA={class:"relative"},AA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),SA={class:"absolute right-0"},TA={class:"m-2"},OA={class:"flex flex-col align-bottom"},MA={class:"relative"},RA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),NA={class:"absolute right-0"},DA={class:"m-2"},LA={class:"flex flex-col align-bottom"},IA={class:"relative"},PA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),FA={class:"absolute right-0"},BA={class:"m-2"},jA={class:"flex flex-col align-bottom"},zA={class:"relative"},$A=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),qA={class:"absolute right-0"},UA={class:"m-2"},HA={class:"flex flex-col align-bottom"},VA={class:"relative"},GA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),KA={class:"absolute right-0"};function WA(t,e,n,s,o,r){const i=ut("BindingEntry"),a=ut("model-entry"),l=ut("personality-entry"),c=ut("YesNoDialog"),u=ut("AddModelDialog"),f=ut("MessageBox"),h=ut("Toast"),g=ut("UniversalForm");return O(),R(Be,null,[d("div",KE,[d("div",WE,[o.showConfirmation?(O(),R("div",ZE,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ue(p=>o.showConfirmation=!1,["stop"]))},QE),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ue(p=>r.save_configuration(),["stop"]))},XE)])):U("",!0),o.showConfirmation?U("",!0):(O(),R("div",eC,[d("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=p=>o.showConfirmation=!0)},nC),d("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=p=>r.reset_configuration())},oC),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=ue(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},iC)])),d("div",aC,[d("div",lC,[o.settingsChanged?(O(),R("div",cC,[ke(" Apply changes: "),o.isLoading?U("",!0):(O(),R("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ue(p=>r.applyConfiguration(),["stop"]))},dC))])):U("",!0),o.isLoading?(O(),R("div",fC,gC)):U("",!0)])])]),d("div",{class:Me(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",mC,[d("div",_C,[d("button",{onClick:e[6]||(e[6]=ue(p=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[bC,yC,vC,d("div",wC,[d("div",xC,[kC,d("h3",EC,[d("div",null,ne(r.vram_usage)+" / "+ne(r.vram_total_space)+" ("+ne(r.vram_percent_usage)+"%)",1)]),CC,d("h3",AC,[d("div",null,ne(r.ram_usage)+" / "+ne(r.ram_total_space)+" ("+ne(r.ram_percent_usage)+"%)",1)]),SC,d("h3",TC,[d("div",null,ne(r.disk_binding_models_usage)+" / "+ne(r.disk_total_space)+" ("+ne(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Me([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",OC,[MC,d("div",RC,[d("div",null,[NC,ke(ne(r.ram_available_space),1)]),d("div",null,[DC,ke(" "+ne(r.ram_usage)+" / "+ne(r.ram_total_space),1)])]),d("div",LC,[d("div",IC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",PC,[FC,d("div",BC,[d("div",null,[jC,ke(ne(r.disk_available_space),1)]),d("div",null,[zC,ke(" "+ne(r.disk_binding_models_usage)+" / "+ne(r.disk_total_space),1)])]),d("div",$C,[d("div",qC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.disk_percent_usage+"%;")},null,4)])])]),d("div",UC,[HC,d("div",VC,[d("div",null,[GC,ke(ne(r.vram_available_space),1)]),d("div",null,[KC,ke(" "+ne(r.vram_usage)+" / "+ne(r.vram_total_space),1)])]),d("div",WC,[d("div",ZC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.vram_percent_usage+"%;")},null,4)])])])],2)]),d("div",YC,[d("div",QC,[d("button",{onClick:e[7]||(e[7]=ue(p=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[JC,XC,o.configFile.binding_name?U("",!0):(O(),R("div",e5,[t5,ke(" No binding selected! ")])),o.configFile.binding_name?(O(),R("div",n5,"|")):U("",!0),o.configFile.binding_name?(O(),R("div",s5,[d("div",o5,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,r5),d("h3",i5,ne(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Me([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindings.length>0?(O(),R("div",a5,[d("label",l5," Bindings: ("+ne(o.bindings.length)+") ",1),d("div",{class:Me(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.bzl_collapsed?"":"max-h-96"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),R(Be,null,rt(o.bindings,(p,m)=>(O(),at(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+m+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,selected:p.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","selected"]))),128))]),_:1})],2)])):U("",!0),o.bzl_collapsed?(O(),R("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[8]||(e[8]=p=>o.bzl_collapsed=!o.bzl_collapsed)},u5)):(O(),R("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[9]||(e[9]=p=>o.bzl_collapsed=!o.bzl_collapsed)},f5))],2)]),d("div",h5,[d("div",p5,[d("button",{onClick:e[10]||(e[10]=ue(p=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,g5),m5,d("div",_5,[o.configFile.binding_name?U("",!0):(O(),R("div",b5,[y5,ke(" Select binding first! ")])),!o.isModelSelected&&o.configFile.binding_name?(O(),R("div",v5,[w5,ke(" No model selected! ")])):U("",!0),o.configFile.model_name?(O(),R("div",x5,"|")):U("",!0),o.configFile.model_name?(O(),R("div",k5,[d("div",E5,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,C5),d("h3",A5,ne(o.configFile.model_name),1)])])):U("",!0)])])]),d("div",{class:Me([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",S5,[d("form",null,[d("div",T5,[d("div",O5,[o.searchModelInProgress?(O(),R("div",M5,N5)):U("",!0),o.searchModelInProgress?U("",!0):(O(),R("div",D5,I5))]),Oe(d("input",{type:"search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search models...",required:"","onUpdate:modelValue":e[11]||(e[11]=p=>o.searchModel=p),onKeyup:e[12]||(e[12]=ue((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[je,o.searchModel]]),o.searchModel?(O(),R("button",{key:0,onClick:e[13]||(e[13]=ue(p=>o.searchModel="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):U("",!0)])])]),o.searchModel?(O(),R("div",P5,[o.modelsFiltered.length>0?(O(),R("div",F5,[d("label",B5," Search results: ("+ne(o.modelsFiltered.length)+") ",1),d("div",{class:Me(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),R(Be,null,rt(o.modelsFiltered,(p,m)=>(O(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===o.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):U("",!0)])):U("",!0),o.searchModel?U("",!0):(O(),R("div",j5,[o.models.length>0?(O(),R("div",z5,[d("label",$5," Models: ("+ne(o.models.length)+") ",1),d("div",{class:Me(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),R(Be,null,rt(o.models,(p,m)=>(O(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===o.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):U("",!0)])),o.mzl_collapsed?(O(),R("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[14]||(e[14]=p=>o.mzl_collapsed=!o.mzl_collapsed)},U5)):(O(),R("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[15]||(e[15]=p=>o.mzl_collapsed=!o.mzl_collapsed)},V5))],2)]),d("div",G5,[d("div",K5,[d("button",{onClick:e[16]||(e[16]=ue(p=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzdc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,W5),Z5,o.configFile.binding_name?U("",!0):(O(),R("div",Y5,[Q5,ke(" No binding selected! ")])),o.configFile.binding_name?(O(),R("div",J5,"|")):U("",!0),o.configFile.binding_name?(O(),R("div",X5,[d("div",e4,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,t4),d("h3",n4,ne(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Me([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",s4,[o.modelDownlaodInProgress?U("",!0):(O(),R("div",o4,[d("form",null,[d("div",r4,[i4,d("input",{onChange:e[17]||(e[17]=(...p)=>r.setFileList&&r.setFileList(...p)),class:"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400",ref:"fileDialogAddModel",type:"file",multiple:""},null,544)]),d("button",{type:"button",onClick:e[18]||(e[18]=ue((...p)=>r.uploadLocalModel&&r.uploadLocalModel(...p),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Upload")])])),d("div",a4,[o.modelDownlaodInProgress?U("",!0):(O(),R("div",l4,[d("div",c4,[u4,Oe(d("input",{type:"text","onUpdate:modelValue":e[19]||(e[19]=p=>o.addModel.url=p),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[je,o.addModel.url]])]),d("button",{type:"button",onClick:e[20]||(e[20]=ue(p=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(O(),R("div",d4,[f4,d("div",h4,[d("div",p4,[d("div",g4,[m4,d("span",_4,ne(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},ne(o.addModel.url),9,b4),d("div",y4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en({width:o.addModel.progress+"%"})},null,4)]),d("div",v4,[d("span",w4,"Download speed: "+ne(r.speed_computed)+"/s",1),d("span",x4,ne(r.downloaded_size_computed)+"/"+ne(r.total_size_computed),1)])])]),d("div",k4,[d("div",E4,[d("div",C4,[d("button",{onClick:e[21]||(e[21]=ue((...p)=>r.onCancelInstall&&r.onCancelInstall(...p),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):U("",!0)])])],2)]),d("div",A4,[d("div",S4,[d("button",{onClick:e[23]||(e[23]=ue(p=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[d("i",{"data-feather":o.pzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,T4),O4,o.configFile.personalities?(O(),R("div",M4,"|")):U("",!0),d("div",R4,ne(r.active_pesonality),1),o.configFile.personalities?(O(),R("div",N4,"|")):U("",!0),o.configFile.personalities?(O(),R("div",D4,[o.mountedPersArr.length>0?(O(),R("div",L4,[(O(!0),R(Be,null,rt(o.mountedPersArr,(p,m)=>(O(),R("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:m+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",I4,[d("button",{onClick:ue(v=>r.onPersonalitySelected(p),["stop"])},[d("img",{src:o.bUrl+p.avatar,onError:e[22]||(e[22]=(...v)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...v)),class:Me(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,F4)],8,P4),d("button",{onClick:ue(v=>r.onPersonalityMounted(p),["stop"])},z4,8,B4)])]))),128))])):U("",!0)])):U("",!0)])]),d("div",{class:Me([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",$4,[d("form",null,[q4,d("div",U4,[d("div",H4,[o.searchPersonalityInProgress?(O(),R("div",V4,K4)):U("",!0),o.searchPersonalityInProgress?U("",!0):(O(),R("div",W4,Y4))]),Oe(d("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[24]||(e[24]=p=>o.searchPersonality=p),onKeyup:e[25]||(e[25]=ue((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[je,o.searchPersonality]]),o.searchPersonality?(O(),R("button",{key:0,onClick:e[26]||(e[26]=ue(p=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):U("",!0)])])]),o.searchPersonality?U("",!0):(O(),R("div",Q4,[d("label",J4," Personalities Languages: ("+ne(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[27]||(e[27]=p=>r.update_setting("personality_language",p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(O(!0),R(Be,null,rt(o.persLangArr,p=>(O(),R("option",{selected:p===this.configFile.personality_language},ne(p),9,X4))),256))],32)])),o.searchPersonality?U("",!0):(O(),R("div",eA,[d("label",tA," Personalities Category: ("+ne(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[28]||(e[28]=p=>r.update_setting("personality_category",p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(O(!0),R(Be,null,rt(o.persCatgArr,(p,m)=>(O(),R("option",{key:m,selected:p==this.configFile.personality_category},ne(p),9,nA))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(O(),R("div",sA,[d("label",oA,ne(o.searchPersonality?"Search results":"Personalities")+": ("+ne(o.personalitiesFiltered.length)+") ",1),d("div",{class:Me(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[Ce(jt,{name:"bounce"},{default:Je(()=>[(O(!0),R(Be,null,rt(o.personalitiesFiltered,(p,m)=>(O(),at(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+p.name,personality:p,full_path:p.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(v=>v===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):U("",!0)]),o.pzl_collapsed?(O(),R("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[29]||(e[29]=p=>o.pzl_collapsed=!o.pzl_collapsed)},iA)):(O(),R("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[30]||(e[30]=p=>o.pzl_collapsed=!o.pzl_collapsed)},lA))],2)]),d("div",cA,[d("div",uA,[d("button",{onClick:e[31]||(e[31]=ue(p=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mc_collapsed?"chevron-right":"chevron-down",class:"mr-2"},null,8,dA),fA])]),d("div",{class:Me([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",hA,[d("div",pA,[Oe(d("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[32]||(e[32]=ue(()=>{},["stop"])),"onUpdate:modelValue":e[33]||(e[33]=p=>o.configFile.override_personality_model_parameters=p),onChange:e[34]||(e[34]=p=>r.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[mn,o.configFile.override_personality_model_parameters]]),gA])]),d("div",{class:Me(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",mA,[_A,Oe(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[35]||(e[35]=p=>o.configFile.seed=p),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.seed]])]),d("div",bA,[d("div",yA,[d("div",vA,[wA,d("p",xA,[Oe(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[36]||(e[36]=p=>o.configFile.temperature=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.temperature]])])]),Oe(d("input",{id:"temperature",onChange:e[37]||(e[37]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[38]||(e[38]=p=>o.configFile.temperature=p),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.temperature]])])]),d("div",kA,[d("div",EA,[d("div",CA,[AA,d("p",SA,[Oe(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[39]||(e[39]=p=>o.configFile.n_predict=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.n_predict]])])]),Oe(d("input",{id:"predict",onChange:e[40]||(e[40]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[41]||(e[41]=p=>o.configFile.n_predict=p),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.n_predict]])])]),d("div",TA,[d("div",OA,[d("div",MA,[RA,d("p",NA,[Oe(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[42]||(e[42]=p=>o.configFile.top_k=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.top_k]])])]),Oe(d("input",{id:"top_k",onChange:e[43]||(e[43]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[44]||(e[44]=p=>o.configFile.top_k=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.top_k]])])]),d("div",DA,[d("div",LA,[d("div",IA,[PA,d("p",FA,[Oe(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[45]||(e[45]=p=>o.configFile.top_p=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.top_p]])])]),Oe(d("input",{id:"top_p",onChange:e[46]||(e[46]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[47]||(e[47]=p=>o.configFile.top_p=p),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.top_p]])])]),d("div",BA,[d("div",jA,[d("div",zA,[$A,d("p",qA,[Oe(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[48]||(e[48]=p=>o.configFile.repeat_penalty=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.repeat_penalty]])])]),Oe(d("input",{id:"repeat_penalty",onChange:e[49]||(e[49]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[50]||(e[50]=p=>o.configFile.repeat_penalty=p),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.repeat_penalty]])])]),d("div",UA,[d("div",HA,[d("div",VA,[GA,d("p",KA,[Oe(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[51]||(e[51]=p=>o.configFile.repeat_last_n=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.repeat_last_n]])])]),Oe(d("input",{id:"repeat_last_n",onChange:e[52]||(e[52]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[53]||(e[53]=p=>o.configFile.repeat_last_n=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ce(c,{ref:"yesNoDialog",class:"z-20"},null,512),Ce(u,{ref:"addmodeldialog"},null,512),Ce(f,{ref:"messageBox"},null,512),Ce(h,{ref:"toast"},null,512),Ce(g,{ref:"universalForm",class:"z-20"},null,512)],64)}const ZA=Ke(GE,[["render",WA],["__scopeId","data-v-bac4dabe"]]),YA={data(){return{model_name:"jondurbin/airoboros-7b-gpt4",tokenizer_name:"jondurbin/airoboros-7b-gpt4",dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDatasetPath:""}},methods:{submitForm(){this.model_name,this.tokenizer_name,this.selectedDatasetPath,this.max_length,this.batch_size,this.lr,this.num_epochs,this.selectedFolder},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(t){const e=t.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},QA={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},JA={class:"mb-4"},XA=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),e3={class:"mb-4"},t3=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),n3={class:"mb-4"},s3=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),o3={class:"mt-2 text-xs"},r3={class:"mb-4"},i3=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),a3={class:"mb-4"},l3=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),c3={class:"mb-4"},u3=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),d3={class:"mb-4"},f3=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),h3={class:"mb-4"},p3=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),g3=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function m3(t,e,n,s,o,r){return O(),R("div",QA,[d("form",{onSubmit:e[10]||(e[10]=ue((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",JA,[XA,Oe(d("input",{type:"text",id:"model_name","onUpdate:modelValue":e[0]||(e[0]=i=>o.model_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.model_name]])]),d("div",e3,[t3,Oe(d("input",{type:"text",id:"tokenizer_name","onUpdate:modelValue":e[1]||(e[1]=i=>o.tokenizer_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.tokenizer_name]])]),d("div",n3,[s3,d("input",{type:"file",id:"dataset_path",ref:"dataset_path",accept:".parquet",onChange:e[2]||(e[2]=(...i)=>r.selectDatasetPath&&r.selectDatasetPath(...i)),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,544),d("p",o3,"Selected File: "+ne(o.selectedDatasetPath),1)]),d("div",r3,[i3,Oe(d("input",{type:"number",id:"max_length","onUpdate:modelValue":e[3]||(e[3]=i=>o.max_length=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.max_length,void 0,{number:!0}]])]),d("div",a3,[l3,Oe(d("input",{type:"number",id:"batch_size","onUpdate:modelValue":e[4]||(e[4]=i=>o.batch_size=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.batch_size,void 0,{number:!0}]])]),d("div",c3,[u3,Oe(d("input",{type:"number",id:"lr","onUpdate:modelValue":e[5]||(e[5]=i=>o.lr=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.lr,void 0,{number:!0}]])]),d("div",d3,[f3,Oe(d("input",{type:"number",id:"num_epochs","onUpdate:modelValue":e[6]||(e[6]=i=>o.num_epochs=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.num_epochs,void 0,{number:!0}]])]),d("div",h3,[p3,Oe(d("input",{type:"text",id:"output_dir","onUpdate:modelValue":e[7]||(e[7]=i=>o.selectedFolder=i),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded",placeholder:"Enter or select the output folder"},null,512),[[je,o.selectedFolder]]),d("input",{type:"file",id:"folder_selector",ref:"folder_selector",style:{display:"none"},webkitdirectory:"",onChange:e[8]||(e[8]=(...i)=>r.selectOutputDirectory&&r.selectOutputDirectory(...i))},null,544),d("button",{type:"button",onClick:e[9]||(e[9]=(...i)=>r.openFolderSelector&&r.openFolderSelector(...i)),class:"bg-blue-500 text-white px-4 py-2 rounded"},"Select Folder")]),g3],32)])}const _3=Ke(YA,[["render",m3]]),b3={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,ge(()=>{Ee.replace()})},watch:{showConfirmation(){ge(()=>{Ee.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&ge(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},y3=["id"],v3={class:"flex flex-row items-center gap-2"},w3={key:0},x3=["title"],k3=["value"],E3={class:"flex items-center flex-1 max-h-6"},C3={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},A3=d("i",{"data-feather":"check"},null,-1),S3=[A3],T3=d("i",{"data-feather":"x"},null,-1),O3=[T3],M3={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},R3=d("i",{"data-feather":"x"},null,-1),N3=[R3],D3=d("i",{"data-feather":"check"},null,-1),L3=[D3],I3={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},P3=d("i",{"data-feather":"edit-2"},null,-1),F3=[P3],B3=d("i",{"data-feather":"trash"},null,-1),j3=[B3];function z3(t,e,n,s,o,r){return O(),R("div",{class:Me([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","flex flex-row sm:flex-row item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ue(i=>r.selectEvent(),["stop"]))},[d("div",v3,[n.isCheckbox?(O(),R("div",w3,[Oe(d("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ue(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=i=>o.checkBoxValue_local=i),onInput:e[2]||(e[2]=i=>r.checkedChangeEvent(i,n.id))},null,544),[[mn,o.checkBoxValue_local]])])):U("",!0),n.selected?(O(),R("div",{key:1,class:Me(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):U("",!0),n.selected?U("",!0):(O(),R("div",{key:2,class:Me(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?U("",!0):(O(),R("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},ne(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,x3)),o.editTitle?(O(),R("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=qa(ue(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=qa(ue(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ue(()=>{},["stop"]))},null,40,k3)):U("",!0),d("div",E3,[o.showConfirmation&&!o.editTitleMode?(O(),R("div",C3,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(i=>r.deleteEvent(),["stop"]))},S3),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ue(i=>o.showConfirmation=!1,["stop"]))},O3)])):U("",!0),o.showConfirmation&&o.editTitleMode?(O(),R("div",M3,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=ue(i=>o.editTitleMode=!1,["stop"]))},N3),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ue(i=>r.editTitleEvent(),["stop"]))},L3)])):U("",!0),o.showConfirmation?U("",!0):(O(),R("div",I3,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ue(i=>o.editTitleMode=!0,["stop"]))},F3),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ue(i=>o.showConfirmation=!0,["stop"]))},j3)]))])],10,y3)}const Wp=Ke(b3,[["render",z3]]);var ze={};const $3="Á",q3="á",U3="Ă",H3="ă",V3="∾",G3="∿",K3="∾̳",W3="Â",Z3="â",Y3="´",Q3="А",J3="а",X3="Æ",eS="æ",tS="⁡",nS="𝔄",sS="𝔞",oS="À",rS="à",iS="ℵ",aS="ℵ",lS="Α",cS="α",uS="Ā",dS="ā",fS="⨿",hS="&",pS="&",gS="⩕",mS="⩓",_S="∧",bS="⩜",yS="⩘",vS="⩚",wS="∠",xS="⦤",kS="∠",ES="⦨",CS="⦩",AS="⦪",SS="⦫",TS="⦬",OS="⦭",MS="⦮",RS="⦯",NS="∡",DS="∟",LS="⊾",IS="⦝",PS="∢",FS="Å",BS="⍼",jS="Ą",zS="ą",$S="𝔸",qS="𝕒",US="⩯",HS="≈",VS="⩰",GS="≊",KS="≋",WS="'",ZS="⁡",YS="≈",QS="≊",JS="Å",XS="å",eT="𝒜",tT="𝒶",nT="≔",sT="*",oT="≈",rT="≍",iT="Ã",aT="ã",lT="Ä",cT="ä",uT="∳",dT="⨑",fT="≌",hT="϶",pT="‵",gT="∽",mT="⋍",_T="∖",bT="⫧",yT="⊽",vT="⌅",wT="⌆",xT="⌅",kT="⎵",ET="⎶",CT="≌",AT="Б",ST="б",TT="„",OT="∵",MT="∵",RT="∵",NT="⦰",DT="϶",LT="ℬ",IT="ℬ",PT="Β",FT="β",BT="ℶ",jT="≬",zT="𝔅",$T="𝔟",qT="⋂",UT="◯",HT="⋃",VT="⨀",GT="⨁",KT="⨂",WT="⨆",ZT="★",YT="▽",QT="△",JT="⨄",XT="⋁",e8="⋀",t8="⤍",n8="⧫",s8="▪",o8="▴",r8="▾",i8="◂",a8="▸",l8="␣",c8="▒",u8="░",d8="▓",f8="█",h8="=⃥",p8="≡⃥",g8="⫭",m8="⌐",_8="𝔹",b8="𝕓",y8="⊥",v8="⊥",w8="⋈",x8="⧉",k8="┐",E8="╕",C8="╖",A8="╗",S8="┌",T8="╒",O8="╓",M8="╔",R8="─",N8="═",D8="┬",L8="╤",I8="╥",P8="╦",F8="┴",B8="╧",j8="╨",z8="╩",$8="⊟",q8="⊞",U8="⊠",H8="┘",V8="╛",G8="╜",K8="╝",W8="└",Z8="╘",Y8="╙",Q8="╚",J8="│",X8="║",e9="┼",t9="╪",n9="╫",s9="╬",o9="┤",r9="╡",i9="╢",a9="╣",l9="├",c9="╞",u9="╟",d9="╠",f9="‵",h9="˘",p9="˘",g9="¦",m9="𝒷",_9="ℬ",b9="⁏",y9="∽",v9="⋍",w9="⧅",x9="\\",k9="⟈",E9="•",C9="•",A9="≎",S9="⪮",T9="≏",O9="≎",M9="≏",R9="Ć",N9="ć",D9="⩄",L9="⩉",I9="⩋",P9="∩",F9="⋒",B9="⩇",j9="⩀",z9="ⅅ",$9="∩︀",q9="⁁",U9="ˇ",H9="ℭ",V9="⩍",G9="Č",K9="č",W9="Ç",Z9="ç",Y9="Ĉ",Q9="ĉ",J9="∰",X9="⩌",e6="⩐",t6="Ċ",n6="ċ",s6="¸",o6="¸",r6="⦲",i6="¢",a6="·",l6="·",c6="𝔠",u6="ℭ",d6="Ч",f6="ч",h6="✓",p6="✓",g6="Χ",m6="χ",_6="ˆ",b6="≗",y6="↺",v6="↻",w6="⊛",x6="⊚",k6="⊝",E6="⊙",C6="®",A6="Ⓢ",S6="⊖",T6="⊕",O6="⊗",M6="○",R6="⧃",N6="≗",D6="⨐",L6="⫯",I6="⧂",P6="∲",F6="”",B6="’",j6="♣",z6="♣",$6=":",q6="∷",U6="⩴",H6="≔",V6="≔",G6=",",K6="@",W6="∁",Z6="∘",Y6="∁",Q6="ℂ",J6="≅",X6="⩭",eO="≡",tO="∮",nO="∯",sO="∮",oO="𝕔",rO="ℂ",iO="∐",aO="∐",lO="©",cO="©",uO="℗",dO="∳",fO="↵",hO="✗",pO="⨯",gO="𝒞",mO="𝒸",_O="⫏",bO="⫑",yO="⫐",vO="⫒",wO="⋯",xO="⤸",kO="⤵",EO="⋞",CO="⋟",AO="↶",SO="⤽",TO="⩈",OO="⩆",MO="≍",RO="∪",NO="⋓",DO="⩊",LO="⊍",IO="⩅",PO="∪︀",FO="↷",BO="⤼",jO="⋞",zO="⋟",$O="⋎",qO="⋏",UO="¤",HO="↶",VO="↷",GO="⋎",KO="⋏",WO="∲",ZO="∱",YO="⌭",QO="†",JO="‡",XO="ℸ",eM="↓",tM="↡",nM="⇓",sM="‐",oM="⫤",rM="⊣",iM="⤏",aM="˝",lM="Ď",cM="ď",uM="Д",dM="д",fM="‡",hM="⇊",pM="ⅅ",gM="ⅆ",mM="⤑",_M="⩷",bM="°",yM="∇",vM="Δ",wM="δ",xM="⦱",kM="⥿",EM="𝔇",CM="𝔡",AM="⥥",SM="⇃",TM="⇂",OM="´",MM="˙",RM="˝",NM="`",DM="˜",LM="⋄",IM="⋄",PM="⋄",FM="♦",BM="♦",jM="¨",zM="ⅆ",$M="ϝ",qM="⋲",UM="÷",HM="÷",VM="⋇",GM="⋇",KM="Ђ",WM="ђ",ZM="⌞",YM="⌍",QM="$",JM="𝔻",XM="𝕕",eR="¨",tR="˙",nR="⃜",sR="≐",oR="≑",rR="≐",iR="∸",aR="∔",lR="⊡",cR="⌆",uR="∯",dR="¨",fR="⇓",hR="⇐",pR="⇔",gR="⫤",mR="⟸",_R="⟺",bR="⟹",yR="⇒",vR="⊨",wR="⇑",xR="⇕",kR="∥",ER="⤓",CR="↓",AR="↓",SR="⇓",TR="⇵",OR="̑",MR="⇊",RR="⇃",NR="⇂",DR="⥐",LR="⥞",IR="⥖",PR="↽",FR="⥟",BR="⥗",jR="⇁",zR="↧",$R="⊤",qR="⤐",UR="⌟",HR="⌌",VR="𝒟",GR="𝒹",KR="Ѕ",WR="ѕ",ZR="⧶",YR="Đ",QR="đ",JR="⋱",XR="▿",e7="▾",t7="⇵",n7="⥯",s7="⦦",o7="Џ",r7="џ",i7="⟿",a7="É",l7="é",c7="⩮",u7="Ě",d7="ě",f7="Ê",h7="ê",p7="≖",g7="≕",m7="Э",_7="э",b7="⩷",y7="Ė",v7="ė",w7="≑",x7="ⅇ",k7="≒",E7="𝔈",C7="𝔢",A7="⪚",S7="È",T7="è",O7="⪖",M7="⪘",R7="⪙",N7="∈",D7="⏧",L7="ℓ",I7="⪕",P7="⪗",F7="Ē",B7="ē",j7="∅",z7="∅",$7="◻",q7="∅",U7="▫",H7=" ",V7=" ",G7=" ",K7="Ŋ",W7="ŋ",Z7=" ",Y7="Ę",Q7="ę",J7="𝔼",X7="𝕖",eN="⋕",tN="⧣",nN="⩱",sN="ε",oN="Ε",rN="ε",iN="ϵ",aN="≖",lN="≕",cN="≂",uN="⪖",dN="⪕",fN="⩵",hN="=",pN="≂",gN="≟",mN="⇌",_N="≡",bN="⩸",yN="⧥",vN="⥱",wN="≓",xN="ℯ",kN="ℰ",EN="≐",CN="⩳",AN="≂",SN="Η",TN="η",ON="Ð",MN="ð",RN="Ë",NN="ë",DN="€",LN="!",IN="∃",PN="∃",FN="ℰ",BN="ⅇ",jN="ⅇ",zN="≒",$N="Ф",qN="ф",UN="♀",HN="ffi",VN="ff",GN="ffl",KN="𝔉",WN="𝔣",ZN="fi",YN="◼",QN="▪",JN="fj",XN="♭",eD="fl",tD="▱",nD="ƒ",sD="𝔽",oD="𝕗",rD="∀",iD="∀",aD="⋔",lD="⫙",cD="ℱ",uD="⨍",dD="½",fD="⅓",hD="¼",pD="⅕",gD="⅙",mD="⅛",_D="⅔",bD="⅖",yD="¾",vD="⅗",wD="⅜",xD="⅘",kD="⅚",ED="⅝",CD="⅞",AD="⁄",SD="⌢",TD="𝒻",OD="ℱ",MD="ǵ",RD="Γ",ND="γ",DD="Ϝ",LD="ϝ",ID="⪆",PD="Ğ",FD="ğ",BD="Ģ",jD="Ĝ",zD="ĝ",$D="Г",qD="г",UD="Ġ",HD="ġ",VD="≥",GD="≧",KD="⪌",WD="⋛",ZD="≥",YD="≧",QD="⩾",JD="⪩",XD="⩾",eL="⪀",tL="⪂",nL="⪄",sL="⋛︀",oL="⪔",rL="𝔊",iL="𝔤",aL="≫",lL="⋙",cL="⋙",uL="ℷ",dL="Ѓ",fL="ѓ",hL="⪥",pL="≷",gL="⪒",mL="⪤",_L="⪊",bL="⪊",yL="⪈",vL="≩",wL="⪈",xL="≩",kL="⋧",EL="𝔾",CL="𝕘",AL="`",SL="≥",TL="⋛",OL="≧",ML="⪢",RL="≷",NL="⩾",DL="≳",LL="𝒢",IL="ℊ",PL="≳",FL="⪎",BL="⪐",jL="⪧",zL="⩺",$L=">",qL=">",UL="≫",HL="⋗",VL="⦕",GL="⩼",KL="⪆",WL="⥸",ZL="⋗",YL="⋛",QL="⪌",JL="≷",XL="≳",eI="≩︀",tI="≩︀",nI="ˇ",sI=" ",oI="½",rI="ℋ",iI="Ъ",aI="ъ",lI="⥈",cI="↔",uI="⇔",dI="↭",fI="^",hI="ℏ",pI="Ĥ",gI="ĥ",mI="♥",_I="♥",bI="…",yI="⊹",vI="𝔥",wI="ℌ",xI="ℋ",kI="⤥",EI="⤦",CI="⇿",AI="∻",SI="↩",TI="↪",OI="𝕙",MI="ℍ",RI="―",NI="─",DI="𝒽",LI="ℋ",II="ℏ",PI="Ħ",FI="ħ",BI="≎",jI="≏",zI="⁃",$I="‐",qI="Í",UI="í",HI="⁣",VI="Î",GI="î",KI="И",WI="и",ZI="İ",YI="Е",QI="е",JI="¡",XI="⇔",eP="𝔦",tP="ℑ",nP="Ì",sP="ì",oP="ⅈ",rP="⨌",iP="∭",aP="⧜",lP="℩",cP="IJ",uP="ij",dP="Ī",fP="ī",hP="ℑ",pP="ⅈ",gP="ℐ",mP="ℑ",_P="ı",bP="ℑ",yP="⊷",vP="Ƶ",wP="⇒",xP="℅",kP="∞",EP="⧝",CP="ı",AP="⊺",SP="∫",TP="∬",OP="ℤ",MP="∫",RP="⊺",NP="⋂",DP="⨗",LP="⨼",IP="⁣",PP="⁢",FP="Ё",BP="ё",jP="Į",zP="į",$P="𝕀",qP="𝕚",UP="Ι",HP="ι",VP="⨼",GP="¿",KP="𝒾",WP="ℐ",ZP="∈",YP="⋵",QP="⋹",JP="⋴",XP="⋳",eF="∈",tF="⁢",nF="Ĩ",sF="ĩ",oF="І",rF="і",iF="Ï",aF="ï",lF="Ĵ",cF="ĵ",uF="Й",dF="й",fF="𝔍",hF="𝔧",pF="ȷ",gF="𝕁",mF="𝕛",_F="𝒥",bF="𝒿",yF="Ј",vF="ј",wF="Є",xF="є",kF="Κ",EF="κ",CF="ϰ",AF="Ķ",SF="ķ",TF="К",OF="к",MF="𝔎",RF="𝔨",NF="ĸ",DF="Х",LF="х",IF="Ќ",PF="ќ",FF="𝕂",BF="𝕜",jF="𝒦",zF="𝓀",$F="⇚",qF="Ĺ",UF="ĺ",HF="⦴",VF="ℒ",GF="Λ",KF="λ",WF="⟨",ZF="⟪",YF="⦑",QF="⟨",JF="⪅",XF="ℒ",eB="«",tB="⇤",nB="⤟",sB="←",oB="↞",rB="⇐",iB="⤝",aB="↩",lB="↫",cB="⤹",uB="⥳",dB="↢",fB="⤙",hB="⤛",pB="⪫",gB="⪭",mB="⪭︀",_B="⤌",bB="⤎",yB="❲",vB="{",wB="[",xB="⦋",kB="⦏",EB="⦍",CB="Ľ",AB="ľ",SB="Ļ",TB="ļ",OB="⌈",MB="{",RB="Л",NB="л",DB="⤶",LB="“",IB="„",PB="⥧",FB="⥋",BB="↲",jB="≤",zB="≦",$B="⟨",qB="⇤",UB="←",HB="←",VB="⇐",GB="⇆",KB="↢",WB="⌈",ZB="⟦",YB="⥡",QB="⥙",JB="⇃",XB="⌊",ej="↽",tj="↼",nj="⇇",sj="↔",oj="↔",rj="⇔",ij="⇆",aj="⇋",lj="↭",cj="⥎",uj="↤",dj="⊣",fj="⥚",hj="⋋",pj="⧏",gj="⊲",mj="⊴",_j="⥑",bj="⥠",yj="⥘",vj="↿",wj="⥒",xj="↼",kj="⪋",Ej="⋚",Cj="≤",Aj="≦",Sj="⩽",Tj="⪨",Oj="⩽",Mj="⩿",Rj="⪁",Nj="⪃",Dj="⋚︀",Lj="⪓",Ij="⪅",Pj="⋖",Fj="⋚",Bj="⪋",jj="⋚",zj="≦",$j="≶",qj="≶",Uj="⪡",Hj="≲",Vj="⩽",Gj="≲",Kj="⥼",Wj="⌊",Zj="𝔏",Yj="𝔩",Qj="≶",Jj="⪑",Xj="⥢",ez="↽",tz="↼",nz="⥪",sz="▄",oz="Љ",rz="љ",iz="⇇",az="≪",lz="⋘",cz="⌞",uz="⇚",dz="⥫",fz="◺",hz="Ŀ",pz="ŀ",gz="⎰",mz="⎰",_z="⪉",bz="⪉",yz="⪇",vz="≨",wz="⪇",xz="≨",kz="⋦",Ez="⟬",Cz="⇽",Az="⟦",Sz="⟵",Tz="⟵",Oz="⟸",Mz="⟷",Rz="⟷",Nz="⟺",Dz="⟼",Lz="⟶",Iz="⟶",Pz="⟹",Fz="↫",Bz="↬",jz="⦅",zz="𝕃",$z="𝕝",qz="⨭",Uz="⨴",Hz="∗",Vz="_",Gz="↙",Kz="↘",Wz="◊",Zz="◊",Yz="⧫",Qz="(",Jz="⦓",Xz="⇆",e$="⌟",t$="⇋",n$="⥭",s$="‎",o$="⊿",r$="‹",i$="𝓁",a$="ℒ",l$="↰",c$="↰",u$="≲",d$="⪍",f$="⪏",h$="[",p$="‘",g$="‚",m$="Ł",_$="ł",b$="⪦",y$="⩹",v$="<",w$="<",x$="≪",k$="⋖",E$="⋋",C$="⋉",A$="⥶",S$="⩻",T$="◃",O$="⊴",M$="◂",R$="⦖",N$="⥊",D$="⥦",L$="≨︀",I$="≨︀",P$="¯",F$="♂",B$="✠",j$="✠",z$="↦",$$="↦",q$="↧",U$="↤",H$="↥",V$="▮",G$="⨩",K$="М",W$="м",Z$="—",Y$="∺",Q$="∡",J$=" ",X$="ℳ",eq="𝔐",tq="𝔪",nq="℧",sq="µ",oq="*",rq="⫰",iq="∣",aq="·",lq="⊟",cq="−",uq="∸",dq="⨪",fq="∓",hq="⫛",pq="…",gq="∓",mq="⊧",_q="𝕄",bq="𝕞",yq="∓",vq="𝓂",wq="ℳ",xq="∾",kq="Μ",Eq="μ",Cq="⊸",Aq="⊸",Sq="∇",Tq="Ń",Oq="ń",Mq="∠⃒",Rq="≉",Nq="⩰̸",Dq="≋̸",Lq="ʼn",Iq="≉",Pq="♮",Fq="ℕ",Bq="♮",jq=" ",zq="≎̸",$q="≏̸",qq="⩃",Uq="Ň",Hq="ň",Vq="Ņ",Gq="ņ",Kq="≇",Wq="⩭̸",Zq="⩂",Yq="Н",Qq="н",Jq="–",Xq="⤤",eU="↗",tU="⇗",nU="↗",sU="≠",oU="≐̸",rU="​",iU="​",aU="​",lU="​",cU="≢",uU="⤨",dU="≂̸",fU="≫",hU="≪",pU=` -`,gU="∄",mU="∄",_U="𝔑",bU="𝔫",yU="≧̸",vU="≱",wU="≱",xU="≧̸",kU="⩾̸",EU="⩾̸",CU="⋙̸",AU="≵",SU="≫⃒",TU="≯",OU="≯",MU="≫̸",RU="↮",NU="⇎",DU="⫲",LU="∋",IU="⋼",PU="⋺",FU="∋",BU="Њ",jU="њ",zU="↚",$U="⇍",qU="‥",UU="≦̸",HU="≰",VU="↚",GU="⇍",KU="↮",WU="⇎",ZU="≰",YU="≦̸",QU="⩽̸",JU="⩽̸",XU="≮",eH="⋘̸",tH="≴",nH="≪⃒",sH="≮",oH="⋪",rH="⋬",iH="≪̸",aH="∤",lH="⁠",cH=" ",uH="𝕟",dH="ℕ",fH="⫬",hH="¬",pH="≢",gH="≭",mH="∦",_H="∉",bH="≠",yH="≂̸",vH="∄",wH="≯",xH="≱",kH="≧̸",EH="≫̸",CH="≹",AH="⩾̸",SH="≵",TH="≎̸",OH="≏̸",MH="∉",RH="⋵̸",NH="⋹̸",DH="∉",LH="⋷",IH="⋶",PH="⧏̸",FH="⋪",BH="⋬",jH="≮",zH="≰",$H="≸",qH="≪̸",UH="⩽̸",HH="≴",VH="⪢̸",GH="⪡̸",KH="∌",WH="∌",ZH="⋾",YH="⋽",QH="⊀",JH="⪯̸",XH="⋠",eV="∌",tV="⧐̸",nV="⋫",sV="⋭",oV="⊏̸",rV="⋢",iV="⊐̸",aV="⋣",lV="⊂⃒",cV="⊈",uV="⊁",dV="⪰̸",fV="⋡",hV="≿̸",pV="⊃⃒",gV="⊉",mV="≁",_V="≄",bV="≇",yV="≉",vV="∤",wV="∦",xV="∦",kV="⫽⃥",EV="∂̸",CV="⨔",AV="⊀",SV="⋠",TV="⊀",OV="⪯̸",MV="⪯̸",RV="⤳̸",NV="↛",DV="⇏",LV="↝̸",IV="↛",PV="⇏",FV="⋫",BV="⋭",jV="⊁",zV="⋡",$V="⪰̸",qV="𝒩",UV="𝓃",HV="∤",VV="∦",GV="≁",KV="≄",WV="≄",ZV="∤",YV="∦",QV="⋢",JV="⋣",XV="⊄",eG="⫅̸",tG="⊈",nG="⊂⃒",sG="⊈",oG="⫅̸",rG="⊁",iG="⪰̸",aG="⊅",lG="⫆̸",cG="⊉",uG="⊃⃒",dG="⊉",fG="⫆̸",hG="≹",pG="Ñ",gG="ñ",mG="≸",_G="⋪",bG="⋬",yG="⋫",vG="⋭",wG="Ν",xG="ν",kG="#",EG="№",CG=" ",AG="≍⃒",SG="⊬",TG="⊭",OG="⊮",MG="⊯",RG="≥⃒",NG=">⃒",DG="⤄",LG="⧞",IG="⤂",PG="≤⃒",FG="<⃒",BG="⊴⃒",jG="⤃",zG="⊵⃒",$G="∼⃒",qG="⤣",UG="↖",HG="⇖",VG="↖",GG="⤧",KG="Ó",WG="ó",ZG="⊛",YG="Ô",QG="ô",JG="⊚",XG="О",eK="о",tK="⊝",nK="Ő",sK="ő",oK="⨸",rK="⊙",iK="⦼",aK="Œ",lK="œ",cK="⦿",uK="𝔒",dK="𝔬",fK="˛",hK="Ò",pK="ò",gK="⧁",mK="⦵",_K="Ω",bK="∮",yK="↺",vK="⦾",wK="⦻",xK="‾",kK="⧀",EK="Ō",CK="ō",AK="Ω",SK="ω",TK="Ο",OK="ο",MK="⦶",RK="⊖",NK="𝕆",DK="𝕠",LK="⦷",IK="“",PK="‘",FK="⦹",BK="⊕",jK="↻",zK="⩔",$K="∨",qK="⩝",UK="ℴ",HK="ℴ",VK="ª",GK="º",KK="⊶",WK="⩖",ZK="⩗",YK="⩛",QK="Ⓢ",JK="𝒪",XK="ℴ",eW="Ø",tW="ø",nW="⊘",sW="Õ",oW="õ",rW="⨶",iW="⨷",aW="⊗",lW="Ö",cW="ö",uW="⌽",dW="‾",fW="⏞",hW="⎴",pW="⏜",gW="¶",mW="∥",_W="∥",bW="⫳",yW="⫽",vW="∂",wW="∂",xW="П",kW="п",EW="%",CW=".",AW="‰",SW="⊥",TW="‱",OW="𝔓",MW="𝔭",RW="Φ",NW="φ",DW="ϕ",LW="ℳ",IW="☎",PW="Π",FW="π",BW="⋔",jW="ϖ",zW="ℏ",$W="ℎ",qW="ℏ",UW="⨣",HW="⊞",VW="⨢",GW="+",KW="∔",WW="⨥",ZW="⩲",YW="±",QW="±",JW="⨦",XW="⨧",eZ="±",tZ="ℌ",nZ="⨕",sZ="𝕡",oZ="ℙ",rZ="£",iZ="⪷",aZ="⪻",lZ="≺",cZ="≼",uZ="⪷",dZ="≺",fZ="≼",hZ="≺",pZ="⪯",gZ="≼",mZ="≾",_Z="⪯",bZ="⪹",yZ="⪵",vZ="⋨",wZ="⪯",xZ="⪳",kZ="≾",EZ="′",CZ="″",AZ="ℙ",SZ="⪹",TZ="⪵",OZ="⋨",MZ="∏",RZ="∏",NZ="⌮",DZ="⌒",LZ="⌓",IZ="∝",PZ="∝",FZ="∷",BZ="∝",jZ="≾",zZ="⊰",$Z="𝒫",qZ="𝓅",UZ="Ψ",HZ="ψ",VZ=" ",GZ="𝔔",KZ="𝔮",WZ="⨌",ZZ="𝕢",YZ="ℚ",QZ="⁗",JZ="𝒬",XZ="𝓆",eY="ℍ",tY="⨖",nY="?",sY="≟",oY='"',rY='"',iY="⇛",aY="∽̱",lY="Ŕ",cY="ŕ",uY="√",dY="⦳",fY="⟩",hY="⟫",pY="⦒",gY="⦥",mY="⟩",_Y="»",bY="⥵",yY="⇥",vY="⤠",wY="⤳",xY="→",kY="↠",EY="⇒",CY="⤞",AY="↪",SY="↬",TY="⥅",OY="⥴",MY="⤖",RY="↣",NY="↝",DY="⤚",LY="⤜",IY="∶",PY="ℚ",FY="⤍",BY="⤏",jY="⤐",zY="❳",$Y="}",qY="]",UY="⦌",HY="⦎",VY="⦐",GY="Ř",KY="ř",WY="Ŗ",ZY="ŗ",YY="⌉",QY="}",JY="Р",XY="р",eQ="⤷",tQ="⥩",nQ="”",sQ="”",oQ="↳",rQ="ℜ",iQ="ℛ",aQ="ℜ",lQ="ℝ",cQ="ℜ",uQ="▭",dQ="®",fQ="®",hQ="∋",pQ="⇋",gQ="⥯",mQ="⥽",_Q="⌋",bQ="𝔯",yQ="ℜ",vQ="⥤",wQ="⇁",xQ="⇀",kQ="⥬",EQ="Ρ",CQ="ρ",AQ="ϱ",SQ="⟩",TQ="⇥",OQ="→",MQ="→",RQ="⇒",NQ="⇄",DQ="↣",LQ="⌉",IQ="⟧",PQ="⥝",FQ="⥕",BQ="⇂",jQ="⌋",zQ="⇁",$Q="⇀",qQ="⇄",UQ="⇌",HQ="⇉",VQ="↝",GQ="↦",KQ="⊢",WQ="⥛",ZQ="⋌",YQ="⧐",QQ="⊳",JQ="⊵",XQ="⥏",eJ="⥜",tJ="⥔",nJ="↾",sJ="⥓",oJ="⇀",rJ="˚",iJ="≓",aJ="⇄",lJ="⇌",cJ="‏",uJ="⎱",dJ="⎱",fJ="⫮",hJ="⟭",pJ="⇾",gJ="⟧",mJ="⦆",_J="𝕣",bJ="ℝ",yJ="⨮",vJ="⨵",wJ="⥰",xJ=")",kJ="⦔",EJ="⨒",CJ="⇉",AJ="⇛",SJ="›",TJ="𝓇",OJ="ℛ",MJ="↱",RJ="↱",NJ="]",DJ="’",LJ="’",IJ="⋌",PJ="⋊",FJ="▹",BJ="⊵",jJ="▸",zJ="⧎",$J="⧴",qJ="⥨",UJ="℞",HJ="Ś",VJ="ś",GJ="‚",KJ="⪸",WJ="Š",ZJ="š",YJ="⪼",QJ="≻",JJ="≽",XJ="⪰",eX="⪴",tX="Ş",nX="ş",sX="Ŝ",oX="ŝ",rX="⪺",iX="⪶",aX="⋩",lX="⨓",cX="≿",uX="С",dX="с",fX="⊡",hX="⋅",pX="⩦",gX="⤥",mX="↘",_X="⇘",bX="↘",yX="§",vX=";",wX="⤩",xX="∖",kX="∖",EX="✶",CX="𝔖",AX="𝔰",SX="⌢",TX="♯",OX="Щ",MX="щ",RX="Ш",NX="ш",DX="↓",LX="←",IX="∣",PX="∥",FX="→",BX="↑",jX="­",zX="Σ",$X="σ",qX="ς",UX="ς",HX="∼",VX="⩪",GX="≃",KX="≃",WX="⪞",ZX="⪠",YX="⪝",QX="⪟",JX="≆",XX="⨤",eee="⥲",tee="←",nee="∘",see="∖",oee="⨳",ree="⧤",iee="∣",aee="⌣",lee="⪪",cee="⪬",uee="⪬︀",dee="Ь",fee="ь",hee="⌿",pee="⧄",gee="/",mee="𝕊",_ee="𝕤",bee="♠",yee="♠",vee="∥",wee="⊓",xee="⊓︀",kee="⊔",Eee="⊔︀",Cee="√",Aee="⊏",See="⊑",Tee="⊏",Oee="⊑",Mee="⊐",Ree="⊒",Nee="⊐",Dee="⊒",Lee="□",Iee="□",Pee="⊓",Fee="⊏",Bee="⊑",jee="⊐",zee="⊒",$ee="⊔",qee="▪",Uee="□",Hee="▪",Vee="→",Gee="𝒮",Kee="𝓈",Wee="∖",Zee="⌣",Yee="⋆",Qee="⋆",Jee="☆",Xee="★",ete="ϵ",tte="ϕ",nte="¯",ste="⊂",ote="⋐",rte="⪽",ite="⫅",ate="⊆",lte="⫃",cte="⫁",ute="⫋",dte="⊊",fte="⪿",hte="⥹",pte="⊂",gte="⋐",mte="⊆",_te="⫅",bte="⊆",yte="⊊",vte="⫋",wte="⫇",xte="⫕",kte="⫓",Ete="⪸",Cte="≻",Ate="≽",Ste="≻",Tte="⪰",Ote="≽",Mte="≿",Rte="⪰",Nte="⪺",Dte="⪶",Lte="⋩",Ite="≿",Pte="∋",Fte="∑",Bte="∑",jte="♪",zte="¹",$te="²",qte="³",Ute="⊃",Hte="⋑",Vte="⪾",Gte="⫘",Kte="⫆",Wte="⊇",Zte="⫄",Yte="⊃",Qte="⊇",Jte="⟉",Xte="⫗",ene="⥻",tne="⫂",nne="⫌",sne="⊋",one="⫀",rne="⊃",ine="⋑",ane="⊇",lne="⫆",cne="⊋",une="⫌",dne="⫈",fne="⫔",hne="⫖",pne="⤦",gne="↙",mne="⇙",_ne="↙",bne="⤪",yne="ß",vne=" ",wne="⌖",xne="Τ",kne="τ",Ene="⎴",Cne="Ť",Ane="ť",Sne="Ţ",Tne="ţ",One="Т",Mne="т",Rne="⃛",Nne="⌕",Dne="𝔗",Lne="𝔱",Ine="∴",Pne="∴",Fne="∴",Bne="Θ",jne="θ",zne="ϑ",$ne="ϑ",qne="≈",Une="∼",Hne="  ",Vne=" ",Gne=" ",Kne="≈",Wne="∼",Zne="Þ",Yne="þ",Qne="˜",Jne="∼",Xne="≃",ese="≅",tse="≈",nse="⨱",sse="⊠",ose="×",rse="⨰",ise="∭",ase="⤨",lse="⌶",cse="⫱",use="⊤",dse="𝕋",fse="𝕥",hse="⫚",pse="⤩",gse="‴",mse="™",_se="™",bse="▵",yse="▿",vse="◃",wse="⊴",xse="≜",kse="▹",Ese="⊵",Cse="◬",Ase="≜",Sse="⨺",Tse="⃛",Ose="⨹",Mse="⧍",Rse="⨻",Nse="⏢",Dse="𝒯",Lse="𝓉",Ise="Ц",Pse="ц",Fse="Ћ",Bse="ћ",jse="Ŧ",zse="ŧ",$se="≬",qse="↞",Use="↠",Hse="Ú",Vse="ú",Gse="↑",Kse="↟",Wse="⇑",Zse="⥉",Yse="Ў",Qse="ў",Jse="Ŭ",Xse="ŭ",eoe="Û",toe="û",noe="У",soe="у",ooe="⇅",roe="Ű",ioe="ű",aoe="⥮",loe="⥾",coe="𝔘",uoe="𝔲",doe="Ù",foe="ù",hoe="⥣",poe="↿",goe="↾",moe="▀",_oe="⌜",boe="⌜",yoe="⌏",voe="◸",woe="Ū",xoe="ū",koe="¨",Eoe="_",Coe="⏟",Aoe="⎵",Soe="⏝",Toe="⋃",Ooe="⊎",Moe="Ų",Roe="ų",Noe="𝕌",Doe="𝕦",Loe="⤒",Ioe="↑",Poe="↑",Foe="⇑",Boe="⇅",joe="↕",zoe="↕",$oe="⇕",qoe="⥮",Uoe="↿",Hoe="↾",Voe="⊎",Goe="↖",Koe="↗",Woe="υ",Zoe="ϒ",Yoe="ϒ",Qoe="Υ",Joe="υ",Xoe="↥",ere="⊥",tre="⇈",nre="⌝",sre="⌝",ore="⌎",rre="Ů",ire="ů",are="◹",lre="𝒰",cre="𝓊",ure="⋰",dre="Ũ",fre="ũ",hre="▵",pre="▴",gre="⇈",mre="Ü",_re="ü",bre="⦧",yre="⦜",vre="ϵ",wre="ϰ",xre="∅",kre="ϕ",Ere="ϖ",Cre="∝",Are="↕",Sre="⇕",Tre="ϱ",Ore="ς",Mre="⊊︀",Rre="⫋︀",Nre="⊋︀",Dre="⫌︀",Lre="ϑ",Ire="⊲",Pre="⊳",Fre="⫨",Bre="⫫",jre="⫩",zre="В",$re="в",qre="⊢",Ure="⊨",Hre="⊩",Vre="⊫",Gre="⫦",Kre="⊻",Wre="∨",Zre="⋁",Yre="≚",Qre="⋮",Jre="|",Xre="‖",eie="|",tie="‖",nie="∣",sie="|",oie="❘",rie="≀",iie=" ",aie="𝔙",lie="𝔳",cie="⊲",uie="⊂⃒",die="⊃⃒",fie="𝕍",hie="𝕧",pie="∝",gie="⊳",mie="𝒱",_ie="𝓋",bie="⫋︀",yie="⊊︀",vie="⫌︀",wie="⊋︀",xie="⊪",kie="⦚",Eie="Ŵ",Cie="ŵ",Aie="⩟",Sie="∧",Tie="⋀",Oie="≙",Mie="℘",Rie="𝔚",Nie="𝔴",Die="𝕎",Lie="𝕨",Iie="℘",Pie="≀",Fie="≀",Bie="𝒲",jie="𝓌",zie="⋂",$ie="◯",qie="⋃",Uie="▽",Hie="𝔛",Vie="𝔵",Gie="⟷",Kie="⟺",Wie="Ξ",Zie="ξ",Yie="⟵",Qie="⟸",Jie="⟼",Xie="⋻",eae="⨀",tae="𝕏",nae="𝕩",sae="⨁",oae="⨂",rae="⟶",iae="⟹",aae="𝒳",lae="𝓍",cae="⨆",uae="⨄",dae="△",fae="⋁",hae="⋀",pae="Ý",gae="ý",mae="Я",_ae="я",bae="Ŷ",yae="ŷ",vae="Ы",wae="ы",xae="¥",kae="𝔜",Eae="𝔶",Cae="Ї",Aae="ї",Sae="𝕐",Tae="𝕪",Oae="𝒴",Mae="𝓎",Rae="Ю",Nae="ю",Dae="ÿ",Lae="Ÿ",Iae="Ź",Pae="ź",Fae="Ž",Bae="ž",jae="З",zae="з",$ae="Ż",qae="ż",Uae="ℨ",Hae="​",Vae="Ζ",Gae="ζ",Kae="𝔷",Wae="ℨ",Zae="Ж",Yae="ж",Qae="⇝",Jae="𝕫",Xae="ℤ",ele="𝒵",tle="𝓏",nle="‍",sle="‌",ole={Aacute:$3,aacute:q3,Abreve:U3,abreve:H3,ac:V3,acd:G3,acE:K3,Acirc:W3,acirc:Z3,acute:Y3,Acy:Q3,acy:J3,AElig:X3,aelig:eS,af:tS,Afr:nS,afr:sS,Agrave:oS,agrave:rS,alefsym:iS,aleph:aS,Alpha:lS,alpha:cS,Amacr:uS,amacr:dS,amalg:fS,amp:hS,AMP:pS,andand:gS,And:mS,and:_S,andd:bS,andslope:yS,andv:vS,ang:wS,ange:xS,angle:kS,angmsdaa:ES,angmsdab:CS,angmsdac:AS,angmsdad:SS,angmsdae:TS,angmsdaf:OS,angmsdag:MS,angmsdah:RS,angmsd:NS,angrt:DS,angrtvb:LS,angrtvbd:IS,angsph:PS,angst:FS,angzarr:BS,Aogon:jS,aogon:zS,Aopf:$S,aopf:qS,apacir:US,ap:HS,apE:VS,ape:GS,apid:KS,apos:WS,ApplyFunction:ZS,approx:YS,approxeq:QS,Aring:JS,aring:XS,Ascr:eT,ascr:tT,Assign:nT,ast:sT,asymp:oT,asympeq:rT,Atilde:iT,atilde:aT,Auml:lT,auml:cT,awconint:uT,awint:dT,backcong:fT,backepsilon:hT,backprime:pT,backsim:gT,backsimeq:mT,Backslash:_T,Barv:bT,barvee:yT,barwed:vT,Barwed:wT,barwedge:xT,bbrk:kT,bbrktbrk:ET,bcong:CT,Bcy:AT,bcy:ST,bdquo:TT,becaus:OT,because:MT,Because:RT,bemptyv:NT,bepsi:DT,bernou:LT,Bernoullis:IT,Beta:PT,beta:FT,beth:BT,between:jT,Bfr:zT,bfr:$T,bigcap:qT,bigcirc:UT,bigcup:HT,bigodot:VT,bigoplus:GT,bigotimes:KT,bigsqcup:WT,bigstar:ZT,bigtriangledown:YT,bigtriangleup:QT,biguplus:JT,bigvee:XT,bigwedge:e8,bkarow:t8,blacklozenge:n8,blacksquare:s8,blacktriangle:o8,blacktriangledown:r8,blacktriangleleft:i8,blacktriangleright:a8,blank:l8,blk12:c8,blk14:u8,blk34:d8,block:f8,bne:h8,bnequiv:p8,bNot:g8,bnot:m8,Bopf:_8,bopf:b8,bot:y8,bottom:v8,bowtie:w8,boxbox:x8,boxdl:k8,boxdL:E8,boxDl:C8,boxDL:A8,boxdr:S8,boxdR:T8,boxDr:O8,boxDR:M8,boxh:R8,boxH:N8,boxhd:D8,boxHd:L8,boxhD:I8,boxHD:P8,boxhu:F8,boxHu:B8,boxhU:j8,boxHU:z8,boxminus:$8,boxplus:q8,boxtimes:U8,boxul:H8,boxuL:V8,boxUl:G8,boxUL:K8,boxur:W8,boxuR:Z8,boxUr:Y8,boxUR:Q8,boxv:J8,boxV:X8,boxvh:e9,boxvH:t9,boxVh:n9,boxVH:s9,boxvl:o9,boxvL:r9,boxVl:i9,boxVL:a9,boxvr:l9,boxvR:c9,boxVr:u9,boxVR:d9,bprime:f9,breve:h9,Breve:p9,brvbar:g9,bscr:m9,Bscr:_9,bsemi:b9,bsim:y9,bsime:v9,bsolb:w9,bsol:x9,bsolhsub:k9,bull:E9,bullet:C9,bump:A9,bumpE:S9,bumpe:T9,Bumpeq:O9,bumpeq:M9,Cacute:R9,cacute:N9,capand:D9,capbrcup:L9,capcap:I9,cap:P9,Cap:F9,capcup:B9,capdot:j9,CapitalDifferentialD:z9,caps:$9,caret:q9,caron:U9,Cayleys:H9,ccaps:V9,Ccaron:G9,ccaron:K9,Ccedil:W9,ccedil:Z9,Ccirc:Y9,ccirc:Q9,Cconint:J9,ccups:X9,ccupssm:e6,Cdot:t6,cdot:n6,cedil:s6,Cedilla:o6,cemptyv:r6,cent:i6,centerdot:a6,CenterDot:l6,cfr:c6,Cfr:u6,CHcy:d6,chcy:f6,check:h6,checkmark:p6,Chi:g6,chi:m6,circ:_6,circeq:b6,circlearrowleft:y6,circlearrowright:v6,circledast:w6,circledcirc:x6,circleddash:k6,CircleDot:E6,circledR:C6,circledS:A6,CircleMinus:S6,CirclePlus:T6,CircleTimes:O6,cir:M6,cirE:R6,cire:N6,cirfnint:D6,cirmid:L6,cirscir:I6,ClockwiseContourIntegral:P6,CloseCurlyDoubleQuote:F6,CloseCurlyQuote:B6,clubs:j6,clubsuit:z6,colon:$6,Colon:q6,Colone:U6,colone:H6,coloneq:V6,comma:G6,commat:K6,comp:W6,compfn:Z6,complement:Y6,complexes:Q6,cong:J6,congdot:X6,Congruent:eO,conint:tO,Conint:nO,ContourIntegral:sO,copf:oO,Copf:rO,coprod:iO,Coproduct:aO,copy:lO,COPY:cO,copysr:uO,CounterClockwiseContourIntegral:dO,crarr:fO,cross:hO,Cross:pO,Cscr:gO,cscr:mO,csub:_O,csube:bO,csup:yO,csupe:vO,ctdot:wO,cudarrl:xO,cudarrr:kO,cuepr:EO,cuesc:CO,cularr:AO,cularrp:SO,cupbrcap:TO,cupcap:OO,CupCap:MO,cup:RO,Cup:NO,cupcup:DO,cupdot:LO,cupor:IO,cups:PO,curarr:FO,curarrm:BO,curlyeqprec:jO,curlyeqsucc:zO,curlyvee:$O,curlywedge:qO,curren:UO,curvearrowleft:HO,curvearrowright:VO,cuvee:GO,cuwed:KO,cwconint:WO,cwint:ZO,cylcty:YO,dagger:QO,Dagger:JO,daleth:XO,darr:eM,Darr:tM,dArr:nM,dash:sM,Dashv:oM,dashv:rM,dbkarow:iM,dblac:aM,Dcaron:lM,dcaron:cM,Dcy:uM,dcy:dM,ddagger:fM,ddarr:hM,DD:pM,dd:gM,DDotrahd:mM,ddotseq:_M,deg:bM,Del:yM,Delta:vM,delta:wM,demptyv:xM,dfisht:kM,Dfr:EM,dfr:CM,dHar:AM,dharl:SM,dharr:TM,DiacriticalAcute:OM,DiacriticalDot:MM,DiacriticalDoubleAcute:RM,DiacriticalGrave:NM,DiacriticalTilde:DM,diam:LM,diamond:IM,Diamond:PM,diamondsuit:FM,diams:BM,die:jM,DifferentialD:zM,digamma:$M,disin:qM,div:UM,divide:HM,divideontimes:VM,divonx:GM,DJcy:KM,djcy:WM,dlcorn:ZM,dlcrop:YM,dollar:QM,Dopf:JM,dopf:XM,Dot:eR,dot:tR,DotDot:nR,doteq:sR,doteqdot:oR,DotEqual:rR,dotminus:iR,dotplus:aR,dotsquare:lR,doublebarwedge:cR,DoubleContourIntegral:uR,DoubleDot:dR,DoubleDownArrow:fR,DoubleLeftArrow:hR,DoubleLeftRightArrow:pR,DoubleLeftTee:gR,DoubleLongLeftArrow:mR,DoubleLongLeftRightArrow:_R,DoubleLongRightArrow:bR,DoubleRightArrow:yR,DoubleRightTee:vR,DoubleUpArrow:wR,DoubleUpDownArrow:xR,DoubleVerticalBar:kR,DownArrowBar:ER,downarrow:CR,DownArrow:AR,Downarrow:SR,DownArrowUpArrow:TR,DownBreve:OR,downdownarrows:MR,downharpoonleft:RR,downharpoonright:NR,DownLeftRightVector:DR,DownLeftTeeVector:LR,DownLeftVectorBar:IR,DownLeftVector:PR,DownRightTeeVector:FR,DownRightVectorBar:BR,DownRightVector:jR,DownTeeArrow:zR,DownTee:$R,drbkarow:qR,drcorn:UR,drcrop:HR,Dscr:VR,dscr:GR,DScy:KR,dscy:WR,dsol:ZR,Dstrok:YR,dstrok:QR,dtdot:JR,dtri:XR,dtrif:e7,duarr:t7,duhar:n7,dwangle:s7,DZcy:o7,dzcy:r7,dzigrarr:i7,Eacute:a7,eacute:l7,easter:c7,Ecaron:u7,ecaron:d7,Ecirc:f7,ecirc:h7,ecir:p7,ecolon:g7,Ecy:m7,ecy:_7,eDDot:b7,Edot:y7,edot:v7,eDot:w7,ee:x7,efDot:k7,Efr:E7,efr:C7,eg:A7,Egrave:S7,egrave:T7,egs:O7,egsdot:M7,el:R7,Element:N7,elinters:D7,ell:L7,els:I7,elsdot:P7,Emacr:F7,emacr:B7,empty:j7,emptyset:z7,EmptySmallSquare:$7,emptyv:q7,EmptyVerySmallSquare:U7,emsp13:H7,emsp14:V7,emsp:G7,ENG:K7,eng:W7,ensp:Z7,Eogon:Y7,eogon:Q7,Eopf:J7,eopf:X7,epar:eN,eparsl:tN,eplus:nN,epsi:sN,Epsilon:oN,epsilon:rN,epsiv:iN,eqcirc:aN,eqcolon:lN,eqsim:cN,eqslantgtr:uN,eqslantless:dN,Equal:fN,equals:hN,EqualTilde:pN,equest:gN,Equilibrium:mN,equiv:_N,equivDD:bN,eqvparsl:yN,erarr:vN,erDot:wN,escr:xN,Escr:kN,esdot:EN,Esim:CN,esim:AN,Eta:SN,eta:TN,ETH:ON,eth:MN,Euml:RN,euml:NN,euro:DN,excl:LN,exist:IN,Exists:PN,expectation:FN,exponentiale:BN,ExponentialE:jN,fallingdotseq:zN,Fcy:$N,fcy:qN,female:UN,ffilig:HN,fflig:VN,ffllig:GN,Ffr:KN,ffr:WN,filig:ZN,FilledSmallSquare:YN,FilledVerySmallSquare:QN,fjlig:JN,flat:XN,fllig:eD,fltns:tD,fnof:nD,Fopf:sD,fopf:oD,forall:rD,ForAll:iD,fork:aD,forkv:lD,Fouriertrf:cD,fpartint:uD,frac12:dD,frac13:fD,frac14:hD,frac15:pD,frac16:gD,frac18:mD,frac23:_D,frac25:bD,frac34:yD,frac35:vD,frac38:wD,frac45:xD,frac56:kD,frac58:ED,frac78:CD,frasl:AD,frown:SD,fscr:TD,Fscr:OD,gacute:MD,Gamma:RD,gamma:ND,Gammad:DD,gammad:LD,gap:ID,Gbreve:PD,gbreve:FD,Gcedil:BD,Gcirc:jD,gcirc:zD,Gcy:$D,gcy:qD,Gdot:UD,gdot:HD,ge:VD,gE:GD,gEl:KD,gel:WD,geq:ZD,geqq:YD,geqslant:QD,gescc:JD,ges:XD,gesdot:eL,gesdoto:tL,gesdotol:nL,gesl:sL,gesles:oL,Gfr:rL,gfr:iL,gg:aL,Gg:lL,ggg:cL,gimel:uL,GJcy:dL,gjcy:fL,gla:hL,gl:pL,glE:gL,glj:mL,gnap:_L,gnapprox:bL,gne:yL,gnE:vL,gneq:wL,gneqq:xL,gnsim:kL,Gopf:EL,gopf:CL,grave:AL,GreaterEqual:SL,GreaterEqualLess:TL,GreaterFullEqual:OL,GreaterGreater:ML,GreaterLess:RL,GreaterSlantEqual:NL,GreaterTilde:DL,Gscr:LL,gscr:IL,gsim:PL,gsime:FL,gsiml:BL,gtcc:jL,gtcir:zL,gt:$L,GT:qL,Gt:UL,gtdot:HL,gtlPar:VL,gtquest:GL,gtrapprox:KL,gtrarr:WL,gtrdot:ZL,gtreqless:YL,gtreqqless:QL,gtrless:JL,gtrsim:XL,gvertneqq:eI,gvnE:tI,Hacek:nI,hairsp:sI,half:oI,hamilt:rI,HARDcy:iI,hardcy:aI,harrcir:lI,harr:cI,hArr:uI,harrw:dI,Hat:fI,hbar:hI,Hcirc:pI,hcirc:gI,hearts:mI,heartsuit:_I,hellip:bI,hercon:yI,hfr:vI,Hfr:wI,HilbertSpace:xI,hksearow:kI,hkswarow:EI,hoarr:CI,homtht:AI,hookleftarrow:SI,hookrightarrow:TI,hopf:OI,Hopf:MI,horbar:RI,HorizontalLine:NI,hscr:DI,Hscr:LI,hslash:II,Hstrok:PI,hstrok:FI,HumpDownHump:BI,HumpEqual:jI,hybull:zI,hyphen:$I,Iacute:qI,iacute:UI,ic:HI,Icirc:VI,icirc:GI,Icy:KI,icy:WI,Idot:ZI,IEcy:YI,iecy:QI,iexcl:JI,iff:XI,ifr:eP,Ifr:tP,Igrave:nP,igrave:sP,ii:oP,iiiint:rP,iiint:iP,iinfin:aP,iiota:lP,IJlig:cP,ijlig:uP,Imacr:dP,imacr:fP,image:hP,ImaginaryI:pP,imagline:gP,imagpart:mP,imath:_P,Im:bP,imof:yP,imped:vP,Implies:wP,incare:xP,in:"∈",infin:kP,infintie:EP,inodot:CP,intcal:AP,int:SP,Int:TP,integers:OP,Integral:MP,intercal:RP,Intersection:NP,intlarhk:DP,intprod:LP,InvisibleComma:IP,InvisibleTimes:PP,IOcy:FP,iocy:BP,Iogon:jP,iogon:zP,Iopf:$P,iopf:qP,Iota:UP,iota:HP,iprod:VP,iquest:GP,iscr:KP,Iscr:WP,isin:ZP,isindot:YP,isinE:QP,isins:JP,isinsv:XP,isinv:eF,it:tF,Itilde:nF,itilde:sF,Iukcy:oF,iukcy:rF,Iuml:iF,iuml:aF,Jcirc:lF,jcirc:cF,Jcy:uF,jcy:dF,Jfr:fF,jfr:hF,jmath:pF,Jopf:gF,jopf:mF,Jscr:_F,jscr:bF,Jsercy:yF,jsercy:vF,Jukcy:wF,jukcy:xF,Kappa:kF,kappa:EF,kappav:CF,Kcedil:AF,kcedil:SF,Kcy:TF,kcy:OF,Kfr:MF,kfr:RF,kgreen:NF,KHcy:DF,khcy:LF,KJcy:IF,kjcy:PF,Kopf:FF,kopf:BF,Kscr:jF,kscr:zF,lAarr:$F,Lacute:qF,lacute:UF,laemptyv:HF,lagran:VF,Lambda:GF,lambda:KF,lang:WF,Lang:ZF,langd:YF,langle:QF,lap:JF,Laplacetrf:XF,laquo:eB,larrb:tB,larrbfs:nB,larr:sB,Larr:oB,lArr:rB,larrfs:iB,larrhk:aB,larrlp:lB,larrpl:cB,larrsim:uB,larrtl:dB,latail:fB,lAtail:hB,lat:pB,late:gB,lates:mB,lbarr:_B,lBarr:bB,lbbrk:yB,lbrace:vB,lbrack:wB,lbrke:xB,lbrksld:kB,lbrkslu:EB,Lcaron:CB,lcaron:AB,Lcedil:SB,lcedil:TB,lceil:OB,lcub:MB,Lcy:RB,lcy:NB,ldca:DB,ldquo:LB,ldquor:IB,ldrdhar:PB,ldrushar:FB,ldsh:BB,le:jB,lE:zB,LeftAngleBracket:$B,LeftArrowBar:qB,leftarrow:UB,LeftArrow:HB,Leftarrow:VB,LeftArrowRightArrow:GB,leftarrowtail:KB,LeftCeiling:WB,LeftDoubleBracket:ZB,LeftDownTeeVector:YB,LeftDownVectorBar:QB,LeftDownVector:JB,LeftFloor:XB,leftharpoondown:ej,leftharpoonup:tj,leftleftarrows:nj,leftrightarrow:sj,LeftRightArrow:oj,Leftrightarrow:rj,leftrightarrows:ij,leftrightharpoons:aj,leftrightsquigarrow:lj,LeftRightVector:cj,LeftTeeArrow:uj,LeftTee:dj,LeftTeeVector:fj,leftthreetimes:hj,LeftTriangleBar:pj,LeftTriangle:gj,LeftTriangleEqual:mj,LeftUpDownVector:_j,LeftUpTeeVector:bj,LeftUpVectorBar:yj,LeftUpVector:vj,LeftVectorBar:wj,LeftVector:xj,lEg:kj,leg:Ej,leq:Cj,leqq:Aj,leqslant:Sj,lescc:Tj,les:Oj,lesdot:Mj,lesdoto:Rj,lesdotor:Nj,lesg:Dj,lesges:Lj,lessapprox:Ij,lessdot:Pj,lesseqgtr:Fj,lesseqqgtr:Bj,LessEqualGreater:jj,LessFullEqual:zj,LessGreater:$j,lessgtr:qj,LessLess:Uj,lesssim:Hj,LessSlantEqual:Vj,LessTilde:Gj,lfisht:Kj,lfloor:Wj,Lfr:Zj,lfr:Yj,lg:Qj,lgE:Jj,lHar:Xj,lhard:ez,lharu:tz,lharul:nz,lhblk:sz,LJcy:oz,ljcy:rz,llarr:iz,ll:az,Ll:lz,llcorner:cz,Lleftarrow:uz,llhard:dz,lltri:fz,Lmidot:hz,lmidot:pz,lmoustache:gz,lmoust:mz,lnap:_z,lnapprox:bz,lne:yz,lnE:vz,lneq:wz,lneqq:xz,lnsim:kz,loang:Ez,loarr:Cz,lobrk:Az,longleftarrow:Sz,LongLeftArrow:Tz,Longleftarrow:Oz,longleftrightarrow:Mz,LongLeftRightArrow:Rz,Longleftrightarrow:Nz,longmapsto:Dz,longrightarrow:Lz,LongRightArrow:Iz,Longrightarrow:Pz,looparrowleft:Fz,looparrowright:Bz,lopar:jz,Lopf:zz,lopf:$z,loplus:qz,lotimes:Uz,lowast:Hz,lowbar:Vz,LowerLeftArrow:Gz,LowerRightArrow:Kz,loz:Wz,lozenge:Zz,lozf:Yz,lpar:Qz,lparlt:Jz,lrarr:Xz,lrcorner:e$,lrhar:t$,lrhard:n$,lrm:s$,lrtri:o$,lsaquo:r$,lscr:i$,Lscr:a$,lsh:l$,Lsh:c$,lsim:u$,lsime:d$,lsimg:f$,lsqb:h$,lsquo:p$,lsquor:g$,Lstrok:m$,lstrok:_$,ltcc:b$,ltcir:y$,lt:v$,LT:w$,Lt:x$,ltdot:k$,lthree:E$,ltimes:C$,ltlarr:A$,ltquest:S$,ltri:T$,ltrie:O$,ltrif:M$,ltrPar:R$,lurdshar:N$,luruhar:D$,lvertneqq:L$,lvnE:I$,macr:P$,male:F$,malt:B$,maltese:j$,Map:"⤅",map:z$,mapsto:$$,mapstodown:q$,mapstoleft:U$,mapstoup:H$,marker:V$,mcomma:G$,Mcy:K$,mcy:W$,mdash:Z$,mDDot:Y$,measuredangle:Q$,MediumSpace:J$,Mellintrf:X$,Mfr:eq,mfr:tq,mho:nq,micro:sq,midast:oq,midcir:rq,mid:iq,middot:aq,minusb:lq,minus:cq,minusd:uq,minusdu:dq,MinusPlus:fq,mlcp:hq,mldr:pq,mnplus:gq,models:mq,Mopf:_q,mopf:bq,mp:yq,mscr:vq,Mscr:wq,mstpos:xq,Mu:kq,mu:Eq,multimap:Cq,mumap:Aq,nabla:Sq,Nacute:Tq,nacute:Oq,nang:Mq,nap:Rq,napE:Nq,napid:Dq,napos:Lq,napprox:Iq,natural:Pq,naturals:Fq,natur:Bq,nbsp:jq,nbump:zq,nbumpe:$q,ncap:qq,Ncaron:Uq,ncaron:Hq,Ncedil:Vq,ncedil:Gq,ncong:Kq,ncongdot:Wq,ncup:Zq,Ncy:Yq,ncy:Qq,ndash:Jq,nearhk:Xq,nearr:eU,neArr:tU,nearrow:nU,ne:sU,nedot:oU,NegativeMediumSpace:rU,NegativeThickSpace:iU,NegativeThinSpace:aU,NegativeVeryThinSpace:lU,nequiv:cU,nesear:uU,nesim:dU,NestedGreaterGreater:fU,NestedLessLess:hU,NewLine:pU,nexist:gU,nexists:mU,Nfr:_U,nfr:bU,ngE:yU,nge:vU,ngeq:wU,ngeqq:xU,ngeqslant:kU,nges:EU,nGg:CU,ngsim:AU,nGt:SU,ngt:TU,ngtr:OU,nGtv:MU,nharr:RU,nhArr:NU,nhpar:DU,ni:LU,nis:IU,nisd:PU,niv:FU,NJcy:BU,njcy:jU,nlarr:zU,nlArr:$U,nldr:qU,nlE:UU,nle:HU,nleftarrow:VU,nLeftarrow:GU,nleftrightarrow:KU,nLeftrightarrow:WU,nleq:ZU,nleqq:YU,nleqslant:QU,nles:JU,nless:XU,nLl:eH,nlsim:tH,nLt:nH,nlt:sH,nltri:oH,nltrie:rH,nLtv:iH,nmid:aH,NoBreak:lH,NonBreakingSpace:cH,nopf:uH,Nopf:dH,Not:fH,not:hH,NotCongruent:pH,NotCupCap:gH,NotDoubleVerticalBar:mH,NotElement:_H,NotEqual:bH,NotEqualTilde:yH,NotExists:vH,NotGreater:wH,NotGreaterEqual:xH,NotGreaterFullEqual:kH,NotGreaterGreater:EH,NotGreaterLess:CH,NotGreaterSlantEqual:AH,NotGreaterTilde:SH,NotHumpDownHump:TH,NotHumpEqual:OH,notin:MH,notindot:RH,notinE:NH,notinva:DH,notinvb:LH,notinvc:IH,NotLeftTriangleBar:PH,NotLeftTriangle:FH,NotLeftTriangleEqual:BH,NotLess:jH,NotLessEqual:zH,NotLessGreater:$H,NotLessLess:qH,NotLessSlantEqual:UH,NotLessTilde:HH,NotNestedGreaterGreater:VH,NotNestedLessLess:GH,notni:KH,notniva:WH,notnivb:ZH,notnivc:YH,NotPrecedes:QH,NotPrecedesEqual:JH,NotPrecedesSlantEqual:XH,NotReverseElement:eV,NotRightTriangleBar:tV,NotRightTriangle:nV,NotRightTriangleEqual:sV,NotSquareSubset:oV,NotSquareSubsetEqual:rV,NotSquareSuperset:iV,NotSquareSupersetEqual:aV,NotSubset:lV,NotSubsetEqual:cV,NotSucceeds:uV,NotSucceedsEqual:dV,NotSucceedsSlantEqual:fV,NotSucceedsTilde:hV,NotSuperset:pV,NotSupersetEqual:gV,NotTilde:mV,NotTildeEqual:_V,NotTildeFullEqual:bV,NotTildeTilde:yV,NotVerticalBar:vV,nparallel:wV,npar:xV,nparsl:kV,npart:EV,npolint:CV,npr:AV,nprcue:SV,nprec:TV,npreceq:OV,npre:MV,nrarrc:RV,nrarr:NV,nrArr:DV,nrarrw:LV,nrightarrow:IV,nRightarrow:PV,nrtri:FV,nrtrie:BV,nsc:jV,nsccue:zV,nsce:$V,Nscr:qV,nscr:UV,nshortmid:HV,nshortparallel:VV,nsim:GV,nsime:KV,nsimeq:WV,nsmid:ZV,nspar:YV,nsqsube:QV,nsqsupe:JV,nsub:XV,nsubE:eG,nsube:tG,nsubset:nG,nsubseteq:sG,nsubseteqq:oG,nsucc:rG,nsucceq:iG,nsup:aG,nsupE:lG,nsupe:cG,nsupset:uG,nsupseteq:dG,nsupseteqq:fG,ntgl:hG,Ntilde:pG,ntilde:gG,ntlg:mG,ntriangleleft:_G,ntrianglelefteq:bG,ntriangleright:yG,ntrianglerighteq:vG,Nu:wG,nu:xG,num:kG,numero:EG,numsp:CG,nvap:AG,nvdash:SG,nvDash:TG,nVdash:OG,nVDash:MG,nvge:RG,nvgt:NG,nvHarr:DG,nvinfin:LG,nvlArr:IG,nvle:PG,nvlt:FG,nvltrie:BG,nvrArr:jG,nvrtrie:zG,nvsim:$G,nwarhk:qG,nwarr:UG,nwArr:HG,nwarrow:VG,nwnear:GG,Oacute:KG,oacute:WG,oast:ZG,Ocirc:YG,ocirc:QG,ocir:JG,Ocy:XG,ocy:eK,odash:tK,Odblac:nK,odblac:sK,odiv:oK,odot:rK,odsold:iK,OElig:aK,oelig:lK,ofcir:cK,Ofr:uK,ofr:dK,ogon:fK,Ograve:hK,ograve:pK,ogt:gK,ohbar:mK,ohm:_K,oint:bK,olarr:yK,olcir:vK,olcross:wK,oline:xK,olt:kK,Omacr:EK,omacr:CK,Omega:AK,omega:SK,Omicron:TK,omicron:OK,omid:MK,ominus:RK,Oopf:NK,oopf:DK,opar:LK,OpenCurlyDoubleQuote:IK,OpenCurlyQuote:PK,operp:FK,oplus:BK,orarr:jK,Or:zK,or:$K,ord:qK,order:UK,orderof:HK,ordf:VK,ordm:GK,origof:KK,oror:WK,orslope:ZK,orv:YK,oS:QK,Oscr:JK,oscr:XK,Oslash:eW,oslash:tW,osol:nW,Otilde:sW,otilde:oW,otimesas:rW,Otimes:iW,otimes:aW,Ouml:lW,ouml:cW,ovbar:uW,OverBar:dW,OverBrace:fW,OverBracket:hW,OverParenthesis:pW,para:gW,parallel:mW,par:_W,parsim:bW,parsl:yW,part:vW,PartialD:wW,Pcy:xW,pcy:kW,percnt:EW,period:CW,permil:AW,perp:SW,pertenk:TW,Pfr:OW,pfr:MW,Phi:RW,phi:NW,phiv:DW,phmmat:LW,phone:IW,Pi:PW,pi:FW,pitchfork:BW,piv:jW,planck:zW,planckh:$W,plankv:qW,plusacir:UW,plusb:HW,pluscir:VW,plus:GW,plusdo:KW,plusdu:WW,pluse:ZW,PlusMinus:YW,plusmn:QW,plussim:JW,plustwo:XW,pm:eZ,Poincareplane:tZ,pointint:nZ,popf:sZ,Popf:oZ,pound:rZ,prap:iZ,Pr:aZ,pr:lZ,prcue:cZ,precapprox:uZ,prec:dZ,preccurlyeq:fZ,Precedes:hZ,PrecedesEqual:pZ,PrecedesSlantEqual:gZ,PrecedesTilde:mZ,preceq:_Z,precnapprox:bZ,precneqq:yZ,precnsim:vZ,pre:wZ,prE:xZ,precsim:kZ,prime:EZ,Prime:CZ,primes:AZ,prnap:SZ,prnE:TZ,prnsim:OZ,prod:MZ,Product:RZ,profalar:NZ,profline:DZ,profsurf:LZ,prop:IZ,Proportional:PZ,Proportion:FZ,propto:BZ,prsim:jZ,prurel:zZ,Pscr:$Z,pscr:qZ,Psi:UZ,psi:HZ,puncsp:VZ,Qfr:GZ,qfr:KZ,qint:WZ,qopf:ZZ,Qopf:YZ,qprime:QZ,Qscr:JZ,qscr:XZ,quaternions:eY,quatint:tY,quest:nY,questeq:sY,quot:oY,QUOT:rY,rAarr:iY,race:aY,Racute:lY,racute:cY,radic:uY,raemptyv:dY,rang:fY,Rang:hY,rangd:pY,range:gY,rangle:mY,raquo:_Y,rarrap:bY,rarrb:yY,rarrbfs:vY,rarrc:wY,rarr:xY,Rarr:kY,rArr:EY,rarrfs:CY,rarrhk:AY,rarrlp:SY,rarrpl:TY,rarrsim:OY,Rarrtl:MY,rarrtl:RY,rarrw:NY,ratail:DY,rAtail:LY,ratio:IY,rationals:PY,rbarr:FY,rBarr:BY,RBarr:jY,rbbrk:zY,rbrace:$Y,rbrack:qY,rbrke:UY,rbrksld:HY,rbrkslu:VY,Rcaron:GY,rcaron:KY,Rcedil:WY,rcedil:ZY,rceil:YY,rcub:QY,Rcy:JY,rcy:XY,rdca:eQ,rdldhar:tQ,rdquo:nQ,rdquor:sQ,rdsh:oQ,real:rQ,realine:iQ,realpart:aQ,reals:lQ,Re:cQ,rect:uQ,reg:dQ,REG:fQ,ReverseElement:hQ,ReverseEquilibrium:pQ,ReverseUpEquilibrium:gQ,rfisht:mQ,rfloor:_Q,rfr:bQ,Rfr:yQ,rHar:vQ,rhard:wQ,rharu:xQ,rharul:kQ,Rho:EQ,rho:CQ,rhov:AQ,RightAngleBracket:SQ,RightArrowBar:TQ,rightarrow:OQ,RightArrow:MQ,Rightarrow:RQ,RightArrowLeftArrow:NQ,rightarrowtail:DQ,RightCeiling:LQ,RightDoubleBracket:IQ,RightDownTeeVector:PQ,RightDownVectorBar:FQ,RightDownVector:BQ,RightFloor:jQ,rightharpoondown:zQ,rightharpoonup:$Q,rightleftarrows:qQ,rightleftharpoons:UQ,rightrightarrows:HQ,rightsquigarrow:VQ,RightTeeArrow:GQ,RightTee:KQ,RightTeeVector:WQ,rightthreetimes:ZQ,RightTriangleBar:YQ,RightTriangle:QQ,RightTriangleEqual:JQ,RightUpDownVector:XQ,RightUpTeeVector:eJ,RightUpVectorBar:tJ,RightUpVector:nJ,RightVectorBar:sJ,RightVector:oJ,ring:rJ,risingdotseq:iJ,rlarr:aJ,rlhar:lJ,rlm:cJ,rmoustache:uJ,rmoust:dJ,rnmid:fJ,roang:hJ,roarr:pJ,robrk:gJ,ropar:mJ,ropf:_J,Ropf:bJ,roplus:yJ,rotimes:vJ,RoundImplies:wJ,rpar:xJ,rpargt:kJ,rppolint:EJ,rrarr:CJ,Rrightarrow:AJ,rsaquo:SJ,rscr:TJ,Rscr:OJ,rsh:MJ,Rsh:RJ,rsqb:NJ,rsquo:DJ,rsquor:LJ,rthree:IJ,rtimes:PJ,rtri:FJ,rtrie:BJ,rtrif:jJ,rtriltri:zJ,RuleDelayed:$J,ruluhar:qJ,rx:UJ,Sacute:HJ,sacute:VJ,sbquo:GJ,scap:KJ,Scaron:WJ,scaron:ZJ,Sc:YJ,sc:QJ,sccue:JJ,sce:XJ,scE:eX,Scedil:tX,scedil:nX,Scirc:sX,scirc:oX,scnap:rX,scnE:iX,scnsim:aX,scpolint:lX,scsim:cX,Scy:uX,scy:dX,sdotb:fX,sdot:hX,sdote:pX,searhk:gX,searr:mX,seArr:_X,searrow:bX,sect:yX,semi:vX,seswar:wX,setminus:xX,setmn:kX,sext:EX,Sfr:CX,sfr:AX,sfrown:SX,sharp:TX,SHCHcy:OX,shchcy:MX,SHcy:RX,shcy:NX,ShortDownArrow:DX,ShortLeftArrow:LX,shortmid:IX,shortparallel:PX,ShortRightArrow:FX,ShortUpArrow:BX,shy:jX,Sigma:zX,sigma:$X,sigmaf:qX,sigmav:UX,sim:HX,simdot:VX,sime:GX,simeq:KX,simg:WX,simgE:ZX,siml:YX,simlE:QX,simne:JX,simplus:XX,simrarr:eee,slarr:tee,SmallCircle:nee,smallsetminus:see,smashp:oee,smeparsl:ree,smid:iee,smile:aee,smt:lee,smte:cee,smtes:uee,SOFTcy:dee,softcy:fee,solbar:hee,solb:pee,sol:gee,Sopf:mee,sopf:_ee,spades:bee,spadesuit:yee,spar:vee,sqcap:wee,sqcaps:xee,sqcup:kee,sqcups:Eee,Sqrt:Cee,sqsub:Aee,sqsube:See,sqsubset:Tee,sqsubseteq:Oee,sqsup:Mee,sqsupe:Ree,sqsupset:Nee,sqsupseteq:Dee,square:Lee,Square:Iee,SquareIntersection:Pee,SquareSubset:Fee,SquareSubsetEqual:Bee,SquareSuperset:jee,SquareSupersetEqual:zee,SquareUnion:$ee,squarf:qee,squ:Uee,squf:Hee,srarr:Vee,Sscr:Gee,sscr:Kee,ssetmn:Wee,ssmile:Zee,sstarf:Yee,Star:Qee,star:Jee,starf:Xee,straightepsilon:ete,straightphi:tte,strns:nte,sub:ste,Sub:ote,subdot:rte,subE:ite,sube:ate,subedot:lte,submult:cte,subnE:ute,subne:dte,subplus:fte,subrarr:hte,subset:pte,Subset:gte,subseteq:mte,subseteqq:_te,SubsetEqual:bte,subsetneq:yte,subsetneqq:vte,subsim:wte,subsub:xte,subsup:kte,succapprox:Ete,succ:Cte,succcurlyeq:Ate,Succeeds:Ste,SucceedsEqual:Tte,SucceedsSlantEqual:Ote,SucceedsTilde:Mte,succeq:Rte,succnapprox:Nte,succneqq:Dte,succnsim:Lte,succsim:Ite,SuchThat:Pte,sum:Fte,Sum:Bte,sung:jte,sup1:zte,sup2:$te,sup3:qte,sup:Ute,Sup:Hte,supdot:Vte,supdsub:Gte,supE:Kte,supe:Wte,supedot:Zte,Superset:Yte,SupersetEqual:Qte,suphsol:Jte,suphsub:Xte,suplarr:ene,supmult:tne,supnE:nne,supne:sne,supplus:one,supset:rne,Supset:ine,supseteq:ane,supseteqq:lne,supsetneq:cne,supsetneqq:une,supsim:dne,supsub:fne,supsup:hne,swarhk:pne,swarr:gne,swArr:mne,swarrow:_ne,swnwar:bne,szlig:yne,Tab:vne,target:wne,Tau:xne,tau:kne,tbrk:Ene,Tcaron:Cne,tcaron:Ane,Tcedil:Sne,tcedil:Tne,Tcy:One,tcy:Mne,tdot:Rne,telrec:Nne,Tfr:Dne,tfr:Lne,there4:Ine,therefore:Pne,Therefore:Fne,Theta:Bne,theta:jne,thetasym:zne,thetav:$ne,thickapprox:qne,thicksim:Une,ThickSpace:Hne,ThinSpace:Vne,thinsp:Gne,thkap:Kne,thksim:Wne,THORN:Zne,thorn:Yne,tilde:Qne,Tilde:Jne,TildeEqual:Xne,TildeFullEqual:ese,TildeTilde:tse,timesbar:nse,timesb:sse,times:ose,timesd:rse,tint:ise,toea:ase,topbot:lse,topcir:cse,top:use,Topf:dse,topf:fse,topfork:hse,tosa:pse,tprime:gse,trade:mse,TRADE:_se,triangle:bse,triangledown:yse,triangleleft:vse,trianglelefteq:wse,triangleq:xse,triangleright:kse,trianglerighteq:Ese,tridot:Cse,trie:Ase,triminus:Sse,TripleDot:Tse,triplus:Ose,trisb:Mse,tritime:Rse,trpezium:Nse,Tscr:Dse,tscr:Lse,TScy:Ise,tscy:Pse,TSHcy:Fse,tshcy:Bse,Tstrok:jse,tstrok:zse,twixt:$se,twoheadleftarrow:qse,twoheadrightarrow:Use,Uacute:Hse,uacute:Vse,uarr:Gse,Uarr:Kse,uArr:Wse,Uarrocir:Zse,Ubrcy:Yse,ubrcy:Qse,Ubreve:Jse,ubreve:Xse,Ucirc:eoe,ucirc:toe,Ucy:noe,ucy:soe,udarr:ooe,Udblac:roe,udblac:ioe,udhar:aoe,ufisht:loe,Ufr:coe,ufr:uoe,Ugrave:doe,ugrave:foe,uHar:hoe,uharl:poe,uharr:goe,uhblk:moe,ulcorn:_oe,ulcorner:boe,ulcrop:yoe,ultri:voe,Umacr:woe,umacr:xoe,uml:koe,UnderBar:Eoe,UnderBrace:Coe,UnderBracket:Aoe,UnderParenthesis:Soe,Union:Toe,UnionPlus:Ooe,Uogon:Moe,uogon:Roe,Uopf:Noe,uopf:Doe,UpArrowBar:Loe,uparrow:Ioe,UpArrow:Poe,Uparrow:Foe,UpArrowDownArrow:Boe,updownarrow:joe,UpDownArrow:zoe,Updownarrow:$oe,UpEquilibrium:qoe,upharpoonleft:Uoe,upharpoonright:Hoe,uplus:Voe,UpperLeftArrow:Goe,UpperRightArrow:Koe,upsi:Woe,Upsi:Zoe,upsih:Yoe,Upsilon:Qoe,upsilon:Joe,UpTeeArrow:Xoe,UpTee:ere,upuparrows:tre,urcorn:nre,urcorner:sre,urcrop:ore,Uring:rre,uring:ire,urtri:are,Uscr:lre,uscr:cre,utdot:ure,Utilde:dre,utilde:fre,utri:hre,utrif:pre,uuarr:gre,Uuml:mre,uuml:_re,uwangle:bre,vangrt:yre,varepsilon:vre,varkappa:wre,varnothing:xre,varphi:kre,varpi:Ere,varpropto:Cre,varr:Are,vArr:Sre,varrho:Tre,varsigma:Ore,varsubsetneq:Mre,varsubsetneqq:Rre,varsupsetneq:Nre,varsupsetneqq:Dre,vartheta:Lre,vartriangleleft:Ire,vartriangleright:Pre,vBar:Fre,Vbar:Bre,vBarv:jre,Vcy:zre,vcy:$re,vdash:qre,vDash:Ure,Vdash:Hre,VDash:Vre,Vdashl:Gre,veebar:Kre,vee:Wre,Vee:Zre,veeeq:Yre,vellip:Qre,verbar:Jre,Verbar:Xre,vert:eie,Vert:tie,VerticalBar:nie,VerticalLine:sie,VerticalSeparator:oie,VerticalTilde:rie,VeryThinSpace:iie,Vfr:aie,vfr:lie,vltri:cie,vnsub:uie,vnsup:die,Vopf:fie,vopf:hie,vprop:pie,vrtri:gie,Vscr:mie,vscr:_ie,vsubnE:bie,vsubne:yie,vsupnE:vie,vsupne:wie,Vvdash:xie,vzigzag:kie,Wcirc:Eie,wcirc:Cie,wedbar:Aie,wedge:Sie,Wedge:Tie,wedgeq:Oie,weierp:Mie,Wfr:Rie,wfr:Nie,Wopf:Die,wopf:Lie,wp:Iie,wr:Pie,wreath:Fie,Wscr:Bie,wscr:jie,xcap:zie,xcirc:$ie,xcup:qie,xdtri:Uie,Xfr:Hie,xfr:Vie,xharr:Gie,xhArr:Kie,Xi:Wie,xi:Zie,xlarr:Yie,xlArr:Qie,xmap:Jie,xnis:Xie,xodot:eae,Xopf:tae,xopf:nae,xoplus:sae,xotime:oae,xrarr:rae,xrArr:iae,Xscr:aae,xscr:lae,xsqcup:cae,xuplus:uae,xutri:dae,xvee:fae,xwedge:hae,Yacute:pae,yacute:gae,YAcy:mae,yacy:_ae,Ycirc:bae,ycirc:yae,Ycy:vae,ycy:wae,yen:xae,Yfr:kae,yfr:Eae,YIcy:Cae,yicy:Aae,Yopf:Sae,yopf:Tae,Yscr:Oae,yscr:Mae,YUcy:Rae,yucy:Nae,yuml:Dae,Yuml:Lae,Zacute:Iae,zacute:Pae,Zcaron:Fae,zcaron:Bae,Zcy:jae,zcy:zae,Zdot:$ae,zdot:qae,zeetrf:Uae,ZeroWidthSpace:Hae,Zeta:Vae,zeta:Gae,zfr:Kae,Zfr:Wae,ZHcy:Zae,zhcy:Yae,zigrarr:Qae,zopf:Jae,Zopf:Xae,Zscr:ele,zscr:tle,zwj:nle,zwnj:sle};var Zp=ole,Zl=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,qs={},zu={};function rle(t){var e,n,s=zu[t];if(s)return s;for(s=zu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),a=rle(e),s=0,o=t.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}si.defaultChars=";/?:@&=+$,-_.!~*'()#";si.componentChars="-_.!~*'()";var ile=si,$u={};function ale(t){var e,n,s=$u[t];if(s)return s;for(s=$u[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&u<=57343?f+="���":f+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}f+="�"}return f})}oi.defaultChars=";/?:@&=+$,#";oi.componentChars="";var lle=oi,cle=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 wr(){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 ule=/^([a-z0-9.+-]+:)/i,dle=/:[0-9]*$/,fle=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,hle=["<",">",'"',"`"," ","\r",` -`," "],ple=["{","}","|","\\","^","`"].concat(hle),gle=["'"].concat(ple),qu=["%","/","?",";","#"].concat(gle),Uu=["/","?","#"],mle=255,Hu=/^[+a-z0-9A-Z_-]{0,63}$/,_le=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Vu={javascript:!0,"javascript:":!0},Gu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ble(t,e){if(t&&t instanceof wr)return t;var n=new wr;return n.parse(t,e),n}wr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=fle.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=ule.exec(a);if(c&&(c=c[0],o=c.toLowerCase(),this.protocol=c,a=a.substr(c.length)),(e||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(c&&Vu[c])&&(a=a.substr(2),this.slashes=!0)),!Vu[c]&&(i||c&&!Gu[c])){var u=-1;for(n=0;n127?_+="x":_+=v[b];if(!_.match(Hu)){var C=m.slice(0,n),M=m.slice(n+1),T=v.match(_le);T&&(C.push(T[1]),M.unshift(T[2])),M.length&&(a=M.join(".")+a),this.hostname=C.join(".");break}}}}this.hostname.length>mle&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=a.indexOf("#");D!==-1&&(this.hash=a.substr(D),a=a.slice(0,D));var y=a.indexOf("?");return y!==-1&&(this.search=a.substr(y),a=a.slice(0,y)),a&&(this.pathname=a),Gu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};wr.prototype.parseHost=function(t){var e=dle.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 yle=ble;qs.encode=ile;qs.decode=lle;qs.format=cle;qs.parse=yle;var Ln={},Di,Ku;function Yp(){return Ku||(Ku=1,Di=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Di}var Li,Wu;function Qp(){return Wu||(Wu=1,Li=/[\0-\x1F\x7F-\x9F]/),Li}var Ii,Zu;function vle(){return Zu||(Zu=1,Ii=/[\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]/),Ii}var Pi,Yu;function Jp(){return Yu||(Yu=1,Pi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Pi}var Qu;function wle(){return Qu||(Qu=1,Ln.Any=Yp(),Ln.Cc=Qp(),Ln.Cf=vle(),Ln.P=Zl,Ln.Z=Jp()),Ln}(function(t){function e(I){return Object.prototype.toString.call(I)}function n(I){return e(I)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(I,ae){return s.call(I,ae)}function r(I){var ae=Array.prototype.slice.call(arguments,1);return ae.forEach(function(W){if(W){if(typeof W!="object")throw new TypeError(W+"must be object");Object.keys(W).forEach(function(A){I[A]=W[A]})}}),I}function i(I,ae,W){return[].concat(I.slice(0,ae),W,I.slice(ae+1))}function a(I){return!(I>=55296&&I<=57343||I>=64976&&I<=65007||(I&65535)===65535||(I&65535)===65534||I>=0&&I<=8||I===11||I>=14&&I<=31||I>=127&&I<=159||I>1114111)}function l(I){if(I>65535){I-=65536;var ae=55296+(I>>10),W=56320+(I&1023);return String.fromCharCode(ae,W)}return String.fromCharCode(I)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(c.source+"|"+u.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=Zp;function p(I,ae){var W=0;return o(g,ae)?g[ae]:ae.charCodeAt(0)===35&&h.test(ae)&&(W=ae[1].toLowerCase()==="x"?parseInt(ae.slice(2),16):parseInt(ae.slice(1),10),a(W))?l(W):I}function m(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function v(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(f,function(ae,W,A){return W||p(ae,A)})}var _=/[&<>"]/,b=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function C(I){return x[I]}function M(I){return _.test(I)?I.replace(b,C):I}var T=/[.?*+^$[\]\\(){}|-]/g;function D(I){return I.replace(T,"\\$&")}function y(I){switch(I){case 9:case 32:return!0}return!1}function k(I){if(I>=8192&&I<=8202)return!0;switch(I){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 S=Zl;function L(I){return S.test(I)}function F(I){switch(I){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 Y(I){return I=I.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(I=I.replace(/ẞ/g,"ß")),I.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=qs,t.lib.ucmicro=wle(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=m,t.unescapeAll=v,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=M,t.arrayReplaceAt=i,t.isSpace=y,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=Y})(ze);var ri={},xle=function(e,n,s){var o,r,i,a,l=-1,c=e.posMax,u=e.pos;for(e.pos=n+1,o=1;e.pos32))return l;if(o===41){if(r===0)break;r--}n++}return a===n||r!==0||(l.str=Ju(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},Ele=ze.unescapeAll,Cle=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=s||(r=e.charCodeAt(n),r!==34&&r!==39&&r!==40))return l;for(n++,r===40&&(r=41);n"+Qn(t[e].content)+""};Zt.code_block=function(t,e,n,s,o){var r=t[e];return""+Qn(t[e].content)+` -`};Zt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?Sle(r.info).trim():"",a="",l="",c,u,f,h,g;return i&&(f=i.split(/(\s+)/g),a=f[0],l=f.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Qn(r.content):c=Qn(r.content),c.indexOf(""+c+` -`):"
"+c+`
+You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},be=t=>(Bs("data-v-bac4dabe"),t=t(),js(),t),WE={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},ZE={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},YE={key:0,class:"flex gap-3 flex-1 items-center duration-75"},QE=be(()=>d("i",{"data-feather":"x"},null,-1)),JE=[QE],XE=be(()=>d("i",{"data-feather":"check"},null,-1)),eC=[XE],tC={key:1,class:"flex gap-3 flex-1 items-center"},nC=be(()=>d("i",{"data-feather":"save"},null,-1)),sC=[nC],oC=be(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),rC=[oC],iC=be(()=>d("i",{"data-feather":"list"},null,-1)),aC=[iC],lC={class:"flex gap-3 flex-1 items-center justify-end"},cC={class:"flex gap-3 items-center"},uC={key:0,class:"flex gap-3 items-center"},dC=be(()=>d("i",{"data-feather":"check"},null,-1)),fC=[dC],hC={key:1,role:"status"},pC=be(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),gC=be(()=>d("span",{class:"sr-only"},"Loading...",-1)),mC=[pC,gC],_C={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},bC={class:"flex flex-row p-3"},yC=be(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),vC=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),wC=be(()=>d("div",{class:"mr-2"},"|",-1)),xC={class:"text-base font-semibold cursor-pointer select-none items-center"},kC={class:"flex gap-2 items-center"},EC=Oo('',1),CC={class:"font-bold font-large text-lg"},AC=be(()=>d("i",{"data-feather":"cpu",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),SC={class:"font-bold font-large text-lg"},TC=be(()=>d("i",{"data-feather":"hard-drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),OC={class:"font-bold font-large text-lg"},MC={class:"mb-2"},RC=be(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[d("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),ke(" Ram usage: ")],-1)),NC={class:"flex flex-col mx-2"},DC=be(()=>d("b",null,"Avaliable ram: ",-1)),LC=be(()=>d("b",null,"Ram usage: ",-1)),IC={class:"p-2"},PC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},FC={class:"mb-2"},BC=be(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),ke(" Disk usage: ")],-1)),jC={class:"flex flex-col mx-2"},zC=be(()=>d("b",null,"Avaliable disk space: ",-1)),$C=be(()=>d("b",null,"Disk usage: ",-1)),qC={class:"p-2"},UC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},HC={class:"mb-2"},VC=Oo('',1),GC={class:"flex flex-col mx-2"},KC=be(()=>d("b",null,"Avaliable vram: ",-1)),WC=be(()=>d("b",null,"GPU usage: ",-1)),ZC={class:"p-2"},YC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},QC={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},JC={class:"flex flex-row p-3"},XC=be(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),e5=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),t5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},n5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),s5={key:1,class:"mr-2"},o5={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},r5={class:"flex gap-1 items-center"},i5=["src"],a5={class:"font-bold font-large text-lg line-clamp-1"},l5={key:0,class:"mb-2"},c5={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},u5=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),d5=[u5],f5=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),h5=[f5],p5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},g5={class:"flex flex-row p-3"},m5=["data-feather"],_5=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),b5={class:"flex flex-row items-center"},y5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},v5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),w5={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},x5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),k5={key:2,class:"mr-2"},E5={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},C5={class:"flex gap-1 items-center"},A5=["src"],S5={class:"font-bold font-large text-lg line-clamp-1"},T5={class:"mx-2 mb-4"},O5={class:"relative"},M5={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},R5={key:0},N5=be(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),D5=[N5],L5={key:1},I5=be(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),P5=[I5],F5={key:0},B5={key:0,class:"mb-2"},j5={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},z5={key:1},$5={key:0,class:"mb-2"},q5={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},U5=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),H5=[U5],V5=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),G5=[V5],K5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},W5={class:"flex flex-row p-3"},Z5=["data-feather"],Y5=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),Q5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},J5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),X5={key:1,class:"mr-2"},e4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},t4={class:"flex gap-1 items-center"},n4=["src"],s4={class:"font-bold font-large text-lg line-clamp-1"},o4={class:"mb-2"},r4={key:0,class:"p-2"},i4={class:"mb-3"},a4=be(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white",for:"file_input"},"Upload model:",-1)),l4={class:"p-2"},c4={key:0},u4={class:"mb-3"},d4=be(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),f4={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},h4=be(()=>d("div",{role:"status",class:"justify-center"},null,-1)),p4={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},g4={class:"w-full p-2"},m4={class:"flex justify-between mb-1"},_4=Oo(' Downloading Loading...',1),b4={class:"text-sm font-medium text-blue-700 dark:text-white"},y4=["title"],v4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},w4={class:"flex justify-between mb-1"},x4={class:"text-base font-medium text-blue-700 dark:text-white"},k4={class:"text-sm font-medium text-blue-700 dark:text-white"},E4={class:"flex flex-grow"},C4={class:"flex flex-row flex-grow gap-3"},A4={class:"p-2 text-center grow"},S4={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},T4={class:"flex flex-row p-3 items-center"},O4=["data-feather"],M4=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),R4={key:0,class:"mr-2"},N4={class:"mr-2 font-bold font-large text-lg line-clamp-1"},D4={key:1,class:"mr-2"},L4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},I4={key:0,class:"flex -space-x-4 items-center"},P4={class:"group items-center flex flex-row"},F4=["onClick"],B4=["src","title"],j4=["onClick"],z4=be(()=>d("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[d("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),$4=[z4],q4={class:"mx-2 mb-4"},U4=be(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),H4={class:"relative"},V4={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},G4={key:0},K4=be(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),W4=[K4],Z4={key:1},Y4=be(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),Q4=[Y4],J4={key:0,class:"mx-2 mb-4"},X4={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},eA=["selected"],tA={key:1,class:"mx-2 mb-4"},nA={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},sA=["selected"],oA={key:0,class:"mb-2"},rA={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},iA=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),aA=[iA],lA=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),cA=[lA],uA={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},dA={class:"flex flex-row"},fA=["data-feather"],hA=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),pA={class:"m-2"},gA={class:"flex flex-row gap-2 items-center"},mA=be(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),_A={class:"m-2"},bA=be(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),yA={class:"m-2"},vA={class:"flex flex-col align-bottom"},wA={class:"relative"},xA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),kA={class:"absolute right-0"},EA={class:"m-2"},CA={class:"flex flex-col align-bottom"},AA={class:"relative"},SA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),TA={class:"absolute right-0"},OA={class:"m-2"},MA={class:"flex flex-col align-bottom"},RA={class:"relative"},NA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),DA={class:"absolute right-0"},LA={class:"m-2"},IA={class:"flex flex-col align-bottom"},PA={class:"relative"},FA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),BA={class:"absolute right-0"},jA={class:"m-2"},zA={class:"flex flex-col align-bottom"},$A={class:"relative"},qA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),UA={class:"absolute right-0"},HA={class:"m-2"},VA={class:"flex flex-col align-bottom"},GA={class:"relative"},KA=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),WA={class:"absolute right-0"};function ZA(t,e,n,s,o,r){const i=ut("BindingEntry"),a=ut("model-entry"),l=ut("personality-entry"),u=ut("YesNoDialog"),c=ut("AddModelDialog"),f=ut("MessageBox"),h=ut("Toast"),p=ut("UniversalForm");return O(),L(Be,null,[d("div",WE,[d("div",ZE,[o.showConfirmation?(O(),L("div",YE,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ue(g=>o.showConfirmation=!1,["stop"]))},JE),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ue(g=>r.save_configuration(),["stop"]))},eC)])):U("",!0),o.showConfirmation?U("",!0):(O(),L("div",tC,[d("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=g=>o.showConfirmation=!0)},sC),d("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=g=>r.reset_configuration())},rC),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=ue(g=>o.all_collapsed=!o.all_collapsed,["stop"]))},aC)])),d("div",lC,[d("div",cC,[o.settingsChanged?(O(),L("div",uC,[ke(" Apply changes: "),o.isLoading?U("",!0):(O(),L("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ue(g=>r.applyConfiguration(),["stop"]))},fC))])):U("",!0),o.isLoading?(O(),L("div",hC,mC)):U("",!0)])])]),d("div",{class:Me(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",_C,[d("div",bC,[d("button",{onClick:e[6]||(e[6]=ue(g=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[yC,vC,wC,d("div",xC,[d("div",kC,[EC,d("h3",CC,[d("div",null,ne(r.vram_usage)+" / "+ne(r.vram_total_space)+" ("+ne(r.vram_percent_usage)+"%)",1)]),AC,d("h3",SC,[d("div",null,ne(r.ram_usage)+" / "+ne(r.ram_total_space)+" ("+ne(r.ram_percent_usage)+"%)",1)]),TC,d("h3",OC,[d("div",null,ne(r.disk_binding_models_usage)+" / "+ne(r.disk_total_space)+" ("+ne(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Me([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",MC,[RC,d("div",NC,[d("div",null,[DC,ke(ne(r.ram_available_space),1)]),d("div",null,[LC,ke(" "+ne(r.ram_usage)+" / "+ne(r.ram_total_space),1)])]),d("div",IC,[d("div",PC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",FC,[BC,d("div",jC,[d("div",null,[zC,ke(ne(r.disk_available_space),1)]),d("div",null,[$C,ke(" "+ne(r.disk_binding_models_usage)+" / "+ne(r.disk_total_space),1)])]),d("div",qC,[d("div",UC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.disk_percent_usage+"%;")},null,4)])])]),d("div",HC,[VC,d("div",GC,[d("div",null,[KC,ke(ne(r.vram_available_space),1)]),d("div",null,[WC,ke(" "+ne(r.vram_usage)+" / "+ne(r.vram_total_space),1)])]),d("div",ZC,[d("div",YC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.vram_percent_usage+"%;")},null,4)])])])],2)]),d("div",QC,[d("div",JC,[d("button",{onClick:e[7]||(e[7]=ue(g=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[XC,e5,o.configFile.binding_name?U("",!0):(O(),L("div",t5,[n5,ke(" No binding selected! ")])),o.configFile.binding_name?(O(),L("div",s5,"|")):U("",!0),o.configFile.binding_name?(O(),L("div",o5,[d("div",r5,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,i5),d("h3",a5,ne(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Me([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindings.length>0?(O(),L("div",l5,[d("label",c5," Bindings: ("+ne(o.bindings.length)+") ",1),d("div",{class:Me(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.bzl_collapsed?"":"max-h-96"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),L(Be,null,rt(o.bindings,(g,m)=>(O(),at(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+m+"-"+g.folder,binding:g,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,selected:g.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","selected"]))),128))]),_:1})],2)])):U("",!0),o.bzl_collapsed?(O(),L("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[8]||(e[8]=g=>o.bzl_collapsed=!o.bzl_collapsed)},d5)):(O(),L("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[9]||(e[9]=g=>o.bzl_collapsed=!o.bzl_collapsed)},h5))],2)]),d("div",p5,[d("div",g5,[d("button",{onClick:e[10]||(e[10]=ue(g=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,m5),_5,d("div",b5,[o.configFile.binding_name?U("",!0):(O(),L("div",y5,[v5,ke(" Select binding first! ")])),!o.isModelSelected&&o.configFile.binding_name?(O(),L("div",w5,[x5,ke(" No model selected! ")])):U("",!0),o.configFile.model_name?(O(),L("div",k5,"|")):U("",!0),o.configFile.model_name?(O(),L("div",E5,[d("div",C5,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,A5),d("h3",S5,ne(o.configFile.model_name),1)])])):U("",!0)])])]),d("div",{class:Me([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",T5,[d("form",null,[d("div",O5,[d("div",M5,[o.searchModelInProgress?(O(),L("div",R5,D5)):U("",!0),o.searchModelInProgress?U("",!0):(O(),L("div",L5,P5))]),Oe(d("input",{type:"search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search models...",required:"","onUpdate:modelValue":e[11]||(e[11]=g=>o.searchModel=g),onKeyup:e[12]||(e[12]=ue((...g)=>r.searchModel_func&&r.searchModel_func(...g),["stop"]))},null,544),[[je,o.searchModel]]),o.searchModel?(O(),L("button",{key:0,onClick:e[13]||(e[13]=ue(g=>o.searchModel="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):U("",!0)])])]),o.searchModel?(O(),L("div",F5,[o.modelsFiltered.length>0?(O(),L("div",B5,[d("label",j5," Search results: ("+ne(o.modelsFiltered.length)+") ",1),d("div",{class:Me(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),L(Be,null,rt(o.modelsFiltered,(g,m)=>(O(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+g.title,title:g.title,icon:g.icon,path:g.path,owner:g.owner,owner_link:g.owner_link,license:g.license,description:g.description,"is-installed":g.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:g.title===o.configFile.model_name,model:g,model_type:g.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):U("",!0)])):U("",!0),o.searchModel?U("",!0):(O(),L("div",z5,[o.models.length>0?(O(),L("div",$5,[d("label",q5," Models: ("+ne(o.models.length)+") ",1),d("div",{class:Me(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),L(Be,null,rt(o.models,(g,m)=>(O(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+g.title,title:g.title,icon:g.icon,path:g.path,owner:g.owner,owner_link:g.owner_link,license:g.license,description:g.description,"is-installed":g.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:g.title===o.configFile.model_name,model:g,model_type:g.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):U("",!0)])),o.mzl_collapsed?(O(),L("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[14]||(e[14]=g=>o.mzl_collapsed=!o.mzl_collapsed)},H5)):(O(),L("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[15]||(e[15]=g=>o.mzl_collapsed=!o.mzl_collapsed)},G5))],2)]),d("div",K5,[d("div",W5,[d("button",{onClick:e[16]||(e[16]=ue(g=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzdc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,Z5),Y5,o.configFile.binding_name?U("",!0):(O(),L("div",Q5,[J5,ke(" No binding selected! ")])),o.configFile.binding_name?(O(),L("div",X5,"|")):U("",!0),o.configFile.binding_name?(O(),L("div",e4,[d("div",t4,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,n4),d("h3",s4,ne(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Me([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",o4,[o.modelDownlaodInProgress?U("",!0):(O(),L("div",r4,[d("form",null,[d("div",i4,[a4,d("input",{onChange:e[17]||(e[17]=(...g)=>r.setFileList&&r.setFileList(...g)),class:"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400",ref:"fileDialogAddModel",type:"file",multiple:""},null,544)]),d("button",{type:"button",onClick:e[18]||(e[18]=ue((...g)=>r.uploadLocalModel&&r.uploadLocalModel(...g),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Upload")])])),d("div",l4,[o.modelDownlaodInProgress?U("",!0):(O(),L("div",c4,[d("div",u4,[d4,Oe(d("input",{type:"text","onUpdate:modelValue":e[19]||(e[19]=g=>o.addModel.url=g),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[je,o.addModel.url]])]),d("button",{type:"button",onClick:e[20]||(e[20]=ue(g=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(O(),L("div",f4,[h4,d("div",p4,[d("div",g4,[d("div",m4,[_4,d("span",b4,ne(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},ne(o.addModel.url),9,y4),d("div",v4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en({width:o.addModel.progress+"%"})},null,4)]),d("div",w4,[d("span",x4,"Download speed: "+ne(r.speed_computed)+"/s",1),d("span",k4,ne(r.downloaded_size_computed)+"/"+ne(r.total_size_computed),1)])])]),d("div",E4,[d("div",C4,[d("div",A4,[d("button",{onClick:e[21]||(e[21]=ue((...g)=>r.onCancelInstall&&r.onCancelInstall(...g),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):U("",!0)])])],2)]),d("div",S4,[d("div",T4,[d("button",{onClick:e[23]||(e[23]=ue(g=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[d("i",{"data-feather":o.pzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,O4),M4,o.configFile.personalities?(O(),L("div",R4,"|")):U("",!0),d("div",N4,ne(r.active_pesonality),1),o.configFile.personalities?(O(),L("div",D4,"|")):U("",!0),o.configFile.personalities?(O(),L("div",L4,[o.mountedPersArr.length>0?(O(),L("div",I4,[(O(!0),L(Be,null,rt(o.mountedPersArr,(g,m)=>(O(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:m+"-"+g.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",P4,[d("button",{onClick:ue(y=>r.onPersonalitySelected(g),["stop"])},[d("img",{src:o.bUrl+g.avatar,onError:e[22]||(e[22]=(...y)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...y)),class:Me(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(g.full_path)?"border-secondary":"border-transparent z-0"]),title:g.name},null,42,B4)],8,F4),d("button",{onClick:ue(y=>r.onPersonalityMounted(g),["stop"])},$4,8,j4)])]))),128))])):U("",!0)])):U("",!0)])]),d("div",{class:Me([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",q4,[d("form",null,[U4,d("div",H4,[d("div",V4,[o.searchPersonalityInProgress?(O(),L("div",G4,W4)):U("",!0),o.searchPersonalityInProgress?U("",!0):(O(),L("div",Z4,Q4))]),Oe(d("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[24]||(e[24]=g=>o.searchPersonality=g),onKeyup:e[25]||(e[25]=ue((...g)=>r.searchPersonality_func&&r.searchPersonality_func(...g),["stop"]))},null,544),[[je,o.searchPersonality]]),o.searchPersonality?(O(),L("button",{key:0,onClick:e[26]||(e[26]=ue(g=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):U("",!0)])])]),o.searchPersonality?U("",!0):(O(),L("div",J4,[d("label",X4," Personalities Languages: ("+ne(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[27]||(e[27]=g=>r.update_setting("personality_language",g.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(O(!0),L(Be,null,rt(o.persLangArr,g=>(O(),L("option",{selected:g===this.configFile.personality_language},ne(g),9,eA))),256))],32)])),o.searchPersonality?U("",!0):(O(),L("div",tA,[d("label",nA," Personalities Category: ("+ne(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[28]||(e[28]=g=>r.update_setting("personality_category",g.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(O(!0),L(Be,null,rt(o.persCatgArr,(g,m)=>(O(),L("option",{key:m,selected:g==this.configFile.personality_category},ne(g),9,sA))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(O(),L("div",oA,[d("label",rA,ne(o.searchPersonality?"Search results":"Personalities")+": ("+ne(o.personalitiesFiltered.length)+") ",1),d("div",{class:Me(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[Ce(jt,{name:"bounce"},{default:Je(()=>[(O(!0),L(Be,null,rt(o.personalitiesFiltered,(g,m)=>(O(),at(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+g.name,personality:g,full_path:g.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(y=>y===g.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):U("",!0)]),o.pzl_collapsed?(O(),L("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[29]||(e[29]=g=>o.pzl_collapsed=!o.pzl_collapsed)},aA)):(O(),L("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[30]||(e[30]=g=>o.pzl_collapsed=!o.pzl_collapsed)},cA))],2)]),d("div",uA,[d("div",dA,[d("button",{onClick:e[31]||(e[31]=ue(g=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mc_collapsed?"chevron-right":"chevron-down",class:"mr-2"},null,8,fA),hA])]),d("div",{class:Me([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",pA,[d("div",gA,[Oe(d("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[32]||(e[32]=ue(()=>{},["stop"])),"onUpdate:modelValue":e[33]||(e[33]=g=>o.configFile.override_personality_model_parameters=g),onChange:e[34]||(e[34]=g=>r.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[_n,o.configFile.override_personality_model_parameters]]),mA])]),d("div",{class:Me(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",_A,[bA,Oe(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[35]||(e[35]=g=>o.configFile.seed=g),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.seed]])]),d("div",yA,[d("div",vA,[d("div",wA,[xA,d("p",kA,[Oe(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[36]||(e[36]=g=>o.configFile.temperature=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.temperature]])])]),Oe(d("input",{id:"temperature",onChange:e[37]||(e[37]=g=>r.update_setting("temperature",g.target.value)),type:"range","onUpdate:modelValue":e[38]||(e[38]=g=>o.configFile.temperature=g),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.temperature]])])]),d("div",EA,[d("div",CA,[d("div",AA,[SA,d("p",TA,[Oe(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[39]||(e[39]=g=>o.configFile.n_predict=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.n_predict]])])]),Oe(d("input",{id:"predict",onChange:e[40]||(e[40]=g=>r.update_setting("n_predict",g.target.value)),type:"range","onUpdate:modelValue":e[41]||(e[41]=g=>o.configFile.n_predict=g),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.n_predict]])])]),d("div",OA,[d("div",MA,[d("div",RA,[NA,d("p",DA,[Oe(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[42]||(e[42]=g=>o.configFile.top_k=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.top_k]])])]),Oe(d("input",{id:"top_k",onChange:e[43]||(e[43]=g=>r.update_setting("top_k",g.target.value)),type:"range","onUpdate:modelValue":e[44]||(e[44]=g=>o.configFile.top_k=g),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.top_k]])])]),d("div",LA,[d("div",IA,[d("div",PA,[FA,d("p",BA,[Oe(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[45]||(e[45]=g=>o.configFile.top_p=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.top_p]])])]),Oe(d("input",{id:"top_p",onChange:e[46]||(e[46]=g=>r.update_setting("top_p",g.target.value)),type:"range","onUpdate:modelValue":e[47]||(e[47]=g=>o.configFile.top_p=g),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.top_p]])])]),d("div",jA,[d("div",zA,[d("div",$A,[qA,d("p",UA,[Oe(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[48]||(e[48]=g=>o.configFile.repeat_penalty=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.repeat_penalty]])])]),Oe(d("input",{id:"repeat_penalty",onChange:e[49]||(e[49]=g=>r.update_setting("repeat_penalty",g.target.value)),type:"range","onUpdate:modelValue":e[50]||(e[50]=g=>o.configFile.repeat_penalty=g),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.repeat_penalty]])])]),d("div",HA,[d("div",VA,[d("div",GA,[KA,d("p",WA,[Oe(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[51]||(e[51]=g=>o.configFile.repeat_last_n=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,o.configFile.repeat_last_n]])])]),Oe(d("input",{id:"repeat_last_n",onChange:e[52]||(e[52]=g=>r.update_setting("repeat_last_n",g.target.value)),type:"range","onUpdate:modelValue":e[53]||(e[53]=g=>o.configFile.repeat_last_n=g),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ce(u,{ref:"yesNoDialog",class:"z-20"},null,512),Ce(c,{ref:"addmodeldialog"},null,512),Ce(f,{ref:"messageBox"},null,512),Ce(h,{ref:"toast"},null,512),Ce(p,{ref:"universalForm",class:"z-20"},null,512)],64)}const YA=Ke(KE,[["render",ZA],["__scopeId","data-v-bac4dabe"]]),QA={data(){return{model_name:"jondurbin/airoboros-7b-gpt4",tokenizer_name:"jondurbin/airoboros-7b-gpt4",dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDatasetPath:""}},methods:{submitForm(){this.model_name,this.tokenizer_name,this.selectedDatasetPath,this.max_length,this.batch_size,this.lr,this.num_epochs,this.selectedFolder},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(t){const e=t.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},JA={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},XA={class:"mb-4"},e3=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),t3={class:"mb-4"},n3=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),s3={class:"mb-4"},o3=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),r3={class:"mt-2 text-xs"},i3={class:"mb-4"},a3=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),l3={class:"mb-4"},c3=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),u3={class:"mb-4"},d3=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),f3={class:"mb-4"},h3=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),p3={class:"mb-4"},g3=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),m3=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function _3(t,e,n,s,o,r){return O(),L("div",JA,[d("form",{onSubmit:e[10]||(e[10]=ue((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",XA,[e3,Oe(d("input",{type:"text",id:"model_name","onUpdate:modelValue":e[0]||(e[0]=i=>o.model_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.model_name]])]),d("div",t3,[n3,Oe(d("input",{type:"text",id:"tokenizer_name","onUpdate:modelValue":e[1]||(e[1]=i=>o.tokenizer_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.tokenizer_name]])]),d("div",s3,[o3,d("input",{type:"file",id:"dataset_path",ref:"dataset_path",accept:".parquet",onChange:e[2]||(e[2]=(...i)=>r.selectDatasetPath&&r.selectDatasetPath(...i)),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,544),d("p",r3,"Selected File: "+ne(o.selectedDatasetPath),1)]),d("div",i3,[a3,Oe(d("input",{type:"number",id:"max_length","onUpdate:modelValue":e[3]||(e[3]=i=>o.max_length=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.max_length,void 0,{number:!0}]])]),d("div",l3,[c3,Oe(d("input",{type:"number",id:"batch_size","onUpdate:modelValue":e[4]||(e[4]=i=>o.batch_size=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.batch_size,void 0,{number:!0}]])]),d("div",u3,[d3,Oe(d("input",{type:"number",id:"lr","onUpdate:modelValue":e[5]||(e[5]=i=>o.lr=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.lr,void 0,{number:!0}]])]),d("div",f3,[h3,Oe(d("input",{type:"number",id:"num_epochs","onUpdate:modelValue":e[6]||(e[6]=i=>o.num_epochs=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.num_epochs,void 0,{number:!0}]])]),d("div",p3,[g3,Oe(d("input",{type:"text",id:"output_dir","onUpdate:modelValue":e[7]||(e[7]=i=>o.selectedFolder=i),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded",placeholder:"Enter or select the output folder"},null,512),[[je,o.selectedFolder]]),d("input",{type:"file",id:"folder_selector",ref:"folder_selector",style:{display:"none"},webkitdirectory:"",onChange:e[8]||(e[8]=(...i)=>r.selectOutputDirectory&&r.selectOutputDirectory(...i))},null,544),d("button",{type:"button",onClick:e[9]||(e[9]=(...i)=>r.openFolderSelector&&r.openFolderSelector(...i)),class:"bg-blue-500 text-white px-4 py-2 rounded"},"Select Folder")]),m3],32)])}const b3=Ke(QA,[["render",_3]]),y3={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,me(()=>{Ee.replace()})},watch:{showConfirmation(){me(()=>{Ee.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&me(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},v3=["id"],w3={class:"flex flex-row items-center gap-2"},x3={key:0},k3=["title"],E3=["value"],C3={class:"flex items-center flex-1 max-h-6"},A3={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},S3=d("i",{"data-feather":"check"},null,-1),T3=[S3],O3=d("i",{"data-feather":"x"},null,-1),M3=[O3],R3={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},N3=d("i",{"data-feather":"x"},null,-1),D3=[N3],L3=d("i",{"data-feather":"check"},null,-1),I3=[L3],P3={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},F3=d("i",{"data-feather":"edit-2"},null,-1),B3=[F3],j3=d("i",{"data-feather":"trash"},null,-1),z3=[j3];function $3(t,e,n,s,o,r){return O(),L("div",{class:Me([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","flex flex-row sm:flex-row item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ue(i=>r.selectEvent(),["stop"]))},[d("div",w3,[n.isCheckbox?(O(),L("div",x3,[Oe(d("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ue(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=i=>o.checkBoxValue_local=i),onInput:e[2]||(e[2]=i=>r.checkedChangeEvent(i,n.id))},null,544),[[_n,o.checkBoxValue_local]])])):U("",!0),n.selected?(O(),L("div",{key:1,class:Me(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):U("",!0),n.selected?U("",!0):(O(),L("div",{key:2,class:Me(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?U("",!0):(O(),L("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},ne(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,k3)),o.editTitle?(O(),L("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=Ua(ue(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Ua(ue(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ue(()=>{},["stop"]))},null,40,E3)):U("",!0),d("div",C3,[o.showConfirmation&&!o.editTitleMode?(O(),L("div",A3,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(i=>r.deleteEvent(),["stop"]))},T3),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ue(i=>o.showConfirmation=!1,["stop"]))},M3)])):U("",!0),o.showConfirmation&&o.editTitleMode?(O(),L("div",R3,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=ue(i=>o.editTitleMode=!1,["stop"]))},D3),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ue(i=>r.editTitleEvent(),["stop"]))},I3)])):U("",!0),o.showConfirmation?U("",!0):(O(),L("div",P3,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ue(i=>o.editTitleMode=!0,["stop"]))},B3),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ue(i=>o.showConfirmation=!0,["stop"]))},z3)]))])],10,v3)}const Zp=Ke(y3,[["render",$3]]);var ze={};const q3="Á",U3="á",H3="Ă",V3="ă",G3="∾",K3="∿",W3="∾̳",Z3="Â",Y3="â",Q3="´",J3="А",X3="а",eS="Æ",tS="æ",nS="⁡",sS="𝔄",oS="𝔞",rS="À",iS="à",aS="ℵ",lS="ℵ",cS="Α",uS="α",dS="Ā",fS="ā",hS="⨿",pS="&",gS="&",mS="⩕",_S="⩓",bS="∧",yS="⩜",vS="⩘",wS="⩚",xS="∠",kS="⦤",ES="∠",CS="⦨",AS="⦩",SS="⦪",TS="⦫",OS="⦬",MS="⦭",RS="⦮",NS="⦯",DS="∡",LS="∟",IS="⊾",PS="⦝",FS="∢",BS="Å",jS="⍼",zS="Ą",$S="ą",qS="𝔸",US="𝕒",HS="⩯",VS="≈",GS="⩰",KS="≊",WS="≋",ZS="'",YS="⁡",QS="≈",JS="≊",XS="Å",eT="å",tT="𝒜",nT="𝒶",sT="≔",oT="*",rT="≈",iT="≍",aT="Ã",lT="ã",cT="Ä",uT="ä",dT="∳",fT="⨑",hT="≌",pT="϶",gT="‵",mT="∽",_T="⋍",bT="∖",yT="⫧",vT="⊽",wT="⌅",xT="⌆",kT="⌅",ET="⎵",CT="⎶",AT="≌",ST="Б",TT="б",OT="„",MT="∵",RT="∵",NT="∵",DT="⦰",LT="϶",IT="ℬ",PT="ℬ",FT="Β",BT="β",jT="ℶ",zT="≬",$T="𝔅",qT="𝔟",UT="⋂",HT="◯",VT="⋃",GT="⨀",KT="⨁",WT="⨂",ZT="⨆",YT="★",QT="▽",JT="△",XT="⨄",e8="⋁",t8="⋀",n8="⤍",s8="⧫",o8="▪",r8="▴",i8="▾",a8="◂",l8="▸",c8="␣",u8="▒",d8="░",f8="▓",h8="█",p8="=⃥",g8="≡⃥",m8="⫭",_8="⌐",b8="𝔹",y8="𝕓",v8="⊥",w8="⊥",x8="⋈",k8="⧉",E8="┐",C8="╕",A8="╖",S8="╗",T8="┌",O8="╒",M8="╓",R8="╔",N8="─",D8="═",L8="┬",I8="╤",P8="╥",F8="╦",B8="┴",j8="╧",z8="╨",$8="╩",q8="⊟",U8="⊞",H8="⊠",V8="┘",G8="╛",K8="╜",W8="╝",Z8="└",Y8="╘",Q8="╙",J8="╚",X8="│",e9="║",t9="┼",n9="╪",s9="╫",o9="╬",r9="┤",i9="╡",a9="╢",l9="╣",c9="├",u9="╞",d9="╟",f9="╠",h9="‵",p9="˘",g9="˘",m9="¦",_9="𝒷",b9="ℬ",y9="⁏",v9="∽",w9="⋍",x9="⧅",k9="\\",E9="⟈",C9="•",A9="•",S9="≎",T9="⪮",O9="≏",M9="≎",R9="≏",N9="Ć",D9="ć",L9="⩄",I9="⩉",P9="⩋",F9="∩",B9="⋒",j9="⩇",z9="⩀",$9="ⅅ",q9="∩︀",U9="⁁",H9="ˇ",V9="ℭ",G9="⩍",K9="Č",W9="č",Z9="Ç",Y9="ç",Q9="Ĉ",J9="ĉ",X9="∰",e6="⩌",t6="⩐",n6="Ċ",s6="ċ",o6="¸",r6="¸",i6="⦲",a6="¢",l6="·",c6="·",u6="𝔠",d6="ℭ",f6="Ч",h6="ч",p6="✓",g6="✓",m6="Χ",_6="χ",b6="ˆ",y6="≗",v6="↺",w6="↻",x6="⊛",k6="⊚",E6="⊝",C6="⊙",A6="®",S6="Ⓢ",T6="⊖",O6="⊕",M6="⊗",R6="○",N6="⧃",D6="≗",L6="⨐",I6="⫯",P6="⧂",F6="∲",B6="”",j6="’",z6="♣",$6="♣",q6=":",U6="∷",H6="⩴",V6="≔",G6="≔",K6=",",W6="@",Z6="∁",Y6="∘",Q6="∁",J6="ℂ",X6="≅",eO="⩭",tO="≡",nO="∮",sO="∯",oO="∮",rO="𝕔",iO="ℂ",aO="∐",lO="∐",cO="©",uO="©",dO="℗",fO="∳",hO="↵",pO="✗",gO="⨯",mO="𝒞",_O="𝒸",bO="⫏",yO="⫑",vO="⫐",wO="⫒",xO="⋯",kO="⤸",EO="⤵",CO="⋞",AO="⋟",SO="↶",TO="⤽",OO="⩈",MO="⩆",RO="≍",NO="∪",DO="⋓",LO="⩊",IO="⊍",PO="⩅",FO="∪︀",BO="↷",jO="⤼",zO="⋞",$O="⋟",qO="⋎",UO="⋏",HO="¤",VO="↶",GO="↷",KO="⋎",WO="⋏",ZO="∲",YO="∱",QO="⌭",JO="†",XO="‡",eM="ℸ",tM="↓",nM="↡",sM="⇓",oM="‐",rM="⫤",iM="⊣",aM="⤏",lM="˝",cM="Ď",uM="ď",dM="Д",fM="д",hM="‡",pM="⇊",gM="ⅅ",mM="ⅆ",_M="⤑",bM="⩷",yM="°",vM="∇",wM="Δ",xM="δ",kM="⦱",EM="⥿",CM="𝔇",AM="𝔡",SM="⥥",TM="⇃",OM="⇂",MM="´",RM="˙",NM="˝",DM="`",LM="˜",IM="⋄",PM="⋄",FM="⋄",BM="♦",jM="♦",zM="¨",$M="ⅆ",qM="ϝ",UM="⋲",HM="÷",VM="÷",GM="⋇",KM="⋇",WM="Ђ",ZM="ђ",YM="⌞",QM="⌍",JM="$",XM="𝔻",eR="𝕕",tR="¨",nR="˙",sR="⃜",oR="≐",rR="≑",iR="≐",aR="∸",lR="∔",cR="⊡",uR="⌆",dR="∯",fR="¨",hR="⇓",pR="⇐",gR="⇔",mR="⫤",_R="⟸",bR="⟺",yR="⟹",vR="⇒",wR="⊨",xR="⇑",kR="⇕",ER="∥",CR="⤓",AR="↓",SR="↓",TR="⇓",OR="⇵",MR="̑",RR="⇊",NR="⇃",DR="⇂",LR="⥐",IR="⥞",PR="⥖",FR="↽",BR="⥟",jR="⥗",zR="⇁",$R="↧",qR="⊤",UR="⤐",HR="⌟",VR="⌌",GR="𝒟",KR="𝒹",WR="Ѕ",ZR="ѕ",YR="⧶",QR="Đ",JR="đ",XR="⋱",e7="▿",t7="▾",n7="⇵",s7="⥯",o7="⦦",r7="Џ",i7="џ",a7="⟿",l7="É",c7="é",u7="⩮",d7="Ě",f7="ě",h7="Ê",p7="ê",g7="≖",m7="≕",_7="Э",b7="э",y7="⩷",v7="Ė",w7="ė",x7="≑",k7="ⅇ",E7="≒",C7="𝔈",A7="𝔢",S7="⪚",T7="È",O7="è",M7="⪖",R7="⪘",N7="⪙",D7="∈",L7="⏧",I7="ℓ",P7="⪕",F7="⪗",B7="Ē",j7="ē",z7="∅",$7="∅",q7="◻",U7="∅",H7="▫",V7=" ",G7=" ",K7=" ",W7="Ŋ",Z7="ŋ",Y7=" ",Q7="Ę",J7="ę",X7="𝔼",eN="𝕖",tN="⋕",nN="⧣",sN="⩱",oN="ε",rN="Ε",iN="ε",aN="ϵ",lN="≖",cN="≕",uN="≂",dN="⪖",fN="⪕",hN="⩵",pN="=",gN="≂",mN="≟",_N="⇌",bN="≡",yN="⩸",vN="⧥",wN="⥱",xN="≓",kN="ℯ",EN="ℰ",CN="≐",AN="⩳",SN="≂",TN="Η",ON="η",MN="Ð",RN="ð",NN="Ë",DN="ë",LN="€",IN="!",PN="∃",FN="∃",BN="ℰ",jN="ⅇ",zN="ⅇ",$N="≒",qN="Ф",UN="ф",HN="♀",VN="ffi",GN="ff",KN="ffl",WN="𝔉",ZN="𝔣",YN="fi",QN="◼",JN="▪",XN="fj",eD="♭",tD="fl",nD="▱",sD="ƒ",oD="𝔽",rD="𝕗",iD="∀",aD="∀",lD="⋔",cD="⫙",uD="ℱ",dD="⨍",fD="½",hD="⅓",pD="¼",gD="⅕",mD="⅙",_D="⅛",bD="⅔",yD="⅖",vD="¾",wD="⅗",xD="⅜",kD="⅘",ED="⅚",CD="⅝",AD="⅞",SD="⁄",TD="⌢",OD="𝒻",MD="ℱ",RD="ǵ",ND="Γ",DD="γ",LD="Ϝ",ID="ϝ",PD="⪆",FD="Ğ",BD="ğ",jD="Ģ",zD="Ĝ",$D="ĝ",qD="Г",UD="г",HD="Ġ",VD="ġ",GD="≥",KD="≧",WD="⪌",ZD="⋛",YD="≥",QD="≧",JD="⩾",XD="⪩",eL="⩾",tL="⪀",nL="⪂",sL="⪄",oL="⋛︀",rL="⪔",iL="𝔊",aL="𝔤",lL="≫",cL="⋙",uL="⋙",dL="ℷ",fL="Ѓ",hL="ѓ",pL="⪥",gL="≷",mL="⪒",_L="⪤",bL="⪊",yL="⪊",vL="⪈",wL="≩",xL="⪈",kL="≩",EL="⋧",CL="𝔾",AL="𝕘",SL="`",TL="≥",OL="⋛",ML="≧",RL="⪢",NL="≷",DL="⩾",LL="≳",IL="𝒢",PL="ℊ",FL="≳",BL="⪎",jL="⪐",zL="⪧",$L="⩺",qL=">",UL=">",HL="≫",VL="⋗",GL="⦕",KL="⩼",WL="⪆",ZL="⥸",YL="⋗",QL="⋛",JL="⪌",XL="≷",eI="≳",tI="≩︀",nI="≩︀",sI="ˇ",oI=" ",rI="½",iI="ℋ",aI="Ъ",lI="ъ",cI="⥈",uI="↔",dI="⇔",fI="↭",hI="^",pI="ℏ",gI="Ĥ",mI="ĥ",_I="♥",bI="♥",yI="…",vI="⊹",wI="𝔥",xI="ℌ",kI="ℋ",EI="⤥",CI="⤦",AI="⇿",SI="∻",TI="↩",OI="↪",MI="𝕙",RI="ℍ",NI="―",DI="─",LI="𝒽",II="ℋ",PI="ℏ",FI="Ħ",BI="ħ",jI="≎",zI="≏",$I="⁃",qI="‐",UI="Í",HI="í",VI="⁣",GI="Î",KI="î",WI="И",ZI="и",YI="İ",QI="Е",JI="е",XI="¡",eP="⇔",tP="𝔦",nP="ℑ",sP="Ì",oP="ì",rP="ⅈ",iP="⨌",aP="∭",lP="⧜",cP="℩",uP="IJ",dP="ij",fP="Ī",hP="ī",pP="ℑ",gP="ⅈ",mP="ℐ",_P="ℑ",bP="ı",yP="ℑ",vP="⊷",wP="Ƶ",xP="⇒",kP="℅",EP="∞",CP="⧝",AP="ı",SP="⊺",TP="∫",OP="∬",MP="ℤ",RP="∫",NP="⊺",DP="⋂",LP="⨗",IP="⨼",PP="⁣",FP="⁢",BP="Ё",jP="ё",zP="Į",$P="į",qP="𝕀",UP="𝕚",HP="Ι",VP="ι",GP="⨼",KP="¿",WP="𝒾",ZP="ℐ",YP="∈",QP="⋵",JP="⋹",XP="⋴",eF="⋳",tF="∈",nF="⁢",sF="Ĩ",oF="ĩ",rF="І",iF="і",aF="Ï",lF="ï",cF="Ĵ",uF="ĵ",dF="Й",fF="й",hF="𝔍",pF="𝔧",gF="ȷ",mF="𝕁",_F="𝕛",bF="𝒥",yF="𝒿",vF="Ј",wF="ј",xF="Є",kF="є",EF="Κ",CF="κ",AF="ϰ",SF="Ķ",TF="ķ",OF="К",MF="к",RF="𝔎",NF="𝔨",DF="ĸ",LF="Х",IF="х",PF="Ќ",FF="ќ",BF="𝕂",jF="𝕜",zF="𝒦",$F="𝓀",qF="⇚",UF="Ĺ",HF="ĺ",VF="⦴",GF="ℒ",KF="Λ",WF="λ",ZF="⟨",YF="⟪",QF="⦑",JF="⟨",XF="⪅",eB="ℒ",tB="«",nB="⇤",sB="⤟",oB="←",rB="↞",iB="⇐",aB="⤝",lB="↩",cB="↫",uB="⤹",dB="⥳",fB="↢",hB="⤙",pB="⤛",gB="⪫",mB="⪭",_B="⪭︀",bB="⤌",yB="⤎",vB="❲",wB="{",xB="[",kB="⦋",EB="⦏",CB="⦍",AB="Ľ",SB="ľ",TB="Ļ",OB="ļ",MB="⌈",RB="{",NB="Л",DB="л",LB="⤶",IB="“",PB="„",FB="⥧",BB="⥋",jB="↲",zB="≤",$B="≦",qB="⟨",UB="⇤",HB="←",VB="←",GB="⇐",KB="⇆",WB="↢",ZB="⌈",YB="⟦",QB="⥡",JB="⥙",XB="⇃",ej="⌊",tj="↽",nj="↼",sj="⇇",oj="↔",rj="↔",ij="⇔",aj="⇆",lj="⇋",cj="↭",uj="⥎",dj="↤",fj="⊣",hj="⥚",pj="⋋",gj="⧏",mj="⊲",_j="⊴",bj="⥑",yj="⥠",vj="⥘",wj="↿",xj="⥒",kj="↼",Ej="⪋",Cj="⋚",Aj="≤",Sj="≦",Tj="⩽",Oj="⪨",Mj="⩽",Rj="⩿",Nj="⪁",Dj="⪃",Lj="⋚︀",Ij="⪓",Pj="⪅",Fj="⋖",Bj="⋚",jj="⪋",zj="⋚",$j="≦",qj="≶",Uj="≶",Hj="⪡",Vj="≲",Gj="⩽",Kj="≲",Wj="⥼",Zj="⌊",Yj="𝔏",Qj="𝔩",Jj="≶",Xj="⪑",ez="⥢",tz="↽",nz="↼",sz="⥪",oz="▄",rz="Љ",iz="љ",az="⇇",lz="≪",cz="⋘",uz="⌞",dz="⇚",fz="⥫",hz="◺",pz="Ŀ",gz="ŀ",mz="⎰",_z="⎰",bz="⪉",yz="⪉",vz="⪇",wz="≨",xz="⪇",kz="≨",Ez="⋦",Cz="⟬",Az="⇽",Sz="⟦",Tz="⟵",Oz="⟵",Mz="⟸",Rz="⟷",Nz="⟷",Dz="⟺",Lz="⟼",Iz="⟶",Pz="⟶",Fz="⟹",Bz="↫",jz="↬",zz="⦅",$z="𝕃",qz="𝕝",Uz="⨭",Hz="⨴",Vz="∗",Gz="_",Kz="↙",Wz="↘",Zz="◊",Yz="◊",Qz="⧫",Jz="(",Xz="⦓",e$="⇆",t$="⌟",n$="⇋",s$="⥭",o$="‎",r$="⊿",i$="‹",a$="𝓁",l$="ℒ",c$="↰",u$="↰",d$="≲",f$="⪍",h$="⪏",p$="[",g$="‘",m$="‚",_$="Ł",b$="ł",y$="⪦",v$="⩹",w$="<",x$="<",k$="≪",E$="⋖",C$="⋋",A$="⋉",S$="⥶",T$="⩻",O$="◃",M$="⊴",R$="◂",N$="⦖",D$="⥊",L$="⥦",I$="≨︀",P$="≨︀",F$="¯",B$="♂",j$="✠",z$="✠",$$="↦",q$="↦",U$="↧",H$="↤",V$="↥",G$="▮",K$="⨩",W$="М",Z$="м",Y$="—",Q$="∺",J$="∡",X$=" ",eq="ℳ",tq="𝔐",nq="𝔪",sq="℧",oq="µ",rq="*",iq="⫰",aq="∣",lq="·",cq="⊟",uq="−",dq="∸",fq="⨪",hq="∓",pq="⫛",gq="…",mq="∓",_q="⊧",bq="𝕄",yq="𝕞",vq="∓",wq="𝓂",xq="ℳ",kq="∾",Eq="Μ",Cq="μ",Aq="⊸",Sq="⊸",Tq="∇",Oq="Ń",Mq="ń",Rq="∠⃒",Nq="≉",Dq="⩰̸",Lq="≋̸",Iq="ʼn",Pq="≉",Fq="♮",Bq="ℕ",jq="♮",zq=" ",$q="≎̸",qq="≏̸",Uq="⩃",Hq="Ň",Vq="ň",Gq="Ņ",Kq="ņ",Wq="≇",Zq="⩭̸",Yq="⩂",Qq="Н",Jq="н",Xq="–",eU="⤤",tU="↗",nU="⇗",sU="↗",oU="≠",rU="≐̸",iU="​",aU="​",lU="​",cU="​",uU="≢",dU="⤨",fU="≂̸",hU="≫",pU="≪",gU=` +`,mU="∄",_U="∄",bU="𝔑",yU="𝔫",vU="≧̸",wU="≱",xU="≱",kU="≧̸",EU="⩾̸",CU="⩾̸",AU="⋙̸",SU="≵",TU="≫⃒",OU="≯",MU="≯",RU="≫̸",NU="↮",DU="⇎",LU="⫲",IU="∋",PU="⋼",FU="⋺",BU="∋",jU="Њ",zU="њ",$U="↚",qU="⇍",UU="‥",HU="≦̸",VU="≰",GU="↚",KU="⇍",WU="↮",ZU="⇎",YU="≰",QU="≦̸",JU="⩽̸",XU="⩽̸",eH="≮",tH="⋘̸",nH="≴",sH="≪⃒",oH="≮",rH="⋪",iH="⋬",aH="≪̸",lH="∤",cH="⁠",uH=" ",dH="𝕟",fH="ℕ",hH="⫬",pH="¬",gH="≢",mH="≭",_H="∦",bH="∉",yH="≠",vH="≂̸",wH="∄",xH="≯",kH="≱",EH="≧̸",CH="≫̸",AH="≹",SH="⩾̸",TH="≵",OH="≎̸",MH="≏̸",RH="∉",NH="⋵̸",DH="⋹̸",LH="∉",IH="⋷",PH="⋶",FH="⧏̸",BH="⋪",jH="⋬",zH="≮",$H="≰",qH="≸",UH="≪̸",HH="⩽̸",VH="≴",GH="⪢̸",KH="⪡̸",WH="∌",ZH="∌",YH="⋾",QH="⋽",JH="⊀",XH="⪯̸",eV="⋠",tV="∌",nV="⧐̸",sV="⋫",oV="⋭",rV="⊏̸",iV="⋢",aV="⊐̸",lV="⋣",cV="⊂⃒",uV="⊈",dV="⊁",fV="⪰̸",hV="⋡",pV="≿̸",gV="⊃⃒",mV="⊉",_V="≁",bV="≄",yV="≇",vV="≉",wV="∤",xV="∦",kV="∦",EV="⫽⃥",CV="∂̸",AV="⨔",SV="⊀",TV="⋠",OV="⊀",MV="⪯̸",RV="⪯̸",NV="⤳̸",DV="↛",LV="⇏",IV="↝̸",PV="↛",FV="⇏",BV="⋫",jV="⋭",zV="⊁",$V="⋡",qV="⪰̸",UV="𝒩",HV="𝓃",VV="∤",GV="∦",KV="≁",WV="≄",ZV="≄",YV="∤",QV="∦",JV="⋢",XV="⋣",eG="⊄",tG="⫅̸",nG="⊈",sG="⊂⃒",oG="⊈",rG="⫅̸",iG="⊁",aG="⪰̸",lG="⊅",cG="⫆̸",uG="⊉",dG="⊃⃒",fG="⊉",hG="⫆̸",pG="≹",gG="Ñ",mG="ñ",_G="≸",bG="⋪",yG="⋬",vG="⋫",wG="⋭",xG="Ν",kG="ν",EG="#",CG="№",AG=" ",SG="≍⃒",TG="⊬",OG="⊭",MG="⊮",RG="⊯",NG="≥⃒",DG=">⃒",LG="⤄",IG="⧞",PG="⤂",FG="≤⃒",BG="<⃒",jG="⊴⃒",zG="⤃",$G="⊵⃒",qG="∼⃒",UG="⤣",HG="↖",VG="⇖",GG="↖",KG="⤧",WG="Ó",ZG="ó",YG="⊛",QG="Ô",JG="ô",XG="⊚",eK="О",tK="о",nK="⊝",sK="Ő",oK="ő",rK="⨸",iK="⊙",aK="⦼",lK="Œ",cK="œ",uK="⦿",dK="𝔒",fK="𝔬",hK="˛",pK="Ò",gK="ò",mK="⧁",_K="⦵",bK="Ω",yK="∮",vK="↺",wK="⦾",xK="⦻",kK="‾",EK="⧀",CK="Ō",AK="ō",SK="Ω",TK="ω",OK="Ο",MK="ο",RK="⦶",NK="⊖",DK="𝕆",LK="𝕠",IK="⦷",PK="“",FK="‘",BK="⦹",jK="⊕",zK="↻",$K="⩔",qK="∨",UK="⩝",HK="ℴ",VK="ℴ",GK="ª",KK="º",WK="⊶",ZK="⩖",YK="⩗",QK="⩛",JK="Ⓢ",XK="𝒪",eW="ℴ",tW="Ø",nW="ø",sW="⊘",oW="Õ",rW="õ",iW="⨶",aW="⨷",lW="⊗",cW="Ö",uW="ö",dW="⌽",fW="‾",hW="⏞",pW="⎴",gW="⏜",mW="¶",_W="∥",bW="∥",yW="⫳",vW="⫽",wW="∂",xW="∂",kW="П",EW="п",CW="%",AW=".",SW="‰",TW="⊥",OW="‱",MW="𝔓",RW="𝔭",NW="Φ",DW="φ",LW="ϕ",IW="ℳ",PW="☎",FW="Π",BW="π",jW="⋔",zW="ϖ",$W="ℏ",qW="ℎ",UW="ℏ",HW="⨣",VW="⊞",GW="⨢",KW="+",WW="∔",ZW="⨥",YW="⩲",QW="±",JW="±",XW="⨦",eZ="⨧",tZ="±",nZ="ℌ",sZ="⨕",oZ="𝕡",rZ="ℙ",iZ="£",aZ="⪷",lZ="⪻",cZ="≺",uZ="≼",dZ="⪷",fZ="≺",hZ="≼",pZ="≺",gZ="⪯",mZ="≼",_Z="≾",bZ="⪯",yZ="⪹",vZ="⪵",wZ="⋨",xZ="⪯",kZ="⪳",EZ="≾",CZ="′",AZ="″",SZ="ℙ",TZ="⪹",OZ="⪵",MZ="⋨",RZ="∏",NZ="∏",DZ="⌮",LZ="⌒",IZ="⌓",PZ="∝",FZ="∝",BZ="∷",jZ="∝",zZ="≾",$Z="⊰",qZ="𝒫",UZ="𝓅",HZ="Ψ",VZ="ψ",GZ=" ",KZ="𝔔",WZ="𝔮",ZZ="⨌",YZ="𝕢",QZ="ℚ",JZ="⁗",XZ="𝒬",eY="𝓆",tY="ℍ",nY="⨖",sY="?",oY="≟",rY='"',iY='"',aY="⇛",lY="∽̱",cY="Ŕ",uY="ŕ",dY="√",fY="⦳",hY="⟩",pY="⟫",gY="⦒",mY="⦥",_Y="⟩",bY="»",yY="⥵",vY="⇥",wY="⤠",xY="⤳",kY="→",EY="↠",CY="⇒",AY="⤞",SY="↪",TY="↬",OY="⥅",MY="⥴",RY="⤖",NY="↣",DY="↝",LY="⤚",IY="⤜",PY="∶",FY="ℚ",BY="⤍",jY="⤏",zY="⤐",$Y="❳",qY="}",UY="]",HY="⦌",VY="⦎",GY="⦐",KY="Ř",WY="ř",ZY="Ŗ",YY="ŗ",QY="⌉",JY="}",XY="Р",eQ="р",tQ="⤷",nQ="⥩",sQ="”",oQ="”",rQ="↳",iQ="ℜ",aQ="ℛ",lQ="ℜ",cQ="ℝ",uQ="ℜ",dQ="▭",fQ="®",hQ="®",pQ="∋",gQ="⇋",mQ="⥯",_Q="⥽",bQ="⌋",yQ="𝔯",vQ="ℜ",wQ="⥤",xQ="⇁",kQ="⇀",EQ="⥬",CQ="Ρ",AQ="ρ",SQ="ϱ",TQ="⟩",OQ="⇥",MQ="→",RQ="→",NQ="⇒",DQ="⇄",LQ="↣",IQ="⌉",PQ="⟧",FQ="⥝",BQ="⥕",jQ="⇂",zQ="⌋",$Q="⇁",qQ="⇀",UQ="⇄",HQ="⇌",VQ="⇉",GQ="↝",KQ="↦",WQ="⊢",ZQ="⥛",YQ="⋌",QQ="⧐",JQ="⊳",XQ="⊵",eJ="⥏",tJ="⥜",nJ="⥔",sJ="↾",oJ="⥓",rJ="⇀",iJ="˚",aJ="≓",lJ="⇄",cJ="⇌",uJ="‏",dJ="⎱",fJ="⎱",hJ="⫮",pJ="⟭",gJ="⇾",mJ="⟧",_J="⦆",bJ="𝕣",yJ="ℝ",vJ="⨮",wJ="⨵",xJ="⥰",kJ=")",EJ="⦔",CJ="⨒",AJ="⇉",SJ="⇛",TJ="›",OJ="𝓇",MJ="ℛ",RJ="↱",NJ="↱",DJ="]",LJ="’",IJ="’",PJ="⋌",FJ="⋊",BJ="▹",jJ="⊵",zJ="▸",$J="⧎",qJ="⧴",UJ="⥨",HJ="℞",VJ="Ś",GJ="ś",KJ="‚",WJ="⪸",ZJ="Š",YJ="š",QJ="⪼",JJ="≻",XJ="≽",eX="⪰",tX="⪴",nX="Ş",sX="ş",oX="Ŝ",rX="ŝ",iX="⪺",aX="⪶",lX="⋩",cX="⨓",uX="≿",dX="С",fX="с",hX="⊡",pX="⋅",gX="⩦",mX="⤥",_X="↘",bX="⇘",yX="↘",vX="§",wX=";",xX="⤩",kX="∖",EX="∖",CX="✶",AX="𝔖",SX="𝔰",TX="⌢",OX="♯",MX="Щ",RX="щ",NX="Ш",DX="ш",LX="↓",IX="←",PX="∣",FX="∥",BX="→",jX="↑",zX="­",$X="Σ",qX="σ",UX="ς",HX="ς",VX="∼",GX="⩪",KX="≃",WX="≃",ZX="⪞",YX="⪠",QX="⪝",JX="⪟",XX="≆",eee="⨤",tee="⥲",nee="←",see="∘",oee="∖",ree="⨳",iee="⧤",aee="∣",lee="⌣",cee="⪪",uee="⪬",dee="⪬︀",fee="Ь",hee="ь",pee="⌿",gee="⧄",mee="/",_ee="𝕊",bee="𝕤",yee="♠",vee="♠",wee="∥",xee="⊓",kee="⊓︀",Eee="⊔",Cee="⊔︀",Aee="√",See="⊏",Tee="⊑",Oee="⊏",Mee="⊑",Ree="⊐",Nee="⊒",Dee="⊐",Lee="⊒",Iee="□",Pee="□",Fee="⊓",Bee="⊏",jee="⊑",zee="⊐",$ee="⊒",qee="⊔",Uee="▪",Hee="□",Vee="▪",Gee="→",Kee="𝒮",Wee="𝓈",Zee="∖",Yee="⌣",Qee="⋆",Jee="⋆",Xee="☆",ete="★",tte="ϵ",nte="ϕ",ste="¯",ote="⊂",rte="⋐",ite="⪽",ate="⫅",lte="⊆",cte="⫃",ute="⫁",dte="⫋",fte="⊊",hte="⪿",pte="⥹",gte="⊂",mte="⋐",_te="⊆",bte="⫅",yte="⊆",vte="⊊",wte="⫋",xte="⫇",kte="⫕",Ete="⫓",Cte="⪸",Ate="≻",Ste="≽",Tte="≻",Ote="⪰",Mte="≽",Rte="≿",Nte="⪰",Dte="⪺",Lte="⪶",Ite="⋩",Pte="≿",Fte="∋",Bte="∑",jte="∑",zte="♪",$te="¹",qte="²",Ute="³",Hte="⊃",Vte="⋑",Gte="⪾",Kte="⫘",Wte="⫆",Zte="⊇",Yte="⫄",Qte="⊃",Jte="⊇",Xte="⟉",ene="⫗",tne="⥻",nne="⫂",sne="⫌",one="⊋",rne="⫀",ine="⊃",ane="⋑",lne="⊇",cne="⫆",une="⊋",dne="⫌",fne="⫈",hne="⫔",pne="⫖",gne="⤦",mne="↙",_ne="⇙",bne="↙",yne="⤪",vne="ß",wne=" ",xne="⌖",kne="Τ",Ene="τ",Cne="⎴",Ane="Ť",Sne="ť",Tne="Ţ",One="ţ",Mne="Т",Rne="т",Nne="⃛",Dne="⌕",Lne="𝔗",Ine="𝔱",Pne="∴",Fne="∴",Bne="∴",jne="Θ",zne="θ",$ne="ϑ",qne="ϑ",Une="≈",Hne="∼",Vne="  ",Gne=" ",Kne=" ",Wne="≈",Zne="∼",Yne="Þ",Qne="þ",Jne="˜",Xne="∼",ese="≃",tse="≅",nse="≈",sse="⨱",ose="⊠",rse="×",ise="⨰",ase="∭",lse="⤨",cse="⌶",use="⫱",dse="⊤",fse="𝕋",hse="𝕥",pse="⫚",gse="⤩",mse="‴",_se="™",bse="™",yse="▵",vse="▿",wse="◃",xse="⊴",kse="≜",Ese="▹",Cse="⊵",Ase="◬",Sse="≜",Tse="⨺",Ose="⃛",Mse="⨹",Rse="⧍",Nse="⨻",Dse="⏢",Lse="𝒯",Ise="𝓉",Pse="Ц",Fse="ц",Bse="Ћ",jse="ћ",zse="Ŧ",$se="ŧ",qse="≬",Use="↞",Hse="↠",Vse="Ú",Gse="ú",Kse="↑",Wse="↟",Zse="⇑",Yse="⥉",Qse="Ў",Jse="ў",Xse="Ŭ",eoe="ŭ",toe="Û",noe="û",soe="У",ooe="у",roe="⇅",ioe="Ű",aoe="ű",loe="⥮",coe="⥾",uoe="𝔘",doe="𝔲",foe="Ù",hoe="ù",poe="⥣",goe="↿",moe="↾",_oe="▀",boe="⌜",yoe="⌜",voe="⌏",woe="◸",xoe="Ū",koe="ū",Eoe="¨",Coe="_",Aoe="⏟",Soe="⎵",Toe="⏝",Ooe="⋃",Moe="⊎",Roe="Ų",Noe="ų",Doe="𝕌",Loe="𝕦",Ioe="⤒",Poe="↑",Foe="↑",Boe="⇑",joe="⇅",zoe="↕",$oe="↕",qoe="⇕",Uoe="⥮",Hoe="↿",Voe="↾",Goe="⊎",Koe="↖",Woe="↗",Zoe="υ",Yoe="ϒ",Qoe="ϒ",Joe="Υ",Xoe="υ",ere="↥",tre="⊥",nre="⇈",sre="⌝",ore="⌝",rre="⌎",ire="Ů",are="ů",lre="◹",cre="𝒰",ure="𝓊",dre="⋰",fre="Ũ",hre="ũ",pre="▵",gre="▴",mre="⇈",_re="Ü",bre="ü",yre="⦧",vre="⦜",wre="ϵ",xre="ϰ",kre="∅",Ere="ϕ",Cre="ϖ",Are="∝",Sre="↕",Tre="⇕",Ore="ϱ",Mre="ς",Rre="⊊︀",Nre="⫋︀",Dre="⊋︀",Lre="⫌︀",Ire="ϑ",Pre="⊲",Fre="⊳",Bre="⫨",jre="⫫",zre="⫩",$re="В",qre="в",Ure="⊢",Hre="⊨",Vre="⊩",Gre="⊫",Kre="⫦",Wre="⊻",Zre="∨",Yre="⋁",Qre="≚",Jre="⋮",Xre="|",eie="‖",tie="|",nie="‖",sie="∣",oie="|",rie="❘",iie="≀",aie=" ",lie="𝔙",cie="𝔳",uie="⊲",die="⊂⃒",fie="⊃⃒",hie="𝕍",pie="𝕧",gie="∝",mie="⊳",_ie="𝒱",bie="𝓋",yie="⫋︀",vie="⊊︀",wie="⫌︀",xie="⊋︀",kie="⊪",Eie="⦚",Cie="Ŵ",Aie="ŵ",Sie="⩟",Tie="∧",Oie="⋀",Mie="≙",Rie="℘",Nie="𝔚",Die="𝔴",Lie="𝕎",Iie="𝕨",Pie="℘",Fie="≀",Bie="≀",jie="𝒲",zie="𝓌",$ie="⋂",qie="◯",Uie="⋃",Hie="▽",Vie="𝔛",Gie="𝔵",Kie="⟷",Wie="⟺",Zie="Ξ",Yie="ξ",Qie="⟵",Jie="⟸",Xie="⟼",eae="⋻",tae="⨀",nae="𝕏",sae="𝕩",oae="⨁",rae="⨂",iae="⟶",aae="⟹",lae="𝒳",cae="𝓍",uae="⨆",dae="⨄",fae="△",hae="⋁",pae="⋀",gae="Ý",mae="ý",_ae="Я",bae="я",yae="Ŷ",vae="ŷ",wae="Ы",xae="ы",kae="¥",Eae="𝔜",Cae="𝔶",Aae="Ї",Sae="ї",Tae="𝕐",Oae="𝕪",Mae="𝒴",Rae="𝓎",Nae="Ю",Dae="ю",Lae="ÿ",Iae="Ÿ",Pae="Ź",Fae="ź",Bae="Ž",jae="ž",zae="З",$ae="з",qae="Ż",Uae="ż",Hae="ℨ",Vae="​",Gae="Ζ",Kae="ζ",Wae="𝔷",Zae="ℨ",Yae="Ж",Qae="ж",Jae="⇝",Xae="𝕫",ele="ℤ",tle="𝒵",nle="𝓏",sle="‍",ole="‌",rle={Aacute:q3,aacute:U3,Abreve:H3,abreve:V3,ac:G3,acd:K3,acE:W3,Acirc:Z3,acirc:Y3,acute:Q3,Acy:J3,acy:X3,AElig:eS,aelig:tS,af:nS,Afr:sS,afr:oS,Agrave:rS,agrave:iS,alefsym:aS,aleph:lS,Alpha:cS,alpha:uS,Amacr:dS,amacr:fS,amalg:hS,amp:pS,AMP:gS,andand:mS,And:_S,and:bS,andd:yS,andslope:vS,andv:wS,ang:xS,ange:kS,angle:ES,angmsdaa:CS,angmsdab:AS,angmsdac:SS,angmsdad:TS,angmsdae:OS,angmsdaf:MS,angmsdag:RS,angmsdah:NS,angmsd:DS,angrt:LS,angrtvb:IS,angrtvbd:PS,angsph:FS,angst:BS,angzarr:jS,Aogon:zS,aogon:$S,Aopf:qS,aopf:US,apacir:HS,ap:VS,apE:GS,ape:KS,apid:WS,apos:ZS,ApplyFunction:YS,approx:QS,approxeq:JS,Aring:XS,aring:eT,Ascr:tT,ascr:nT,Assign:sT,ast:oT,asymp:rT,asympeq:iT,Atilde:aT,atilde:lT,Auml:cT,auml:uT,awconint:dT,awint:fT,backcong:hT,backepsilon:pT,backprime:gT,backsim:mT,backsimeq:_T,Backslash:bT,Barv:yT,barvee:vT,barwed:wT,Barwed:xT,barwedge:kT,bbrk:ET,bbrktbrk:CT,bcong:AT,Bcy:ST,bcy:TT,bdquo:OT,becaus:MT,because:RT,Because:NT,bemptyv:DT,bepsi:LT,bernou:IT,Bernoullis:PT,Beta:FT,beta:BT,beth:jT,between:zT,Bfr:$T,bfr:qT,bigcap:UT,bigcirc:HT,bigcup:VT,bigodot:GT,bigoplus:KT,bigotimes:WT,bigsqcup:ZT,bigstar:YT,bigtriangledown:QT,bigtriangleup:JT,biguplus:XT,bigvee:e8,bigwedge:t8,bkarow:n8,blacklozenge:s8,blacksquare:o8,blacktriangle:r8,blacktriangledown:i8,blacktriangleleft:a8,blacktriangleright:l8,blank:c8,blk12:u8,blk14:d8,blk34:f8,block:h8,bne:p8,bnequiv:g8,bNot:m8,bnot:_8,Bopf:b8,bopf:y8,bot:v8,bottom:w8,bowtie:x8,boxbox:k8,boxdl:E8,boxdL:C8,boxDl:A8,boxDL:S8,boxdr:T8,boxdR:O8,boxDr:M8,boxDR:R8,boxh:N8,boxH:D8,boxhd:L8,boxHd:I8,boxhD:P8,boxHD:F8,boxhu:B8,boxHu:j8,boxhU:z8,boxHU:$8,boxminus:q8,boxplus:U8,boxtimes:H8,boxul:V8,boxuL:G8,boxUl:K8,boxUL:W8,boxur:Z8,boxuR:Y8,boxUr:Q8,boxUR:J8,boxv:X8,boxV:e9,boxvh:t9,boxvH:n9,boxVh:s9,boxVH:o9,boxvl:r9,boxvL:i9,boxVl:a9,boxVL:l9,boxvr:c9,boxvR:u9,boxVr:d9,boxVR:f9,bprime:h9,breve:p9,Breve:g9,brvbar:m9,bscr:_9,Bscr:b9,bsemi:y9,bsim:v9,bsime:w9,bsolb:x9,bsol:k9,bsolhsub:E9,bull:C9,bullet:A9,bump:S9,bumpE:T9,bumpe:O9,Bumpeq:M9,bumpeq:R9,Cacute:N9,cacute:D9,capand:L9,capbrcup:I9,capcap:P9,cap:F9,Cap:B9,capcup:j9,capdot:z9,CapitalDifferentialD:$9,caps:q9,caret:U9,caron:H9,Cayleys:V9,ccaps:G9,Ccaron:K9,ccaron:W9,Ccedil:Z9,ccedil:Y9,Ccirc:Q9,ccirc:J9,Cconint:X9,ccups:e6,ccupssm:t6,Cdot:n6,cdot:s6,cedil:o6,Cedilla:r6,cemptyv:i6,cent:a6,centerdot:l6,CenterDot:c6,cfr:u6,Cfr:d6,CHcy:f6,chcy:h6,check:p6,checkmark:g6,Chi:m6,chi:_6,circ:b6,circeq:y6,circlearrowleft:v6,circlearrowright:w6,circledast:x6,circledcirc:k6,circleddash:E6,CircleDot:C6,circledR:A6,circledS:S6,CircleMinus:T6,CirclePlus:O6,CircleTimes:M6,cir:R6,cirE:N6,cire:D6,cirfnint:L6,cirmid:I6,cirscir:P6,ClockwiseContourIntegral:F6,CloseCurlyDoubleQuote:B6,CloseCurlyQuote:j6,clubs:z6,clubsuit:$6,colon:q6,Colon:U6,Colone:H6,colone:V6,coloneq:G6,comma:K6,commat:W6,comp:Z6,compfn:Y6,complement:Q6,complexes:J6,cong:X6,congdot:eO,Congruent:tO,conint:nO,Conint:sO,ContourIntegral:oO,copf:rO,Copf:iO,coprod:aO,Coproduct:lO,copy:cO,COPY:uO,copysr:dO,CounterClockwiseContourIntegral:fO,crarr:hO,cross:pO,Cross:gO,Cscr:mO,cscr:_O,csub:bO,csube:yO,csup:vO,csupe:wO,ctdot:xO,cudarrl:kO,cudarrr:EO,cuepr:CO,cuesc:AO,cularr:SO,cularrp:TO,cupbrcap:OO,cupcap:MO,CupCap:RO,cup:NO,Cup:DO,cupcup:LO,cupdot:IO,cupor:PO,cups:FO,curarr:BO,curarrm:jO,curlyeqprec:zO,curlyeqsucc:$O,curlyvee:qO,curlywedge:UO,curren:HO,curvearrowleft:VO,curvearrowright:GO,cuvee:KO,cuwed:WO,cwconint:ZO,cwint:YO,cylcty:QO,dagger:JO,Dagger:XO,daleth:eM,darr:tM,Darr:nM,dArr:sM,dash:oM,Dashv:rM,dashv:iM,dbkarow:aM,dblac:lM,Dcaron:cM,dcaron:uM,Dcy:dM,dcy:fM,ddagger:hM,ddarr:pM,DD:gM,dd:mM,DDotrahd:_M,ddotseq:bM,deg:yM,Del:vM,Delta:wM,delta:xM,demptyv:kM,dfisht:EM,Dfr:CM,dfr:AM,dHar:SM,dharl:TM,dharr:OM,DiacriticalAcute:MM,DiacriticalDot:RM,DiacriticalDoubleAcute:NM,DiacriticalGrave:DM,DiacriticalTilde:LM,diam:IM,diamond:PM,Diamond:FM,diamondsuit:BM,diams:jM,die:zM,DifferentialD:$M,digamma:qM,disin:UM,div:HM,divide:VM,divideontimes:GM,divonx:KM,DJcy:WM,djcy:ZM,dlcorn:YM,dlcrop:QM,dollar:JM,Dopf:XM,dopf:eR,Dot:tR,dot:nR,DotDot:sR,doteq:oR,doteqdot:rR,DotEqual:iR,dotminus:aR,dotplus:lR,dotsquare:cR,doublebarwedge:uR,DoubleContourIntegral:dR,DoubleDot:fR,DoubleDownArrow:hR,DoubleLeftArrow:pR,DoubleLeftRightArrow:gR,DoubleLeftTee:mR,DoubleLongLeftArrow:_R,DoubleLongLeftRightArrow:bR,DoubleLongRightArrow:yR,DoubleRightArrow:vR,DoubleRightTee:wR,DoubleUpArrow:xR,DoubleUpDownArrow:kR,DoubleVerticalBar:ER,DownArrowBar:CR,downarrow:AR,DownArrow:SR,Downarrow:TR,DownArrowUpArrow:OR,DownBreve:MR,downdownarrows:RR,downharpoonleft:NR,downharpoonright:DR,DownLeftRightVector:LR,DownLeftTeeVector:IR,DownLeftVectorBar:PR,DownLeftVector:FR,DownRightTeeVector:BR,DownRightVectorBar:jR,DownRightVector:zR,DownTeeArrow:$R,DownTee:qR,drbkarow:UR,drcorn:HR,drcrop:VR,Dscr:GR,dscr:KR,DScy:WR,dscy:ZR,dsol:YR,Dstrok:QR,dstrok:JR,dtdot:XR,dtri:e7,dtrif:t7,duarr:n7,duhar:s7,dwangle:o7,DZcy:r7,dzcy:i7,dzigrarr:a7,Eacute:l7,eacute:c7,easter:u7,Ecaron:d7,ecaron:f7,Ecirc:h7,ecirc:p7,ecir:g7,ecolon:m7,Ecy:_7,ecy:b7,eDDot:y7,Edot:v7,edot:w7,eDot:x7,ee:k7,efDot:E7,Efr:C7,efr:A7,eg:S7,Egrave:T7,egrave:O7,egs:M7,egsdot:R7,el:N7,Element:D7,elinters:L7,ell:I7,els:P7,elsdot:F7,Emacr:B7,emacr:j7,empty:z7,emptyset:$7,EmptySmallSquare:q7,emptyv:U7,EmptyVerySmallSquare:H7,emsp13:V7,emsp14:G7,emsp:K7,ENG:W7,eng:Z7,ensp:Y7,Eogon:Q7,eogon:J7,Eopf:X7,eopf:eN,epar:tN,eparsl:nN,eplus:sN,epsi:oN,Epsilon:rN,epsilon:iN,epsiv:aN,eqcirc:lN,eqcolon:cN,eqsim:uN,eqslantgtr:dN,eqslantless:fN,Equal:hN,equals:pN,EqualTilde:gN,equest:mN,Equilibrium:_N,equiv:bN,equivDD:yN,eqvparsl:vN,erarr:wN,erDot:xN,escr:kN,Escr:EN,esdot:CN,Esim:AN,esim:SN,Eta:TN,eta:ON,ETH:MN,eth:RN,Euml:NN,euml:DN,euro:LN,excl:IN,exist:PN,Exists:FN,expectation:BN,exponentiale:jN,ExponentialE:zN,fallingdotseq:$N,Fcy:qN,fcy:UN,female:HN,ffilig:VN,fflig:GN,ffllig:KN,Ffr:WN,ffr:ZN,filig:YN,FilledSmallSquare:QN,FilledVerySmallSquare:JN,fjlig:XN,flat:eD,fllig:tD,fltns:nD,fnof:sD,Fopf:oD,fopf:rD,forall:iD,ForAll:aD,fork:lD,forkv:cD,Fouriertrf:uD,fpartint:dD,frac12:fD,frac13:hD,frac14:pD,frac15:gD,frac16:mD,frac18:_D,frac23:bD,frac25:yD,frac34:vD,frac35:wD,frac38:xD,frac45:kD,frac56:ED,frac58:CD,frac78:AD,frasl:SD,frown:TD,fscr:OD,Fscr:MD,gacute:RD,Gamma:ND,gamma:DD,Gammad:LD,gammad:ID,gap:PD,Gbreve:FD,gbreve:BD,Gcedil:jD,Gcirc:zD,gcirc:$D,Gcy:qD,gcy:UD,Gdot:HD,gdot:VD,ge:GD,gE:KD,gEl:WD,gel:ZD,geq:YD,geqq:QD,geqslant:JD,gescc:XD,ges:eL,gesdot:tL,gesdoto:nL,gesdotol:sL,gesl:oL,gesles:rL,Gfr:iL,gfr:aL,gg:lL,Gg:cL,ggg:uL,gimel:dL,GJcy:fL,gjcy:hL,gla:pL,gl:gL,glE:mL,glj:_L,gnap:bL,gnapprox:yL,gne:vL,gnE:wL,gneq:xL,gneqq:kL,gnsim:EL,Gopf:CL,gopf:AL,grave:SL,GreaterEqual:TL,GreaterEqualLess:OL,GreaterFullEqual:ML,GreaterGreater:RL,GreaterLess:NL,GreaterSlantEqual:DL,GreaterTilde:LL,Gscr:IL,gscr:PL,gsim:FL,gsime:BL,gsiml:jL,gtcc:zL,gtcir:$L,gt:qL,GT:UL,Gt:HL,gtdot:VL,gtlPar:GL,gtquest:KL,gtrapprox:WL,gtrarr:ZL,gtrdot:YL,gtreqless:QL,gtreqqless:JL,gtrless:XL,gtrsim:eI,gvertneqq:tI,gvnE:nI,Hacek:sI,hairsp:oI,half:rI,hamilt:iI,HARDcy:aI,hardcy:lI,harrcir:cI,harr:uI,hArr:dI,harrw:fI,Hat:hI,hbar:pI,Hcirc:gI,hcirc:mI,hearts:_I,heartsuit:bI,hellip:yI,hercon:vI,hfr:wI,Hfr:xI,HilbertSpace:kI,hksearow:EI,hkswarow:CI,hoarr:AI,homtht:SI,hookleftarrow:TI,hookrightarrow:OI,hopf:MI,Hopf:RI,horbar:NI,HorizontalLine:DI,hscr:LI,Hscr:II,hslash:PI,Hstrok:FI,hstrok:BI,HumpDownHump:jI,HumpEqual:zI,hybull:$I,hyphen:qI,Iacute:UI,iacute:HI,ic:VI,Icirc:GI,icirc:KI,Icy:WI,icy:ZI,Idot:YI,IEcy:QI,iecy:JI,iexcl:XI,iff:eP,ifr:tP,Ifr:nP,Igrave:sP,igrave:oP,ii:rP,iiiint:iP,iiint:aP,iinfin:lP,iiota:cP,IJlig:uP,ijlig:dP,Imacr:fP,imacr:hP,image:pP,ImaginaryI:gP,imagline:mP,imagpart:_P,imath:bP,Im:yP,imof:vP,imped:wP,Implies:xP,incare:kP,in:"∈",infin:EP,infintie:CP,inodot:AP,intcal:SP,int:TP,Int:OP,integers:MP,Integral:RP,intercal:NP,Intersection:DP,intlarhk:LP,intprod:IP,InvisibleComma:PP,InvisibleTimes:FP,IOcy:BP,iocy:jP,Iogon:zP,iogon:$P,Iopf:qP,iopf:UP,Iota:HP,iota:VP,iprod:GP,iquest:KP,iscr:WP,Iscr:ZP,isin:YP,isindot:QP,isinE:JP,isins:XP,isinsv:eF,isinv:tF,it:nF,Itilde:sF,itilde:oF,Iukcy:rF,iukcy:iF,Iuml:aF,iuml:lF,Jcirc:cF,jcirc:uF,Jcy:dF,jcy:fF,Jfr:hF,jfr:pF,jmath:gF,Jopf:mF,jopf:_F,Jscr:bF,jscr:yF,Jsercy:vF,jsercy:wF,Jukcy:xF,jukcy:kF,Kappa:EF,kappa:CF,kappav:AF,Kcedil:SF,kcedil:TF,Kcy:OF,kcy:MF,Kfr:RF,kfr:NF,kgreen:DF,KHcy:LF,khcy:IF,KJcy:PF,kjcy:FF,Kopf:BF,kopf:jF,Kscr:zF,kscr:$F,lAarr:qF,Lacute:UF,lacute:HF,laemptyv:VF,lagran:GF,Lambda:KF,lambda:WF,lang:ZF,Lang:YF,langd:QF,langle:JF,lap:XF,Laplacetrf:eB,laquo:tB,larrb:nB,larrbfs:sB,larr:oB,Larr:rB,lArr:iB,larrfs:aB,larrhk:lB,larrlp:cB,larrpl:uB,larrsim:dB,larrtl:fB,latail:hB,lAtail:pB,lat:gB,late:mB,lates:_B,lbarr:bB,lBarr:yB,lbbrk:vB,lbrace:wB,lbrack:xB,lbrke:kB,lbrksld:EB,lbrkslu:CB,Lcaron:AB,lcaron:SB,Lcedil:TB,lcedil:OB,lceil:MB,lcub:RB,Lcy:NB,lcy:DB,ldca:LB,ldquo:IB,ldquor:PB,ldrdhar:FB,ldrushar:BB,ldsh:jB,le:zB,lE:$B,LeftAngleBracket:qB,LeftArrowBar:UB,leftarrow:HB,LeftArrow:VB,Leftarrow:GB,LeftArrowRightArrow:KB,leftarrowtail:WB,LeftCeiling:ZB,LeftDoubleBracket:YB,LeftDownTeeVector:QB,LeftDownVectorBar:JB,LeftDownVector:XB,LeftFloor:ej,leftharpoondown:tj,leftharpoonup:nj,leftleftarrows:sj,leftrightarrow:oj,LeftRightArrow:rj,Leftrightarrow:ij,leftrightarrows:aj,leftrightharpoons:lj,leftrightsquigarrow:cj,LeftRightVector:uj,LeftTeeArrow:dj,LeftTee:fj,LeftTeeVector:hj,leftthreetimes:pj,LeftTriangleBar:gj,LeftTriangle:mj,LeftTriangleEqual:_j,LeftUpDownVector:bj,LeftUpTeeVector:yj,LeftUpVectorBar:vj,LeftUpVector:wj,LeftVectorBar:xj,LeftVector:kj,lEg:Ej,leg:Cj,leq:Aj,leqq:Sj,leqslant:Tj,lescc:Oj,les:Mj,lesdot:Rj,lesdoto:Nj,lesdotor:Dj,lesg:Lj,lesges:Ij,lessapprox:Pj,lessdot:Fj,lesseqgtr:Bj,lesseqqgtr:jj,LessEqualGreater:zj,LessFullEqual:$j,LessGreater:qj,lessgtr:Uj,LessLess:Hj,lesssim:Vj,LessSlantEqual:Gj,LessTilde:Kj,lfisht:Wj,lfloor:Zj,Lfr:Yj,lfr:Qj,lg:Jj,lgE:Xj,lHar:ez,lhard:tz,lharu:nz,lharul:sz,lhblk:oz,LJcy:rz,ljcy:iz,llarr:az,ll:lz,Ll:cz,llcorner:uz,Lleftarrow:dz,llhard:fz,lltri:hz,Lmidot:pz,lmidot:gz,lmoustache:mz,lmoust:_z,lnap:bz,lnapprox:yz,lne:vz,lnE:wz,lneq:xz,lneqq:kz,lnsim:Ez,loang:Cz,loarr:Az,lobrk:Sz,longleftarrow:Tz,LongLeftArrow:Oz,Longleftarrow:Mz,longleftrightarrow:Rz,LongLeftRightArrow:Nz,Longleftrightarrow:Dz,longmapsto:Lz,longrightarrow:Iz,LongRightArrow:Pz,Longrightarrow:Fz,looparrowleft:Bz,looparrowright:jz,lopar:zz,Lopf:$z,lopf:qz,loplus:Uz,lotimes:Hz,lowast:Vz,lowbar:Gz,LowerLeftArrow:Kz,LowerRightArrow:Wz,loz:Zz,lozenge:Yz,lozf:Qz,lpar:Jz,lparlt:Xz,lrarr:e$,lrcorner:t$,lrhar:n$,lrhard:s$,lrm:o$,lrtri:r$,lsaquo:i$,lscr:a$,Lscr:l$,lsh:c$,Lsh:u$,lsim:d$,lsime:f$,lsimg:h$,lsqb:p$,lsquo:g$,lsquor:m$,Lstrok:_$,lstrok:b$,ltcc:y$,ltcir:v$,lt:w$,LT:x$,Lt:k$,ltdot:E$,lthree:C$,ltimes:A$,ltlarr:S$,ltquest:T$,ltri:O$,ltrie:M$,ltrif:R$,ltrPar:N$,lurdshar:D$,luruhar:L$,lvertneqq:I$,lvnE:P$,macr:F$,male:B$,malt:j$,maltese:z$,Map:"⤅",map:$$,mapsto:q$,mapstodown:U$,mapstoleft:H$,mapstoup:V$,marker:G$,mcomma:K$,Mcy:W$,mcy:Z$,mdash:Y$,mDDot:Q$,measuredangle:J$,MediumSpace:X$,Mellintrf:eq,Mfr:tq,mfr:nq,mho:sq,micro:oq,midast:rq,midcir:iq,mid:aq,middot:lq,minusb:cq,minus:uq,minusd:dq,minusdu:fq,MinusPlus:hq,mlcp:pq,mldr:gq,mnplus:mq,models:_q,Mopf:bq,mopf:yq,mp:vq,mscr:wq,Mscr:xq,mstpos:kq,Mu:Eq,mu:Cq,multimap:Aq,mumap:Sq,nabla:Tq,Nacute:Oq,nacute:Mq,nang:Rq,nap:Nq,napE:Dq,napid:Lq,napos:Iq,napprox:Pq,natural:Fq,naturals:Bq,natur:jq,nbsp:zq,nbump:$q,nbumpe:qq,ncap:Uq,Ncaron:Hq,ncaron:Vq,Ncedil:Gq,ncedil:Kq,ncong:Wq,ncongdot:Zq,ncup:Yq,Ncy:Qq,ncy:Jq,ndash:Xq,nearhk:eU,nearr:tU,neArr:nU,nearrow:sU,ne:oU,nedot:rU,NegativeMediumSpace:iU,NegativeThickSpace:aU,NegativeThinSpace:lU,NegativeVeryThinSpace:cU,nequiv:uU,nesear:dU,nesim:fU,NestedGreaterGreater:hU,NestedLessLess:pU,NewLine:gU,nexist:mU,nexists:_U,Nfr:bU,nfr:yU,ngE:vU,nge:wU,ngeq:xU,ngeqq:kU,ngeqslant:EU,nges:CU,nGg:AU,ngsim:SU,nGt:TU,ngt:OU,ngtr:MU,nGtv:RU,nharr:NU,nhArr:DU,nhpar:LU,ni:IU,nis:PU,nisd:FU,niv:BU,NJcy:jU,njcy:zU,nlarr:$U,nlArr:qU,nldr:UU,nlE:HU,nle:VU,nleftarrow:GU,nLeftarrow:KU,nleftrightarrow:WU,nLeftrightarrow:ZU,nleq:YU,nleqq:QU,nleqslant:JU,nles:XU,nless:eH,nLl:tH,nlsim:nH,nLt:sH,nlt:oH,nltri:rH,nltrie:iH,nLtv:aH,nmid:lH,NoBreak:cH,NonBreakingSpace:uH,nopf:dH,Nopf:fH,Not:hH,not:pH,NotCongruent:gH,NotCupCap:mH,NotDoubleVerticalBar:_H,NotElement:bH,NotEqual:yH,NotEqualTilde:vH,NotExists:wH,NotGreater:xH,NotGreaterEqual:kH,NotGreaterFullEqual:EH,NotGreaterGreater:CH,NotGreaterLess:AH,NotGreaterSlantEqual:SH,NotGreaterTilde:TH,NotHumpDownHump:OH,NotHumpEqual:MH,notin:RH,notindot:NH,notinE:DH,notinva:LH,notinvb:IH,notinvc:PH,NotLeftTriangleBar:FH,NotLeftTriangle:BH,NotLeftTriangleEqual:jH,NotLess:zH,NotLessEqual:$H,NotLessGreater:qH,NotLessLess:UH,NotLessSlantEqual:HH,NotLessTilde:VH,NotNestedGreaterGreater:GH,NotNestedLessLess:KH,notni:WH,notniva:ZH,notnivb:YH,notnivc:QH,NotPrecedes:JH,NotPrecedesEqual:XH,NotPrecedesSlantEqual:eV,NotReverseElement:tV,NotRightTriangleBar:nV,NotRightTriangle:sV,NotRightTriangleEqual:oV,NotSquareSubset:rV,NotSquareSubsetEqual:iV,NotSquareSuperset:aV,NotSquareSupersetEqual:lV,NotSubset:cV,NotSubsetEqual:uV,NotSucceeds:dV,NotSucceedsEqual:fV,NotSucceedsSlantEqual:hV,NotSucceedsTilde:pV,NotSuperset:gV,NotSupersetEqual:mV,NotTilde:_V,NotTildeEqual:bV,NotTildeFullEqual:yV,NotTildeTilde:vV,NotVerticalBar:wV,nparallel:xV,npar:kV,nparsl:EV,npart:CV,npolint:AV,npr:SV,nprcue:TV,nprec:OV,npreceq:MV,npre:RV,nrarrc:NV,nrarr:DV,nrArr:LV,nrarrw:IV,nrightarrow:PV,nRightarrow:FV,nrtri:BV,nrtrie:jV,nsc:zV,nsccue:$V,nsce:qV,Nscr:UV,nscr:HV,nshortmid:VV,nshortparallel:GV,nsim:KV,nsime:WV,nsimeq:ZV,nsmid:YV,nspar:QV,nsqsube:JV,nsqsupe:XV,nsub:eG,nsubE:tG,nsube:nG,nsubset:sG,nsubseteq:oG,nsubseteqq:rG,nsucc:iG,nsucceq:aG,nsup:lG,nsupE:cG,nsupe:uG,nsupset:dG,nsupseteq:fG,nsupseteqq:hG,ntgl:pG,Ntilde:gG,ntilde:mG,ntlg:_G,ntriangleleft:bG,ntrianglelefteq:yG,ntriangleright:vG,ntrianglerighteq:wG,Nu:xG,nu:kG,num:EG,numero:CG,numsp:AG,nvap:SG,nvdash:TG,nvDash:OG,nVdash:MG,nVDash:RG,nvge:NG,nvgt:DG,nvHarr:LG,nvinfin:IG,nvlArr:PG,nvle:FG,nvlt:BG,nvltrie:jG,nvrArr:zG,nvrtrie:$G,nvsim:qG,nwarhk:UG,nwarr:HG,nwArr:VG,nwarrow:GG,nwnear:KG,Oacute:WG,oacute:ZG,oast:YG,Ocirc:QG,ocirc:JG,ocir:XG,Ocy:eK,ocy:tK,odash:nK,Odblac:sK,odblac:oK,odiv:rK,odot:iK,odsold:aK,OElig:lK,oelig:cK,ofcir:uK,Ofr:dK,ofr:fK,ogon:hK,Ograve:pK,ograve:gK,ogt:mK,ohbar:_K,ohm:bK,oint:yK,olarr:vK,olcir:wK,olcross:xK,oline:kK,olt:EK,Omacr:CK,omacr:AK,Omega:SK,omega:TK,Omicron:OK,omicron:MK,omid:RK,ominus:NK,Oopf:DK,oopf:LK,opar:IK,OpenCurlyDoubleQuote:PK,OpenCurlyQuote:FK,operp:BK,oplus:jK,orarr:zK,Or:$K,or:qK,ord:UK,order:HK,orderof:VK,ordf:GK,ordm:KK,origof:WK,oror:ZK,orslope:YK,orv:QK,oS:JK,Oscr:XK,oscr:eW,Oslash:tW,oslash:nW,osol:sW,Otilde:oW,otilde:rW,otimesas:iW,Otimes:aW,otimes:lW,Ouml:cW,ouml:uW,ovbar:dW,OverBar:fW,OverBrace:hW,OverBracket:pW,OverParenthesis:gW,para:mW,parallel:_W,par:bW,parsim:yW,parsl:vW,part:wW,PartialD:xW,Pcy:kW,pcy:EW,percnt:CW,period:AW,permil:SW,perp:TW,pertenk:OW,Pfr:MW,pfr:RW,Phi:NW,phi:DW,phiv:LW,phmmat:IW,phone:PW,Pi:FW,pi:BW,pitchfork:jW,piv:zW,planck:$W,planckh:qW,plankv:UW,plusacir:HW,plusb:VW,pluscir:GW,plus:KW,plusdo:WW,plusdu:ZW,pluse:YW,PlusMinus:QW,plusmn:JW,plussim:XW,plustwo:eZ,pm:tZ,Poincareplane:nZ,pointint:sZ,popf:oZ,Popf:rZ,pound:iZ,prap:aZ,Pr:lZ,pr:cZ,prcue:uZ,precapprox:dZ,prec:fZ,preccurlyeq:hZ,Precedes:pZ,PrecedesEqual:gZ,PrecedesSlantEqual:mZ,PrecedesTilde:_Z,preceq:bZ,precnapprox:yZ,precneqq:vZ,precnsim:wZ,pre:xZ,prE:kZ,precsim:EZ,prime:CZ,Prime:AZ,primes:SZ,prnap:TZ,prnE:OZ,prnsim:MZ,prod:RZ,Product:NZ,profalar:DZ,profline:LZ,profsurf:IZ,prop:PZ,Proportional:FZ,Proportion:BZ,propto:jZ,prsim:zZ,prurel:$Z,Pscr:qZ,pscr:UZ,Psi:HZ,psi:VZ,puncsp:GZ,Qfr:KZ,qfr:WZ,qint:ZZ,qopf:YZ,Qopf:QZ,qprime:JZ,Qscr:XZ,qscr:eY,quaternions:tY,quatint:nY,quest:sY,questeq:oY,quot:rY,QUOT:iY,rAarr:aY,race:lY,Racute:cY,racute:uY,radic:dY,raemptyv:fY,rang:hY,Rang:pY,rangd:gY,range:mY,rangle:_Y,raquo:bY,rarrap:yY,rarrb:vY,rarrbfs:wY,rarrc:xY,rarr:kY,Rarr:EY,rArr:CY,rarrfs:AY,rarrhk:SY,rarrlp:TY,rarrpl:OY,rarrsim:MY,Rarrtl:RY,rarrtl:NY,rarrw:DY,ratail:LY,rAtail:IY,ratio:PY,rationals:FY,rbarr:BY,rBarr:jY,RBarr:zY,rbbrk:$Y,rbrace:qY,rbrack:UY,rbrke:HY,rbrksld:VY,rbrkslu:GY,Rcaron:KY,rcaron:WY,Rcedil:ZY,rcedil:YY,rceil:QY,rcub:JY,Rcy:XY,rcy:eQ,rdca:tQ,rdldhar:nQ,rdquo:sQ,rdquor:oQ,rdsh:rQ,real:iQ,realine:aQ,realpart:lQ,reals:cQ,Re:uQ,rect:dQ,reg:fQ,REG:hQ,ReverseElement:pQ,ReverseEquilibrium:gQ,ReverseUpEquilibrium:mQ,rfisht:_Q,rfloor:bQ,rfr:yQ,Rfr:vQ,rHar:wQ,rhard:xQ,rharu:kQ,rharul:EQ,Rho:CQ,rho:AQ,rhov:SQ,RightAngleBracket:TQ,RightArrowBar:OQ,rightarrow:MQ,RightArrow:RQ,Rightarrow:NQ,RightArrowLeftArrow:DQ,rightarrowtail:LQ,RightCeiling:IQ,RightDoubleBracket:PQ,RightDownTeeVector:FQ,RightDownVectorBar:BQ,RightDownVector:jQ,RightFloor:zQ,rightharpoondown:$Q,rightharpoonup:qQ,rightleftarrows:UQ,rightleftharpoons:HQ,rightrightarrows:VQ,rightsquigarrow:GQ,RightTeeArrow:KQ,RightTee:WQ,RightTeeVector:ZQ,rightthreetimes:YQ,RightTriangleBar:QQ,RightTriangle:JQ,RightTriangleEqual:XQ,RightUpDownVector:eJ,RightUpTeeVector:tJ,RightUpVectorBar:nJ,RightUpVector:sJ,RightVectorBar:oJ,RightVector:rJ,ring:iJ,risingdotseq:aJ,rlarr:lJ,rlhar:cJ,rlm:uJ,rmoustache:dJ,rmoust:fJ,rnmid:hJ,roang:pJ,roarr:gJ,robrk:mJ,ropar:_J,ropf:bJ,Ropf:yJ,roplus:vJ,rotimes:wJ,RoundImplies:xJ,rpar:kJ,rpargt:EJ,rppolint:CJ,rrarr:AJ,Rrightarrow:SJ,rsaquo:TJ,rscr:OJ,Rscr:MJ,rsh:RJ,Rsh:NJ,rsqb:DJ,rsquo:LJ,rsquor:IJ,rthree:PJ,rtimes:FJ,rtri:BJ,rtrie:jJ,rtrif:zJ,rtriltri:$J,RuleDelayed:qJ,ruluhar:UJ,rx:HJ,Sacute:VJ,sacute:GJ,sbquo:KJ,scap:WJ,Scaron:ZJ,scaron:YJ,Sc:QJ,sc:JJ,sccue:XJ,sce:eX,scE:tX,Scedil:nX,scedil:sX,Scirc:oX,scirc:rX,scnap:iX,scnE:aX,scnsim:lX,scpolint:cX,scsim:uX,Scy:dX,scy:fX,sdotb:hX,sdot:pX,sdote:gX,searhk:mX,searr:_X,seArr:bX,searrow:yX,sect:vX,semi:wX,seswar:xX,setminus:kX,setmn:EX,sext:CX,Sfr:AX,sfr:SX,sfrown:TX,sharp:OX,SHCHcy:MX,shchcy:RX,SHcy:NX,shcy:DX,ShortDownArrow:LX,ShortLeftArrow:IX,shortmid:PX,shortparallel:FX,ShortRightArrow:BX,ShortUpArrow:jX,shy:zX,Sigma:$X,sigma:qX,sigmaf:UX,sigmav:HX,sim:VX,simdot:GX,sime:KX,simeq:WX,simg:ZX,simgE:YX,siml:QX,simlE:JX,simne:XX,simplus:eee,simrarr:tee,slarr:nee,SmallCircle:see,smallsetminus:oee,smashp:ree,smeparsl:iee,smid:aee,smile:lee,smt:cee,smte:uee,smtes:dee,SOFTcy:fee,softcy:hee,solbar:pee,solb:gee,sol:mee,Sopf:_ee,sopf:bee,spades:yee,spadesuit:vee,spar:wee,sqcap:xee,sqcaps:kee,sqcup:Eee,sqcups:Cee,Sqrt:Aee,sqsub:See,sqsube:Tee,sqsubset:Oee,sqsubseteq:Mee,sqsup:Ree,sqsupe:Nee,sqsupset:Dee,sqsupseteq:Lee,square:Iee,Square:Pee,SquareIntersection:Fee,SquareSubset:Bee,SquareSubsetEqual:jee,SquareSuperset:zee,SquareSupersetEqual:$ee,SquareUnion:qee,squarf:Uee,squ:Hee,squf:Vee,srarr:Gee,Sscr:Kee,sscr:Wee,ssetmn:Zee,ssmile:Yee,sstarf:Qee,Star:Jee,star:Xee,starf:ete,straightepsilon:tte,straightphi:nte,strns:ste,sub:ote,Sub:rte,subdot:ite,subE:ate,sube:lte,subedot:cte,submult:ute,subnE:dte,subne:fte,subplus:hte,subrarr:pte,subset:gte,Subset:mte,subseteq:_te,subseteqq:bte,SubsetEqual:yte,subsetneq:vte,subsetneqq:wte,subsim:xte,subsub:kte,subsup:Ete,succapprox:Cte,succ:Ate,succcurlyeq:Ste,Succeeds:Tte,SucceedsEqual:Ote,SucceedsSlantEqual:Mte,SucceedsTilde:Rte,succeq:Nte,succnapprox:Dte,succneqq:Lte,succnsim:Ite,succsim:Pte,SuchThat:Fte,sum:Bte,Sum:jte,sung:zte,sup1:$te,sup2:qte,sup3:Ute,sup:Hte,Sup:Vte,supdot:Gte,supdsub:Kte,supE:Wte,supe:Zte,supedot:Yte,Superset:Qte,SupersetEqual:Jte,suphsol:Xte,suphsub:ene,suplarr:tne,supmult:nne,supnE:sne,supne:one,supplus:rne,supset:ine,Supset:ane,supseteq:lne,supseteqq:cne,supsetneq:une,supsetneqq:dne,supsim:fne,supsub:hne,supsup:pne,swarhk:gne,swarr:mne,swArr:_ne,swarrow:bne,swnwar:yne,szlig:vne,Tab:wne,target:xne,Tau:kne,tau:Ene,tbrk:Cne,Tcaron:Ane,tcaron:Sne,Tcedil:Tne,tcedil:One,Tcy:Mne,tcy:Rne,tdot:Nne,telrec:Dne,Tfr:Lne,tfr:Ine,there4:Pne,therefore:Fne,Therefore:Bne,Theta:jne,theta:zne,thetasym:$ne,thetav:qne,thickapprox:Une,thicksim:Hne,ThickSpace:Vne,ThinSpace:Gne,thinsp:Kne,thkap:Wne,thksim:Zne,THORN:Yne,thorn:Qne,tilde:Jne,Tilde:Xne,TildeEqual:ese,TildeFullEqual:tse,TildeTilde:nse,timesbar:sse,timesb:ose,times:rse,timesd:ise,tint:ase,toea:lse,topbot:cse,topcir:use,top:dse,Topf:fse,topf:hse,topfork:pse,tosa:gse,tprime:mse,trade:_se,TRADE:bse,triangle:yse,triangledown:vse,triangleleft:wse,trianglelefteq:xse,triangleq:kse,triangleright:Ese,trianglerighteq:Cse,tridot:Ase,trie:Sse,triminus:Tse,TripleDot:Ose,triplus:Mse,trisb:Rse,tritime:Nse,trpezium:Dse,Tscr:Lse,tscr:Ise,TScy:Pse,tscy:Fse,TSHcy:Bse,tshcy:jse,Tstrok:zse,tstrok:$se,twixt:qse,twoheadleftarrow:Use,twoheadrightarrow:Hse,Uacute:Vse,uacute:Gse,uarr:Kse,Uarr:Wse,uArr:Zse,Uarrocir:Yse,Ubrcy:Qse,ubrcy:Jse,Ubreve:Xse,ubreve:eoe,Ucirc:toe,ucirc:noe,Ucy:soe,ucy:ooe,udarr:roe,Udblac:ioe,udblac:aoe,udhar:loe,ufisht:coe,Ufr:uoe,ufr:doe,Ugrave:foe,ugrave:hoe,uHar:poe,uharl:goe,uharr:moe,uhblk:_oe,ulcorn:boe,ulcorner:yoe,ulcrop:voe,ultri:woe,Umacr:xoe,umacr:koe,uml:Eoe,UnderBar:Coe,UnderBrace:Aoe,UnderBracket:Soe,UnderParenthesis:Toe,Union:Ooe,UnionPlus:Moe,Uogon:Roe,uogon:Noe,Uopf:Doe,uopf:Loe,UpArrowBar:Ioe,uparrow:Poe,UpArrow:Foe,Uparrow:Boe,UpArrowDownArrow:joe,updownarrow:zoe,UpDownArrow:$oe,Updownarrow:qoe,UpEquilibrium:Uoe,upharpoonleft:Hoe,upharpoonright:Voe,uplus:Goe,UpperLeftArrow:Koe,UpperRightArrow:Woe,upsi:Zoe,Upsi:Yoe,upsih:Qoe,Upsilon:Joe,upsilon:Xoe,UpTeeArrow:ere,UpTee:tre,upuparrows:nre,urcorn:sre,urcorner:ore,urcrop:rre,Uring:ire,uring:are,urtri:lre,Uscr:cre,uscr:ure,utdot:dre,Utilde:fre,utilde:hre,utri:pre,utrif:gre,uuarr:mre,Uuml:_re,uuml:bre,uwangle:yre,vangrt:vre,varepsilon:wre,varkappa:xre,varnothing:kre,varphi:Ere,varpi:Cre,varpropto:Are,varr:Sre,vArr:Tre,varrho:Ore,varsigma:Mre,varsubsetneq:Rre,varsubsetneqq:Nre,varsupsetneq:Dre,varsupsetneqq:Lre,vartheta:Ire,vartriangleleft:Pre,vartriangleright:Fre,vBar:Bre,Vbar:jre,vBarv:zre,Vcy:$re,vcy:qre,vdash:Ure,vDash:Hre,Vdash:Vre,VDash:Gre,Vdashl:Kre,veebar:Wre,vee:Zre,Vee:Yre,veeeq:Qre,vellip:Jre,verbar:Xre,Verbar:eie,vert:tie,Vert:nie,VerticalBar:sie,VerticalLine:oie,VerticalSeparator:rie,VerticalTilde:iie,VeryThinSpace:aie,Vfr:lie,vfr:cie,vltri:uie,vnsub:die,vnsup:fie,Vopf:hie,vopf:pie,vprop:gie,vrtri:mie,Vscr:_ie,vscr:bie,vsubnE:yie,vsubne:vie,vsupnE:wie,vsupne:xie,Vvdash:kie,vzigzag:Eie,Wcirc:Cie,wcirc:Aie,wedbar:Sie,wedge:Tie,Wedge:Oie,wedgeq:Mie,weierp:Rie,Wfr:Nie,wfr:Die,Wopf:Lie,wopf:Iie,wp:Pie,wr:Fie,wreath:Bie,Wscr:jie,wscr:zie,xcap:$ie,xcirc:qie,xcup:Uie,xdtri:Hie,Xfr:Vie,xfr:Gie,xharr:Kie,xhArr:Wie,Xi:Zie,xi:Yie,xlarr:Qie,xlArr:Jie,xmap:Xie,xnis:eae,xodot:tae,Xopf:nae,xopf:sae,xoplus:oae,xotime:rae,xrarr:iae,xrArr:aae,Xscr:lae,xscr:cae,xsqcup:uae,xuplus:dae,xutri:fae,xvee:hae,xwedge:pae,Yacute:gae,yacute:mae,YAcy:_ae,yacy:bae,Ycirc:yae,ycirc:vae,Ycy:wae,ycy:xae,yen:kae,Yfr:Eae,yfr:Cae,YIcy:Aae,yicy:Sae,Yopf:Tae,yopf:Oae,Yscr:Mae,yscr:Rae,YUcy:Nae,yucy:Dae,yuml:Lae,Yuml:Iae,Zacute:Pae,zacute:Fae,Zcaron:Bae,zcaron:jae,Zcy:zae,zcy:$ae,Zdot:qae,zdot:Uae,zeetrf:Hae,ZeroWidthSpace:Vae,Zeta:Gae,zeta:Kae,zfr:Wae,Zfr:Zae,ZHcy:Yae,zhcy:Qae,zigrarr:Jae,zopf:Xae,Zopf:ele,Zscr:tle,zscr:nle,zwj:sle,zwnj:ole};var Yp=rle,Yl=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Us={},$u={};function ile(t){var e,n,s=$u[t];if(s)return s;for(s=$u[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),a=ile(e),s=0,o=t.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}oi.defaultChars=";/?:@&=+$,-_.!~*'()#";oi.componentChars="-_.!~*'()";var ale=oi,qu={};function lle(t){var e,n,s=qu[t];if(s)return s;for(s=qu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&c<=57343?f+="���":f+=String.fromCharCode(c),o+=6;continue}if((i&248)===240&&o+91114111?f+="����":(c-=65536,f+=String.fromCharCode(55296+(c>>10),56320+(c&1023))),o+=9;continue}f+="�"}return f})}ri.defaultChars=";/?:@&=+$,#";ri.componentChars="";var cle=ri,ule=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 dle=/^([a-z0-9.+-]+:)/i,fle=/:[0-9]*$/,hle=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ple=["<",">",'"',"`"," ","\r",` +`," "],gle=["{","}","|","\\","^","`"].concat(ple),mle=["'"].concat(gle),Uu=["%","/","?",";","#"].concat(mle),Hu=["/","?","#"],_le=255,Vu=/^[+a-z0-9A-Z_-]{0,63}$/,ble=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Gu={javascript:!0,"javascript:":!0},Ku={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function yle(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,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=hle.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var u=dle.exec(a);if(u&&(u=u[0],o=u.toLowerCase(),this.protocol=u,a=a.substr(u.length)),(e||u||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(u&&Gu[u])&&(a=a.substr(2),this.slashes=!0)),!Gu[u]&&(i||u&&!Ku[u])){var c=-1;for(n=0;n127?_+="x":_+=y[b];if(!_.match(Vu)){var E=m.slice(0,n),M=m.slice(n+1),T=y.match(ble);T&&(E.push(T[1]),M.unshift(T[2])),M.length&&(a=M.join(".")+a),this.hostname=E.join(".");break}}}}this.hostname.length>_le&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var N=a.indexOf("#");N!==-1&&(this.hash=a.substr(N),a=a.slice(0,N));var w=a.indexOf("?");return w!==-1&&(this.search=a.substr(w),a=a.slice(0,w)),a&&(this.pathname=a),Ku[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};xr.prototype.parseHost=function(t){var e=fle.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 vle=yle;Us.encode=ale;Us.decode=cle;Us.format=ule;Us.parse=vle;var Pn={},Li,Wu;function Qp(){return Wu||(Wu=1,Li=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Li}var Ii,Zu;function Jp(){return Zu||(Zu=1,Ii=/[\0-\x1F\x7F-\x9F]/),Ii}var Pi,Yu;function wle(){return Yu||(Yu=1,Pi=/[\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]/),Pi}var Fi,Qu;function Xp(){return Qu||(Qu=1,Fi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Fi}var Ju;function xle(){return Ju||(Ju=1,Pn.Any=Qp(),Pn.Cc=Jp(),Pn.Cf=wle(),Pn.P=Yl,Pn.Z=Xp()),Pn}(function(t){function e(R){return Object.prototype.toString.call(R)}function n(R){return e(R)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(R,re){return s.call(R,re)}function r(R){var re=Array.prototype.slice.call(arguments,1);return re.forEach(function(V){if(V){if(typeof V!="object")throw new TypeError(V+"must be object");Object.keys(V).forEach(function(A){R[A]=V[A]})}}),R}function i(R,re,V){return[].concat(R.slice(0,re),V,R.slice(re+1))}function a(R){return!(R>=55296&&R<=57343||R>=64976&&R<=65007||(R&65535)===65535||(R&65535)===65534||R>=0&&R<=8||R===11||R>=14&&R<=31||R>=127&&R<=159||R>1114111)}function l(R){if(R>65535){R-=65536;var re=55296+(R>>10),V=56320+(R&1023);return String.fromCharCode(re,V)}return String.fromCharCode(R)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(u.source+"|"+c.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=Yp;function g(R,re){var V=0;return o(p,re)?p[re]:re.charCodeAt(0)===35&&h.test(re)&&(V=re[1].toLowerCase()==="x"?parseInt(re.slice(2),16):parseInt(re.slice(1),10),a(V))?l(V):R}function m(R){return R.indexOf("\\")<0?R:R.replace(u,"$1")}function y(R){return R.indexOf("\\")<0&&R.indexOf("&")<0?R:R.replace(f,function(re,V,A){return V||g(re,A)})}var _=/[&<>"]/,b=/[&<>"]/g,v={"&":"&","<":"<",">":">",'"':"""};function E(R){return v[R]}function M(R){return _.test(R)?R.replace(b,E):R}var T=/[.?*+^$[\]\\(){}|-]/g;function N(R){return R.replace(T,"\\$&")}function w(R){switch(R){case 9:case 32:return!0}return!1}function k(R){if(R>=8192&&R<=8202)return!0;switch(R){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 S=Yl;function D(R){return S.test(R)}function P(R){switch(R){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 W(R){return R=R.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(R=R.replace(/ẞ/g,"ß")),R.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Us,t.lib.ucmicro=xle(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=m,t.unescapeAll=y,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=M,t.arrayReplaceAt=i,t.isSpace=w,t.isWhiteSpace=k,t.isMdAsciiPunct=P,t.isPunctChar=D,t.escapeRE=N,t.normalizeReference=W})(ze);var ii={},kle=function(e,n,s){var o,r,i,a,l=-1,u=e.posMax,c=e.pos;for(e.pos=n+1,o=1;e.pos32))return l;if(o===41){if(r===0)break;r--}n++}return a===n||r!==0||(l.str=Xu(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},Cle=ze.unescapeAll,Ale=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=s||(r=e.charCodeAt(n),r!==34&&r!==39&&r!==40))return l;for(n++,r===40&&(r=41);n"+Xn(t[e].content)+""};Zt.code_block=function(t,e,n,s,o){var r=t[e];return""+Xn(t[e].content)+` +`};Zt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?Tle(r.info).trim():"",a="",l="",u,c,f,h,p;return i&&(f=i.split(/(\s+)/g),a=f[0],l=f.slice(2).join("")),n.highlight?u=n.highlight(r.content,a,l)||Xn(r.content):u=Xn(r.content),u.indexOf(""+u+` +`):"
"+u+`
`};Zt.image=function(t,e,n,s,o){var r=t[e];return r.attrs[r.attrIndex("alt")][1]=o.renderInlineAsText(r.children,n,s),o.renderToken(t,e,n)};Zt.hardbreak=function(t,e,n){return n.xhtmlOut?`
`:`
`};Zt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};Zt.text=function(t,e){return Qn(t[e].content)};Zt.html_block=function(t,e){return t[e].content};Zt.html_inline=function(t,e){return t[e].content};function Us(){this.rules=Ale({},Zt)}Us.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n -`:">",r)};Us.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function Ple(t){return/^<\/a\s*>/i.test(t)}var Fle=function(e){var n,s,o,r,i,a,l,c,u,f,h,g,p,m,v,_,b=e.tokens,x;if(e.md.options.linkify){for(s=0,o=b.length;s=0;n--){if(a=r[n],a.type==="link_close"){for(n--;r[n].level!==a.level&&r[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(Ile(a.content)&&p>0&&p--,Ple(a.content)&&p++),!(p>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=a.level,h=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),c=0;ch&&(i=new e.Token("text","",0),i.content=u.slice(h,f),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",v]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=_,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",l.push(i),h=x[c].lastIndex);h=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(jle,$le)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function Ule(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&Xp.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"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}var Hle=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Ble.test(e.tokens[n].content)&&qle(e.tokens[n].children),Xp.test(e.tokens[n].content)&&Ule(e.tokens[n].children))},Xu=ze.isWhiteSpace,ed=ze.isPunctChar,td=ze.isMdAsciiPunct,Vle=/['"]/,nd=/['"]/g,sd="’";function Ho(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Gle(t,e){var n,s,o,r,i,a,l,c,u,f,h,g,p,m,v,_,b,x,C,M,T;for(C=[],n=0;n=0&&!(C[b].level<=l);b--);if(C.length=b+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(b=n-1;b>=0&&!(t[b].type==="softbreak"||t[b].type==="hardbreak");b--)if(t[b].content){u=t[b].content.charCodeAt(t[b].content.length-1);break}if(f=32,i=48&&u<=57&&(_=v=!1),v&&_&&(v=h,_=g),!v&&!_){x&&(s.content=Ho(s.content,r.index,sd));continue}if(_){for(b=C.length-1;b>=0&&(c=C[b],!(C[b].level=0;n--)e.tokens[n].type!=="inline"||!Vle.test(e.tokens[n].content)||Gle(e.tokens[n].children,e)},Wle=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n=0&&(s=this.attrs[n][1]),s};Hs.prototype.attrJoin=function(e,n){var s=this.attrIndex(e);s<0?this.attrPush([e,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var Ql=Hs,Zle=Ql;function eg(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}eg.prototype.Token=Zle;var Yle=eg,Qle=Yl,Fi=[["normalize",Rle],["block",Nle],["inline",Dle],["linkify",Fle],["replacements",Hle],["smartquotes",Kle],["text_join",Wle]];function Jl(){this.ruler=new Qle;for(var t=0;ts||(u=n+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(M=e.src.charCodeAt(a++),M!==124&&M!==45&&M!==58)||a>=e.eMarks[u]||(T=e.src.charCodeAt(a++),T!==124&&T!==45&&T!==58&&!Bi(T))||M===45&&Bi(T))return!1;for(;a=4||(f=od(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==p.length))return!1;if(o)return!0;for(b=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=v=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l=4)break;for(f=od(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),u===n+2&&(g=e.push("tbody_open","tbody",1),g.map=_=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[u,u+1],l=0;l=4){o++,r=o;continue}break}return e.line=r,i=e.push("code_block","code",0),i.content=e.getLines(n,r,4+e.blkIndent,!1)+` -`,i.map=[n,e.line],!0},tce=function(e,n,s,o){var r,i,a,l,c,u,f,h=!1,g=e.bMarks[n]+e.tShift[n],p=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>p||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(f=e.src.slice(c,g),a=e.src.slice(g,p),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=c=e.bMarks[l]+e.tShift[l],p=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-c=4||e.src.charCodeAt(S++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(S)===32?(S++,l++,g++,r=!1,C=!0):e.src.charCodeAt(S)===9?(C=!0,(e.bsCount[n]+g)%4===3?(S++,l++,g++,r=!1):r=!0):C=!1,p=[e.bMarks[n]],e.bMarks[n]=S;S=L,b=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=S-e.bMarks[n],T=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",h=n+1;h=L));h++){if(e.src.charCodeAt(S++)===62&&!y){for(l=g=e.sCount[h]+1,e.src.charCodeAt(S)===32?(S++,l++,g++,r=!1,C=!0):e.src.charCodeAt(S)===9?(C=!0,(e.bsCount[h]+g)%4===3?(S++,l++,g++,r=!1):r=!0):C=!1,p.push(e.bMarks[h]),e.bMarks[h]=S;S=L,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(C?1:0),b.push(e.sCount[h]),e.sCount[h]=g-l,x.push(e.tShift[h]),e.tShift[h]=S-e.bMarks[h];continue}if(u)break;for(M=!1,a=0,c=T.length;a",D.map=f=[n,0],e.md.block.tokenize(e,n,h),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,f[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(A=!0),(L=ad(e,n))>=0){if(f=!0,Y=e.bMarks[n]+e.tShift[n],_=Number(e.src.slice(Y,L-1)),A&&_!==1)return!1}else if((L=id(e,n))>=0)f=!1;else return!1;if(A&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(v=e.src.charCodeAt(L-1),o)return!0;for(m=e.tokens.length,f?(W=e.push("ordered_list_open","ol",1),_!==1&&(W.attrs=[["start",_]])):W=e.push("bullet_list_open","ul",1),W.map=p=[n,0],W.markup=String.fromCharCode(v),x=n,F=!1,ae=e.md.block.ruler.getRules("list"),T=e.parentType,e.parentType="list";x=b?c=1:c=C-u,c>4&&(c=1),l=u+c,W=e.push("list_item_open","li",1),W.markup=String.fromCharCode(v),W.map=h=[n,0],f&&(W.info=e.src.slice(Y,L-1)),k=e.tight,y=e.tShift[n],D=e.sCount[n],M=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=C,i>=b&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&(q=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=M,e.tShift[n]=y,e.sCount[n]=D,e.tight=k,W=e.push("list_item_close","li",-1),W.markup=String.fromCharCode(v),x=n=e.line,h[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,g=ae.length;a=4||e.src.charCodeAt(T)!==91)return!1;for(;++T3)&&!(e.sCount[y]<0)){for(b=!1,u=0,f=x.length;u"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:C,href:c}),e.parentType=p,e.line=n+M+1),!0)},cce=["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"],ii={},uce="[a-zA-Z_:][a-zA-Z0-9:._-]*",dce="[^\"'=<>`\\x00-\\x20]+",fce="'[^']*'",hce='"[^"]*"',pce="(?:"+dce+"|"+fce+"|"+hce+")",gce="(?:\\s+"+uce+"(?:\\s*=\\s*"+pce+")?)",ng="<[A-Za-z][A-Za-z0-9\\-]*"+gce+"*\\s*\\/?>",sg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",mce="|",_ce="<[?][\\s\\S]*?[?]>",bce="]*>",yce="",vce=new RegExp("^(?:"+ng+"|"+sg+"|"+mce+"|"+_ce+"|"+bce+"|"+yce+")"),wce=new RegExp("^(?:"+ng+"|"+sg+")");ii.HTML_TAG_RE=vce;ii.HTML_OPEN_CLOSE_TAG_RE=wce;var xce=cce,kce=ii.HTML_OPEN_CLOSE_TAG_RE,is=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(kce.source+"\\s*$"),/^$/,!1]],Ece=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,u),r=0;r=4||(r=e.src.charCodeAt(c),r!==35||c>=u))return!1;for(i=1,r=e.src.charCodeAt(++c);r===35&&c6||cc&&ld(e.src.charCodeAt(a-1))&&(u=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},Ace=function(e,n,s){var o,r,i,a,l,c,u,f,h,g=n+1,p,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";g3)){if(e.sCount[g]>=e.blkIndent&&(c=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],c=u)))){f=h===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=m.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};Yt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Yt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!ai(this.src.charCodeAt(--e)))return e+1;return e};Yt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Yt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,u,f,h=e;if(e>=n)return"";for(u=new Array(n-e),r=0;hs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):u[r]=this.src.slice(l,c)}return u.join("")};Yt.prototype.Token=og;var Tce=Yt,Oce=Yl,Go=[["table",Xle,["paragraph","reference"]],["code",ece],["fence",tce,["paragraph","reference","blockquote","list"]],["blockquote",nce,["paragraph","reference","blockquote","list"]],["hr",oce,["paragraph","reference","blockquote","list"]],["list",ice,["paragraph","reference","blockquote"]],["reference",lce],["html_block",Ece,["paragraph","reference","blockquote"]],["heading",Cce,["paragraph","reference","blockquote"]],["lheading",Ace],["paragraph",Sce]];function li(){this.ruler=new Oce;for(var t=0;t=n||t.sCount[a]=c){t.line=n;break}for(o=0;o0||(s=e.pos,o=e.posMax,s+3>o)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(Dce),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),c=e.md.normalizeLink(l),!e.md.validateLink(c))?!1:(n||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(l),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=l.length-i.length,!0)},Ice=ze.isSpace,Pce=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),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(i++;i?@[]^_`{|}~-".split("").forEach(function(t){Xl[t.charCodeAt(0)]=1});var Bce=function(e,n){var s,o,r,i,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&Xl[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},jce=function(e,n){var s,o,r,i,a,l,c,u,f=e.pos,h=e.src.charCodeAt(f);if(h!==96)return!1;for(s=f,f++,o=e.posMax;f=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}ui.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(dd(e,e.delimiters),n=0;n=m)return!1;if(v=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?l=c.pos:h="",v=l;l=m||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(v,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[zce(r)],!u)return e.pos=p,!1;h=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,f=e.push("link_open","a",1),f.attrs=s=[["href",h]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},qce=ze.normalizeReference,$i=ze.isSpace,Uce=function(e,n){var s,o,r,i,a,l,c,u,f,h,g,p,m,v="",_=e.pos,b=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(c=a+1,c=b)return!1;for(m=c,f=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?c=f.pos:v=""),m=c;c=b||e.src.charCodeAt(c)!==41)return e.pos=_,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?i=e.src.slice(m,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[qce(i)],!u)return e.pos=_,!1;v=u.href,h=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,p=[]),g=e.push("image","img",0),g.attrs=s=[["src",v],["alt",""]],g.children=p,g.content=r,h&&s.push(["title",h])),e.pos=c,e.posMax=b,!0},Hce=/^([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])?)*)$/,Vce=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Gce=function(e,n){var s,o,r,i,a,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++c>=l||(i=e.src.charCodeAt(c),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,c),Vce.test(s)?(o=e.md.normalizeLink(s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):Hce.test(s)?(o=e.md.normalizeLink("mailto:"+s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):!1},Kce=ii.HTML_TAG_RE;function Wce(t){return/^\s]/i.test(t)}function Zce(t){return/^<\/a\s*>/i.test(t)}function Yce(t){var e=t|32;return e>=97&&e<=122}var Qce=function(e,n){var s,o,r,i,a=e.pos;return!e.md.options.html||(r=e.posMax,e.src.charCodeAt(a)!==60||a+2>=r)||(s=e.src.charCodeAt(a+1),s!==33&&s!==63&&s!==47&&!Yce(s))||(o=e.src.slice(a).match(Kce),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Wce(i.content)&&e.linkLevel++,Zce(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},fd=Zp,Jce=ze.has,Xce=ze.isValidEntityCode,hd=ze.fromCodePoint,eue=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,tue=/^&([a-z][a-z0-9]{1,31});/i,nue=function(e,n){var s,o,r,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=l)return!1;if(s=e.src.charCodeAt(a+1),s===35){if(r=e.src.slice(a).match(eue),r)return n||(o=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),i=e.push("text_special","",0),i.content=Xce(o)?hd(o):hd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(tue),r&&Jce(fd,r[1]))return n||(i=e.push("text_special","",0),i.content=fd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function pd(t,e){var n,s,o,r,i,a,l,c,u={},f=e.length;if(f){var h=0,g=-2,p=[];for(n=0;ni;s-=p[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){c=s>0&&!e[s-1].open?p[s-1]+1:0,p[n]=n-s+c,p[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var sue=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(pd(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Ro.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,u,f,h=!0,g=!0,p=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};No.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o|$))",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}),Hi}function ol(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(s){t[s]=n[s]})}),t}function di(t){return Object.prototype.toString.call(t)}function lue(t){return di(t)==="[object String]"}function cue(t){return di(t)==="[object Object]"}function uue(t){return di(t)==="[object RegExp]"}function vd(t){return di(t)==="[object Function]"}function due(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var rg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function fue(t){return Object.keys(t||{}).reduce(function(e,n){return e||rg.hasOwnProperty(n)},!1)}var hue={"http:":{validate:function(t,e,n){var s=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(s)?s.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var s=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(s)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:s.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var s=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(s)?s.match(n.re.mailto)[0].length:0}}},pue="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]",gue="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function mue(t){t.__index__=-1,t.__text_cache__=""}function _ue(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function wd(){return function(t,e){e.normalize(t)}}function xr(t){var e=t.re=aue()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(pue),n.push(e.src_xn),e.src_tlds=n.join("|");function s(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function r(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var c={validate:null,link:null};if(t.__compiled__[a]=c,cue(l)){uue(l.validate)?c.validate=_ue(l.validate):vd(l.validate)?c.validate=l.validate:r(a,l),vd(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=wd();return}if(lue(l)){o.push(a);return}r(a,l)}}),o.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:wd()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(due).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),mue(t)}function bue(t,e){var n=t.__index__,s=t.__last_index__,o=t.__text_cache__.slice(n,s);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=s+e,this.raw=o,this.text=o,this.url=o}function rl(t,e){var n=new bue(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function mt(t,e){if(!(this instanceof mt))return new mt(t,e);e||fue(t)&&(e=t,t={}),this.__opts__=ol({},rg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ol({},hue,t),this.__compiled__={},this.__tlds__=gue,this.__tlds_replaced__=!1,this.re={},xr(this)}mt.prototype.add=function(e,n){return this.__schemas__[e]=n,xr(this),this};mt.prototype.set=function(e){return this.__opts__=ol(this.__opts__,e),this};mt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,c,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};mt.prototype.pretest=function(e){return this.re.pretest.test(e)};mt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};mt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(rl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(rl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};mt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var s=this.testSchemaAt(e,n[2],n[0].length);return s?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s,rl(this,0)):null};mt.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,o,r){return s!==r[o-1]}).reverse(),xr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,xr(this),this)};mt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};mt.prototype.onCompile=function(){};var yue=mt;const bs=2147483647,qt=36,tc=1,wo=26,vue=38,wue=700,ig=72,ag=128,lg="-",xue=/^xn--/,kue=/[^\0-\x7F]/,Eue=/[\x2E\u3002\uFF0E\uFF61]/g,Cue={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Vi=qt-tc,Ut=Math.floor,Gi=String.fromCharCode;function bn(t){throw new RangeError(Cue[t])}function Aue(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function cg(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(Eue,".");const o=t.split("."),r=Aue(o,e).join(".");return s+r}function nc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),Sue=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:qt},xd=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},dg=function(t,e,n){let s=0;for(t=n?Ut(t/wue):t>>1,t+=Ut(t/e);t>Vi*wo>>1;s+=qt)t=Ut(t/Vi);return Ut(s+(Vi+1)*t/(t+vue))},sc=function(t){const e=[],n=t.length;let s=0,o=ag,r=ig,i=t.lastIndexOf(lg);i<0&&(i=0);for(let a=0;a=128&&bn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&bn("invalid-input");const h=Sue(t.charCodeAt(a++));h>=qt&&bn("invalid-input"),h>Ut((bs-s)/u)&&bn("overflow"),s+=h*u;const g=f<=r?tc:f>=r+wo?wo:f-r;if(hUt(bs/p)&&bn("overflow"),u*=p}const c=e.length+1;r=dg(s-l,c,l==0),Ut(s/c)>bs-o&&bn("overflow"),o+=Ut(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},oc=function(t){const e=[];t=nc(t);const n=t.length;let s=ag,o=0,r=ig;for(const l of t)l<128&&e.push(Gi(l));const i=e.length;let a=i;for(i&&e.push(lg);a=s&&uUt((bs-o)/c)&&bn("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(ubs&&bn("overflow"),u===s){let f=o;for(let h=qt;;h+=qt){const g=h<=r?tc:h>=r+wo?wo:h-r;if(f=0))try{e.hostname=pg.toASCII(e.hostname)}catch{}return Hn.encode(Hn.format(e))}function Vue(t){var e=Hn.parse(t,!0);if(e.hostname&&(!e.protocol||gg.indexOf(e.protocol)>=0))try{e.hostname=pg.toUnicode(e.hostname)}catch{}return Hn.decode(Hn.format(e),Hn.decode.defaultChars+"%")}function Ct(t,e){if(!(this instanceof Ct))return new Ct(t,e);e||so.isString(t)||(e=t||{},t="default"),this.inline=new Bue,this.block=new Fue,this.core=new Pue,this.renderer=new Iue,this.linkify=new jue,this.validateLink=Uue,this.normalizeLink=Hue,this.normalizeLinkText=Vue,this.utils=so,this.helpers=so.assign({},Lue),this.options={},this.configure(t),e&&this.set(e)}Ct.prototype.set=function(t){return so.assign(this.options,t),this};Ct.prototype.configure=function(t){var e=this,n;if(so.isString(t)&&(n=t,t=zue[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(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};Ct.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};Ct.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};Ct.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Ct.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};Ct.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Ct.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Ct.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Gue=Ct,Kue=Gue;const Wue=ts(Kue),Zue="😀",Yue="😃",Que="😄",Jue="😁",Xue="😆",ede="😆",tde="😅",nde="🤣",sde="😂",ode="🙂",rde="🙃",ide="😉",ade="😊",lde="😇",cde="🥰",ude="😍",dde="🤩",fde="😘",hde="😗",pde="☺️",gde="😚",mde="😙",_de="🥲",bde="😋",yde="😛",vde="😜",wde="🤪",xde="😝",kde="🤑",Ede="🤗",Cde="🤭",Ade="🤫",Sde="🤔",Tde="🤐",Ode="🤨",Mde="😐",Rde="😑",Nde="😶",Dde="😏",Lde="😒",Ide="🙄",Pde="😬",Fde="🤥",Bde="😌",jde="😔",zde="😪",$de="🤤",qde="😴",Ude="😷",Hde="🤒",Vde="🤕",Gde="🤢",Kde="🤮",Wde="🤧",Zde="🥵",Yde="🥶",Qde="🥴",Jde="😵",Xde="🤯",efe="🤠",tfe="🥳",nfe="🥸",sfe="😎",ofe="🤓",rfe="🧐",ife="😕",afe="😟",lfe="🙁",cfe="☹️",ufe="😮",dfe="😯",ffe="😲",hfe="😳",pfe="🥺",gfe="😦",mfe="😧",_fe="😨",bfe="😰",yfe="😥",vfe="😢",wfe="😭",xfe="😱",kfe="😖",Efe="😣",Cfe="😞",Afe="😓",Sfe="😩",Tfe="😫",Ofe="🥱",Mfe="😤",Rfe="😡",Nfe="😡",Dfe="😠",Lfe="🤬",Ife="😈",Pfe="👿",Ffe="💀",Bfe="☠️",jfe="💩",zfe="💩",$fe="💩",qfe="🤡",Ufe="👹",Hfe="👺",Vfe="👻",Gfe="👽",Kfe="👾",Wfe="🤖",Zfe="😺",Yfe="😸",Qfe="😹",Jfe="😻",Xfe="😼",ehe="😽",the="🙀",nhe="😿",she="😾",ohe="🙈",rhe="🙉",ihe="🙊",ahe="💋",lhe="💌",che="💘",uhe="💝",dhe="💖",fhe="💗",hhe="💓",phe="💞",ghe="💕",mhe="💟",_he="❣️",bhe="💔",yhe="❤️",vhe="🧡",whe="💛",xhe="💚",khe="💙",Ehe="💜",Che="🤎",Ahe="🖤",She="🤍",The="💢",Ohe="💥",Mhe="💥",Rhe="💫",Nhe="💦",Dhe="💨",Lhe="🕳️",Ihe="💣",Phe="💬",Fhe="👁️‍🗨️",Bhe="🗨️",jhe="🗯️",zhe="💭",$he="💤",qhe="👋",Uhe="🤚",Hhe="🖐️",Vhe="✋",Ghe="✋",Khe="🖖",Whe="👌",Zhe="🤌",Yhe="🤏",Qhe="✌️",Jhe="🤞",Xhe="🤟",epe="🤘",tpe="🤙",npe="👈",spe="👉",ope="👆",rpe="🖕",ipe="🖕",ape="👇",lpe="☝️",cpe="👍",upe="👎",dpe="✊",fpe="✊",hpe="👊",ppe="👊",gpe="👊",mpe="🤛",_pe="🤜",bpe="👏",ype="🙌",vpe="👐",wpe="🤲",xpe="🤝",kpe="🙏",Epe="✍️",Cpe="💅",Ape="🤳",Spe="💪",Tpe="🦾",Ope="🦿",Mpe="🦵",Rpe="🦶",Npe="👂",Dpe="🦻",Lpe="👃",Ipe="🧠",Ppe="🫀",Fpe="🫁",Bpe="🦷",jpe="🦴",zpe="👀",$pe="👁️",qpe="👅",Upe="👄",Hpe="👶",Vpe="🧒",Gpe="👦",Kpe="👧",Wpe="🧑",Zpe="👱",Ype="👨",Qpe="🧔",Jpe="👨‍🦰",Xpe="👨‍🦱",ege="👨‍🦳",tge="👨‍🦲",nge="👩",sge="👩‍🦰",oge="🧑‍🦰",rge="👩‍🦱",ige="🧑‍🦱",age="👩‍🦳",lge="🧑‍🦳",cge="👩‍🦲",uge="🧑‍🦲",dge="👱‍♀️",fge="👱‍♀️",hge="👱‍♂️",pge="🧓",gge="👴",mge="👵",_ge="🙍",bge="🙍‍♂️",yge="🙍‍♀️",vge="🙎",wge="🙎‍♂️",xge="🙎‍♀️",kge="🙅",Ege="🙅‍♂️",Cge="🙅‍♂️",Age="🙅‍♀️",Sge="🙅‍♀️",Tge="🙆",Oge="🙆‍♂️",Mge="🙆‍♀️",Rge="💁",Nge="💁",Dge="💁‍♂️",Lge="💁‍♂️",Ige="💁‍♀️",Pge="💁‍♀️",Fge="🙋",Bge="🙋‍♂️",jge="🙋‍♀️",zge="🧏",$ge="🧏‍♂️",qge="🧏‍♀️",Uge="🙇",Hge="🙇‍♂️",Vge="🙇‍♀️",Gge="🤦",Kge="🤦‍♂️",Wge="🤦‍♀️",Zge="🤷",Yge="🤷‍♂️",Qge="🤷‍♀️",Jge="🧑‍⚕️",Xge="👨‍⚕️",eme="👩‍⚕️",tme="🧑‍🎓",nme="👨‍🎓",sme="👩‍🎓",ome="🧑‍🏫",rme="👨‍🏫",ime="👩‍🏫",ame="🧑‍⚖️",lme="👨‍⚖️",cme="👩‍⚖️",ume="🧑‍🌾",dme="👨‍🌾",fme="👩‍🌾",hme="🧑‍🍳",pme="👨‍🍳",gme="👩‍🍳",mme="🧑‍🔧",_me="👨‍🔧",bme="👩‍🔧",yme="🧑‍🏭",vme="👨‍🏭",wme="👩‍🏭",xme="🧑‍💼",kme="👨‍💼",Eme="👩‍💼",Cme="🧑‍🔬",Ame="👨‍🔬",Sme="👩‍🔬",Tme="🧑‍💻",Ome="👨‍💻",Mme="👩‍💻",Rme="🧑‍🎤",Nme="👨‍🎤",Dme="👩‍🎤",Lme="🧑‍🎨",Ime="👨‍🎨",Pme="👩‍🎨",Fme="🧑‍✈️",Bme="👨‍✈️",jme="👩‍✈️",zme="🧑‍🚀",$me="👨‍🚀",qme="👩‍🚀",Ume="🧑‍🚒",Hme="👨‍🚒",Vme="👩‍🚒",Gme="👮",Kme="👮",Wme="👮‍♂️",Zme="👮‍♀️",Yme="🕵️",Qme="🕵️‍♂️",Jme="🕵️‍♀️",Xme="💂",e_e="💂‍♂️",t_e="💂‍♀️",n_e="🥷",s_e="👷",o_e="👷‍♂️",r_e="👷‍♀️",i_e="🤴",a_e="👸",l_e="👳",c_e="👳‍♂️",u_e="👳‍♀️",d_e="👲",f_e="🧕",h_e="🤵",p_e="🤵‍♂️",g_e="🤵‍♀️",m_e="👰",__e="👰‍♂️",b_e="👰‍♀️",y_e="👰‍♀️",v_e="🤰",w_e="🤱",x_e="👩‍🍼",k_e="👨‍🍼",E_e="🧑‍🍼",C_e="👼",A_e="🎅",S_e="🤶",T_e="🧑‍🎄",O_e="🦸",M_e="🦸‍♂️",R_e="🦸‍♀️",N_e="🦹",D_e="🦹‍♂️",L_e="🦹‍♀️",I_e="🧙",P_e="🧙‍♂️",F_e="🧙‍♀️",B_e="🧚",j_e="🧚‍♂️",z_e="🧚‍♀️",$_e="🧛",q_e="🧛‍♂️",U_e="🧛‍♀️",H_e="🧜",V_e="🧜‍♂️",G_e="🧜‍♀️",K_e="🧝",W_e="🧝‍♂️",Z_e="🧝‍♀️",Y_e="🧞",Q_e="🧞‍♂️",J_e="🧞‍♀️",X_e="🧟",e1e="🧟‍♂️",t1e="🧟‍♀️",n1e="💆",s1e="💆‍♂️",o1e="💆‍♀️",r1e="💇",i1e="💇‍♂️",a1e="💇‍♀️",l1e="🚶",c1e="🚶‍♂️",u1e="🚶‍♀️",d1e="🧍",f1e="🧍‍♂️",h1e="🧍‍♀️",p1e="🧎",g1e="🧎‍♂️",m1e="🧎‍♀️",_1e="🧑‍🦯",b1e="👨‍🦯",y1e="👩‍🦯",v1e="🧑‍🦼",w1e="👨‍🦼",x1e="👩‍🦼",k1e="🧑‍🦽",E1e="👨‍🦽",C1e="👩‍🦽",A1e="🏃",S1e="🏃",T1e="🏃‍♂️",O1e="🏃‍♀️",M1e="💃",R1e="💃",N1e="🕺",D1e="🕴️",L1e="👯",I1e="👯‍♂️",P1e="👯‍♀️",F1e="🧖",B1e="🧖‍♂️",j1e="🧖‍♀️",z1e="🧗",$1e="🧗‍♂️",q1e="🧗‍♀️",U1e="🤺",H1e="🏇",V1e="⛷️",G1e="🏂",K1e="🏌️",W1e="🏌️‍♂️",Z1e="🏌️‍♀️",Y1e="🏄",Q1e="🏄‍♂️",J1e="🏄‍♀️",X1e="🚣",e0e="🚣‍♂️",t0e="🚣‍♀️",n0e="🏊",s0e="🏊‍♂️",o0e="🏊‍♀️",r0e="⛹️",i0e="⛹️‍♂️",a0e="⛹️‍♂️",l0e="⛹️‍♀️",c0e="⛹️‍♀️",u0e="🏋️",d0e="🏋️‍♂️",f0e="🏋️‍♀️",h0e="🚴",p0e="🚴‍♂️",g0e="🚴‍♀️",m0e="🚵",_0e="🚵‍♂️",b0e="🚵‍♀️",y0e="🤸",v0e="🤸‍♂️",w0e="🤸‍♀️",x0e="🤼",k0e="🤼‍♂️",E0e="🤼‍♀️",C0e="🤽",A0e="🤽‍♂️",S0e="🤽‍♀️",T0e="🤾",O0e="🤾‍♂️",M0e="🤾‍♀️",R0e="🤹",N0e="🤹‍♂️",D0e="🤹‍♀️",L0e="🧘",I0e="🧘‍♂️",P0e="🧘‍♀️",F0e="🛀",B0e="🛌",j0e="🧑‍🤝‍🧑",z0e="👭",$0e="👫",q0e="👬",U0e="💏",H0e="👩‍❤️‍💋‍👨",V0e="👨‍❤️‍💋‍👨",G0e="👩‍❤️‍💋‍👩",K0e="💑",W0e="👩‍❤️‍👨",Z0e="👨‍❤️‍👨",Y0e="👩‍❤️‍👩",Q0e="👪",J0e="👨‍👩‍👦",X0e="👨‍👩‍👧",ebe="👨‍👩‍👧‍👦",tbe="👨‍👩‍👦‍👦",nbe="👨‍👩‍👧‍👧",sbe="👨‍👨‍👦",obe="👨‍👨‍👧",rbe="👨‍👨‍👧‍👦",ibe="👨‍👨‍👦‍👦",abe="👨‍👨‍👧‍👧",lbe="👩‍👩‍👦",cbe="👩‍👩‍👧",ube="👩‍👩‍👧‍👦",dbe="👩‍👩‍👦‍👦",fbe="👩‍👩‍👧‍👧",hbe="👨‍👦",pbe="👨‍👦‍👦",gbe="👨‍👧",mbe="👨‍👧‍👦",_be="👨‍👧‍👧",bbe="👩‍👦",ybe="👩‍👦‍👦",vbe="👩‍👧",wbe="👩‍👧‍👦",xbe="👩‍👧‍👧",kbe="🗣️",Ebe="👤",Cbe="👥",Abe="🫂",Sbe="👣",Tbe="🐵",Obe="🐒",Mbe="🦍",Rbe="🦧",Nbe="🐶",Dbe="🐕",Lbe="🦮",Ibe="🐕‍🦺",Pbe="🐩",Fbe="🐺",Bbe="🦊",jbe="🦝",zbe="🐱",$be="🐈",qbe="🐈‍⬛",Ube="🦁",Hbe="🐯",Vbe="🐅",Gbe="🐆",Kbe="🐴",Wbe="🐎",Zbe="🦄",Ybe="🦓",Qbe="🦌",Jbe="🦬",Xbe="🐮",eye="🐂",tye="🐃",nye="🐄",sye="🐷",oye="🐖",rye="🐗",iye="🐽",aye="🐏",lye="🐑",cye="🐐",uye="🐪",dye="🐫",fye="🦙",hye="🦒",pye="🐘",gye="🦣",mye="🦏",_ye="🦛",bye="🐭",yye="🐁",vye="🐀",wye="🐹",xye="🐰",kye="🐇",Eye="🐿️",Cye="🦫",Aye="🦔",Sye="🦇",Tye="🐻",Oye="🐻‍❄️",Mye="🐨",Rye="🐼",Nye="🦥",Dye="🦦",Lye="🦨",Iye="🦘",Pye="🦡",Fye="🐾",Bye="🐾",jye="🦃",zye="🐔",$ye="🐓",qye="🐣",Uye="🐤",Hye="🐥",Vye="🐦",Gye="🐧",Kye="🕊️",Wye="🦅",Zye="🦆",Yye="🦢",Qye="🦉",Jye="🦤",Xye="🪶",eve="🦩",tve="🦚",nve="🦜",sve="🐸",ove="🐊",rve="🐢",ive="🦎",ave="🐍",lve="🐲",cve="🐉",uve="🦕",dve="🐳",fve="🐋",hve="🐬",pve="🐬",gve="🦭",mve="🐟",_ve="🐠",bve="🐡",yve="🦈",vve="🐙",wve="🐚",xve="🐌",kve="🦋",Eve="🐛",Cve="🐜",Ave="🐝",Sve="🐝",Tve="🪲",Ove="🐞",Mve="🦗",Rve="🪳",Nve="🕷️",Dve="🕸️",Lve="🦂",Ive="🦟",Pve="🪰",Fve="🪱",Bve="🦠",jve="💐",zve="🌸",$ve="💮",qve="🏵️",Uve="🌹",Hve="🥀",Vve="🌺",Gve="🌻",Kve="🌼",Wve="🌷",Zve="🌱",Yve="🪴",Qve="🌲",Jve="🌳",Xve="🌴",e2e="🌵",t2e="🌾",n2e="🌿",s2e="☘️",o2e="🍀",r2e="🍁",i2e="🍂",a2e="🍃",l2e="🍇",c2e="🍈",u2e="🍉",d2e="🍊",f2e="🍊",h2e="🍊",p2e="🍋",g2e="🍌",m2e="🍍",_2e="🥭",b2e="🍎",y2e="🍏",v2e="🍐",w2e="🍑",x2e="🍒",k2e="🍓",E2e="🫐",C2e="🥝",A2e="🍅",S2e="🫒",T2e="🥥",O2e="🥑",M2e="🍆",R2e="🥔",N2e="🥕",D2e="🌽",L2e="🌶️",I2e="🫑",P2e="🥒",F2e="🥬",B2e="🥦",j2e="🧄",z2e="🧅",$2e="🍄",q2e="🥜",U2e="🌰",H2e="🍞",V2e="🥐",G2e="🥖",K2e="🫓",W2e="🥨",Z2e="🥯",Y2e="🥞",Q2e="🧇",J2e="🧀",X2e="🍖",ewe="🍗",twe="🥩",nwe="🥓",swe="🍔",owe="🍟",rwe="🍕",iwe="🌭",awe="🥪",lwe="🌮",cwe="🌯",uwe="🫔",dwe="🥙",fwe="🧆",hwe="🥚",pwe="🍳",gwe="🥘",mwe="🍲",_we="🫕",bwe="🥣",ywe="🥗",vwe="🍿",wwe="🧈",xwe="🧂",kwe="🥫",Ewe="🍱",Cwe="🍘",Awe="🍙",Swe="🍚",Twe="🍛",Owe="🍜",Mwe="🍝",Rwe="🍠",Nwe="🍢",Dwe="🍣",Lwe="🍤",Iwe="🍥",Pwe="🥮",Fwe="🍡",Bwe="🥟",jwe="🥠",zwe="🥡",$we="🦀",qwe="🦞",Uwe="🦐",Hwe="🦑",Vwe="🦪",Gwe="🍦",Kwe="🍧",Wwe="🍨",Zwe="🍩",Ywe="🍪",Qwe="🎂",Jwe="🍰",Xwe="🧁",exe="🥧",txe="🍫",nxe="🍬",sxe="🍭",oxe="🍮",rxe="🍯",ixe="🍼",axe="🥛",lxe="☕",cxe="🫖",uxe="🍵",dxe="🍶",fxe="🍾",hxe="🍷",pxe="🍸",gxe="🍹",mxe="🍺",_xe="🍻",bxe="🥂",yxe="🥃",vxe="🥤",wxe="🧋",xxe="🧃",kxe="🧉",Exe="🧊",Cxe="🥢",Axe="🍽️",Sxe="🍴",Txe="🥄",Oxe="🔪",Mxe="🔪",Rxe="🏺",Nxe="🌍",Dxe="🌎",Lxe="🌏",Ixe="🌐",Pxe="🗺️",Fxe="🗾",Bxe="🧭",jxe="🏔️",zxe="⛰️",$xe="🌋",qxe="🗻",Uxe="🏕️",Hxe="🏖️",Vxe="🏜️",Gxe="🏝️",Kxe="🏞️",Wxe="🏟️",Zxe="🏛️",Yxe="🏗️",Qxe="🧱",Jxe="🪨",Xxe="🪵",eke="🛖",tke="🏘️",nke="🏚️",ske="🏠",oke="🏡",rke="🏢",ike="🏣",ake="🏤",lke="🏥",cke="🏦",uke="🏨",dke="🏩",fke="🏪",hke="🏫",pke="🏬",gke="🏭",mke="🏯",_ke="🏰",bke="💒",yke="🗼",vke="🗽",wke="⛪",xke="🕌",kke="🛕",Eke="🕍",Cke="⛩️",Ake="🕋",Ske="⛲",Tke="⛺",Oke="🌁",Mke="🌃",Rke="🏙️",Nke="🌄",Dke="🌅",Lke="🌆",Ike="🌇",Pke="🌉",Fke="♨️",Bke="🎠",jke="🎡",zke="🎢",$ke="💈",qke="🎪",Uke="🚂",Hke="🚃",Vke="🚄",Gke="🚅",Kke="🚆",Wke="🚇",Zke="🚈",Yke="🚉",Qke="🚊",Jke="🚝",Xke="🚞",eEe="🚋",tEe="🚌",nEe="🚍",sEe="🚎",oEe="🚐",rEe="🚑",iEe="🚒",aEe="🚓",lEe="🚔",cEe="🚕",uEe="🚖",dEe="🚗",fEe="🚗",hEe="🚘",pEe="🚙",gEe="🛻",mEe="🚚",_Ee="🚛",bEe="🚜",yEe="🏎️",vEe="🏍️",wEe="🛵",xEe="🦽",kEe="🦼",EEe="🛺",CEe="🚲",AEe="🛴",SEe="🛹",TEe="🛼",OEe="🚏",MEe="🛣️",REe="🛤️",NEe="🛢️",DEe="⛽",LEe="🚨",IEe="🚥",PEe="🚦",FEe="🛑",BEe="🚧",jEe="⚓",zEe="⛵",$Ee="⛵",qEe="🛶",UEe="🚤",HEe="🛳️",VEe="⛴️",GEe="🛥️",KEe="🚢",WEe="✈️",ZEe="🛩️",YEe="🛫",QEe="🛬",JEe="🪂",XEe="💺",eCe="🚁",tCe="🚟",nCe="🚠",sCe="🚡",oCe="🛰️",rCe="🚀",iCe="🛸",aCe="🛎️",lCe="🧳",cCe="⌛",uCe="⏳",dCe="⌚",fCe="⏰",hCe="⏱️",pCe="⏲️",gCe="🕰️",mCe="🕛",_Ce="🕧",bCe="🕐",yCe="🕜",vCe="🕑",wCe="🕝",xCe="🕒",kCe="🕞",ECe="🕓",CCe="🕟",ACe="🕔",SCe="🕠",TCe="🕕",OCe="🕡",MCe="🕖",RCe="🕢",NCe="🕗",DCe="🕣",LCe="🕘",ICe="🕤",PCe="🕙",FCe="🕥",BCe="🕚",jCe="🕦",zCe="🌑",$Ce="🌒",qCe="🌓",UCe="🌔",HCe="🌔",VCe="🌕",GCe="🌖",KCe="🌗",WCe="🌘",ZCe="🌙",YCe="🌚",QCe="🌛",JCe="🌜",XCe="🌡️",e5e="☀️",t5e="🌝",n5e="🌞",s5e="🪐",o5e="⭐",r5e="🌟",i5e="🌠",a5e="🌌",l5e="☁️",c5e="⛅",u5e="⛈️",d5e="🌤️",f5e="🌥️",h5e="🌦️",p5e="🌧️",g5e="🌨️",m5e="🌩️",_5e="🌪️",b5e="🌫️",y5e="🌬️",v5e="🌀",w5e="🌈",x5e="🌂",k5e="☂️",E5e="☔",C5e="⛱️",A5e="⚡",S5e="❄️",T5e="☃️",O5e="⛄",M5e="☄️",R5e="🔥",N5e="💧",D5e="🌊",L5e="🎃",I5e="🎄",P5e="🎆",F5e="🎇",B5e="🧨",j5e="✨",z5e="🎈",$5e="🎉",q5e="🎊",U5e="🎋",H5e="🎍",V5e="🎎",G5e="🎏",K5e="🎐",W5e="🎑",Z5e="🧧",Y5e="🎀",Q5e="🎁",J5e="🎗️",X5e="🎟️",e4e="🎫",t4e="🎖️",n4e="🏆",s4e="🏅",o4e="⚽",r4e="⚾",i4e="🥎",a4e="🏀",l4e="🏐",c4e="🏈",u4e="🏉",d4e="🎾",f4e="🥏",h4e="🎳",p4e="🏏",g4e="🏑",m4e="🏒",_4e="🥍",b4e="🏓",y4e="🏸",v4e="🥊",w4e="🥋",x4e="🥅",k4e="⛳",E4e="⛸️",C4e="🎣",A4e="🤿",S4e="🎽",T4e="🎿",O4e="🛷",M4e="🥌",R4e="🎯",N4e="🪀",D4e="🪁",L4e="🔮",I4e="🪄",P4e="🧿",F4e="🎮",B4e="🕹️",j4e="🎰",z4e="🎲",$4e="🧩",q4e="🧸",U4e="🪅",H4e="🪆",V4e="♠️",G4e="♥️",K4e="♦️",W4e="♣️",Z4e="♟️",Y4e="🃏",Q4e="🀄",J4e="🎴",X4e="🎭",eAe="🖼️",tAe="🎨",nAe="🧵",sAe="🪡",oAe="🧶",rAe="🪢",iAe="👓",aAe="🕶️",lAe="🥽",cAe="🥼",uAe="🦺",dAe="👔",fAe="👕",hAe="👕",pAe="👖",gAe="🧣",mAe="🧤",_Ae="🧥",bAe="🧦",yAe="👗",vAe="👘",wAe="🥻",xAe="🩱",kAe="🩲",EAe="🩳",CAe="👙",AAe="👚",SAe="👛",TAe="👜",OAe="👝",MAe="🛍️",RAe="🎒",NAe="🩴",DAe="👞",LAe="👞",IAe="👟",PAe="🥾",FAe="🥿",BAe="👠",jAe="👡",zAe="🩰",$Ae="👢",qAe="👑",UAe="👒",HAe="🎩",VAe="🎓",GAe="🧢",KAe="🪖",WAe="⛑️",ZAe="📿",YAe="💄",QAe="💍",JAe="💎",XAe="🔇",e3e="🔈",t3e="🔉",n3e="🔊",s3e="📢",o3e="📣",r3e="📯",i3e="🔔",a3e="🔕",l3e="🎼",c3e="🎵",u3e="🎶",d3e="🎙️",f3e="🎚️",h3e="🎛️",p3e="🎤",g3e="🎧",m3e="📻",_3e="🎷",b3e="🪗",y3e="🎸",v3e="🎹",w3e="🎺",x3e="🎻",k3e="🪕",E3e="🥁",C3e="🪘",A3e="📱",S3e="📲",T3e="☎️",O3e="☎️",M3e="📞",R3e="📟",N3e="📠",D3e="🔋",L3e="🔌",I3e="💻",P3e="🖥️",F3e="🖨️",B3e="⌨️",j3e="🖱️",z3e="🖲️",$3e="💽",q3e="💾",U3e="💿",H3e="📀",V3e="🧮",G3e="🎥",K3e="🎞️",W3e="📽️",Z3e="🎬",Y3e="📺",Q3e="📷",J3e="📸",X3e="📹",eSe="📼",tSe="🔍",nSe="🔎",sSe="🕯️",oSe="💡",rSe="🔦",iSe="🏮",aSe="🏮",lSe="🪔",cSe="📔",uSe="📕",dSe="📖",fSe="📖",hSe="📗",pSe="📘",gSe="📙",mSe="📚",_Se="📓",bSe="📒",ySe="📃",vSe="📜",wSe="📄",xSe="📰",kSe="🗞️",ESe="📑",CSe="🔖",ASe="🏷️",SSe="💰",TSe="🪙",OSe="💴",MSe="💵",RSe="💶",NSe="💷",DSe="💸",LSe="💳",ISe="🧾",PSe="💹",FSe="✉️",BSe="📧",jSe="📨",zSe="📩",$Se="📤",qSe="📥",USe="📫",HSe="📪",VSe="📬",GSe="📭",KSe="📮",WSe="🗳️",ZSe="✏️",YSe="✒️",QSe="🖋️",JSe="🖊️",XSe="🖌️",eTe="🖍️",tTe="📝",nTe="📝",sTe="💼",oTe="📁",rTe="📂",iTe="🗂️",aTe="📅",lTe="📆",cTe="🗒️",uTe="🗓️",dTe="📇",fTe="📈",hTe="📉",pTe="📊",gTe="📋",mTe="📌",_Te="📍",bTe="📎",yTe="🖇️",vTe="📏",wTe="📐",xTe="✂️",kTe="🗃️",ETe="🗄️",CTe="🗑️",ATe="🔒",STe="🔓",TTe="🔏",OTe="🔐",MTe="🔑",RTe="🗝️",NTe="🔨",DTe="🪓",LTe="⛏️",ITe="⚒️",PTe="🛠️",FTe="🗡️",BTe="⚔️",jTe="🔫",zTe="🪃",$Te="🏹",qTe="🛡️",UTe="🪚",HTe="🔧",VTe="🪛",GTe="🔩",KTe="⚙️",WTe="🗜️",ZTe="⚖️",YTe="🦯",QTe="🔗",JTe="⛓️",XTe="🪝",e8e="🧰",t8e="🧲",n8e="🪜",s8e="⚗️",o8e="🧪",r8e="🧫",i8e="🧬",a8e="🔬",l8e="🔭",c8e="📡",u8e="💉",d8e="🩸",f8e="💊",h8e="🩹",p8e="🩺",g8e="🚪",m8e="🛗",_8e="🪞",b8e="🪟",y8e="🛏️",v8e="🛋️",w8e="🪑",x8e="🚽",k8e="🪠",E8e="🚿",C8e="🛁",A8e="🪤",S8e="🪒",T8e="🧴",O8e="🧷",M8e="🧹",R8e="🧺",N8e="🧻",D8e="🪣",L8e="🧼",I8e="🪥",P8e="🧽",F8e="🧯",B8e="🛒",j8e="🚬",z8e="⚰️",$8e="🪦",q8e="⚱️",U8e="🗿",H8e="🪧",V8e="🏧",G8e="🚮",K8e="🚰",W8e="♿",Z8e="🚹",Y8e="🚺",Q8e="🚻",J8e="🚼",X8e="🚾",e9e="🛂",t9e="🛃",n9e="🛄",s9e="🛅",o9e="⚠️",r9e="🚸",i9e="⛔",a9e="🚫",l9e="🚳",c9e="🚭",u9e="🚯",d9e="🚷",f9e="📵",h9e="🔞",p9e="☢️",g9e="☣️",m9e="⬆️",_9e="↗️",b9e="➡️",y9e="↘️",v9e="⬇️",w9e="↙️",x9e="⬅️",k9e="↖️",E9e="↕️",C9e="↔️",A9e="↩️",S9e="↪️",T9e="⤴️",O9e="⤵️",M9e="🔃",R9e="🔄",N9e="🔙",D9e="🔚",L9e="🔛",I9e="🔜",P9e="🔝",F9e="🛐",B9e="⚛️",j9e="🕉️",z9e="✡️",$9e="☸️",q9e="☯️",U9e="✝️",H9e="☦️",V9e="☪️",G9e="☮️",K9e="🕎",W9e="🔯",Z9e="♈",Y9e="♉",Q9e="♊",J9e="♋",X9e="♌",e6e="♍",t6e="♎",n6e="♏",s6e="♐",o6e="♑",r6e="♒",i6e="♓",a6e="⛎",l6e="🔀",c6e="🔁",u6e="🔂",d6e="▶️",f6e="⏩",h6e="⏭️",p6e="⏯️",g6e="◀️",m6e="⏪",_6e="⏮️",b6e="🔼",y6e="⏫",v6e="🔽",w6e="⏬",x6e="⏸️",k6e="⏹️",E6e="⏺️",C6e="⏏️",A6e="🎦",S6e="🔅",T6e="🔆",O6e="📶",M6e="📳",R6e="📴",N6e="♀️",D6e="♂️",L6e="⚧️",I6e="✖️",P6e="➕",F6e="➖",B6e="➗",j6e="♾️",z6e="‼️",$6e="⁉️",q6e="❓",U6e="❔",H6e="❕",V6e="❗",G6e="❗",K6e="〰️",W6e="💱",Z6e="💲",Y6e="⚕️",Q6e="♻️",J6e="⚜️",X6e="🔱",eOe="📛",tOe="🔰",nOe="⭕",sOe="✅",oOe="☑️",rOe="✔️",iOe="❌",aOe="❎",lOe="➰",cOe="➿",uOe="〽️",dOe="✳️",fOe="✴️",hOe="❇️",pOe="©️",gOe="®️",mOe="™️",_Oe="#️⃣",bOe="*️⃣",yOe="0️⃣",vOe="1️⃣",wOe="2️⃣",xOe="3️⃣",kOe="4️⃣",EOe="5️⃣",COe="6️⃣",AOe="7️⃣",SOe="8️⃣",TOe="9️⃣",OOe="🔟",MOe="🔠",ROe="🔡",NOe="🔣",DOe="🔤",LOe="🅰️",IOe="🆎",POe="🅱️",FOe="🆑",BOe="🆒",jOe="🆓",zOe="ℹ️",$Oe="🆔",qOe="Ⓜ️",UOe="🆖",HOe="🅾️",VOe="🆗",GOe="🅿️",KOe="🆘",WOe="🆙",ZOe="🆚",YOe="🈁",QOe="🈂️",JOe="🉐",XOe="🉑",eMe="㊗️",tMe="㊙️",nMe="🈵",sMe="🔴",oMe="🟠",rMe="🟡",iMe="🟢",aMe="🔵",lMe="🟣",cMe="🟤",uMe="⚫",dMe="⚪",fMe="🟥",hMe="🟧",pMe="🟨",gMe="🟩",mMe="🟦",_Me="🟪",bMe="🟫",yMe="⬛",vMe="⬜",wMe="◼️",xMe="◻️",kMe="◾",EMe="◽",CMe="▪️",AMe="▫️",SMe="🔶",TMe="🔷",OMe="🔸",MMe="🔹",RMe="🔺",NMe="🔻",DMe="💠",LMe="🔘",IMe="🔳",PMe="🔲",FMe="🏁",BMe="🚩",jMe="🎌",zMe="🏴",$Me="🏳️",qMe="🏳️‍🌈",UMe="🏳️‍⚧️",HMe="🏴‍☠️",VMe="🇦🇨",GMe="🇦🇩",KMe="🇦🇪",WMe="🇦🇫",ZMe="🇦🇬",YMe="🇦🇮",QMe="🇦🇱",JMe="🇦🇲",XMe="🇦🇴",eRe="🇦🇶",tRe="🇦🇷",nRe="🇦🇸",sRe="🇦🇹",oRe="🇦🇺",rRe="🇦🇼",iRe="🇦🇽",aRe="🇦🇿",lRe="🇧🇦",cRe="🇧🇧",uRe="🇧🇩",dRe="🇧🇪",fRe="🇧🇫",hRe="🇧🇬",pRe="🇧🇭",gRe="🇧🇮",mRe="🇧🇯",_Re="🇧🇱",bRe="🇧🇲",yRe="🇧🇳",vRe="🇧🇴",wRe="🇧🇶",xRe="🇧🇷",kRe="🇧🇸",ERe="🇧🇹",CRe="🇧🇻",ARe="🇧🇼",SRe="🇧🇾",TRe="🇧🇿",ORe="🇨🇦",MRe="🇨🇨",RRe="🇨🇩",NRe="🇨🇫",DRe="🇨🇬",LRe="🇨🇭",IRe="🇨🇮",PRe="🇨🇰",FRe="🇨🇱",BRe="🇨🇲",jRe="🇨🇳",zRe="🇨🇴",$Re="🇨🇵",qRe="🇨🇷",URe="🇨🇺",HRe="🇨🇻",VRe="🇨🇼",GRe="🇨🇽",KRe="🇨🇾",WRe="🇨🇿",ZRe="🇩🇪",YRe="🇩🇬",QRe="🇩🇯",JRe="🇩🇰",XRe="🇩🇲",e7e="🇩🇴",t7e="🇩🇿",n7e="🇪🇦",s7e="🇪🇨",o7e="🇪🇪",r7e="🇪🇬",i7e="🇪🇭",a7e="🇪🇷",l7e="🇪🇸",c7e="🇪🇹",u7e="🇪🇺",d7e="🇪🇺",f7e="🇫🇮",h7e="🇫🇯",p7e="🇫🇰",g7e="🇫🇲",m7e="🇫🇴",_7e="🇫🇷",b7e="🇬🇦",y7e="🇬🇧",v7e="🇬🇧",w7e="🇬🇩",x7e="🇬🇪",k7e="🇬🇫",E7e="🇬🇬",C7e="🇬🇭",A7e="🇬🇮",S7e="🇬🇱",T7e="🇬🇲",O7e="🇬🇳",M7e="🇬🇵",R7e="🇬🇶",N7e="🇬🇷",D7e="🇬🇸",L7e="🇬🇹",I7e="🇬🇺",P7e="🇬🇼",F7e="🇬🇾",B7e="🇭🇰",j7e="🇭🇲",z7e="🇭🇳",$7e="🇭🇷",q7e="🇭🇹",U7e="🇭🇺",H7e="🇮🇨",V7e="🇮🇩",G7e="🇮🇪",K7e="🇮🇱",W7e="🇮🇲",Z7e="🇮🇳",Y7e="🇮🇴",Q7e="🇮🇶",J7e="🇮🇷",X7e="🇮🇸",eNe="🇮🇹",tNe="🇯🇪",nNe="🇯🇲",sNe="🇯🇴",oNe="🇯🇵",rNe="🇰🇪",iNe="🇰🇬",aNe="🇰🇭",lNe="🇰🇮",cNe="🇰🇲",uNe="🇰🇳",dNe="🇰🇵",fNe="🇰🇷",hNe="🇰🇼",pNe="🇰🇾",gNe="🇰🇿",mNe="🇱🇦",_Ne="🇱🇧",bNe="🇱🇨",yNe="🇱🇮",vNe="🇱🇰",wNe="🇱🇷",xNe="🇱🇸",kNe="🇱🇹",ENe="🇱🇺",CNe="🇱🇻",ANe="🇱🇾",SNe="🇲🇦",TNe="🇲🇨",ONe="🇲🇩",MNe="🇲🇪",RNe="🇲🇫",NNe="🇲🇬",DNe="🇲🇭",LNe="🇲🇰",INe="🇲🇱",PNe="🇲🇲",FNe="🇲🇳",BNe="🇲🇴",jNe="🇲🇵",zNe="🇲🇶",$Ne="🇲🇷",qNe="🇲🇸",UNe="🇲🇹",HNe="🇲🇺",VNe="🇲🇻",GNe="🇲🇼",KNe="🇲🇽",WNe="🇲🇾",ZNe="🇲🇿",YNe="🇳🇦",QNe="🇳🇨",JNe="🇳🇪",XNe="🇳🇫",eDe="🇳🇬",tDe="🇳🇮",nDe="🇳🇱",sDe="🇳🇴",oDe="🇳🇵",rDe="🇳🇷",iDe="🇳🇺",aDe="🇳🇿",lDe="🇴🇲",cDe="🇵🇦",uDe="🇵🇪",dDe="🇵🇫",fDe="🇵🇬",hDe="🇵🇭",pDe="🇵🇰",gDe="🇵🇱",mDe="🇵🇲",_De="🇵🇳",bDe="🇵🇷",yDe="🇵🇸",vDe="🇵🇹",wDe="🇵🇼",xDe="🇵🇾",kDe="🇶🇦",EDe="🇷🇪",CDe="🇷🇴",ADe="🇷🇸",SDe="🇷🇺",TDe="🇷🇼",ODe="🇸🇦",MDe="🇸🇧",RDe="🇸🇨",NDe="🇸🇩",DDe="🇸🇪",LDe="🇸🇬",IDe="🇸🇭",PDe="🇸🇮",FDe="🇸🇯",BDe="🇸🇰",jDe="🇸🇱",zDe="🇸🇲",$De="🇸🇳",qDe="🇸🇴",UDe="🇸🇷",HDe="🇸🇸",VDe="🇸🇹",GDe="🇸🇻",KDe="🇸🇽",WDe="🇸🇾",ZDe="🇸🇿",YDe="🇹🇦",QDe="🇹🇨",JDe="🇹🇩",XDe="🇹🇫",eLe="🇹🇬",tLe="🇹🇭",nLe="🇹🇯",sLe="🇹🇰",oLe="🇹🇱",rLe="🇹🇲",iLe="🇹🇳",aLe="🇹🇴",lLe="🇹🇷",cLe="🇹🇹",uLe="🇹🇻",dLe="🇹🇼",fLe="🇹🇿",hLe="🇺🇦",pLe="🇺🇬",gLe="🇺🇲",mLe="🇺🇳",_Le="🇺🇸",bLe="🇺🇾",yLe="🇺🇿",vLe="🇻🇦",wLe="🇻🇨",xLe="🇻🇪",kLe="🇻🇬",ELe="🇻🇮",CLe="🇻🇳",ALe="🇻🇺",SLe="🇼🇫",TLe="🇼🇸",OLe="🇽🇰",MLe="🇾🇪",RLe="🇾🇹",NLe="🇿🇦",DLe="🇿🇲",LLe="🇿🇼",ILe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",PLe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",FLe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",BLe={100:"💯",1234:"🔢",grinning:Zue,smiley:Yue,smile:Que,grin:Jue,laughing:Xue,satisfied:ede,sweat_smile:tde,rofl:nde,joy:sde,slightly_smiling_face:ode,upside_down_face:rde,wink:ide,blush:ade,innocent:lde,smiling_face_with_three_hearts:cde,heart_eyes:ude,star_struck:dde,kissing_heart:fde,kissing:hde,relaxed:pde,kissing_closed_eyes:gde,kissing_smiling_eyes:mde,smiling_face_with_tear:_de,yum:bde,stuck_out_tongue:yde,stuck_out_tongue_winking_eye:vde,zany_face:wde,stuck_out_tongue_closed_eyes:xde,money_mouth_face:kde,hugs:Ede,hand_over_mouth:Cde,shushing_face:Ade,thinking:Sde,zipper_mouth_face:Tde,raised_eyebrow:Ode,neutral_face:Mde,expressionless:Rde,no_mouth:Nde,smirk:Dde,unamused:Lde,roll_eyes:Ide,grimacing:Pde,lying_face:Fde,relieved:Bde,pensive:jde,sleepy:zde,drooling_face:$de,sleeping:qde,mask:Ude,face_with_thermometer:Hde,face_with_head_bandage:Vde,nauseated_face:Gde,vomiting_face:Kde,sneezing_face:Wde,hot_face:Zde,cold_face:Yde,woozy_face:Qde,dizzy_face:Jde,exploding_head:Xde,cowboy_hat_face:efe,partying_face:tfe,disguised_face:nfe,sunglasses:sfe,nerd_face:ofe,monocle_face:rfe,confused:ife,worried:afe,slightly_frowning_face:lfe,frowning_face:cfe,open_mouth:ufe,hushed:dfe,astonished:ffe,flushed:hfe,pleading_face:pfe,frowning:gfe,anguished:mfe,fearful:_fe,cold_sweat:bfe,disappointed_relieved:yfe,cry:vfe,sob:wfe,scream:xfe,confounded:kfe,persevere:Efe,disappointed:Cfe,sweat:Afe,weary:Sfe,tired_face:Tfe,yawning_face:Ofe,triumph:Mfe,rage:Rfe,pout:Nfe,angry:Dfe,cursing_face:Lfe,smiling_imp:Ife,imp:Pfe,skull:Ffe,skull_and_crossbones:Bfe,hankey:jfe,poop:zfe,shit:$fe,clown_face:qfe,japanese_ogre:Ufe,japanese_goblin:Hfe,ghost:Vfe,alien:Gfe,space_invader:Kfe,robot:Wfe,smiley_cat:Zfe,smile_cat:Yfe,joy_cat:Qfe,heart_eyes_cat:Jfe,smirk_cat:Xfe,kissing_cat:ehe,scream_cat:the,crying_cat_face:nhe,pouting_cat:she,see_no_evil:ohe,hear_no_evil:rhe,speak_no_evil:ihe,kiss:ahe,love_letter:lhe,cupid:che,gift_heart:uhe,sparkling_heart:dhe,heartpulse:fhe,heartbeat:hhe,revolving_hearts:phe,two_hearts:ghe,heart_decoration:mhe,heavy_heart_exclamation:_he,broken_heart:bhe,heart:yhe,orange_heart:vhe,yellow_heart:whe,green_heart:xhe,blue_heart:khe,purple_heart:Ehe,brown_heart:Che,black_heart:Ahe,white_heart:She,anger:The,boom:Ohe,collision:Mhe,dizzy:Rhe,sweat_drops:Nhe,dash:Dhe,hole:Lhe,bomb:Ihe,speech_balloon:Phe,eye_speech_bubble:Fhe,left_speech_bubble:Bhe,right_anger_bubble:jhe,thought_balloon:zhe,zzz:$he,wave:qhe,raised_back_of_hand:Uhe,raised_hand_with_fingers_splayed:Hhe,hand:Vhe,raised_hand:Ghe,vulcan_salute:Khe,ok_hand:Whe,pinched_fingers:Zhe,pinching_hand:Yhe,v:Qhe,crossed_fingers:Jhe,love_you_gesture:Xhe,metal:epe,call_me_hand:tpe,point_left:npe,point_right:spe,point_up_2:ope,middle_finger:rpe,fu:ipe,point_down:ape,point_up:lpe,"+1":"👍",thumbsup:cpe,"-1":"👎",thumbsdown:upe,fist_raised:dpe,fist:fpe,fist_oncoming:hpe,facepunch:ppe,punch:gpe,fist_left:mpe,fist_right:_pe,clap:bpe,raised_hands:ype,open_hands:vpe,palms_up_together:wpe,handshake:xpe,pray:kpe,writing_hand:Epe,nail_care:Cpe,selfie:Ape,muscle:Spe,mechanical_arm:Tpe,mechanical_leg:Ope,leg:Mpe,foot:Rpe,ear:Npe,ear_with_hearing_aid:Dpe,nose:Lpe,brain:Ipe,anatomical_heart:Ppe,lungs:Fpe,tooth:Bpe,bone:jpe,eyes:zpe,eye:$pe,tongue:qpe,lips:Upe,baby:Hpe,child:Vpe,boy:Gpe,girl:Kpe,adult:Wpe,blond_haired_person:Zpe,man:Ype,bearded_person:Qpe,red_haired_man:Jpe,curly_haired_man:Xpe,white_haired_man:ege,bald_man:tge,woman:nge,red_haired_woman:sge,person_red_hair:oge,curly_haired_woman:rge,person_curly_hair:ige,white_haired_woman:age,person_white_hair:lge,bald_woman:cge,person_bald:uge,blond_haired_woman:dge,blonde_woman:fge,blond_haired_man:hge,older_adult:pge,older_man:gge,older_woman:mge,frowning_person:_ge,frowning_man:bge,frowning_woman:yge,pouting_face:vge,pouting_man:wge,pouting_woman:xge,no_good:kge,no_good_man:Ege,ng_man:Cge,no_good_woman:Age,ng_woman:Sge,ok_person:Tge,ok_man:Oge,ok_woman:Mge,tipping_hand_person:Rge,information_desk_person:Nge,tipping_hand_man:Dge,sassy_man:Lge,tipping_hand_woman:Ige,sassy_woman:Pge,raising_hand:Fge,raising_hand_man:Bge,raising_hand_woman:jge,deaf_person:zge,deaf_man:$ge,deaf_woman:qge,bow:Uge,bowing_man:Hge,bowing_woman:Vge,facepalm:Gge,man_facepalming:Kge,woman_facepalming:Wge,shrug:Zge,man_shrugging:Yge,woman_shrugging:Qge,health_worker:Jge,man_health_worker:Xge,woman_health_worker:eme,student:tme,man_student:nme,woman_student:sme,teacher:ome,man_teacher:rme,woman_teacher:ime,judge:ame,man_judge:lme,woman_judge:cme,farmer:ume,man_farmer:dme,woman_farmer:fme,cook:hme,man_cook:pme,woman_cook:gme,mechanic:mme,man_mechanic:_me,woman_mechanic:bme,factory_worker:yme,man_factory_worker:vme,woman_factory_worker:wme,office_worker:xme,man_office_worker:kme,woman_office_worker:Eme,scientist:Cme,man_scientist:Ame,woman_scientist:Sme,technologist:Tme,man_technologist:Ome,woman_technologist:Mme,singer:Rme,man_singer:Nme,woman_singer:Dme,artist:Lme,man_artist:Ime,woman_artist:Pme,pilot:Fme,man_pilot:Bme,woman_pilot:jme,astronaut:zme,man_astronaut:$me,woman_astronaut:qme,firefighter:Ume,man_firefighter:Hme,woman_firefighter:Vme,police_officer:Gme,cop:Kme,policeman:Wme,policewoman:Zme,detective:Yme,male_detective:Qme,female_detective:Jme,guard:Xme,guardsman:e_e,guardswoman:t_e,ninja:n_e,construction_worker:s_e,construction_worker_man:o_e,construction_worker_woman:r_e,prince:i_e,princess:a_e,person_with_turban:l_e,man_with_turban:c_e,woman_with_turban:u_e,man_with_gua_pi_mao:d_e,woman_with_headscarf:f_e,person_in_tuxedo:h_e,man_in_tuxedo:p_e,woman_in_tuxedo:g_e,person_with_veil:m_e,man_with_veil:__e,woman_with_veil:b_e,bride_with_veil:y_e,pregnant_woman:v_e,breast_feeding:w_e,woman_feeding_baby:x_e,man_feeding_baby:k_e,person_feeding_baby:E_e,angel:C_e,santa:A_e,mrs_claus:S_e,mx_claus:T_e,superhero:O_e,superhero_man:M_e,superhero_woman:R_e,supervillain:N_e,supervillain_man:D_e,supervillain_woman:L_e,mage:I_e,mage_man:P_e,mage_woman:F_e,fairy:B_e,fairy_man:j_e,fairy_woman:z_e,vampire:$_e,vampire_man:q_e,vampire_woman:U_e,merperson:H_e,merman:V_e,mermaid:G_e,elf:K_e,elf_man:W_e,elf_woman:Z_e,genie:Y_e,genie_man:Q_e,genie_woman:J_e,zombie:X_e,zombie_man:e1e,zombie_woman:t1e,massage:n1e,massage_man:s1e,massage_woman:o1e,haircut:r1e,haircut_man:i1e,haircut_woman:a1e,walking:l1e,walking_man:c1e,walking_woman:u1e,standing_person:d1e,standing_man:f1e,standing_woman:h1e,kneeling_person:p1e,kneeling_man:g1e,kneeling_woman:m1e,person_with_probing_cane:_1e,man_with_probing_cane:b1e,woman_with_probing_cane:y1e,person_in_motorized_wheelchair:v1e,man_in_motorized_wheelchair:w1e,woman_in_motorized_wheelchair:x1e,person_in_manual_wheelchair:k1e,man_in_manual_wheelchair:E1e,woman_in_manual_wheelchair:C1e,runner:A1e,running:S1e,running_man:T1e,running_woman:O1e,woman_dancing:M1e,dancer:R1e,man_dancing:N1e,business_suit_levitating:D1e,dancers:L1e,dancing_men:I1e,dancing_women:P1e,sauna_person:F1e,sauna_man:B1e,sauna_woman:j1e,climbing:z1e,climbing_man:$1e,climbing_woman:q1e,person_fencing:U1e,horse_racing:H1e,skier:V1e,snowboarder:G1e,golfing:K1e,golfing_man:W1e,golfing_woman:Z1e,surfer:Y1e,surfing_man:Q1e,surfing_woman:J1e,rowboat:X1e,rowing_man:e0e,rowing_woman:t0e,swimmer:n0e,swimming_man:s0e,swimming_woman:o0e,bouncing_ball_person:r0e,bouncing_ball_man:i0e,basketball_man:a0e,bouncing_ball_woman:l0e,basketball_woman:c0e,weight_lifting:u0e,weight_lifting_man:d0e,weight_lifting_woman:f0e,bicyclist:h0e,biking_man:p0e,biking_woman:g0e,mountain_bicyclist:m0e,mountain_biking_man:_0e,mountain_biking_woman:b0e,cartwheeling:y0e,man_cartwheeling:v0e,woman_cartwheeling:w0e,wrestling:x0e,men_wrestling:k0e,women_wrestling:E0e,water_polo:C0e,man_playing_water_polo:A0e,woman_playing_water_polo:S0e,handball_person:T0e,man_playing_handball:O0e,woman_playing_handball:M0e,juggling_person:R0e,man_juggling:N0e,woman_juggling:D0e,lotus_position:L0e,lotus_position_man:I0e,lotus_position_woman:P0e,bath:F0e,sleeping_bed:B0e,people_holding_hands:j0e,two_women_holding_hands:z0e,couple:$0e,two_men_holding_hands:q0e,couplekiss:U0e,couplekiss_man_woman:H0e,couplekiss_man_man:V0e,couplekiss_woman_woman:G0e,couple_with_heart:K0e,couple_with_heart_woman_man:W0e,couple_with_heart_man_man:Z0e,couple_with_heart_woman_woman:Y0e,family:Q0e,family_man_woman_boy:J0e,family_man_woman_girl:X0e,family_man_woman_girl_boy:ebe,family_man_woman_boy_boy:tbe,family_man_woman_girl_girl:nbe,family_man_man_boy:sbe,family_man_man_girl:obe,family_man_man_girl_boy:rbe,family_man_man_boy_boy:ibe,family_man_man_girl_girl:abe,family_woman_woman_boy:lbe,family_woman_woman_girl:cbe,family_woman_woman_girl_boy:ube,family_woman_woman_boy_boy:dbe,family_woman_woman_girl_girl:fbe,family_man_boy:hbe,family_man_boy_boy:pbe,family_man_girl:gbe,family_man_girl_boy:mbe,family_man_girl_girl:_be,family_woman_boy:bbe,family_woman_boy_boy:ybe,family_woman_girl:vbe,family_woman_girl_boy:wbe,family_woman_girl_girl:xbe,speaking_head:kbe,bust_in_silhouette:Ebe,busts_in_silhouette:Cbe,people_hugging:Abe,footprints:Sbe,monkey_face:Tbe,monkey:Obe,gorilla:Mbe,orangutan:Rbe,dog:Nbe,dog2:Dbe,guide_dog:Lbe,service_dog:Ibe,poodle:Pbe,wolf:Fbe,fox_face:Bbe,raccoon:jbe,cat:zbe,cat2:$be,black_cat:qbe,lion:Ube,tiger:Hbe,tiger2:Vbe,leopard:Gbe,horse:Kbe,racehorse:Wbe,unicorn:Zbe,zebra:Ybe,deer:Qbe,bison:Jbe,cow:Xbe,ox:eye,water_buffalo:tye,cow2:nye,pig:sye,pig2:oye,boar:rye,pig_nose:iye,ram:aye,sheep:lye,goat:cye,dromedary_camel:uye,camel:dye,llama:fye,giraffe:hye,elephant:pye,mammoth:gye,rhinoceros:mye,hippopotamus:_ye,mouse:bye,mouse2:yye,rat:vye,hamster:wye,rabbit:xye,rabbit2:kye,chipmunk:Eye,beaver:Cye,hedgehog:Aye,bat:Sye,bear:Tye,polar_bear:Oye,koala:Mye,panda_face:Rye,sloth:Nye,otter:Dye,skunk:Lye,kangaroo:Iye,badger:Pye,feet:Fye,paw_prints:Bye,turkey:jye,chicken:zye,rooster:$ye,hatching_chick:qye,baby_chick:Uye,hatched_chick:Hye,bird:Vye,penguin:Gye,dove:Kye,eagle:Wye,duck:Zye,swan:Yye,owl:Qye,dodo:Jye,feather:Xye,flamingo:eve,peacock:tve,parrot:nve,frog:sve,crocodile:ove,turtle:rve,lizard:ive,snake:ave,dragon_face:lve,dragon:cve,sauropod:uve,"t-rex":"🦖",whale:dve,whale2:fve,dolphin:hve,flipper:pve,seal:gve,fish:mve,tropical_fish:_ve,blowfish:bve,shark:yve,octopus:vve,shell:wve,snail:xve,butterfly:kve,bug:Eve,ant:Cve,bee:Ave,honeybee:Sve,beetle:Tve,lady_beetle:Ove,cricket:Mve,cockroach:Rve,spider:Nve,spider_web:Dve,scorpion:Lve,mosquito:Ive,fly:Pve,worm:Fve,microbe:Bve,bouquet:jve,cherry_blossom:zve,white_flower:$ve,rosette:qve,rose:Uve,wilted_flower:Hve,hibiscus:Vve,sunflower:Gve,blossom:Kve,tulip:Wve,seedling:Zve,potted_plant:Yve,evergreen_tree:Qve,deciduous_tree:Jve,palm_tree:Xve,cactus:e2e,ear_of_rice:t2e,herb:n2e,shamrock:s2e,four_leaf_clover:o2e,maple_leaf:r2e,fallen_leaf:i2e,leaves:a2e,grapes:l2e,melon:c2e,watermelon:u2e,tangerine:d2e,orange:f2e,mandarin:h2e,lemon:p2e,banana:g2e,pineapple:m2e,mango:_2e,apple:b2e,green_apple:y2e,pear:v2e,peach:w2e,cherries:x2e,strawberry:k2e,blueberries:E2e,kiwi_fruit:C2e,tomato:A2e,olive:S2e,coconut:T2e,avocado:O2e,eggplant:M2e,potato:R2e,carrot:N2e,corn:D2e,hot_pepper:L2e,bell_pepper:I2e,cucumber:P2e,leafy_green:F2e,broccoli:B2e,garlic:j2e,onion:z2e,mushroom:$2e,peanuts:q2e,chestnut:U2e,bread:H2e,croissant:V2e,baguette_bread:G2e,flatbread:K2e,pretzel:W2e,bagel:Z2e,pancakes:Y2e,waffle:Q2e,cheese:J2e,meat_on_bone:X2e,poultry_leg:ewe,cut_of_meat:twe,bacon:nwe,hamburger:swe,fries:owe,pizza:rwe,hotdog:iwe,sandwich:awe,taco:lwe,burrito:cwe,tamale:uwe,stuffed_flatbread:dwe,falafel:fwe,egg:hwe,fried_egg:pwe,shallow_pan_of_food:gwe,stew:mwe,fondue:_we,bowl_with_spoon:bwe,green_salad:ywe,popcorn:vwe,butter:wwe,salt:xwe,canned_food:kwe,bento:Ewe,rice_cracker:Cwe,rice_ball:Awe,rice:Swe,curry:Twe,ramen:Owe,spaghetti:Mwe,sweet_potato:Rwe,oden:Nwe,sushi:Dwe,fried_shrimp:Lwe,fish_cake:Iwe,moon_cake:Pwe,dango:Fwe,dumpling:Bwe,fortune_cookie:jwe,takeout_box:zwe,crab:$we,lobster:qwe,shrimp:Uwe,squid:Hwe,oyster:Vwe,icecream:Gwe,shaved_ice:Kwe,ice_cream:Wwe,doughnut:Zwe,cookie:Ywe,birthday:Qwe,cake:Jwe,cupcake:Xwe,pie:exe,chocolate_bar:txe,candy:nxe,lollipop:sxe,custard:oxe,honey_pot:rxe,baby_bottle:ixe,milk_glass:axe,coffee:lxe,teapot:cxe,tea:uxe,sake:dxe,champagne:fxe,wine_glass:hxe,cocktail:pxe,tropical_drink:gxe,beer:mxe,beers:_xe,clinking_glasses:bxe,tumbler_glass:yxe,cup_with_straw:vxe,bubble_tea:wxe,beverage_box:xxe,mate:kxe,ice_cube:Exe,chopsticks:Cxe,plate_with_cutlery:Axe,fork_and_knife:Sxe,spoon:Txe,hocho:Oxe,knife:Mxe,amphora:Rxe,earth_africa:Nxe,earth_americas:Dxe,earth_asia:Lxe,globe_with_meridians:Ixe,world_map:Pxe,japan:Fxe,compass:Bxe,mountain_snow:jxe,mountain:zxe,volcano:$xe,mount_fuji:qxe,camping:Uxe,beach_umbrella:Hxe,desert:Vxe,desert_island:Gxe,national_park:Kxe,stadium:Wxe,classical_building:Zxe,building_construction:Yxe,bricks:Qxe,rock:Jxe,wood:Xxe,hut:eke,houses:tke,derelict_house:nke,house:ske,house_with_garden:oke,office:rke,post_office:ike,european_post_office:ake,hospital:lke,bank:cke,hotel:uke,love_hotel:dke,convenience_store:fke,school:hke,department_store:pke,factory:gke,japanese_castle:mke,european_castle:_ke,wedding:bke,tokyo_tower:yke,statue_of_liberty:vke,church:wke,mosque:xke,hindu_temple:kke,synagogue:Eke,shinto_shrine:Cke,kaaba:Ake,fountain:Ske,tent:Tke,foggy:Oke,night_with_stars:Mke,cityscape:Rke,sunrise_over_mountains:Nke,sunrise:Dke,city_sunset:Lke,city_sunrise:Ike,bridge_at_night:Pke,hotsprings:Fke,carousel_horse:Bke,ferris_wheel:jke,roller_coaster:zke,barber:$ke,circus_tent:qke,steam_locomotive:Uke,railway_car:Hke,bullettrain_side:Vke,bullettrain_front:Gke,train2:Kke,metro:Wke,light_rail:Zke,station:Yke,tram:Qke,monorail:Jke,mountain_railway:Xke,train:eEe,bus:tEe,oncoming_bus:nEe,trolleybus:sEe,minibus:oEe,ambulance:rEe,fire_engine:iEe,police_car:aEe,oncoming_police_car:lEe,taxi:cEe,oncoming_taxi:uEe,car:dEe,red_car:fEe,oncoming_automobile:hEe,blue_car:pEe,pickup_truck:gEe,truck:mEe,articulated_lorry:_Ee,tractor:bEe,racing_car:yEe,motorcycle:vEe,motor_scooter:wEe,manual_wheelchair:xEe,motorized_wheelchair:kEe,auto_rickshaw:EEe,bike:CEe,kick_scooter:AEe,skateboard:SEe,roller_skate:TEe,busstop:OEe,motorway:MEe,railway_track:REe,oil_drum:NEe,fuelpump:DEe,rotating_light:LEe,traffic_light:IEe,vertical_traffic_light:PEe,stop_sign:FEe,construction:BEe,anchor:jEe,boat:zEe,sailboat:$Ee,canoe:qEe,speedboat:UEe,passenger_ship:HEe,ferry:VEe,motor_boat:GEe,ship:KEe,airplane:WEe,small_airplane:ZEe,flight_departure:YEe,flight_arrival:QEe,parachute:JEe,seat:XEe,helicopter:eCe,suspension_railway:tCe,mountain_cableway:nCe,aerial_tramway:sCe,artificial_satellite:oCe,rocket:rCe,flying_saucer:iCe,bellhop_bell:aCe,luggage:lCe,hourglass:cCe,hourglass_flowing_sand:uCe,watch:dCe,alarm_clock:fCe,stopwatch:hCe,timer_clock:pCe,mantelpiece_clock:gCe,clock12:mCe,clock1230:_Ce,clock1:bCe,clock130:yCe,clock2:vCe,clock230:wCe,clock3:xCe,clock330:kCe,clock4:ECe,clock430:CCe,clock5:ACe,clock530:SCe,clock6:TCe,clock630:OCe,clock7:MCe,clock730:RCe,clock8:NCe,clock830:DCe,clock9:LCe,clock930:ICe,clock10:PCe,clock1030:FCe,clock11:BCe,clock1130:jCe,new_moon:zCe,waxing_crescent_moon:$Ce,first_quarter_moon:qCe,moon:UCe,waxing_gibbous_moon:HCe,full_moon:VCe,waning_gibbous_moon:GCe,last_quarter_moon:KCe,waning_crescent_moon:WCe,crescent_moon:ZCe,new_moon_with_face:YCe,first_quarter_moon_with_face:QCe,last_quarter_moon_with_face:JCe,thermometer:XCe,sunny:e5e,full_moon_with_face:t5e,sun_with_face:n5e,ringed_planet:s5e,star:o5e,star2:r5e,stars:i5e,milky_way:a5e,cloud:l5e,partly_sunny:c5e,cloud_with_lightning_and_rain:u5e,sun_behind_small_cloud:d5e,sun_behind_large_cloud:f5e,sun_behind_rain_cloud:h5e,cloud_with_rain:p5e,cloud_with_snow:g5e,cloud_with_lightning:m5e,tornado:_5e,fog:b5e,wind_face:y5e,cyclone:v5e,rainbow:w5e,closed_umbrella:x5e,open_umbrella:k5e,umbrella:E5e,parasol_on_ground:C5e,zap:A5e,snowflake:S5e,snowman_with_snow:T5e,snowman:O5e,comet:M5e,fire:R5e,droplet:N5e,ocean:D5e,jack_o_lantern:L5e,christmas_tree:I5e,fireworks:P5e,sparkler:F5e,firecracker:B5e,sparkles:j5e,balloon:z5e,tada:$5e,confetti_ball:q5e,tanabata_tree:U5e,bamboo:H5e,dolls:V5e,flags:G5e,wind_chime:K5e,rice_scene:W5e,red_envelope:Z5e,ribbon:Y5e,gift:Q5e,reminder_ribbon:J5e,tickets:X5e,ticket:e4e,medal_military:t4e,trophy:n4e,medal_sports:s4e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:o4e,baseball:r4e,softball:i4e,basketball:a4e,volleyball:l4e,football:c4e,rugby_football:u4e,tennis:d4e,flying_disc:f4e,bowling:h4e,cricket_game:p4e,field_hockey:g4e,ice_hockey:m4e,lacrosse:_4e,ping_pong:b4e,badminton:y4e,boxing_glove:v4e,martial_arts_uniform:w4e,goal_net:x4e,golf:k4e,ice_skate:E4e,fishing_pole_and_fish:C4e,diving_mask:A4e,running_shirt_with_sash:S4e,ski:T4e,sled:O4e,curling_stone:M4e,dart:R4e,yo_yo:N4e,kite:D4e,"8ball":"🎱",crystal_ball:L4e,magic_wand:I4e,nazar_amulet:P4e,video_game:F4e,joystick:B4e,slot_machine:j4e,game_die:z4e,jigsaw:$4e,teddy_bear:q4e,pinata:U4e,nesting_dolls:H4e,spades:V4e,hearts:G4e,diamonds:K4e,clubs:W4e,chess_pawn:Z4e,black_joker:Y4e,mahjong:Q4e,flower_playing_cards:J4e,performing_arts:X4e,framed_picture:eAe,art:tAe,thread:nAe,sewing_needle:sAe,yarn:oAe,knot:rAe,eyeglasses:iAe,dark_sunglasses:aAe,goggles:lAe,lab_coat:cAe,safety_vest:uAe,necktie:dAe,shirt:fAe,tshirt:hAe,jeans:pAe,scarf:gAe,gloves:mAe,coat:_Ae,socks:bAe,dress:yAe,kimono:vAe,sari:wAe,one_piece_swimsuit:xAe,swim_brief:kAe,shorts:EAe,bikini:CAe,womans_clothes:AAe,purse:SAe,handbag:TAe,pouch:OAe,shopping:MAe,school_satchel:RAe,thong_sandal:NAe,mans_shoe:DAe,shoe:LAe,athletic_shoe:IAe,hiking_boot:PAe,flat_shoe:FAe,high_heel:BAe,sandal:jAe,ballet_shoes:zAe,boot:$Ae,crown:qAe,womans_hat:UAe,tophat:HAe,mortar_board:VAe,billed_cap:GAe,military_helmet:KAe,rescue_worker_helmet:WAe,prayer_beads:ZAe,lipstick:YAe,ring:QAe,gem:JAe,mute:XAe,speaker:e3e,sound:t3e,loud_sound:n3e,loudspeaker:s3e,mega:o3e,postal_horn:r3e,bell:i3e,no_bell:a3e,musical_score:l3e,musical_note:c3e,notes:u3e,studio_microphone:d3e,level_slider:f3e,control_knobs:h3e,microphone:p3e,headphones:g3e,radio:m3e,saxophone:_3e,accordion:b3e,guitar:y3e,musical_keyboard:v3e,trumpet:w3e,violin:x3e,banjo:k3e,drum:E3e,long_drum:C3e,iphone:A3e,calling:S3e,phone:T3e,telephone:O3e,telephone_receiver:M3e,pager:R3e,fax:N3e,battery:D3e,electric_plug:L3e,computer:I3e,desktop_computer:P3e,printer:F3e,keyboard:B3e,computer_mouse:j3e,trackball:z3e,minidisc:$3e,floppy_disk:q3e,cd:U3e,dvd:H3e,abacus:V3e,movie_camera:G3e,film_strip:K3e,film_projector:W3e,clapper:Z3e,tv:Y3e,camera:Q3e,camera_flash:J3e,video_camera:X3e,vhs:eSe,mag:tSe,mag_right:nSe,candle:sSe,bulb:oSe,flashlight:rSe,izakaya_lantern:iSe,lantern:aSe,diya_lamp:lSe,notebook_with_decorative_cover:cSe,closed_book:uSe,book:dSe,open_book:fSe,green_book:hSe,blue_book:pSe,orange_book:gSe,books:mSe,notebook:_Se,ledger:bSe,page_with_curl:ySe,scroll:vSe,page_facing_up:wSe,newspaper:xSe,newspaper_roll:kSe,bookmark_tabs:ESe,bookmark:CSe,label:ASe,moneybag:SSe,coin:TSe,yen:OSe,dollar:MSe,euro:RSe,pound:NSe,money_with_wings:DSe,credit_card:LSe,receipt:ISe,chart:PSe,envelope:FSe,email:BSe,"e-mail":"📧",incoming_envelope:jSe,envelope_with_arrow:zSe,outbox_tray:$Se,inbox_tray:qSe,package:"📦",mailbox:USe,mailbox_closed:HSe,mailbox_with_mail:VSe,mailbox_with_no_mail:GSe,postbox:KSe,ballot_box:WSe,pencil2:ZSe,black_nib:YSe,fountain_pen:QSe,pen:JSe,paintbrush:XSe,crayon:eTe,memo:tTe,pencil:nTe,briefcase:sTe,file_folder:oTe,open_file_folder:rTe,card_index_dividers:iTe,date:aTe,calendar:lTe,spiral_notepad:cTe,spiral_calendar:uTe,card_index:dTe,chart_with_upwards_trend:fTe,chart_with_downwards_trend:hTe,bar_chart:pTe,clipboard:gTe,pushpin:mTe,round_pushpin:_Te,paperclip:bTe,paperclips:yTe,straight_ruler:vTe,triangular_ruler:wTe,scissors:xTe,card_file_box:kTe,file_cabinet:ETe,wastebasket:CTe,lock:ATe,unlock:STe,lock_with_ink_pen:TTe,closed_lock_with_key:OTe,key:MTe,old_key:RTe,hammer:NTe,axe:DTe,pick:LTe,hammer_and_pick:ITe,hammer_and_wrench:PTe,dagger:FTe,crossed_swords:BTe,gun:jTe,boomerang:zTe,bow_and_arrow:$Te,shield:qTe,carpentry_saw:UTe,wrench:HTe,screwdriver:VTe,nut_and_bolt:GTe,gear:KTe,clamp:WTe,balance_scale:ZTe,probing_cane:YTe,link:QTe,chains:JTe,hook:XTe,toolbox:e8e,magnet:t8e,ladder:n8e,alembic:s8e,test_tube:o8e,petri_dish:r8e,dna:i8e,microscope:a8e,telescope:l8e,satellite:c8e,syringe:u8e,drop_of_blood:d8e,pill:f8e,adhesive_bandage:h8e,stethoscope:p8e,door:g8e,elevator:m8e,mirror:_8e,window:b8e,bed:y8e,couch_and_lamp:v8e,chair:w8e,toilet:x8e,plunger:k8e,shower:E8e,bathtub:C8e,mouse_trap:A8e,razor:S8e,lotion_bottle:T8e,safety_pin:O8e,broom:M8e,basket:R8e,roll_of_paper:N8e,bucket:D8e,soap:L8e,toothbrush:I8e,sponge:P8e,fire_extinguisher:F8e,shopping_cart:B8e,smoking:j8e,coffin:z8e,headstone:$8e,funeral_urn:q8e,moyai:U8e,placard:H8e,atm:V8e,put_litter_in_its_place:G8e,potable_water:K8e,wheelchair:W8e,mens:Z8e,womens:Y8e,restroom:Q8e,baby_symbol:J8e,wc:X8e,passport_control:e9e,customs:t9e,baggage_claim:n9e,left_luggage:s9e,warning:o9e,children_crossing:r9e,no_entry:i9e,no_entry_sign:a9e,no_bicycles:l9e,no_smoking:c9e,do_not_litter:u9e,"non-potable_water":"🚱",no_pedestrians:d9e,no_mobile_phones:f9e,underage:h9e,radioactive:p9e,biohazard:g9e,arrow_up:m9e,arrow_upper_right:_9e,arrow_right:b9e,arrow_lower_right:y9e,arrow_down:v9e,arrow_lower_left:w9e,arrow_left:x9e,arrow_upper_left:k9e,arrow_up_down:E9e,left_right_arrow:C9e,leftwards_arrow_with_hook:A9e,arrow_right_hook:S9e,arrow_heading_up:T9e,arrow_heading_down:O9e,arrows_clockwise:M9e,arrows_counterclockwise:R9e,back:N9e,end:D9e,on:L9e,soon:I9e,top:P9e,place_of_worship:F9e,atom_symbol:B9e,om:j9e,star_of_david:z9e,wheel_of_dharma:$9e,yin_yang:q9e,latin_cross:U9e,orthodox_cross:H9e,star_and_crescent:V9e,peace_symbol:G9e,menorah:K9e,six_pointed_star:W9e,aries:Z9e,taurus:Y9e,gemini:Q9e,cancer:J9e,leo:X9e,virgo:e6e,libra:t6e,scorpius:n6e,sagittarius:s6e,capricorn:o6e,aquarius:r6e,pisces:i6e,ophiuchus:a6e,twisted_rightwards_arrows:l6e,repeat:c6e,repeat_one:u6e,arrow_forward:d6e,fast_forward:f6e,next_track_button:h6e,play_or_pause_button:p6e,arrow_backward:g6e,rewind:m6e,previous_track_button:_6e,arrow_up_small:b6e,arrow_double_up:y6e,arrow_down_small:v6e,arrow_double_down:w6e,pause_button:x6e,stop_button:k6e,record_button:E6e,eject_button:C6e,cinema:A6e,low_brightness:S6e,high_brightness:T6e,signal_strength:O6e,vibration_mode:M6e,mobile_phone_off:R6e,female_sign:N6e,male_sign:D6e,transgender_symbol:L6e,heavy_multiplication_x:I6e,heavy_plus_sign:P6e,heavy_minus_sign:F6e,heavy_division_sign:B6e,infinity:j6e,bangbang:z6e,interrobang:$6e,question:q6e,grey_question:U6e,grey_exclamation:H6e,exclamation:V6e,heavy_exclamation_mark:G6e,wavy_dash:K6e,currency_exchange:W6e,heavy_dollar_sign:Z6e,medical_symbol:Y6e,recycle:Q6e,fleur_de_lis:J6e,trident:X6e,name_badge:eOe,beginner:tOe,o:nOe,white_check_mark:sOe,ballot_box_with_check:oOe,heavy_check_mark:rOe,x:iOe,negative_squared_cross_mark:aOe,curly_loop:lOe,loop:cOe,part_alternation_mark:uOe,eight_spoked_asterisk:dOe,eight_pointed_black_star:fOe,sparkle:hOe,copyright:pOe,registered:gOe,tm:mOe,hash:_Oe,asterisk:bOe,zero:yOe,one:vOe,two:wOe,three:xOe,four:kOe,five:EOe,six:COe,seven:AOe,eight:SOe,nine:TOe,keycap_ten:OOe,capital_abcd:MOe,abcd:ROe,symbols:NOe,abc:DOe,a:LOe,ab:IOe,b:POe,cl:FOe,cool:BOe,free:jOe,information_source:zOe,id:$Oe,m:qOe,new:"🆕",ng:UOe,o2:HOe,ok:VOe,parking:GOe,sos:KOe,up:WOe,vs:ZOe,koko:YOe,sa:QOe,ideograph_advantage:JOe,accept:XOe,congratulations:eMe,secret:tMe,u6e80:nMe,red_circle:sMe,orange_circle:oMe,yellow_circle:rMe,green_circle:iMe,large_blue_circle:aMe,purple_circle:lMe,brown_circle:cMe,black_circle:uMe,white_circle:dMe,red_square:fMe,orange_square:hMe,yellow_square:pMe,green_square:gMe,blue_square:mMe,purple_square:_Me,brown_square:bMe,black_large_square:yMe,white_large_square:vMe,black_medium_square:wMe,white_medium_square:xMe,black_medium_small_square:kMe,white_medium_small_square:EMe,black_small_square:CMe,white_small_square:AMe,large_orange_diamond:SMe,large_blue_diamond:TMe,small_orange_diamond:OMe,small_blue_diamond:MMe,small_red_triangle:RMe,small_red_triangle_down:NMe,diamond_shape_with_a_dot_inside:DMe,radio_button:LMe,white_square_button:IMe,black_square_button:PMe,checkered_flag:FMe,triangular_flag_on_post:BMe,crossed_flags:jMe,black_flag:zMe,white_flag:$Me,rainbow_flag:qMe,transgender_flag:UMe,pirate_flag:HMe,ascension_island:VMe,andorra:GMe,united_arab_emirates:KMe,afghanistan:WMe,antigua_barbuda:ZMe,anguilla:YMe,albania:QMe,armenia:JMe,angola:XMe,antarctica:eRe,argentina:tRe,american_samoa:nRe,austria:sRe,australia:oRe,aruba:rRe,aland_islands:iRe,azerbaijan:aRe,bosnia_herzegovina:lRe,barbados:cRe,bangladesh:uRe,belgium:dRe,burkina_faso:fRe,bulgaria:hRe,bahrain:pRe,burundi:gRe,benin:mRe,st_barthelemy:_Re,bermuda:bRe,brunei:yRe,bolivia:vRe,caribbean_netherlands:wRe,brazil:xRe,bahamas:kRe,bhutan:ERe,bouvet_island:CRe,botswana:ARe,belarus:SRe,belize:TRe,canada:ORe,cocos_islands:MRe,congo_kinshasa:RRe,central_african_republic:NRe,congo_brazzaville:DRe,switzerland:LRe,cote_divoire:IRe,cook_islands:PRe,chile:FRe,cameroon:BRe,cn:jRe,colombia:zRe,clipperton_island:$Re,costa_rica:qRe,cuba:URe,cape_verde:HRe,curacao:VRe,christmas_island:GRe,cyprus:KRe,czech_republic:WRe,de:ZRe,diego_garcia:YRe,djibouti:QRe,denmark:JRe,dominica:XRe,dominican_republic:e7e,algeria:t7e,ceuta_melilla:n7e,ecuador:s7e,estonia:o7e,egypt:r7e,western_sahara:i7e,eritrea:a7e,es:l7e,ethiopia:c7e,eu:u7e,european_union:d7e,finland:f7e,fiji:h7e,falkland_islands:p7e,micronesia:g7e,faroe_islands:m7e,fr:_7e,gabon:b7e,gb:y7e,uk:v7e,grenada:w7e,georgia:x7e,french_guiana:k7e,guernsey:E7e,ghana:C7e,gibraltar:A7e,greenland:S7e,gambia:T7e,guinea:O7e,guadeloupe:M7e,equatorial_guinea:R7e,greece:N7e,south_georgia_south_sandwich_islands:D7e,guatemala:L7e,guam:I7e,guinea_bissau:P7e,guyana:F7e,hong_kong:B7e,heard_mcdonald_islands:j7e,honduras:z7e,croatia:$7e,haiti:q7e,hungary:U7e,canary_islands:H7e,indonesia:V7e,ireland:G7e,israel:K7e,isle_of_man:W7e,india:Z7e,british_indian_ocean_territory:Y7e,iraq:Q7e,iran:J7e,iceland:X7e,it:eNe,jersey:tNe,jamaica:nNe,jordan:sNe,jp:oNe,kenya:rNe,kyrgyzstan:iNe,cambodia:aNe,kiribati:lNe,comoros:cNe,st_kitts_nevis:uNe,north_korea:dNe,kr:fNe,kuwait:hNe,cayman_islands:pNe,kazakhstan:gNe,laos:mNe,lebanon:_Ne,st_lucia:bNe,liechtenstein:yNe,sri_lanka:vNe,liberia:wNe,lesotho:xNe,lithuania:kNe,luxembourg:ENe,latvia:CNe,libya:ANe,morocco:SNe,monaco:TNe,moldova:ONe,montenegro:MNe,st_martin:RNe,madagascar:NNe,marshall_islands:DNe,macedonia:LNe,mali:INe,myanmar:PNe,mongolia:FNe,macau:BNe,northern_mariana_islands:jNe,martinique:zNe,mauritania:$Ne,montserrat:qNe,malta:UNe,mauritius:HNe,maldives:VNe,malawi:GNe,mexico:KNe,malaysia:WNe,mozambique:ZNe,namibia:YNe,new_caledonia:QNe,niger:JNe,norfolk_island:XNe,nigeria:eDe,nicaragua:tDe,netherlands:nDe,norway:sDe,nepal:oDe,nauru:rDe,niue:iDe,new_zealand:aDe,oman:lDe,panama:cDe,peru:uDe,french_polynesia:dDe,papua_new_guinea:fDe,philippines:hDe,pakistan:pDe,poland:gDe,st_pierre_miquelon:mDe,pitcairn_islands:_De,puerto_rico:bDe,palestinian_territories:yDe,portugal:vDe,palau:wDe,paraguay:xDe,qatar:kDe,reunion:EDe,romania:CDe,serbia:ADe,ru:SDe,rwanda:TDe,saudi_arabia:ODe,solomon_islands:MDe,seychelles:RDe,sudan:NDe,sweden:DDe,singapore:LDe,st_helena:IDe,slovenia:PDe,svalbard_jan_mayen:FDe,slovakia:BDe,sierra_leone:jDe,san_marino:zDe,senegal:$De,somalia:qDe,suriname:UDe,south_sudan:HDe,sao_tome_principe:VDe,el_salvador:GDe,sint_maarten:KDe,syria:WDe,swaziland:ZDe,tristan_da_cunha:YDe,turks_caicos_islands:QDe,chad:JDe,french_southern_territories:XDe,togo:eLe,thailand:tLe,tajikistan:nLe,tokelau:sLe,timor_leste:oLe,turkmenistan:rLe,tunisia:iLe,tonga:aLe,tr:lLe,trinidad_tobago:cLe,tuvalu:uLe,taiwan:dLe,tanzania:fLe,ukraine:hLe,uganda:pLe,us_outlying_islands:gLe,united_nations:mLe,us:_Le,uruguay:bLe,uzbekistan:yLe,vatican_city:vLe,st_vincent_grenadines:wLe,venezuela:xLe,british_virgin_islands:kLe,us_virgin_islands:ELe,vietnam:CLe,vanuatu:ALe,wallis_futuna:SLe,samoa:TLe,kosovo:OLe,yemen:MLe,mayotte:RLe,south_africa:NLe,zambia:DLe,zimbabwe:LLe,england:ILe,scotland:PLe,wales:FLe};var jLe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(b[_-1])||_+v.lengthp&&(g=new h("text","",0),g.content=u.slice(p,_),m.push(g)),g=new h("emoji","",0),g.markup=x,g.content=n[x],m.push(g),p=_+v.length}),p=0;h--)v=m[h],(v.type==="link_open"||v.type==="link_close")&&v.info==="auto"&&(b-=v.nesting),v.type==="text"&&b===0&&o.test(v.content)&&(_[g].children=m=i(m,h,c(v.content,v.level,f.Token)))}};function qLe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var ULe=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,c){return e.enabled.indexOf(c)>=0&&(l[c]=n[c]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,c){return n[c]?Array.isArray(e.shortcuts[c])?(e.shortcuts[c].forEach(function(u){l[u]=c}),l):(l[e.shortcuts[c]]=c,l):l},{});var o=Object.keys(n),r;o.length===0?r="^$":r=o.map(function(l){return":"+l+":"}).concat(Object.keys(s)).sort().reverse().map(function(l){return qLe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},HLe=zLe,VLe=$Le,GLe=ULe,KLe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=GLe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=HLe,e.core.ruler.after("linkify","emoji",VLe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},WLe=BLe,ZLe=jLe,YLe=KLe,QLe=function(e,n){var s={defs:WLe,shortcuts:ZLe,enabled:[]},o=e.utils.assign({},s,n||{});YLe(e,o)};const JLe=ts(QLe);var kd=!1,As={false:"push",true:"unshift",after:"push",before:"unshift"},kr={isPermalinkSymbol:!0};function il(t,e,n,s){var o;if(!kd){var r="Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks";typeof process=="object"&&process&&process.emitWarning?process.emitWarning(r):console.warn(r),kd=!0}var i=[Object.assign(new n.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(t,n)]],Object.entries(e.permalinkAttrs(t,n)))}),Object.assign(new n.Token("html_block","",0),{content:e.permalinkSymbol,meta:kr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[As[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[As[e.permalinkBefore]].apply(o,i)}function mg(t){return"#"+t}function _g(t){return{}}var XLe={class:"header-anchor",symbol:"#",renderHref:mg,renderAttrs:_g};function Do(t){function e(n){return n=Object.assign({},e.defaults,n),function(s,o,r,i){return t(s,n,o,r,i)}}return e.defaults=Object.assign({},XLe),e.renderPermalinkImpl=t,e}var fi=Do(function(t,e,n,s,o){var r,i=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(t,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:kr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[As[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[As[e.placement]].apply(r,i)});Object.assign(fi.defaults,{space:!0,placement:"after",ariaHidden:!1});var Pn=Do(fi.renderPermalinkImpl);Pn.defaults=Object.assign({},fi.defaults,{ariaHidden:!0});var bg=Do(function(t,e,n,s,o){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],Object.entries(e.renderAttrs(t,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[o+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[o+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(bg.defaults,{safariReaderFix:!1});var Ed=Do(function(t,e,n,s,o){var r;if(!["visually-hidden","aria-label","aria-describedby","aria-labelledby"].includes(e.style))throw new Error("`permalink.linkAfterHeader` called with unknown style option `"+e.style+"`");if(!["aria-describedby","aria-labelledby"].includes(e.style)&&!e.assistiveText)throw new Error("`permalink.linkAfterHeader` called without the `assistiveText` option in `"+e.style+"` style");if(e.style==="visually-hidden"&&!e.visuallyHiddenClass)throw new Error("`permalink.linkAfterHeader` called without the `visuallyHiddenClass` option in `visually-hidden` style");var i=s.tokens[o+1].children.filter(function(f){return f.type==="text"||f.type==="code_inline"}).reduce(function(f,h){return f+h.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(t,s)]),l.push.apply(l,Object.entries(e.renderAttrs(t,s))),e.style==="visually-hidden"){if(a.push(Object.assign(new s.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new s.Token("text","",0),{content:e.assistiveText(i)}),new s.Token("span_close","span",-1)),e.space){var c=typeof e.space=="string"?e.space:" ";a[As[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[As[e.placement]](Object.assign(new s.Token("span_open","span",1),{attrs:[["aria-hidden","true"]]}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:kr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:kr}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(i)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,t]);var u=[Object.assign(new s.Token("link_open","a",1),{attrs:l})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[o+3,0].concat(u)),e.wrapper&&(s.tokens.splice(o,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+` -`})),s.tokens.splice(o+3+u.length+1,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[1]+` -`})))});function Cd(t,e,n,s){var o=t,r=s;if(n&&Object.prototype.hasOwnProperty.call(e,o))throw new Error("User defined `id` attribute `"+t+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,o);)o=t+"-"+r,r+=1;return e[o]=!0,o}function us(t,e){e=Object.assign({},us.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(f){return s.includes(f)}):function(f){return function(h){return h>=f}}(e.level),a=0;ah.match(f))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&u.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const tIe=ts(eIe);function yg(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],s=typeof n;(s==="object"||s==="function")&&!Object.isFrozen(n)&&yg(n)}),t}class Ad{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function vg(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function En(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const nIe="",Sd=t=>!!t.scope,sIe=(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((s,o)=>`${s}${"_".repeat(o+1)}`)].join(" ")}return`${e}${t}`};class oIe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=vg(e)}openNode(e){if(!Sd(e))return;const n=sIe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Sd(e)&&(this.buffer+=nIe)}value(){return this.buffer}span(e){this.buffer+=``}}const Td=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class rc{constructor(){this.rootNode=Td(),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=Td({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(s=>this._walk(e,s)),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=>{rc._collapse(n)}))}}class rIe extends rc{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const s=e.root;n&&(s.scope=`language:${n}`),this.add(s)}toHTML(){return new oIe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function xo(t){return t?typeof t=="string"?t:t.source:null}function wg(t){return ns("(?=",t,")")}function iIe(t){return ns("(?:",t,")*")}function aIe(t){return ns("(?:",t,")?")}function ns(...t){return t.map(n=>xo(n)).join("")}function lIe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function ic(...t){return"("+(lIe(t).capture?"":"?:")+t.map(s=>xo(s)).join("|")+")"}function xg(t){return new RegExp(t.toString()+"|").exec("").length-1}function cIe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const uIe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ac(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=xo(s),i="";for(;r.length>0;){const a=uIe.exec(r);if(!a){i+=r;break}i+=r.substring(0,a.index),r=r.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?i+="\\"+String(Number(a[1])+o):(i+=a[0],a[0]==="("&&n++)}return i}).map(s=>`(${s})`).join(e)}const dIe=/\b\B/,kg="[a-zA-Z]\\w*",lc="[a-zA-Z_]\\w*",Eg="\\b\\d+(\\.\\d+)?",Cg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ag="\\b(0b[01]+)",fIe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",hIe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ns(e,/.*\b/,t.binary,/\b.*/)),En({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},ko={begin:"\\\\[\\s\\S]",relevance:0},pIe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ko]},gIe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ko]},mIe={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/},hi=function(t,e,n={}){const s=En({scope:"comment",begin:t,end:e,contains:[]},n);s.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 o=ic("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 s.contains.push({begin:ns(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},_Ie=hi("//","$"),bIe=hi("/\\*","\\*/"),yIe=hi("#","$"),vIe={scope:"number",begin:Eg,relevance:0},wIe={scope:"number",begin:Cg,relevance:0},xIe={scope:"number",begin:Ag,relevance:0},kIe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[ko,{begin:/\[/,end:/\]/,relevance:0,contains:[ko]}]}]},EIe={scope:"title",begin:kg,relevance:0},CIe={scope:"title",begin:lc,relevance:0},AIe={begin:"\\.\\s*"+lc,relevance:0},SIe=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()}})};var Ko=Object.freeze({__proto__:null,MATCH_NOTHING_RE:dIe,IDENT_RE:kg,UNDERSCORE_IDENT_RE:lc,NUMBER_RE:Eg,C_NUMBER_RE:Cg,BINARY_NUMBER_RE:Ag,RE_STARTERS_RE:fIe,SHEBANG:hIe,BACKSLASH_ESCAPE:ko,APOS_STRING_MODE:pIe,QUOTE_STRING_MODE:gIe,PHRASAL_WORDS_MODE:mIe,COMMENT:hi,C_LINE_COMMENT_MODE:_Ie,C_BLOCK_COMMENT_MODE:bIe,HASH_COMMENT_MODE:yIe,NUMBER_MODE:vIe,C_NUMBER_MODE:wIe,BINARY_NUMBER_MODE:xIe,REGEXP_MODE:kIe,TITLE_MODE:EIe,UNDERSCORE_TITLE_MODE:CIe,METHOD_GUARD:AIe,END_SAME_AS_BEGIN:SIe});function TIe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function OIe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function MIe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=TIe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function RIe(t,e){Array.isArray(t.illegal)&&(t.illegal=ic(...t.illegal))}function NIe(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 DIe(t,e){t.relevance===void 0&&(t.relevance=1)}const LIe=(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(s=>{delete t[s]}),t.keywords=n.keywords,t.begin=ns(n.beforeMatch,wg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},IIe=["of","and","for","in","not","or","if","then","parent","list","value"],PIe="keyword";function Sg(t,e,n=PIe){const s=Object.create(null);return typeof t=="string"?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach(function(r){Object.assign(s,Sg(t[r],e,r))}),s;function o(r,i){e&&(i=i.map(a=>a.toLowerCase())),i.forEach(function(a){const l=a.split("|");s[l[0]]=[r,FIe(l[0],l[1])]})}}function FIe(t,e){return e?Number(e):BIe(t)?0:1}function BIe(t){return IIe.includes(t.toLowerCase())}const Od={},Wn=t=>{console.error(t)},Md=(t,...e)=>{console.log(`WARN: ${t}`,...e)},as=(t,e)=>{Od[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Od[`${t}/${e}`]=!0)},Er=new Error;function Tg(t,e,{key:n}){let s=0;const o=t[n],r={},i={};for(let a=1;a<=e.length;a++)i[a+s]=o[a],r[a+s]=!0,s+=xg(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function jIe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Wn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Er;if(typeof t.beginScope!="object"||t.beginScope===null)throw Wn("beginScope must be object"),Er;Tg(t,t.begin,{key:"beginScope"}),t.begin=ac(t.begin,{joinWith:""})}}function zIe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Wn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Er;if(typeof t.endScope!="object"||t.endScope===null)throw Wn("endScope must be object"),Er;Tg(t,t.end,{key:"endScope"}),t.end=ac(t.end,{joinWith:""})}}function $Ie(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function qIe(t){$Ie(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),jIe(t),zIe(t)}function UIe(t){function e(i,a){return new RegExp(xo(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=xg(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(ac(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((f,h)=>h>0&&f!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[OIe,NIe,qIe,LIe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[MIe,RIe,DIe].forEach(u=>u(i,a)),i.isCompiled=!0;let c=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),c=i.keywords.$pattern,delete i.keywords.$pattern),c=c||/\w+/,i.keywords&&(i.keywords=Sg(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=xo(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(u){return HIe(u==="self"?i:u)})),i.contains.forEach(function(u){r(u,l)}),i.starts&&r(i.starts,a),l.matcher=o(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=En(t.classNameAliases||{}),r(t)}function Og(t){return t?t.endsWithParent||Og(t.starts):!1}function HIe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return En(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Og(t)?En(t,{starts:t.starts?En(t.starts):null}):Object.isFrozen(t)?En(t):t}var VIe="11.8.0";class GIe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Ki=vg,Rd=En,Nd=Symbol("nomatch"),KIe=7,Mg=function(t){const e=Object.create(null),n=Object.create(null),s=[];let o=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:rIe};function l(A){return a.noHighlightRe.test(A)}function c(A){let q=A.className+" ";q+=A.parentNode?A.parentNode.className:"";const V=a.languageDetectRe.exec(q);if(V){const me=k(V[1]);return me||(Md(r.replace("{}",V[1])),Md("Falling back to no-highlight mode for this block.",A)),me?V[1]:"no-highlight"}return q.split(/\s+/).find(me=>l(me)||k(me))}function u(A,q,V){let me="",pe="";typeof q=="object"?(me=A,V=q.ignoreIllegals,pe=q.language):(as("10.7.0","highlight(lang, code, ...args) has been deprecated."),as("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),pe=A,me=q),V===void 0&&(V=!0);const X={code:me,language:pe};ae("before:highlight",X);const _e=X.result?X.result:f(X.language,X.code,V);return _e.code=X.code,ae("after:highlight",_e),_e}function f(A,q,V,me){const pe=Object.create(null);function X(K,oe){return K.keywords[oe]}function _e(){if(!z.keywords){$.addText(Z);return}let K=0;z.keywordPatternRe.lastIndex=0;let oe=z.keywordPatternRe.exec(Z),he="";for(;oe;){he+=Z.substring(K,oe.index);const xe=j.case_insensitive?oe[0].toLowerCase():oe[0],Le=X(z,xe);if(Le){const[Ue,Ne]=Le;if($.addText(he),he="",pe[xe]=(pe[xe]||0)+1,pe[xe]<=KIe&&(ie+=Ne),Ue.startsWith("_"))he+=oe[0];else{const Ze=j.classNameAliases[Ue]||Ue;Q(oe[0],Ze)}}else he+=oe[0];K=z.keywordPatternRe.lastIndex,oe=z.keywordPatternRe.exec(Z)}he+=Z.substring(K),$.addText(he)}function we(){if(Z==="")return;let K=null;if(typeof z.subLanguage=="string"){if(!e[z.subLanguage]){$.addText(Z);return}K=f(z.subLanguage,Z,!0,se[z.subLanguage]),se[z.subLanguage]=K._top}else K=g(Z,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&(ie+=K.relevance),$.__addSublanguage(K._emitter,K.language)}function N(){z.subLanguage!=null?we():_e(),Z=""}function Q(K,oe){K!==""&&($.startScope(oe),$.addText(K),$.endScope())}function H(K,oe){let he=1;const xe=oe.length-1;for(;he<=xe;){if(!K._emit[he]){he++;continue}const Le=j.classNameAliases[K[he]]||K[he],Ue=oe[he];Le?Q(Ue,Le):(Z=Ue,_e(),Z=""),he++}}function ee(K,oe){return K.scope&&typeof K.scope=="string"&&$.openNode(j.classNameAliases[K.scope]||K.scope),K.beginScope&&(K.beginScope._wrap?(Q(Z,j.classNameAliases[K.beginScope._wrap]||K.beginScope._wrap),Z=""):K.beginScope._multi&&(H(K.beginScope,oe),Z="")),z=Object.create(K,{parent:{value:z}}),z}function J(K,oe,he){let xe=cIe(K.endRe,he);if(xe){if(K["on:end"]){const Le=new Ad(K);K["on:end"](oe,Le),Le.isMatchIgnored&&(xe=!1)}if(xe){for(;K.endsParent&&K.parent;)K=K.parent;return K}}if(K.endsWithParent)return J(K.parent,oe,he)}function fe(K){return z.matcher.regexIndex===0?(Z+=K[0],1):(ye=!0,0)}function le(K){const oe=K[0],he=K.rule,xe=new Ad(he),Le=[he.__beforeBegin,he["on:begin"]];for(const Ue of Le)if(Ue&&(Ue(K,xe),xe.isMatchIgnored))return fe(oe);return he.skip?Z+=oe:(he.excludeBegin&&(Z+=oe),N(),!he.returnBegin&&!he.excludeBegin&&(Z=oe)),ee(he,K),he.returnBegin?0:oe.length}function w(K){const oe=K[0],he=q.substring(K.index),xe=J(z,K,he);if(!xe)return Nd;const Le=z;z.endScope&&z.endScope._wrap?(N(),Q(oe,z.endScope._wrap)):z.endScope&&z.endScope._multi?(N(),H(z.endScope,K)):Le.skip?Z+=oe:(Le.returnEnd||Le.excludeEnd||(Z+=oe),N(),Le.excludeEnd&&(Z=oe));do z.scope&&$.closeNode(),!z.skip&&!z.subLanguage&&(ie+=z.relevance),z=z.parent;while(z!==xe.parent);return xe.starts&&ee(xe.starts,K),Le.returnEnd?0:oe.length}function E(){const K=[];for(let oe=z;oe!==j;oe=oe.parent)oe.scope&&K.unshift(oe.scope);K.forEach(oe=>$.openNode(oe))}let P={};function B(K,oe){const he=oe&&oe[0];if(Z+=K,he==null)return N(),0;if(P.type==="begin"&&oe.type==="end"&&P.index===oe.index&&he===""){if(Z+=q.slice(oe.index,oe.index+1),!o){const xe=new Error(`0 width match regex (${A})`);throw xe.languageName=A,xe.badRule=P.rule,xe}return 1}if(P=oe,oe.type==="begin")return le(oe);if(oe.type==="illegal"&&!V){const xe=new Error('Illegal lexeme "'+he+'" for mode "'+(z.scope||"")+'"');throw xe.mode=z,xe}else if(oe.type==="end"){const xe=w(oe);if(xe!==Nd)return xe}if(oe.type==="illegal"&&he==="")return 1;if(ce>1e5&&ce>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Z+=he,he.length}const j=k(A);if(!j)throw Wn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const te=UIe(j);let re="",z=me||te;const se={},$=new a.__emitter(a);E();let Z="",ie=0,de=0,ce=0,ye=!1;try{if(j.__emitTokens)j.__emitTokens(q,$);else{for(z.matcher.considerAll();;){ce++,ye?ye=!1:z.matcher.considerAll(),z.matcher.lastIndex=de;const K=z.matcher.exec(q);if(!K)break;const oe=q.substring(de,K.index),he=B(oe,K);de=K.index+he}B(q.substring(de))}return $.finalize(),re=$.toHTML(),{language:A,value:re,relevance:ie,illegal:!1,_emitter:$,_top:z}}catch(K){if(K.message&&K.message.includes("Illegal"))return{language:A,value:Ki(q),illegal:!0,relevance:0,_illegalBy:{message:K.message,index:de,context:q.slice(de-100,de+100),mode:K.mode,resultSoFar:re},_emitter:$};if(o)return{language:A,value:Ki(q),illegal:!1,relevance:0,errorRaised:K,_emitter:$,_top:z};throw K}}function h(A){const q={value:Ki(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return q._emitter.addText(A),q}function g(A,q){q=q||a.languages||Object.keys(e);const V=h(A),me=q.filter(k).filter(L).map(N=>f(N,A,!1));me.unshift(V);const pe=me.sort((N,Q)=>{if(N.relevance!==Q.relevance)return Q.relevance-N.relevance;if(N.language&&Q.language){if(k(N.language).supersetOf===Q.language)return 1;if(k(Q.language).supersetOf===N.language)return-1}return 0}),[X,_e]=pe,we=X;return we.secondBest=_e,we}function p(A,q,V){const me=q&&n[q]||V;A.classList.add("hljs"),A.classList.add(`language-${me}`)}function m(A){let q=null;const V=c(A);if(l(V))return;if(ae("before:highlightElement",{el:A,language:V}),A.children.length>0&&(a.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(A)),a.throwUnescapedHTML))throw new GIe("One of your code blocks includes unescaped HTML.",A.innerHTML);q=A;const me=q.textContent,pe=V?u(me,{language:V,ignoreIllegals:!0}):g(me);A.innerHTML=pe.value,p(A,V,pe.language),A.result={language:pe.language,re:pe.relevance,relevance:pe.relevance},pe.secondBest&&(A.secondBest={language:pe.secondBest.language,relevance:pe.secondBest.relevance}),ae("after:highlightElement",{el:A,result:pe,text:me})}function v(A){a=Rd(a,A)}const _=()=>{C(),as("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){C(),as("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function C(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function M(){x&&C()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",M,!1);function T(A,q){let V=null;try{V=q(t)}catch(me){if(Wn("Language definition for '{}' could not be registered.".replace("{}",A)),o)Wn(me);else throw me;V=i}V.name||(V.name=A),e[A]=V,V.rawDefinition=q.bind(null,t),V.aliases&&S(V.aliases,{languageName:A})}function D(A){delete e[A];for(const q of Object.keys(n))n[q]===A&&delete n[q]}function y(){return Object.keys(e)}function k(A){return A=(A||"").toLowerCase(),e[A]||e[n[A]]}function S(A,{languageName:q}){typeof A=="string"&&(A=[A]),A.forEach(V=>{n[V.toLowerCase()]=q})}function L(A){const q=k(A);return q&&!q.disableAutodetect}function F(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=q=>{A["before:highlightBlock"](Object.assign({block:q.el},q))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=q=>{A["after:highlightBlock"](Object.assign({block:q.el},q))})}function Y(A){F(A),s.push(A)}function I(A){const q=s.indexOf(A);q!==-1&&s.splice(q,1)}function ae(A,q){const V=A;s.forEach(function(me){me[V]&&me[V](q)})}function W(A){return as("10.7.0","highlightBlock will be removed entirely in v12.0"),as("10.7.0","Please use highlightElement now."),m(A)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:C,highlightElement:m,highlightBlock:W,configure:v,initHighlighting:_,initHighlightingOnLoad:b,registerLanguage:T,unregisterLanguage:D,listLanguages:y,getLanguage:k,registerAliases:S,autoDetection:L,inherit:Rd,addPlugin:Y,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=VIe,t.regex={concat:ns,lookahead:wg,either:ic,optional:aIe,anyNumberOfTimes:iIe};for(const A in Ko)typeof Ko[A]=="object"&&yg(Ko[A]);return Object.assign(t,Ko),t},Ss=Mg({});Ss.newInstance=()=>Mg({});var WIe=Ss;Ss.HighlightJS=Ss;Ss.default=Ss;var Wi,Dd;function ZIe(){if(Dd)return Wi;Dd=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:u}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return Wi=t,Wi}var Zi,Ld;function YIe(){if(Ld)return Zi;Ld=1;function t(e){const n=e.regex,s={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]};r.contains.push(a);const l={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=e.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],m=["true","false"],v={match:/(\/[a-z._-]+)+/},_=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],b=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],C=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:m,built_in:[..._,...b,"set","shopt",...x,...C]},contains:[h,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,v,a,l,c,s]}}return Zi=t,Zi}var Yi,Id;function QIe(){if(Id)return Yi;Id=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",_={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},b=[h,l,s,e.C_BLOCK_COMMENT_MODE,f,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:b.concat([{begin:/\(/,end:/\)/,keywords:_,contains:b.concat(["self"]),relevance:0}]),relevance:0},C={begin:"("+a+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,f,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:h,strings:u,keywords:_}}}return Yi=t,Yi}var Qi,Pd;function JIe(){if(Pd)return Qi;Pd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",m=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],v=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],_=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],M={type:v,keyword:m,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},T={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[T,h,l,s,e.C_BLOCK_COMMENT_MODE,f,u],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:M,contains:D.concat([{begin:/\(/,end:/\)/,keywords:M,contains:D.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+a+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:M,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:M,relevance:0},{begin:p,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,f,l,{begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:M,illegal:"",keywords:M,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:M},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return Qi=t,Qi}var Ji,Fd;function XIe(){if(Fd)return Ji;Fd=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],s=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],i=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:r.concat(i),built_in:n,literal:o},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},f=e.inherit(u,{illegal:/\n/}),h={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(h,{illegal:/\n/}),p={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},m={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]},v=e.inherit(m,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});h.contains=[m,p,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],g.contains=[v,p,f,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const _={variants:[m,p,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",C={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,b],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[_,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},C]}}return Ji=t,Ji}var Xi,Bd;function ePe(){if(Bd)return Xi;Bd=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=a.regex,c=t(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},f="and or not only",h=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",p=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,u,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+g,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...p,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:h},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return Xi=i,Xi}var ea,jd;function tPe(){if(jd)return ea;jd=1;function t(e){const n=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=e.inherit(u,{contains:[]}),g=e.inherit(f,{contains:[]});u.contains.push(g),f.contains.push(h);let p=[s,c];return[u,f,h,g].forEach(_=>{_.contains=_.contains.concat(p)}),p=p.concat(u,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},s,i,u,f,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},r,o,c,a]}}return ea=t,ea}var ta,zd;function nPe(){if(zd)return ta;zd=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return ta=t,ta}var na,$d;function sPe(){if($d)return na;$d=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],f={className:"subst",begin:/#\{/,end:/\}/,keywords:a},h={className:"string",contains:[e.BACKSLASH_ESCAPE,f],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,f]})]}]},g="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",m={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},v={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[h,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[v]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:s}],relevance:0},m,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,f],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,u),relevance:0}].concat(c,u);f.contains=D,v.contains=D;const y="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",S="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+y+"|"+k+"|"+S+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return u.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(L).concat(u).concat(D)}}return na=t,na}var sa,qd;function oPe(){if(qd)return sa;qd=1;function t(e){const i={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:i,illegal:"o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),p={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},m={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},v={className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:p,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[v,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:p,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[m,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,m]}}return ia=r,ia}var aa,Gd;function lPe(){if(Gd)return aa;Gd=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],n=["true","false","null","undefined","NaN","Infinity"],s=["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"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(c){const u=c.regex,f=(H,{after:ee})=>{const J="",end:""},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(H,ee)=>{const J=H[0].length+H.index,fe=H.input[J];if(fe==="<"||fe===","){ee.ignoreMatch();return}fe===">"&&(f(H,{after:J})||ee.ignoreMatch());let le;const w=H.input.substring(J);if(le=w.match(/^\s*=/)){ee.ignoreMatch();return}if((le=w.match(/^\s+extends\s+/))&&le.index===0){ee.ignoreMatch();return}}},v={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},_="[0-9](_?[0-9])*",b=`\\.(${_})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",C={className:"number",variants:[{begin:`(\\b(${x})((${b})|\\.)?|(${b}))[eE][+-]?(${_})\\b`},{begin:`\\b(${x})\\b((${b})\\b|\\.)?|(${b})\\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},M={className:"subst",begin:"\\$\\{",end:"\\}",keywords:v,contains:[]},T={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,M],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,M],subLanguage:"css"}},y={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,M],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,M]},L={className:"comment",variants:[c.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:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},F=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,T,D,y,k,{match:/\$\d+/},C];M.contains=F.concat({begin:/\{/,end:/\}/,keywords:v,contains:["self"].concat(F)});const Y=[].concat(L,M.contains),I=Y.concat([{begin:/\(/,end:/\)/,keywords:v,contains:["self"].concat(Y)}]),ae={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:I},W={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,u.concat(h,"(",u.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},A={relevance:0,match:u.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:{_:[...s,...o]}},q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},V={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ae],illegal:/%/},me={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function pe(H){return u.concat("(?!",H.join("|"),")")}const X={match:u.concat(/\b/,pe([...r,"super","import"]),h,u.lookahead(/\(/)),className:"title.function",relevance:0},_e={begin:u.concat(/\./,u.lookahead(u.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},we={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ae]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Q={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ae]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:v,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),q,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,T,D,y,k,L,{match:/\$\d+/},C,A,{className:"attr",begin:h+u.lookahead(":"),relevance:0},Q,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[L,c.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:p},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},V,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ae,c.inherit(c.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},_e,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ae]},X,me,W,we,{match:/\$[(.]/}]}}return aa=l,aa}var la,Kd;function cPe(){if(Kd)return la;Kd=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],r={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",keywords:{literal:o},contains:[n,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return la=t,la}var ca,Wd;function uPe(){if(Wd)return ca;Wd=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},f={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,c]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,c]}]};c.contains.push(f);const h={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(f,{className:"string"}),"self"]}]},p=s,m=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),v={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=v;return _.variants[1].contains=[v],v.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,m,a,l,h,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[v,r.C_LINE_COMMENT_MODE,m],relevance:0},r.C_LINE_COMMENT_MODE,m,h,g,f,r.C_NUMBER_MODE]},m]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},h,g]},f,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},p]}}return ca=o,ca}var ua,Zd;function dPe(){if(Zd)return ua;Zd=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),i=s.concat(o);function a(l){const c=t(l),u=i,f="and or not only",h="[\\w-]+",g="("+h+"|@\\{"+h+"\\})",p=[],m=[],v=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},_=function(L,F,Y){return{className:L,begin:F,relevance:Y}},b={$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:m,keywords:b,relevance:0};m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v("'"),v('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,x,_("variable","@@?"+h,10),_("variable","@\\{"+h+"\\}"),_("built_in","~?`[^`]*?`"),{className:"attribute",begin:h+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const C=m.concat({begin:/\{/,end:/\}/,contains:p}),M={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(m)},T={begin:g+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:m}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:m,relevance:0}},y={className:"variable",variants:[{begin:"@"+h+"\\s*:",relevance:15},{begin:"@"+h}],starts:{end:"[;}]",returnEnd:!0,contains:C}},k={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:g,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,M,_("keyword","all\\b"),_("variable","@\\{"+h+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,_("selector-tag",g,0),_("selector-id","#"+g),_("selector-class","\\."+g,0),_("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:C},{begin:"!important"},c.FUNCTION_DISPATCH]},S={begin:h+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[k]};return p.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,y,S,T,k,M,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:p}}return ua=a,ua}var da,Yd;function fPe(){if(Yd)return da;Yd=1;function t(e){const n="\\[=*\\[",s="\\]=*\\]",o={begin:n,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,s,{contains:[o],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:s,contains:[o],relevance:5}])}}return da=t,da}var fa,Qd;function hPe(){if(Qd)return fa;Qd=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,i,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(p,m,v="\\1")=>{const _=v==="\\1"?v:n.concat(v,m);return n.concat(n.concat("(?:",p,")"),m,/(?:\\.|[^\\\/])*?/,_,/(?:\\.|[^\\\/])*?/,v,o)},h=(p,m,v)=>n.concat(n.concat("(?:",p,")"),m,/(?:\\.|[^\\\/])*?/,v,o),g=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:f("s|tr|y",n.either(...u,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=g,a.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:g}}return ha=t,ha}var pa,Xd;function gPe(){if(Xd)return pa;Xd=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return pa=t,pa}var ga,ef;function mPe(){if(ef)return ga;ef=1;function t(e){const n=e.regex,s=/(?![A-Za-z0-9])(?![$])/,o=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),i={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),f={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(I,ae)=>{ae.data._beginMatch=I[1]||I[2]},"on:end":(I,ae)=>{ae.data._beginMatch!==I[1]&&ae.ignoreMatch()}},h=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[ -]`,p={scope:"string",variants:[u,c,f,h]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},v=["false","null","true"],_=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],C={keyword:_,literal:(I=>{const ae=[];return I.forEach(W=>{ae.push(W),W.toLowerCase()===W?ae.push(W.toUpperCase()):ae.push(W.toLowerCase())}),ae})(v),built_in:b},M=I=>I.map(ae=>ae.replace(/\|\d+$/,"")),T={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",M(b).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),y={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:C,contains:[k,i,y,e.C_BLOCK_COMMENT_MODE,p,m,T]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",M(_).join("\\b|"),"|",M(b).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(L);const F=[k,y,e.C_BLOCK_COMMENT_MODE,p,m,T],Y={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...F]},...F,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:C,contains:[Y,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},i,L,y,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},T,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:C,contains:["self",i,y,e.C_BLOCK_COMMENT_MODE,p,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,m]}}return ga=t,ga}var ma,tf;function _Pe(){if(tf)return ma;tf=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return ma=t,ma}var _a,nf;function bPe(){if(nf)return _a;nf=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return _a=t,_a}var ba,sf;function yPe(){if(sf)return ba;sf=1;function t(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},f={begin:/\{\{/,relevance:0},h={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,f,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,f,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",p=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,m=`\\b|${o.join("|")}`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${p}))[eE][+-]?(${g})[jJ]?(?=${m})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${g})[jJ](?=${m})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,v,h,e.HASH_COMMENT_MODE]}]};return u.contains=[h,v,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,v,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},h,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[v,b,h]}]}}return ba=t,ba}var ya,of;function vPe(){if(of)return ya;of=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return ya=t,ya}var va,rf;function wPe(){if(rf)return va;rf=1;function t(e){const n=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[i,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return va=t,va}var wa,af;function xPe(){if(af)return wa;af=1;function t(e){const n=e.regex,s={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],i=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:r,literal:i,built_in:a},illegal:""},s]}}return wa=t,wa}var xa,lf;function kPe(){if(lf)return xa;lf=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=t(a),c=o,u=s,f="@[a-z-]+",h="and or not only",p={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},p,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,p,l.HEXCOLOR,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:f,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:f,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},p,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return xa=i,xa}var ka,cf;function EPe(){if(cf)return ka;cf=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return ka=t,ka}var Ea,uf;function CPe(){if(uf)return Ea;uf=1;function t(e){const n=e.regex,s=e.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],f=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],h=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=f,m=[...u,...c].filter(C=>!f.includes(C)),v={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={begin:n.concat(/\b/,n.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function x(C,{exceptions:M,when:T}={}){const D=T;return M=M||[],C.map(y=>y.match(/\|\d+$/)||M.includes(y)?y:D(y)?`${y}|0`:y)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(m,{when:C=>C.length<3}),literal:i,type:l,built_in:h},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:m.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},b,v,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}return Ea=t,Ea}var Ca,df;function APe(){if(df)return Ca;df=1;function t(y){return y?typeof y=="string"?y:y.source:null}function e(y){return n("(?=",y,")")}function n(...y){return y.map(S=>t(S)).join("")}function s(y){const k=y[y.length-1];return typeof k=="object"&&k.constructor===Object?(y.splice(y.length-1,1),k):{}}function o(...y){return"("+(s(y).capture?"":"?:")+y.map(L=>t(L)).join("|")+")"}const r=y=>n(/\b/,y,/\w$/.test(y)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],f=["assignment","associativity","higherThan","left","lowerThan","none","right"],h=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],p=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),m=o(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),v=n(p,m,"*"),_=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),b=o(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(_,b,"*"),C=n(/[A-Z]/,b,"*"),M=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,x,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],T=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(y){const k={match:/\s+/,relevance:0},S=y.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[y.C_LINE_COMMENT_MODE,S],F={match:[/\./,o(...i,...a)],className:{2:"keyword"}},Y={match:n(/\./,o(...c)),relevance:0},I=c.filter(Ne=>typeof Ne=="string").concat(["_|0"]),ae=c.filter(Ne=>typeof Ne!="string").concat(l).map(r),W={variants:[{className:"keyword",match:o(...ae,...a)}]},A={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(h),literal:u},q=[F,Y,W],V={match:n(/\./,o(...g)),relevance:0},me={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},pe=[V,me],X={match:/->/,relevance:0},_e={className:"operator",relevance:0,variants:[{match:v},{match:`\\.(\\.|${m})+`}]},we=[X,_e],N="([0-9]_*)+",Q="([0-9a-fA-F]_*)+",H={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${Q})(\\.(${Q}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},ee=(Ne="")=>({className:"subst",variants:[{match:n(/\\/,Ne,/[0\\tnr"']/)},{match:n(/\\/,Ne,/u\{[0-9a-fA-F]{1,8}\}/)}]}),J=(Ne="")=>({className:"subst",match:n(/\\/,Ne,/[\t ]*(?:[\r\n]|\r\n)/)}),fe=(Ne="")=>({className:"subst",label:"interpol",begin:n(/\\/,Ne,/\(/),end:/\)/}),le=(Ne="")=>({begin:n(Ne,/"""/),end:n(/"""/,Ne),contains:[ee(Ne),J(Ne),fe(Ne)]}),w=(Ne="")=>({begin:n(Ne,/"/),end:n(/"/,Ne),contains:[ee(Ne),fe(Ne)]}),E={className:"string",variants:[le(),le("#"),le("##"),le("###"),w(),w("#"),w("##"),w("###")]},P={match:n(/`/,x,/`/)},B={className:"variable",match:/\$\d+/},j={className:"variable",match:`\\$${b}+`},te=[P,B,j],re={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:T,contains:[...we,H,E]}]}},z={className:"keyword",match:n(/@/,o(...M))},se={className:"meta",match:n(/@/,x)},$=[re,z,se],Z={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,b,"+")},{className:"type",match:C,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(C)),relevance:0}]},ie={begin://,keywords:A,contains:[...L,...q,...$,X,Z]};Z.contains.push(ie);const de={match:n(x,/\s*:/),keywords:"_|0",relevance:0},ce={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",de,...L,...q,...pe,...we,H,E,...te,...$,Z]},ye={begin://,contains:[...L,Z]},K={begin:o(e(n(x,/\s*:/)),e(n(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:x}]},oe={begin:/\(/,end:/\)/,keywords:A,contains:[K,...L,...q,...we,H,E,...$,Z,ce],endsParent:!0,illegal:/["']/},he={match:[/func/,/\s+/,o(P.match,x,v)],className:{1:"keyword",3:"title.function"},contains:[ye,oe,k],illegal:[/\[/,/%/]},xe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ye,oe,k],illegal:/\[|%/},Le={match:[/operator/,/\s+/,v],className:{1:"keyword",3:"title"}},Ue={begin:[/precedencegroup/,/\s+/,C],className:{1:"keyword",3:"title"},contains:[Z],keywords:[...f,...u],end:/}/};for(const Ne of E.variants){const Ze=Ne.contains.find(ot=>ot.label==="interpol");Ze.keywords=A;const Qe=[...q,...pe,...we,H,E,...te];Ze.contains=[...Qe,{begin:/\(/,end:/\)/,contains:["self",...Qe]}]}return{name:"Swift",keywords:A,contains:[...L,he,xe,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:A,contains:[y.inherit(y.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...q]},Le,Ue,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...q,...pe,...we,H,E,...te,...$,Z,ce]}}return Ca=D,Ca}var Aa,ff;function SPe(){if(ff)return Aa;ff=1;function t(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",f="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",h={className:"number",begin:"\\b"+l+c+u+f+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},p={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},v=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},h,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},p,m,i],_=[...v];return _.pop(),_.push(a),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return Aa=t,Aa}var Sa,hf;function TPe(){if(hf)return Sa;hf=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],n=["true","false","null","undefined","NaN","Infinity"],s=["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"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(u){const f=u.regex,h=(ee,{after:J})=>{const fe="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ee,J)=>{const fe=ee[0].length+ee.index,le=ee.input[fe];if(le==="<"||le===","){J.ignoreMatch();return}le===">"&&(h(ee,{after:fe})||J.ignoreMatch());let w;const E=ee.input.substring(fe);if(w=E.match(/^\s*=/)){J.ignoreMatch();return}if((w=E.match(/^\s+extends\s+/))&&w.index===0){J.ignoreMatch();return}}},_={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",x=`\\.(${b})`,C="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",M={className:"number",variants:[{begin:`(\\b(${C})((${x})|\\.)?|(${x}))[eE][+-]?(${b})\\b`},{begin:`\\b(${C})\\b((${x})\\b|\\.)?|(${x})\\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},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},S={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,T]},F={className:"comment",variants:[u.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:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},Y=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,k,S,{match:/\$\d+/},M];T.contains=Y.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(Y)});const I=[].concat(F,T.contains),ae=I.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:ae},A={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,f.concat(g,"(",f.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},q={relevance:0,match:f.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:{_:[...s,...o]}},V={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},me={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},pe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function X(ee){return f.concat("(?!",ee.join("|"),")")}const _e={match:f.concat(/\b/,X([...r,"super","import"]),g,f.lookahead(/\(/)),className:"title.function",relevance:0},we={begin:f.concat(/\./,f.lookahead(f.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},W]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",H={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,f.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:q},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),V,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,k,S,F,{match:/\$\d+/},M,q,{className:"attr",begin:g+f.lookahead(":"),relevance:0},H,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,u.REGEXP_MODE,{className:"function",begin:Q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:m},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.end,skip:!0,contains:["self"]}]}]},me,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},we,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},_e,pe,A,N,{match:/\$[(.]/}]}}function c(u){const f=l(u),h=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[f.exports.CLASS_REFERENCE]},m={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[f.exports.CLASS_REFERENCE]},v={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],b={$pattern:t,keyword:e.concat(_),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+h},C=(T,D,y)=>{const k=T.contains.findIndex(S=>S.label===D);if(k===-1)throw new Error("can not find mode to replace");T.contains.splice(k,1,y)};Object.assign(f.keywords,b),f.exports.PARAMS_CONTAINS.push(x),f.contains=f.contains.concat([x,p,m]),C(f,"shebang",u.SHEBANG()),C(f,"use_strict",v);const M=f.contains.find(T=>T.label==="func.def");return M.relevance=0,Object.assign(f,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),f}return Sa=c,Sa}var Ta,pf;function OPe(){if(pf)return Ta;pf=1;function t(e){const n=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(i,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(i,r),/ +/,n.either(a,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},f={className:"label",begin:/^\w+:/},h=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,o,c,u,f,h,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return Ta=t,Ta}var Oa,gf;function MPe(){if(gf)return Oa;gf=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const s=e.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[s,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,r,e.QUOTE_STRING_MODE,c,u,l]}}return Oa=t,Oa}var Te=WIe;Te.registerLanguage("xml",ZIe());Te.registerLanguage("bash",YIe());Te.registerLanguage("c",QIe());Te.registerLanguage("cpp",JIe());Te.registerLanguage("csharp",XIe());Te.registerLanguage("css",ePe());Te.registerLanguage("markdown",tPe());Te.registerLanguage("diff",nPe());Te.registerLanguage("ruby",sPe());Te.registerLanguage("go",oPe());Te.registerLanguage("graphql",rPe());Te.registerLanguage("ini",iPe());Te.registerLanguage("java",aPe());Te.registerLanguage("javascript",lPe());Te.registerLanguage("json",cPe());Te.registerLanguage("kotlin",uPe());Te.registerLanguage("less",dPe());Te.registerLanguage("lua",fPe());Te.registerLanguage("makefile",hPe());Te.registerLanguage("perl",pPe());Te.registerLanguage("objectivec",gPe());Te.registerLanguage("php",mPe());Te.registerLanguage("php-template",_Pe());Te.registerLanguage("plaintext",bPe());Te.registerLanguage("python",yPe());Te.registerLanguage("python-repl",vPe());Te.registerLanguage("r",wPe());Te.registerLanguage("rust",xPe());Te.registerLanguage("scss",kPe());Te.registerLanguage("shell",EPe());Te.registerLanguage("sql",CPe());Te.registerLanguage("swift",APe());Te.registerLanguage("yaml",SPe());Te.registerLanguage("typescript",TPe());Te.registerLanguage("vbnet",OPe());Te.registerLanguage("wasm",MPe());Te.HighlightJS=Te;Te.default=Te;var RPe=Te;const oo=ts(RPe);var On={};On.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",f=!0,h=!1;for(let g=e+n.leftDelimiter.length;g=s+1:u.length>=s}let r,i,a,l;const c=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=r===-1?-1:n.indexOf(e.rightDelimiter,c),l=n.charAt(i+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=r===-1?-1:n.indexOf(e.rightDelimiter,r+c),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${t}, expected 'start', 'end' or 'only'`)}return r!==-1&&i!==-1&&o(n.substring(r,i+e.rightDelimiter.length))}};On.removeDelimiter=function(t,e){const n=al(e.leftDelimiter),s=al(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function al(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}On.escapeRegExp=al;On.getMatchingOpeningToken=function(t,e){if(t[e].type==="softbreak")return!1;if(t[e].nesting===0)return t[e];const n=t[e].level,s=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===s&&t[e].level===n)return t[e];return!1};const NPe=/[&<>"]/,DPe=/[&<>"]/g,LPe={"&":"&","<":"<",">":">",'"':"""};function IPe(t){return LPe[t]}On.escapeHtml=function(t){return NPe.test(t)?t.replace(DPe,IPe):t};const Re=On;var PPe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Re.escapeRegExp(t.leftDelimiter)+"[^"+Re.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Re.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Re.getAttrs(o.info,r,t);Re.addAttrs(i,o),o.info=Re.removeDelimiter(o.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:n=>n==="image"||n==="code_inline"},{shift:0,type:"text",content:Re.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content.indexOf(t.rightDelimiter),a=n[s].children[o-1],l=Re.getAttrs(r.content,0,t);Re.addAttrs(l,a),r.content.length===i+t.rightDelimiter.length?n[s].children.splice(o,1):r.content=r.content.slice(i+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Re.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Re.getMatchingOpeningToken(n,s),i=Re.getAttrs(o.content,0,t);Re.addAttrs(i,r),n.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Re.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,0,t),l=Re.getMatchingOpeningToken(n[s].children,o-1);Re.addAttrs(a,l),r.content=i.slice(i.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Re.getAttrs(i,0,t);let l=s-2;for(;n[l-1]&&n[l-1].type!=="ordered_list_open"&&n[l-1].type!=="bullet_list_open";)l--;Re.addAttrs(a,n[l-1]),n[s].children=n[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:n=>n==="bullet_list_close"||n==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Re.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Re.getAttrs(r,0,t),a=Re.getMatchingOpeningToken(n,s);Re.addAttrs(i,a),n.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Re.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Re.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=mf(l)!==" "?l:l.slice(0,-1)}},{name:` -{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Re.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Re.getMatchingOpeningToken(n,a);Re.addAttrs(i,l),n[s].children=n[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:n=>n.length===1,content:n=>n.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(n,s)=>{const o=n[s];o.type="hr",o.tag="hr",o.nesting=0;const r=n[s+1].content,i=r.lastIndexOf(t.leftDelimiter),a=Re.getAttrs(r,i,t);Re.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Re.hasDelimiters("end",t),type:n=>n!=="code_inline"&&n!=="math_inline"}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Re.getMatchingOpeningToken(n,l);Re.addAttrs(a,c);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=mf(u)!==" "?u:u.slice(0,-1)}}]};function mf(t){return t.slice(-1)[0]}const FPe=PPe,BPe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var jPe=function(e,n){let s=Object.assign({},BPe);s=Object.assign(s,n);const o=FPe(s);function r(i){const a=i.tokens;for(let l=0;l{const p=ll(a,l,g);return p.j!==null&&(f=p.j),p.match})&&(u.transform(a,l,f),(u.name==="inline attributes"||u.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function ll(t,e,n){const s={match:!1,j:null},o=n.shift!==void 0?e+n.shift:n.position;if(n.shift!==void 0&&o<0)return s;const r=qPe(t,o);if(r===void 0)return s;for(const i of Object.keys(n))if(!(i==="shift"||i==="position")){if(r[i]===void 0)return s;if(i==="children"&&zPe(n.children)){if(r.children.length===0)return s;let a;const l=n.children,c=r.children;if(l.every(u=>u.position!==void 0)){if(a=l.every(u=>ll(c,u.position,u).match),a){const u=UPe(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;ull(c,u,f).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if($Pe(n[i])){if(n[i].every(l=>l(r[i]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${i}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function zPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function $Pe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function qPe(t,e){return e>=0?t[e]:t[t.length+e]}function UPe(t){return t.slice(-1)[0]||{}}const HPe=ts(jPe);function VPe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const Eo=new Wue("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=VPe();if(e&&oo.getLanguage(e))try{const o=oo.highlight(e,t).value;return'
'+e+'
'+o+"
"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}return'
'+e+'
'+oo.highlightAuto(t).value+"
"},bulletListMarker:"•"}).use(JLe).use(HPe).use(us).use(tIe);oo.configure({languages:[]});oo.configure({languages:["javascript"]});Eo.renderer.rules.link_open=(t,e,n,s,o)=>{const r=t[e],i=r.attrIndex("href");if(i>=0){const a=r.attrs[i][1];r.attrs[i][1]=a,r.attrPush(["style","color: blue; font-weight: bold; text-decoration: underline;"])}return o.renderToken(t,e,n)};const Rg=(t,e,n,s,o)=>{const i=t[e].attrGet("type")||"ul";return i==="ul"?'
    '+o.renderToken(t,e,n)+"
":i==="ol"?'
    '+o.renderToken(t,e,n)+"
":o.renderToken(t,e,n)};Eo.renderer.rules.bullet_list_open=Rg;Eo.renderer.rules.ordered_list_open=Rg;const GPe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` +`:">",r)};Hs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function Fle(t){return/^<\/a\s*>/i.test(t)}var Ble=function(e){var n,s,o,r,i,a,l,u,c,f,h,p,g,m,y,_,b=e.tokens,v;if(e.md.options.linkify){for(s=0,o=b.length;s=0;n--){if(a=r[n],a.type==="link_close"){for(n--;r[n].level!==a.level&&r[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(Ple(a.content)&&g>0&&g--,Fle(a.content)&&g++),!(g>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(c=a.content,v=e.md.linkify.match(c),l=[],p=a.level,h=0,v.length>0&&v[0].index===0&&n>0&&r[n-1].type==="text_special"&&(v=v.slice(1)),u=0;uh&&(i=new e.Token("text","",0),i.content=c.slice(h,f),i.level=p,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",y]],i.level=p++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=_,i.level=p,l.push(i),i=new e.Token("link_close","a",-1),i.level=--p,i.markup="linkify",i.info="auto",l.push(i),h=v[u].lastIndex);h=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(zle,qle)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function Hle(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&eg.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"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}var Vle=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(jle.test(e.tokens[n].content)&&Ule(e.tokens[n].children),eg.test(e.tokens[n].content)&&Hle(e.tokens[n].children))},ed=ze.isWhiteSpace,td=ze.isPunctChar,nd=ze.isMdAsciiPunct,Gle=/['"]/,sd=/['"]/g,od="’";function Vo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Kle(t,e){var n,s,o,r,i,a,l,u,c,f,h,p,g,m,y,_,b,v,E,M,T;for(E=[],n=0;n=0&&!(E[b].level<=l);b--);if(E.length=b+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)c=o.charCodeAt(r.index-1);else for(b=n-1;b>=0&&!(t[b].type==="softbreak"||t[b].type==="hardbreak");b--)if(t[b].content){c=t[b].content.charCodeAt(t[b].content.length-1);break}if(f=32,i=48&&c<=57&&(_=y=!1),y&&_&&(y=h,_=p),!y&&!_){v&&(s.content=Vo(s.content,r.index,od));continue}if(_){for(b=E.length-1;b>=0&&(u=E[b],!(E[b].level=0;n--)e.tokens[n].type!=="inline"||!Gle.test(e.tokens[n].content)||Kle(e.tokens[n].children,e)},Zle=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n=0&&(s=this.attrs[n][1]),s};Vs.prototype.attrJoin=function(e,n){var s=this.attrIndex(e);s<0?this.attrPush([e,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var Jl=Vs,Yle=Jl;function tg(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}tg.prototype.Token=Yle;var Qle=tg,Jle=Ql,Bi=[["normalize",Nle],["block",Dle],["inline",Lle],["linkify",Ble],["replacements",Vle],["smartquotes",Wle],["text_join",Zle]];function Xl(){this.ruler=new Jle;for(var t=0;ts||(c=n+1,e.sCount[c]=4||(a=e.bMarks[c]+e.tShift[c],a>=e.eMarks[c])||(M=e.src.charCodeAt(a++),M!==124&&M!==45&&M!==58)||a>=e.eMarks[c]||(T=e.src.charCodeAt(a++),T!==124&&T!==45&&T!==58&&!ji(T))||M===45&&ji(T))return!1;for(;a=4||(f=rd(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==g.length))return!1;if(o)return!0;for(b=e.parentType,e.parentType="table",E=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=y=[n,0],p=e.push("thead_open","thead",1),p.map=[n,n+1],p=e.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(f=rd(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),c===n+2&&(p=e.push("tbody_open","tbody",1),p.map=_=[n+2,0]),p=e.push("tr_open","tr",1),p.map=[c,c+1],l=0;l=4){o++,r=o;continue}break}return e.line=r,i=e.push("code_block","code",0),i.content=e.getLines(n,r,4+e.blkIndent,!1)+` +`,i.map=[n,e.line],!0},nce=function(e,n,s,o){var r,i,a,l,u,c,f,h=!1,p=e.bMarks[n]+e.tShift[n],g=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>g||(r=e.src.charCodeAt(p),r!==126&&r!==96)||(u=p,p=e.skipChars(p,r),i=p-u,i<3)||(f=e.src.slice(u,p),a=e.src.slice(p,g),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(p=u=e.bMarks[l]+e.tShift[l],g=e.eMarks[l],p=4)&&(p=e.skipChars(p,r),!(p-u=4||e.src.charCodeAt(S++)!==62)return!1;if(o)return!0;for(l=p=e.sCount[n]+1,e.src.charCodeAt(S)===32?(S++,l++,p++,r=!1,E=!0):e.src.charCodeAt(S)===9?(E=!0,(e.bsCount[n]+p)%4===3?(S++,l++,p++,r=!1):r=!0):E=!1,g=[e.bMarks[n]],e.bMarks[n]=S;S=D,b=[e.sCount[n]],e.sCount[n]=p-l,v=[e.tShift[n]],e.tShift[n]=S-e.bMarks[n],T=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",h=n+1;h=D));h++){if(e.src.charCodeAt(S++)===62&&!w){for(l=p=e.sCount[h]+1,e.src.charCodeAt(S)===32?(S++,l++,p++,r=!1,E=!0):e.src.charCodeAt(S)===9?(E=!0,(e.bsCount[h]+p)%4===3?(S++,l++,p++,r=!1):r=!0):E=!1,g.push(e.bMarks[h]),e.bMarks[h]=S;S=D,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(E?1:0),b.push(e.sCount[h]),e.sCount[h]=p-l,v.push(e.tShift[h]),e.tShift[h]=S-e.bMarks[h];continue}if(c)break;for(M=!1,a=0,u=T.length;a",N.map=f=[n,0],e.md.block.tokenize(e,n,h),N=e.push("blockquote_close","blockquote",-1),N.markup=">",e.lineMax=k,e.parentType=_,f[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(u++),r!==42&&r!==45&&r!==95))return!1;for(i=1;u=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(A=!0),(D=ld(e,n))>=0){if(f=!0,W=e.bMarks[n]+e.tShift[n],_=Number(e.src.slice(W,D-1)),A&&_!==1)return!1}else if((D=ad(e,n))>=0)f=!1;else return!1;if(A&&e.skipSpaces(D)>=e.eMarks[n])return!1;if(y=e.src.charCodeAt(D-1),o)return!0;for(m=e.tokens.length,f?(V=e.push("ordered_list_open","ol",1),_!==1&&(V.attrs=[["start",_]])):V=e.push("bullet_list_open","ul",1),V.map=g=[n,0],V.markup=String.fromCharCode(y),v=n,P=!1,re=e.md.block.ruler.getRules("list"),T=e.parentType,e.parentType="list";v=b?u=1:u=E-c,u>4&&(u=1),l=c+u,V=e.push("list_item_open","li",1),V.markup=String.fromCharCode(y),V.map=h=[n,0],f&&(V.info=e.src.slice(W,D-1)),k=e.tight,w=e.tShift[n],N=e.sCount[n],M=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=E,i>=b&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||P)&&($=!1),P=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=M,e.tShift[n]=w,e.sCount[n]=N,e.tight=k,V=e.push("list_item_close","li",-1),V.markup=String.fromCharCode(y),v=n=e.line,h[1]=v,i=e.bMarks[n],v>=s||e.sCount[v]=4)break;for(R=!1,a=0,p=re.length;a=4||e.src.charCodeAt(T)!==91)return!1;for(;++T3)&&!(e.sCount[w]<0)){for(b=!1,c=0,f=v.length;c"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:E,href:u}),e.parentType=g,e.line=n+M+1),!0)},uce=["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"],ai={},dce="[a-zA-Z_:][a-zA-Z0-9:._-]*",fce="[^\"'=<>`\\x00-\\x20]+",hce="'[^']*'",pce='"[^"]*"',gce="(?:"+fce+"|"+hce+"|"+pce+")",mce="(?:\\s+"+dce+"(?:\\s*=\\s*"+gce+")?)",sg="<[A-Za-z][A-Za-z0-9\\-]*"+mce+"*\\s*\\/?>",og="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",_ce="|",bce="<[?][\\s\\S]*?[?]>",yce="]*>",vce="",wce=new RegExp("^(?:"+sg+"|"+og+"|"+_ce+"|"+bce+"|"+yce+"|"+vce+")"),xce=new RegExp("^(?:"+sg+"|"+og+")");ai.HTML_TAG_RE=wce;ai.HTML_OPEN_CLOSE_TAG_RE=xce;var kce=uce,Ece=ai.HTML_OPEN_CLOSE_TAG_RE,as=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Ece.source+"\\s*$"),/^$/,!1]],Cce=function(e,n,s,o){var r,i,a,l,u=e.bMarks[n]+e.tShift[n],c=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(u)!==60)return!1;for(l=e.src.slice(u,c),r=0;r=4||(r=e.src.charCodeAt(u),r!==35||u>=c))return!1;for(i=1,r=e.src.charCodeAt(++u);r===35&&u6||uu&&cd(e.src.charCodeAt(a-1))&&(c=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(u,c).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},Sce=function(e,n,s){var o,r,i,a,l,u,c,f,h,p=n+1,g,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(u=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],u=c)))){f=h===61?1:2;break}if(!(e.sCount[p]<0)){for(r=!1,i=0,a=m.length;i3)&&!(e.sCount[u]<0)){for(o=!1,r=0,i=c.length;r0&&this.level++,this.tokens.push(s),s};Yt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Yt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!li(this.src.charCodeAt(--e)))return e+1;return e};Yt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Yt.prototype.getLines=function(e,n,s,o){var r,i,a,l,u,c,f,h=e;if(e>=n)return"";for(c=new Array(n-e),r=0;hs?c[r]=new Array(i-s+1).join(" ")+this.src.slice(l,u):c[r]=this.src.slice(l,u)}return c.join("")};Yt.prototype.Token=rg;var Oce=Yt,Mce=Ql,Ko=[["table",ece,["paragraph","reference"]],["code",tce],["fence",nce,["paragraph","reference","blockquote","list"]],["blockquote",sce,["paragraph","reference","blockquote","list"]],["hr",rce,["paragraph","reference","blockquote","list"]],["list",ace,["paragraph","reference","blockquote"]],["reference",cce],["html_block",Cce,["paragraph","reference","blockquote"]],["heading",Ace,["paragraph","reference","blockquote"]],["lheading",Sce],["paragraph",Tce]];function ci(){this.ruler=new Mce;for(var t=0;t=n||t.sCount[a]=u){t.line=n;break}for(o=0;o0||(s=e.pos,o=e.posMax,s+3>o)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(Lce),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),u=e.md.normalizeLink(l),!e.md.validateLink(u))?!1:(n||(e.pending=e.pending.slice(0,-i.length),c=e.push("link_open","a",1),c.attrs=[["href",u]],c.markup="linkify",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(l),c=e.push("link_close","a",-1),c.markup="linkify",c.info="auto"),e.pos+=l.length-i.length,!0)},Pce=ze.isSpace,Fce=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),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(i++;i?@[]^_`{|}~-".split("").forEach(function(t){ec[t.charCodeAt(0)]=1});var jce=function(e,n){var s,o,r,i,a,l=e.pos,u=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=u))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&ec[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},zce=function(e,n){var s,o,r,i,a,l,u,c,f=e.pos,h=e.src.charCodeAt(f);if(h!==96)return!1;for(s=f,f++,o=e.posMax;f=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}di.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(fd(e,e.delimiters),n=0;n=m)return!1;if(y=l,u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),u.ok){for(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?l=u.pos:h="",y=l;l=m||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(y,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),c=e.env.references[$ce(r)],!c)return e.pos=g,!1;h=c.href,p=c.title}return n||(e.pos=a,e.posMax=i,f=e.push("link_open","a",1),f.attrs=s=[["href",h]],p&&s.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},Uce=ze.normalizeReference,qi=ze.isSpace,Hce=function(e,n){var s,o,r,i,a,l,u,c,f,h,p,g,m,y="",_=e.pos,b=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(u=a+1,u=b)return!1;for(m=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(y=e.md.normalizeLink(f.str),e.md.validateLink(y)?u=f.pos:y=""),m=u;u=b||e.src.charCodeAt(u)!==41)return e.pos=_,!1;u++}else{if(typeof e.env.references>"u")return!1;if(u=0?i=e.src.slice(m,u++):u=a+1):u=a+1,i||(i=e.src.slice(l,a)),c=e.env.references[Uce(i)],!c)return e.pos=_,!1;y=c.href,h=c.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,g=[]),p=e.push("image","img",0),p.attrs=s=[["src",y],["alt",""]],p.children=g,p.content=r,h&&s.push(["title",h])),e.pos=u,e.posMax=b,!0},Vce=/^([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])?)*)$/,Gce=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Kce=function(e,n){var s,o,r,i,a,l,u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++u>=l||(i=e.src.charCodeAt(u),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,u),Gce.test(s)?(o=e.md.normalizeLink(s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):Vce.test(s)?(o=e.md.normalizeLink("mailto:"+s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):!1},Wce=ai.HTML_TAG_RE;function Zce(t){return/^\s]/i.test(t)}function Yce(t){return/^<\/a\s*>/i.test(t)}function Qce(t){var e=t|32;return e>=97&&e<=122}var Jce=function(e,n){var s,o,r,i,a=e.pos;return!e.md.options.html||(r=e.posMax,e.src.charCodeAt(a)!==60||a+2>=r)||(s=e.src.charCodeAt(a+1),s!==33&&s!==63&&s!==47&&!Qce(s))||(o=e.src.slice(a).match(Wce),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Zce(i.content)&&e.linkLevel++,Yce(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},hd=Yp,Xce=ze.has,eue=ze.isValidEntityCode,pd=ze.fromCodePoint,tue=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,nue=/^&([a-z][a-z0-9]{1,31});/i,sue=function(e,n){var s,o,r,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=l)return!1;if(s=e.src.charCodeAt(a+1),s===35){if(r=e.src.slice(a).match(tue),r)return n||(o=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),i=e.push("text_special","",0),i.content=eue(o)?pd(o):pd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(nue),r&&Xce(hd,r[1]))return n||(i=e.push("text_special","",0),i.content=hd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function gd(t,e){var n,s,o,r,i,a,l,u,c={},f=e.length;if(f){var h=0,p=-2,g=[];for(n=0;ni;s-=g[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){u=s>0&&!e[s-1].open?g[s-1]+1:0,g[n]=n-s+u,g[s]=u,o.open=!1,r.end=n,r.close=!1,a=-1,p=-2;break}a!==-1&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var oue=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(gd(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};No.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,u,c,f,h=!0,p=!0,g=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Do.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o|$))",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}),Vi}function rl(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(s){t[s]=n[s]})}),t}function fi(t){return Object.prototype.toString.call(t)}function cue(t){return fi(t)==="[object String]"}function uue(t){return fi(t)==="[object Object]"}function due(t){return fi(t)==="[object RegExp]"}function wd(t){return fi(t)==="[object Function]"}function fue(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var ig={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function hue(t){return Object.keys(t||{}).reduce(function(e,n){return e||ig.hasOwnProperty(n)},!1)}var pue={"http:":{validate:function(t,e,n){var s=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(s)?s.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var s=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(s)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:s.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var s=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(s)?s.match(n.re.mailto)[0].length:0}}},gue="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]",mue="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function _ue(t){t.__index__=-1,t.__text_cache__=""}function bue(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function xd(){return function(t,e){e.normalize(t)}}function kr(t){var e=t.re=lue()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(gue),n.push(e.src_xn),e.src_tlds=n.join("|");function s(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function r(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var u={validate:null,link:null};if(t.__compiled__[a]=u,uue(l)){due(l.validate)?u.validate=bue(l.validate):wd(l.validate)?u.validate=l.validate:r(a,l),wd(l.normalize)?u.normalize=l.normalize:l.normalize?r(a,l):u.normalize=xd();return}if(cue(l)){o.push(a);return}r(a,l)}}),o.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:xd()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(fue).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),_ue(t)}function yue(t,e){var n=t.__index__,s=t.__last_index__,o=t.__text_cache__.slice(n,s);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=s+e,this.raw=o,this.text=o,this.url=o}function il(t,e){var n=new yue(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function mt(t,e){if(!(this instanceof mt))return new mt(t,e);e||hue(t)&&(e=t,t={}),this.__opts__=rl({},ig,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=rl({},pue,t),this.__compiled__={},this.__tlds__=mue,this.__tlds_replaced__=!1,this.re={},kr(this)}mt.prototype.add=function(e,n){return this.__schemas__[e]=n,kr(this),this};mt.prototype.set=function(e){return this.__opts__=rl(this.__opts__,e),this};mt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,u,c;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};mt.prototype.pretest=function(e){return this.re.pretest.test(e)};mt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};mt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(il(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(il(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};mt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var s=this.testSchemaAt(e,n[2],n[0].length);return s?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s,il(this,0)):null};mt.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,o,r){return s!==r[o-1]}).reverse(),kr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,kr(this),this)};mt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};mt.prototype.onCompile=function(){};var vue=mt;const ys=2147483647,qt=36,nc=1,xo=26,wue=38,xue=700,ag=72,lg=128,cg="-",kue=/^xn--/,Eue=/[^\0-\x7F]/,Cue=/[\x2E\u3002\uFF0E\uFF61]/g,Aue={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Gi=qt-nc,Ut=Math.floor,Ki=String.fromCharCode;function yn(t){throw new RangeError(Aue[t])}function Sue(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function ug(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(Cue,".");const o=t.split("."),r=Sue(o,e).join(".");return s+r}function sc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),Tue=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:qt},kd=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},fg=function(t,e,n){let s=0;for(t=n?Ut(t/xue):t>>1,t+=Ut(t/e);t>Gi*xo>>1;s+=qt)t=Ut(t/Gi);return Ut(s+(Gi+1)*t/(t+wue))},oc=function(t){const e=[],n=t.length;let s=0,o=lg,r=ag,i=t.lastIndexOf(cg);i<0&&(i=0);for(let a=0;a=128&&yn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&yn("invalid-input");const h=Tue(t.charCodeAt(a++));h>=qt&&yn("invalid-input"),h>Ut((ys-s)/c)&&yn("overflow"),s+=h*c;const p=f<=r?nc:f>=r+xo?xo:f-r;if(hUt(ys/g)&&yn("overflow"),c*=g}const u=e.length+1;r=fg(s-l,u,l==0),Ut(s/u)>ys-o&&yn("overflow"),o+=Ut(s/u),s%=u,e.splice(s++,0,o)}return String.fromCodePoint(...e)},rc=function(t){const e=[];t=sc(t);const n=t.length;let s=lg,o=0,r=ag;for(const l of t)l<128&&e.push(Ki(l));const i=e.length;let a=i;for(i&&e.push(cg);a=s&&cUt((ys-o)/u)&&yn("overflow"),o+=(l-s)*u,s=l;for(const c of t)if(cys&&yn("overflow"),c===s){let f=o;for(let h=qt;;h+=qt){const p=h<=r?nc:h>=r+xo?xo:h-r;if(f=0))try{e.hostname=gg.toASCII(e.hostname)}catch{}return Gn.encode(Gn.format(e))}function Gue(t){var e=Gn.parse(t,!0);if(e.hostname&&(!e.protocol||mg.indexOf(e.protocol)>=0))try{e.hostname=gg.toUnicode(e.hostname)}catch{}return Gn.decode(Gn.format(e),Gn.decode.defaultChars+"%")}function Ct(t,e){if(!(this instanceof Ct))return new Ct(t,e);e||oo.isString(t)||(e=t||{},t="default"),this.inline=new jue,this.block=new Bue,this.core=new Fue,this.renderer=new Pue,this.linkify=new zue,this.validateLink=Hue,this.normalizeLink=Vue,this.normalizeLinkText=Gue,this.utils=oo,this.helpers=oo.assign({},Iue),this.options={},this.configure(t),e&&this.set(e)}Ct.prototype.set=function(t){return oo.assign(this.options,t),this};Ct.prototype.configure=function(t){var e=this,n;if(oo.isString(t)&&(n=t,t=$ue[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(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};Ct.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};Ct.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};Ct.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Ct.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};Ct.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Ct.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Ct.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Kue=Ct,Wue=Kue;const Zue=On(Wue),Yue="😀",Que="😃",Jue="😄",Xue="😁",ede="😆",tde="😆",nde="😅",sde="🤣",ode="😂",rde="🙂",ide="🙃",ade="😉",lde="😊",cde="😇",ude="🥰",dde="😍",fde="🤩",hde="😘",pde="😗",gde="☺️",mde="😚",_de="😙",bde="🥲",yde="😋",vde="😛",wde="😜",xde="🤪",kde="😝",Ede="🤑",Cde="🤗",Ade="🤭",Sde="🤫",Tde="🤔",Ode="🤐",Mde="🤨",Rde="😐",Nde="😑",Dde="😶",Lde="😏",Ide="😒",Pde="🙄",Fde="😬",Bde="🤥",jde="😌",zde="😔",$de="😪",qde="🤤",Ude="😴",Hde="😷",Vde="🤒",Gde="🤕",Kde="🤢",Wde="🤮",Zde="🤧",Yde="🥵",Qde="🥶",Jde="🥴",Xde="😵",efe="🤯",tfe="🤠",nfe="🥳",sfe="🥸",ofe="😎",rfe="🤓",ife="🧐",afe="😕",lfe="😟",cfe="🙁",ufe="☹️",dfe="😮",ffe="😯",hfe="😲",pfe="😳",gfe="🥺",mfe="😦",_fe="😧",bfe="😨",yfe="😰",vfe="😥",wfe="😢",xfe="😭",kfe="😱",Efe="😖",Cfe="😣",Afe="😞",Sfe="😓",Tfe="😩",Ofe="😫",Mfe="🥱",Rfe="😤",Nfe="😡",Dfe="😡",Lfe="😠",Ife="🤬",Pfe="😈",Ffe="👿",Bfe="💀",jfe="☠️",zfe="💩",$fe="💩",qfe="💩",Ufe="🤡",Hfe="👹",Vfe="👺",Gfe="👻",Kfe="👽",Wfe="👾",Zfe="🤖",Yfe="😺",Qfe="😸",Jfe="😹",Xfe="😻",ehe="😼",the="😽",nhe="🙀",she="😿",ohe="😾",rhe="🙈",ihe="🙉",ahe="🙊",lhe="💋",che="💌",uhe="💘",dhe="💝",fhe="💖",hhe="💗",phe="💓",ghe="💞",mhe="💕",_he="💟",bhe="❣️",yhe="💔",vhe="❤️",whe="🧡",xhe="💛",khe="💚",Ehe="💙",Che="💜",Ahe="🤎",She="🖤",The="🤍",Ohe="💢",Mhe="💥",Rhe="💥",Nhe="💫",Dhe="💦",Lhe="💨",Ihe="🕳️",Phe="💣",Fhe="💬",Bhe="👁️‍🗨️",jhe="🗨️",zhe="🗯️",$he="💭",qhe="💤",Uhe="👋",Hhe="🤚",Vhe="🖐️",Ghe="✋",Khe="✋",Whe="🖖",Zhe="👌",Yhe="🤌",Qhe="🤏",Jhe="✌️",Xhe="🤞",epe="🤟",tpe="🤘",npe="🤙",spe="👈",ope="👉",rpe="👆",ipe="🖕",ape="🖕",lpe="👇",cpe="☝️",upe="👍",dpe="👎",fpe="✊",hpe="✊",ppe="👊",gpe="👊",mpe="👊",_pe="🤛",bpe="🤜",ype="👏",vpe="🙌",wpe="👐",xpe="🤲",kpe="🤝",Epe="🙏",Cpe="✍️",Ape="💅",Spe="🤳",Tpe="💪",Ope="🦾",Mpe="🦿",Rpe="🦵",Npe="🦶",Dpe="👂",Lpe="🦻",Ipe="👃",Ppe="🧠",Fpe="🫀",Bpe="🫁",jpe="🦷",zpe="🦴",$pe="👀",qpe="👁️",Upe="👅",Hpe="👄",Vpe="👶",Gpe="🧒",Kpe="👦",Wpe="👧",Zpe="🧑",Ype="👱",Qpe="👨",Jpe="🧔",Xpe="👨‍🦰",ege="👨‍🦱",tge="👨‍🦳",nge="👨‍🦲",sge="👩",oge="👩‍🦰",rge="🧑‍🦰",ige="👩‍🦱",age="🧑‍🦱",lge="👩‍🦳",cge="🧑‍🦳",uge="👩‍🦲",dge="🧑‍🦲",fge="👱‍♀️",hge="👱‍♀️",pge="👱‍♂️",gge="🧓",mge="👴",_ge="👵",bge="🙍",yge="🙍‍♂️",vge="🙍‍♀️",wge="🙎",xge="🙎‍♂️",kge="🙎‍♀️",Ege="🙅",Cge="🙅‍♂️",Age="🙅‍♂️",Sge="🙅‍♀️",Tge="🙅‍♀️",Oge="🙆",Mge="🙆‍♂️",Rge="🙆‍♀️",Nge="💁",Dge="💁",Lge="💁‍♂️",Ige="💁‍♂️",Pge="💁‍♀️",Fge="💁‍♀️",Bge="🙋",jge="🙋‍♂️",zge="🙋‍♀️",$ge="🧏",qge="🧏‍♂️",Uge="🧏‍♀️",Hge="🙇",Vge="🙇‍♂️",Gge="🙇‍♀️",Kge="🤦",Wge="🤦‍♂️",Zge="🤦‍♀️",Yge="🤷",Qge="🤷‍♂️",Jge="🤷‍♀️",Xge="🧑‍⚕️",eme="👨‍⚕️",tme="👩‍⚕️",nme="🧑‍🎓",sme="👨‍🎓",ome="👩‍🎓",rme="🧑‍🏫",ime="👨‍🏫",ame="👩‍🏫",lme="🧑‍⚖️",cme="👨‍⚖️",ume="👩‍⚖️",dme="🧑‍🌾",fme="👨‍🌾",hme="👩‍🌾",pme="🧑‍🍳",gme="👨‍🍳",mme="👩‍🍳",_me="🧑‍🔧",bme="👨‍🔧",yme="👩‍🔧",vme="🧑‍🏭",wme="👨‍🏭",xme="👩‍🏭",kme="🧑‍💼",Eme="👨‍💼",Cme="👩‍💼",Ame="🧑‍🔬",Sme="👨‍🔬",Tme="👩‍🔬",Ome="🧑‍💻",Mme="👨‍💻",Rme="👩‍💻",Nme="🧑‍🎤",Dme="👨‍🎤",Lme="👩‍🎤",Ime="🧑‍🎨",Pme="👨‍🎨",Fme="👩‍🎨",Bme="🧑‍✈️",jme="👨‍✈️",zme="👩‍✈️",$me="🧑‍🚀",qme="👨‍🚀",Ume="👩‍🚀",Hme="🧑‍🚒",Vme="👨‍🚒",Gme="👩‍🚒",Kme="👮",Wme="👮",Zme="👮‍♂️",Yme="👮‍♀️",Qme="🕵️",Jme="🕵️‍♂️",Xme="🕵️‍♀️",e_e="💂",t_e="💂‍♂️",n_e="💂‍♀️",s_e="🥷",o_e="👷",r_e="👷‍♂️",i_e="👷‍♀️",a_e="🤴",l_e="👸",c_e="👳",u_e="👳‍♂️",d_e="👳‍♀️",f_e="👲",h_e="🧕",p_e="🤵",g_e="🤵‍♂️",m_e="🤵‍♀️",__e="👰",b_e="👰‍♂️",y_e="👰‍♀️",v_e="👰‍♀️",w_e="🤰",x_e="🤱",k_e="👩‍🍼",E_e="👨‍🍼",C_e="🧑‍🍼",A_e="👼",S_e="🎅",T_e="🤶",O_e="🧑‍🎄",M_e="🦸",R_e="🦸‍♂️",N_e="🦸‍♀️",D_e="🦹",L_e="🦹‍♂️",I_e="🦹‍♀️",P_e="🧙",F_e="🧙‍♂️",B_e="🧙‍♀️",j_e="🧚",z_e="🧚‍♂️",$_e="🧚‍♀️",q_e="🧛",U_e="🧛‍♂️",H_e="🧛‍♀️",V_e="🧜",G_e="🧜‍♂️",K_e="🧜‍♀️",W_e="🧝",Z_e="🧝‍♂️",Y_e="🧝‍♀️",Q_e="🧞",J_e="🧞‍♂️",X_e="🧞‍♀️",e1e="🧟",t1e="🧟‍♂️",n1e="🧟‍♀️",s1e="💆",o1e="💆‍♂️",r1e="💆‍♀️",i1e="💇",a1e="💇‍♂️",l1e="💇‍♀️",c1e="🚶",u1e="🚶‍♂️",d1e="🚶‍♀️",f1e="🧍",h1e="🧍‍♂️",p1e="🧍‍♀️",g1e="🧎",m1e="🧎‍♂️",_1e="🧎‍♀️",b1e="🧑‍🦯",y1e="👨‍🦯",v1e="👩‍🦯",w1e="🧑‍🦼",x1e="👨‍🦼",k1e="👩‍🦼",E1e="🧑‍🦽",C1e="👨‍🦽",A1e="👩‍🦽",S1e="🏃",T1e="🏃",O1e="🏃‍♂️",M1e="🏃‍♀️",R1e="💃",N1e="💃",D1e="🕺",L1e="🕴️",I1e="👯",P1e="👯‍♂️",F1e="👯‍♀️",B1e="🧖",j1e="🧖‍♂️",z1e="🧖‍♀️",$1e="🧗",q1e="🧗‍♂️",U1e="🧗‍♀️",H1e="🤺",V1e="🏇",G1e="⛷️",K1e="🏂",W1e="🏌️",Z1e="🏌️‍♂️",Y1e="🏌️‍♀️",Q1e="🏄",J1e="🏄‍♂️",X1e="🏄‍♀️",e0e="🚣",t0e="🚣‍♂️",n0e="🚣‍♀️",s0e="🏊",o0e="🏊‍♂️",r0e="🏊‍♀️",i0e="⛹️",a0e="⛹️‍♂️",l0e="⛹️‍♂️",c0e="⛹️‍♀️",u0e="⛹️‍♀️",d0e="🏋️",f0e="🏋️‍♂️",h0e="🏋️‍♀️",p0e="🚴",g0e="🚴‍♂️",m0e="🚴‍♀️",_0e="🚵",b0e="🚵‍♂️",y0e="🚵‍♀️",v0e="🤸",w0e="🤸‍♂️",x0e="🤸‍♀️",k0e="🤼",E0e="🤼‍♂️",C0e="🤼‍♀️",A0e="🤽",S0e="🤽‍♂️",T0e="🤽‍♀️",O0e="🤾",M0e="🤾‍♂️",R0e="🤾‍♀️",N0e="🤹",D0e="🤹‍♂️",L0e="🤹‍♀️",I0e="🧘",P0e="🧘‍♂️",F0e="🧘‍♀️",B0e="🛀",j0e="🛌",z0e="🧑‍🤝‍🧑",$0e="👭",q0e="👫",U0e="👬",H0e="💏",V0e="👩‍❤️‍💋‍👨",G0e="👨‍❤️‍💋‍👨",K0e="👩‍❤️‍💋‍👩",W0e="💑",Z0e="👩‍❤️‍👨",Y0e="👨‍❤️‍👨",Q0e="👩‍❤️‍👩",J0e="👪",X0e="👨‍👩‍👦",ebe="👨‍👩‍👧",tbe="👨‍👩‍👧‍👦",nbe="👨‍👩‍👦‍👦",sbe="👨‍👩‍👧‍👧",obe="👨‍👨‍👦",rbe="👨‍👨‍👧",ibe="👨‍👨‍👧‍👦",abe="👨‍👨‍👦‍👦",lbe="👨‍👨‍👧‍👧",cbe="👩‍👩‍👦",ube="👩‍👩‍👧",dbe="👩‍👩‍👧‍👦",fbe="👩‍👩‍👦‍👦",hbe="👩‍👩‍👧‍👧",pbe="👨‍👦",gbe="👨‍👦‍👦",mbe="👨‍👧",_be="👨‍👧‍👦",bbe="👨‍👧‍👧",ybe="👩‍👦",vbe="👩‍👦‍👦",wbe="👩‍👧",xbe="👩‍👧‍👦",kbe="👩‍👧‍👧",Ebe="🗣️",Cbe="👤",Abe="👥",Sbe="🫂",Tbe="👣",Obe="🐵",Mbe="🐒",Rbe="🦍",Nbe="🦧",Dbe="🐶",Lbe="🐕",Ibe="🦮",Pbe="🐕‍🦺",Fbe="🐩",Bbe="🐺",jbe="🦊",zbe="🦝",$be="🐱",qbe="🐈",Ube="🐈‍⬛",Hbe="🦁",Vbe="🐯",Gbe="🐅",Kbe="🐆",Wbe="🐴",Zbe="🐎",Ybe="🦄",Qbe="🦓",Jbe="🦌",Xbe="🦬",eye="🐮",tye="🐂",nye="🐃",sye="🐄",oye="🐷",rye="🐖",iye="🐗",aye="🐽",lye="🐏",cye="🐑",uye="🐐",dye="🐪",fye="🐫",hye="🦙",pye="🦒",gye="🐘",mye="🦣",_ye="🦏",bye="🦛",yye="🐭",vye="🐁",wye="🐀",xye="🐹",kye="🐰",Eye="🐇",Cye="🐿️",Aye="🦫",Sye="🦔",Tye="🦇",Oye="🐻",Mye="🐻‍❄️",Rye="🐨",Nye="🐼",Dye="🦥",Lye="🦦",Iye="🦨",Pye="🦘",Fye="🦡",Bye="🐾",jye="🐾",zye="🦃",$ye="🐔",qye="🐓",Uye="🐣",Hye="🐤",Vye="🐥",Gye="🐦",Kye="🐧",Wye="🕊️",Zye="🦅",Yye="🦆",Qye="🦢",Jye="🦉",Xye="🦤",eve="🪶",tve="🦩",nve="🦚",sve="🦜",ove="🐸",rve="🐊",ive="🐢",ave="🦎",lve="🐍",cve="🐲",uve="🐉",dve="🦕",fve="🐳",hve="🐋",pve="🐬",gve="🐬",mve="🦭",_ve="🐟",bve="🐠",yve="🐡",vve="🦈",wve="🐙",xve="🐚",kve="🐌",Eve="🦋",Cve="🐛",Ave="🐜",Sve="🐝",Tve="🐝",Ove="🪲",Mve="🐞",Rve="🦗",Nve="🪳",Dve="🕷️",Lve="🕸️",Ive="🦂",Pve="🦟",Fve="🪰",Bve="🪱",jve="🦠",zve="💐",$ve="🌸",qve="💮",Uve="🏵️",Hve="🌹",Vve="🥀",Gve="🌺",Kve="🌻",Wve="🌼",Zve="🌷",Yve="🌱",Qve="🪴",Jve="🌲",Xve="🌳",e2e="🌴",t2e="🌵",n2e="🌾",s2e="🌿",o2e="☘️",r2e="🍀",i2e="🍁",a2e="🍂",l2e="🍃",c2e="🍇",u2e="🍈",d2e="🍉",f2e="🍊",h2e="🍊",p2e="🍊",g2e="🍋",m2e="🍌",_2e="🍍",b2e="🥭",y2e="🍎",v2e="🍏",w2e="🍐",x2e="🍑",k2e="🍒",E2e="🍓",C2e="🫐",A2e="🥝",S2e="🍅",T2e="🫒",O2e="🥥",M2e="🥑",R2e="🍆",N2e="🥔",D2e="🥕",L2e="🌽",I2e="🌶️",P2e="🫑",F2e="🥒",B2e="🥬",j2e="🥦",z2e="🧄",$2e="🧅",q2e="🍄",U2e="🥜",H2e="🌰",V2e="🍞",G2e="🥐",K2e="🥖",W2e="🫓",Z2e="🥨",Y2e="🥯",Q2e="🥞",J2e="🧇",X2e="🧀",ewe="🍖",twe="🍗",nwe="🥩",swe="🥓",owe="🍔",rwe="🍟",iwe="🍕",awe="🌭",lwe="🥪",cwe="🌮",uwe="🌯",dwe="🫔",fwe="🥙",hwe="🧆",pwe="🥚",gwe="🍳",mwe="🥘",_we="🍲",bwe="🫕",ywe="🥣",vwe="🥗",wwe="🍿",xwe="🧈",kwe="🧂",Ewe="🥫",Cwe="🍱",Awe="🍘",Swe="🍙",Twe="🍚",Owe="🍛",Mwe="🍜",Rwe="🍝",Nwe="🍠",Dwe="🍢",Lwe="🍣",Iwe="🍤",Pwe="🍥",Fwe="🥮",Bwe="🍡",jwe="🥟",zwe="🥠",$we="🥡",qwe="🦀",Uwe="🦞",Hwe="🦐",Vwe="🦑",Gwe="🦪",Kwe="🍦",Wwe="🍧",Zwe="🍨",Ywe="🍩",Qwe="🍪",Jwe="🎂",Xwe="🍰",exe="🧁",txe="🥧",nxe="🍫",sxe="🍬",oxe="🍭",rxe="🍮",ixe="🍯",axe="🍼",lxe="🥛",cxe="☕",uxe="🫖",dxe="🍵",fxe="🍶",hxe="🍾",pxe="🍷",gxe="🍸",mxe="🍹",_xe="🍺",bxe="🍻",yxe="🥂",vxe="🥃",wxe="🥤",xxe="🧋",kxe="🧃",Exe="🧉",Cxe="🧊",Axe="🥢",Sxe="🍽️",Txe="🍴",Oxe="🥄",Mxe="🔪",Rxe="🔪",Nxe="🏺",Dxe="🌍",Lxe="🌎",Ixe="🌏",Pxe="🌐",Fxe="🗺️",Bxe="🗾",jxe="🧭",zxe="🏔️",$xe="⛰️",qxe="🌋",Uxe="🗻",Hxe="🏕️",Vxe="🏖️",Gxe="🏜️",Kxe="🏝️",Wxe="🏞️",Zxe="🏟️",Yxe="🏛️",Qxe="🏗️",Jxe="🧱",Xxe="🪨",eke="🪵",tke="🛖",nke="🏘️",ske="🏚️",oke="🏠",rke="🏡",ike="🏢",ake="🏣",lke="🏤",cke="🏥",uke="🏦",dke="🏨",fke="🏩",hke="🏪",pke="🏫",gke="🏬",mke="🏭",_ke="🏯",bke="🏰",yke="💒",vke="🗼",wke="🗽",xke="⛪",kke="🕌",Eke="🛕",Cke="🕍",Ake="⛩️",Ske="🕋",Tke="⛲",Oke="⛺",Mke="🌁",Rke="🌃",Nke="🏙️",Dke="🌄",Lke="🌅",Ike="🌆",Pke="🌇",Fke="🌉",Bke="♨️",jke="🎠",zke="🎡",$ke="🎢",qke="💈",Uke="🎪",Hke="🚂",Vke="🚃",Gke="🚄",Kke="🚅",Wke="🚆",Zke="🚇",Yke="🚈",Qke="🚉",Jke="🚊",Xke="🚝",eEe="🚞",tEe="🚋",nEe="🚌",sEe="🚍",oEe="🚎",rEe="🚐",iEe="🚑",aEe="🚒",lEe="🚓",cEe="🚔",uEe="🚕",dEe="🚖",fEe="🚗",hEe="🚗",pEe="🚘",gEe="🚙",mEe="🛻",_Ee="🚚",bEe="🚛",yEe="🚜",vEe="🏎️",wEe="🏍️",xEe="🛵",kEe="🦽",EEe="🦼",CEe="🛺",AEe="🚲",SEe="🛴",TEe="🛹",OEe="🛼",MEe="🚏",REe="🛣️",NEe="🛤️",DEe="🛢️",LEe="⛽",IEe="🚨",PEe="🚥",FEe="🚦",BEe="🛑",jEe="🚧",zEe="⚓",$Ee="⛵",qEe="⛵",UEe="🛶",HEe="🚤",VEe="🛳️",GEe="⛴️",KEe="🛥️",WEe="🚢",ZEe="✈️",YEe="🛩️",QEe="🛫",JEe="🛬",XEe="🪂",eCe="💺",tCe="🚁",nCe="🚟",sCe="🚠",oCe="🚡",rCe="🛰️",iCe="🚀",aCe="🛸",lCe="🛎️",cCe="🧳",uCe="⌛",dCe="⏳",fCe="⌚",hCe="⏰",pCe="⏱️",gCe="⏲️",mCe="🕰️",_Ce="🕛",bCe="🕧",yCe="🕐",vCe="🕜",wCe="🕑",xCe="🕝",kCe="🕒",ECe="🕞",CCe="🕓",ACe="🕟",SCe="🕔",TCe="🕠",OCe="🕕",MCe="🕡",RCe="🕖",NCe="🕢",DCe="🕗",LCe="🕣",ICe="🕘",PCe="🕤",FCe="🕙",BCe="🕥",jCe="🕚",zCe="🕦",$Ce="🌑",qCe="🌒",UCe="🌓",HCe="🌔",VCe="🌔",GCe="🌕",KCe="🌖",WCe="🌗",ZCe="🌘",YCe="🌙",QCe="🌚",JCe="🌛",XCe="🌜",e5e="🌡️",t5e="☀️",n5e="🌝",s5e="🌞",o5e="🪐",r5e="⭐",i5e="🌟",a5e="🌠",l5e="🌌",c5e="☁️",u5e="⛅",d5e="⛈️",f5e="🌤️",h5e="🌥️",p5e="🌦️",g5e="🌧️",m5e="🌨️",_5e="🌩️",b5e="🌪️",y5e="🌫️",v5e="🌬️",w5e="🌀",x5e="🌈",k5e="🌂",E5e="☂️",C5e="☔",A5e="⛱️",S5e="⚡",T5e="❄️",O5e="☃️",M5e="⛄",R5e="☄️",N5e="🔥",D5e="💧",L5e="🌊",I5e="🎃",P5e="🎄",F5e="🎆",B5e="🎇",j5e="🧨",z5e="✨",$5e="🎈",q5e="🎉",U5e="🎊",H5e="🎋",V5e="🎍",G5e="🎎",K5e="🎏",W5e="🎐",Z5e="🎑",Y5e="🧧",Q5e="🎀",J5e="🎁",X5e="🎗️",e4e="🎟️",t4e="🎫",n4e="🎖️",s4e="🏆",o4e="🏅",r4e="⚽",i4e="⚾",a4e="🥎",l4e="🏀",c4e="🏐",u4e="🏈",d4e="🏉",f4e="🎾",h4e="🥏",p4e="🎳",g4e="🏏",m4e="🏑",_4e="🏒",b4e="🥍",y4e="🏓",v4e="🏸",w4e="🥊",x4e="🥋",k4e="🥅",E4e="⛳",C4e="⛸️",A4e="🎣",S4e="🤿",T4e="🎽",O4e="🎿",M4e="🛷",R4e="🥌",N4e="🎯",D4e="🪀",L4e="🪁",I4e="🔮",P4e="🪄",F4e="🧿",B4e="🎮",j4e="🕹️",z4e="🎰",$4e="🎲",q4e="🧩",U4e="🧸",H4e="🪅",V4e="🪆",G4e="♠️",K4e="♥️",W4e="♦️",Z4e="♣️",Y4e="♟️",Q4e="🃏",J4e="🀄",X4e="🎴",eAe="🎭",tAe="🖼️",nAe="🎨",sAe="🧵",oAe="🪡",rAe="🧶",iAe="🪢",aAe="👓",lAe="🕶️",cAe="🥽",uAe="🥼",dAe="🦺",fAe="👔",hAe="👕",pAe="👕",gAe="👖",mAe="🧣",_Ae="🧤",bAe="🧥",yAe="🧦",vAe="👗",wAe="👘",xAe="🥻",kAe="🩱",EAe="🩲",CAe="🩳",AAe="👙",SAe="👚",TAe="👛",OAe="👜",MAe="👝",RAe="🛍️",NAe="🎒",DAe="🩴",LAe="👞",IAe="👞",PAe="👟",FAe="🥾",BAe="🥿",jAe="👠",zAe="👡",$Ae="🩰",qAe="👢",UAe="👑",HAe="👒",VAe="🎩",GAe="🎓",KAe="🧢",WAe="🪖",ZAe="⛑️",YAe="📿",QAe="💄",JAe="💍",XAe="💎",e3e="🔇",t3e="🔈",n3e="🔉",s3e="🔊",o3e="📢",r3e="📣",i3e="📯",a3e="🔔",l3e="🔕",c3e="🎼",u3e="🎵",d3e="🎶",f3e="🎙️",h3e="🎚️",p3e="🎛️",g3e="🎤",m3e="🎧",_3e="📻",b3e="🎷",y3e="🪗",v3e="🎸",w3e="🎹",x3e="🎺",k3e="🎻",E3e="🪕",C3e="🥁",A3e="🪘",S3e="📱",T3e="📲",O3e="☎️",M3e="☎️",R3e="📞",N3e="📟",D3e="📠",L3e="🔋",I3e="🔌",P3e="💻",F3e="🖥️",B3e="🖨️",j3e="⌨️",z3e="🖱️",$3e="🖲️",q3e="💽",U3e="💾",H3e="💿",V3e="📀",G3e="🧮",K3e="🎥",W3e="🎞️",Z3e="📽️",Y3e="🎬",Q3e="📺",J3e="📷",X3e="📸",eSe="📹",tSe="📼",nSe="🔍",sSe="🔎",oSe="🕯️",rSe="💡",iSe="🔦",aSe="🏮",lSe="🏮",cSe="🪔",uSe="📔",dSe="📕",fSe="📖",hSe="📖",pSe="📗",gSe="📘",mSe="📙",_Se="📚",bSe="📓",ySe="📒",vSe="📃",wSe="📜",xSe="📄",kSe="📰",ESe="🗞️",CSe="📑",ASe="🔖",SSe="🏷️",TSe="💰",OSe="🪙",MSe="💴",RSe="💵",NSe="💶",DSe="💷",LSe="💸",ISe="💳",PSe="🧾",FSe="💹",BSe="✉️",jSe="📧",zSe="📨",$Se="📩",qSe="📤",USe="📥",HSe="📫",VSe="📪",GSe="📬",KSe="📭",WSe="📮",ZSe="🗳️",YSe="✏️",QSe="✒️",JSe="🖋️",XSe="🖊️",eTe="🖌️",tTe="🖍️",nTe="📝",sTe="📝",oTe="💼",rTe="📁",iTe="📂",aTe="🗂️",lTe="📅",cTe="📆",uTe="🗒️",dTe="🗓️",fTe="📇",hTe="📈",pTe="📉",gTe="📊",mTe="📋",_Te="📌",bTe="📍",yTe="📎",vTe="🖇️",wTe="📏",xTe="📐",kTe="✂️",ETe="🗃️",CTe="🗄️",ATe="🗑️",STe="🔒",TTe="🔓",OTe="🔏",MTe="🔐",RTe="🔑",NTe="🗝️",DTe="🔨",LTe="🪓",ITe="⛏️",PTe="⚒️",FTe="🛠️",BTe="🗡️",jTe="⚔️",zTe="🔫",$Te="🪃",qTe="🏹",UTe="🛡️",HTe="🪚",VTe="🔧",GTe="🪛",KTe="🔩",WTe="⚙️",ZTe="🗜️",YTe="⚖️",QTe="🦯",JTe="🔗",XTe="⛓️",e8e="🪝",t8e="🧰",n8e="🧲",s8e="🪜",o8e="⚗️",r8e="🧪",i8e="🧫",a8e="🧬",l8e="🔬",c8e="🔭",u8e="📡",d8e="💉",f8e="🩸",h8e="💊",p8e="🩹",g8e="🩺",m8e="🚪",_8e="🛗",b8e="🪞",y8e="🪟",v8e="🛏️",w8e="🛋️",x8e="🪑",k8e="🚽",E8e="🪠",C8e="🚿",A8e="🛁",S8e="🪤",T8e="🪒",O8e="🧴",M8e="🧷",R8e="🧹",N8e="🧺",D8e="🧻",L8e="🪣",I8e="🧼",P8e="🪥",F8e="🧽",B8e="🧯",j8e="🛒",z8e="🚬",$8e="⚰️",q8e="🪦",U8e="⚱️",H8e="🗿",V8e="🪧",G8e="🏧",K8e="🚮",W8e="🚰",Z8e="♿",Y8e="🚹",Q8e="🚺",J8e="🚻",X8e="🚼",e9e="🚾",t9e="🛂",n9e="🛃",s9e="🛄",o9e="🛅",r9e="⚠️",i9e="🚸",a9e="⛔",l9e="🚫",c9e="🚳",u9e="🚭",d9e="🚯",f9e="🚷",h9e="📵",p9e="🔞",g9e="☢️",m9e="☣️",_9e="⬆️",b9e="↗️",y9e="➡️",v9e="↘️",w9e="⬇️",x9e="↙️",k9e="⬅️",E9e="↖️",C9e="↕️",A9e="↔️",S9e="↩️",T9e="↪️",O9e="⤴️",M9e="⤵️",R9e="🔃",N9e="🔄",D9e="🔙",L9e="🔚",I9e="🔛",P9e="🔜",F9e="🔝",B9e="🛐",j9e="⚛️",z9e="🕉️",$9e="✡️",q9e="☸️",U9e="☯️",H9e="✝️",V9e="☦️",G9e="☪️",K9e="☮️",W9e="🕎",Z9e="🔯",Y9e="♈",Q9e="♉",J9e="♊",X9e="♋",e6e="♌",t6e="♍",n6e="♎",s6e="♏",o6e="♐",r6e="♑",i6e="♒",a6e="♓",l6e="⛎",c6e="🔀",u6e="🔁",d6e="🔂",f6e="▶️",h6e="⏩",p6e="⏭️",g6e="⏯️",m6e="◀️",_6e="⏪",b6e="⏮️",y6e="🔼",v6e="⏫",w6e="🔽",x6e="⏬",k6e="⏸️",E6e="⏹️",C6e="⏺️",A6e="⏏️",S6e="🎦",T6e="🔅",O6e="🔆",M6e="📶",R6e="📳",N6e="📴",D6e="♀️",L6e="♂️",I6e="⚧️",P6e="✖️",F6e="➕",B6e="➖",j6e="➗",z6e="♾️",$6e="‼️",q6e="⁉️",U6e="❓",H6e="❔",V6e="❕",G6e="❗",K6e="❗",W6e="〰️",Z6e="💱",Y6e="💲",Q6e="⚕️",J6e="♻️",X6e="⚜️",eOe="🔱",tOe="📛",nOe="🔰",sOe="⭕",oOe="✅",rOe="☑️",iOe="✔️",aOe="❌",lOe="❎",cOe="➰",uOe="➿",dOe="〽️",fOe="✳️",hOe="✴️",pOe="❇️",gOe="©️",mOe="®️",_Oe="™️",bOe="#️⃣",yOe="*️⃣",vOe="0️⃣",wOe="1️⃣",xOe="2️⃣",kOe="3️⃣",EOe="4️⃣",COe="5️⃣",AOe="6️⃣",SOe="7️⃣",TOe="8️⃣",OOe="9️⃣",MOe="🔟",ROe="🔠",NOe="🔡",DOe="🔣",LOe="🔤",IOe="🅰️",POe="🆎",FOe="🅱️",BOe="🆑",jOe="🆒",zOe="🆓",$Oe="ℹ️",qOe="🆔",UOe="Ⓜ️",HOe="🆖",VOe="🅾️",GOe="🆗",KOe="🅿️",WOe="🆘",ZOe="🆙",YOe="🆚",QOe="🈁",JOe="🈂️",XOe="🉐",eMe="🉑",tMe="㊗️",nMe="㊙️",sMe="🈵",oMe="🔴",rMe="🟠",iMe="🟡",aMe="🟢",lMe="🔵",cMe="🟣",uMe="🟤",dMe="⚫",fMe="⚪",hMe="🟥",pMe="🟧",gMe="🟨",mMe="🟩",_Me="🟦",bMe="🟪",yMe="🟫",vMe="⬛",wMe="⬜",xMe="◼️",kMe="◻️",EMe="◾",CMe="◽",AMe="▪️",SMe="▫️",TMe="🔶",OMe="🔷",MMe="🔸",RMe="🔹",NMe="🔺",DMe="🔻",LMe="💠",IMe="🔘",PMe="🔳",FMe="🔲",BMe="🏁",jMe="🚩",zMe="🎌",$Me="🏴",qMe="🏳️",UMe="🏳️‍🌈",HMe="🏳️‍⚧️",VMe="🏴‍☠️",GMe="🇦🇨",KMe="🇦🇩",WMe="🇦🇪",ZMe="🇦🇫",YMe="🇦🇬",QMe="🇦🇮",JMe="🇦🇱",XMe="🇦🇲",eRe="🇦🇴",tRe="🇦🇶",nRe="🇦🇷",sRe="🇦🇸",oRe="🇦🇹",rRe="🇦🇺",iRe="🇦🇼",aRe="🇦🇽",lRe="🇦🇿",cRe="🇧🇦",uRe="🇧🇧",dRe="🇧🇩",fRe="🇧🇪",hRe="🇧🇫",pRe="🇧🇬",gRe="🇧🇭",mRe="🇧🇮",_Re="🇧🇯",bRe="🇧🇱",yRe="🇧🇲",vRe="🇧🇳",wRe="🇧🇴",xRe="🇧🇶",kRe="🇧🇷",ERe="🇧🇸",CRe="🇧🇹",ARe="🇧🇻",SRe="🇧🇼",TRe="🇧🇾",ORe="🇧🇿",MRe="🇨🇦",RRe="🇨🇨",NRe="🇨🇩",DRe="🇨🇫",LRe="🇨🇬",IRe="🇨🇭",PRe="🇨🇮",FRe="🇨🇰",BRe="🇨🇱",jRe="🇨🇲",zRe="🇨🇳",$Re="🇨🇴",qRe="🇨🇵",URe="🇨🇷",HRe="🇨🇺",VRe="🇨🇻",GRe="🇨🇼",KRe="🇨🇽",WRe="🇨🇾",ZRe="🇨🇿",YRe="🇩🇪",QRe="🇩🇬",JRe="🇩🇯",XRe="🇩🇰",e7e="🇩🇲",t7e="🇩🇴",n7e="🇩🇿",s7e="🇪🇦",o7e="🇪🇨",r7e="🇪🇪",i7e="🇪🇬",a7e="🇪🇭",l7e="🇪🇷",c7e="🇪🇸",u7e="🇪🇹",d7e="🇪🇺",f7e="🇪🇺",h7e="🇫🇮",p7e="🇫🇯",g7e="🇫🇰",m7e="🇫🇲",_7e="🇫🇴",b7e="🇫🇷",y7e="🇬🇦",v7e="🇬🇧",w7e="🇬🇧",x7e="🇬🇩",k7e="🇬🇪",E7e="🇬🇫",C7e="🇬🇬",A7e="🇬🇭",S7e="🇬🇮",T7e="🇬🇱",O7e="🇬🇲",M7e="🇬🇳",R7e="🇬🇵",N7e="🇬🇶",D7e="🇬🇷",L7e="🇬🇸",I7e="🇬🇹",P7e="🇬🇺",F7e="🇬🇼",B7e="🇬🇾",j7e="🇭🇰",z7e="🇭🇲",$7e="🇭🇳",q7e="🇭🇷",U7e="🇭🇹",H7e="🇭🇺",V7e="🇮🇨",G7e="🇮🇩",K7e="🇮🇪",W7e="🇮🇱",Z7e="🇮🇲",Y7e="🇮🇳",Q7e="🇮🇴",J7e="🇮🇶",X7e="🇮🇷",eNe="🇮🇸",tNe="🇮🇹",nNe="🇯🇪",sNe="🇯🇲",oNe="🇯🇴",rNe="🇯🇵",iNe="🇰🇪",aNe="🇰🇬",lNe="🇰🇭",cNe="🇰🇮",uNe="🇰🇲",dNe="🇰🇳",fNe="🇰🇵",hNe="🇰🇷",pNe="🇰🇼",gNe="🇰🇾",mNe="🇰🇿",_Ne="🇱🇦",bNe="🇱🇧",yNe="🇱🇨",vNe="🇱🇮",wNe="🇱🇰",xNe="🇱🇷",kNe="🇱🇸",ENe="🇱🇹",CNe="🇱🇺",ANe="🇱🇻",SNe="🇱🇾",TNe="🇲🇦",ONe="🇲🇨",MNe="🇲🇩",RNe="🇲🇪",NNe="🇲🇫",DNe="🇲🇬",LNe="🇲🇭",INe="🇲🇰",PNe="🇲🇱",FNe="🇲🇲",BNe="🇲🇳",jNe="🇲🇴",zNe="🇲🇵",$Ne="🇲🇶",qNe="🇲🇷",UNe="🇲🇸",HNe="🇲🇹",VNe="🇲🇺",GNe="🇲🇻",KNe="🇲🇼",WNe="🇲🇽",ZNe="🇲🇾",YNe="🇲🇿",QNe="🇳🇦",JNe="🇳🇨",XNe="🇳🇪",eDe="🇳🇫",tDe="🇳🇬",nDe="🇳🇮",sDe="🇳🇱",oDe="🇳🇴",rDe="🇳🇵",iDe="🇳🇷",aDe="🇳🇺",lDe="🇳🇿",cDe="🇴🇲",uDe="🇵🇦",dDe="🇵🇪",fDe="🇵🇫",hDe="🇵🇬",pDe="🇵🇭",gDe="🇵🇰",mDe="🇵🇱",_De="🇵🇲",bDe="🇵🇳",yDe="🇵🇷",vDe="🇵🇸",wDe="🇵🇹",xDe="🇵🇼",kDe="🇵🇾",EDe="🇶🇦",CDe="🇷🇪",ADe="🇷🇴",SDe="🇷🇸",TDe="🇷🇺",ODe="🇷🇼",MDe="🇸🇦",RDe="🇸🇧",NDe="🇸🇨",DDe="🇸🇩",LDe="🇸🇪",IDe="🇸🇬",PDe="🇸🇭",FDe="🇸🇮",BDe="🇸🇯",jDe="🇸🇰",zDe="🇸🇱",$De="🇸🇲",qDe="🇸🇳",UDe="🇸🇴",HDe="🇸🇷",VDe="🇸🇸",GDe="🇸🇹",KDe="🇸🇻",WDe="🇸🇽",ZDe="🇸🇾",YDe="🇸🇿",QDe="🇹🇦",JDe="🇹🇨",XDe="🇹🇩",eLe="🇹🇫",tLe="🇹🇬",nLe="🇹🇭",sLe="🇹🇯",oLe="🇹🇰",rLe="🇹🇱",iLe="🇹🇲",aLe="🇹🇳",lLe="🇹🇴",cLe="🇹🇷",uLe="🇹🇹",dLe="🇹🇻",fLe="🇹🇼",hLe="🇹🇿",pLe="🇺🇦",gLe="🇺🇬",mLe="🇺🇲",_Le="🇺🇳",bLe="🇺🇸",yLe="🇺🇾",vLe="🇺🇿",wLe="🇻🇦",xLe="🇻🇨",kLe="🇻🇪",ELe="🇻🇬",CLe="🇻🇮",ALe="🇻🇳",SLe="🇻🇺",TLe="🇼🇫",OLe="🇼🇸",MLe="🇽🇰",RLe="🇾🇪",NLe="🇾🇹",DLe="🇿🇦",LLe="🇿🇲",ILe="🇿🇼",PLe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",FLe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",BLe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",jLe={100:"💯",1234:"🔢",grinning:Yue,smiley:Que,smile:Jue,grin:Xue,laughing:ede,satisfied:tde,sweat_smile:nde,rofl:sde,joy:ode,slightly_smiling_face:rde,upside_down_face:ide,wink:ade,blush:lde,innocent:cde,smiling_face_with_three_hearts:ude,heart_eyes:dde,star_struck:fde,kissing_heart:hde,kissing:pde,relaxed:gde,kissing_closed_eyes:mde,kissing_smiling_eyes:_de,smiling_face_with_tear:bde,yum:yde,stuck_out_tongue:vde,stuck_out_tongue_winking_eye:wde,zany_face:xde,stuck_out_tongue_closed_eyes:kde,money_mouth_face:Ede,hugs:Cde,hand_over_mouth:Ade,shushing_face:Sde,thinking:Tde,zipper_mouth_face:Ode,raised_eyebrow:Mde,neutral_face:Rde,expressionless:Nde,no_mouth:Dde,smirk:Lde,unamused:Ide,roll_eyes:Pde,grimacing:Fde,lying_face:Bde,relieved:jde,pensive:zde,sleepy:$de,drooling_face:qde,sleeping:Ude,mask:Hde,face_with_thermometer:Vde,face_with_head_bandage:Gde,nauseated_face:Kde,vomiting_face:Wde,sneezing_face:Zde,hot_face:Yde,cold_face:Qde,woozy_face:Jde,dizzy_face:Xde,exploding_head:efe,cowboy_hat_face:tfe,partying_face:nfe,disguised_face:sfe,sunglasses:ofe,nerd_face:rfe,monocle_face:ife,confused:afe,worried:lfe,slightly_frowning_face:cfe,frowning_face:ufe,open_mouth:dfe,hushed:ffe,astonished:hfe,flushed:pfe,pleading_face:gfe,frowning:mfe,anguished:_fe,fearful:bfe,cold_sweat:yfe,disappointed_relieved:vfe,cry:wfe,sob:xfe,scream:kfe,confounded:Efe,persevere:Cfe,disappointed:Afe,sweat:Sfe,weary:Tfe,tired_face:Ofe,yawning_face:Mfe,triumph:Rfe,rage:Nfe,pout:Dfe,angry:Lfe,cursing_face:Ife,smiling_imp:Pfe,imp:Ffe,skull:Bfe,skull_and_crossbones:jfe,hankey:zfe,poop:$fe,shit:qfe,clown_face:Ufe,japanese_ogre:Hfe,japanese_goblin:Vfe,ghost:Gfe,alien:Kfe,space_invader:Wfe,robot:Zfe,smiley_cat:Yfe,smile_cat:Qfe,joy_cat:Jfe,heart_eyes_cat:Xfe,smirk_cat:ehe,kissing_cat:the,scream_cat:nhe,crying_cat_face:she,pouting_cat:ohe,see_no_evil:rhe,hear_no_evil:ihe,speak_no_evil:ahe,kiss:lhe,love_letter:che,cupid:uhe,gift_heart:dhe,sparkling_heart:fhe,heartpulse:hhe,heartbeat:phe,revolving_hearts:ghe,two_hearts:mhe,heart_decoration:_he,heavy_heart_exclamation:bhe,broken_heart:yhe,heart:vhe,orange_heart:whe,yellow_heart:xhe,green_heart:khe,blue_heart:Ehe,purple_heart:Che,brown_heart:Ahe,black_heart:She,white_heart:The,anger:Ohe,boom:Mhe,collision:Rhe,dizzy:Nhe,sweat_drops:Dhe,dash:Lhe,hole:Ihe,bomb:Phe,speech_balloon:Fhe,eye_speech_bubble:Bhe,left_speech_bubble:jhe,right_anger_bubble:zhe,thought_balloon:$he,zzz:qhe,wave:Uhe,raised_back_of_hand:Hhe,raised_hand_with_fingers_splayed:Vhe,hand:Ghe,raised_hand:Khe,vulcan_salute:Whe,ok_hand:Zhe,pinched_fingers:Yhe,pinching_hand:Qhe,v:Jhe,crossed_fingers:Xhe,love_you_gesture:epe,metal:tpe,call_me_hand:npe,point_left:spe,point_right:ope,point_up_2:rpe,middle_finger:ipe,fu:ape,point_down:lpe,point_up:cpe,"+1":"👍",thumbsup:upe,"-1":"👎",thumbsdown:dpe,fist_raised:fpe,fist:hpe,fist_oncoming:ppe,facepunch:gpe,punch:mpe,fist_left:_pe,fist_right:bpe,clap:ype,raised_hands:vpe,open_hands:wpe,palms_up_together:xpe,handshake:kpe,pray:Epe,writing_hand:Cpe,nail_care:Ape,selfie:Spe,muscle:Tpe,mechanical_arm:Ope,mechanical_leg:Mpe,leg:Rpe,foot:Npe,ear:Dpe,ear_with_hearing_aid:Lpe,nose:Ipe,brain:Ppe,anatomical_heart:Fpe,lungs:Bpe,tooth:jpe,bone:zpe,eyes:$pe,eye:qpe,tongue:Upe,lips:Hpe,baby:Vpe,child:Gpe,boy:Kpe,girl:Wpe,adult:Zpe,blond_haired_person:Ype,man:Qpe,bearded_person:Jpe,red_haired_man:Xpe,curly_haired_man:ege,white_haired_man:tge,bald_man:nge,woman:sge,red_haired_woman:oge,person_red_hair:rge,curly_haired_woman:ige,person_curly_hair:age,white_haired_woman:lge,person_white_hair:cge,bald_woman:uge,person_bald:dge,blond_haired_woman:fge,blonde_woman:hge,blond_haired_man:pge,older_adult:gge,older_man:mge,older_woman:_ge,frowning_person:bge,frowning_man:yge,frowning_woman:vge,pouting_face:wge,pouting_man:xge,pouting_woman:kge,no_good:Ege,no_good_man:Cge,ng_man:Age,no_good_woman:Sge,ng_woman:Tge,ok_person:Oge,ok_man:Mge,ok_woman:Rge,tipping_hand_person:Nge,information_desk_person:Dge,tipping_hand_man:Lge,sassy_man:Ige,tipping_hand_woman:Pge,sassy_woman:Fge,raising_hand:Bge,raising_hand_man:jge,raising_hand_woman:zge,deaf_person:$ge,deaf_man:qge,deaf_woman:Uge,bow:Hge,bowing_man:Vge,bowing_woman:Gge,facepalm:Kge,man_facepalming:Wge,woman_facepalming:Zge,shrug:Yge,man_shrugging:Qge,woman_shrugging:Jge,health_worker:Xge,man_health_worker:eme,woman_health_worker:tme,student:nme,man_student:sme,woman_student:ome,teacher:rme,man_teacher:ime,woman_teacher:ame,judge:lme,man_judge:cme,woman_judge:ume,farmer:dme,man_farmer:fme,woman_farmer:hme,cook:pme,man_cook:gme,woman_cook:mme,mechanic:_me,man_mechanic:bme,woman_mechanic:yme,factory_worker:vme,man_factory_worker:wme,woman_factory_worker:xme,office_worker:kme,man_office_worker:Eme,woman_office_worker:Cme,scientist:Ame,man_scientist:Sme,woman_scientist:Tme,technologist:Ome,man_technologist:Mme,woman_technologist:Rme,singer:Nme,man_singer:Dme,woman_singer:Lme,artist:Ime,man_artist:Pme,woman_artist:Fme,pilot:Bme,man_pilot:jme,woman_pilot:zme,astronaut:$me,man_astronaut:qme,woman_astronaut:Ume,firefighter:Hme,man_firefighter:Vme,woman_firefighter:Gme,police_officer:Kme,cop:Wme,policeman:Zme,policewoman:Yme,detective:Qme,male_detective:Jme,female_detective:Xme,guard:e_e,guardsman:t_e,guardswoman:n_e,ninja:s_e,construction_worker:o_e,construction_worker_man:r_e,construction_worker_woman:i_e,prince:a_e,princess:l_e,person_with_turban:c_e,man_with_turban:u_e,woman_with_turban:d_e,man_with_gua_pi_mao:f_e,woman_with_headscarf:h_e,person_in_tuxedo:p_e,man_in_tuxedo:g_e,woman_in_tuxedo:m_e,person_with_veil:__e,man_with_veil:b_e,woman_with_veil:y_e,bride_with_veil:v_e,pregnant_woman:w_e,breast_feeding:x_e,woman_feeding_baby:k_e,man_feeding_baby:E_e,person_feeding_baby:C_e,angel:A_e,santa:S_e,mrs_claus:T_e,mx_claus:O_e,superhero:M_e,superhero_man:R_e,superhero_woman:N_e,supervillain:D_e,supervillain_man:L_e,supervillain_woman:I_e,mage:P_e,mage_man:F_e,mage_woman:B_e,fairy:j_e,fairy_man:z_e,fairy_woman:$_e,vampire:q_e,vampire_man:U_e,vampire_woman:H_e,merperson:V_e,merman:G_e,mermaid:K_e,elf:W_e,elf_man:Z_e,elf_woman:Y_e,genie:Q_e,genie_man:J_e,genie_woman:X_e,zombie:e1e,zombie_man:t1e,zombie_woman:n1e,massage:s1e,massage_man:o1e,massage_woman:r1e,haircut:i1e,haircut_man:a1e,haircut_woman:l1e,walking:c1e,walking_man:u1e,walking_woman:d1e,standing_person:f1e,standing_man:h1e,standing_woman:p1e,kneeling_person:g1e,kneeling_man:m1e,kneeling_woman:_1e,person_with_probing_cane:b1e,man_with_probing_cane:y1e,woman_with_probing_cane:v1e,person_in_motorized_wheelchair:w1e,man_in_motorized_wheelchair:x1e,woman_in_motorized_wheelchair:k1e,person_in_manual_wheelchair:E1e,man_in_manual_wheelchair:C1e,woman_in_manual_wheelchair:A1e,runner:S1e,running:T1e,running_man:O1e,running_woman:M1e,woman_dancing:R1e,dancer:N1e,man_dancing:D1e,business_suit_levitating:L1e,dancers:I1e,dancing_men:P1e,dancing_women:F1e,sauna_person:B1e,sauna_man:j1e,sauna_woman:z1e,climbing:$1e,climbing_man:q1e,climbing_woman:U1e,person_fencing:H1e,horse_racing:V1e,skier:G1e,snowboarder:K1e,golfing:W1e,golfing_man:Z1e,golfing_woman:Y1e,surfer:Q1e,surfing_man:J1e,surfing_woman:X1e,rowboat:e0e,rowing_man:t0e,rowing_woman:n0e,swimmer:s0e,swimming_man:o0e,swimming_woman:r0e,bouncing_ball_person:i0e,bouncing_ball_man:a0e,basketball_man:l0e,bouncing_ball_woman:c0e,basketball_woman:u0e,weight_lifting:d0e,weight_lifting_man:f0e,weight_lifting_woman:h0e,bicyclist:p0e,biking_man:g0e,biking_woman:m0e,mountain_bicyclist:_0e,mountain_biking_man:b0e,mountain_biking_woman:y0e,cartwheeling:v0e,man_cartwheeling:w0e,woman_cartwheeling:x0e,wrestling:k0e,men_wrestling:E0e,women_wrestling:C0e,water_polo:A0e,man_playing_water_polo:S0e,woman_playing_water_polo:T0e,handball_person:O0e,man_playing_handball:M0e,woman_playing_handball:R0e,juggling_person:N0e,man_juggling:D0e,woman_juggling:L0e,lotus_position:I0e,lotus_position_man:P0e,lotus_position_woman:F0e,bath:B0e,sleeping_bed:j0e,people_holding_hands:z0e,two_women_holding_hands:$0e,couple:q0e,two_men_holding_hands:U0e,couplekiss:H0e,couplekiss_man_woman:V0e,couplekiss_man_man:G0e,couplekiss_woman_woman:K0e,couple_with_heart:W0e,couple_with_heart_woman_man:Z0e,couple_with_heart_man_man:Y0e,couple_with_heart_woman_woman:Q0e,family:J0e,family_man_woman_boy:X0e,family_man_woman_girl:ebe,family_man_woman_girl_boy:tbe,family_man_woman_boy_boy:nbe,family_man_woman_girl_girl:sbe,family_man_man_boy:obe,family_man_man_girl:rbe,family_man_man_girl_boy:ibe,family_man_man_boy_boy:abe,family_man_man_girl_girl:lbe,family_woman_woman_boy:cbe,family_woman_woman_girl:ube,family_woman_woman_girl_boy:dbe,family_woman_woman_boy_boy:fbe,family_woman_woman_girl_girl:hbe,family_man_boy:pbe,family_man_boy_boy:gbe,family_man_girl:mbe,family_man_girl_boy:_be,family_man_girl_girl:bbe,family_woman_boy:ybe,family_woman_boy_boy:vbe,family_woman_girl:wbe,family_woman_girl_boy:xbe,family_woman_girl_girl:kbe,speaking_head:Ebe,bust_in_silhouette:Cbe,busts_in_silhouette:Abe,people_hugging:Sbe,footprints:Tbe,monkey_face:Obe,monkey:Mbe,gorilla:Rbe,orangutan:Nbe,dog:Dbe,dog2:Lbe,guide_dog:Ibe,service_dog:Pbe,poodle:Fbe,wolf:Bbe,fox_face:jbe,raccoon:zbe,cat:$be,cat2:qbe,black_cat:Ube,lion:Hbe,tiger:Vbe,tiger2:Gbe,leopard:Kbe,horse:Wbe,racehorse:Zbe,unicorn:Ybe,zebra:Qbe,deer:Jbe,bison:Xbe,cow:eye,ox:tye,water_buffalo:nye,cow2:sye,pig:oye,pig2:rye,boar:iye,pig_nose:aye,ram:lye,sheep:cye,goat:uye,dromedary_camel:dye,camel:fye,llama:hye,giraffe:pye,elephant:gye,mammoth:mye,rhinoceros:_ye,hippopotamus:bye,mouse:yye,mouse2:vye,rat:wye,hamster:xye,rabbit:kye,rabbit2:Eye,chipmunk:Cye,beaver:Aye,hedgehog:Sye,bat:Tye,bear:Oye,polar_bear:Mye,koala:Rye,panda_face:Nye,sloth:Dye,otter:Lye,skunk:Iye,kangaroo:Pye,badger:Fye,feet:Bye,paw_prints:jye,turkey:zye,chicken:$ye,rooster:qye,hatching_chick:Uye,baby_chick:Hye,hatched_chick:Vye,bird:Gye,penguin:Kye,dove:Wye,eagle:Zye,duck:Yye,swan:Qye,owl:Jye,dodo:Xye,feather:eve,flamingo:tve,peacock:nve,parrot:sve,frog:ove,crocodile:rve,turtle:ive,lizard:ave,snake:lve,dragon_face:cve,dragon:uve,sauropod:dve,"t-rex":"🦖",whale:fve,whale2:hve,dolphin:pve,flipper:gve,seal:mve,fish:_ve,tropical_fish:bve,blowfish:yve,shark:vve,octopus:wve,shell:xve,snail:kve,butterfly:Eve,bug:Cve,ant:Ave,bee:Sve,honeybee:Tve,beetle:Ove,lady_beetle:Mve,cricket:Rve,cockroach:Nve,spider:Dve,spider_web:Lve,scorpion:Ive,mosquito:Pve,fly:Fve,worm:Bve,microbe:jve,bouquet:zve,cherry_blossom:$ve,white_flower:qve,rosette:Uve,rose:Hve,wilted_flower:Vve,hibiscus:Gve,sunflower:Kve,blossom:Wve,tulip:Zve,seedling:Yve,potted_plant:Qve,evergreen_tree:Jve,deciduous_tree:Xve,palm_tree:e2e,cactus:t2e,ear_of_rice:n2e,herb:s2e,shamrock:o2e,four_leaf_clover:r2e,maple_leaf:i2e,fallen_leaf:a2e,leaves:l2e,grapes:c2e,melon:u2e,watermelon:d2e,tangerine:f2e,orange:h2e,mandarin:p2e,lemon:g2e,banana:m2e,pineapple:_2e,mango:b2e,apple:y2e,green_apple:v2e,pear:w2e,peach:x2e,cherries:k2e,strawberry:E2e,blueberries:C2e,kiwi_fruit:A2e,tomato:S2e,olive:T2e,coconut:O2e,avocado:M2e,eggplant:R2e,potato:N2e,carrot:D2e,corn:L2e,hot_pepper:I2e,bell_pepper:P2e,cucumber:F2e,leafy_green:B2e,broccoli:j2e,garlic:z2e,onion:$2e,mushroom:q2e,peanuts:U2e,chestnut:H2e,bread:V2e,croissant:G2e,baguette_bread:K2e,flatbread:W2e,pretzel:Z2e,bagel:Y2e,pancakes:Q2e,waffle:J2e,cheese:X2e,meat_on_bone:ewe,poultry_leg:twe,cut_of_meat:nwe,bacon:swe,hamburger:owe,fries:rwe,pizza:iwe,hotdog:awe,sandwich:lwe,taco:cwe,burrito:uwe,tamale:dwe,stuffed_flatbread:fwe,falafel:hwe,egg:pwe,fried_egg:gwe,shallow_pan_of_food:mwe,stew:_we,fondue:bwe,bowl_with_spoon:ywe,green_salad:vwe,popcorn:wwe,butter:xwe,salt:kwe,canned_food:Ewe,bento:Cwe,rice_cracker:Awe,rice_ball:Swe,rice:Twe,curry:Owe,ramen:Mwe,spaghetti:Rwe,sweet_potato:Nwe,oden:Dwe,sushi:Lwe,fried_shrimp:Iwe,fish_cake:Pwe,moon_cake:Fwe,dango:Bwe,dumpling:jwe,fortune_cookie:zwe,takeout_box:$we,crab:qwe,lobster:Uwe,shrimp:Hwe,squid:Vwe,oyster:Gwe,icecream:Kwe,shaved_ice:Wwe,ice_cream:Zwe,doughnut:Ywe,cookie:Qwe,birthday:Jwe,cake:Xwe,cupcake:exe,pie:txe,chocolate_bar:nxe,candy:sxe,lollipop:oxe,custard:rxe,honey_pot:ixe,baby_bottle:axe,milk_glass:lxe,coffee:cxe,teapot:uxe,tea:dxe,sake:fxe,champagne:hxe,wine_glass:pxe,cocktail:gxe,tropical_drink:mxe,beer:_xe,beers:bxe,clinking_glasses:yxe,tumbler_glass:vxe,cup_with_straw:wxe,bubble_tea:xxe,beverage_box:kxe,mate:Exe,ice_cube:Cxe,chopsticks:Axe,plate_with_cutlery:Sxe,fork_and_knife:Txe,spoon:Oxe,hocho:Mxe,knife:Rxe,amphora:Nxe,earth_africa:Dxe,earth_americas:Lxe,earth_asia:Ixe,globe_with_meridians:Pxe,world_map:Fxe,japan:Bxe,compass:jxe,mountain_snow:zxe,mountain:$xe,volcano:qxe,mount_fuji:Uxe,camping:Hxe,beach_umbrella:Vxe,desert:Gxe,desert_island:Kxe,national_park:Wxe,stadium:Zxe,classical_building:Yxe,building_construction:Qxe,bricks:Jxe,rock:Xxe,wood:eke,hut:tke,houses:nke,derelict_house:ske,house:oke,house_with_garden:rke,office:ike,post_office:ake,european_post_office:lke,hospital:cke,bank:uke,hotel:dke,love_hotel:fke,convenience_store:hke,school:pke,department_store:gke,factory:mke,japanese_castle:_ke,european_castle:bke,wedding:yke,tokyo_tower:vke,statue_of_liberty:wke,church:xke,mosque:kke,hindu_temple:Eke,synagogue:Cke,shinto_shrine:Ake,kaaba:Ske,fountain:Tke,tent:Oke,foggy:Mke,night_with_stars:Rke,cityscape:Nke,sunrise_over_mountains:Dke,sunrise:Lke,city_sunset:Ike,city_sunrise:Pke,bridge_at_night:Fke,hotsprings:Bke,carousel_horse:jke,ferris_wheel:zke,roller_coaster:$ke,barber:qke,circus_tent:Uke,steam_locomotive:Hke,railway_car:Vke,bullettrain_side:Gke,bullettrain_front:Kke,train2:Wke,metro:Zke,light_rail:Yke,station:Qke,tram:Jke,monorail:Xke,mountain_railway:eEe,train:tEe,bus:nEe,oncoming_bus:sEe,trolleybus:oEe,minibus:rEe,ambulance:iEe,fire_engine:aEe,police_car:lEe,oncoming_police_car:cEe,taxi:uEe,oncoming_taxi:dEe,car:fEe,red_car:hEe,oncoming_automobile:pEe,blue_car:gEe,pickup_truck:mEe,truck:_Ee,articulated_lorry:bEe,tractor:yEe,racing_car:vEe,motorcycle:wEe,motor_scooter:xEe,manual_wheelchair:kEe,motorized_wheelchair:EEe,auto_rickshaw:CEe,bike:AEe,kick_scooter:SEe,skateboard:TEe,roller_skate:OEe,busstop:MEe,motorway:REe,railway_track:NEe,oil_drum:DEe,fuelpump:LEe,rotating_light:IEe,traffic_light:PEe,vertical_traffic_light:FEe,stop_sign:BEe,construction:jEe,anchor:zEe,boat:$Ee,sailboat:qEe,canoe:UEe,speedboat:HEe,passenger_ship:VEe,ferry:GEe,motor_boat:KEe,ship:WEe,airplane:ZEe,small_airplane:YEe,flight_departure:QEe,flight_arrival:JEe,parachute:XEe,seat:eCe,helicopter:tCe,suspension_railway:nCe,mountain_cableway:sCe,aerial_tramway:oCe,artificial_satellite:rCe,rocket:iCe,flying_saucer:aCe,bellhop_bell:lCe,luggage:cCe,hourglass:uCe,hourglass_flowing_sand:dCe,watch:fCe,alarm_clock:hCe,stopwatch:pCe,timer_clock:gCe,mantelpiece_clock:mCe,clock12:_Ce,clock1230:bCe,clock1:yCe,clock130:vCe,clock2:wCe,clock230:xCe,clock3:kCe,clock330:ECe,clock4:CCe,clock430:ACe,clock5:SCe,clock530:TCe,clock6:OCe,clock630:MCe,clock7:RCe,clock730:NCe,clock8:DCe,clock830:LCe,clock9:ICe,clock930:PCe,clock10:FCe,clock1030:BCe,clock11:jCe,clock1130:zCe,new_moon:$Ce,waxing_crescent_moon:qCe,first_quarter_moon:UCe,moon:HCe,waxing_gibbous_moon:VCe,full_moon:GCe,waning_gibbous_moon:KCe,last_quarter_moon:WCe,waning_crescent_moon:ZCe,crescent_moon:YCe,new_moon_with_face:QCe,first_quarter_moon_with_face:JCe,last_quarter_moon_with_face:XCe,thermometer:e5e,sunny:t5e,full_moon_with_face:n5e,sun_with_face:s5e,ringed_planet:o5e,star:r5e,star2:i5e,stars:a5e,milky_way:l5e,cloud:c5e,partly_sunny:u5e,cloud_with_lightning_and_rain:d5e,sun_behind_small_cloud:f5e,sun_behind_large_cloud:h5e,sun_behind_rain_cloud:p5e,cloud_with_rain:g5e,cloud_with_snow:m5e,cloud_with_lightning:_5e,tornado:b5e,fog:y5e,wind_face:v5e,cyclone:w5e,rainbow:x5e,closed_umbrella:k5e,open_umbrella:E5e,umbrella:C5e,parasol_on_ground:A5e,zap:S5e,snowflake:T5e,snowman_with_snow:O5e,snowman:M5e,comet:R5e,fire:N5e,droplet:D5e,ocean:L5e,jack_o_lantern:I5e,christmas_tree:P5e,fireworks:F5e,sparkler:B5e,firecracker:j5e,sparkles:z5e,balloon:$5e,tada:q5e,confetti_ball:U5e,tanabata_tree:H5e,bamboo:V5e,dolls:G5e,flags:K5e,wind_chime:W5e,rice_scene:Z5e,red_envelope:Y5e,ribbon:Q5e,gift:J5e,reminder_ribbon:X5e,tickets:e4e,ticket:t4e,medal_military:n4e,trophy:s4e,medal_sports:o4e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:r4e,baseball:i4e,softball:a4e,basketball:l4e,volleyball:c4e,football:u4e,rugby_football:d4e,tennis:f4e,flying_disc:h4e,bowling:p4e,cricket_game:g4e,field_hockey:m4e,ice_hockey:_4e,lacrosse:b4e,ping_pong:y4e,badminton:v4e,boxing_glove:w4e,martial_arts_uniform:x4e,goal_net:k4e,golf:E4e,ice_skate:C4e,fishing_pole_and_fish:A4e,diving_mask:S4e,running_shirt_with_sash:T4e,ski:O4e,sled:M4e,curling_stone:R4e,dart:N4e,yo_yo:D4e,kite:L4e,"8ball":"🎱",crystal_ball:I4e,magic_wand:P4e,nazar_amulet:F4e,video_game:B4e,joystick:j4e,slot_machine:z4e,game_die:$4e,jigsaw:q4e,teddy_bear:U4e,pinata:H4e,nesting_dolls:V4e,spades:G4e,hearts:K4e,diamonds:W4e,clubs:Z4e,chess_pawn:Y4e,black_joker:Q4e,mahjong:J4e,flower_playing_cards:X4e,performing_arts:eAe,framed_picture:tAe,art:nAe,thread:sAe,sewing_needle:oAe,yarn:rAe,knot:iAe,eyeglasses:aAe,dark_sunglasses:lAe,goggles:cAe,lab_coat:uAe,safety_vest:dAe,necktie:fAe,shirt:hAe,tshirt:pAe,jeans:gAe,scarf:mAe,gloves:_Ae,coat:bAe,socks:yAe,dress:vAe,kimono:wAe,sari:xAe,one_piece_swimsuit:kAe,swim_brief:EAe,shorts:CAe,bikini:AAe,womans_clothes:SAe,purse:TAe,handbag:OAe,pouch:MAe,shopping:RAe,school_satchel:NAe,thong_sandal:DAe,mans_shoe:LAe,shoe:IAe,athletic_shoe:PAe,hiking_boot:FAe,flat_shoe:BAe,high_heel:jAe,sandal:zAe,ballet_shoes:$Ae,boot:qAe,crown:UAe,womans_hat:HAe,tophat:VAe,mortar_board:GAe,billed_cap:KAe,military_helmet:WAe,rescue_worker_helmet:ZAe,prayer_beads:YAe,lipstick:QAe,ring:JAe,gem:XAe,mute:e3e,speaker:t3e,sound:n3e,loud_sound:s3e,loudspeaker:o3e,mega:r3e,postal_horn:i3e,bell:a3e,no_bell:l3e,musical_score:c3e,musical_note:u3e,notes:d3e,studio_microphone:f3e,level_slider:h3e,control_knobs:p3e,microphone:g3e,headphones:m3e,radio:_3e,saxophone:b3e,accordion:y3e,guitar:v3e,musical_keyboard:w3e,trumpet:x3e,violin:k3e,banjo:E3e,drum:C3e,long_drum:A3e,iphone:S3e,calling:T3e,phone:O3e,telephone:M3e,telephone_receiver:R3e,pager:N3e,fax:D3e,battery:L3e,electric_plug:I3e,computer:P3e,desktop_computer:F3e,printer:B3e,keyboard:j3e,computer_mouse:z3e,trackball:$3e,minidisc:q3e,floppy_disk:U3e,cd:H3e,dvd:V3e,abacus:G3e,movie_camera:K3e,film_strip:W3e,film_projector:Z3e,clapper:Y3e,tv:Q3e,camera:J3e,camera_flash:X3e,video_camera:eSe,vhs:tSe,mag:nSe,mag_right:sSe,candle:oSe,bulb:rSe,flashlight:iSe,izakaya_lantern:aSe,lantern:lSe,diya_lamp:cSe,notebook_with_decorative_cover:uSe,closed_book:dSe,book:fSe,open_book:hSe,green_book:pSe,blue_book:gSe,orange_book:mSe,books:_Se,notebook:bSe,ledger:ySe,page_with_curl:vSe,scroll:wSe,page_facing_up:xSe,newspaper:kSe,newspaper_roll:ESe,bookmark_tabs:CSe,bookmark:ASe,label:SSe,moneybag:TSe,coin:OSe,yen:MSe,dollar:RSe,euro:NSe,pound:DSe,money_with_wings:LSe,credit_card:ISe,receipt:PSe,chart:FSe,envelope:BSe,email:jSe,"e-mail":"📧",incoming_envelope:zSe,envelope_with_arrow:$Se,outbox_tray:qSe,inbox_tray:USe,package:"📦",mailbox:HSe,mailbox_closed:VSe,mailbox_with_mail:GSe,mailbox_with_no_mail:KSe,postbox:WSe,ballot_box:ZSe,pencil2:YSe,black_nib:QSe,fountain_pen:JSe,pen:XSe,paintbrush:eTe,crayon:tTe,memo:nTe,pencil:sTe,briefcase:oTe,file_folder:rTe,open_file_folder:iTe,card_index_dividers:aTe,date:lTe,calendar:cTe,spiral_notepad:uTe,spiral_calendar:dTe,card_index:fTe,chart_with_upwards_trend:hTe,chart_with_downwards_trend:pTe,bar_chart:gTe,clipboard:mTe,pushpin:_Te,round_pushpin:bTe,paperclip:yTe,paperclips:vTe,straight_ruler:wTe,triangular_ruler:xTe,scissors:kTe,card_file_box:ETe,file_cabinet:CTe,wastebasket:ATe,lock:STe,unlock:TTe,lock_with_ink_pen:OTe,closed_lock_with_key:MTe,key:RTe,old_key:NTe,hammer:DTe,axe:LTe,pick:ITe,hammer_and_pick:PTe,hammer_and_wrench:FTe,dagger:BTe,crossed_swords:jTe,gun:zTe,boomerang:$Te,bow_and_arrow:qTe,shield:UTe,carpentry_saw:HTe,wrench:VTe,screwdriver:GTe,nut_and_bolt:KTe,gear:WTe,clamp:ZTe,balance_scale:YTe,probing_cane:QTe,link:JTe,chains:XTe,hook:e8e,toolbox:t8e,magnet:n8e,ladder:s8e,alembic:o8e,test_tube:r8e,petri_dish:i8e,dna:a8e,microscope:l8e,telescope:c8e,satellite:u8e,syringe:d8e,drop_of_blood:f8e,pill:h8e,adhesive_bandage:p8e,stethoscope:g8e,door:m8e,elevator:_8e,mirror:b8e,window:y8e,bed:v8e,couch_and_lamp:w8e,chair:x8e,toilet:k8e,plunger:E8e,shower:C8e,bathtub:A8e,mouse_trap:S8e,razor:T8e,lotion_bottle:O8e,safety_pin:M8e,broom:R8e,basket:N8e,roll_of_paper:D8e,bucket:L8e,soap:I8e,toothbrush:P8e,sponge:F8e,fire_extinguisher:B8e,shopping_cart:j8e,smoking:z8e,coffin:$8e,headstone:q8e,funeral_urn:U8e,moyai:H8e,placard:V8e,atm:G8e,put_litter_in_its_place:K8e,potable_water:W8e,wheelchair:Z8e,mens:Y8e,womens:Q8e,restroom:J8e,baby_symbol:X8e,wc:e9e,passport_control:t9e,customs:n9e,baggage_claim:s9e,left_luggage:o9e,warning:r9e,children_crossing:i9e,no_entry:a9e,no_entry_sign:l9e,no_bicycles:c9e,no_smoking:u9e,do_not_litter:d9e,"non-potable_water":"🚱",no_pedestrians:f9e,no_mobile_phones:h9e,underage:p9e,radioactive:g9e,biohazard:m9e,arrow_up:_9e,arrow_upper_right:b9e,arrow_right:y9e,arrow_lower_right:v9e,arrow_down:w9e,arrow_lower_left:x9e,arrow_left:k9e,arrow_upper_left:E9e,arrow_up_down:C9e,left_right_arrow:A9e,leftwards_arrow_with_hook:S9e,arrow_right_hook:T9e,arrow_heading_up:O9e,arrow_heading_down:M9e,arrows_clockwise:R9e,arrows_counterclockwise:N9e,back:D9e,end:L9e,on:I9e,soon:P9e,top:F9e,place_of_worship:B9e,atom_symbol:j9e,om:z9e,star_of_david:$9e,wheel_of_dharma:q9e,yin_yang:U9e,latin_cross:H9e,orthodox_cross:V9e,star_and_crescent:G9e,peace_symbol:K9e,menorah:W9e,six_pointed_star:Z9e,aries:Y9e,taurus:Q9e,gemini:J9e,cancer:X9e,leo:e6e,virgo:t6e,libra:n6e,scorpius:s6e,sagittarius:o6e,capricorn:r6e,aquarius:i6e,pisces:a6e,ophiuchus:l6e,twisted_rightwards_arrows:c6e,repeat:u6e,repeat_one:d6e,arrow_forward:f6e,fast_forward:h6e,next_track_button:p6e,play_or_pause_button:g6e,arrow_backward:m6e,rewind:_6e,previous_track_button:b6e,arrow_up_small:y6e,arrow_double_up:v6e,arrow_down_small:w6e,arrow_double_down:x6e,pause_button:k6e,stop_button:E6e,record_button:C6e,eject_button:A6e,cinema:S6e,low_brightness:T6e,high_brightness:O6e,signal_strength:M6e,vibration_mode:R6e,mobile_phone_off:N6e,female_sign:D6e,male_sign:L6e,transgender_symbol:I6e,heavy_multiplication_x:P6e,heavy_plus_sign:F6e,heavy_minus_sign:B6e,heavy_division_sign:j6e,infinity:z6e,bangbang:$6e,interrobang:q6e,question:U6e,grey_question:H6e,grey_exclamation:V6e,exclamation:G6e,heavy_exclamation_mark:K6e,wavy_dash:W6e,currency_exchange:Z6e,heavy_dollar_sign:Y6e,medical_symbol:Q6e,recycle:J6e,fleur_de_lis:X6e,trident:eOe,name_badge:tOe,beginner:nOe,o:sOe,white_check_mark:oOe,ballot_box_with_check:rOe,heavy_check_mark:iOe,x:aOe,negative_squared_cross_mark:lOe,curly_loop:cOe,loop:uOe,part_alternation_mark:dOe,eight_spoked_asterisk:fOe,eight_pointed_black_star:hOe,sparkle:pOe,copyright:gOe,registered:mOe,tm:_Oe,hash:bOe,asterisk:yOe,zero:vOe,one:wOe,two:xOe,three:kOe,four:EOe,five:COe,six:AOe,seven:SOe,eight:TOe,nine:OOe,keycap_ten:MOe,capital_abcd:ROe,abcd:NOe,symbols:DOe,abc:LOe,a:IOe,ab:POe,b:FOe,cl:BOe,cool:jOe,free:zOe,information_source:$Oe,id:qOe,m:UOe,new:"🆕",ng:HOe,o2:VOe,ok:GOe,parking:KOe,sos:WOe,up:ZOe,vs:YOe,koko:QOe,sa:JOe,ideograph_advantage:XOe,accept:eMe,congratulations:tMe,secret:nMe,u6e80:sMe,red_circle:oMe,orange_circle:rMe,yellow_circle:iMe,green_circle:aMe,large_blue_circle:lMe,purple_circle:cMe,brown_circle:uMe,black_circle:dMe,white_circle:fMe,red_square:hMe,orange_square:pMe,yellow_square:gMe,green_square:mMe,blue_square:_Me,purple_square:bMe,brown_square:yMe,black_large_square:vMe,white_large_square:wMe,black_medium_square:xMe,white_medium_square:kMe,black_medium_small_square:EMe,white_medium_small_square:CMe,black_small_square:AMe,white_small_square:SMe,large_orange_diamond:TMe,large_blue_diamond:OMe,small_orange_diamond:MMe,small_blue_diamond:RMe,small_red_triangle:NMe,small_red_triangle_down:DMe,diamond_shape_with_a_dot_inside:LMe,radio_button:IMe,white_square_button:PMe,black_square_button:FMe,checkered_flag:BMe,triangular_flag_on_post:jMe,crossed_flags:zMe,black_flag:$Me,white_flag:qMe,rainbow_flag:UMe,transgender_flag:HMe,pirate_flag:VMe,ascension_island:GMe,andorra:KMe,united_arab_emirates:WMe,afghanistan:ZMe,antigua_barbuda:YMe,anguilla:QMe,albania:JMe,armenia:XMe,angola:eRe,antarctica:tRe,argentina:nRe,american_samoa:sRe,austria:oRe,australia:rRe,aruba:iRe,aland_islands:aRe,azerbaijan:lRe,bosnia_herzegovina:cRe,barbados:uRe,bangladesh:dRe,belgium:fRe,burkina_faso:hRe,bulgaria:pRe,bahrain:gRe,burundi:mRe,benin:_Re,st_barthelemy:bRe,bermuda:yRe,brunei:vRe,bolivia:wRe,caribbean_netherlands:xRe,brazil:kRe,bahamas:ERe,bhutan:CRe,bouvet_island:ARe,botswana:SRe,belarus:TRe,belize:ORe,canada:MRe,cocos_islands:RRe,congo_kinshasa:NRe,central_african_republic:DRe,congo_brazzaville:LRe,switzerland:IRe,cote_divoire:PRe,cook_islands:FRe,chile:BRe,cameroon:jRe,cn:zRe,colombia:$Re,clipperton_island:qRe,costa_rica:URe,cuba:HRe,cape_verde:VRe,curacao:GRe,christmas_island:KRe,cyprus:WRe,czech_republic:ZRe,de:YRe,diego_garcia:QRe,djibouti:JRe,denmark:XRe,dominica:e7e,dominican_republic:t7e,algeria:n7e,ceuta_melilla:s7e,ecuador:o7e,estonia:r7e,egypt:i7e,western_sahara:a7e,eritrea:l7e,es:c7e,ethiopia:u7e,eu:d7e,european_union:f7e,finland:h7e,fiji:p7e,falkland_islands:g7e,micronesia:m7e,faroe_islands:_7e,fr:b7e,gabon:y7e,gb:v7e,uk:w7e,grenada:x7e,georgia:k7e,french_guiana:E7e,guernsey:C7e,ghana:A7e,gibraltar:S7e,greenland:T7e,gambia:O7e,guinea:M7e,guadeloupe:R7e,equatorial_guinea:N7e,greece:D7e,south_georgia_south_sandwich_islands:L7e,guatemala:I7e,guam:P7e,guinea_bissau:F7e,guyana:B7e,hong_kong:j7e,heard_mcdonald_islands:z7e,honduras:$7e,croatia:q7e,haiti:U7e,hungary:H7e,canary_islands:V7e,indonesia:G7e,ireland:K7e,israel:W7e,isle_of_man:Z7e,india:Y7e,british_indian_ocean_territory:Q7e,iraq:J7e,iran:X7e,iceland:eNe,it:tNe,jersey:nNe,jamaica:sNe,jordan:oNe,jp:rNe,kenya:iNe,kyrgyzstan:aNe,cambodia:lNe,kiribati:cNe,comoros:uNe,st_kitts_nevis:dNe,north_korea:fNe,kr:hNe,kuwait:pNe,cayman_islands:gNe,kazakhstan:mNe,laos:_Ne,lebanon:bNe,st_lucia:yNe,liechtenstein:vNe,sri_lanka:wNe,liberia:xNe,lesotho:kNe,lithuania:ENe,luxembourg:CNe,latvia:ANe,libya:SNe,morocco:TNe,monaco:ONe,moldova:MNe,montenegro:RNe,st_martin:NNe,madagascar:DNe,marshall_islands:LNe,macedonia:INe,mali:PNe,myanmar:FNe,mongolia:BNe,macau:jNe,northern_mariana_islands:zNe,martinique:$Ne,mauritania:qNe,montserrat:UNe,malta:HNe,mauritius:VNe,maldives:GNe,malawi:KNe,mexico:WNe,malaysia:ZNe,mozambique:YNe,namibia:QNe,new_caledonia:JNe,niger:XNe,norfolk_island:eDe,nigeria:tDe,nicaragua:nDe,netherlands:sDe,norway:oDe,nepal:rDe,nauru:iDe,niue:aDe,new_zealand:lDe,oman:cDe,panama:uDe,peru:dDe,french_polynesia:fDe,papua_new_guinea:hDe,philippines:pDe,pakistan:gDe,poland:mDe,st_pierre_miquelon:_De,pitcairn_islands:bDe,puerto_rico:yDe,palestinian_territories:vDe,portugal:wDe,palau:xDe,paraguay:kDe,qatar:EDe,reunion:CDe,romania:ADe,serbia:SDe,ru:TDe,rwanda:ODe,saudi_arabia:MDe,solomon_islands:RDe,seychelles:NDe,sudan:DDe,sweden:LDe,singapore:IDe,st_helena:PDe,slovenia:FDe,svalbard_jan_mayen:BDe,slovakia:jDe,sierra_leone:zDe,san_marino:$De,senegal:qDe,somalia:UDe,suriname:HDe,south_sudan:VDe,sao_tome_principe:GDe,el_salvador:KDe,sint_maarten:WDe,syria:ZDe,swaziland:YDe,tristan_da_cunha:QDe,turks_caicos_islands:JDe,chad:XDe,french_southern_territories:eLe,togo:tLe,thailand:nLe,tajikistan:sLe,tokelau:oLe,timor_leste:rLe,turkmenistan:iLe,tunisia:aLe,tonga:lLe,tr:cLe,trinidad_tobago:uLe,tuvalu:dLe,taiwan:fLe,tanzania:hLe,ukraine:pLe,uganda:gLe,us_outlying_islands:mLe,united_nations:_Le,us:bLe,uruguay:yLe,uzbekistan:vLe,vatican_city:wLe,st_vincent_grenadines:xLe,venezuela:kLe,british_virgin_islands:ELe,us_virgin_islands:CLe,vietnam:ALe,vanuatu:SLe,wallis_futuna:TLe,samoa:OLe,kosovo:MLe,yemen:RLe,mayotte:NLe,south_africa:DLe,zambia:LLe,zimbabwe:ILe,england:PLe,scotland:FLe,wales:BLe};var zLe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(b[_-1])||_+y.lengthg&&(p=new h("text","",0),p.content=c.slice(g,_),m.push(p)),p=new h("emoji","",0),p.markup=v,p.content=n[v],m.push(p),g=_+y.length}),g=0;h--)y=m[h],(y.type==="link_open"||y.type==="link_close")&&y.info==="auto"&&(b-=y.nesting),y.type==="text"&&b===0&&o.test(y.content)&&(_[p].children=m=i(m,h,u(y.content,y.level,f.Token)))}};function ULe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var HLe=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,u){return e.enabled.indexOf(u)>=0&&(l[u]=n[u]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,u){return n[u]?Array.isArray(e.shortcuts[u])?(e.shortcuts[u].forEach(function(c){l[c]=u}),l):(l[e.shortcuts[u]]=u,l):l},{});var o=Object.keys(n),r;o.length===0?r="^$":r=o.map(function(l){return":"+l+":"}).concat(Object.keys(s)).sort().reverse().map(function(l){return ULe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},VLe=$Le,GLe=qLe,KLe=HLe,WLe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=KLe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=VLe,e.core.ruler.after("linkify","emoji",GLe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},ZLe=jLe,YLe=zLe,QLe=WLe,JLe=function(e,n){var s={defs:ZLe,shortcuts:YLe,enabled:[]},o=e.utils.assign({},s,n||{});QLe(e,o)};const XLe=On(JLe);var Ed=!1,Ss={false:"push",true:"unshift",after:"push",before:"unshift"},Er={isPermalinkSymbol:!0};function al(t,e,n,s){var o;if(!Ed){var r="Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks";typeof process=="object"&&process&&process.emitWarning?process.emitWarning(r):console.warn(r),Ed=!0}var i=[Object.assign(new n.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(t,n)]],Object.entries(e.permalinkAttrs(t,n)))}),Object.assign(new n.Token("html_block","",0),{content:e.permalinkSymbol,meta:Er}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Ss[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Ss[e.permalinkBefore]].apply(o,i)}function _g(t){return"#"+t}function bg(t){return{}}var eIe={class:"header-anchor",symbol:"#",renderHref:_g,renderAttrs:bg};function Lo(t){function e(n){return n=Object.assign({},e.defaults,n),function(s,o,r,i){return t(s,n,o,r,i)}}return e.defaults=Object.assign({},eIe),e.renderPermalinkImpl=t,e}var hi=Lo(function(t,e,n,s,o){var r,i=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(t,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Er}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Ss[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Ss[e.placement]].apply(r,i)});Object.assign(hi.defaults,{space:!0,placement:"after",ariaHidden:!1});var Bn=Lo(hi.renderPermalinkImpl);Bn.defaults=Object.assign({},hi.defaults,{ariaHidden:!0});var yg=Lo(function(t,e,n,s,o){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],Object.entries(e.renderAttrs(t,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[o+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[o+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(yg.defaults,{safariReaderFix:!1});var Cd=Lo(function(t,e,n,s,o){var r;if(!["visually-hidden","aria-label","aria-describedby","aria-labelledby"].includes(e.style))throw new Error("`permalink.linkAfterHeader` called with unknown style option `"+e.style+"`");if(!["aria-describedby","aria-labelledby"].includes(e.style)&&!e.assistiveText)throw new Error("`permalink.linkAfterHeader` called without the `assistiveText` option in `"+e.style+"` style");if(e.style==="visually-hidden"&&!e.visuallyHiddenClass)throw new Error("`permalink.linkAfterHeader` called without the `visuallyHiddenClass` option in `visually-hidden` style");var i=s.tokens[o+1].children.filter(function(f){return f.type==="text"||f.type==="code_inline"}).reduce(function(f,h){return f+h.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(t,s)]),l.push.apply(l,Object.entries(e.renderAttrs(t,s))),e.style==="visually-hidden"){if(a.push(Object.assign(new s.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new s.Token("text","",0),{content:e.assistiveText(i)}),new s.Token("span_close","span",-1)),e.space){var u=typeof e.space=="string"?e.space:" ";a[Ss[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:u}))}a[Ss[e.placement]](Object.assign(new s.Token("span_open","span",1),{attrs:[["aria-hidden","true"]]}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Er}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Er}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(i)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,t]);var c=[Object.assign(new s.Token("link_open","a",1),{attrs:l})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[o+3,0].concat(c)),e.wrapper&&(s.tokens.splice(o,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+` +`})),s.tokens.splice(o+3+c.length+1,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[1]+` +`})))});function Ad(t,e,n,s){var o=t,r=s;if(n&&Object.prototype.hasOwnProperty.call(e,o))throw new Error("User defined `id` attribute `"+t+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,o);)o=t+"-"+r,r+=1;return e[o]=!0,o}function ds(t,e){e=Object.assign({},ds.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(f){return s.includes(f)}):function(f){return function(h){return h>=f}}(e.level),a=0;a0&&!(n&o&&this.__match_alphabets__[o].call(this,s,n,o));o>>=4);if(this.__actions__(s,n,o),o===0)break;n=this.__transitions__[n][o]||0}return!!this.__accept_states__[n]};var tIe=un,nIe=tIe,sIe=function(e,n){var s={multiline:!1,rowspan:!1,headerless:!1,multibody:!0,autolabel:!0};n=e.utils.assign({},s,n||{});function o(c,f){var h=c.bMarks[f]+c.sCount[f],p=c.bMarks[f]+c.blkIndent,g=c.skipSpacesBack(c.eMarks[f],p),m=[],y,_,b=!1,v=!1,E=0;for(y=h;yy?(v||(E===0?E=_-y:E===_-y&&(E=0)),y=_):(v||!b&&!E)&&(v=!v),b=!1;break;case 124:!v&&!b&&m.push(y),b=!1;break;default:b=!1;break}return m.length===0||(m[0]>p&&m.unshift(p-1),m[m.length-1]=4||g.length===0)return!1;for(y=0;yh||(b=new c.Token("table_open","table",1),b.meta={sep:null,cap:null,tr:[]},g.set_highest_alphabet(65536),g.set_initial_state(65792),g.set_accept_states([65552,65553,0]),g.set_match_alphabets({65536:r.bind(this,c,!0),4096:a.bind(this,c,!0),256:i.bind(this,c,!0),16:i.bind(this,c,!0),1:l.bind(this,c,!0)}),g.set_transitions({65792:{65536:256,256:4352},256:{256:4352},4352:{4096:65552,256:4352},65552:{65536:0,16:65553},65553:{65536:0,16:65553,1:65552}}),n.headerless&&(g.set_initial_state(69888),g.update_transition(69888,{65536:4352,4096:65552,256:4352}),v=new c.Token("tr_placeholder","tr",0),v.meta=Object()),n.multibody||g.update_transition(65552,{65536:0,16:65552}),g.set_actions(function(fe,ge,J){switch(J){case 65536:if(b.meta.cap)break;b.meta.cap=r(c,!1,fe),b.meta.cap.map=[fe,fe+1],b.meta.cap.first=fe===f;break;case 4096:b.meta.sep=a(c,!1,fe),b.meta.sep.map=[fe,fe+1],v.meta.grp|=1,m=16;break;case 256:case 16:v=new c.Token("tr_open","tr",1),v.map=[fe,fe+1],v.meta=i(c,!1,fe),v.meta.type=J,v.meta.grp=m,m=0,b.meta.tr.push(v),n.multiline&&(v.meta.multiline&&y<0?y=b.meta.tr.length-1:!v.meta.multiline&&y>=0&&(_=b.meta.tr[y],_.meta.mbounds=b.meta.tr.slice(y).map(function(_e){return _e.meta.bounds}),_.map[1]=v.map[1],b.meta.tr=b.meta.tr.slice(0,y+1),y=-1));break;case 1:v.meta.grp|=1,m=16;break}}),g.execute(f,h)===!1)||!b.meta.tr.length)return!1;if(p)return!0;if(b.meta.tr[b.meta.tr.length-1].meta.grp|=1,b.map=w=[f,0],b.block=!0,b.level=c.level++,c.tokens.push(b),b.meta.cap){_=c.push("caption_open","caption",1),_.map=b.meta.cap.map;var $=[],H=b.meta.cap.first?"top":"bottom";b.meta.cap.label!==null&&$.push(["id",b.meta.cap.label]),H!=="top"&&$.push(["style","caption-side: "+H]),_.attrs=$,_=c.push("inline","",0),_.content=b.meta.cap.text,_.map=b.meta.cap.map,_.children=[],_=c.push("caption_close","caption",-1)}for(W=0;Wv.meta.mbounds[re].length-2||(P=[v.meta.mbounds[re][R]+1,v.meta.mbounds[re][R+1]],D.push(c.src.slice.apply(c.src,P).trimRight()));for(A=new c.md.block.State(D.join(` +`),c.md,c.env,[]),A.level=v.level+1,c.md.block.tokenize(A,v.map[0],A.lineMax),V=0;Vh.match(f))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&c.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const iIe=On(rIe);function vg(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],s=typeof n;(s==="object"||s==="function")&&!Object.isFrozen(n)&&vg(n)}),t}class Sd{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function wg(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Cn(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const aIe="
",Td=t=>!!t.scope,lIe=(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((s,o)=>`${s}${"_".repeat(o+1)}`)].join(" ")}return`${e}${t}`};class cIe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=wg(e)}openNode(e){if(!Td(e))return;const n=lIe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Td(e)&&(this.buffer+=aIe)}value(){return this.buffer}span(e){this.buffer+=``}}const Od=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class ic{constructor(){this.rootNode=Od(),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=Od({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(s=>this._walk(e,s)),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=>{ic._collapse(n)}))}}class uIe extends ic{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const s=e.root;n&&(s.scope=`language:${n}`),this.add(s)}toHTML(){return new cIe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function ko(t){return t?typeof t=="string"?t:t.source:null}function xg(t){return ss("(?=",t,")")}function dIe(t){return ss("(?:",t,")*")}function fIe(t){return ss("(?:",t,")?")}function ss(...t){return t.map(n=>ko(n)).join("")}function hIe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function ac(...t){return"("+(hIe(t).capture?"":"?:")+t.map(s=>ko(s)).join("|")+")"}function kg(t){return new RegExp(t.toString()+"|").exec("").length-1}function pIe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const gIe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function lc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=ko(s),i="";for(;r.length>0;){const a=gIe.exec(r);if(!a){i+=r;break}i+=r.substring(0,a.index),r=r.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?i+="\\"+String(Number(a[1])+o):(i+=a[0],a[0]==="("&&n++)}return i}).map(s=>`(${s})`).join(e)}const mIe=/\b\B/,Eg="[a-zA-Z]\\w*",cc="[a-zA-Z_]\\w*",Cg="\\b\\d+(\\.\\d+)?",Ag="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Sg="\\b(0b[01]+)",_Ie="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",bIe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ss(e,/.*\b/,t.binary,/\b.*/)),Cn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Eo={begin:"\\\\[\\s\\S]",relevance:0},yIe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Eo]},vIe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Eo]},wIe={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/},pi=function(t,e,n={}){const s=Cn({scope:"comment",begin:t,end:e,contains:[]},n);s.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 o=ac("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 s.contains.push({begin:ss(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},xIe=pi("//","$"),kIe=pi("/\\*","\\*/"),EIe=pi("#","$"),CIe={scope:"number",begin:Cg,relevance:0},AIe={scope:"number",begin:Ag,relevance:0},SIe={scope:"number",begin:Sg,relevance:0},TIe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Eo,{begin:/\[/,end:/\]/,relevance:0,contains:[Eo]}]}]},OIe={scope:"title",begin:Eg,relevance:0},MIe={scope:"title",begin:cc,relevance:0},RIe={begin:"\\.\\s*"+cc,relevance:0},NIe=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()}})};var Wo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:mIe,IDENT_RE:Eg,UNDERSCORE_IDENT_RE:cc,NUMBER_RE:Cg,C_NUMBER_RE:Ag,BINARY_NUMBER_RE:Sg,RE_STARTERS_RE:_Ie,SHEBANG:bIe,BACKSLASH_ESCAPE:Eo,APOS_STRING_MODE:yIe,QUOTE_STRING_MODE:vIe,PHRASAL_WORDS_MODE:wIe,COMMENT:pi,C_LINE_COMMENT_MODE:xIe,C_BLOCK_COMMENT_MODE:kIe,HASH_COMMENT_MODE:EIe,NUMBER_MODE:CIe,C_NUMBER_MODE:AIe,BINARY_NUMBER_MODE:SIe,REGEXP_MODE:TIe,TITLE_MODE:OIe,UNDERSCORE_TITLE_MODE:MIe,METHOD_GUARD:RIe,END_SAME_AS_BEGIN:NIe});function DIe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function LIe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function IIe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=DIe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function PIe(t,e){Array.isArray(t.illegal)&&(t.illegal=ac(...t.illegal))}function FIe(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 BIe(t,e){t.relevance===void 0&&(t.relevance=1)}const jIe=(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(s=>{delete t[s]}),t.keywords=n.keywords,t.begin=ss(n.beforeMatch,xg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},zIe=["of","and","for","in","not","or","if","then","parent","list","value"],$Ie="keyword";function Tg(t,e,n=$Ie){const s=Object.create(null);return typeof t=="string"?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach(function(r){Object.assign(s,Tg(t[r],e,r))}),s;function o(r,i){e&&(i=i.map(a=>a.toLowerCase())),i.forEach(function(a){const l=a.split("|");s[l[0]]=[r,qIe(l[0],l[1])]})}}function qIe(t,e){return e?Number(e):UIe(t)?0:1}function UIe(t){return zIe.includes(t.toLowerCase())}const Md={},Yn=t=>{console.error(t)},Rd=(t,...e)=>{console.log(`WARN: ${t}`,...e)},ls=(t,e)=>{Md[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Md[`${t}/${e}`]=!0)},Cr=new Error;function Og(t,e,{key:n}){let s=0;const o=t[n],r={},i={};for(let a=1;a<=e.length;a++)i[a+s]=o[a],r[a+s]=!0,s+=kg(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function HIe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Yn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Cr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Yn("beginScope must be object"),Cr;Og(t,t.begin,{key:"beginScope"}),t.begin=lc(t.begin,{joinWith:""})}}function VIe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Yn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Cr;if(typeof t.endScope!="object"||t.endScope===null)throw Yn("endScope must be object"),Cr;Og(t,t.end,{key:"endScope"}),t.end=lc(t.end,{joinWith:""})}}function GIe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function KIe(t){GIe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),HIe(t),VIe(t)}function WIe(t){function e(i,a){return new RegExp(ko(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=kg(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(lc(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const u=l.findIndex((f,h)=>h>0&&f!==void 0),c=this.matchIndexes[u];return l.splice(0,u),Object.assign(l,c)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([u,c])=>l.addRule(u,c)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let u=l.exec(a);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,u=c.exec(a)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[LIe,FIe,KIe,jIe].forEach(c=>c(i,a)),t.compilerExtensions.forEach(c=>c(i,a)),i.__beforeBegin=null,[IIe,PIe,BIe].forEach(c=>c(i,a)),i.isCompiled=!0;let u=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),u=i.keywords.$pattern,delete i.keywords.$pattern),u=u||/\w+/,i.keywords&&(i.keywords=Tg(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(u,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=ko(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(c){return ZIe(c==="self"?i:c)})),i.contains.forEach(function(c){r(c,l)}),i.starts&&r(i.starts,a),l.matcher=o(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=Cn(t.classNameAliases||{}),r(t)}function Mg(t){return t?t.endsWithParent||Mg(t.starts):!1}function ZIe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Cn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Mg(t)?Cn(t,{starts:t.starts?Cn(t.starts):null}):Object.isFrozen(t)?Cn(t):t}var YIe="11.8.0";class QIe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Wi=wg,Nd=Cn,Dd=Symbol("nomatch"),JIe=7,Rg=function(t){const e=Object.create(null),n=Object.create(null),s=[];let o=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:uIe};function l(A){return a.noHighlightRe.test(A)}function u(A){let $=A.className+" ";$+=A.parentNode?A.parentNode.className:"";const H=a.languageDetectRe.exec($);if(H){const fe=k(H[1]);return fe||(Rd(r.replace("{}",H[1])),Rd("Falling back to no-highlight mode for this block.",A)),fe?H[1]:"no-highlight"}return $.split(/\s+/).find(fe=>l(fe)||k(fe))}function c(A,$,H){let fe="",ge="";typeof $=="object"?(fe=A,H=$.ignoreIllegals,ge=$.language):(ls("10.7.0","highlight(lang, code, ...args) has been deprecated."),ls("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),ge=A,fe=$),H===void 0&&(H=!0);const J={code:fe,language:ge};re("before:highlight",J);const _e=J.result?J.result:f(J.language,J.code,H);return _e.code=J.code,re("after:highlight",_e),_e}function f(A,$,H,fe){const ge=Object.create(null);function J(Z,oe){return Z.keywords[oe]}function _e(){if(!z.keywords){q.addText(Y);return}let Z=0;z.keywordPatternRe.lastIndex=0;let oe=z.keywordPatternRe.exec(Y),pe="";for(;oe;){pe+=Y.substring(Z,oe.index);const xe=j.case_insensitive?oe[0].toLowerCase():oe[0],Le=J(z,xe);if(Le){const[Ue,Ne]=Le;if(q.addText(pe),pe="",ge[xe]=(ge[xe]||0)+1,ge[xe]<=JIe&&(ae+=Ne),Ue.startsWith("_"))pe+=oe[0];else{const Ze=j.classNameAliases[Ue]||Ue;Q(oe[0],Ze)}}else pe+=oe[0];Z=z.keywordPatternRe.lastIndex,oe=z.keywordPatternRe.exec(Y)}pe+=Y.substring(Z),q.addText(pe)}function we(){if(Y==="")return;let Z=null;if(typeof z.subLanguage=="string"){if(!e[z.subLanguage]){q.addText(Y);return}Z=f(z.subLanguage,Y,!0,se[z.subLanguage]),se[z.subLanguage]=Z._top}else Z=p(Y,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&(ae+=Z.relevance),q.__addSublanguage(Z._emitter,Z.language)}function I(){z.subLanguage!=null?we():_e(),Y=""}function Q(Z,oe){Z!==""&&(q.startScope(oe),q.addText(Z),q.endScope())}function G(Z,oe){let pe=1;const xe=oe.length-1;for(;pe<=xe;){if(!Z._emit[pe]){pe++;continue}const Le=j.classNameAliases[Z[pe]]||Z[pe],Ue=oe[pe];Le?Q(Ue,Le):(Y=Ue,_e(),Y=""),pe++}}function ee(Z,oe){return Z.scope&&typeof Z.scope=="string"&&q.openNode(j.classNameAliases[Z.scope]||Z.scope),Z.beginScope&&(Z.beginScope._wrap?(Q(Y,j.classNameAliases[Z.beginScope._wrap]||Z.beginScope._wrap),Y=""):Z.beginScope._multi&&(G(Z.beginScope,oe),Y="")),z=Object.create(Z,{parent:{value:z}}),z}function X(Z,oe,pe){let xe=pIe(Z.endRe,pe);if(xe){if(Z["on:end"]){const Le=new Sd(Z);Z["on:end"](oe,Le),Le.isMatchIgnored&&(xe=!1)}if(xe){for(;Z.endsParent&&Z.parent;)Z=Z.parent;return Z}}if(Z.endsWithParent)return X(Z.parent,oe,pe)}function he(Z){return z.matcher.regexIndex===0?(Y+=Z[0],1):(ye=!0,0)}function le(Z){const oe=Z[0],pe=Z.rule,xe=new Sd(pe),Le=[pe.__beforeBegin,pe["on:begin"]];for(const Ue of Le)if(Ue&&(Ue(Z,xe),xe.isMatchIgnored))return he(oe);return pe.skip?Y+=oe:(pe.excludeBegin&&(Y+=oe),I(),!pe.returnBegin&&!pe.excludeBegin&&(Y=oe)),ee(pe,Z),pe.returnBegin?0:oe.length}function x(Z){const oe=Z[0],pe=$.substring(Z.index),xe=X(z,Z,pe);if(!xe)return Dd;const Le=z;z.endScope&&z.endScope._wrap?(I(),Q(oe,z.endScope._wrap)):z.endScope&&z.endScope._multi?(I(),G(z.endScope,Z)):Le.skip?Y+=oe:(Le.returnEnd||Le.excludeEnd||(Y+=oe),I(),Le.excludeEnd&&(Y=oe));do z.scope&&q.closeNode(),!z.skip&&!z.subLanguage&&(ae+=z.relevance),z=z.parent;while(z!==xe.parent);return xe.starts&&ee(xe.starts,Z),Le.returnEnd?0:oe.length}function C(){const Z=[];for(let oe=z;oe!==j;oe=oe.parent)oe.scope&&Z.unshift(oe.scope);Z.forEach(oe=>q.openNode(oe))}let F={};function B(Z,oe){const pe=oe&&oe[0];if(Y+=Z,pe==null)return I(),0;if(F.type==="begin"&&oe.type==="end"&&F.index===oe.index&&pe===""){if(Y+=$.slice(oe.index,oe.index+1),!o){const xe=new Error(`0 width match regex (${A})`);throw xe.languageName=A,xe.badRule=F.rule,xe}return 1}if(F=oe,oe.type==="begin")return le(oe);if(oe.type==="illegal"&&!H){const xe=new Error('Illegal lexeme "'+pe+'" for mode "'+(z.scope||"")+'"');throw xe.mode=z,xe}else if(oe.type==="end"){const xe=x(oe);if(xe!==Dd)return xe}if(oe.type==="illegal"&&pe==="")return 1;if(ce>1e5&&ce>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=pe,pe.length}const j=k(A);if(!j)throw Yn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const te=WIe(j);let ie="",z=fe||te;const se={},q=new a.__emitter(a);C();let Y="",ae=0,de=0,ce=0,ye=!1;try{if(j.__emitTokens)j.__emitTokens($,q);else{for(z.matcher.considerAll();;){ce++,ye?ye=!1:z.matcher.considerAll(),z.matcher.lastIndex=de;const Z=z.matcher.exec($);if(!Z)break;const oe=$.substring(de,Z.index),pe=B(oe,Z);de=Z.index+pe}B($.substring(de))}return q.finalize(),ie=q.toHTML(),{language:A,value:ie,relevance:ae,illegal:!1,_emitter:q,_top:z}}catch(Z){if(Z.message&&Z.message.includes("Illegal"))return{language:A,value:Wi($),illegal:!0,relevance:0,_illegalBy:{message:Z.message,index:de,context:$.slice(de-100,de+100),mode:Z.mode,resultSoFar:ie},_emitter:q};if(o)return{language:A,value:Wi($),illegal:!1,relevance:0,errorRaised:Z,_emitter:q,_top:z};throw Z}}function h(A){const $={value:Wi(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return $._emitter.addText(A),$}function p(A,$){$=$||a.languages||Object.keys(e);const H=h(A),fe=$.filter(k).filter(D).map(I=>f(I,A,!1));fe.unshift(H);const ge=fe.sort((I,Q)=>{if(I.relevance!==Q.relevance)return Q.relevance-I.relevance;if(I.language&&Q.language){if(k(I.language).supersetOf===Q.language)return 1;if(k(Q.language).supersetOf===I.language)return-1}return 0}),[J,_e]=ge,we=J;return we.secondBest=_e,we}function g(A,$,H){const fe=$&&n[$]||H;A.classList.add("hljs"),A.classList.add(`language-${fe}`)}function m(A){let $=null;const H=u(A);if(l(H))return;if(re("before:highlightElement",{el:A,language:H}),A.children.length>0&&(a.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(A)),a.throwUnescapedHTML))throw new QIe("One of your code blocks includes unescaped HTML.",A.innerHTML);$=A;const fe=$.textContent,ge=H?c(fe,{language:H,ignoreIllegals:!0}):p(fe);A.innerHTML=ge.value,g(A,H,ge.language),A.result={language:ge.language,re:ge.relevance,relevance:ge.relevance},ge.secondBest&&(A.secondBest={language:ge.secondBest.language,relevance:ge.secondBest.relevance}),re("after:highlightElement",{el:A,result:ge,text:fe})}function y(A){a=Nd(a,A)}const _=()=>{E(),ls("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){E(),ls("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let v=!1;function E(){if(document.readyState==="loading"){v=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function M(){v&&E()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",M,!1);function T(A,$){let H=null;try{H=$(t)}catch(fe){if(Yn("Language definition for '{}' could not be registered.".replace("{}",A)),o)Yn(fe);else throw fe;H=i}H.name||(H.name=A),e[A]=H,H.rawDefinition=$.bind(null,t),H.aliases&&S(H.aliases,{languageName:A})}function N(A){delete e[A];for(const $ of Object.keys(n))n[$]===A&&delete n[$]}function w(){return Object.keys(e)}function k(A){return A=(A||"").toLowerCase(),e[A]||e[n[A]]}function S(A,{languageName:$}){typeof A=="string"&&(A=[A]),A.forEach(H=>{n[H.toLowerCase()]=$})}function D(A){const $=k(A);return $&&!$.disableAutodetect}function P(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=$=>{A["before:highlightBlock"](Object.assign({block:$.el},$))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=$=>{A["after:highlightBlock"](Object.assign({block:$.el},$))})}function W(A){P(A),s.push(A)}function R(A){const $=s.indexOf(A);$!==-1&&s.splice($,1)}function re(A,$){const H=A;s.forEach(function(fe){fe[H]&&fe[H]($)})}function V(A){return ls("10.7.0","highlightBlock will be removed entirely in v12.0"),ls("10.7.0","Please use highlightElement now."),m(A)}Object.assign(t,{highlight:c,highlightAuto:p,highlightAll:E,highlightElement:m,highlightBlock:V,configure:y,initHighlighting:_,initHighlightingOnLoad:b,registerLanguage:T,unregisterLanguage:N,listLanguages:w,getLanguage:k,registerAliases:S,autoDetection:D,inherit:Nd,addPlugin:W,removePlugin:R}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=YIe,t.regex={concat:ss,lookahead:xg,either:ac,optional:fIe,anyNumberOfTimes:dIe};for(const A in Wo)typeof Wo[A]=="object"&&vg(Wo[A]);return Object.assign(t,Wo),t},Ts=Rg({});Ts.newInstance=()=>Rg({});var XIe=Ts;Ts.HighlightJS=Ts;Ts.default=Ts;var Zi,Ld;function ePe(){if(Ld)return Zi;Ld=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),u=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,u,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,u,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[u]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:c}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return Zi=t,Zi}var Yi,Id;function tPe(){if(Id)return Yi;Id=1;function t(e){const n=e.regex,s={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]};r.contains.push(a);const l={className:"",begin:/\\"/},u={className:"string",begin:/'/,end:/'/},c={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=e.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),p={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],m=["true","false"],y={match:/(\/[a-z._-]+)+/},_=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],b=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],v=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],E=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:m,built_in:[..._,...b,"set","shopt",...v,...E]},contains:[h,e.SHEBANG(),p,c,e.HASH_COMMENT_MODE,i,y,a,l,u,s]}}return Yi=t,Yi}var Qi,Pd;function nPe(){if(Pd)return Qi;Pd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},u="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},g=n.optional(r)+e.IDENT_RE+"\\s*\\(",_={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},b=[h,l,s,e.C_BLOCK_COMMENT_MODE,f,c],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:b.concat([{begin:/\(/,end:/\)/,keywords:_,contains:b.concat(["self"]),relevance:0}]),relevance:0},E={begin:"("+a+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:g,returnBegin:!0,contains:[e.inherit(p,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,c,f,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,c,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:h,strings:c,keywords:_}}}return Qi=t,Qi}var Ji,Fd;function sPe(){if(Fd)return Ji;Fd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},g=n.optional(r)+e.IDENT_RE+"\\s*\\(",m=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],y=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],_=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],M={type:y,keyword:m,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},T={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},N=[T,h,l,s,e.C_BLOCK_COMMENT_MODE,f,c],w={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:M,contains:N.concat([{begin:/\(/,end:/\)/,keywords:M,contains:N.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+a+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:M,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:M,relevance:0},{begin:g,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,c,f,l,{begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,c,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:M,illegal:"",keywords:M,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:M},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return Ji=t,Ji}var Xi,Bd;function oPe(){if(Bd)return Xi;Bd=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],s=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],i=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:r.concat(i),built_in:n,literal:o},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},f=e.inherit(c,{illegal:/\n/}),h={className:"subst",begin:/\{/,end:/\}/,keywords:a},p=e.inherit(h,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,p]},m={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]},y=e.inherit(m,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});h.contains=[m,g,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,e.C_BLOCK_COMMENT_MODE],p.contains=[y,g,f,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const _={variants:[m,g,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},v=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",E={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,u,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+v+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,b],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[_,u,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},E]}}return Xi=t,Xi}var ea,jd;function rPe(){if(jd)return ea;jd=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=a.regex,u=t(a),c={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},f="and or not only",h=/@-?\w[\w]*(-\w+)*/,p="[a-zA-Z-][a-zA-Z0-9_-]*",g=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[u.BLOCK_COMMENT,c,u.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+p,relevance:0},u.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},u.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[u.BLOCK_COMMENT,u.HEXCOLOR,u.IMPORTANT,u.CSS_NUMBER_MODE,...g,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...g,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},u.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:h},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...g,u.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return ea=i,ea}var ta,zd;function iPe(){if(zd)return ta;zd=1;function t(e){const n=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,u={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=e.inherit(c,{contains:[]}),p=e.inherit(f,{contains:[]});c.contains.push(p),f.contains.push(h);let g=[s,u];return[c,f,h,p].forEach(_=>{_.contains=_.contains.concat(g)}),g=g.concat(c,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:g},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:g}]}]},s,i,c,f,{className:"quote",begin:"^>\\s+",contains:g,end:"$"},r,o,u,a]}}return ta=t,ta}var na,$d;function aPe(){if($d)return na;$d=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return na=t,na}var sa,qd;function lPe(){if(qd)return sa;qd=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},u={begin:"#<",end:">"},c=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],f={className:"subst",begin:/#\{/,end:/\}/,keywords:a},h={className:"string",contains:[e.BACKSLASH_ESCAPE,f],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,f]})]}]},p="[1-9](_?[0-9])*|0",g="[0-9](_?[0-9])*",m={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${g}))?([eE][+-]?(${g})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},y={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},N=[h,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[y]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:s}],relevance:0},m,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,f],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(u,c),relevance:0}].concat(u,c);f.contains=N,y.contains=N;const w="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",S="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",D=[{begin:/^\s*=>/,starts:{end:"$",contains:N}},{className:"meta.prompt",begin:"^("+w+"|"+k+"|"+S+")(?=[ ])",starts:{end:"$",keywords:a,contains:N}}];return c.unshift(u),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(D).concat(c).concat(N)}}return sa=t,sa}var oa,Ud;function cPe(){if(Ud)return oa;Ud=1;function t(e){const i={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:i,illegal:"o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",u=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),g={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},m={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},y={className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:g,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[y,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+u+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:g,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[m,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,m]}}return aa=r,aa}var la,Kd;function hPe(){if(Kd)return la;Kd=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],n=["true","false","null","undefined","NaN","Infinity"],s=["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"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(u){const c=u.regex,f=(G,{after:ee})=>{const X="",end:""},g=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(G,ee)=>{const X=G[0].length+G.index,he=G.input[X];if(he==="<"||he===","){ee.ignoreMatch();return}he===">"&&(f(G,{after:X})||ee.ignoreMatch());let le;const x=G.input.substring(X);if(le=x.match(/^\s*=/)){ee.ignoreMatch();return}if((le=x.match(/^\s+extends\s+/))&&le.index===0){ee.ignoreMatch();return}}},y={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},_="[0-9](_?[0-9])*",b=`\\.(${_})`,v="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",E={className:"number",variants:[{begin:`(\\b(${v})((${b})|\\.)?|(${b}))[eE][+-]?(${_})\\b`},{begin:`\\b(${v})\\b((${b})\\b|\\.)?|(${b})\\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},M={className:"subst",begin:"\\$\\{",end:"\\}",keywords:y,contains:[]},T={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,M],subLanguage:"xml"}},N={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,M],subLanguage:"css"}},w={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,M],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,M]},D={className:"comment",variants:[u.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:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},P=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,T,N,w,k,{match:/\$\d+/},E];M.contains=P.concat({begin:/\{/,end:/\}/,keywords:y,contains:["self"].concat(P)});const W=[].concat(D,M.contains),R=W.concat([{begin:/\(/,end:/\)/,keywords:y,contains:["self"].concat(W)}]),re={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:y,contains:R},V={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,c.concat(h,"(",c.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},A={relevance:0,match:c.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:{_:[...s,...o]}},$={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},H={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[re],illegal:/%/},fe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ge(G){return c.concat("(?!",G.join("|"),")")}const J={match:c.concat(/\b/,ge([...r,"super","import"]),h,c.lookahead(/\(/)),className:"title.function",relevance:0},_e={begin:c.concat(/\./,c.lookahead(c.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},we={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},re]},I="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",Q={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,c.lookahead(I)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[re]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:y,exports:{PARAMS_CONTAINS:R,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),$,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,T,N,w,k,D,{match:/\$\d+/},E,A,{className:"attr",begin:h+c.lookahead(":"),relevance:0},Q,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,u.REGEXP_MODE,{className:"function",begin:I,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:y,contains:R}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:g},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},H,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[re,u.inherit(u.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},_e,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[re]},J,fe,V,we,{match:/\$[(.]/}]}}return la=l,la}var ca,Wd;function pPe(){if(Wd)return ca;Wd=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],r={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",keywords:{literal:o},contains:[n,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return ca=t,ca}var ua,Zd;function gPe(){if(Zd)return ua;Zd=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},u={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},c={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},f={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[c,u]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,c,u]}]};u.contains.push(f);const h={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},p={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(f,{className:"string"}),"self"]}]},g=s,m=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),y={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=y;return _.variants[1].contains=[y],y.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,m,a,l,h,p,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[y,r.C_LINE_COMMENT_MODE,m],relevance:0},r.C_LINE_COMMENT_MODE,m,h,p,f,r.C_NUMBER_MODE]},m]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},h,p]},f,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},g]}}return ua=o,ua}var da,Yd;function mPe(){if(Yd)return da;Yd=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),i=s.concat(o);function a(l){const u=t(l),c=i,f="and or not only",h="[\\w-]+",p="("+h+"|@\\{"+h+"\\})",g=[],m=[],y=function(D){return{className:"string",begin:"~?"+D+".*?"+D}},_=function(D,P,W){return{className:D,begin:P,relevance:W}},b={$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},v={begin:"\\(",end:"\\)",contains:m,keywords:b,relevance:0};m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,y("'"),y('"'),u.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},u.HEXCOLOR,v,_("variable","@@?"+h,10),_("variable","@\\{"+h+"\\}"),_("built_in","~?`[^`]*?`"),{className:"attribute",begin:h+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},u.IMPORTANT,{beginKeywords:"and not"},u.FUNCTION_DISPATCH);const E=m.concat({begin:/\{/,end:/\}/,contains:g}),M={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(m)},T={begin:p+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},u.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:m}}]},N={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:m,relevance:0}},w={className:"variable",variants:[{begin:"@"+h+"\\s*:",relevance:15},{begin:"@"+h}],starts:{end:"[;}]",returnEnd:!0,contains:E}},k={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:p,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,M,_("keyword","all\\b"),_("variable","@\\{"+h+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},u.CSS_NUMBER_MODE,_("selector-tag",p,0),_("selector-id","#"+p),_("selector-class","\\."+p,0),_("selector-tag","&",0),u.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:E},{begin:"!important"},u.FUNCTION_DISPATCH]},S={begin:h+`:(:)?(${c.join("|")})`,returnBegin:!0,contains:[k]};return g.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,N,w,S,T,k,M,u.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:g}}return da=a,da}var fa,Qd;function _Pe(){if(Qd)return fa;Qd=1;function t(e){const n="\\[=*\\[",s="\\]=*\\]",o={begin:n,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,s,{contains:[o],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:s,contains:[o],relevance:5}])}}return fa=t,fa}var ha,Jd;function bPe(){if(Jd)return ha;Jd=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},u=[e.BACKSLASH_ESCAPE,i,l],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(g,m,y="\\1")=>{const _=y==="\\1"?y:n.concat(y,m);return n.concat(n.concat("(?:",g,")"),m,/(?:\\.|[^\\\/])*?/,_,/(?:\\.|[^\\\/])*?/,y,o)},h=(g,m,y)=>n.concat(n.concat("(?:",g,")"),m,/(?:\\.|[^\\\/])*?/,y,o),p=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:f("s|tr|y",n.either(...c,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",n.either(...c,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=p,a.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:p}}return pa=t,pa}var ga,ef;function vPe(){if(ef)return ga;ef=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},u={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+u.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:u,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return ga=t,ga}var ma,tf;function wPe(){if(tf)return ma;tf=1;function t(e){const n=e.regex,s=/(?![A-Za-z0-9])(?![$])/,o=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),i={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},u=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),f={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(R,re)=>{re.data._beginMatch=R[1]||R[2]},"on:end":(R,re)=>{re.data._beginMatch!==R[1]&&re.ignoreMatch()}},h=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[ +]`,g={scope:"string",variants:[c,u,f,h]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},y=["false","null","true"],_=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],E={keyword:_,literal:(R=>{const re=[];return R.forEach(V=>{re.push(V),V.toLowerCase()===V?re.push(V.toUpperCase()):re.push(V.toLowerCase())}),re})(y),built_in:b},M=R=>R.map(re=>re.replace(/\|\d+$/,"")),T={variants:[{match:[/new/,n.concat(p,"+"),n.concat("(?!",M(b).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},N=n.concat(o,"\\b(?!\\()"),w={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),N],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),N],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:E,contains:[k,i,w,e.C_BLOCK_COMMENT_MODE,g,m,T]},D={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",M(_).join("\\b|"),"|",M(b).join("\\b|"),"\\b)"),o,n.concat(p,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(D);const P=[k,w,e.C_BLOCK_COMMENT_MODE,g,m,T],W={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:y,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:y,keyword:["new","array"]},contains:["self",...P]},...P,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:E,contains:[W,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},i,D,w,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},T,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:E,contains:["self",i,w,e.C_BLOCK_COMMENT_MODE,g,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},g,m]}}return ma=t,ma}var _a,nf;function xPe(){if(nf)return _a;nf=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return _a=t,_a}var ba,sf;function kPe(){if(sf)return ba;sf=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return ba=t,ba}var ya,of;function EPe(){if(of)return ya;of=1;function t(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},u={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},f={begin:/\{\{/,relevance:0},h={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,u,f,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,u,f,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,f,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,f,c]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",g=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,m=`\\b|${o.join("|")}`,y={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${g}))[eE][+-]?(${p})[jJ]?(?=${m})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${p})[jJ](?=${m})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",u,y,h,e.HASH_COMMENT_MODE]}]};return c.contains=[h,y,u],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[u,y,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},h,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[y,b,h]}]}}return ya=t,ya}var va,rf;function CPe(){if(rf)return va;rf=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return va=t,va}var wa,af;function APe(){if(af)return wa;af=1;function t(e){const n=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[i,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return wa=t,wa}var xa,lf;function SPe(){if(lf)return xa;lf=1;function t(e){const n=e.regex,s={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],i=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:r,literal:i,built_in:a},illegal:""},s]}}return xa=t,xa}var ka,cf;function TPe(){if(cf)return ka;cf=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=t(a),u=o,c=s,f="@[a-z-]+",h="and or not only",g={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+c.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+u.join("|")+")"},g,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,g,l.HEXCOLOR,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:f,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:f,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},g,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return ka=i,ka}var Ea,uf;function OPe(){if(uf)return Ea;uf=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Ea=t,Ea}var Ca,df;function MPe(){if(df)return Ca;df=1;function t(e){const n=e.regex,s=e.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],u=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],f=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],h=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],p=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],g=f,m=[...c,...u].filter(E=>!f.includes(E)),y={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={begin:n.concat(/\b/,n.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function v(E,{exceptions:M,when:T}={}){const N=T;return M=M||[],E.map(w=>w.match(/\|\d+$/)||M.includes(w)?w:N(w)?`${w}|0`:w)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:v(m,{when:E=>E.length<3}),literal:i,type:l,built_in:h},contains:[{begin:n.either(...p),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:m.concat(p),literal:i,type:l}},{className:"type",begin:n.either(...a)},b,y,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}return Ca=t,Ca}var Aa,ff;function RPe(){if(ff)return Aa;ff=1;function t(w){return w?typeof w=="string"?w:w.source:null}function e(w){return n("(?=",w,")")}function n(...w){return w.map(S=>t(S)).join("")}function s(w){const k=w[w.length-1];return typeof k=="object"&&k.constructor===Object?(w.splice(w.length-1,1),k):{}}function o(...w){return"("+(s(w).capture?"":"?:")+w.map(D=>t(D)).join("|")+")"}const r=w=>n(/\b/,w,/\w$/.test(w)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],u=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],c=["false","nil","true"],f=["assignment","associativity","higherThan","left","lowerThan","none","right"],h=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],p=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],g=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),m=o(g,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),y=n(g,m,"*"),_=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),b=o(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),v=n(_,b,"*"),E=n(/[A-Z]/,b,"*"),M=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,v,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],T=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function N(w){const k={match:/\s+/,relevance:0},S=w.COMMENT("/\\*","\\*/",{contains:["self"]}),D=[w.C_LINE_COMMENT_MODE,S],P={match:[/\./,o(...i,...a)],className:{2:"keyword"}},W={match:n(/\./,o(...u)),relevance:0},R=u.filter(Ne=>typeof Ne=="string").concat(["_|0"]),re=u.filter(Ne=>typeof Ne!="string").concat(l).map(r),V={variants:[{className:"keyword",match:o(...re,...a)}]},A={$pattern:o(/\b\w+/,/#\w+/),keyword:R.concat(h),literal:c},$=[P,W,V],H={match:n(/\./,o(...p)),relevance:0},fe={className:"built_in",match:n(/\b/,o(...p),/(?=\()/)},ge=[H,fe],J={match:/->/,relevance:0},_e={className:"operator",relevance:0,variants:[{match:y},{match:`\\.(\\.|${m})+`}]},we=[J,_e],I="([0-9]_*)+",Q="([0-9a-fA-F]_*)+",G={className:"number",relevance:0,variants:[{match:`\\b(${I})(\\.(${I}))?([eE][+-]?(${I}))?\\b`},{match:`\\b0x(${Q})(\\.(${Q}))?([pP][+-]?(${I}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},ee=(Ne="")=>({className:"subst",variants:[{match:n(/\\/,Ne,/[0\\tnr"']/)},{match:n(/\\/,Ne,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(Ne="")=>({className:"subst",match:n(/\\/,Ne,/[\t ]*(?:[\r\n]|\r\n)/)}),he=(Ne="")=>({className:"subst",label:"interpol",begin:n(/\\/,Ne,/\(/),end:/\)/}),le=(Ne="")=>({begin:n(Ne,/"""/),end:n(/"""/,Ne),contains:[ee(Ne),X(Ne),he(Ne)]}),x=(Ne="")=>({begin:n(Ne,/"/),end:n(/"/,Ne),contains:[ee(Ne),he(Ne)]}),C={className:"string",variants:[le(),le("#"),le("##"),le("###"),x(),x("#"),x("##"),x("###")]},F={match:n(/`/,v,/`/)},B={className:"variable",match:/\$\d+/},j={className:"variable",match:`\\$${b}+`},te=[F,B,j],ie={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:T,contains:[...we,G,C]}]}},z={className:"keyword",match:n(/@/,o(...M))},se={className:"meta",match:n(/@/,v)},q=[ie,z,se],Y={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,b,"+")},{className:"type",match:E,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(E)),relevance:0}]},ae={begin://,keywords:A,contains:[...D,...$,...q,J,Y]};Y.contains.push(ae);const de={match:n(v,/\s*:/),keywords:"_|0",relevance:0},ce={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",de,...D,...$,...ge,...we,G,C,...te,...q,Y]},ye={begin://,contains:[...D,Y]},Z={begin:o(e(n(v,/\s*:/)),e(n(v,/\s+/,v,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:v}]},oe={begin:/\(/,end:/\)/,keywords:A,contains:[Z,...D,...$,...we,G,C,...q,Y,ce],endsParent:!0,illegal:/["']/},pe={match:[/func/,/\s+/,o(F.match,v,y)],className:{1:"keyword",3:"title.function"},contains:[ye,oe,k],illegal:[/\[/,/%/]},xe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ye,oe,k],illegal:/\[|%/},Le={match:[/operator/,/\s+/,y],className:{1:"keyword",3:"title"}},Ue={begin:[/precedencegroup/,/\s+/,E],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...f,...c],end:/}/};for(const Ne of C.variants){const Ze=Ne.contains.find(ot=>ot.label==="interpol");Ze.keywords=A;const Qe=[...$,...ge,...we,G,C,...te];Ze.contains=[...Qe,{begin:/\(/,end:/\)/,contains:["self",...Qe]}]}return{name:"Swift",keywords:A,contains:[...D,pe,xe,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:A,contains:[w.inherit(w.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...$]},Le,Ue,{beginKeywords:"import",end:/$/,contains:[...D],relevance:0},...$,...ge,...we,G,C,...te,...q,Y,ce]}}return Aa=N,Aa}var Sa,hf;function NPe(){if(hf)return Sa;hf=1;function t(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",u="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",f="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",h={className:"number",begin:"\\b"+l+u+c+f+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},g={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},y=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},h,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},g,m,i],_=[...y];return _.pop(),_.push(a),p.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:y}}return Sa=t,Sa}var Ta,pf;function DPe(){if(pf)return Ta;pf=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],n=["true","false","null","undefined","NaN","Infinity"],s=["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"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(c){const f=c.regex,h=(ee,{after:X})=>{const he="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,y={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ee,X)=>{const he=ee[0].length+ee.index,le=ee.input[he];if(le==="<"||le===","){X.ignoreMatch();return}le===">"&&(h(ee,{after:he})||X.ignoreMatch());let x;const C=ee.input.substring(he);if(x=C.match(/^\s*=/)){X.ignoreMatch();return}if((x=C.match(/^\s+extends\s+/))&&x.index===0){X.ignoreMatch();return}}},_={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",v=`\\.(${b})`,E="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",M={className:"number",variants:[{begin:`(\\b(${E})((${v})|\\.)?|(${v}))[eE][+-]?(${b})\\b`},{begin:`\\b(${E})\\b((${v})\\b|\\.)?|(${v})\\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},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},N={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},w={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},S={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,T]},P={className:"comment",variants:[c.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:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},W=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,N,w,k,S,{match:/\$\d+/},M];T.contains=W.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(W)});const R=[].concat(P,T.contains),re=R.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(R)}]),V={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:re},A={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,f.concat(p,"(",f.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:f.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:{_:[...s,...o]}},H={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},fe={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[V],illegal:/%/},ge={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function J(ee){return f.concat("(?!",ee.join("|"),")")}const _e={match:f.concat(/\b/,J([...r,"super","import"]),p,f.lookahead(/\(/)),className:"title.function",relevance:0},we={begin:f.concat(/\./,f.lookahead(f.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},I={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},V]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",G={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,f.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[V]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:re,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),H,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,N,w,k,S,P,{match:/\$\d+/},M,$,{className:"attr",begin:p+f.lookahead(":"),relevance:0},G,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[P,c.REGEXP_MODE,{className:"function",begin:Q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:re}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:m},{begin:y.begin,"on:begin":y.isTrulyOpeningTag,end:y.end}],subLanguage:"xml",contains:[{begin:y.begin,end:y.end,skip:!0,contains:["self"]}]}]},fe,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[V,c.inherit(c.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},we,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[V]},_e,ge,A,I,{match:/\$[(.]/}]}}function u(c){const f=l(c),h=t,p=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],g={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[f.exports.CLASS_REFERENCE]},m={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:p},contains:[f.exports.CLASS_REFERENCE]},y={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],b={$pattern:t,keyword:e.concat(_),literal:n,built_in:a.concat(p),"variable.language":i},v={className:"meta",begin:"@"+h},E=(T,N,w)=>{const k=T.contains.findIndex(S=>S.label===N);if(k===-1)throw new Error("can not find mode to replace");T.contains.splice(k,1,w)};Object.assign(f.keywords,b),f.exports.PARAMS_CONTAINS.push(v),f.contains=f.contains.concat([v,g,m]),E(f,"shebang",c.SHEBANG()),E(f,"use_strict",y);const M=f.contains.find(T=>T.label==="func.def");return M.relevance=0,Object.assign(f,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),f}return Ta=u,Ta}var Oa,gf;function LPe(){if(gf)return Oa;gf=1;function t(e){const n=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,u={className:"literal",variants:[{begin:n.concat(/# */,n.either(i,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(i,r),/ +/,n.either(a,l),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},f={className:"label",begin:/^\w+:/},h=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,o,u,c,f,h,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}return Oa=t,Oa}var Ma,mf;function IPe(){if(mf)return Ma;mf=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const s=e.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},u={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[s,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,r,e.QUOTE_STRING_MODE,u,c,l]}}return Ma=t,Ma}var Te=XIe;Te.registerLanguage("xml",ePe());Te.registerLanguage("bash",tPe());Te.registerLanguage("c",nPe());Te.registerLanguage("cpp",sPe());Te.registerLanguage("csharp",oPe());Te.registerLanguage("css",rPe());Te.registerLanguage("markdown",iPe());Te.registerLanguage("diff",aPe());Te.registerLanguage("ruby",lPe());Te.registerLanguage("go",cPe());Te.registerLanguage("graphql",uPe());Te.registerLanguage("ini",dPe());Te.registerLanguage("java",fPe());Te.registerLanguage("javascript",hPe());Te.registerLanguage("json",pPe());Te.registerLanguage("kotlin",gPe());Te.registerLanguage("less",mPe());Te.registerLanguage("lua",_Pe());Te.registerLanguage("makefile",bPe());Te.registerLanguage("perl",yPe());Te.registerLanguage("objectivec",vPe());Te.registerLanguage("php",wPe());Te.registerLanguage("php-template",xPe());Te.registerLanguage("plaintext",kPe());Te.registerLanguage("python",EPe());Te.registerLanguage("python-repl",CPe());Te.registerLanguage("r",APe());Te.registerLanguage("rust",SPe());Te.registerLanguage("scss",TPe());Te.registerLanguage("shell",OPe());Te.registerLanguage("sql",MPe());Te.registerLanguage("swift",RPe());Te.registerLanguage("yaml",NPe());Te.registerLanguage("typescript",DPe());Te.registerLanguage("vbnet",LPe());Te.registerLanguage("wasm",IPe());Te.HighlightJS=Te;Te.default=Te;var PPe=Te;const ro=On(PPe);var Rn={};Rn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let u="",c="",f=!0,h=!1;for(let p=e+n.leftDelimiter.length;p=s+1:c.length>=s}let r,i,a,l;const u=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=r===-1?-1:n.indexOf(e.rightDelimiter,u),l=n.charAt(i+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=r===-1?-1:n.indexOf(e.rightDelimiter,r+u),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${t}, expected 'start', 'end' or 'only'`)}return r!==-1&&i!==-1&&o(n.substring(r,i+e.rightDelimiter.length))}};Rn.removeDelimiter=function(t,e){const n=ll(e.leftDelimiter),s=ll(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function ll(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Rn.escapeRegExp=ll;Rn.getMatchingOpeningToken=function(t,e){if(t[e].type==="softbreak")return!1;if(t[e].nesting===0)return t[e];const n=t[e].level,s=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===s&&t[e].level===n)return t[e];return!1};const FPe=/[&<>"]/,BPe=/[&<>"]/g,jPe={"&":"&","<":"<",">":">",'"':"""};function zPe(t){return jPe[t]}Rn.escapeHtml=function(t){return FPe.test(t)?t.replace(BPe,zPe):t};const Re=Rn;var $Pe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Re.escapeRegExp(t.leftDelimiter)+"[^"+Re.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Re.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Re.getAttrs(o.info,r,t);Re.addAttrs(i,o),o.info=Re.removeDelimiter(o.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:n=>n==="image"||n==="code_inline"},{shift:0,type:"text",content:Re.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content.indexOf(t.rightDelimiter),a=n[s].children[o-1],l=Re.getAttrs(r.content,0,t);Re.addAttrs(l,a),r.content.length===i+t.rightDelimiter.length?n[s].children.splice(o,1):r.content=r.content.slice(i+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Re.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Re.getMatchingOpeningToken(n,s),i=Re.getAttrs(o.content,0,t);Re.addAttrs(i,r),n.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Re.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,0,t),l=Re.getMatchingOpeningToken(n[s].children,o-1);Re.addAttrs(a,l),r.content=i.slice(i.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Re.getAttrs(i,0,t);let l=s-2;for(;n[l-1]&&n[l-1].type!=="ordered_list_open"&&n[l-1].type!=="bullet_list_open";)l--;Re.addAttrs(a,n[l-1]),n[s].children=n[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:n=>n==="bullet_list_close"||n==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Re.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Re.getAttrs(r,0,t),a=Re.getMatchingOpeningToken(n,s);Re.addAttrs(i,a),n.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Re.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Re.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=_f(l)!==" "?l:l.slice(0,-1)}},{name:` +{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Re.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Re.getMatchingOpeningToken(n,a);Re.addAttrs(i,l),n[s].children=n[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:n=>n.length===1,content:n=>n.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(n,s)=>{const o=n[s];o.type="hr",o.tag="hr",o.nesting=0;const r=n[s+1].content,i=r.lastIndexOf(t.leftDelimiter),a=Re.getAttrs(r,i,t);Re.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Re.hasDelimiters("end",t),type:n=>n!=="code_inline"&&n!=="math_inline"}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const u=Re.getMatchingOpeningToken(n,l);Re.addAttrs(a,u);const c=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=_f(c)!==" "?c:c.slice(0,-1)}}]};function _f(t){return t.slice(-1)[0]}const qPe=$Pe,UPe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var HPe=function(e,n){let s=Object.assign({},UPe);s=Object.assign(s,n);const o=qPe(s);function r(i){const a=i.tokens;for(let l=0;l{const g=cl(a,l,p);return g.j!==null&&(f=g.j),g.match})&&(c.transform(a,l,f),(c.name==="inline attributes"||c.name==="inline nesting 0")&&u--)}}e.core.ruler.before("linkify","curly_attributes",r)};function cl(t,e,n){const s={match:!1,j:null},o=n.shift!==void 0?e+n.shift:n.position;if(n.shift!==void 0&&o<0)return s;const r=KPe(t,o);if(r===void 0)return s;for(const i of Object.keys(n))if(!(i==="shift"||i==="position")){if(r[i]===void 0)return s;if(i==="children"&&VPe(n.children)){if(r.children.length===0)return s;let a;const l=n.children,u=r.children;if(l.every(c=>c.position!==void 0)){if(a=l.every(c=>cl(u,c.position,c).match),a){const c=WPe(l).position;s.j=c>=0?c:u.length+c}}else for(let c=0;ccl(u,c,f).match),a){s.j=c;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(GPe(n[i])){if(n[i].every(l=>l(r[i]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${i}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function VPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function GPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function KPe(t,e){return e>=0?t[e]:t[t.length+e]}function WPe(t){return t.slice(-1)[0]||{}}const ZPe=On(HPe);function YPe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const Co=new Zue("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=YPe();if(e&&ro.getLanguage(e))try{const o=ro.highlight(e,t).value;return'
'+e+'
'+o+"
"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}return'
'+e+'
'+ro.highlightAuto(t).value+"
"},bulletListMarker:"•"}).use(oIe).use(ZPe).use(ds).use(iIe).use(XLe);ro.configure({languages:[]});ro.configure({languages:["javascript"]});Co.renderer.rules.link_open=(t,e,n,s,o)=>{const r=t[e],i=r.attrIndex("href");if(i>=0){const a=r.attrs[i][1];r.attrs[i][1]=a,r.attrPush(["style","color: blue; font-weight: bold; text-decoration: underline;"])}return o.renderToken(t,e,n)};const Ng=(t,e,n,s,o)=>{const i=t[e].attrGet("type")||"ul";return i==="ul"?'
    '+o.renderToken(t,e,n)+"
":i==="ol"?'
    '+o.renderToken(t,e,n)+"
":o.renderToken(t,e,n)};Co.renderer.rules.bullet_list_open=Ng;Co.renderer.rules.ordered_list_open=Ng;const QPe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` // Your inline script code here console.log('Inline script executed!'); @@ -116,28 +117,28 @@ https://github.com/highlightjs/highlight.js/issues/2277`),pe=A,me=q),V===void 0& document.execCommand('copy'); window.getSelection().removeAllRanges(); } - `,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=Eo.render(this.markdownText),ge(()=>{Ee.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=Eo.render(t),ge(()=>{Ee.replace()})}}},KPe={class:"break-all"},WPe=["innerHTML"];function ZPe(t,e,n,s,o,r){return O(),R("div",KPe,[d("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,WPe)])}const YPe=Ke(GPe,[["render",ZPe]]);const QPe="/",JPe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:YPe},props:{message:Object,avatar:""},data(){return{expanded:!1,new_message_content:"",showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){this.new_message_content=this.message.content,ge(()=>{Ee.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.new_message_content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.new_message_content)},getImgUrl(){return this.message.sender=="user"?this.avatar?this.avatar:jw:this.avatar?QPe+this.avatar:Yn},defaultImg(t){t.target.src=Yn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{showConfirmation(){ge(()=>{Ee.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),ge(()=>{Ee.replace()})},deleteMsgMode(){ge(()=>{Ee.replace()})}},computed:{created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(c){return c<10&&(c="0"+c),c}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},XPe={class:"relative group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},eFe={class:"flex flex-row gap-2"},tFe={class:"flex-shrink-0"},nFe={class:"group/avatar"},sFe=["src","data-popover-target"],oFe={class:"flex flex-col w-full flex-grow-0"},rFe={class:"flex flex-row flex-grow items-start"},iFe={class:"flex flex-col mb-2"},aFe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},lFe=["title"],cFe=d("div",{class:"flex-grow"},null,-1),uFe={class:"flex-row justify-end mx-2"},dFe={class:"invisible group-hover:visible flex flex-row"},fFe={key:0,class:"flex items-center duration-75"},hFe=d("i",{"data-feather":"x"},null,-1),pFe=[hFe],gFe=d("i",{"data-feather":"check"},null,-1),mFe=[gFe],_Fe=d("i",{"data-feather":"edit"},null,-1),bFe=[_Fe],yFe=d("i",{"data-feather":"copy"},null,-1),vFe=[yFe],wFe=d("i",{"data-feather":"refresh-cw"},null,-1),xFe=[wFe],kFe={key:2,class:"flex items-center duration-75"},EFe=d("i",{"data-feather":"x"},null,-1),CFe=[EFe],AFe=d("i",{"data-feather":"check"},null,-1),SFe=[AFe],TFe=d("i",{"data-feather":"trash"},null,-1),OFe=[TFe],MFe=d("i",{"data-feather":"thumbs-up"},null,-1),RFe=[MFe],NFe={class:"flex flex-row items-center"},DFe=d("i",{"data-feather":"thumbs-down"},null,-1),LFe=[DFe],IFe={class:"overflow-x-auto w-full"},PFe={class:"text-sm text-gray-400 mt-2"},FFe={class:"flex flex-row items-center gap-2"},BFe={key:0},jFe={class:"font-thin"},zFe={key:1},$Fe={class:"font-thin"},qFe={key:2},UFe={class:"font-thin"},HFe={key:3},VFe=["title"];function GFe(t,e,n,s,o,r){const i=ut("MarkdownRenderer");return O(),R("div",XPe,[d("div",eFe,[d("div",tFe,[d("div",nFe,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,sFe)])]),d("div",oFe,[d("div",rFe,[d("div",iFe,[d("div",aFe,ne(n.message.sender)+" ",1),n.message.created_at?(O(),R("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},ne(r.created_at),9,lFe)):U("",!0)]),cFe,d("div",uFe,[d("div",dFe,[o.editMsgMode?(O(),R("div",fFe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=ue(a=>o.editMsgMode=!1,["stop"]))},pFe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=ue((...a)=>r.updateMessage&&r.updateMessage(...a),["stop"]))},mFe)])):U("",!0),o.editMsgMode?U("",!0):(O(),R("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ue(a=>o.editMsgMode=!0,["stop"]))},bFe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=ue(a=>r.copyContentToClipboard(),["stop"]))},vFe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ue(a=>r.resendMessage(),["stop"]))},xFe),o.deleteMsgMode?(O(),R("div",kFe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[6]||(e[6]=ue(a=>o.deleteMsgMode=!1,["stop"]))},CFe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(a=>r.deleteMsg(),["stop"]))},SFe)])):U("",!0),o.deleteMsgMode?U("",!0):(O(),R("div",{key:3,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[8]||(e[8]=a=>o.deleteMsgMode=!0)},OFe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=ue(a=>r.rankUp(),["stop"]))},RFe),d("div",NFe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=ue(a=>r.rankDown(),["stop"]))},LFe),n.message.rank!=0?(O(),R("div",{key:0,class:Me(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ne(n.message.rank),3)):U("",!0)])])])]),d("div",IFe,[o.editMsgMode?U("",!0):(O(),at(i,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Oe((O(),R("textarea",{key:1,ref:"mdTextarea",rows:4,class:"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",style:en({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[11]||(e[11]=a=>o.new_message_content=a)},null,4)),[[je,o.new_message_content]]):U("",!0)]),d("div",PFe,[d("div",FFe,[n.message.binding?(O(),R("p",BFe,[ke("Binding: "),d("span",jFe,ne(n.message.binding),1)])):U("",!0),n.message.model?(O(),R("p",zFe,[ke("Model: "),d("span",$Fe,ne(n.message.model),1)])):U("",!0),n.message.seed?(O(),R("p",qFe,[ke("Seed: "),d("span",UFe,ne(n.message.seed),1)])):U("",!0),r.time_spent?(O(),R("p",HFe,[ke("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},ne(r.time_spent),9,VFe)])):U("",!0)])])])])])}const Ng=Ke(JPe,[["render",GFe]]),KFe="/";Ae.defaults.baseURL="/";const WFe={name:"MountedPersonalities",props:{onShowPersList:Function},data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:KFe,isMounted:!1,mountedPers:{},show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let g={};return g=f,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+f.folder,g.isMounted=h,g});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.getMountedPersonalities(),ge(()=>{})},personalityImgPlacehodler(t){t.target.src=Yn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(this.settingsChanged=!0,t.isMounted){const e=await this.select_personality(t);e&&e.status&&this.$refs.toast.showToast(`Selected personality: + `,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=Co.render(this.markdownText),me(()=>{Ee.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=Co.render(t),me(()=>{Ee.replace()})}}},JPe={class:"break-all"},XPe=["innerHTML"];function eFe(t,e,n,s,o,r){return O(),L("div",JPe,[d("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,XPe)])}const tFe=Ke(QPe,[["render",eFe]]);const nFe="/",sFe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:tFe},props:{message:Object,avatar:""},data(){return{expanded:!1,new_message_content:"",showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){this.new_message_content=this.message.content,me(()=>{Ee.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.new_message_content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.new_message_content)},getImgUrl(){return this.message.sender=="user"?this.avatar?this.avatar:zw:this.avatar?nFe+this.avatar:Jn},defaultImg(t){t.target.src=Jn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{showConfirmation(){me(()=>{Ee.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),me(()=>{Ee.replace()})},deleteMsgMode(){me(()=>{Ee.replace()})}},computed:{created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(u){return u<10&&(u="0"+u),u}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},oFe={class:"relative group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},rFe={class:"flex flex-row gap-2"},iFe={class:"flex-shrink-0"},aFe={class:"group/avatar"},lFe=["src","data-popover-target"],cFe={class:"flex flex-col w-full flex-grow-0"},uFe={class:"flex flex-row flex-grow items-start"},dFe={class:"flex flex-col mb-2"},fFe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},hFe=["title"],pFe=d("div",{class:"flex-grow"},null,-1),gFe={class:"flex-row justify-end mx-2"},mFe={class:"invisible group-hover:visible flex flex-row"},_Fe={key:0,class:"flex items-center duration-75"},bFe=d("i",{"data-feather":"x"},null,-1),yFe=[bFe],vFe=d("i",{"data-feather":"check"},null,-1),wFe=[vFe],xFe=d("i",{"data-feather":"edit"},null,-1),kFe=[xFe],EFe=d("i",{"data-feather":"copy"},null,-1),CFe=[EFe],AFe=d("i",{"data-feather":"refresh-cw"},null,-1),SFe=[AFe],TFe={key:2,class:"flex items-center duration-75"},OFe=d("i",{"data-feather":"x"},null,-1),MFe=[OFe],RFe=d("i",{"data-feather":"check"},null,-1),NFe=[RFe],DFe=d("i",{"data-feather":"trash"},null,-1),LFe=[DFe],IFe=d("i",{"data-feather":"thumbs-up"},null,-1),PFe=[IFe],FFe={class:"flex flex-row items-center"},BFe=d("i",{"data-feather":"thumbs-down"},null,-1),jFe=[BFe],zFe={class:"overflow-x-auto w-full"},$Fe={class:"text-sm text-gray-400 mt-2"},qFe={class:"flex flex-row items-center gap-2"},UFe={key:0},HFe={class:"font-thin"},VFe={key:1},GFe={class:"font-thin"},KFe={key:2},WFe={class:"font-thin"},ZFe={key:3},YFe=["title"];function QFe(t,e,n,s,o,r){const i=ut("MarkdownRenderer");return O(),L("div",oFe,[d("div",rFe,[d("div",iFe,[d("div",aFe,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,lFe)])]),d("div",cFe,[d("div",uFe,[d("div",dFe,[d("div",fFe,ne(n.message.sender)+" ",1),n.message.created_at?(O(),L("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},ne(r.created_at),9,hFe)):U("",!0)]),pFe,d("div",gFe,[d("div",mFe,[o.editMsgMode?(O(),L("div",_Fe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=ue(a=>o.editMsgMode=!1,["stop"]))},yFe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=ue((...a)=>r.updateMessage&&r.updateMessage(...a),["stop"]))},wFe)])):U("",!0),o.editMsgMode?U("",!0):(O(),L("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ue(a=>o.editMsgMode=!0,["stop"]))},kFe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=ue(a=>r.copyContentToClipboard(),["stop"]))},CFe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ue(a=>r.resendMessage(),["stop"]))},SFe),o.deleteMsgMode?(O(),L("div",TFe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[6]||(e[6]=ue(a=>o.deleteMsgMode=!1,["stop"]))},MFe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(a=>r.deleteMsg(),["stop"]))},NFe)])):U("",!0),o.deleteMsgMode?U("",!0):(O(),L("div",{key:3,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[8]||(e[8]=a=>o.deleteMsgMode=!0)},LFe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=ue(a=>r.rankUp(),["stop"]))},PFe),d("div",FFe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=ue(a=>r.rankDown(),["stop"]))},jFe),n.message.rank!=0?(O(),L("div",{key:0,class:Me(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ne(n.message.rank),3)):U("",!0)])])])]),d("div",zFe,[o.editMsgMode?U("",!0):(O(),at(i,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Oe((O(),L("textarea",{key:1,ref:"mdTextarea",rows:4,class:"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",style:en({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[11]||(e[11]=a=>o.new_message_content=a)},null,4)),[[je,o.new_message_content]]):U("",!0)]),d("div",$Fe,[d("div",qFe,[n.message.binding?(O(),L("p",UFe,[ke("Binding: "),d("span",HFe,ne(n.message.binding),1)])):U("",!0),n.message.model?(O(),L("p",VFe,[ke("Model: "),d("span",GFe,ne(n.message.model),1)])):U("",!0),n.message.seed?(O(),L("p",KFe,[ke("Seed: "),d("span",WFe,ne(n.message.seed),1)])):U("",!0),r.time_spent?(O(),L("p",ZFe,[ke("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},ne(r.time_spent),9,YFe)])):U("",!0)])])])])])}const Dg=Ke(sFe,[["render",QFe]]),JFe="/";Ae.defaults.baseURL="/";const XFe={name:"MountedPersonalities",props:{onShowPersList:Function},data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:JFe,isMounted:!1,mountedPers:{},show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let p={};return p=f,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+f.folder,p.isMounted=h,p});this.personalities.length==0?this.personalities=c:this.personalities=this.personalities.concat(c)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.getMountedPersonalities(),me(()=>{})},personalityImgPlacehodler(t){t.target.src=Jn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(this.settingsChanged=!0,t.isMounted){const e=await this.select_personality(t);e&&e.status&&this.$refs.toast.showToast(`Selected personality: `+t.name,4,!0)}else this.onPersonalityMounted(t)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ae.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ae.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ae.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1)},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),console.log("fig",this),this.mountedPers=this.personalities[this.personalities.findIndex(e=>e.full_path==this.configFile.personalities[this.configFile.active_personality_id])]}}},ZFe={class:"w-fit select-none"},YFe={key:0,class:"flex -space-x-4"},QFe=["src","title"],JFe={key:1,class:"flex -space-x-4"},XFe=["src","title"];function eBe(t,e,n,s,o,r){return O(),R("div",ZFe,[o.mountedPersArr.length>1?(O(),R("div",YFe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[0]||(e[0]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+o.mountedPers.name},null,40,QFe),d("div",{class:"flex items-center justify-center w-8 h-8 cursor-pointer text-xs font-medium bg-bg-light dark:bg-bg-dark border-2 hover:border-secondary rounded-full hover:bg-bg-light-tone dark:hover:bg-bg-dark-tone dark:border-gray-800 hover:z-20 hover:-translate-y-2 duration-150 active:scale-90",onClick:e[1]||(e[1]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+ne(o.mountedPersArr.length-1),1)])):U("",!0),o.mountedPersArr.length==1?(O(),R("div",JFe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[2]||(e[2]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+o.mountedPers.name,onClick:e[3]||(e[3]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,XFe)])):U("",!0)])}const tBe=Ke(WFe,[["render",eBe]]);const nBe="/";Ae.defaults.baseURL="/";const sBe={props:{onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Op,Toast:ti,UniversalForm:Kp},name:"MountedPersonalitiesList",data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:nBe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){console.log("moununmoun pers list"),this.onMountUnmount(this)},async constructor(){this.isLoading=!0,this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let g={};return g=f,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+f.folder,g.isMounted=h,g});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.getMountedPersonalities(),this.isLoading=!1},personalityImgPlacehodler(t){t.target.src=Yn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: +Error: `+e.error,4,!1)},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),console.log("fig",this),this.mountedPers=this.personalities[this.personalities.findIndex(e=>e.full_path==this.configFile.personalities[this.configFile.active_personality_id])]}}},eBe={class:"w-fit select-none"},tBe={key:0,class:"flex -space-x-4"},nBe=["src","title"],sBe={key:1,class:"flex -space-x-4"},oBe=["src","title"];function rBe(t,e,n,s,o,r){return O(),L("div",eBe,[o.mountedPersArr.length>1?(O(),L("div",tBe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[0]||(e[0]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+o.mountedPers.name},null,40,nBe),d("div",{class:"flex items-center justify-center w-8 h-8 cursor-pointer text-xs font-medium bg-bg-light dark:bg-bg-dark border-2 hover:border-secondary rounded-full hover:bg-bg-light-tone dark:hover:bg-bg-dark-tone dark:border-gray-800 hover:z-20 hover:-translate-y-2 duration-150 active:scale-90",onClick:e[1]||(e[1]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+ne(o.mountedPersArr.length-1),1)])):U("",!0),o.mountedPersArr.length==1?(O(),L("div",sBe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[2]||(e[2]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+o.mountedPers.name,onClick:e[3]||(e[3]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,oBe)])):U("",!0)])}const iBe=Ke(XFe,[["render",rBe]]);const aBe="/";Ae.defaults.baseURL="/";const lBe={props:{onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Mp,Toast:ni,UniversalForm:Wp},name:"MountedPersonalitiesList",data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:aBe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){console.log("moununmoun pers list"),this.onMountUnmount(this)},async constructor(){this.isLoading=!0,this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let p={};return p=f,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+f.folder,p.isMounted=h,p});this.personalities.length==0?this.personalities=c:this.personalities=this.personalities.concat(c)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.getMountedPersonalities(),this.isLoading=!1},personalityImgPlacehodler(t){t.target.src=Jn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: `+t.name,4,!0),console.log("ssss",this.configFile))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{Ae.get("/get_active_personality_settings").then(e=>{e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{Ae.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses. `+s,4,!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses. Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ae.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ae.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ae.post("/select_personality",n);if(s){this.toggleMountUnmount(),this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,this.toggleMountUnmount(),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.toggleMountUnmount(),console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.configFile.personalities[this.configFile.active_personality_id];console.log();const s=this.personalities.findIndex(a=>a.full_path==n),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[s]);const r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[o].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&this.$refs.toast.showToast(`Selected personality: `+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities.length>0)for(let e=0;eo.full_path==n);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const o=this.personalities.findIndex(i=>i.full_path==n),r=this.personalities[o];console.log("adding discucc121",r,n),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},cc=t=>(Fs("data-v-ecabcf2a"),t=t(),Bs(),t),oBe={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},rBe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},iBe=cc(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),aBe=cc(()=>d("span",{class:"sr-only"},"Loading...",-1)),lBe=[iBe,aBe],cBe=cc(()=>d("i",{"data-feather":"chevron-down"},null,-1)),uBe=[cBe],dBe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},fBe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function hBe(t,e,n,s,o,r){const i=ut("personality-entry"),a=ut("Toast"),l=ut("UniversalForm");return O(),R("div",oBe,[o.isLoading?(O(),R("div",rBe,lBe)):U("",!0),d("div",null,[o.mountedPersArr.length>0?(O(),R("div",{key:0,class:Me(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[d("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=ue((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},uBe),d("label",dBe," Mounted Personalities: ("+ne(o.mountedPersArr.length)+") ",1),d("div",fBe,[Ce(jt,{name:"bounce"},{default:Je(()=>[(O(!0),R(Be,null,rt(o.mountedPersArr,(c,u)=>(O(),at(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+c.name,personality:c,full_path:c.full_path,selected:o.configFile.personalities[o.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})])],2)):U("",!0)]),Ce(a,{ref:"toast"},null,512),Ce(l,{ref:"universalForm",class:"z-20"},null,512)])}const pBe=Ke(sBe,[["render",hBe],["__scopeId","data-v-ecabcf2a"]]);const gBe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{discussionList:Array,loading:!1},components:{MountedPersonalities:tBe,MountedPersonalitiesList:pBe},setup(){},data(){return{message:"",fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1}},computed:{allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{Ee.replace()}),zt(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{showFileList(){ge(()=>{Ee.replace()})},loading(t,e){ge(()=>{Ee.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{Ee.replace()})},activated(){ge(()=>{Ee.replace()})}},Tt=t=>(Fs("data-v-fdaaab76"),t=t(),Bs(),t),mBe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},_Be={key:0,class:"flex items-center justify-center w-full"},bBe={class:"flex flex-row p-2 rounded-t-lg"},yBe=Tt(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),vBe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},wBe={class:"flex flex-col gap-2"},xBe=["title"],kBe=Tt(()=>d("i",{"data-feather":"list"},null,-1)),EBe=[kBe],CBe={key:1},ABe={key:0,class:"flex flex-col max-h-64"},SBe=["title"],TBe={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium bg-bg-dark-tone-panel dark:bg-bg-dark-tone rounded-lg hover:bg-primary dark:hover:bg-primary"},OBe=Tt(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),MBe={class:"line-clamp-1 w-3/5"},RBe=Tt(()=>d("div",{class:"grow"},null,-1)),NBe={class:"flex flex-row items-center"},DBe={class:"whitespace-nowrap"},LBe=["onClick"],IBe=Tt(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),PBe=[IBe],FBe={key:2,class:"flex items-center mx-1"},BBe={class:"whitespace-nowrap flex flex-row gap-2"},jBe=Tt(()=>d("p",{class:"font-bold"}," Total size: ",-1)),zBe=Tt(()=>d("div",{class:"grow"},null,-1)),$Be=Tt(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),qBe=[$Be],UBe={key:3,class:"mx-1"},HBe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},VBe={class:"w-fit"},GBe={class:"relative grow"},KBe=Tt(()=>d("i",{"data-feather":"file-plus"},null,-1)),WBe=[KBe],ZBe={class:"inline-flex justify-center rounded-full"},YBe=Tt(()=>d("i",{"data-feather":"send"},null,-1)),QBe=Tt(()=>d("span",{class:"sr-only"},"Send message",-1)),JBe=[YBe,QBe],XBe={key:1,title:"Waiting for reply"},eje=Tt(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),tje=[eje];function nje(t,e,n,s,o,r){const i=ut("MountedPersonalitiesList"),a=ut("MountedPersonalities");return O(),R("div",mBe,[n.loading?(O(),R("div",_Be,[d("div",bBe,[d("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=ue((...l)=>r.stopGenerating&&r.stopGenerating(...l),["stop"]))}," Stop generating ")])])):U("",!0),d("form",null,[yBe,d("div",vBe,[d("div",wBe,[o.fileList.length>0?(O(),R("button",{key:0,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showFileList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=ue(l=>o.showFileList=!o.showFileList,["stop"]))},EBe,8,xBe)):U("",!0),o.fileList.length>0&&o.showFileList==!0?(O(),R("div",CBe,[o.fileList.length>0?(O(),R("div",ABe,[Ce(jt,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Je(()=>[(O(!0),R(Be,null,rt(o.fileList,(l,c)=>(O(),R("div",{key:c+"-"+l.name},[d("div",{class:"m-1",title:l.name},[d("div",TBe,[OBe,d("div",MBe,ne(l.name),1),RBe,d("div",NBe,[d("p",DBe,ne(r.computedFileSize(l.size)),1),d("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:u=>r.removeItem(l)},PBe,8,LBe)])])],8,SBe)]))),128))]),_:1})])):U("",!0)])):U("",!0),o.fileList.length>0?(O(),R("div",FBe,[d("div",BBe,[jBe,ke(" "+ne(o.totalSize)+" ("+ne(o.fileList.length)+") ",1)]),zBe,d("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=l=>o.fileList=[])},qBe)])):U("",!0),o.showPersonalities?(O(),R("div",UBe,[Ce(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","discussionPersonalities"])])):U("",!0),d("div",HBe,[d("div",VBe,[Ce(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun},null,8,["onShowPersList"])]),d("div",GBe,[Oe(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=l=>o.message=l),title:"Hold SHIFT + ENTER to add new line",class:"inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:e[4]||(e[4]=qa(ue(l=>r.submitOnEnter(l),["exact"]),["enter"]))},`\r +Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities.length>0)for(let e=0;eo.full_path==n);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const o=this.personalities.findIndex(i=>i.full_path==n),r=this.personalities[o];console.log("adding discucc121",r,n),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},uc=t=>(Bs("data-v-ecabcf2a"),t=t(),js(),t),cBe={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},uBe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},dBe=uc(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),fBe=uc(()=>d("span",{class:"sr-only"},"Loading...",-1)),hBe=[dBe,fBe],pBe=uc(()=>d("i",{"data-feather":"chevron-down"},null,-1)),gBe=[pBe],mBe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},_Be={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function bBe(t,e,n,s,o,r){const i=ut("personality-entry"),a=ut("Toast"),l=ut("UniversalForm");return O(),L("div",cBe,[o.isLoading?(O(),L("div",uBe,hBe)):U("",!0),d("div",null,[o.mountedPersArr.length>0?(O(),L("div",{key:0,class:Me(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[d("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=ue((...u)=>r.toggleShowPersList&&r.toggleShowPersList(...u),["stop"]))},gBe),d("label",mBe," Mounted Personalities: ("+ne(o.mountedPersArr.length)+") ",1),d("div",_Be,[Ce(jt,{name:"bounce"},{default:Je(()=>[(O(!0),L(Be,null,rt(o.mountedPersArr,(u,c)=>(O(),at(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+c+"-"+u.name,personality:u,full_path:u.full_path,selected:o.configFile.personalities[o.configFile.active_personality_id]===u.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})])],2)):U("",!0)]),Ce(a,{ref:"toast"},null,512),Ce(l,{ref:"universalForm",class:"z-20"},null,512)])}const yBe=Ke(lBe,[["render",bBe],["__scopeId","data-v-ecabcf2a"]]);const vBe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{discussionList:Array,loading:!1},components:{MountedPersonalities:iBe,MountedPersonalitiesList:yBe},setup(){},data(){return{message:"",fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1}},computed:{allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{Ee.replace()}),zt(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{showFileList(){me(()=>{Ee.replace()})},loading(t,e){me(()=>{Ee.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{Ee.replace()})},activated(){me(()=>{Ee.replace()})}},Tt=t=>(Bs("data-v-fdaaab76"),t=t(),js(),t),wBe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},xBe={key:0,class:"flex items-center justify-center w-full"},kBe={class:"flex flex-row p-2 rounded-t-lg"},EBe=Tt(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),CBe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},ABe={class:"flex flex-col gap-2"},SBe=["title"],TBe=Tt(()=>d("i",{"data-feather":"list"},null,-1)),OBe=[TBe],MBe={key:1},RBe={key:0,class:"flex flex-col max-h-64"},NBe=["title"],DBe={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium bg-bg-dark-tone-panel dark:bg-bg-dark-tone rounded-lg hover:bg-primary dark:hover:bg-primary"},LBe=Tt(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),IBe={class:"line-clamp-1 w-3/5"},PBe=Tt(()=>d("div",{class:"grow"},null,-1)),FBe={class:"flex flex-row items-center"},BBe={class:"whitespace-nowrap"},jBe=["onClick"],zBe=Tt(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),$Be=[zBe],qBe={key:2,class:"flex items-center mx-1"},UBe={class:"whitespace-nowrap flex flex-row gap-2"},HBe=Tt(()=>d("p",{class:"font-bold"}," Total size: ",-1)),VBe=Tt(()=>d("div",{class:"grow"},null,-1)),GBe=Tt(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),KBe=[GBe],WBe={key:3,class:"mx-1"},ZBe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},YBe={class:"w-fit"},QBe={class:"relative grow"},JBe=Tt(()=>d("i",{"data-feather":"file-plus"},null,-1)),XBe=[JBe],eje={class:"inline-flex justify-center rounded-full"},tje=Tt(()=>d("i",{"data-feather":"send"},null,-1)),nje=Tt(()=>d("span",{class:"sr-only"},"Send message",-1)),sje=[tje,nje],oje={key:1,title:"Waiting for reply"},rje=Tt(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),ije=[rje];function aje(t,e,n,s,o,r){const i=ut("MountedPersonalitiesList"),a=ut("MountedPersonalities");return O(),L("div",wBe,[n.loading?(O(),L("div",xBe,[d("div",kBe,[d("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=ue((...l)=>r.stopGenerating&&r.stopGenerating(...l),["stop"]))}," Stop generating ")])])):U("",!0),d("form",null,[EBe,d("div",CBe,[d("div",ABe,[o.fileList.length>0?(O(),L("button",{key:0,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showFileList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=ue(l=>o.showFileList=!o.showFileList,["stop"]))},OBe,8,SBe)):U("",!0),o.fileList.length>0&&o.showFileList==!0?(O(),L("div",MBe,[o.fileList.length>0?(O(),L("div",RBe,[Ce(jt,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Je(()=>[(O(!0),L(Be,null,rt(o.fileList,(l,u)=>(O(),L("div",{key:u+"-"+l.name},[d("div",{class:"m-1",title:l.name},[d("div",DBe,[LBe,d("div",IBe,ne(l.name),1),PBe,d("div",FBe,[d("p",BBe,ne(r.computedFileSize(l.size)),1),d("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:c=>r.removeItem(l)},$Be,8,jBe)])])],8,NBe)]))),128))]),_:1})])):U("",!0)])):U("",!0),o.fileList.length>0?(O(),L("div",qBe,[d("div",UBe,[HBe,ke(" "+ne(o.totalSize)+" ("+ne(o.fileList.length)+") ",1)]),VBe,d("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=l=>o.fileList=[])},KBe)])):U("",!0),o.showPersonalities?(O(),L("div",WBe,[Ce(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","discussionPersonalities"])])):U("",!0),d("div",ZBe,[d("div",YBe,[Ce(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun},null,8,["onShowPersList"])]),d("div",QBe,[Oe(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=l=>o.message=l),title:"Hold SHIFT + ENTER to add new line",class:"inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:e[4]||(e[4]=Ua(ue(l=>r.submitOnEnter(l),["exact"]),["enter"]))},`\r \r \r - `,544),[[je,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...l)=>r.addFiles&&r.addFiles(...l)),multiple:""},null,544),d("button",{type:"button",onClick:e[6]||(e[6]=ue(l=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},WBe)]),d("div",ZBe,[n.loading?U("",!0):(O(),R("button",{key:0,type:"button",onClick:e[7]||(e[7]=(...l)=>r.submit&&r.submit(...l)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},JBe)),n.loading?(O(),R("div",XBe,tje)):U("",!0)])])])])])])}const Dg=Ke(gBe,[["render",nje],["__scopeId","data-v-fdaaab76"]]),sje={name:"WelcomeComponent",setup(){return{}}},oje={class:"flex flex-col text-center"},rje=To('
Logo

Lord of Large Language Models

One tool to rule them all


Welcome

Please create a new discussion or select existing one to start

',1),ije=[rje];function aje(t,e,n,s,o,r){return O(),R("div",oje,ije)}const Lg=Ke(sje,[["render",aje]]);const lje={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){ge(()=>{Ee.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),ge(()=>{Ee.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,ge(()=>{Ee.replace()})}}},cje={class:"text-4xl text-center"};function uje(t,e,n,s,o,r){return O(),at(jt,{name:"list",tag:"div"},{default:Je(()=>[o.show?(O(),R("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=ue(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ue(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:Me(["flex flex-col items-center justify-center p-8 rounded-lg shadow-lg border-dashed border-4 border-secondary w-4/5 h-4/5",o.dropRelease?"":"pointer-events-none"])},[d("div",cje,[hh(t.$slots,"default",{},()=>[ke(" Drop your files here ")])])],2)],32)):U("",!0)]),_:3})}const cl=Ke(lje,[["render",uje]]);var dje=function(){function t(e,n){n===void 0&&(n=[]),this._eventType=e,this._eventFunctions=n}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(e._eventType,n)})},t}(),Cr=globalThis&&globalThis.__assign||function(){return Cr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=_t(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Eje(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},o=e.attributes[n]||{},r=e.elements[n];!Et(r)||!Wt(r)||(Object.assign(r.style,s),Object.keys(o).forEach(function(i){var a=o[i];a===!1?r.removeAttribute(i):r.setAttribute(i,a===!0?"":a)}))})}function Cje(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var o=e.elements[s],r=e.attributes[s]||{},i=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=i.reduce(function(l,c){return l[c]="",l},{});!Et(o)||!Wt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const Aje={name:"applyStyles",enabled:!0,phase:"write",fn:Eje,effect:Cje,requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}var Zn=Math.max,Or=Math.min,Os=Math.round;function ul(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Vg(){return!/^((?!chrome|android).)*safari/i.test(ul())}function Ms(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Et(t)&&(o=t.offsetWidth>0&&Os(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Os(s.height)/t.offsetHeight||1);var i=Jn(t)?_t(t):window,a=i.visualViewport,l=!Vg()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,f=s.width/o,h=s.height/r;return{width:f,height:h,top:u,right:c+f,bottom:u+h,left:c,x:c,y:u}}function fc(t){var e=Ms(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function Gg(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&dc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function an(t){return _t(t).getComputedStyle(t)}function Sje(t){return["table","td","th"].indexOf(Wt(t))>=0}function Mn(t){return((Jn(t)?t.ownerDocument:t.document)||window.document).documentElement}function pi(t){return Wt(t)==="html"?t:t.assignedSlot||t.parentNode||(dc(t)?t.host:null)||Mn(t)}function vf(t){return!Et(t)||an(t).position==="fixed"?null:t.offsetParent}function Tje(t){var e=/firefox/i.test(ul()),n=/Trident/i.test(ul());if(n&&Et(t)){var s=an(t);if(s.position==="fixed")return null}var o=pi(t);for(dc(o)&&(o=o.host);Et(o)&&["html","body"].indexOf(Wt(o))<0;){var r=an(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Io(t){for(var e=_t(t),n=vf(t);n&&Sje(n)&&an(n).position==="static";)n=vf(n);return n&&(Wt(n)==="html"||Wt(n)==="body"&&an(n).position==="static")?e:n||Tje(t)||e}function hc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ro(t,e,n){return Zn(t,Or(e,n))}function Oje(t,e,n){var s=ro(t,e,n);return s>n?n:s}function Kg(){return{top:0,right:0,bottom:0,left:0}}function Wg(t){return Object.assign({},Kg(),t)}function Zg(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var Mje=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Wg(typeof e!="number"?e:Zg(e,Lo))};function Rje(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Vt(n.placement),l=hc(a),c=[ft,St].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var f=Mje(o.padding,n),h=fc(r),g=l==="y"?dt:ft,p=l==="y"?At:St,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],v=i[l]-n.rects.reference[l],_=Io(r),b=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,x=m/2-v/2,C=f[g],M=b-h[u]-f[p],T=b/2-h[u]/2+x,D=ro(C,T,M),y=l;n.modifiersData[s]=(e={},e[y]=D,e.centerOffset=D-T,e)}}function Nje(t){var e=t.state,n=t.options,s=n.element,o=s===void 0?"[data-popper-arrow]":s;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||Gg(e.elements.popper,o)&&(e.elements.arrow=o))}const Dje={name:"arrow",enabled:!0,phase:"main",fn:Rje,effect:Nje,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rs(t){return t.split("-")[1]}var Lje={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ije(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Os(n*o)/o||0,y:Os(s*o)/o||0}}function wf(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,h=i.x,g=h===void 0?0:h,p=i.y,m=p===void 0?0:p,v=typeof u=="function"?u({x:g,y:m}):{x:g,y:m};g=v.x,m=v.y;var _=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),x=ft,C=dt,M=window;if(c){var T=Io(n),D="clientHeight",y="clientWidth";if(T===_t(n)&&(T=Mn(n),an(T).position!=="static"&&a==="absolute"&&(D="scrollHeight",y="scrollWidth")),T=T,o===dt||(o===ft||o===St)&&r===Co){C=At;var k=f&&T===M&&M.visualViewport?M.visualViewport.height:T[D];m-=k-s.height,m*=l?1:-1}if(o===ft||(o===dt||o===At)&&r===Co){x=St;var S=f&&T===M&&M.visualViewport?M.visualViewport.width:T[y];g-=S-s.width,g*=l?1:-1}}var L=Object.assign({position:a},c&&Lje),F=u===!0?Ije({x:g,y:m},_t(n)):{x:g,y:m};if(g=F.x,m=F.y,l){var Y;return Object.assign({},L,(Y={},Y[C]=b?"0":"",Y[x]=_?"0":"",Y.transform=(M.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",Y))}return Object.assign({},L,(e={},e[C]=b?m+"px":"",e[x]=_?g+"px":"",e.transform="",e))}function Pje(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Vt(e.placement),variation:Rs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,wf(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,wf(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Fje={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Pje,data:{}};var Wo={passive:!0};function Bje(t){var e=t.state,n=t.instance,s=t.options,o=s.scroll,r=o===void 0?!0:o,i=s.resize,a=i===void 0?!0:i,l=_t(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",n.update,Wo)}),a&&l.addEventListener("resize",n.update,Wo),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Wo)}),a&&l.removeEventListener("resize",n.update,Wo)}}const jje={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Bje,data:{}};var zje={left:"right",right:"left",bottom:"top",top:"bottom"};function fr(t){return t.replace(/left|right|bottom|top/g,function(e){return zje[e]})}var $je={start:"end",end:"start"};function xf(t){return t.replace(/start|end/g,function(e){return $je[e]})}function pc(t){var e=_t(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function gc(t){return Ms(Mn(t)).left+pc(t).scrollLeft}function qje(t,e){var n=_t(t),s=Mn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=Vg();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+gc(t),y:l}}function Uje(t){var e,n=Mn(t),s=pc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Zn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Zn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+gc(t),l=-s.scrollTop;return an(o||n).direction==="rtl"&&(a+=Zn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function mc(t){var e=an(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function Yg(t){return["html","body","#document"].indexOf(Wt(t))>=0?t.ownerDocument.body:Et(t)&&mc(t)?t:Yg(pi(t))}function io(t,e){var n;e===void 0&&(e=[]);var s=Yg(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=_t(s),i=o?[r].concat(r.visualViewport||[],mc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(io(pi(i)))}function dl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Hje(t,e){var n=Ms(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function kf(t,e,n){return e===Ug?dl(qje(t,n)):Jn(e)?Hje(e,n):dl(Uje(Mn(t)))}function Vje(t){var e=io(pi(t)),n=["absolute","fixed"].indexOf(an(t).position)>=0,s=n&&Et(t)?Io(t):t;return Jn(s)?e.filter(function(o){return Jn(o)&&Gg(o,s)&&Wt(o)!=="body"}):[]}function Gje(t,e,n,s){var o=e==="clippingParents"?Vje(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var u=kf(t,c,s);return l.top=Zn(u.top,l.top),l.right=Or(u.right,l.right),l.bottom=Or(u.bottom,l.bottom),l.left=Zn(u.left,l.left),l},kf(t,i,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Qg(t){var e=t.reference,n=t.element,s=t.placement,o=s?Vt(s):null,r=s?Rs(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case dt:l={x:i,y:e.y-n.height};break;case At:l={x:i,y:e.y+e.height};break;case St:l={x:e.x+e.width,y:a};break;case ft:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?hc(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case Ts:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Co:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Ao(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=s===void 0?t.placement:s,r=n.strategy,i=r===void 0?t.strategy:r,a=n.boundary,l=a===void 0?fje:a,c=n.rootBoundary,u=c===void 0?Ug:c,f=n.elementContext,h=f===void 0?Zs:f,g=n.altBoundary,p=g===void 0?!1:g,m=n.padding,v=m===void 0?0:m,_=Wg(typeof v!="number"?v:Zg(v,Lo)),b=h===Zs?hje:Zs,x=t.rects.popper,C=t.elements[p?b:h],M=Gje(Jn(C)?C:C.contextElement||Mn(t.elements.popper),l,u,i),T=Ms(t.elements.reference),D=Qg({reference:T,element:x,strategy:"absolute",placement:o}),y=dl(Object.assign({},x,D)),k=h===Zs?y:T,S={top:M.top-k.top+_.top,bottom:k.bottom-M.bottom+_.bottom,left:M.left-k.left+_.left,right:k.right-M.right+_.right},L=t.modifiersData.offset;if(h===Zs&&L){var F=L[o];Object.keys(S).forEach(function(Y){var I=[St,At].indexOf(Y)>=0?1:-1,ae=[dt,At].indexOf(Y)>=0?"y":"x";S[Y]+=F[ae]*I})}return S}function Kje(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=n.boundary,r=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Hg:l,u=Rs(s),f=u?a?yf:yf.filter(function(p){return Rs(p)===u}):Lo,h=f.filter(function(p){return c.indexOf(p)>=0});h.length===0&&(h=f);var g=h.reduce(function(p,m){return p[m]=Ao(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Vt(m)],p},{});return Object.keys(g).sort(function(p,m){return g[p]-g[m]})}function Wje(t){if(Vt(t)===uc)return[];var e=fr(t);return[xf(t),e,xf(e)]}function Zje(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,g=n.flipVariations,p=g===void 0?!0:g,m=n.allowedAutoPlacements,v=e.options.placement,_=Vt(v),b=_===v,x=l||(b||!p?[fr(v)]:Wje(v)),C=[v].concat(x).reduce(function(we,N){return we.concat(Vt(N)===uc?Kje(e,{placement:N,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}):N)},[]),M=e.rects.reference,T=e.rects.popper,D=new Map,y=!0,k=C[0],S=0;S=0,ae=I?"width":"height",W=Ao(e,{placement:L,boundary:u,rootBoundary:f,altBoundary:h,padding:c}),A=I?Y?St:ft:Y?At:dt;M[ae]>T[ae]&&(A=fr(A));var q=fr(A),V=[];if(r&&V.push(W[F]<=0),a&&V.push(W[A]<=0,W[q]<=0),V.every(function(we){return we})){k=L,y=!1;break}D.set(L,V)}if(y)for(var me=p?3:1,pe=function(N){var Q=C.find(function(H){var ee=D.get(H);if(ee)return ee.slice(0,N).every(function(J){return J})});if(Q)return k=Q,"break"},X=me;X>0;X--){var _e=pe(X);if(_e==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const Yje={name:"flip",enabled:!0,phase:"main",fn:Zje,requiresIfExists:["offset"],data:{_skip:!1}};function Ef(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Cf(t){return[dt,St,At,ft].some(function(e){return t[e]>=0})}function Qje(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Ao(e,{elementContext:"reference"}),a=Ao(e,{altBoundary:!0}),l=Ef(i,s),c=Ef(a,o,r),u=Cf(l),f=Cf(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Jje={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Qje};function Xje(t,e,n){var s=Vt(t),o=[ft,dt].indexOf(s)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,i=r[0],a=r[1];return i=i||0,a=(a||0)*o,[ft,St].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function eze(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=Hg.reduce(function(u,f){return u[f]=Xje(f,e.rects,r),u},{}),a=i[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=i}const tze={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:eze};function nze(t){var e=t.state,n=t.name;e.modifiersData[n]=Qg({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const sze={name:"popperOffsets",enabled:!0,phase:"read",fn:nze,data:{}};function oze(t){return t==="x"?"y":"x"}function rze(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,h=n.tether,g=h===void 0?!0:h,p=n.tetherOffset,m=p===void 0?0:p,v=Ao(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),_=Vt(e.placement),b=Rs(e.placement),x=!b,C=hc(_),M=oze(C),T=e.modifiersData.popperOffsets,D=e.rects.reference,y=e.rects.popper,k=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,S=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(T){if(r){var Y,I=C==="y"?dt:ft,ae=C==="y"?At:St,W=C==="y"?"height":"width",A=T[C],q=A+v[I],V=A-v[ae],me=g?-y[W]/2:0,pe=b===Ts?D[W]:y[W],X=b===Ts?-y[W]:-D[W],_e=e.elements.arrow,we=g&&_e?fc(_e):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Kg(),Q=N[I],H=N[ae],ee=ro(0,D[W],we[W]),J=x?D[W]/2-me-ee-Q-S.mainAxis:pe-ee-Q-S.mainAxis,fe=x?-D[W]/2+me+ee+H+S.mainAxis:X+ee+H+S.mainAxis,le=e.elements.arrow&&Io(e.elements.arrow),w=le?C==="y"?le.clientTop||0:le.clientLeft||0:0,E=(Y=L==null?void 0:L[C])!=null?Y:0,P=A+J-E-w,B=A+fe-E,j=ro(g?Or(q,P):q,A,g?Zn(V,B):V);T[C]=j,F[C]=j-A}if(a){var te,re=C==="x"?dt:ft,z=C==="x"?At:St,se=T[M],$=M==="y"?"height":"width",Z=se+v[re],ie=se-v[z],de=[dt,ft].indexOf(_)!==-1,ce=(te=L==null?void 0:L[M])!=null?te:0,ye=de?Z:se-D[$]-y[$]-ce+S.altAxis,K=de?se+D[$]+y[$]-ce-S.altAxis:ie,oe=g&&de?Oje(ye,se,K):ro(g?ye:Z,se,g?K:ie);T[M]=oe,F[M]=oe-se}e.modifiersData[s]=F}}const ize={name:"preventOverflow",enabled:!0,phase:"main",fn:rze,requiresIfExists:["offset"]};function aze(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function lze(t){return t===_t(t)||!Et(t)?pc(t):aze(t)}function cze(t){var e=t.getBoundingClientRect(),n=Os(e.width)/t.offsetWidth||1,s=Os(e.height)/t.offsetHeight||1;return n!==1||s!==1}function uze(t,e,n){n===void 0&&(n=!1);var s=Et(e),o=Et(e)&&cze(e),r=Mn(e),i=Ms(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Wt(e)!=="body"||mc(r))&&(a=lze(e)),Et(e)?(l=Ms(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=gc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function dze(t){var e=new Map,n=new Set,s=[];t.forEach(function(r){e.set(r.name,r)});function o(r){n.add(r.name);var i=[].concat(r.requires||[],r.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&o(l)}}),s.push(r)}return t.forEach(function(r){n.has(r.name)||o(r)}),s}function fze(t){var e=dze(t);return kje.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function hze(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function pze(t){var e=t.reduce(function(n,s){var o=n[s.name];return n[s.name]=o?Object.assign({},o,s,{options:Object.assign({},o.options,s.options),data:Object.assign({},o.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var Af={placement:"bottom",modifiers:[],strategy:"absolute"};function Sf(){for(var t=arguments.length,e=new Array(t),n=0;n(Fs("data-v-d9a6d3ef"),t=t(),Bs(),t),yze={class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},vze={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},wze={class:"flex-row p-4 flex items-center gap-3 flex-0"},xze=st(()=>d("i",{"data-feather":"plus"},null,-1)),kze=[xze],Eze=st(()=>d("i",{"data-feather":"check-square"},null,-1)),Cze=[Eze],Aze=st(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[d("i",{"data-feather":"refresh-ccw"})],-1)),Sze=st(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),Tze=st(()=>d("i",{"data-feather":"log-in"},null,-1)),Oze=[Tze],Mze=st(()=>d("i",{"data-feather":"search"},null,-1)),Rze=[Mze],Nze={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Dze=st(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),Lze=[Dze],Ize={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},Pze={class:"p-4 pt-2"},Fze={class:"relative"},Bze=st(()=>d("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[d("div",{class:"scale-75"},[d("i",{"data-feather":"search"})])],-1)),jze={class:"absolute inset-y-0 right-0 flex items-center pr-3"},zze=st(()=>d("i",{"data-feather":"x"},null,-1)),$ze=[zze],qze={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},Uze={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},Hze={class:"flex flex-row flex-grow"},Vze={key:0},Gze={class:"flex flex-row"},Kze={key:0,class:"flex gap-3"},Wze=st(()=>d("i",{"data-feather":"trash"},null,-1)),Zze=[Wze],Yze={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},Qze=st(()=>d("i",{"data-feather":"check"},null,-1)),Jze=[Qze],Xze=st(()=>d("i",{"data-feather":"x"},null,-1)),e$e=[Xze],t$e={class:"flex gap-3"},n$e=st(()=>d("i",{"data-feather":"log-out"},null,-1)),s$e=[n$e],o$e=st(()=>d("i",{"data-feather":"list"},null,-1)),r$e=[o$e],i$e={class:"z-20"},a$e={class:"relative flex flex-row flex-grow mb-10"},l$e={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},c$e=st(()=>d("p",{class:"px-3"},"No discussions are found",-1)),u$e=[c$e],d$e=st(()=>d("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),f$e={class:"z-20 h-max"},h$e={class:"container pt-4 pb-10 mb-28"},p$e=st(()=>d("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),g$e={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},m$e={setup(){},data(){return{msgTypes:{MSG_TYPE_NORMAL_USER:0,MSG_TYPE_NORMAL_AI:1,MSG_TYPE_CONDITIONNING:2,MSG_TYPE_HIDDEN:3,MSG_TYPE_USER_ONLY:4},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1}},methods:{async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Ae.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Ae.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==this.msgTypes.MSG_TYPE_NORMAL_AI||n.type==this.msgTypes.MSG_TYPE_NORMAL_USER||n.type==this.msgTypes.MSG_TYPE_USER_ONLY),console.log("this.discussionArr"),console.log(this.discussionArr))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await Ae.get("/new_discussion",{params:{title:t}});if(e)return e.data}catch(e){return console.log("Error: Could not create new discussion",e.message),{}}},async delete_discussion(t){try{t&&(this.loading=!0,this.setDiscussionLoading(t,this.loading),await Ae.post("/delete_discussion",{id:t}),this.loading=!1,this.setDiscussionLoading(t,this.loading))}catch(e){console.log("Error: Could not delete discussion",e.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async edit_title(t,e){try{if(t){this.loading=!0,this.setDiscussionLoading(t,this.loading);const n=await Ae.post("/edit_title",{id:t,title:e});if(this.loading=!1,this.setDiscussionLoading(t,this.loading),n.status==200){const s=this.list.findIndex(r=>r.id==t),o=this.list[s];o.title=e,this.tempList=this.list}}}catch(n){console.log("Error: Could not edit title",n.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async delete_message(t){try{const e=await Ae.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if($e.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await Ae.get("/message_rank_up",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank up message",e.message),{}}},async message_rank_down(t){try{const e=await Ae.get("/message_rank_down",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async update_message(t,e){try{const n=await Ae.get("/update_message",{params:{id:t,message:e}});if(n)return n.data}catch(n){return console.log("Error: Could not update message",n.message),{}}},async export_multiple_discussions(t){try{if(t.length>0){const e=await Ae.post("/export_multiple_discussions",{discussion_ids:t});if(e)return e.data}}catch(e){return console.log("Error: Could not export multiple discussions",e.message),{}}},async import_multiple_discussions(t){try{if(t.length>0){console.log("sending import",t);const e=await Ae.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),ge(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at};this.discussionArr.push(e),ge(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user};e!==-1&&(this.discussionArr[e]=n)},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",id:t.ai_message_id,parent:t.user_message_id,rank:0,sender:t.bot,created_at:t.created_at};this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&t.type=="input_message_infos"&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)}else this.$refs.toast.showToast("It seems that no model has been loaded. Please download and install a model first, then try again.",4,!1),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ae.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{$e.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:"user",created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){console.log("stream msg",t);const e=t.user_message_id,n=t.discussion_id;if(this.setDiscussionLoading(n,!0),this.currentDiscussion.id==n){this.isGenerating=!0;const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o=this.discussionArr[s];o&&(o.content=t.data)}},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),ge(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){const t=localStorage.getItem("selected_discussion");if(t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;es.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+t.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(t){await this.delete_message(t).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==t),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(t){const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];n.title=t.title,n.loading=!0,await this.edit_title(t.id,t.title),n.loading=!1},checkUncheckDiscussion(t,e){const n=this.list.findIndex(o=>o.id==e),s=this.list[n];s.checkBoxValue=t.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(t=>t.checkBoxValue==!1).length>0;for(let t=0;t({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.update_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ae.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):$e.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),ge(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type};this.discussionArr[s]=o}ge(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=` + `,544),[[je,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...l)=>r.addFiles&&r.addFiles(...l)),multiple:""},null,544),d("button",{type:"button",onClick:e[6]||(e[6]=ue(l=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},XBe)]),d("div",eje,[n.loading?U("",!0):(O(),L("button",{key:0,type:"button",onClick:e[7]||(e[7]=(...l)=>r.submit&&r.submit(...l)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},sje)),n.loading?(O(),L("div",oje,ije)):U("",!0)])])])])])])}const Lg=Ke(vBe,[["render",aje],["__scopeId","data-v-fdaaab76"]]),lje={name:"WelcomeComponent",setup(){return{}}},cje={class:"flex flex-col text-center"},uje=Oo('
Logo

Lord of Large Language Models

One tool to rule them all


Welcome

Please create a new discussion or select existing one to start

',1),dje=[uje];function fje(t,e,n,s,o,r){return O(),L("div",cje,dje)}const Ig=Ke(lje,[["render",fje]]);const hje={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){me(()=>{Ee.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),me(()=>{Ee.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,me(()=>{Ee.replace()})}}},pje={class:"text-4xl text-center"};function gje(t,e,n,s,o,r){return O(),at(jt,{name:"list",tag:"div"},{default:Je(()=>[o.show?(O(),L("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=ue(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ue(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:Me(["flex flex-col items-center justify-center p-8 rounded-lg shadow-lg border-dashed border-4 border-secondary w-4/5 h-4/5",o.dropRelease?"":"pointer-events-none"])},[d("div",pje,[ph(t.$slots,"default",{},()=>[ke(" Drop your files here ")])])],2)],32)):U("",!0)]),_:3})}const ul=Ke(hje,[["render",gje]]);var mje=function(){function t(e,n){n===void 0&&(n=[]),this._eventType=e,this._eventFunctions=n}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(e._eventType,n)})},t}(),Ar=globalThis&&globalThis.__assign||function(){return Ar=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=_t(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Oje(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},o=e.attributes[n]||{},r=e.elements[n];!Et(r)||!Wt(r)||(Object.assign(r.style,s),Object.keys(o).forEach(function(i){var a=o[i];a===!1?r.removeAttribute(i):r.setAttribute(i,a===!0?"":a)}))})}function Mje(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var o=e.elements[s],r=e.attributes[s]||{},i=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=i.reduce(function(l,u){return l[u]="",l},{});!Et(o)||!Wt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const Rje={name:"applyStyles",enabled:!0,phase:"write",fn:Oje,effect:Mje,requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}var Qn=Math.max,Mr=Math.min,Ms=Math.round;function dl(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Gg(){return!/^((?!chrome|android).)*safari/i.test(dl())}function Rs(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Et(t)&&(o=t.offsetWidth>0&&Ms(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Ms(s.height)/t.offsetHeight||1);var i=es(t)?_t(t):window,a=i.visualViewport,l=!Gg()&&n,u=(s.left+(l&&a?a.offsetLeft:0))/o,c=(s.top+(l&&a?a.offsetTop:0))/r,f=s.width/o,h=s.height/r;return{width:f,height:h,top:c,right:u+f,bottom:c+h,left:u,x:u,y:c}}function hc(t){var e=Rs(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function Kg(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&fc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function an(t){return _t(t).getComputedStyle(t)}function Nje(t){return["table","td","th"].indexOf(Wt(t))>=0}function Nn(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function gi(t){return Wt(t)==="html"?t:t.assignedSlot||t.parentNode||(fc(t)?t.host:null)||Nn(t)}function wf(t){return!Et(t)||an(t).position==="fixed"?null:t.offsetParent}function Dje(t){var e=/firefox/i.test(dl()),n=/Trident/i.test(dl());if(n&&Et(t)){var s=an(t);if(s.position==="fixed")return null}var o=gi(t);for(fc(o)&&(o=o.host);Et(o)&&["html","body"].indexOf(Wt(o))<0;){var r=an(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Po(t){for(var e=_t(t),n=wf(t);n&&Nje(n)&&an(n).position==="static";)n=wf(n);return n&&(Wt(n)==="html"||Wt(n)==="body"&&an(n).position==="static")?e:n||Dje(t)||e}function pc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function io(t,e,n){return Qn(t,Mr(e,n))}function Lje(t,e,n){var s=io(t,e,n);return s>n?n:s}function Wg(){return{top:0,right:0,bottom:0,left:0}}function Zg(t){return Object.assign({},Wg(),t)}function Yg(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var Ije=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Zg(typeof e!="number"?e:Yg(e,Io))};function Pje(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Vt(n.placement),l=pc(a),u=[ft,St].indexOf(a)>=0,c=u?"height":"width";if(!(!r||!i)){var f=Ije(o.padding,n),h=hc(r),p=l==="y"?dt:ft,g=l==="y"?At:St,m=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],y=i[l]-n.rects.reference[l],_=Po(r),b=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,v=m/2-y/2,E=f[p],M=b-h[c]-f[g],T=b/2-h[c]/2+v,N=io(E,T,M),w=l;n.modifiersData[s]=(e={},e[w]=N,e.centerOffset=N-T,e)}}function Fje(t){var e=t.state,n=t.options,s=n.element,o=s===void 0?"[data-popper-arrow]":s;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||Kg(e.elements.popper,o)&&(e.elements.arrow=o))}const Bje={name:"arrow",enabled:!0,phase:"main",fn:Pje,effect:Fje,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ns(t){return t.split("-")[1]}var jje={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zje(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Ms(n*o)/o||0,y:Ms(s*o)/o||0}}function xf(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,h=i.x,p=h===void 0?0:h,g=i.y,m=g===void 0?0:g,y=typeof c=="function"?c({x:p,y:m}):{x:p,y:m};p=y.x,m=y.y;var _=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),v=ft,E=dt,M=window;if(u){var T=Po(n),N="clientHeight",w="clientWidth";if(T===_t(n)&&(T=Nn(n),an(T).position!=="static"&&a==="absolute"&&(N="scrollHeight",w="scrollWidth")),T=T,o===dt||(o===ft||o===St)&&r===Ao){E=At;var k=f&&T===M&&M.visualViewport?M.visualViewport.height:T[N];m-=k-s.height,m*=l?1:-1}if(o===ft||(o===dt||o===At)&&r===Ao){v=St;var S=f&&T===M&&M.visualViewport?M.visualViewport.width:T[w];p-=S-s.width,p*=l?1:-1}}var D=Object.assign({position:a},u&&jje),P=c===!0?zje({x:p,y:m},_t(n)):{x:p,y:m};if(p=P.x,m=P.y,l){var W;return Object.assign({},D,(W={},W[E]=b?"0":"",W[v]=_?"0":"",W.transform=(M.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",W))}return Object.assign({},D,(e={},e[E]=b?m+"px":"",e[v]=_?p+"px":"",e.transform="",e))}function $je(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Vt(e.placement),variation:Ns(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,xf(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,xf(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const qje={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$je,data:{}};var Zo={passive:!0};function Uje(t){var e=t.state,n=t.instance,s=t.options,o=s.scroll,r=o===void 0?!0:o,i=s.resize,a=i===void 0?!0:i,l=_t(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&u.forEach(function(c){c.addEventListener("scroll",n.update,Zo)}),a&&l.addEventListener("resize",n.update,Zo),function(){r&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Zo)}),a&&l.removeEventListener("resize",n.update,Zo)}}const Hje={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Uje,data:{}};var Vje={left:"right",right:"left",bottom:"top",top:"bottom"};function hr(t){return t.replace(/left|right|bottom|top/g,function(e){return Vje[e]})}var Gje={start:"end",end:"start"};function kf(t){return t.replace(/start|end/g,function(e){return Gje[e]})}function gc(t){var e=_t(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function mc(t){return Rs(Nn(t)).left+gc(t).scrollLeft}function Kje(t,e){var n=_t(t),s=Nn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var u=Gg();(u||!u&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+mc(t),y:l}}function Wje(t){var e,n=Nn(t),s=gc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Qn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Qn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+mc(t),l=-s.scrollTop;return an(o||n).direction==="rtl"&&(a+=Qn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function _c(t){var e=an(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function Qg(t){return["html","body","#document"].indexOf(Wt(t))>=0?t.ownerDocument.body:Et(t)&&_c(t)?t:Qg(gi(t))}function ao(t,e){var n;e===void 0&&(e=[]);var s=Qg(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=_t(s),i=o?[r].concat(r.visualViewport||[],_c(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(ao(gi(i)))}function fl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Zje(t,e){var n=Rs(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ef(t,e,n){return e===Hg?fl(Kje(t,n)):es(e)?Zje(e,n):fl(Wje(Nn(t)))}function Yje(t){var e=ao(gi(t)),n=["absolute","fixed"].indexOf(an(t).position)>=0,s=n&&Et(t)?Po(t):t;return es(s)?e.filter(function(o){return es(o)&&Kg(o,s)&&Wt(o)!=="body"}):[]}function Qje(t,e,n,s){var o=e==="clippingParents"?Yje(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,u){var c=Ef(t,u,s);return l.top=Qn(c.top,l.top),l.right=Mr(c.right,l.right),l.bottom=Mr(c.bottom,l.bottom),l.left=Qn(c.left,l.left),l},Ef(t,i,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Jg(t){var e=t.reference,n=t.element,s=t.placement,o=s?Vt(s):null,r=s?Ns(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case dt:l={x:i,y:e.y-n.height};break;case At:l={x:i,y:e.y+e.height};break;case St:l={x:e.x+e.width,y:a};break;case ft:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var u=o?pc(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(r){case Os:l[u]=l[u]-(e[c]/2-n[c]/2);break;case Ao:l[u]=l[u]+(e[c]/2-n[c]/2);break}}return l}function So(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=s===void 0?t.placement:s,r=n.strategy,i=r===void 0?t.strategy:r,a=n.boundary,l=a===void 0?_je:a,u=n.rootBoundary,c=u===void 0?Hg:u,f=n.elementContext,h=f===void 0?Ys:f,p=n.altBoundary,g=p===void 0?!1:p,m=n.padding,y=m===void 0?0:m,_=Zg(typeof y!="number"?y:Yg(y,Io)),b=h===Ys?bje:Ys,v=t.rects.popper,E=t.elements[g?b:h],M=Qje(es(E)?E:E.contextElement||Nn(t.elements.popper),l,c,i),T=Rs(t.elements.reference),N=Jg({reference:T,element:v,strategy:"absolute",placement:o}),w=fl(Object.assign({},v,N)),k=h===Ys?w:T,S={top:M.top-k.top+_.top,bottom:k.bottom-M.bottom+_.bottom,left:M.left-k.left+_.left,right:k.right-M.right+_.right},D=t.modifiersData.offset;if(h===Ys&&D){var P=D[o];Object.keys(S).forEach(function(W){var R=[St,At].indexOf(W)>=0?1:-1,re=[dt,At].indexOf(W)>=0?"y":"x";S[W]+=P[re]*R})}return S}function Jje(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=n.boundary,r=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Vg:l,c=Ns(s),f=c?a?vf:vf.filter(function(g){return Ns(g)===c}):Io,h=f.filter(function(g){return u.indexOf(g)>=0});h.length===0&&(h=f);var p=h.reduce(function(g,m){return g[m]=So(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Vt(m)],g},{});return Object.keys(p).sort(function(g,m){return p[g]-p[m]})}function Xje(t){if(Vt(t)===dc)return[];var e=hr(t);return[kf(t),e,kf(e)]}function eze(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,m=n.allowedAutoPlacements,y=e.options.placement,_=Vt(y),b=_===y,v=l||(b||!g?[hr(y)]:Xje(y)),E=[y].concat(v).reduce(function(we,I){return we.concat(Vt(I)===dc?Jje(e,{placement:I,boundary:c,rootBoundary:f,padding:u,flipVariations:g,allowedAutoPlacements:m}):I)},[]),M=e.rects.reference,T=e.rects.popper,N=new Map,w=!0,k=E[0],S=0;S=0,re=R?"width":"height",V=So(e,{placement:D,boundary:c,rootBoundary:f,altBoundary:h,padding:u}),A=R?W?St:ft:W?At:dt;M[re]>T[re]&&(A=hr(A));var $=hr(A),H=[];if(r&&H.push(V[P]<=0),a&&H.push(V[A]<=0,V[$]<=0),H.every(function(we){return we})){k=D,w=!1;break}N.set(D,H)}if(w)for(var fe=g?3:1,ge=function(I){var Q=E.find(function(G){var ee=N.get(G);if(ee)return ee.slice(0,I).every(function(X){return X})});if(Q)return k=Q,"break"},J=fe;J>0;J--){var _e=ge(J);if(_e==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const tze={name:"flip",enabled:!0,phase:"main",fn:eze,requiresIfExists:["offset"],data:{_skip:!1}};function Cf(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Af(t){return[dt,St,At,ft].some(function(e){return t[e]>=0})}function nze(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=So(e,{elementContext:"reference"}),a=So(e,{altBoundary:!0}),l=Cf(i,s),u=Cf(a,o,r),c=Af(l),f=Af(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const sze={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:nze};function oze(t,e,n){var s=Vt(t),o=[ft,dt].indexOf(s)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,i=r[0],a=r[1];return i=i||0,a=(a||0)*o,[ft,St].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function rze(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=Vg.reduce(function(c,f){return c[f]=oze(f,e.rects,r),c},{}),a=i[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[s]=i}const ize={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rze};function aze(t){var e=t.state,n=t.name;e.modifiersData[n]=Jg({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const lze={name:"popperOffsets",enabled:!0,phase:"read",fn:aze,data:{}};function cze(t){return t==="x"?"y":"x"}function uze(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,h=n.tether,p=h===void 0?!0:h,g=n.tetherOffset,m=g===void 0?0:g,y=So(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),_=Vt(e.placement),b=Ns(e.placement),v=!b,E=pc(_),M=cze(E),T=e.modifiersData.popperOffsets,N=e.rects.reference,w=e.rects.popper,k=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,S=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(T){if(r){var W,R=E==="y"?dt:ft,re=E==="y"?At:St,V=E==="y"?"height":"width",A=T[E],$=A+y[R],H=A-y[re],fe=p?-w[V]/2:0,ge=b===Os?N[V]:w[V],J=b===Os?-w[V]:-N[V],_e=e.elements.arrow,we=p&&_e?hc(_e):{width:0,height:0},I=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Wg(),Q=I[R],G=I[re],ee=io(0,N[V],we[V]),X=v?N[V]/2-fe-ee-Q-S.mainAxis:ge-ee-Q-S.mainAxis,he=v?-N[V]/2+fe+ee+G+S.mainAxis:J+ee+G+S.mainAxis,le=e.elements.arrow&&Po(e.elements.arrow),x=le?E==="y"?le.clientTop||0:le.clientLeft||0:0,C=(W=D==null?void 0:D[E])!=null?W:0,F=A+X-C-x,B=A+he-C,j=io(p?Mr($,F):$,A,p?Qn(H,B):H);T[E]=j,P[E]=j-A}if(a){var te,ie=E==="x"?dt:ft,z=E==="x"?At:St,se=T[M],q=M==="y"?"height":"width",Y=se+y[ie],ae=se-y[z],de=[dt,ft].indexOf(_)!==-1,ce=(te=D==null?void 0:D[M])!=null?te:0,ye=de?Y:se-N[q]-w[q]-ce+S.altAxis,Z=de?se+N[q]+w[q]-ce-S.altAxis:ae,oe=p&&de?Lje(ye,se,Z):io(p?ye:Y,se,p?Z:ae);T[M]=oe,P[M]=oe-se}e.modifiersData[s]=P}}const dze={name:"preventOverflow",enabled:!0,phase:"main",fn:uze,requiresIfExists:["offset"]};function fze(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function hze(t){return t===_t(t)||!Et(t)?gc(t):fze(t)}function pze(t){var e=t.getBoundingClientRect(),n=Ms(e.width)/t.offsetWidth||1,s=Ms(e.height)/t.offsetHeight||1;return n!==1||s!==1}function gze(t,e,n){n===void 0&&(n=!1);var s=Et(e),o=Et(e)&&pze(e),r=Nn(e),i=Rs(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Wt(e)!=="body"||_c(r))&&(a=hze(e)),Et(e)?(l=Rs(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=mc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function mze(t){var e=new Map,n=new Set,s=[];t.forEach(function(r){e.set(r.name,r)});function o(r){n.add(r.name);var i=[].concat(r.requires||[],r.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&o(l)}}),s.push(r)}return t.forEach(function(r){n.has(r.name)||o(r)}),s}function _ze(t){var e=mze(t);return Tje.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function bze(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function yze(t){var e=t.reduce(function(n,s){var o=n[s.name];return n[s.name]=o?Object.assign({},o,s,{options:Object.assign({},o.options,s.options),data:Object.assign({},o.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var Sf={placement:"bottom",modifiers:[],strategy:"absolute"};function Tf(){for(var t=arguments.length,e=new Array(t),n=0;n(Bs("data-v-d9a6d3ef"),t=t(),js(),t),Eze={class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},Cze={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},Aze={class:"flex-row p-4 flex items-center gap-3 flex-0"},Sze=st(()=>d("i",{"data-feather":"plus"},null,-1)),Tze=[Sze],Oze=st(()=>d("i",{"data-feather":"check-square"},null,-1)),Mze=[Oze],Rze=st(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[d("i",{"data-feather":"refresh-ccw"})],-1)),Nze=st(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),Dze=st(()=>d("i",{"data-feather":"log-in"},null,-1)),Lze=[Dze],Ize=st(()=>d("i",{"data-feather":"search"},null,-1)),Pze=[Ize],Fze={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Bze=st(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),jze=[Bze],zze={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},$ze={class:"p-4 pt-2"},qze={class:"relative"},Uze=st(()=>d("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[d("div",{class:"scale-75"},[d("i",{"data-feather":"search"})])],-1)),Hze={class:"absolute inset-y-0 right-0 flex items-center pr-3"},Vze=st(()=>d("i",{"data-feather":"x"},null,-1)),Gze=[Vze],Kze={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},Wze={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},Zze={class:"flex flex-row flex-grow"},Yze={key:0},Qze={class:"flex flex-row"},Jze={key:0,class:"flex gap-3"},Xze=st(()=>d("i",{"data-feather":"trash"},null,-1)),e$e=[Xze],t$e={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},n$e=st(()=>d("i",{"data-feather":"check"},null,-1)),s$e=[n$e],o$e=st(()=>d("i",{"data-feather":"x"},null,-1)),r$e=[o$e],i$e={class:"flex gap-3"},a$e=st(()=>d("i",{"data-feather":"log-out"},null,-1)),l$e=[a$e],c$e=st(()=>d("i",{"data-feather":"list"},null,-1)),u$e=[c$e],d$e={class:"z-20"},f$e={class:"relative flex flex-row flex-grow mb-10"},h$e={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},p$e=st(()=>d("p",{class:"px-3"},"No discussions are found",-1)),g$e=[p$e],m$e=st(()=>d("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),_$e={class:"z-20 h-max"},b$e={class:"container pt-4 pb-10 mb-28"},y$e=st(()=>d("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),v$e={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},w$e={setup(){},data(){return{msgTypes:{MSG_TYPE_NORMAL_USER:0,MSG_TYPE_NORMAL_AI:1,MSG_TYPE_CONDITIONNING:2,MSG_TYPE_HIDDEN:3,MSG_TYPE_USER_ONLY:4},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1}},methods:{async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Ae.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Ae.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==this.msgTypes.MSG_TYPE_NORMAL_AI||n.type==this.msgTypes.MSG_TYPE_NORMAL_USER||n.type==this.msgTypes.MSG_TYPE_USER_ONLY),console.log("this.discussionArr"),console.log(this.discussionArr))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await Ae.get("/new_discussion",{params:{title:t}});if(e)return e.data}catch(e){return console.log("Error: Could not create new discussion",e.message),{}}},async delete_discussion(t){try{t&&(this.loading=!0,this.setDiscussionLoading(t,this.loading),await Ae.post("/delete_discussion",{id:t}),this.loading=!1,this.setDiscussionLoading(t,this.loading))}catch(e){console.log("Error: Could not delete discussion",e.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async edit_title(t,e){try{if(t){this.loading=!0,this.setDiscussionLoading(t,this.loading);const n=await Ae.post("/edit_title",{id:t,title:e});if(this.loading=!1,this.setDiscussionLoading(t,this.loading),n.status==200){const s=this.list.findIndex(r=>r.id==t),o=this.list[s];o.title=e,this.tempList=this.list}}}catch(n){console.log("Error: Could not edit title",n.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async delete_message(t){try{const e=await Ae.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if($e.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await Ae.get("/message_rank_up",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank up message",e.message),{}}},async message_rank_down(t){try{const e=await Ae.get("/message_rank_down",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async update_message(t,e){try{const n=await Ae.get("/update_message",{params:{id:t,message:e}});if(n)return n.data}catch(n){return console.log("Error: Could not update message",n.message),{}}},async export_multiple_discussions(t){try{if(t.length>0){const e=await Ae.post("/export_multiple_discussions",{discussion_ids:t});if(e)return e.data}}catch(e){return console.log("Error: Could not export multiple discussions",e.message),{}}},async import_multiple_discussions(t){try{if(t.length>0){console.log("sending import",t);const e=await Ae.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),me(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at};this.discussionArr.push(e),me(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user};e!==-1&&(this.discussionArr[e]=n)},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",id:t.ai_message_id,parent:t.user_message_id,rank:0,sender:t.bot,created_at:t.created_at};this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&t.type=="input_message_infos"&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)}else this.$refs.toast.showToast("It seems that no model has been loaded. Please download and install a model first, then try again.",4,!1),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ae.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{$e.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:"user",created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){console.log("stream msg",t);const e=t.user_message_id,n=t.discussion_id;if(this.setDiscussionLoading(n,!0),this.currentDiscussion.id==n){this.isGenerating=!0;const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o=this.discussionArr[s];o&&(o.content=t.data)}},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),me(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){const t=localStorage.getItem("selected_discussion");if(t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;es.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+t.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(t){await this.delete_message(t).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==t),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(t){const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];n.title=t.title,n.loading=!0,await this.edit_title(t.id,t.title),n.loading=!1},checkUncheckDiscussion(t,e){const n=this.list.findIndex(o=>o.id==e),s=this.list[n];s.checkBoxValue=t.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(t=>t.checkBoxValue==!1).length>0;for(let t=0;t({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.update_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ae.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):$e.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),me(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type};this.discussionArr[s]=o}me(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=` Personality: ${t.message.personality}`);let s="";t.created_at_parsed&&(s=` Created: ${t.created_at_parsed}`);let o="";t.message.content&&(o=t.message.content);let r="";t.message.model&&(r=`Model: ${t.message.model}`);let i="";t.message.seed&&(i=`Seed: ${t.message.seed}`);let a="";t.time_spent&&(a=` -Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const c=`${t.message.sender}${n}${s} +Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const u=`${t.message.sender}${n}${s} ${o} -${l}`;navigator.clipboard.writeText(c),ge(()=>{Ee.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON. -`+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const s=new FileReader;s.onload=o=>e(this.parseJsonObj(o.target.result)),s.onerror=o=>n(o),s.readAsText(t)})},async exportDiscussions(){const t=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){console.log("export",t);let e=new Date;const n=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t);u?(this.saveJSONtoFile(u,c),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){let t=[];const e=await this.api_get_req("get_all_personalities"),n=Object.keys(e);for(let s=0;s{let h={};return h=f,h.category=l,h.language=o,h});t.length==0?t=u:t=t.concat(u)}}this.personalityAvatars=t.map(s=>({name:s.name,avatar:s.avatar}))},getAvatar(t){const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox -`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,ge(()=>{Ee.replace()}),$e.on("infos",this.createBotMsg),$e.on("message",this.streamMessageContent),$e.on("final",this.finalMsgEvent)},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&ge(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Wp,Message:Ng,ChatBox:Dg,WelcomeComponent:Lg,Toast:ti,DragDrop:cl},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){ge(()=>{Ee.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){ge(()=>{Ee.replace()})},isSearch(){ge(()=>{Ee.replace()})}},computed:{socketConnected(){return!0},selectedDiscussions(){return ge(()=>{Ee.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},_$e=Object.assign(m$e,{__name:"DiscussionsView",setup(t){return Hr(()=>{_ze()}),Ae.defaults.baseURL="/",(e,n)=>(O(),R(Be,null,[d("div",yze,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[13]||(n[13]=ue(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",vze,[d("div",wze,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[0]||(n[0]=s=>e.createNewDiscussion())},kze),d("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[1]||(n[1]=s=>e.isCheckbox=!e.isCheckbox)},Cze,2),Aze,Sze,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[2]||(n[2]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[3]||(n[3]=ue(s=>e.$refs.fileDialog.click(),["stop"]))},Oze),d("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[4]||(n[4]=s=>e.isSearch=!e.isSearch)},Rze,2),e.loading?(O(),R("div",Nze,Lze)):U("",!0)]),e.isSearch?(O(),R("div",Ize,[d("div",Pze,[d("div",Fze,[Bze,d("div",jze,[d("div",{class:Me(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[5]||(n[5]=s=>e.filterTitle="")},$ze,2)]),Oe(d("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[6]||(n[6]=s=>e.filterTitle=s),onInput:n[7]||(n[7]=s=>e.filterDiscussions())},null,544),[[je,e.filterTitle]])])])])):U("",!0),e.isCheckbox?(O(),R("hr",qze)):U("",!0),e.isCheckbox?(O(),R("div",Uze,[d("div",Hze,[e.selectedDiscussions.length>0?(O(),R("p",Vze,"Selected: "+ne(e.selectedDiscussions.length),1)):U("",!0)]),d("div",Gze,[e.selectedDiscussions.length>0?(O(),R("div",Kze,[e.showConfirmation?U("",!0):(O(),R("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[8]||(n[8]=ue(s=>e.showConfirmation=!0,["stop"]))},Zze)),e.showConfirmation?(O(),R("div",Yze,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[9]||(n[9]=ue((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},Jze),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[10]||(n[10]=ue(s=>e.showConfirmation=!1,["stop"]))},e$e)])):U("",!0)])):U("",!0),d("div",t$e,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[11]||(n[11]=ue((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},s$e),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[12]||(n[12]=ue((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},r$e)])])])):U("",!0)]),d("div",i$e,[Ce(cl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Je(()=>[ke("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",a$e,[d("div",{class:Me(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:Me([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(O(),at(jt,{key:0,name:"list"},{default:Je(()=>[(O(!0),R(Be,null,rt(e.list,(s,o)=>(O(),at(Wp,{key:s.id,id:s.id,title:s.title,selected:e.currentDiscussion.id==s.id,loading:s.loading,isCheckbox:e.isCheckbox,checkBoxValue:s.checkBoxValue,onSelect:r=>e.selectDiscussion(s),onDelete:r=>e.deleteDiscussion(s.id),onEditTitle:e.editTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128))]),_:1})):U("",!0),e.list.length<1?(O(),R("div",l$e,u$e)):U("",!0),d$e],2)],2)])],32)]),d("div",{class:"relative flex flex-col flex-grow",onDragover:n[14]||(n[14]=ue(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",f$e,[Ce(cl,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:Me(["z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",e.isDragOverChat?"pointer-events-none":""])},[d("div",h$e,[e.discussionArr.length>0?(O(),at(jt,{key:0,name:"list"},{default:Je(()=>[(O(!0),R(Be,null,rt(e.discussionArr,(s,o)=>(O(),at(Ng,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","avatar"]))),128))]),_:1})):U("",!0),e.currentDiscussion.id?U("",!0):(O(),at(Lg,{key:1}))]),p$e,e.currentDiscussion.id?(O(),R("div",g$e,[Ce(Dg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating"])])):U("",!0)],2)],32),Ce(ti,{ref:"toast"},null,512)],64))}}),b$e=Ke(_$e,[["__scopeId","data-v-d9a6d3ef"]]),y$e=_b({history:I0("/"),routes:[{path:"/extensions/",name:"extensions",component:Zb},{path:"/help/",name:"help",component:uy},{path:"/settings/",name:"settings",component:ZA},{path:"/training/",name:"training",component:_3},{path:"/",name:"discussions",component:b$e}]});const bc=Ih(Gb),v$e=_0({state(){return{mountedPersonalities:[],settingsChanged:!1}},mutations:{}});bc.use(y$e);bc.use(v$e);bc.mount("#app"); +${l}`;navigator.clipboard.writeText(u),me(()=>{Ee.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON. +`+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const s=new FileReader;s.onload=o=>e(this.parseJsonObj(o.target.result)),s.onerror=o=>n(o),s.readAsText(t)})},async exportDiscussions(){const t=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){console.log("export",t);let e=new Date;const n=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),u="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const c=await this.export_multiple_discussions(t);c?(this.saveJSONtoFile(c,u),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){let t=[];const e=await this.api_get_req("get_all_personalities"),n=Object.keys(e);for(let s=0;s{let h={};return h=f,h.category=l,h.language=o,h});t.length==0?t=c:t=t.concat(c)}}this.personalityAvatars=t.map(s=>({name:s.name,avatar:s.avatar}))},getAvatar(t){const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox +`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,me(()=>{Ee.replace()}),$e.on("infos",this.createBotMsg),$e.on("message",this.streamMessageContent),$e.on("final",this.finalMsgEvent)},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&me(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Zp,Message:Dg,ChatBox:Lg,WelcomeComponent:Ig,Toast:ni,DragDrop:ul},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){me(()=>{Ee.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){me(()=>{Ee.replace()})},isSearch(){me(()=>{Ee.replace()})}},computed:{socketConnected(){return!0},selectedDiscussions(){return me(()=>{Ee.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},x$e=Object.assign(w$e,{__name:"DiscussionsView",setup(t){return Vr(()=>{xze()}),Ae.defaults.baseURL="/",(e,n)=>(O(),L(Be,null,[d("div",Eze,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[13]||(n[13]=ue(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",Cze,[d("div",Aze,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[0]||(n[0]=s=>e.createNewDiscussion())},Tze),d("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[1]||(n[1]=s=>e.isCheckbox=!e.isCheckbox)},Mze,2),Rze,Nze,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[2]||(n[2]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[3]||(n[3]=ue(s=>e.$refs.fileDialog.click(),["stop"]))},Lze),d("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[4]||(n[4]=s=>e.isSearch=!e.isSearch)},Pze,2),e.loading?(O(),L("div",Fze,jze)):U("",!0)]),e.isSearch?(O(),L("div",zze,[d("div",$ze,[d("div",qze,[Uze,d("div",Hze,[d("div",{class:Me(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[5]||(n[5]=s=>e.filterTitle="")},Gze,2)]),Oe(d("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[6]||(n[6]=s=>e.filterTitle=s),onInput:n[7]||(n[7]=s=>e.filterDiscussions())},null,544),[[je,e.filterTitle]])])])])):U("",!0),e.isCheckbox?(O(),L("hr",Kze)):U("",!0),e.isCheckbox?(O(),L("div",Wze,[d("div",Zze,[e.selectedDiscussions.length>0?(O(),L("p",Yze,"Selected: "+ne(e.selectedDiscussions.length),1)):U("",!0)]),d("div",Qze,[e.selectedDiscussions.length>0?(O(),L("div",Jze,[e.showConfirmation?U("",!0):(O(),L("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[8]||(n[8]=ue(s=>e.showConfirmation=!0,["stop"]))},e$e)),e.showConfirmation?(O(),L("div",t$e,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[9]||(n[9]=ue((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},s$e),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[10]||(n[10]=ue(s=>e.showConfirmation=!1,["stop"]))},r$e)])):U("",!0)])):U("",!0),d("div",i$e,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[11]||(n[11]=ue((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},l$e),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[12]||(n[12]=ue((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},u$e)])])])):U("",!0)]),d("div",d$e,[Ce(ul,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Je(()=>[ke("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",f$e,[d("div",{class:Me(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:Me([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(O(),at(jt,{key:0,name:"list"},{default:Je(()=>[(O(!0),L(Be,null,rt(e.list,(s,o)=>(O(),at(Zp,{key:s.id,id:s.id,title:s.title,selected:e.currentDiscussion.id==s.id,loading:s.loading,isCheckbox:e.isCheckbox,checkBoxValue:s.checkBoxValue,onSelect:r=>e.selectDiscussion(s),onDelete:r=>e.deleteDiscussion(s.id),onEditTitle:e.editTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128))]),_:1})):U("",!0),e.list.length<1?(O(),L("div",h$e,g$e)):U("",!0),m$e],2)],2)])],32)]),d("div",{class:"relative flex flex-col flex-grow",onDragover:n[14]||(n[14]=ue(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",_$e,[Ce(ul,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:Me(["z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",e.isDragOverChat?"pointer-events-none":""])},[d("div",b$e,[e.discussionArr.length>0?(O(),at(jt,{key:0,name:"list"},{default:Je(()=>[(O(!0),L(Be,null,rt(e.discussionArr,(s,o)=>(O(),at(Dg,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","avatar"]))),128))]),_:1})):U("",!0),e.currentDiscussion.id?U("",!0):(O(),at(Ig,{key:1}))]),y$e,e.currentDiscussion.id?(O(),L("div",v$e,[Ce(Lg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating"])])):U("",!0)],2)],32),Ce(ni,{ref:"toast"},null,512)],64))}}),k$e=Ke(x$e,[["__scopeId","data-v-d9a6d3ef"]]),E$e=bb({history:P0("/"),routes:[{path:"/extensions/",name:"extensions",component:Yb},{path:"/help/",name:"help",component:dy},{path:"/settings/",name:"settings",component:YA},{path:"/training/",name:"training",component:b3},{path:"/",name:"discussions",component:k$e}]});const yc=Ph(Kb),C$e=b0({state(){return{mountedPersonalities:[],settingsChanged:!1}},mutations:{}});yc.use(E$e);yc.use(C$e);yc.mount("#app"); diff --git a/web/dist/index.html b/web/dist/index.html index fdefcdfe..e5761bff 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -6,7 +6,7 @@ LoLLMS WebUI - Welcome - + diff --git a/web/package-lock.json b/web/package-lock.json index 75a22543..d8deae10 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -18,6 +18,7 @@ "markdown-it-attrs": "^4.1.6", "markdown-it-emoji": "^2.0.2", "markdown-it-implicit-figures": "^0.11.0", + "markdown-it-multimd-table": "^4.2.2", "papaparse": "^5.4.1", "prismjs": "^1.29.0", "socket.io-client": "^4.6.1", @@ -39,6 +40,15 @@ "vite": "^4.1.4" } }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/@babel/parser": { "version": "7.21.4", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz", @@ -2201,6 +2211,11 @@ "node": ">=0.10.0" } }, + "node_modules/markdown-it-multimd-table": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/markdown-it-multimd-table/-/markdown-it-multimd-table-4.2.2.tgz", + "integrity": "sha512-aIrxGBS/klf2Q10ua/YUhxEouyvS9+NZbME2b3q4YHOFUpHLdTrBqHKssDnX+KVmctcsdR0yQxhkJf8K7UGQ5g==" + }, "node_modules/mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", @@ -2362,17 +2377,17 @@ } }, "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "dev": true, "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "type-check": "^0.4.0" }, "engines": { "node": ">= 0.8.0" @@ -3276,15 +3291,6 @@ "node": ">= 8" } }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/web/package.json b/web/package.json index 1983edac..35828a0c 100644 --- a/web/package.json +++ b/web/package.json @@ -20,6 +20,7 @@ "markdown-it-attrs": "^4.1.6", "markdown-it-emoji": "^2.0.2", "markdown-it-implicit-figures": "^0.11.0", + "markdown-it-multimd-table": "^4.2.2", "papaparse": "^5.4.1", "prismjs": "^1.29.0", "socket.io-client": "^4.6.1", diff --git a/web/src/components/MarkdownRenderer.vue b/web/src/components/MarkdownRenderer.vue index 51d09da2..7cd70041 100644 --- a/web/src/components/MarkdownRenderer.vue +++ b/web/src/components/MarkdownRenderer.vue @@ -92,7 +92,7 @@ const markdownIt = new MarkdownIt('commonmark', { return codeString; }, bulletListMarker: '•', -}).use(emoji).use(attrs).use(anchor).use(implicitFigures); // Add attrs plugin for adding attributes to elements +}).use(attrs).use(anchor).use(implicitFigures).use(emoji); // Add attrs plugin for adding attributes to elements // ... register other languages