From 460c0143b6e0be81443a4e6d95d2a91a710ebd12 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Thu, 31 Aug 2023 02:02:36 +0200 Subject: [PATCH] updated code --- api/__init__.py | 2 +- .../{index-9c673d5e.js => index-04bf888d.js} | 72 +++++++++---------- ...{index-489786d6.css => index-5d272872.css} | 2 +- web/dist/index.html | 4 +- web/src/components/ChatBox.vue | 48 ++++++++++--- web/src/components/InteractiveMenu.vue | 23 ++++-- web/src/views/SettingsView.vue | 11 +-- 7 files changed, 102 insertions(+), 60 deletions(-) rename web/dist/assets/{index-9c673d5e.js => index-04bf888d.js} (70%) rename web/dist/assets/{index-489786d6.css => index-5d272872.css} (98%) diff --git a/api/__init__.py b/api/__init__.py index a5c11f0d..a8808371 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -654,7 +654,7 @@ class LoLLMsAPPI(LollmsApplication): tk = model.tokenize(prompt) n_tokens = len(tk) - fd = model.detokenize(tk[-min(self.config.ctx_size-n_predicts,n_tokens):]) + fd = model.detokenize(tk[-min(self.config.ctx_size-n_predicts,n_tokens, len(tk)):]) try: ASCIIColors.print("warming up", ASCIIColors.color_bright_cyan) diff --git a/web/dist/assets/index-9c673d5e.js b/web/dist/assets/index-04bf888d.js similarity index 70% rename from web/dist/assets/index-9c673d5e.js rename to web/dist/assets/index-04bf888d.js index 2aa00dc5..9da6061c 100644 --- a/web/dist/assets/index-9c673d5e.js +++ b/web/dist/assets/index-04bf888d.js @@ -1,23 +1,23 @@ -(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 kl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function yt(t){if(Ae(t)){const e={};for(let n=0;n{if(n){const s=n.split(km);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Me(t){let e="";if(Qe(t))e=t;else if(Ae(t))for(let n=0;nDo(n,e))}const H=t=>Qe(t)?t:t==null?"":Ae(t)||Ze(t)&&(t.toString===Vh||!De(t.toString))?JSON.stringify(t,qh,2):String(t),qh=(t,e)=>e&&e.__v_isRef?qh(t,e.value):ys(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:$s(e)?{[`Set(${e.size})`]:[...e.values()]}:Ze(e)&&!Ae(e)&&!Gh(e)?String(e):e,Je={},bs=[],Pt=()=>{},Mm=()=>!1,Om=/^on[^a-z]/,Ur=t=>Om.test(t),Cl=t=>t.startsWith("onUpdate:"),it=Object.assign,Al=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Rm=Object.prototype.hasOwnProperty,$e=(t,e)=>Rm.call(t,e),Ae=Array.isArray,ys=t=>zs(t)==="[object Map]",$s=t=>zs(t)==="[object Set]",Nc=t=>zs(t)==="[object Date]",Nm=t=>zs(t)==="[object RegExp]",De=t=>typeof t=="function",Qe=t=>typeof t=="string",mo=t=>typeof t=="symbol",Ze=t=>t!==null&&typeof t=="object",Hh=t=>Ze(t)&&De(t.then)&&De(t.catch),Vh=Object.prototype.toString,zs=t=>Vh.call(t),Dm=t=>zs(t).slice(8,-1),Gh=t=>zs(t)==="[object Object]",Sl=t=>Qe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,rr=kl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Lm=/-(\w)/g,Zt=qr(t=>t.replace(Lm,(e,n)=>n?n.toUpperCase():"")),Im=/\B([A-Z])/g,ns=qr(t=>t.replace(Im,"-$1").toLowerCase()),Hr=qr(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ei=qr(t=>t?`on${Hr(t)}`:""),_o=(t,e)=>!Object.is(t,e),vs=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},yr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Pm=t=>{const e=Qe(t)?Number(t):NaN;return isNaN(e)?t:e};let Dc;const Fm=()=>Dc||(Dc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Nt;class Bm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nt,!e&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Nt;try{return Nt=this,e()}finally{Nt=n}}}on(){Nt=this}off(){Nt=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},Kh=t=>(t.w&Rn)>0,Wh=t=>(t.n&Rn)>0,jm=({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(d)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":Ae(t)?Sl(n)&&a.push(i.get("length")):(a.push(i.get(Wn)),ys(t)&&a.push(i.get(ja)));break;case"delete":Ae(t)||(a.push(i.get(Wn)),ys(t)&&a.push(i.get(ja)));break;case"set":ys(t)&&a.push(i.get(Wn));break}if(a.length===1)a[0]&&Ua(a[0]);else{const l=[];for(const d of a)d&&l.push(...d);Ua(Tl(l))}}function Ua(t,e){const n=Ae(t)?t:[...t];for(const s of n)s.computed&&Ic(s);for(const s of n)s.computed||Ic(s)}function Ic(t,e){(t!==Lt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const qm=kl("__proto__,__v_isRef,__isVue"),Jh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(mo)),Hm=Ol(),Vm=Ol(!1,!0),Gm=Ol(!0),Pc=Km();function Km(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=je(this);for(let r=0,i=this.length;r{t[e]=function(...n){js();const s=je(this)[e].apply(this,n);return Us(),s}}),t}function Wm(t){const e=je(this);return _t(e,"has",t),e.hasOwnProperty(t)}function Ol(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?d_:nf:e?tf:ef).get(s))return s;const i=Ae(s);if(!t){if(i&&$e(Pc,o))return Reflect.get(Pc,o,r);if(o==="hasOwnProperty")return Wm}const a=Reflect.get(s,o,r);return(mo(o)?Jh.has(o):qm(o))||(t||_t(s,"get",o),e)?a:ut(a)?i&&Sl(o)?a:a.value:Ze(a)?t?sf(a):qs(a):a}}const Zm=Qh(),Ym=Qh(!0);function Qh(t=!1){return function(n,s,o,r){let i=n[s];if(Cs(i)&&ut(i)&&!ut(o))return!1;if(!t&&(!vr(o)&&!Cs(o)&&(i=je(i),o=je(o)),!Ae(n)&&ut(i)&&!ut(o)))return i.value=o,!0;const a=Ae(n)&&Sl(s)?Number(s)t,Vr=t=>Reflect.getPrototypeOf(t);function jo(t,e,n=!1,s=!1){t=t.__v_raw;const o=je(t),r=je(e);n||(e!==r&&_t(o,"get",e),_t(o,"get",r));const{has:i}=Vr(o),a=s?Rl:n?Ll:bo;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 Uo(t,e=!1){const n=this.__v_raw,s=je(n),o=je(t);return e||(t!==o&&_t(s,"has",t),_t(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function qo(t,e=!1){return t=t.__v_raw,!e&&_t(je(t),"iterate",Wn),Reflect.get(t,"size",t)}function Fc(t){t=je(t);const e=je(this);return Vr(e).has.call(e,t)||(e.add(t),ln(e,"add",t,t)),this}function Bc(t,e){e=je(e);const n=je(this),{has:s,get:o}=Vr(n);let r=s.call(n,t);r||(t=je(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?_o(e,i)&&ln(n,"set",t,e):ln(n,"add",t,e),this}function $c(t){const e=je(this),{has:n,get:s}=Vr(e);let o=n.call(e,t);o||(t=je(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&ln(e,"delete",t,void 0),r}function zc(){const t=je(this),e=t.size!==0,n=t.clear();return e&&ln(t,"clear",void 0,void 0),n}function Ho(t,e){return function(s,o){const r=this,i=r.__v_raw,a=je(i),l=e?Rl:t?Ll:bo;return!t&&_t(a,"iterate",Wn),i.forEach((d,u)=>s.call(o,l(d),l(u),r))}}function Vo(t,e,n){return function(...s){const o=this.__v_raw,r=je(o),i=ys(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,d=o[t](...s),u=n?Rl:e?Ll:bo;return!e&&_t(r,"iterate",l?ja:Wn),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function pn(t){return function(...e){return t==="delete"?!1:this}}function n_(){const t={get(r){return jo(this,r)},get size(){return qo(this)},has:Uo,add:Fc,set:Bc,delete:$c,clear:zc,forEach:Ho(!1,!1)},e={get(r){return jo(this,r,!1,!0)},get size(){return qo(this)},has:Uo,add:Fc,set:Bc,delete:$c,clear:zc,forEach:Ho(!1,!0)},n={get(r){return jo(this,r,!0)},get size(){return qo(this,!0)},has(r){return Uo.call(this,r,!0)},add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear"),forEach:Ho(!0,!1)},s={get(r){return jo(this,r,!0,!0)},get size(){return qo(this,!0)},has(r){return Uo.call(this,r,!0)},add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear"),forEach:Ho(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Vo(r,!1,!1),n[r]=Vo(r,!0,!1),e[r]=Vo(r,!1,!0),s[r]=Vo(r,!0,!0)}),[t,n,e,s]}const[s_,o_,r_,i_]=n_();function Nl(t,e){const n=e?t?i_:r_:t?o_:s_;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get($e(n,o)&&o in s?n:s,o,r)}const a_={get:Nl(!1,!1)},l_={get:Nl(!1,!0)},c_={get:Nl(!0,!1)},ef=new WeakMap,tf=new WeakMap,nf=new WeakMap,d_=new WeakMap;function u_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function h_(t){return t.__v_skip||!Object.isExtensible(t)?0:u_(Dm(t))}function qs(t){return Cs(t)?t:Dl(t,!1,Xh,a_,ef)}function f_(t){return Dl(t,!1,t_,l_,tf)}function sf(t){return Dl(t,!0,e_,c_,nf)}function Dl(t,e,n,s,o){if(!Ze(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=h_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ws(t){return Cs(t)?ws(t.__v_raw):!!(t&&t.__v_isReactive)}function Cs(t){return!!(t&&t.__v_isReadonly)}function vr(t){return!!(t&&t.__v_isShallow)}function of(t){return ws(t)||Cs(t)}function je(t){const e=t&&t.__v_raw;return e?je(e):t}function rf(t){return br(t,"__v_skip",!0),t}const bo=t=>Ze(t)?qs(t):t,Ll=t=>Ze(t)?sf(t):t;function af(t){Mn&&Lt&&(t=je(t),Yh(t.dep||(t.dep=Tl())))}function lf(t,e){t=je(t);const n=t.dep;n&&Ua(n)}function ut(t){return!!(t&&t.__v_isRef===!0)}function p_(t){return cf(t,!1)}function g_(t){return cf(t,!0)}function cf(t,e){return ut(t)?t:new m_(t,e)}class m_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:je(e),this._value=n?e:bo(e)}get value(){return af(this),this._value}set value(e){const n=this.__v_isShallow||vr(e)||Cs(e);e=n?e:je(e),_o(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:bo(e),lf(this))}}function pt(t){return ut(t)?t.value:t}const __={get:(t,e,n)=>pt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ut(o)&&!ut(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function df(t){return ws(t)?t:new Proxy(t,__)}var uf;class b_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[uf]=!1,this._dirty=!0,this.effect=new Ml(e,()=>{this._dirty||(this._dirty=!0,lf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=je(this);return af(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}uf="__v_isReadonly";function y_(t,e,n=!1){let s,o;const r=De(t);return r?(s=t,o=Pt):(s=t.get,o=t.set),new b_(s,o,r||!o,n)}function On(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Gr(r,e,n)}return o}function At(t,e,n,s){if(De(t)){const r=On(t,e,n,s);return r&&Hh(r)&&r.catch(i=>{Gr(i,e,n)}),r}const o=[];for(let r=0;r>>1;vo(dt[s])jt&&dt.splice(e,1)}function k_(t){Ae(t)?xs.push(...t):(!nn||!nn.includes(t,t.allowRecurse?jn+1:jn))&&xs.push(t),ff()}function jc(t,e=yo?jt+1:0){for(;evo(n)-vo(s)),jn=0;jnt.id==null?1/0:t.id,E_=(t,e)=>{const n=vo(t)-vo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function gf(t){qa=!1,yo=!0,dt.sort(E_);const e=Pt;try{for(jt=0;jtQe(g)?g.trim():g)),h&&(o=n.map(yr))}let a,l=s[a=Ei(e)]||s[a=Ei(Zt(e))];!l&&r&&(l=s[a=Ei(ns(e))]),l&&At(l,t,6,o);const d=s[a+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,At(d,t,6,o)}}function mf(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(!De(t)){const l=d=>{const u=mf(d,e,!0);u&&(a=!0,it(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Ze(t)&&s.set(t,null),null):(Ae(r)?r.forEach(l=>i[l]=null):it(i,r),Ze(t)&&s.set(t,i),i)}function Kr(t,e){return!t||!Ur(e)?!1:(e=e.slice(2).replace(/Once$/,""),$e(t,e[0].toLowerCase()+e.slice(1))||$e(t,ns(e))||$e(t,e))}let lt=null,Wr=null;function wr(t){const e=lt;return lt=t,Wr=t&&t.type.__scopeId||null,e}function ss(t){Wr=t}function os(){Wr=null}function Ne(t,e=lt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Jc(-1);const r=wr(e);let i;try{i=t(...o)}finally{wr(r),s._d&&Jc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ci(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:d,render:u,renderCache:h,data:f,setupState:g,ctx:m,inheritAttrs:_}=t;let p,b;const y=wr(t);try{if(n.shapeFlag&4){const S=o||s;p=zt(u.call(S,S,h,r,g,f,m)),b=l}else{const S=e;p=zt(S.length>1?S(r,{attrs:l,slots:a,emit:d}):S(r,null)),b=e.props?l:A_(l)}}catch(S){ao.length=0,Gr(S,t,1),p=ue(St)}let x=p;if(b&&_!==!1){const S=Object.keys(b),{shapeFlag:R}=x;S.length&&R&7&&(i&&S.some(Cl)&&(b=S_(b,i)),x=cn(x,b))}return n.dirs&&(x=cn(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),p=x,wr(y),p}const A_=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ur(n))&&((e||(e={}))[n]=t[n]);return e},S_=(t,e)=>{const n={};for(const s in t)(!Cl(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function T_(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Uc(s,i,d):!!i;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;function O_(t,e){e&&e.pendingBranch?Ae(t)?e.effects.push(...t):e.effects.push(t):k_(t)}function ir(t,e){if(Xe){let n=Xe.provides;const s=Xe.parent&&Xe.parent.provides;s===n&&(n=Xe.provides=Object.create(s)),n[t]=e}}function rn(t,e,n=!1){const s=Xe||lt;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&&De(e)?e.call(s.proxy):e}}const Go={};function Zn(t,e,n){return bf(t,e,n)}function bf(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Je){const a=zm()===(Xe==null?void 0:Xe.scope)?Xe:null;let l,d=!1,u=!1;if(ut(t)?(l=()=>t.value,d=vr(t)):ws(t)?(l=()=>t,s=!0):Ae(t)?(u=!0,d=t.some(x=>ws(x)||vr(x)),l=()=>t.map(x=>{if(ut(x))return x.value;if(ws(x))return Gn(x);if(De(x))return On(x,a,2)})):De(t)?e?l=()=>On(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),At(t,a,3,[f])}:l=Pt,e&&s){const x=l;l=()=>Gn(x())}let h,f=x=>{h=b.onStop=()=>{On(x,a,4)}},g;if(Eo)if(f=Pt,e?n&&At(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=w1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Pt;let m=u?new Array(t.length).fill(Go):Go;const _=()=>{if(b.active)if(e){const x=b.run();(s||d||(u?x.some((S,R)=>_o(S,m[R])):_o(x,m)))&&(h&&h(),At(e,a,3,[x,m===Go?void 0:u&&m[0]===Go?[]:m,f]),m=x)}else b.run()};_.allowRecurse=!!e;let p;o==="sync"?p=_:o==="post"?p=()=>at(_,a&&a.suspense):(_.pre=!0,a&&(_.id=a.uid),p=()=>Pl(_));const b=new Ml(l,p);e?n?_():m=b.run():o==="post"?at(b.run.bind(b),a&&a.suspense):b.run();const y=()=>{b.stop(),a&&a.scope&&Al(a.scope.effects,b)};return g&&g.push(y),y}function R_(t,e,n){const s=this.proxy,o=Qe(t)?t.includes(".")?yf(s,t):()=>s[t]:t.bind(s,s);let r;De(e)?r=e:(r=e.handler,n=e);const i=Xe;Ss(this);const a=bf(o,r.bind(s),n);return i?Ss(i):Yn(),a}function yf(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Gn(n,e)});else if(Gh(t))for(const n in t)Gn(t[n],e);return t}function vf(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jr(()=>{t.isMounted=!0}),$l(()=>{t.isUnmounting=!0}),t}const xt=[Function,Array],N_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xt,onEnter:xt,onAfterEnter:xt,onEnterCancelled:xt,onBeforeLeave:xt,onLeave:xt,onAfterLeave:xt,onLeaveCancelled:xt,onBeforeAppear:xt,onAppear:xt,onAfterAppear:xt,onAppearCancelled:xt},setup(t,{slots:e}){const n=Hl(),s=vf();let o;return()=>{const r=e.default&&Fl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const _ of r)if(_.type!==St){i=_;break}}const a=je(t),{mode:l}=a;if(s.isLeaving)return Ai(i);const d=qc(i);if(!d)return Ai(i);const u=wo(d,a,s,n);As(d,u);const h=n.subTree,f=h&&qc(h);let g=!1;const{getTransitionKey:m}=d.type;if(m){const _=m();o===void 0?o=_:_!==o&&(o=_,g=!0)}if(f&&f.type!==St&&(!An(d,f)||g)){const _=wo(f,a,s,n);if(As(f,_),l==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Ai(i);l==="in-out"&&d.type!==St&&(_.delayLeave=(p,b,y)=>{const x=xf(s,f);x[String(f.key)]=f,p._leaveCb=()=>{b(),p._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},wf=N_;function xf(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 wo(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:_,onAppear:p,onAfterAppear:b,onAppearCancelled:y}=e,x=String(t.key),S=xf(n,t),R=(v,E)=>{v&&At(v,s,9,E)},O=(v,E)=>{const M=E[1];R(v,E),Ae(v)?v.every(L=>L.length<=1)&&M():v.length<=1&&M()},D={mode:r,persisted:i,beforeEnter(v){let E=a;if(!n.isMounted)if(o)E=_||a;else return;v._leaveCb&&v._leaveCb(!0);const M=S[x];M&&An(t,M)&&M.el._leaveCb&&M.el._leaveCb(),R(E,[v])},enter(v){let E=l,M=d,L=u;if(!n.isMounted)if(o)E=p||l,M=b||d,L=y||u;else return;let B=!1;const J=v._enterCb=P=>{B||(B=!0,P?R(L,[v]):R(M,[v]),D.delayedLeave&&D.delayedLeave(),v._enterCb=void 0)};E?O(E,[v,J]):J()},leave(v,E){const M=String(t.key);if(v._enterCb&&v._enterCb(!0),n.isUnmounting)return E();R(h,[v]);let L=!1;const B=v._leaveCb=J=>{L||(L=!0,E(),J?R(m,[v]):R(g,[v]),v._leaveCb=void 0,S[M]===t&&delete S[M])};S[M]=t,f?O(f,[v,B]):B()},clone(v){return wo(v,e,n,s)}};return D}function Ai(t){if(Zr(t))return t=cn(t),t.children=null,t}function qc(t){return Zr(t)?t.children?t.children[0]:void 0:t}function As(t,e){t.shapeFlag&6&&t.component?As(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 Fl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,Zr=t=>t.type.__isKeepAlive,D_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Hl(),s=n.ctx;if(!s.renderer)return()=>{const y=e.default&&e.default();return y&&y.length===1?y[0]:y};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(y,x,S,R,O)=>{const D=y.component;d(y,x,S,0,a),l(D.vnode,y,x,S,D,a,R,y.slotScopeIds,O),at(()=>{D.isDeactivated=!1,D.a&&vs(D.a);const v=y.props&&y.props.onVnodeMounted;v&&kt(v,D.parent,y)},a)},s.deactivate=y=>{const x=y.component;d(y,f,null,1,a),at(()=>{x.da&&vs(x.da);const S=y.props&&y.props.onVnodeUnmounted;S&&kt(S,x.parent,y),x.isDeactivated=!0},a)};function g(y){Si(y),u(y,n,a,!0)}function m(y){o.forEach((x,S)=>{const R=Za(x.type);R&&(!y||!y(R))&&_(S)})}function _(y){const x=o.get(y);!i||!An(x,i)?g(x):i&&Si(i),o.delete(y),r.delete(y)}Zn(()=>[t.include,t.exclude],([y,x])=>{y&&m(S=>oo(y,S)),x&&m(S=>!oo(x,S))},{flush:"post",deep:!0});let p=null;const b=()=>{p!=null&&o.set(p,Ti(n.subTree))};return Jr(b),Bl(b),$l(()=>{o.forEach(y=>{const{subTree:x,suspense:S}=n,R=Ti(x);if(y.type===R.type&&y.key===R.key){Si(R);const O=R.component.da;O&&at(O,S);return}g(y)})}),()=>{if(p=null,!e.default)return null;const y=e.default(),x=y[0];if(y.length>1)return i=null,y;if(!ko(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let S=Ti(x);const R=S.type,O=Za(ks(S)?S.type.__asyncResolved||{}:R),{include:D,exclude:v,max:E}=t;if(D&&(!O||!oo(D,O))||v&&O&&oo(v,O))return i=S,x;const M=S.key==null?R:S.key,L=o.get(M);return S.el&&(S=cn(S),x.shapeFlag&128&&(x.ssContent=S)),p=M,L?(S.el=L.el,S.component=L.component,S.transition&&As(S,S.transition),S.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),E&&r.size>parseInt(E,10)&&_(r.values().next().value)),S.shapeFlag|=256,i=S,_f(x.type)?x:S}}},L_=D_;function oo(t,e){return Ae(t)?t.some(n=>oo(n,e)):Qe(t)?t.split(",").includes(e):Nm(t)?t.test(e):!1}function I_(t,e){Ef(t,"a",e)}function P_(t,e){Ef(t,"da",e)}function Ef(t,e,n=Xe){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Yr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Zr(o.parent.vnode)&&F_(s,e,n,o),o=o.parent}}function F_(t,e,n,s){const o=Yr(e,t,s,!0);Cf(()=>{Al(s[e],o)},n)}function Si(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Ti(t){return t.shapeFlag&128?t.ssContent:t}function Yr(t,e,n=Xe,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;js(),Ss(n);const a=At(e,n,t,i);return Yn(),Us(),a});return s?o.unshift(r):o.push(r),r}}const hn=t=>(e,n=Xe)=>(!Eo||t==="sp")&&Yr(t,(...s)=>e(...s),n),B_=hn("bm"),Jr=hn("m"),$_=hn("bu"),Bl=hn("u"),$l=hn("bum"),Cf=hn("um"),z_=hn("sp"),j_=hn("rtg"),U_=hn("rtc");function q_(t,e=Xe){Yr("ec",t,e)}function se(t,e){const n=lt;if(n===null)return t;const s=ei(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;ako(e)?!(e.type===St||e.type===Re&&!Tf(e.children)):!0)?t:null}const Ha=t=>t?$f(t)?ei(t)||t.proxy:Ha(t.parent):null,io=it(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=>Ha(t.parent),$root:t=>Ha(t.root),$emit:t=>t.emit,$options:t=>jl(t),$forceUpdate:t=>t.f||(t.f=()=>Pl(t.update)),$nextTick:t=>t.n||(t.n=be.bind(t.proxy)),$watch:t=>R_.bind(t)}),Mi=(t,e)=>t!==Je&&!t.__isScriptSetup&&$e(t,e),V_={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let d;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(Mi(s,e))return i[e]=1,s[e];if(o!==Je&&$e(o,e))return i[e]=2,o[e];if((d=t.propsOptions[0])&&$e(d,e))return i[e]=3,r[e];if(n!==Je&&$e(n,e))return i[e]=4,n[e];Va&&(i[e]=0)}}const u=io[e];let h,f;if(u)return e==="$attrs"&&_t(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Je&&$e(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,$e(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Mi(o,e)?(o[e]=n,!0):s!==Je&&$e(s,e)?(s[e]=n,!0):$e(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!==Je&&$e(t,i)||Mi(e,i)||(a=r[0])&&$e(a,i)||$e(s,i)||$e(io,i)||$e(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:$e(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Va=!0;function G_(t){const e=jl(t),n=t.proxy,s=t.ctx;Va=!1,e.beforeCreate&&Vc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:g,updated:m,activated:_,deactivated:p,beforeDestroy:b,beforeUnmount:y,destroyed:x,unmounted:S,render:R,renderTracked:O,renderTriggered:D,errorCaptured:v,serverPrefetch:E,expose:M,inheritAttrs:L,components:B,directives:J,filters:P}=e;if(d&&K_(d,s,null,t.appContext.config.unwrapInjectedRef),i)for(const T in i){const q=i[T];De(q)&&(s[T]=q.bind(n))}if(o){const T=o.call(n,n);Ze(T)&&(t.data=qs(T))}if(Va=!0,r)for(const T in r){const q=r[T],G=De(q)?q.bind(n,n):De(q.get)?q.get.bind(n,n):Pt,we=!De(q)&&De(q.set)?q.set.bind(n):Pt,_e=Ct({get:G,set:we});Object.defineProperty(s,T,{enumerable:!0,configurable:!0,get:()=>_e.value,set:ee=>_e.value=ee})}if(a)for(const T in a)Mf(a[T],s,n,T);if(l){const T=De(l)?l.call(n):l;Reflect.ownKeys(T).forEach(q=>{ir(q,T[q])})}u&&Vc(u,t,"c");function Z(T,q){Ae(q)?q.forEach(G=>T(G.bind(n))):q&&T(q.bind(n))}if(Z(B_,h),Z(Jr,f),Z($_,g),Z(Bl,m),Z(I_,_),Z(P_,p),Z(q_,v),Z(U_,O),Z(j_,D),Z($l,y),Z(Cf,S),Z(z_,E),Ae(M))if(M.length){const T=t.exposed||(t.exposed={});M.forEach(q=>{Object.defineProperty(T,q,{get:()=>n[q],set:G=>n[q]=G})})}else t.exposed||(t.exposed={});R&&t.render===Pt&&(t.render=R),L!=null&&(t.inheritAttrs=L),B&&(t.components=B),J&&(t.directives=J)}function K_(t,e,n=Pt,s=!1){Ae(t)&&(t=Ga(t));for(const o in t){const r=t[o];let i;Ze(r)?"default"in r?i=rn(r.from||o,r.default,!0):i=rn(r.from||o):i=rn(r),ut(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Vc(t,e,n){At(Ae(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Mf(t,e,n,s){const o=s.includes(".")?yf(n,s):()=>n[s];if(Qe(t)){const r=e[t];De(r)&&Zn(o,r)}else if(De(t))Zn(o,t.bind(n));else if(Ze(t))if(Ae(t))t.forEach(r=>Mf(r,e,n,s));else{const r=De(t.handler)?t.handler.bind(n):e[t.handler];De(r)&&Zn(o,r,t)}}function jl(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(d=>kr(l,d,i,!0)),kr(l,e,i)),Ze(e)&&r.set(e,l),l}function kr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&kr(t,r,n,!0),o&&o.forEach(i=>kr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=W_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const W_={data:Gc,props:$n,emits:$n,methods:$n,computed:$n,beforeCreate:ft,created:ft,beforeMount:ft,mounted:ft,beforeUpdate:ft,updated:ft,beforeDestroy:ft,beforeUnmount:ft,destroyed:ft,unmounted:ft,activated:ft,deactivated:ft,errorCaptured:ft,serverPrefetch:ft,components:$n,directives:$n,watch:Y_,provide:Gc,inject:Z_};function Gc(t,e){return e?t?function(){return it(De(t)?t.call(this,this):t,De(e)?e.call(this,this):e)}:e:t}function Z_(t,e){return $n(Ga(t),Ga(e))}function Ga(t){if(Ae(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,g]=Rf(h,e,!0);it(i,f),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 Ze(t)&&s.set(t,bs),bs;if(Ae(r))for(let u=0;u-1,g[1]=_<0||m<_,(m>-1||$e(g,"default"))&&a.push(h)}}}const d=[i,a];return Ze(t)&&s.set(t,d),d}function Kc(t){return t[0]!=="$"}function Wc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Zc(t,e){return Wc(t)===Wc(e)}function Yc(t,e){return Ae(e)?e.findIndex(n=>Zc(n,t)):De(e)&&Zc(e,t)?0:-1}const Nf=t=>t[0]==="_"||t==="$stable",Ul=t=>Ae(t)?t.map(zt):[zt(t)],X_=(t,e,n)=>{if(e._n)return e;const s=Ne((...o)=>Ul(e(...o)),n);return s._c=!1,s},Df=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Nf(o))continue;const r=t[o];if(De(r))e[o]=X_(o,r,s);else if(r!=null){const i=Ul(r);e[o]=()=>i}}},Lf=(t,e)=>{const n=Ul(e);t.slots.default=()=>n},e1=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=je(e),br(e,"_",n)):Df(e,t.slots={})}else t.slots={},e&&Lf(t,e);br(t.slots,Xr,1)},t1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Je;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(it(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Df(e,o)),i=e}else e&&(Lf(t,e),i={default:1});if(r)for(const a in o)!Nf(a)&&!(a in i)&&delete o[a]};function If(){return{app:null,config:{isNativeTag:Mm,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 n1=0;function s1(t,e){return function(s,o=null){De(s)||(s=Object.assign({},s)),o!=null&&!Ze(o)&&(o=null);const r=If(),i=new Set;let a=!1;const l=r.app={_uid:n1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:x1,get config(){return r.config},set config(d){},use(d,...u){return i.has(d)||(d&&De(d.install)?(i.add(d),d.install(l,...u)):De(d)&&(i.add(d),d(l,...u))),l},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),l},component(d,u){return u?(r.components[d]=u,l):r.components[d]},directive(d,u){return u?(r.directives[d]=u,l):r.directives[d]},mount(d,u,h){if(!a){const f=ue(s,o);return f.appContext=r,u&&e?e(f,d):t(f,d,h),a=!0,l._container=d,d.__vue_app__=l,ei(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(d,u){return r.provides[d]=u,l}};return l}}function Wa(t,e,n,s,o=!1){if(Ae(t)){t.forEach((f,g)=>Wa(f,e&&(Ae(e)?e[g]:e),n,s,o));return}if(ks(s)&&!o)return;const r=s.shapeFlag&4?ei(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,d=e&&e.r,u=a.refs===Je?a.refs={}:a.refs,h=a.setupState;if(d!=null&&d!==l&&(Qe(d)?(u[d]=null,$e(h,d)&&(h[d]=null)):ut(d)&&(d.value=null)),De(l))On(l,a,12,[i,u]);else{const f=Qe(l),g=ut(l);if(f||g){const m=()=>{if(t.f){const _=f?$e(h,l)?h[l]:u[l]:l.value;o?Ae(_)&&Al(_,r):Ae(_)?_.includes(r)||_.push(r):f?(u[l]=[r],$e(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,$e(h,l)&&(h[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(m.id=-1,at(m,n)):m()}}}const at=O_;function o1(t){return r1(t)}function r1(t,e){const n=Fm();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:g=Pt,insertStaticContent:m}=t,_=(w,A,F,$=null,z=null,ne=null,ae=!1,j=null,re=!!A.dynamicChildren)=>{if(w===A)return;w&&!An(w,A)&&($=V(w),ee(w,z,ne,!0),w=null),A.patchFlag===-2&&(re=!1,A.dynamicChildren=null);const{type:U,ref:Y,shapeFlag:le}=A;switch(U){case Qr:p(w,A,F,$);break;case St:b(w,A,F,$);break;case ar:w==null&&y(A,F,$,ae);break;case Re:B(w,A,F,$,z,ne,ae,j,re);break;default:le&1?R(w,A,F,$,z,ne,ae,j,re):le&6?J(w,A,F,$,z,ne,ae,j,re):(le&64||le&128)&&U.process(w,A,F,$,z,ne,ae,j,re,X)}Y!=null&&z&&Wa(Y,w&&w.ref,ne,A||w,!A)},p=(w,A,F,$)=>{if(w==null)s(A.el=a(A.children),F,$);else{const z=A.el=w.el;A.children!==w.children&&d(z,A.children)}},b=(w,A,F,$)=>{w==null?s(A.el=l(A.children||""),F,$):A.el=w.el},y=(w,A,F,$)=>{[w.el,w.anchor]=m(w.children,A,F,$,w.el,w.anchor)},x=({el:w,anchor:A},F,$)=>{let z;for(;w&&w!==A;)z=f(w),s(w,F,$),w=z;s(A,F,$)},S=({el:w,anchor:A})=>{let F;for(;w&&w!==A;)F=f(w),o(w),w=F;o(A)},R=(w,A,F,$,z,ne,ae,j,re)=>{ae=ae||A.type==="svg",w==null?O(A,F,$,z,ne,ae,j,re):E(w,A,z,ne,ae,j,re)},O=(w,A,F,$,z,ne,ae,j)=>{let re,U;const{type:Y,props:le,shapeFlag:pe,transition:fe,dirs:Ce}=w;if(re=w.el=i(w.type,ne,le&&le.is,le),pe&8?u(re,w.children):pe&16&&v(w.children,re,null,$,z,ne&&Y!=="foreignObject",ae,j),Ce&&In(w,null,$,"created"),D(re,w,w.scopeId,ae,$),le){for(const ie in le)ie!=="value"&&!rr(ie)&&r(re,ie,null,le[ie],ne,w.children,$,z,Q);"value"in le&&r(re,"value",null,le.value),(U=le.onVnodeBeforeMount)&&kt(U,$,w)}Ce&&In(w,null,$,"beforeMount");const W=(!z||z&&!z.pendingBranch)&&fe&&!fe.persisted;W&&fe.beforeEnter(re),s(re,A,F),((U=le&&le.onVnodeMounted)||W||Ce)&&at(()=>{U&&kt(U,$,w),W&&fe.enter(re),Ce&&In(w,null,$,"mounted")},z)},D=(w,A,F,$,z)=>{if(F&&g(w,F),$)for(let ne=0;ne<$.length;ne++)g(w,$[ne]);if(z){let ne=z.subTree;if(A===ne){const ae=z.vnode;D(w,ae,ae.scopeId,ae.slotScopeIds,z.parent)}}},v=(w,A,F,$,z,ne,ae,j,re=0)=>{for(let U=re;U{const j=A.el=w.el;let{patchFlag:re,dynamicChildren:U,dirs:Y}=A;re|=w.patchFlag&16;const le=w.props||Je,pe=A.props||Je;let fe;F&&Pn(F,!1),(fe=pe.onVnodeBeforeUpdate)&&kt(fe,F,A,w),Y&&In(A,w,F,"beforeUpdate"),F&&Pn(F,!0);const Ce=z&&A.type!=="foreignObject";if(U?M(w.dynamicChildren,U,j,F,$,Ce,ne):ae||q(w,A,j,null,F,$,Ce,ne,!1),re>0){if(re&16)L(j,A,le,pe,F,$,z);else if(re&2&&le.class!==pe.class&&r(j,"class",null,pe.class,z),re&4&&r(j,"style",le.style,pe.style,z),re&8){const W=A.dynamicProps;for(let ie=0;ie{fe&&kt(fe,F,A,w),Y&&In(A,w,F,"updated")},$)},M=(w,A,F,$,z,ne,ae)=>{for(let j=0;j{if(F!==$){if(F!==Je)for(const j in F)!rr(j)&&!(j in $)&&r(w,j,F[j],null,ae,A.children,z,ne,Q);for(const j in $){if(rr(j))continue;const re=$[j],U=F[j];re!==U&&j!=="value"&&r(w,j,U,re,ae,A.children,z,ne,Q)}"value"in $&&r(w,"value",F.value,$.value)}},B=(w,A,F,$,z,ne,ae,j,re)=>{const U=A.el=w?w.el:a(""),Y=A.anchor=w?w.anchor:a("");let{patchFlag:le,dynamicChildren:pe,slotScopeIds:fe}=A;fe&&(j=j?j.concat(fe):fe),w==null?(s(U,F,$),s(Y,F,$),v(A.children,F,Y,z,ne,ae,j,re)):le>0&&le&64&&pe&&w.dynamicChildren?(M(w.dynamicChildren,pe,F,z,ne,ae,j),(A.key!=null||z&&A===z.subTree)&&Pf(w,A,!0)):q(w,A,F,Y,z,ne,ae,j,re)},J=(w,A,F,$,z,ne,ae,j,re)=>{A.slotScopeIds=j,w==null?A.shapeFlag&512?z.ctx.activate(A,F,$,ae,re):P(A,F,$,z,ne,ae,re):ce(w,A,re)},P=(w,A,F,$,z,ne,ae)=>{const j=w.component=p1(w,$,z);if(Zr(w)&&(j.ctx.renderer=X),g1(j),j.asyncDep){if(z&&z.registerDep(j,Z),!w.el){const re=j.subTree=ue(St);b(null,re,A,F)}return}Z(j,w,A,F,z,ne,ae)},ce=(w,A,F)=>{const $=A.component=w.component;if(T_(w,A,F))if($.asyncDep&&!$.asyncResolved){T($,A,F);return}else $.next=A,x_($.update),$.update();else A.el=w.el,$.vnode=A},Z=(w,A,F,$,z,ne,ae)=>{const j=()=>{if(w.isMounted){let{next:Y,bu:le,u:pe,parent:fe,vnode:Ce}=w,W=Y,ie;Pn(w,!1),Y?(Y.el=Ce.el,T(w,Y,ae)):Y=Ce,le&&vs(le),(ie=Y.props&&Y.props.onVnodeBeforeUpdate)&&kt(ie,fe,Y,Ce),Pn(w,!0);const me=Ci(w),Te=w.subTree;w.subTree=me,_(Te,me,h(Te.el),V(Te),w,z,ne),Y.el=me.el,W===null&&M_(w,me.el),pe&&at(pe,z),(ie=Y.props&&Y.props.onVnodeUpdated)&&at(()=>kt(ie,fe,Y,Ce),z)}else{let Y;const{el:le,props:pe}=A,{bm:fe,m:Ce,parent:W}=w,ie=ks(A);if(Pn(w,!1),fe&&vs(fe),!ie&&(Y=pe&&pe.onVnodeBeforeMount)&&kt(Y,W,A),Pn(w,!0),le&&he){const me=()=>{w.subTree=Ci(w),he(le,w.subTree,w,z,null)};ie?A.type.__asyncLoader().then(()=>!w.isUnmounted&&me()):me()}else{const me=w.subTree=Ci(w);_(null,me,F,$,w,z,ne),A.el=me.el}if(Ce&&at(Ce,z),!ie&&(Y=pe&&pe.onVnodeMounted)){const me=A;at(()=>kt(Y,W,me),z)}(A.shapeFlag&256||W&&ks(W.vnode)&&W.vnode.shapeFlag&256)&&w.a&&at(w.a,z),w.isMounted=!0,A=F=$=null}},re=w.effect=new Ml(j,()=>Pl(U),w.scope),U=w.update=()=>re.run();U.id=w.uid,Pn(w,!0),U()},T=(w,A,F)=>{A.component=w;const $=w.vnode.props;w.vnode=A,w.next=null,Q_(w,A.props,$,F),t1(w,A.children,F),js(),jc(),Us()},q=(w,A,F,$,z,ne,ae,j,re=!1)=>{const U=w&&w.children,Y=w?w.shapeFlag:0,le=A.children,{patchFlag:pe,shapeFlag:fe}=A;if(pe>0){if(pe&128){we(U,le,F,$,z,ne,ae,j,re);return}else if(pe&256){G(U,le,F,$,z,ne,ae,j,re);return}}fe&8?(Y&16&&Q(U,z,ne),le!==U&&u(F,le)):Y&16?fe&16?we(U,le,F,$,z,ne,ae,j,re):Q(U,z,ne,!0):(Y&8&&u(F,""),fe&16&&v(le,F,$,z,ne,ae,j,re))},G=(w,A,F,$,z,ne,ae,j,re)=>{w=w||bs,A=A||bs;const U=w.length,Y=A.length,le=Math.min(U,Y);let pe;for(pe=0;peY?Q(w,z,ne,!0,!1,le):v(A,F,$,z,ne,ae,j,re,le)},we=(w,A,F,$,z,ne,ae,j,re)=>{let U=0;const Y=A.length;let le=w.length-1,pe=Y-1;for(;U<=le&&U<=pe;){const fe=w[U],Ce=A[U]=re?vn(A[U]):zt(A[U]);if(An(fe,Ce))_(fe,Ce,F,null,z,ne,ae,j,re);else break;U++}for(;U<=le&&U<=pe;){const fe=w[le],Ce=A[pe]=re?vn(A[pe]):zt(A[pe]);if(An(fe,Ce))_(fe,Ce,F,null,z,ne,ae,j,re);else break;le--,pe--}if(U>le){if(U<=pe){const fe=pe+1,Ce=fepe)for(;U<=le;)ee(w[U],z,ne,!0),U++;else{const fe=U,Ce=U,W=new Map;for(U=Ce;U<=pe;U++){const st=A[U]=re?vn(A[U]):zt(A[U]);st.key!=null&&W.set(st.key,U)}let ie,me=0;const Te=pe-Ce+1;let Be=!1,We=0;const Pe=new Array(Te);for(U=0;U=Te){ee(st,z,ne,!0);continue}let ct;if(st.key!=null)ct=W.get(st.key);else for(ie=Ce;ie<=pe;ie++)if(Pe[ie-Ce]===0&&An(st,A[ie])){ct=ie;break}ct===void 0?ee(st,z,ne,!0):(Pe[ct-Ce]=U+1,ct>=We?We=ct:Be=!0,_(st,A[ct],F,null,z,ne,ae,j,re),me++)}const et=Be?i1(Pe):bs;for(ie=et.length-1,U=Te-1;U>=0;U--){const st=Ce+U,ct=A[st],Rc=st+1{const{el:ne,type:ae,transition:j,children:re,shapeFlag:U}=w;if(U&6){_e(w.component.subTree,A,F,$);return}if(U&128){w.suspense.move(A,F,$);return}if(U&64){ae.move(w,A,F,X);return}if(ae===Re){s(ne,A,F);for(let le=0;lej.enter(ne),z);else{const{leave:le,delayLeave:pe,afterLeave:fe}=j,Ce=()=>s(ne,A,F),W=()=>{le(ne,()=>{Ce(),fe&&fe()})};pe?pe(ne,Ce,W):W()}else s(ne,A,F)},ee=(w,A,F,$=!1,z=!1)=>{const{type:ne,props:ae,ref:j,children:re,dynamicChildren:U,shapeFlag:Y,patchFlag:le,dirs:pe}=w;if(j!=null&&Wa(j,null,F,w,!0),Y&256){A.ctx.deactivate(w);return}const fe=Y&1&&pe,Ce=!ks(w);let W;if(Ce&&(W=ae&&ae.onVnodeBeforeUnmount)&&kt(W,A,w),Y&6)N(w.component,F,$);else{if(Y&128){w.suspense.unmount(F,$);return}fe&&In(w,null,A,"beforeUnmount"),Y&64?w.type.remove(w,A,F,z,X,$):U&&(ne!==Re||le>0&&le&64)?Q(U,A,F,!1,!0):(ne===Re&&le&384||!z&&Y&16)&&Q(re,A,F),$&&ke(w)}(Ce&&(W=ae&&ae.onVnodeUnmounted)||fe)&&at(()=>{W&&kt(W,A,w),fe&&In(w,null,A,"unmounted")},F)},ke=w=>{const{type:A,el:F,anchor:$,transition:z}=w;if(A===Re){Se(F,$);return}if(A===ar){S(w);return}const ne=()=>{o(F),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(w.shapeFlag&1&&z&&!z.persisted){const{leave:ae,delayLeave:j}=z,re=()=>ae(F,ne);j?j(w.el,ne,re):re()}else ne()},Se=(w,A)=>{let F;for(;w!==A;)F=f(w),o(w),w=F;o(A)},N=(w,A,F)=>{const{bum:$,scope:z,update:ne,subTree:ae,um:j}=w;$&&vs($),z.stop(),ne&&(ne.active=!1,ee(ae,w,A,F)),j&&at(j,A),at(()=>{w.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve())},Q=(w,A,F,$=!1,z=!1,ne=0)=>{for(let ae=ne;aew.shapeFlag&6?V(w.component.subTree):w.shapeFlag&128?w.suspense.next():f(w.anchor||w.el),te=(w,A,F)=>{w==null?A._vnode&&ee(A._vnode,null,null,!0):_(A._vnode||null,w,A,null,null,null,F),jc(),pf(),A._vnode=w},X={p:_,um:ee,m:_e,r:ke,mt:P,mc:v,pc:q,pbc:M,n:V,o:t};let ge,he;return e&&([ge,he]=e(X)),{render:te,hydrate:ge,createApp:s1(te,ge)}}function Pn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Pf(t,e,n=!1){const s=t.children,o=e.children;if(Ae(s)&&Ae(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 a1=t=>t.__isTeleport,Re=Symbol(void 0),Qr=Symbol(void 0),St=Symbol(void 0),ar=Symbol(void 0),ao=[];let It=null;function k(t=!1){ao.push(It=t?null:[])}function l1(){ao.pop(),It=ao[ao.length-1]||null}let xo=1;function Jc(t){xo+=t}function Ff(t){return t.dynamicChildren=xo>0?It||bs:null,l1(),xo>0&&It&&It.push(t),t}function C(t,e,n,s,o,r){return Ff(c(t,e,n,s,o,r,!0))}function tt(t,e,n,s,o){return Ff(ue(t,e,n,s,o,!0))}function ko(t){return t?t.__v_isVNode===!0:!1}function An(t,e){return t.type===e.type&&t.key===e.key}const Xr="__vInternal",Bf=({key:t})=>t??null,lr=({ref:t,ref_key:e,ref_for:n})=>t!=null?Qe(t)||ut(t)||De(t)?{i:lt,r:t,k:e,f:!!n}:t:null;function c(t,e=null,n=null,s=0,o=null,r=t===Re?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Bf(e),ref:e&&lr(e),scopeId:Wr,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:lt};return a?(ql(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Qe(n)?8:16),xo>0&&!i&&It&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&It.push(l),l}const ue=c1;function c1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===Af)&&(t=St),ko(t)){const a=cn(t,e,!0);return n&&ql(a,n),xo>0&&!r&&It&&(a.shapeFlag&6?It[It.indexOf(t)]=a:It.push(a)),a.patchFlag|=-2,a}if(y1(t)&&(t=t.__vccOpts),e){e=d1(e);let{class:a,style:l}=e;a&&!Qe(a)&&(e.class=Me(a)),Ze(l)&&(of(l)&&!Ae(l)&&(l=it({},l)),e.style=yt(l))}const i=Qe(t)?1:_f(t)?128:a1(t)?64:Ze(t)?4:De(t)?2:0;return c(t,e,n,s,o,i,r,!0)}function d1(t){return t?of(t)||Xr in t?it({},t):t:null}function cn(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?u1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Bf(a),ref:e&&e.ref?n&&o?Ae(o)?o.concat(lr(e)):[o,lr(e)]:lr(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!==Re?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&&cn(t.ssContent),ssFallback:t.ssFallback&&cn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function xe(t=" ",e=0){return ue(Qr,null,t,e)}function rs(t,e){const n=ue(ar,null,t);return n.staticCount=e,n}function I(t="",e=!1){return e?(k(),tt(St,null,t)):ue(St,null,t)}function zt(t){return t==null||typeof t=="boolean"?ue(St):Ae(t)?ue(Re,null,t.slice()):typeof t=="object"?vn(t):ue(Qr,null,String(t))}function vn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:cn(t)}function ql(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Ae(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),ql(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Xr in e)?e._ctx=lt:o===3&<&&(lt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else De(e)?(e={default:e,_ctx:lt},n=32):(e=String(e),s&64?(n=16,e=[xe(e)]):n=8);t.children=e,t.shapeFlag|=n}function u1(...t){const e={};for(let n=0;nXe||lt,Ss=t=>{Xe=t,t.scope.on()},Yn=()=>{Xe&&Xe.scope.off(),Xe=null};function $f(t){return t.vnode.shapeFlag&4}let Eo=!1;function g1(t,e=!1){Eo=e;const{props:n,children:s}=t.vnode,o=$f(t);J_(t,n,o,e),e1(t,s);const r=o?m1(t,e):void 0;return Eo=!1,r}function m1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=rf(new Proxy(t.ctx,V_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?b1(t):null;Ss(t),js();const r=On(s,t,0,[t.props,o]);if(Us(),Yn(),Hh(r)){if(r.then(Yn,Yn),e)return r.then(i=>{Qc(t,i,e)}).catch(i=>{Gr(i,t,0)});t.asyncDep=r}else Qc(t,r,e)}else zf(t,e)}function Qc(t,e,n){De(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ze(e)&&(t.setupState=df(e)),zf(t,n)}let Xc;function zf(t,e,n){const s=t.type;if(!t.render){if(!e&&Xc&&!s.render){const o=s.template||jl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,d=it(it({isCustomElement:r,delimiters:a},i),l);s.render=Xc(o,d)}}t.render=s.render||Pt}Ss(t),js(),G_(t),Us(),Yn()}function _1(t){return new Proxy(t.attrs,{get(e,n){return _t(t,"get","$attrs"),e[n]}})}function b1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=_1(t))},slots:t.slots,emit:t.emit,expose:e}}function ei(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(df(rf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in io)return io[n](t)},has(e,n){return n in e||n in io}}))}function Za(t,e=!0){return De(t)?t.displayName||t.name:t.name||e&&t.__name}function y1(t){return De(t)&&"__vccOpts"in t}const Ct=(t,e)=>y_(t,e,Eo);function Vl(t,e,n){const s=arguments.length;return s===2?Ze(e)&&!Ae(e)?ko(e)?ue(t,null,[e]):ue(t,e):ue(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ko(n)&&(n=[n]),ue(t,e,n))}const v1=Symbol(""),w1=()=>rn(v1),x1="3.2.47",k1="http://www.w3.org/2000/svg",Un=typeof document<"u"?document:null,ed=Un&&Un.createElement("template"),E1={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?Un.createElementNS(k1,t):Un.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Un.createTextNode(t),createComment:t=>Un.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Un.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{ed.innerHTML=s?`${t}`:t;const a=ed.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 C1(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 A1(t,e,n){const s=t.style,o=Qe(n);if(n&&!o){if(e&&!Qe(e))for(const r in e)n[r]==null&&Ya(s,r,"");for(const r in n)Ya(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 td=/\s*!important$/;function Ya(t,e,n){if(Ae(n))n.forEach(s=>Ya(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=S1(t,e);td.test(n)?t.setProperty(ns(s),n.replace(td,""),"important"):t[s]=n}}const nd=["Webkit","Moz","ms"],Oi={};function S1(t,e){const n=Oi[e];if(n)return n;let s=Zt(e);if(s!=="filter"&&s in t)return Oi[e]=s;s=Hr(s);for(let o=0;oRi||(D1.then(()=>Ri=0),Ri=Date.now());function I1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At(P1(s,n.value),e,5,[s])};return n.value=t,n.attached=L1(),n}function P1(t,e){if(Ae(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 rd=/^on[a-z]/,F1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?C1(t,s,o):e==="style"?A1(t,n,s):Ur(e)?Cl(e)||R1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):B1(t,e,s,o))?M1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),T1(t,e,s,o))};function B1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&rd.test(e)&&De(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||rd.test(e)&&Qe(n)?!1:e in t}const gn="transition",Js="animation",Ts=(t,{slots:e})=>Vl(wf,Uf(t),e);Ts.displayName="Transition";const jf={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},$1=Ts.props=it({},wf.props,jf),Fn=(t,e=[])=>{Ae(t)?t.forEach(n=>n(...e)):t&&t(...e)},id=t=>t?Ae(t)?t.some(e=>e.length>1):t.length>1:!1;function Uf(t){const e={};for(const B in t)B in jf||(e[B]=t[B]);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:d=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,m=z1(o),_=m&&m[0],p=m&&m[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:x,onLeave:S,onLeaveCancelled:R,onBeforeAppear:O=b,onAppear:D=y,onAppearCancelled:v=x}=e,E=(B,J,P)=>{yn(B,J?u:a),yn(B,J?d:i),P&&P()},M=(B,J)=>{B._isLeaving=!1,yn(B,h),yn(B,g),yn(B,f),J&&J()},L=B=>(J,P)=>{const ce=B?D:y,Z=()=>E(J,B,P);Fn(ce,[J,Z]),ad(()=>{yn(J,B?l:r),tn(J,B?u:a),id(ce)||ld(J,s,_,Z)})};return it(e,{onBeforeEnter(B){Fn(b,[B]),tn(B,r),tn(B,i)},onBeforeAppear(B){Fn(O,[B]),tn(B,l),tn(B,d)},onEnter:L(!1),onAppear:L(!0),onLeave(B,J){B._isLeaving=!0;const P=()=>M(B,J);tn(B,h),Hf(),tn(B,f),ad(()=>{B._isLeaving&&(yn(B,h),tn(B,g),id(S)||ld(B,s,p,P))}),Fn(S,[B,P])},onEnterCancelled(B){E(B,!1),Fn(x,[B])},onAppearCancelled(B){E(B,!0),Fn(v,[B])},onLeaveCancelled(B){M(B),Fn(R,[B])}})}function z1(t){if(t==null)return null;if(Ze(t))return[Ni(t.enter),Ni(t.leave)];{const e=Ni(t);return[e,e]}}function Ni(t){return Pm(t)}function tn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function yn(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 ad(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let j1=0;function ld(t,e,n,s){const o=t._endId=++j1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=qf(t,e);if(!i)return s();const d=i+"end";let u=0;const h=()=>{t.removeEventListener(d,f),r()},f=g=>{g.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[m]||"").split(", "),o=s(`${gn}Delay`),r=s(`${gn}Duration`),i=cd(o,r),a=s(`${Js}Delay`),l=s(`${Js}Duration`),d=cd(a,l);let u=null,h=0,f=0;e===gn?i>0&&(u=gn,h=i,f=r.length):e===Js?d>0&&(u=Js,h=d,f=l.length):(h=Math.max(i,d),u=h>0?i>d?gn:Js:null,f=u?u===gn?r.length:l.length:0);const g=u===gn&&/\b(transform|all)(,|$)/.test(s(`${gn}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:g}}function cd(t,e){for(;t.lengthdd(n)+dd(t[s])))}function dd(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Hf(){return document.body.offsetHeight}const Vf=new WeakMap,Gf=new WeakMap,Kf={name:"TransitionGroup",props:it({},$1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Hl(),s=vf();let o,r;return Bl(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!G1(o[0].el,n.vnode.el,i))return;o.forEach(q1),o.forEach(H1);const a=o.filter(V1);Hf(),a.forEach(l=>{const d=l.el,u=d.style;tn(d,i),u.transform=u.webkitTransform=u.transitionDuration="";const h=d._moveCb=f=>{f&&f.target!==d||(!f||/transform$/.test(f.propertyName))&&(d.removeEventListener("transitionend",h),d._moveCb=null,yn(d,i))};d.addEventListener("transitionend",h)})}),()=>{const i=je(t),a=Uf(i);let l=i.tag||Re;o=r,r=e.default?Fl(e.default()):[];for(let d=0;ddelete t.mode;Kf.props;const Ut=Kf;function q1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function H1(t){Gf.set(t,t.el.getBoundingClientRect())}function V1(t){const e=Vf.get(t),n=Gf.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 G1(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}=qf(s);return o.removeChild(s),r}const Ms=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Ae(e)?n=>vs(e,n):e};function K1(t){t.target.composing=!0}function ud(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Oe={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=Ms(o);const r=s||o.props&&o.props.type==="number";Sn(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=yr(a)),t._assign(a)}),n&&Sn(t,"change",()=>{t.value=t.value.trim()}),e||(Sn(t,"compositionstart",K1),Sn(t,"compositionend",ud),Sn(t,"change",ud))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=Ms(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&yr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},rt={deep:!0,created(t,e,n){t._assign=Ms(n),Sn(t,"change",()=>{const s=t._modelValue,o=Co(t),r=t.checked,i=t._assign;if(Ae(s)){const a=El(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const d=[...s];d.splice(a,1),i(d)}}else if($s(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Wf(t,r))})},mounted:hd,beforeUpdate(t,e,n){t._assign=Ms(n),hd(t,e,n)}};function hd(t,{value:e,oldValue:n},s){t._modelValue=e,Ae(e)?t.checked=El(e,s.props.value)>-1:$s(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=Do(e,Wf(t,!0)))}const on={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=$s(e);Sn(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?yr(Co(i)):Co(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=Ms(s)},mounted(t,{value:e}){fd(t,e)},beforeUpdate(t,e,n){t._assign=Ms(n)},updated(t,{value:e}){fd(t,e)}};function fd(t,e){const n=t.multiple;if(!(n&&!Ae(e)&&!$s(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(Do(Co(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Co(t){return"_value"in t?t._value:t.value}function Wf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const W1=["ctrl","shift","alt","meta"],Z1={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)=>W1.some(n=>t[`${n}Key`]&&!e.includes(n))},de=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=ns(n.key);if(e.some(o=>o===s||Y1[o]===s))return t(n)},Ye={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Qs(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Qs(t,!0),s.enter(t)):s.leave(t,()=>{Qs(t,!1)}):Qs(t,e))},beforeUnmount(t,{value:e}){Qs(t,e)}};function Qs(t,e){t.style.display=e?t._vod:"none"}const J1=it({patchProp:F1},E1);let pd;function Q1(){return pd||(pd=o1(J1))}const X1=(...t)=>{const e=Q1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=e0(s);if(!o)return;const r=e._component;!De(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 e0(t){return Qe(t)?document.querySelector(t):t}function t0(){return Zf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Zf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const n0=typeof Proxy=="function",s0="devtools-plugin:setup",o0="plugin:settings:set";let cs,Qa;function r0(){var t;return cs!==void 0||(typeof window<"u"&&window.performance?(cs=!0,Qa=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(cs=!0,Qa=global.perf_hooks.performance):cs=!1),cs}function i0(){return r0()?Qa.now():Date.now()}class a0{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 i0()}},n&&n.on(o0,(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(d=>{this.targetQueue.push({method:a,args:l,resolve:d})})})}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 l0(t,e){const n=t,s=Zf(),o=t0(),r=n0&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(s0,t,e);else{const i=r?new a0(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 kl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function yt(t){if(Ae(t)){const e={};for(let n=0;n{if(n){const s=n.split(km);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Me(t){let e="";if(Qe(t))e=t;else if(Ae(t))for(let n=0;nDo(n,e))}const H=t=>Qe(t)?t:t==null?"":Ae(t)||Ze(t)&&(t.toString===Gh||!De(t.toString))?JSON.stringify(t,Hh,2):String(t),Hh=(t,e)=>e&&e.__v_isRef?Hh(t,e.value):ys(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:$s(e)?{[`Set(${e.size})`]:[...e.values()]}:Ze(e)&&!Ae(e)&&!Kh(e)?String(e):e,Je={},bs=[],Pt=()=>{},Mm=()=>!1,Om=/^on[^a-z]/,Ur=t=>Om.test(t),Cl=t=>t.startsWith("onUpdate:"),it=Object.assign,Al=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Rm=Object.prototype.hasOwnProperty,$e=(t,e)=>Rm.call(t,e),Ae=Array.isArray,ys=t=>zs(t)==="[object Map]",$s=t=>zs(t)==="[object Set]",Dc=t=>zs(t)==="[object Date]",Nm=t=>zs(t)==="[object RegExp]",De=t=>typeof t=="function",Qe=t=>typeof t=="string",mo=t=>typeof t=="symbol",Ze=t=>t!==null&&typeof t=="object",Vh=t=>Ze(t)&&De(t.then)&&De(t.catch),Gh=Object.prototype.toString,zs=t=>Gh.call(t),Dm=t=>zs(t).slice(8,-1),Kh=t=>zs(t)==="[object Object]",Sl=t=>Qe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,rr=kl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Lm=/-(\w)/g,Zt=qr(t=>t.replace(Lm,(e,n)=>n?n.toUpperCase():"")),Im=/\B([A-Z])/g,ns=qr(t=>t.replace(Im,"-$1").toLowerCase()),Hr=qr(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ei=qr(t=>t?`on${Hr(t)}`:""),_o=(t,e)=>!Object.is(t,e),vs=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},yr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Pm=t=>{const e=Qe(t)?Number(t):NaN;return isNaN(e)?t:e};let Lc;const Fm=()=>Lc||(Lc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Nt;class Bm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nt,!e&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Nt;try{return Nt=this,e()}finally{Nt=n}}}on(){Nt=this}off(){Nt=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},Wh=t=>(t.w&Rn)>0,Zh=t=>(t.n&Rn)>0,jm=({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(d)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":Ae(t)?Sl(n)&&a.push(i.get("length")):(a.push(i.get(Wn)),ys(t)&&a.push(i.get(ja)));break;case"delete":Ae(t)||(a.push(i.get(Wn)),ys(t)&&a.push(i.get(ja)));break;case"set":ys(t)&&a.push(i.get(Wn));break}if(a.length===1)a[0]&&Ua(a[0]);else{const l=[];for(const d of a)d&&l.push(...d);Ua(Tl(l))}}function Ua(t,e){const n=Ae(t)?t:[...t];for(const s of n)s.computed&&Pc(s);for(const s of n)s.computed||Pc(s)}function Pc(t,e){(t!==Lt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const qm=kl("__proto__,__v_isRef,__isVue"),Qh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(mo)),Hm=Ol(),Vm=Ol(!1,!0),Gm=Ol(!0),Fc=Km();function Km(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Ue(this);for(let r=0,i=this.length;r{t[e]=function(...n){js();const s=Ue(this)[e].apply(this,n);return Us(),s}}),t}function Wm(t){const e=Ue(this);return _t(e,"has",t),e.hasOwnProperty(t)}function Ol(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?d_:sf:e?nf:tf).get(s))return s;const i=Ae(s);if(!t){if(i&&$e(Fc,o))return Reflect.get(Fc,o,r);if(o==="hasOwnProperty")return Wm}const a=Reflect.get(s,o,r);return(mo(o)?Qh.has(o):qm(o))||(t||_t(s,"get",o),e)?a:ut(a)?i&&Sl(o)?a:a.value:Ze(a)?t?of(a):qs(a):a}}const Zm=Xh(),Ym=Xh(!0);function Xh(t=!1){return function(n,s,o,r){let i=n[s];if(Cs(i)&&ut(i)&&!ut(o))return!1;if(!t&&(!vr(o)&&!Cs(o)&&(i=Ue(i),o=Ue(o)),!Ae(n)&&ut(i)&&!ut(o)))return i.value=o,!0;const a=Ae(n)&&Sl(s)?Number(s)t,Vr=t=>Reflect.getPrototypeOf(t);function jo(t,e,n=!1,s=!1){t=t.__v_raw;const o=Ue(t),r=Ue(e);n||(e!==r&&_t(o,"get",e),_t(o,"get",r));const{has:i}=Vr(o),a=s?Rl:n?Ll:bo;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 Uo(t,e=!1){const n=this.__v_raw,s=Ue(n),o=Ue(t);return e||(t!==o&&_t(s,"has",t),_t(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function qo(t,e=!1){return t=t.__v_raw,!e&&_t(Ue(t),"iterate",Wn),Reflect.get(t,"size",t)}function Bc(t){t=Ue(t);const e=Ue(this);return Vr(e).has.call(e,t)||(e.add(t),an(e,"add",t,t)),this}function $c(t,e){e=Ue(e);const n=Ue(this),{has:s,get:o}=Vr(n);let r=s.call(n,t);r||(t=Ue(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?_o(e,i)&&an(n,"set",t,e):an(n,"add",t,e),this}function zc(t){const e=Ue(this),{has:n,get:s}=Vr(e);let o=n.call(e,t);o||(t=Ue(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&an(e,"delete",t,void 0),r}function jc(){const t=Ue(this),e=t.size!==0,n=t.clear();return e&&an(t,"clear",void 0,void 0),n}function Ho(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Ue(i),l=e?Rl:t?Ll:bo;return!t&&_t(a,"iterate",Wn),i.forEach((d,u)=>s.call(o,l(d),l(u),r))}}function Vo(t,e,n){return function(...s){const o=this.__v_raw,r=Ue(o),i=ys(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,d=o[t](...s),u=n?Rl:e?Ll:bo;return!e&&_t(r,"iterate",l?ja:Wn),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function fn(t){return function(...e){return t==="delete"?!1:this}}function n_(){const t={get(r){return jo(this,r)},get size(){return qo(this)},has:Uo,add:Bc,set:$c,delete:zc,clear:jc,forEach:Ho(!1,!1)},e={get(r){return jo(this,r,!1,!0)},get size(){return qo(this)},has:Uo,add:Bc,set:$c,delete:zc,clear:jc,forEach:Ho(!1,!0)},n={get(r){return jo(this,r,!0)},get size(){return qo(this,!0)},has(r){return Uo.call(this,r,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:Ho(!0,!1)},s={get(r){return jo(this,r,!0,!0)},get size(){return qo(this,!0)},has(r){return Uo.call(this,r,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:Ho(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Vo(r,!1,!1),n[r]=Vo(r,!0,!1),e[r]=Vo(r,!1,!0),s[r]=Vo(r,!0,!0)}),[t,n,e,s]}const[s_,o_,r_,i_]=n_();function Nl(t,e){const n=e?t?i_:r_:t?o_:s_;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get($e(n,o)&&o in s?n:s,o,r)}const a_={get:Nl(!1,!1)},l_={get:Nl(!1,!0)},c_={get:Nl(!0,!1)},tf=new WeakMap,nf=new WeakMap,sf=new WeakMap,d_=new WeakMap;function u_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function h_(t){return t.__v_skip||!Object.isExtensible(t)?0:u_(Dm(t))}function qs(t){return Cs(t)?t:Dl(t,!1,ef,a_,tf)}function f_(t){return Dl(t,!1,t_,l_,nf)}function of(t){return Dl(t,!0,e_,c_,sf)}function Dl(t,e,n,s,o){if(!Ze(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=h_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ws(t){return Cs(t)?ws(t.__v_raw):!!(t&&t.__v_isReactive)}function Cs(t){return!!(t&&t.__v_isReadonly)}function vr(t){return!!(t&&t.__v_isShallow)}function rf(t){return ws(t)||Cs(t)}function Ue(t){const e=t&&t.__v_raw;return e?Ue(e):t}function af(t){return br(t,"__v_skip",!0),t}const bo=t=>Ze(t)?qs(t):t,Ll=t=>Ze(t)?of(t):t;function lf(t){Mn&&Lt&&(t=Ue(t),Jh(t.dep||(t.dep=Tl())))}function cf(t,e){t=Ue(t);const n=t.dep;n&&Ua(n)}function ut(t){return!!(t&&t.__v_isRef===!0)}function p_(t){return df(t,!1)}function g_(t){return df(t,!0)}function df(t,e){return ut(t)?t:new m_(t,e)}class m_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Ue(e),this._value=n?e:bo(e)}get value(){return lf(this),this._value}set value(e){const n=this.__v_isShallow||vr(e)||Cs(e);e=n?e:Ue(e),_o(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:bo(e),cf(this))}}function pt(t){return ut(t)?t.value:t}const __={get:(t,e,n)=>pt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ut(o)&&!ut(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function uf(t){return ws(t)?t:new Proxy(t,__)}var hf;class b_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[hf]=!1,this._dirty=!0,this.effect=new Ml(e,()=>{this._dirty||(this._dirty=!0,cf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Ue(this);return lf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}hf="__v_isReadonly";function y_(t,e,n=!1){let s,o;const r=De(t);return r?(s=t,o=Pt):(s=t.get,o=t.set),new b_(s,o,r||!o,n)}function On(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Gr(r,e,n)}return o}function At(t,e,n,s){if(De(t)){const r=On(t,e,n,s);return r&&Vh(r)&&r.catch(i=>{Gr(i,e,n)}),r}const o=[];for(let r=0;r>>1;vo(dt[s])jt&&dt.splice(e,1)}function k_(t){Ae(t)?xs.push(...t):(!nn||!nn.includes(t,t.allowRecurse?jn+1:jn))&&xs.push(t),pf()}function Uc(t,e=yo?jt+1:0){for(;evo(n)-vo(s)),jn=0;jnt.id==null?1/0:t.id,E_=(t,e)=>{const n=vo(t)-vo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function mf(t){qa=!1,yo=!0,dt.sort(E_);const e=Pt;try{for(jt=0;jtQe(p)?p.trim():p)),h&&(o=n.map(yr))}let a,l=s[a=Ei(e)]||s[a=Ei(Zt(e))];!l&&r&&(l=s[a=Ei(ns(e))]),l&&At(l,t,6,o);const d=s[a+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,At(d,t,6,o)}}function _f(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(!De(t)){const l=d=>{const u=_f(d,e,!0);u&&(a=!0,it(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Ze(t)&&s.set(t,null),null):(Ae(r)?r.forEach(l=>i[l]=null):it(i,r),Ze(t)&&s.set(t,i),i)}function Kr(t,e){return!t||!Ur(e)?!1:(e=e.slice(2).replace(/Once$/,""),$e(t,e[0].toLowerCase()+e.slice(1))||$e(t,ns(e))||$e(t,e))}let lt=null,Wr=null;function wr(t){const e=lt;return lt=t,Wr=t&&t.type.__scopeId||null,e}function ss(t){Wr=t}function os(){Wr=null}function Ne(t,e=lt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Qc(-1);const r=wr(e);let i;try{i=t(...o)}finally{wr(r),s._d&&Qc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ci(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:d,render:u,renderCache:h,data:f,setupState:p,ctx:m,inheritAttrs:_}=t;let g,b;const y=wr(t);try{if(n.shapeFlag&4){const S=o||s;g=zt(u.call(S,S,h,r,p,f,m)),b=l}else{const S=e;g=zt(S.length>1?S(r,{attrs:l,slots:a,emit:d}):S(r,null)),b=e.props?l:A_(l)}}catch(S){ao.length=0,Gr(S,t,1),g=ue(St)}let x=g;if(b&&_!==!1){const S=Object.keys(b),{shapeFlag:R}=x;S.length&&R&7&&(i&&S.some(Cl)&&(b=S_(b,i)),x=ln(x,b))}return n.dirs&&(x=ln(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),g=x,wr(y),g}const A_=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ur(n))&&((e||(e={}))[n]=t[n]);return e},S_=(t,e)=>{const n={};for(const s in t)(!Cl(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function T_(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?qc(s,i,d):!!i;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;function O_(t,e){e&&e.pendingBranch?Ae(t)?e.effects.push(...t):e.effects.push(t):k_(t)}function ir(t,e){if(Xe){let n=Xe.provides;const s=Xe.parent&&Xe.parent.provides;s===n&&(n=Xe.provides=Object.create(s)),n[t]=e}}function on(t,e,n=!1){const s=Xe||lt;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&&De(e)?e.call(s.proxy):e}}const Go={};function Zn(t,e,n){return yf(t,e,n)}function yf(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Je){const a=zm()===(Xe==null?void 0:Xe.scope)?Xe:null;let l,d=!1,u=!1;if(ut(t)?(l=()=>t.value,d=vr(t)):ws(t)?(l=()=>t,s=!0):Ae(t)?(u=!0,d=t.some(x=>ws(x)||vr(x)),l=()=>t.map(x=>{if(ut(x))return x.value;if(ws(x))return Gn(x);if(De(x))return On(x,a,2)})):De(t)?e?l=()=>On(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),At(t,a,3,[f])}:l=Pt,e&&s){const x=l;l=()=>Gn(x())}let h,f=x=>{h=b.onStop=()=>{On(x,a,4)}},p;if(Eo)if(f=Pt,e?n&&At(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=w1();p=x.__watcherHandles||(x.__watcherHandles=[])}else return Pt;let m=u?new Array(t.length).fill(Go):Go;const _=()=>{if(b.active)if(e){const x=b.run();(s||d||(u?x.some((S,R)=>_o(S,m[R])):_o(x,m)))&&(h&&h(),At(e,a,3,[x,m===Go?void 0:u&&m[0]===Go?[]:m,f]),m=x)}else b.run()};_.allowRecurse=!!e;let g;o==="sync"?g=_:o==="post"?g=()=>at(_,a&&a.suspense):(_.pre=!0,a&&(_.id=a.uid),g=()=>Pl(_));const b=new Ml(l,g);e?n?_():m=b.run():o==="post"?at(b.run.bind(b),a&&a.suspense):b.run();const y=()=>{b.stop(),a&&a.scope&&Al(a.scope.effects,b)};return p&&p.push(y),y}function R_(t,e,n){const s=this.proxy,o=Qe(t)?t.includes(".")?vf(s,t):()=>s[t]:t.bind(s,s);let r;De(e)?r=e:(r=e.handler,n=e);const i=Xe;Ss(this);const a=yf(o,r.bind(s),n);return i?Ss(i):Yn(),a}function vf(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Gn(n,e)});else if(Kh(t))for(const n in t)Gn(t[n],e);return t}function wf(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jr(()=>{t.isMounted=!0}),$l(()=>{t.isUnmounting=!0}),t}const xt=[Function,Array],N_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xt,onEnter:xt,onAfterEnter:xt,onEnterCancelled:xt,onBeforeLeave:xt,onLeave:xt,onAfterLeave:xt,onLeaveCancelled:xt,onBeforeAppear:xt,onAppear:xt,onAfterAppear:xt,onAppearCancelled:xt},setup(t,{slots:e}){const n=Hl(),s=wf();let o;return()=>{const r=e.default&&Fl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const _ of r)if(_.type!==St){i=_;break}}const a=Ue(t),{mode:l}=a;if(s.isLeaving)return Ai(i);const d=Hc(i);if(!d)return Ai(i);const u=wo(d,a,s,n);As(d,u);const h=n.subTree,f=h&&Hc(h);let p=!1;const{getTransitionKey:m}=d.type;if(m){const _=m();o===void 0?o=_:_!==o&&(o=_,p=!0)}if(f&&f.type!==St&&(!Cn(d,f)||p)){const _=wo(f,a,s,n);if(As(f,_),l==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Ai(i);l==="in-out"&&d.type!==St&&(_.delayLeave=(g,b,y)=>{const x=kf(s,f);x[String(f.key)]=f,g._leaveCb=()=>{b(),g._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},xf=N_;function kf(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 wo(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:_,onAppear:g,onAfterAppear:b,onAppearCancelled:y}=e,x=String(t.key),S=kf(n,t),R=(v,E)=>{v&&At(v,s,9,E)},O=(v,E)=>{const M=E[1];R(v,E),Ae(v)?v.every(L=>L.length<=1)&&M():v.length<=1&&M()},D={mode:r,persisted:i,beforeEnter(v){let E=a;if(!n.isMounted)if(o)E=_||a;else return;v._leaveCb&&v._leaveCb(!0);const M=S[x];M&&Cn(t,M)&&M.el._leaveCb&&M.el._leaveCb(),R(E,[v])},enter(v){let E=l,M=d,L=u;if(!n.isMounted)if(o)E=g||l,M=b||d,L=y||u;else return;let B=!1;const J=v._enterCb=I=>{B||(B=!0,I?R(L,[v]):R(M,[v]),D.delayedLeave&&D.delayedLeave(),v._enterCb=void 0)};E?O(E,[v,J]):J()},leave(v,E){const M=String(t.key);if(v._enterCb&&v._enterCb(!0),n.isUnmounting)return E();R(h,[v]);let L=!1;const B=v._leaveCb=J=>{L||(L=!0,E(),J?R(m,[v]):R(p,[v]),v._leaveCb=void 0,S[M]===t&&delete S[M])};S[M]=t,f?O(f,[v,B]):B()},clone(v){return wo(v,e,n,s)}};return D}function Ai(t){if(Zr(t))return t=ln(t),t.children=null,t}function Hc(t){return Zr(t)?t.children?t.children[0]:void 0:t}function As(t,e){t.shapeFlag&6&&t.component?As(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 Fl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,Zr=t=>t.type.__isKeepAlive,D_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Hl(),s=n.ctx;if(!s.renderer)return()=>{const y=e.default&&e.default();return y&&y.length===1?y[0]:y};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(y,x,S,R,O)=>{const D=y.component;d(y,x,S,0,a),l(D.vnode,y,x,S,D,a,R,y.slotScopeIds,O),at(()=>{D.isDeactivated=!1,D.a&&vs(D.a);const v=y.props&&y.props.onVnodeMounted;v&&kt(v,D.parent,y)},a)},s.deactivate=y=>{const x=y.component;d(y,f,null,1,a),at(()=>{x.da&&vs(x.da);const S=y.props&&y.props.onVnodeUnmounted;S&&kt(S,x.parent,y),x.isDeactivated=!0},a)};function p(y){Si(y),u(y,n,a,!0)}function m(y){o.forEach((x,S)=>{const R=Za(x.type);R&&(!y||!y(R))&&_(S)})}function _(y){const x=o.get(y);!i||!Cn(x,i)?p(x):i&&Si(i),o.delete(y),r.delete(y)}Zn(()=>[t.include,t.exclude],([y,x])=>{y&&m(S=>oo(y,S)),x&&m(S=>!oo(x,S))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&o.set(g,Ti(n.subTree))};return Jr(b),Bl(b),$l(()=>{o.forEach(y=>{const{subTree:x,suspense:S}=n,R=Ti(x);if(y.type===R.type&&y.key===R.key){Si(R);const O=R.component.da;O&&at(O,S);return}p(y)})}),()=>{if(g=null,!e.default)return null;const y=e.default(),x=y[0];if(y.length>1)return i=null,y;if(!ko(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let S=Ti(x);const R=S.type,O=Za(ks(S)?S.type.__asyncResolved||{}:R),{include:D,exclude:v,max:E}=t;if(D&&(!O||!oo(D,O))||v&&O&&oo(v,O))return i=S,x;const M=S.key==null?R:S.key,L=o.get(M);return S.el&&(S=ln(S),x.shapeFlag&128&&(x.ssContent=S)),g=M,L?(S.el=L.el,S.component=L.component,S.transition&&As(S,S.transition),S.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),E&&r.size>parseInt(E,10)&&_(r.values().next().value)),S.shapeFlag|=256,i=S,bf(x.type)?x:S}}},L_=D_;function oo(t,e){return Ae(t)?t.some(n=>oo(n,e)):Qe(t)?t.split(",").includes(e):Nm(t)?t.test(e):!1}function I_(t,e){Cf(t,"a",e)}function P_(t,e){Cf(t,"da",e)}function Cf(t,e,n=Xe){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Yr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Zr(o.parent.vnode)&&F_(s,e,n,o),o=o.parent}}function F_(t,e,n,s){const o=Yr(e,t,s,!0);Af(()=>{Al(s[e],o)},n)}function Si(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Ti(t){return t.shapeFlag&128?t.ssContent:t}function Yr(t,e,n=Xe,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;js(),Ss(n);const a=At(e,n,t,i);return Yn(),Us(),a});return s?o.unshift(r):o.push(r),r}}const un=t=>(e,n=Xe)=>(!Eo||t==="sp")&&Yr(t,(...s)=>e(...s),n),B_=un("bm"),Jr=un("m"),$_=un("bu"),Bl=un("u"),$l=un("bum"),Af=un("um"),z_=un("sp"),j_=un("rtg"),U_=un("rtc");function q_(t,e=Xe){Yr("ec",t,e)}function ie(t,e){const n=lt;if(n===null)return t;const s=ei(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;ako(e)?!(e.type===St||e.type===Re&&!Mf(e.children)):!0)?t:null}const Ha=t=>t?zf(t)?ei(t)||t.proxy:Ha(t.parent):null,io=it(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=>Ha(t.parent),$root:t=>Ha(t.root),$emit:t=>t.emit,$options:t=>jl(t),$forceUpdate:t=>t.f||(t.f=()=>Pl(t.update)),$nextTick:t=>t.n||(t.n=be.bind(t.proxy)),$watch:t=>R_.bind(t)}),Mi=(t,e)=>t!==Je&&!t.__isScriptSetup&&$e(t,e),V_={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let d;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(Mi(s,e))return i[e]=1,s[e];if(o!==Je&&$e(o,e))return i[e]=2,o[e];if((d=t.propsOptions[0])&&$e(d,e))return i[e]=3,r[e];if(n!==Je&&$e(n,e))return i[e]=4,n[e];Va&&(i[e]=0)}}const u=io[e];let h,f;if(u)return e==="$attrs"&&_t(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Je&&$e(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,$e(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Mi(o,e)?(o[e]=n,!0):s!==Je&&$e(s,e)?(s[e]=n,!0):$e(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!==Je&&$e(t,i)||Mi(e,i)||(a=r[0])&&$e(a,i)||$e(s,i)||$e(io,i)||$e(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:$e(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Va=!0;function G_(t){const e=jl(t),n=t.proxy,s=t.ctx;Va=!1,e.beforeCreate&&Gc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:p,updated:m,activated:_,deactivated:g,beforeDestroy:b,beforeUnmount:y,destroyed:x,unmounted:S,render:R,renderTracked:O,renderTriggered:D,errorCaptured:v,serverPrefetch:E,expose:M,inheritAttrs:L,components:B,directives:J,filters:I}=e;if(d&&K_(d,s,null,t.appContext.config.unwrapInjectedRef),i)for(const T in i){const q=i[T];De(q)&&(s[T]=q.bind(n))}if(o){const T=o.call(n,n);Ze(T)&&(t.data=qs(T))}if(Va=!0,r)for(const T in r){const q=r[T],G=De(q)?q.bind(n,n):De(q.get)?q.get.bind(n,n):Pt,we=!De(q)&&De(q.set)?q.set.bind(n):Pt,_e=Ct({get:G,set:we});Object.defineProperty(s,T,{enumerable:!0,configurable:!0,get:()=>_e.value,set:ee=>_e.value=ee})}if(a)for(const T in a)Of(a[T],s,n,T);if(l){const T=De(l)?l.call(n):l;Reflect.ownKeys(T).forEach(q=>{ir(q,T[q])})}u&&Gc(u,t,"c");function Z(T,q){Ae(q)?q.forEach(G=>T(G.bind(n))):q&&T(q.bind(n))}if(Z(B_,h),Z(Jr,f),Z($_,p),Z(Bl,m),Z(I_,_),Z(P_,g),Z(q_,v),Z(U_,O),Z(j_,D),Z($l,y),Z(Af,S),Z(z_,E),Ae(M))if(M.length){const T=t.exposed||(t.exposed={});M.forEach(q=>{Object.defineProperty(T,q,{get:()=>n[q],set:G=>n[q]=G})})}else t.exposed||(t.exposed={});R&&t.render===Pt&&(t.render=R),L!=null&&(t.inheritAttrs=L),B&&(t.components=B),J&&(t.directives=J)}function K_(t,e,n=Pt,s=!1){Ae(t)&&(t=Ga(t));for(const o in t){const r=t[o];let i;Ze(r)?"default"in r?i=on(r.from||o,r.default,!0):i=on(r.from||o):i=on(r),ut(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Gc(t,e,n){At(Ae(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Of(t,e,n,s){const o=s.includes(".")?vf(n,s):()=>n[s];if(Qe(t)){const r=e[t];De(r)&&Zn(o,r)}else if(De(t))Zn(o,t.bind(n));else if(Ze(t))if(Ae(t))t.forEach(r=>Of(r,e,n,s));else{const r=De(t.handler)?t.handler.bind(n):e[t.handler];De(r)&&Zn(o,r,t)}}function jl(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(d=>kr(l,d,i,!0)),kr(l,e,i)),Ze(e)&&r.set(e,l),l}function kr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&kr(t,r,n,!0),o&&o.forEach(i=>kr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=W_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const W_={data:Kc,props:$n,emits:$n,methods:$n,computed:$n,beforeCreate:ft,created:ft,beforeMount:ft,mounted:ft,beforeUpdate:ft,updated:ft,beforeDestroy:ft,beforeUnmount:ft,destroyed:ft,unmounted:ft,activated:ft,deactivated:ft,errorCaptured:ft,serverPrefetch:ft,components:$n,directives:$n,watch:Y_,provide:Kc,inject:Z_};function Kc(t,e){return e?t?function(){return it(De(t)?t.call(this,this):t,De(e)?e.call(this,this):e)}:e:t}function Z_(t,e){return $n(Ga(t),Ga(e))}function Ga(t){if(Ae(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,p]=Nf(h,e,!0);it(i,f),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return Ze(t)&&s.set(t,bs),bs;if(Ae(r))for(let u=0;u-1,p[1]=_<0||m<_,(m>-1||$e(p,"default"))&&a.push(h)}}}const d=[i,a];return Ze(t)&&s.set(t,d),d}function Wc(t){return t[0]!=="$"}function Zc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Yc(t,e){return Zc(t)===Zc(e)}function Jc(t,e){return Ae(e)?e.findIndex(n=>Yc(n,t)):De(e)&&Yc(e,t)?0:-1}const Df=t=>t[0]==="_"||t==="$stable",Ul=t=>Ae(t)?t.map(zt):[zt(t)],X_=(t,e,n)=>{if(e._n)return e;const s=Ne((...o)=>Ul(e(...o)),n);return s._c=!1,s},Lf=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Df(o))continue;const r=t[o];if(De(r))e[o]=X_(o,r,s);else if(r!=null){const i=Ul(r);e[o]=()=>i}}},If=(t,e)=>{const n=Ul(e);t.slots.default=()=>n},e1=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Ue(e),br(e,"_",n)):Lf(e,t.slots={})}else t.slots={},e&&If(t,e);br(t.slots,Xr,1)},t1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Je;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(it(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Lf(e,o)),i=e}else e&&(If(t,e),i={default:1});if(r)for(const a in o)!Df(a)&&!(a in i)&&delete o[a]};function Pf(){return{app:null,config:{isNativeTag:Mm,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 n1=0;function s1(t,e){return function(s,o=null){De(s)||(s=Object.assign({},s)),o!=null&&!Ze(o)&&(o=null);const r=Pf(),i=new Set;let a=!1;const l=r.app={_uid:n1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:x1,get config(){return r.config},set config(d){},use(d,...u){return i.has(d)||(d&&De(d.install)?(i.add(d),d.install(l,...u)):De(d)&&(i.add(d),d(l,...u))),l},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),l},component(d,u){return u?(r.components[d]=u,l):r.components[d]},directive(d,u){return u?(r.directives[d]=u,l):r.directives[d]},mount(d,u,h){if(!a){const f=ue(s,o);return f.appContext=r,u&&e?e(f,d):t(f,d,h),a=!0,l._container=d,d.__vue_app__=l,ei(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(d,u){return r.provides[d]=u,l}};return l}}function Wa(t,e,n,s,o=!1){if(Ae(t)){t.forEach((f,p)=>Wa(f,e&&(Ae(e)?e[p]:e),n,s,o));return}if(ks(s)&&!o)return;const r=s.shapeFlag&4?ei(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,d=e&&e.r,u=a.refs===Je?a.refs={}:a.refs,h=a.setupState;if(d!=null&&d!==l&&(Qe(d)?(u[d]=null,$e(h,d)&&(h[d]=null)):ut(d)&&(d.value=null)),De(l))On(l,a,12,[i,u]);else{const f=Qe(l),p=ut(l);if(f||p){const m=()=>{if(t.f){const _=f?$e(h,l)?h[l]:u[l]:l.value;o?Ae(_)&&Al(_,r):Ae(_)?_.includes(r)||_.push(r):f?(u[l]=[r],$e(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,$e(h,l)&&(h[l]=i)):p&&(l.value=i,t.k&&(u[t.k]=i))};i?(m.id=-1,at(m,n)):m()}}}const at=O_;function o1(t){return r1(t)}function r1(t,e){const n=Fm();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:p=Pt,insertStaticContent:m}=t,_=(w,A,F,$=null,z=null,ne=null,ae=!1,j=null,oe=!!A.dynamicChildren)=>{if(w===A)return;w&&!Cn(w,A)&&($=V(w),ee(w,z,ne,!0),w=null),A.patchFlag===-2&&(oe=!1,A.dynamicChildren=null);const{type:U,ref:Y,shapeFlag:le}=A;switch(U){case Qr:g(w,A,F,$);break;case St:b(w,A,F,$);break;case ar:w==null&&y(A,F,$,ae);break;case Re:B(w,A,F,$,z,ne,ae,j,oe);break;default:le&1?R(w,A,F,$,z,ne,ae,j,oe):le&6?J(w,A,F,$,z,ne,ae,j,oe):(le&64||le&128)&&U.process(w,A,F,$,z,ne,ae,j,oe,X)}Y!=null&&z&&Wa(Y,w&&w.ref,ne,A||w,!A)},g=(w,A,F,$)=>{if(w==null)s(A.el=a(A.children),F,$);else{const z=A.el=w.el;A.children!==w.children&&d(z,A.children)}},b=(w,A,F,$)=>{w==null?s(A.el=l(A.children||""),F,$):A.el=w.el},y=(w,A,F,$)=>{[w.el,w.anchor]=m(w.children,A,F,$,w.el,w.anchor)},x=({el:w,anchor:A},F,$)=>{let z;for(;w&&w!==A;)z=f(w),s(w,F,$),w=z;s(A,F,$)},S=({el:w,anchor:A})=>{let F;for(;w&&w!==A;)F=f(w),o(w),w=F;o(A)},R=(w,A,F,$,z,ne,ae,j,oe)=>{ae=ae||A.type==="svg",w==null?O(A,F,$,z,ne,ae,j,oe):E(w,A,z,ne,ae,j,oe)},O=(w,A,F,$,z,ne,ae,j)=>{let oe,U;const{type:Y,props:le,shapeFlag:pe,transition:fe,dirs:Ce}=w;if(oe=w.el=i(w.type,ne,le&&le.is,le),pe&8?u(oe,w.children):pe&16&&v(w.children,oe,null,$,z,ne&&Y!=="foreignObject",ae,j),Ce&&In(w,null,$,"created"),D(oe,w,w.scopeId,ae,$),le){for(const re in le)re!=="value"&&!rr(re)&&r(oe,re,null,le[re],ne,w.children,$,z,Q);"value"in le&&r(oe,"value",null,le.value),(U=le.onVnodeBeforeMount)&&kt(U,$,w)}Ce&&In(w,null,$,"beforeMount");const W=(!z||z&&!z.pendingBranch)&&fe&&!fe.persisted;W&&fe.beforeEnter(oe),s(oe,A,F),((U=le&&le.onVnodeMounted)||W||Ce)&&at(()=>{U&&kt(U,$,w),W&&fe.enter(oe),Ce&&In(w,null,$,"mounted")},z)},D=(w,A,F,$,z)=>{if(F&&p(w,F),$)for(let ne=0;ne<$.length;ne++)p(w,$[ne]);if(z){let ne=z.subTree;if(A===ne){const ae=z.vnode;D(w,ae,ae.scopeId,ae.slotScopeIds,z.parent)}}},v=(w,A,F,$,z,ne,ae,j,oe=0)=>{for(let U=oe;U{const j=A.el=w.el;let{patchFlag:oe,dynamicChildren:U,dirs:Y}=A;oe|=w.patchFlag&16;const le=w.props||Je,pe=A.props||Je;let fe;F&&Pn(F,!1),(fe=pe.onVnodeBeforeUpdate)&&kt(fe,F,A,w),Y&&In(A,w,F,"beforeUpdate"),F&&Pn(F,!0);const Ce=z&&A.type!=="foreignObject";if(U?M(w.dynamicChildren,U,j,F,$,Ce,ne):ae||q(w,A,j,null,F,$,Ce,ne,!1),oe>0){if(oe&16)L(j,A,le,pe,F,$,z);else if(oe&2&&le.class!==pe.class&&r(j,"class",null,pe.class,z),oe&4&&r(j,"style",le.style,pe.style,z),oe&8){const W=A.dynamicProps;for(let re=0;re{fe&&kt(fe,F,A,w),Y&&In(A,w,F,"updated")},$)},M=(w,A,F,$,z,ne,ae)=>{for(let j=0;j{if(F!==$){if(F!==Je)for(const j in F)!rr(j)&&!(j in $)&&r(w,j,F[j],null,ae,A.children,z,ne,Q);for(const j in $){if(rr(j))continue;const oe=$[j],U=F[j];oe!==U&&j!=="value"&&r(w,j,U,oe,ae,A.children,z,ne,Q)}"value"in $&&r(w,"value",F.value,$.value)}},B=(w,A,F,$,z,ne,ae,j,oe)=>{const U=A.el=w?w.el:a(""),Y=A.anchor=w?w.anchor:a("");let{patchFlag:le,dynamicChildren:pe,slotScopeIds:fe}=A;fe&&(j=j?j.concat(fe):fe),w==null?(s(U,F,$),s(Y,F,$),v(A.children,F,Y,z,ne,ae,j,oe)):le>0&&le&64&&pe&&w.dynamicChildren?(M(w.dynamicChildren,pe,F,z,ne,ae,j),(A.key!=null||z&&A===z.subTree)&&Ff(w,A,!0)):q(w,A,F,Y,z,ne,ae,j,oe)},J=(w,A,F,$,z,ne,ae,j,oe)=>{A.slotScopeIds=j,w==null?A.shapeFlag&512?z.ctx.activate(A,F,$,ae,oe):I(A,F,$,z,ne,ae,oe):ce(w,A,oe)},I=(w,A,F,$,z,ne,ae)=>{const j=w.component=p1(w,$,z);if(Zr(w)&&(j.ctx.renderer=X),g1(j),j.asyncDep){if(z&&z.registerDep(j,Z),!w.el){const oe=j.subTree=ue(St);b(null,oe,A,F)}return}Z(j,w,A,F,z,ne,ae)},ce=(w,A,F)=>{const $=A.component=w.component;if(T_(w,A,F))if($.asyncDep&&!$.asyncResolved){T($,A,F);return}else $.next=A,x_($.update),$.update();else A.el=w.el,$.vnode=A},Z=(w,A,F,$,z,ne,ae)=>{const j=()=>{if(w.isMounted){let{next:Y,bu:le,u:pe,parent:fe,vnode:Ce}=w,W=Y,re;Pn(w,!1),Y?(Y.el=Ce.el,T(w,Y,ae)):Y=Ce,le&&vs(le),(re=Y.props&&Y.props.onVnodeBeforeUpdate)&&kt(re,fe,Y,Ce),Pn(w,!0);const me=Ci(w),Te=w.subTree;w.subTree=me,_(Te,me,h(Te.el),V(Te),w,z,ne),Y.el=me.el,W===null&&M_(w,me.el),pe&&at(pe,z),(re=Y.props&&Y.props.onVnodeUpdated)&&at(()=>kt(re,fe,Y,Ce),z)}else{let Y;const{el:le,props:pe}=A,{bm:fe,m:Ce,parent:W}=w,re=ks(A);if(Pn(w,!1),fe&&vs(fe),!re&&(Y=pe&&pe.onVnodeBeforeMount)&&kt(Y,W,A),Pn(w,!0),le&&he){const me=()=>{w.subTree=Ci(w),he(le,w.subTree,w,z,null)};re?A.type.__asyncLoader().then(()=>!w.isUnmounted&&me()):me()}else{const me=w.subTree=Ci(w);_(null,me,F,$,w,z,ne),A.el=me.el}if(Ce&&at(Ce,z),!re&&(Y=pe&&pe.onVnodeMounted)){const me=A;at(()=>kt(Y,W,me),z)}(A.shapeFlag&256||W&&ks(W.vnode)&&W.vnode.shapeFlag&256)&&w.a&&at(w.a,z),w.isMounted=!0,A=F=$=null}},oe=w.effect=new Ml(j,()=>Pl(U),w.scope),U=w.update=()=>oe.run();U.id=w.uid,Pn(w,!0),U()},T=(w,A,F)=>{A.component=w;const $=w.vnode.props;w.vnode=A,w.next=null,Q_(w,A.props,$,F),t1(w,A.children,F),js(),Uc(),Us()},q=(w,A,F,$,z,ne,ae,j,oe=!1)=>{const U=w&&w.children,Y=w?w.shapeFlag:0,le=A.children,{patchFlag:pe,shapeFlag:fe}=A;if(pe>0){if(pe&128){we(U,le,F,$,z,ne,ae,j,oe);return}else if(pe&256){G(U,le,F,$,z,ne,ae,j,oe);return}}fe&8?(Y&16&&Q(U,z,ne),le!==U&&u(F,le)):Y&16?fe&16?we(U,le,F,$,z,ne,ae,j,oe):Q(U,z,ne,!0):(Y&8&&u(F,""),fe&16&&v(le,F,$,z,ne,ae,j,oe))},G=(w,A,F,$,z,ne,ae,j,oe)=>{w=w||bs,A=A||bs;const U=w.length,Y=A.length,le=Math.min(U,Y);let pe;for(pe=0;peY?Q(w,z,ne,!0,!1,le):v(A,F,$,z,ne,ae,j,oe,le)},we=(w,A,F,$,z,ne,ae,j,oe)=>{let U=0;const Y=A.length;let le=w.length-1,pe=Y-1;for(;U<=le&&U<=pe;){const fe=w[U],Ce=A[U]=oe?yn(A[U]):zt(A[U]);if(Cn(fe,Ce))_(fe,Ce,F,null,z,ne,ae,j,oe);else break;U++}for(;U<=le&&U<=pe;){const fe=w[le],Ce=A[pe]=oe?yn(A[pe]):zt(A[pe]);if(Cn(fe,Ce))_(fe,Ce,F,null,z,ne,ae,j,oe);else break;le--,pe--}if(U>le){if(U<=pe){const fe=pe+1,Ce=fepe)for(;U<=le;)ee(w[U],z,ne,!0),U++;else{const fe=U,Ce=U,W=new Map;for(U=Ce;U<=pe;U++){const st=A[U]=oe?yn(A[U]):zt(A[U]);st.key!=null&&W.set(st.key,U)}let re,me=0;const Te=pe-Ce+1;let Be=!1,We=0;const Pe=new Array(Te);for(U=0;U=Te){ee(st,z,ne,!0);continue}let ct;if(st.key!=null)ct=W.get(st.key);else for(re=Ce;re<=pe;re++)if(Pe[re-Ce]===0&&Cn(st,A[re])){ct=re;break}ct===void 0?ee(st,z,ne,!0):(Pe[ct-Ce]=U+1,ct>=We?We=ct:Be=!0,_(st,A[ct],F,null,z,ne,ae,j,oe),me++)}const et=Be?i1(Pe):bs;for(re=et.length-1,U=Te-1;U>=0;U--){const st=Ce+U,ct=A[st],Nc=st+1{const{el:ne,type:ae,transition:j,children:oe,shapeFlag:U}=w;if(U&6){_e(w.component.subTree,A,F,$);return}if(U&128){w.suspense.move(A,F,$);return}if(U&64){ae.move(w,A,F,X);return}if(ae===Re){s(ne,A,F);for(let le=0;lej.enter(ne),z);else{const{leave:le,delayLeave:pe,afterLeave:fe}=j,Ce=()=>s(ne,A,F),W=()=>{le(ne,()=>{Ce(),fe&&fe()})};pe?pe(ne,Ce,W):W()}else s(ne,A,F)},ee=(w,A,F,$=!1,z=!1)=>{const{type:ne,props:ae,ref:j,children:oe,dynamicChildren:U,shapeFlag:Y,patchFlag:le,dirs:pe}=w;if(j!=null&&Wa(j,null,F,w,!0),Y&256){A.ctx.deactivate(w);return}const fe=Y&1&&pe,Ce=!ks(w);let W;if(Ce&&(W=ae&&ae.onVnodeBeforeUnmount)&&kt(W,A,w),Y&6)N(w.component,F,$);else{if(Y&128){w.suspense.unmount(F,$);return}fe&&In(w,null,A,"beforeUnmount"),Y&64?w.type.remove(w,A,F,z,X,$):U&&(ne!==Re||le>0&&le&64)?Q(U,A,F,!1,!0):(ne===Re&&le&384||!z&&Y&16)&&Q(oe,A,F),$&&ke(w)}(Ce&&(W=ae&&ae.onVnodeUnmounted)||fe)&&at(()=>{W&&kt(W,A,w),fe&&In(w,null,A,"unmounted")},F)},ke=w=>{const{type:A,el:F,anchor:$,transition:z}=w;if(A===Re){Se(F,$);return}if(A===ar){S(w);return}const ne=()=>{o(F),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(w.shapeFlag&1&&z&&!z.persisted){const{leave:ae,delayLeave:j}=z,oe=()=>ae(F,ne);j?j(w.el,ne,oe):oe()}else ne()},Se=(w,A)=>{let F;for(;w!==A;)F=f(w),o(w),w=F;o(A)},N=(w,A,F)=>{const{bum:$,scope:z,update:ne,subTree:ae,um:j}=w;$&&vs($),z.stop(),ne&&(ne.active=!1,ee(ae,w,A,F)),j&&at(j,A),at(()=>{w.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve())},Q=(w,A,F,$=!1,z=!1,ne=0)=>{for(let ae=ne;aew.shapeFlag&6?V(w.component.subTree):w.shapeFlag&128?w.suspense.next():f(w.anchor||w.el),te=(w,A,F)=>{w==null?A._vnode&&ee(A._vnode,null,null,!0):_(A._vnode||null,w,A,null,null,null,F),Uc(),gf(),A._vnode=w},X={p:_,um:ee,m:_e,r:ke,mt:I,mc:v,pc:q,pbc:M,n:V,o:t};let ge,he;return e&&([ge,he]=e(X)),{render:te,hydrate:ge,createApp:s1(te,ge)}}function Pn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Ff(t,e,n=!1){const s=t.children,o=e.children;if(Ae(s)&&Ae(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 a1=t=>t.__isTeleport,Re=Symbol(void 0),Qr=Symbol(void 0),St=Symbol(void 0),ar=Symbol(void 0),ao=[];let It=null;function k(t=!1){ao.push(It=t?null:[])}function l1(){ao.pop(),It=ao[ao.length-1]||null}let xo=1;function Qc(t){xo+=t}function Bf(t){return t.dynamicChildren=xo>0?It||bs:null,l1(),xo>0&&It&&It.push(t),t}function C(t,e,n,s,o,r){return Bf(c(t,e,n,s,o,r,!0))}function tt(t,e,n,s,o){return Bf(ue(t,e,n,s,o,!0))}function ko(t){return t?t.__v_isVNode===!0:!1}function Cn(t,e){return t.type===e.type&&t.key===e.key}const Xr="__vInternal",$f=({key:t})=>t??null,lr=({ref:t,ref_key:e,ref_for:n})=>t!=null?Qe(t)||ut(t)||De(t)?{i:lt,r:t,k:e,f:!!n}:t:null;function c(t,e=null,n=null,s=0,o=null,r=t===Re?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&$f(e),ref:e&&lr(e),scopeId:Wr,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:lt};return a?(ql(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Qe(n)?8:16),xo>0&&!i&&It&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&It.push(l),l}const ue=c1;function c1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===Sf)&&(t=St),ko(t)){const a=ln(t,e,!0);return n&&ql(a,n),xo>0&&!r&&It&&(a.shapeFlag&6?It[It.indexOf(t)]=a:It.push(a)),a.patchFlag|=-2,a}if(y1(t)&&(t=t.__vccOpts),e){e=d1(e);let{class:a,style:l}=e;a&&!Qe(a)&&(e.class=Me(a)),Ze(l)&&(rf(l)&&!Ae(l)&&(l=it({},l)),e.style=yt(l))}const i=Qe(t)?1:bf(t)?128:a1(t)?64:Ze(t)?4:De(t)?2:0;return c(t,e,n,s,o,i,r,!0)}function d1(t){return t?rf(t)||Xr in t?it({},t):t:null}function ln(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?u1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&$f(a),ref:e&&e.ref?n&&o?Ae(o)?o.concat(lr(e)):[o,lr(e)]:lr(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!==Re?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&&ln(t.ssContent),ssFallback:t.ssFallback&&ln(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function xe(t=" ",e=0){return ue(Qr,null,t,e)}function rs(t,e){const n=ue(ar,null,t);return n.staticCount=e,n}function P(t="",e=!1){return e?(k(),tt(St,null,t)):ue(St,null,t)}function zt(t){return t==null||typeof t=="boolean"?ue(St):Ae(t)?ue(Re,null,t.slice()):typeof t=="object"?yn(t):ue(Qr,null,String(t))}function yn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ln(t)}function ql(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Ae(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),ql(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Xr in e)?e._ctx=lt:o===3&<&&(lt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else De(e)?(e={default:e,_ctx:lt},n=32):(e=String(e),s&64?(n=16,e=[xe(e)]):n=8);t.children=e,t.shapeFlag|=n}function u1(...t){const e={};for(let n=0;nXe||lt,Ss=t=>{Xe=t,t.scope.on()},Yn=()=>{Xe&&Xe.scope.off(),Xe=null};function zf(t){return t.vnode.shapeFlag&4}let Eo=!1;function g1(t,e=!1){Eo=e;const{props:n,children:s}=t.vnode,o=zf(t);J_(t,n,o,e),e1(t,s);const r=o?m1(t,e):void 0;return Eo=!1,r}function m1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=af(new Proxy(t.ctx,V_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?b1(t):null;Ss(t),js();const r=On(s,t,0,[t.props,o]);if(Us(),Yn(),Vh(r)){if(r.then(Yn,Yn),e)return r.then(i=>{Xc(t,i,e)}).catch(i=>{Gr(i,t,0)});t.asyncDep=r}else Xc(t,r,e)}else jf(t,e)}function Xc(t,e,n){De(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ze(e)&&(t.setupState=uf(e)),jf(t,n)}let ed;function jf(t,e,n){const s=t.type;if(!t.render){if(!e&&ed&&!s.render){const o=s.template||jl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,d=it(it({isCustomElement:r,delimiters:a},i),l);s.render=ed(o,d)}}t.render=s.render||Pt}Ss(t),js(),G_(t),Us(),Yn()}function _1(t){return new Proxy(t.attrs,{get(e,n){return _t(t,"get","$attrs"),e[n]}})}function b1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=_1(t))},slots:t.slots,emit:t.emit,expose:e}}function ei(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(uf(af(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in io)return io[n](t)},has(e,n){return n in e||n in io}}))}function Za(t,e=!0){return De(t)?t.displayName||t.name:t.name||e&&t.__name}function y1(t){return De(t)&&"__vccOpts"in t}const Ct=(t,e)=>y_(t,e,Eo);function Vl(t,e,n){const s=arguments.length;return s===2?Ze(e)&&!Ae(e)?ko(e)?ue(t,null,[e]):ue(t,e):ue(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ko(n)&&(n=[n]),ue(t,e,n))}const v1=Symbol(""),w1=()=>on(v1),x1="3.2.47",k1="http://www.w3.org/2000/svg",Un=typeof document<"u"?document:null,td=Un&&Un.createElement("template"),E1={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?Un.createElementNS(k1,t):Un.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Un.createTextNode(t),createComment:t=>Un.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Un.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{td.innerHTML=s?`${t}`:t;const a=td.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 C1(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 A1(t,e,n){const s=t.style,o=Qe(n);if(n&&!o){if(e&&!Qe(e))for(const r in e)n[r]==null&&Ya(s,r,"");for(const r in n)Ya(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 nd=/\s*!important$/;function Ya(t,e,n){if(Ae(n))n.forEach(s=>Ya(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=S1(t,e);nd.test(n)?t.setProperty(ns(s),n.replace(nd,""),"important"):t[s]=n}}const sd=["Webkit","Moz","ms"],Oi={};function S1(t,e){const n=Oi[e];if(n)return n;let s=Zt(e);if(s!=="filter"&&s in t)return Oi[e]=s;s=Hr(s);for(let o=0;oRi||(D1.then(()=>Ri=0),Ri=Date.now());function I1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At(P1(s,n.value),e,5,[s])};return n.value=t,n.attached=L1(),n}function P1(t,e){if(Ae(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 id=/^on[a-z]/,F1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?C1(t,s,o):e==="style"?A1(t,n,s):Ur(e)?Cl(e)||R1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):B1(t,e,s,o))?M1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),T1(t,e,s,o))};function B1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&id.test(e)&&De(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||id.test(e)&&Qe(n)?!1:e in t}const pn="transition",Js="animation",Ts=(t,{slots:e})=>Vl(xf,qf(t),e);Ts.displayName="Transition";const Uf={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},$1=Ts.props=it({},xf.props,Uf),Fn=(t,e=[])=>{Ae(t)?t.forEach(n=>n(...e)):t&&t(...e)},ad=t=>t?Ae(t)?t.some(e=>e.length>1):t.length>1:!1;function qf(t){const e={};for(const B in t)B in Uf||(e[B]=t[B]);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:d=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,m=z1(o),_=m&&m[0],g=m&&m[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:x,onLeave:S,onLeaveCancelled:R,onBeforeAppear:O=b,onAppear:D=y,onAppearCancelled:v=x}=e,E=(B,J,I)=>{bn(B,J?u:a),bn(B,J?d:i),I&&I()},M=(B,J)=>{B._isLeaving=!1,bn(B,h),bn(B,p),bn(B,f),J&&J()},L=B=>(J,I)=>{const ce=B?D:y,Z=()=>E(J,B,I);Fn(ce,[J,Z]),ld(()=>{bn(J,B?l:r),tn(J,B?u:a),ad(ce)||cd(J,s,_,Z)})};return it(e,{onBeforeEnter(B){Fn(b,[B]),tn(B,r),tn(B,i)},onBeforeAppear(B){Fn(O,[B]),tn(B,l),tn(B,d)},onEnter:L(!1),onAppear:L(!0),onLeave(B,J){B._isLeaving=!0;const I=()=>M(B,J);tn(B,h),Vf(),tn(B,f),ld(()=>{B._isLeaving&&(bn(B,h),tn(B,p),ad(S)||cd(B,s,g,I))}),Fn(S,[B,I])},onEnterCancelled(B){E(B,!1),Fn(x,[B])},onAppearCancelled(B){E(B,!0),Fn(v,[B])},onLeaveCancelled(B){M(B),Fn(R,[B])}})}function z1(t){if(t==null)return null;if(Ze(t))return[Ni(t.enter),Ni(t.leave)];{const e=Ni(t);return[e,e]}}function Ni(t){return Pm(t)}function tn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function bn(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 ld(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let j1=0;function cd(t,e,n,s){const o=t._endId=++j1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Hf(t,e);if(!i)return s();const d=i+"end";let u=0;const h=()=>{t.removeEventListener(d,f),r()},f=p=>{p.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[m]||"").split(", "),o=s(`${pn}Delay`),r=s(`${pn}Duration`),i=dd(o,r),a=s(`${Js}Delay`),l=s(`${Js}Duration`),d=dd(a,l);let u=null,h=0,f=0;e===pn?i>0&&(u=pn,h=i,f=r.length):e===Js?d>0&&(u=Js,h=d,f=l.length):(h=Math.max(i,d),u=h>0?i>d?pn:Js:null,f=u?u===pn?r.length:l.length:0);const p=u===pn&&/\b(transform|all)(,|$)/.test(s(`${pn}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:p}}function dd(t,e){for(;t.lengthud(n)+ud(t[s])))}function ud(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Vf(){return document.body.offsetHeight}const Gf=new WeakMap,Kf=new WeakMap,Wf={name:"TransitionGroup",props:it({},$1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Hl(),s=wf();let o,r;return Bl(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!G1(o[0].el,n.vnode.el,i))return;o.forEach(q1),o.forEach(H1);const a=o.filter(V1);Vf(),a.forEach(l=>{const d=l.el,u=d.style;tn(d,i),u.transform=u.webkitTransform=u.transitionDuration="";const h=d._moveCb=f=>{f&&f.target!==d||(!f||/transform$/.test(f.propertyName))&&(d.removeEventListener("transitionend",h),d._moveCb=null,bn(d,i))};d.addEventListener("transitionend",h)})}),()=>{const i=Ue(t),a=qf(i);let l=i.tag||Re;o=r,r=e.default?Fl(e.default()):[];for(let d=0;ddelete t.mode;Wf.props;const Ut=Wf;function q1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function H1(t){Kf.set(t,t.el.getBoundingClientRect())}function V1(t){const e=Gf.get(t),n=Kf.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 G1(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}=Hf(s);return o.removeChild(s),r}const Ms=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Ae(e)?n=>vs(e,n):e};function K1(t){t.target.composing=!0}function hd(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Oe={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=Ms(o);const r=s||o.props&&o.props.type==="number";An(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=yr(a)),t._assign(a)}),n&&An(t,"change",()=>{t.value=t.value.trim()}),e||(An(t,"compositionstart",K1),An(t,"compositionend",hd),An(t,"change",hd))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=Ms(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&yr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},rt={deep:!0,created(t,e,n){t._assign=Ms(n),An(t,"change",()=>{const s=t._modelValue,o=Co(t),r=t.checked,i=t._assign;if(Ae(s)){const a=El(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const d=[...s];d.splice(a,1),i(d)}}else if($s(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Zf(t,r))})},mounted:fd,beforeUpdate(t,e,n){t._assign=Ms(n),fd(t,e,n)}};function fd(t,{value:e,oldValue:n},s){t._modelValue=e,Ae(e)?t.checked=El(e,s.props.value)>-1:$s(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=Do(e,Zf(t,!0)))}const Sn={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=$s(e);An(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?yr(Co(i)):Co(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=Ms(s)},mounted(t,{value:e}){pd(t,e)},beforeUpdate(t,e,n){t._assign=Ms(n)},updated(t,{value:e}){pd(t,e)}};function pd(t,e){const n=t.multiple;if(!(n&&!Ae(e)&&!$s(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(Do(Co(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Co(t){return"_value"in t?t._value:t.value}function Zf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const W1=["ctrl","shift","alt","meta"],Z1={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)=>W1.some(n=>t[`${n}Key`]&&!e.includes(n))},de=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=ns(n.key);if(e.some(o=>o===s||Y1[o]===s))return t(n)},Ye={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Qs(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Qs(t,!0),s.enter(t)):s.leave(t,()=>{Qs(t,!1)}):Qs(t,e))},beforeUnmount(t,{value:e}){Qs(t,e)}};function Qs(t,e){t.style.display=e?t._vod:"none"}const J1=it({patchProp:F1},E1);let gd;function Q1(){return gd||(gd=o1(J1))}const X1=(...t)=>{const e=Q1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=e0(s);if(!o)return;const r=e._component;!De(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 e0(t){return Qe(t)?document.querySelector(t):t}function t0(){return Yf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Yf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const n0=typeof Proxy=="function",s0="devtools-plugin:setup",o0="plugin:settings:set";let cs,Qa;function r0(){var t;return cs!==void 0||(typeof window<"u"&&window.performance?(cs=!0,Qa=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(cs=!0,Qa=global.perf_hooks.performance):cs=!1),cs}function i0(){return r0()?Qa.now():Date.now()}class a0{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 i0()}},n&&n.on(o0,(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(d=>{this.targetQueue.push({method:a,args:l,resolve:d})})})}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 l0(t,e){const n=t,s=Yf(),o=t0(),r=n0&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(s0,t,e);else{const i=r?new a0(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 c0="store";function Hs(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function d0(t){return t!==null&&typeof t=="object"}function u0(t){return t&&typeof t.then=="function"}function h0(t,e){return function(){return t(e)}}function Yf(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 Jf(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;ti(t,n,[],t._modules.root,!0),Gl(t,n,e)}function Gl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Hs(o,function(i,a){r[a]=h0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=qs({data:e}),t.strict&&_0(t),s&&n&&t._withCommit(function(){s.data=null})}function ti(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=Kl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var d=s.context=f0(t,i,n);s.forEachMutation(function(u,h){var f=i+h;p0(t,f,u,d)}),s.forEachAction(function(u,h){var f=u.root?h:i+h,g=u.handler||u;g0(t,f,g,d)}),s.forEachGetter(function(u,h){var f=i+h;m0(t,f,u,d)}),s.forEachChild(function(u,h){ti(t,e,n.concat(h),u,o)})}function f0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=Er(r,i,a),d=l.payload,u=l.options,h=l.type;return(!u||!u.root)&&(h=e+h),t.dispatch(h,d)},commit:s?t.commit:function(r,i,a){var l=Er(r,i,a),d=l.payload,u=l.options,h=l.type;(!u||!u.root)&&(h=e+h),t.commit(h,d,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return Qf(t,e)}},state:{get:function(){return Kl(t.state,n)}}}),o}function Qf(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 p0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function g0(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 u0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function m0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function _0(t){Zn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Kl(t,e){return e.reduce(function(n,s){return n[s]},t)}function Er(t,e,n){return d0(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var b0="vuex bindings",gd="vuex:mutations",Di="vuex:actions",ds="vuex",y0=0;function v0(t,e){l0({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:[b0]},function(n){n.addTimelineLayer({id:gd,label:"Vuex Mutations",color:md}),n.addTimelineLayer({id:Di,label:"Vuex Actions",color:md}),n.addInspector({id:ds,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===ds)if(s.filter){var o=[];np(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[tp(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===ds){var o=s.nodeId;Qf(e,o),s.state=k0(C0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===ds){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(ds),n.sendInspectorState(ds),n.addTimelineEvent({layerId:gd,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=y0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Di,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:Di,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var md=8702998,w0=6710886,x0=16777215,Xf={label:"namespaced",textColor:x0,backgroundColor:w0};function ep(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function tp(t,e){return{id:e||"root",label:ep(e),tags:t.namespaced?[Xf]:[],children:Object.keys(t._children).map(function(n){return tp(t._children[n],e+n+"/")})}}function np(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?[Xf]:[]}),Object.keys(e._children).forEach(function(o){np(t,e._children[o],n,s+o+"/")})}function k0(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=E0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?ep(i):i,editable:!1,value:Xa(function(){return r[i]})}})}return o}function E0(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]=Xa(function(){return t[n]})}else e[n]=Xa(function(){return t[n]})}),e}function C0(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 Xa(t){try{return t()}catch(e){return e}}var Bt=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)||{}},sp={namespaced:{configurable:!0}};sp.namespaced.get=function(){return!!this._rawModule.namespaced};Bt.prototype.addChild=function(e,n){this._children[e]=n};Bt.prototype.removeChild=function(e){delete this._children[e]};Bt.prototype.getChild=function(e){return this._children[e]};Bt.prototype.hasChild=function(e){return e in this._children};Bt.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)};Bt.prototype.forEachChild=function(e){Hs(this._children,e)};Bt.prototype.forEachGetter=function(e){this._rawModule.getters&&Hs(this._rawModule.getters,e)};Bt.prototype.forEachAction=function(e){this._rawModule.actions&&Hs(this._rawModule.actions,e)};Bt.prototype.forEachMutation=function(e){this._rawModule.mutations&&Hs(this._rawModule.mutations,e)};Object.defineProperties(Bt.prototype,sp);var is=function(e){this.register([],e,!1)};is.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};is.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};is.prototype.update=function(e){op([],this.root,e)};is.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Bt(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&&Hs(n.modules,function(a,l){o.register(e.concat(l),a,s)})};is.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)};is.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function op(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;op(t.concat(s),e.getChild(s),n.modules[s])}}function A0(t){return new bt(t)}var bt=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 is(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,d=a.commit;this.dispatch=function(f,g){return l.call(i,f,g)},this.commit=function(f,g,m){return d.call(i,f,g,m)},this.strict=o;var u=this._modules.root.state;ti(this,u,[],this._modules.root),Gl(this,u),s.forEach(function(h){return h(n)})},Wl={state:{configurable:!0}};bt.prototype.install=function(e,n){e.provide(n||c0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&v0(e,this)};Wl.state.get=function(){return this._state.data};Wl.state.set=function(t){};bt.prototype.commit=function(e,n,s){var o=this,r=Er(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},d=this._mutations[i];d&&(this._withCommit(function(){d.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};bt.prototype.dispatch=function(e,n){var s=this,o=Er(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 d=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,h){d.then(function(f){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,f)})}catch{}h(f)})})}};bt.prototype.subscribe=function(e,n){return Yf(e,this._subscribers,n)};bt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Yf(s,this._actionSubscribers,n)};bt.prototype.watch=function(e,n,s){var o=this;return Zn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};bt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};bt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),ti(this,this.state,e,this._modules.get(e),s.preserveState),Gl(this,this.state)};bt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Kl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Jf(this)};bt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};bt.prototype.hotUpdate=function(e){this._modules.update(e),Jf(this,!0)};bt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(bt.prototype,Wl);function rp(t,e){return function(){return t.apply(e,arguments)}}const{toString:S0}=Object.prototype,{getPrototypeOf:Zl}=Object,ni=(t=>e=>{const n=S0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fn=t=>(t=t.toLowerCase(),e=>ni(e)===t),si=t=>e=>typeof e===t,{isArray:Vs}=Array,Ao=si("undefined");function T0(t){return t!==null&&!Ao(t)&&t.constructor!==null&&!Ao(t.constructor)&&dn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ip=fn("ArrayBuffer");function M0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ip(t.buffer),e}const O0=si("string"),dn=si("function"),ap=si("number"),Yl=t=>t!==null&&typeof t=="object",R0=t=>t===!0||t===!1,cr=t=>{if(ni(t)!=="object")return!1;const e=Zl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},N0=fn("Date"),D0=fn("File"),L0=fn("Blob"),I0=fn("FileList"),P0=t=>Yl(t)&&dn(t.pipe),F0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||dn(t.append)&&((e=ni(t))==="formdata"||e==="object"&&dn(t.toString)&&t.toString()==="[object FormData]"))},B0=fn("URLSearchParams"),$0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Vs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const cp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),dp=t=>!Ao(t)&&t!==cp;function el(){const{caseless:t}=dp(this)&&this||{},e={},n=(s,o)=>{const r=t&&lp(e,o)||o;cr(e[r])&&cr(s)?e[r]=el(e[r],s):cr(s)?e[r]=el({},s):Vs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Lo(e,(o,r)=>{n&&dn(o)?t[r]=rp(o,n):t[r]=o},{allOwnKeys:s}),t),j0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),U0=(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)},q0=(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&&Zl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},H0=(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},V0=t=>{if(!t)return null;if(Vs(t))return t;let e=t.length;if(!ap(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},G0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Zl(Uint8Array)),K0=(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])}},W0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Z0=fn("HTMLFormElement"),Y0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),_d=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),J0=fn("RegExp"),up=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Lo(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},Q0=t=>{up(t,(e,n)=>{if(dn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(dn(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+"'")})}})},X0=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Vs(t)?s(t):s(String(t).split(e)),n},eb=()=>{},tb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Li="abcdefghijklmnopqrstuvwxyz",bd="0123456789",hp={DIGIT:bd,ALPHA:Li,ALPHA_DIGIT:Li+Li.toUpperCase()+bd},nb=(t=16,e=hp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function sb(t){return!!(t&&dn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ob=t=>{const e=new Array(10),n=(s,o)=>{if(Yl(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Vs(s)?[]:{};return Lo(s,(i,a)=>{const l=n(i,o+1);!Ao(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},K={isArray:Vs,isArrayBuffer:ip,isBuffer:T0,isFormData:F0,isArrayBufferView:M0,isString:O0,isNumber:ap,isBoolean:R0,isObject:Yl,isPlainObject:cr,isUndefined:Ao,isDate:N0,isFile:D0,isBlob:L0,isRegExp:J0,isFunction:dn,isStream:P0,isURLSearchParams:B0,isTypedArray:G0,isFileList:I0,forEach:Lo,merge:el,extend:z0,trim:$0,stripBOM:j0,inherits:U0,toFlatObject:q0,kindOf:ni,kindOfTest:fn,endsWith:H0,toArray:V0,forEachEntry:K0,matchAll:W0,isHTMLForm:Z0,hasOwnProperty:_d,hasOwnProp:_d,reduceDescriptors:up,freezeMethods:Q0,toObjectSet:X0,toCamelCase:Y0,noop:eb,toFiniteNumber:tb,findKey:lp,global:cp,isContextDefined:dp,ALPHABET:hp,generateString:nb,isSpecCompliantForm:sb,toJSONObject:ob};function ze(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(ze,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 fp=ze.prototype,pp={};["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=>{pp[t]={value:t}});Object.defineProperties(ze,pp);Object.defineProperty(fp,"isAxiosError",{value:!0});ze.from=(t,e,n,s,o,r)=>{const i=Object.create(fp);return K.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ze.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const rb=null;function tl(t){return K.isPlainObject(t)||K.isArray(t)}function gp(t){return K.endsWith(t,"[]")?t.slice(0,-2):t}function yd(t,e,n){return t?t.concat(e).map(function(o,r){return o=gp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function ib(t){return K.isArray(t)&&!t.some(tl)}const ab=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function oi(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(_,p){return!K.isUndefined(p[_])});const s=n.metaTokens,o=n.visitor||u,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 d(m){if(m===null)return"";if(K.isDate(m))return m.toISOString();if(!l&&K.isBlob(m))throw new ze("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(m)||K.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,_,p){let b=m;if(m&&!p&&typeof m=="object"){if(K.endsWith(_,"{}"))_=s?_:_.slice(0,-2),m=JSON.stringify(m);else if(K.isArray(m)&&ib(m)||(K.isFileList(m)||K.endsWith(_,"[]"))&&(b=K.toArray(m)))return _=gp(_),b.forEach(function(x,S){!(K.isUndefined(x)||x===null)&&e.append(i===!0?yd([_],S,r):i===null?_:_+"[]",d(x))}),!1}return tl(m)?!0:(e.append(yd(p,_,r),d(m)),!1)}const h=[],f=Object.assign(ab,{defaultVisitor:u,convertValue:d,isVisitable:tl});function g(m,_){if(!K.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+_.join("."));h.push(m),K.forEach(m,function(b,y){(!(K.isUndefined(b)||b===null)&&o.call(e,b,K.isString(y)?y.trim():y,_,f))===!0&&g(b,_?_.concat(y):[y])}),h.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return g(t),e}function vd(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Jl(t,e){this._pairs=[],t&&oi(t,this,e)}const mp=Jl.prototype;mp.append=function(e,n){this._pairs.push([e,n])};mp.toString=function(e){const n=e?function(s){return e.call(this,s,vd)}:vd;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function lb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function _p(t,e,n){if(!e)return t;const s=n&&n.encode||lb,o=n&&n.serialize;let r;if(o?r=o(e,n):r=K.isURLSearchParams(e)?e.toString():new Jl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class cb{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 wd=cb,bp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},db=typeof URLSearchParams<"u"?URLSearchParams:Jl,ub=typeof FormData<"u"?FormData:null,hb=typeof Blob<"u"?Blob:null,fb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),pb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:db,FormData:ub,Blob:hb},isStandardBrowserEnv:fb,isStandardBrowserWebWorkerEnv:pb,protocols:["http","https","file","blob","url","data"]};function gb(t,e){return oi(t,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return qt.isNode&&K.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function mb(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _b(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]=_b(o[i])),!a)}if(K.isFormData(t)&&K.isFunction(t.entries)){const n={};return K.forEachEntry(t,(s,o)=>{e(mb(s),o,n,0)}),n}return null}const bb={"Content-Type":void 0};function yb(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 ri={transitional:bp,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(yp(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 gb(e,this.formSerializer).toString();if((a=K.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return oi(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),yb(e)):e}],transformResponse:[function(e){const n=this.transitional||ri.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"?ze.from(a,ze.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:qt.classes.FormData,Blob:qt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};K.forEach(["delete","get","head"],function(e){ri.headers[e]={}});K.forEach(["post","put","patch"],function(e){ri.headers[e]=K.merge(bb)});const Ql=ri,vb=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"]),wb=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]&&vb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},xd=Symbol("internals");function Xs(t){return t&&String(t).trim().toLowerCase()}function dr(t){return t===!1||t==null?t:K.isArray(t)?t.map(dr):String(t)}function xb(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 kb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ii(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 Eb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Cb(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 ii{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,d){const u=Xs(l);if(!u)throw new Error("header name must be a non-empty string");const h=K.findKey(o,u);(!h||o[h]===void 0||d===!0||d===void 0&&o[h]!==!1)&&(o[h||l]=dr(a))}const i=(a,l)=>K.forEach(a,(d,u)=>r(d,u,l));return K.isPlainObject(e)||e instanceof this.constructor?i(e,n):K.isString(e)&&(e=e.trim())&&!kb(e)?i(wb(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Xs(e),e){const s=K.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return xb(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=Xs(e),e){const s=K.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Ii(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Xs(i),i){const a=K.findKey(s,i);a&&(!n||Ii(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||Ii(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]=dr(o),delete n[r];return}const a=e?Eb(r):String(r).trim();a!==r&&delete n[r],n[a]=dr(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[xd]=this[xd]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Xs(i);s[a]||(Cb(o,i),s[a]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}ii.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.freezeMethods(ii.prototype);K.freezeMethods(ii);const an=ii;function Pi(t,e){const n=this||Ql,s=e||n,o=an.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 vp(t){return!!(t&&t.__CANCEL__)}function Io(t,e,n){ze.call(this,t??"canceled",ze.ERR_CANCELED,e,n),this.name="CanceledError"}K.inherits(Io,ze,{__CANCEL__:!0});function Ab(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new ze("Request failed with status code "+n.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Sb=qt.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 Tb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Mb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function wp(t,e){return t&&!Tb(e)?Mb(t,e):e}const Ob=qt.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 Rb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Nb(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 d=Date.now(),u=s[r];i||(i=d),n[o]=l,s[o]=d;let h=r,f=0;for(;h!==o;)f+=n[h++],h=h%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),d-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),d=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&&d?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const Db=typeof XMLHttpRequest<"u",Lb=Db&&function(t){return new Promise(function(n,s){let o=t.data;const r=an.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)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let d=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+m))}const u=wp(t.baseURL,t.url);d.open(t.method.toUpperCase(),_p(u,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function h(){if(!d)return;const g=an.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),_={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:t,request:d};Ab(function(b){n(b),l()},function(b){s(b),l()},_),d=null}if("onloadend"in d?d.onloadend=h:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(h)},d.onabort=function(){d&&(s(new ze("Request aborted",ze.ECONNABORTED,t,d)),d=null)},d.onerror=function(){s(new ze("Network Error",ze.ERR_NETWORK,t,d)),d=null},d.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const _=t.transitional||bp;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),s(new ze(m,_.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,t,d)),d=null},qt.isStandardBrowserEnv){const g=(t.withCredentials||Ob(u))&&t.xsrfCookieName&&Sb.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in d&&K.forEach(r.toJSON(),function(m,_){d.setRequestHeader(_,m)}),K.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),i&&i!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",kd(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",kd(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{d&&(s(!g||g.type?new Io(null,t,d):g),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=Rb(u);if(f&&qt.protocols.indexOf(f)===-1){s(new ze("Unsupported protocol "+f+":",ze.ERR_BAD_REQUEST,t));return}d.send(o||null)})},ur={http:rb,xhr:Lb};K.forEach(ur,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Ib={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof an?t.toJSON():t;function Os(t,e){e=e||{};const n={};function s(d,u,h){return K.isPlainObject(d)&&K.isPlainObject(u)?K.merge.call({caseless:h},d,u):K.isPlainObject(u)?K.merge({},u):K.isArray(u)?u.slice():u}function o(d,u,h){if(K.isUndefined(u)){if(!K.isUndefined(d))return s(void 0,d,h)}else return s(d,u,h)}function r(d,u){if(!K.isUndefined(u))return s(void 0,u)}function i(d,u){if(K.isUndefined(u)){if(!K.isUndefined(d))return s(void 0,d)}else return s(void 0,u)}function a(d,u,h){if(h in e)return s(d,u);if(h in t)return s(void 0,d)}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:(d,u)=>o(Cd(d),Cd(u),!0)};return K.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const h=l[u]||o,f=h(t[u],e[u],u);K.isUndefined(f)&&h!==a||(n[u]=f)}),n}const xp="1.3.6",Xl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Xl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Ad={};Xl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+xp+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new ze(o(i," has been removed"+(n?" in "+n:"")),ze.ERR_DEPRECATED);return n&&!Ad[i]&&(Ad[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 Pb(t,e,n){if(typeof t!="object")throw new ze("options must be an object",ze.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 ze("option "+r+" must be "+l,ze.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ze("Unknown option "+r,ze.ERR_BAD_OPTION)}}const nl={assertOptions:Pb,validators:Xl},mn=nl.validators;class Cr{constructor(e){this.defaults=e,this.interceptors={request:new wd,response:new wd}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Os(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&nl.assertOptions(s,{silentJSONParsing:mn.transitional(mn.boolean),forcedJSONParsing:mn.transitional(mn.boolean),clarifyTimeoutError:mn.transitional(mn.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:nl.assertOptions(o,{encode:mn.function,serialize:mn.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"],m=>{delete r[m]}),n.headers=an.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const d=[];this.interceptors.response.forEach(function(_){d.push(_.fulfilled,_.rejected)});let u,h=0,f;if(!l){const m=[Ed.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,d),f=m.length,u=Promise.resolve(n);h{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 Io(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 ec(function(o){e=o}),cancel:e}}}const Fb=ec;function Bb(t){return function(n){return t.apply(null,n)}}function $b(t){return K.isObject(t)&&t.isAxiosError===!0}const sl={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(sl).forEach(([t,e])=>{sl[e]=t});const zb=sl;function kp(t){const e=new hr(t),n=rp(hr.prototype.request,e);return K.extend(n,hr.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return kp(Os(t,o))},n}const ot=kp(Ql);ot.Axios=hr;ot.CanceledError=Io;ot.CancelToken=Fb;ot.isCancel=vp;ot.VERSION=xp;ot.toFormData=oi;ot.AxiosError=ze;ot.Cancel=ot.CanceledError;ot.all=function(e){return Promise.all(e)};ot.spread=Bb;ot.isAxiosError=$b;ot.mergeConfig=Os;ot.AxiosHeaders=an;ot.formToJSON=t=>yp(K.isHTMLForm(t)?new FormData(t):t);ot.HttpStatusCode=zb;ot.default=ot;const ye=ot;/*! + */var c0="store";function Hs(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function d0(t){return t!==null&&typeof t=="object"}function u0(t){return t&&typeof t.then=="function"}function h0(t,e){return function(){return t(e)}}function Jf(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 Qf(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;ti(t,n,[],t._modules.root,!0),Gl(t,n,e)}function Gl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Hs(o,function(i,a){r[a]=h0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=qs({data:e}),t.strict&&_0(t),s&&n&&t._withCommit(function(){s.data=null})}function ti(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=Kl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var d=s.context=f0(t,i,n);s.forEachMutation(function(u,h){var f=i+h;p0(t,f,u,d)}),s.forEachAction(function(u,h){var f=u.root?h:i+h,p=u.handler||u;g0(t,f,p,d)}),s.forEachGetter(function(u,h){var f=i+h;m0(t,f,u,d)}),s.forEachChild(function(u,h){ti(t,e,n.concat(h),u,o)})}function f0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=Er(r,i,a),d=l.payload,u=l.options,h=l.type;return(!u||!u.root)&&(h=e+h),t.dispatch(h,d)},commit:s?t.commit:function(r,i,a){var l=Er(r,i,a),d=l.payload,u=l.options,h=l.type;(!u||!u.root)&&(h=e+h),t.commit(h,d,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return Xf(t,e)}},state:{get:function(){return Kl(t.state,n)}}}),o}function Xf(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 p0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function g0(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 u0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function m0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function _0(t){Zn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Kl(t,e){return e.reduce(function(n,s){return n[s]},t)}function Er(t,e,n){return d0(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var b0="vuex bindings",md="vuex:mutations",Di="vuex:actions",ds="vuex",y0=0;function v0(t,e){l0({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:[b0]},function(n){n.addTimelineLayer({id:md,label:"Vuex Mutations",color:_d}),n.addTimelineLayer({id:Di,label:"Vuex Actions",color:_d}),n.addInspector({id:ds,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===ds)if(s.filter){var o=[];sp(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[np(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===ds){var o=s.nodeId;Xf(e,o),s.state=k0(C0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===ds){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(ds),n.sendInspectorState(ds),n.addTimelineEvent({layerId:md,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=y0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Di,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:Di,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var _d=8702998,w0=6710886,x0=16777215,ep={label:"namespaced",textColor:x0,backgroundColor:w0};function tp(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function np(t,e){return{id:e||"root",label:tp(e),tags:t.namespaced?[ep]:[],children:Object.keys(t._children).map(function(n){return np(t._children[n],e+n+"/")})}}function sp(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?[ep]:[]}),Object.keys(e._children).forEach(function(o){sp(t,e._children[o],n,s+o+"/")})}function k0(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=E0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?tp(i):i,editable:!1,value:Xa(function(){return r[i]})}})}return o}function E0(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]=Xa(function(){return t[n]})}else e[n]=Xa(function(){return t[n]})}),e}function C0(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 Xa(t){try{return t()}catch(e){return e}}var Bt=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)||{}},op={namespaced:{configurable:!0}};op.namespaced.get=function(){return!!this._rawModule.namespaced};Bt.prototype.addChild=function(e,n){this._children[e]=n};Bt.prototype.removeChild=function(e){delete this._children[e]};Bt.prototype.getChild=function(e){return this._children[e]};Bt.prototype.hasChild=function(e){return e in this._children};Bt.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)};Bt.prototype.forEachChild=function(e){Hs(this._children,e)};Bt.prototype.forEachGetter=function(e){this._rawModule.getters&&Hs(this._rawModule.getters,e)};Bt.prototype.forEachAction=function(e){this._rawModule.actions&&Hs(this._rawModule.actions,e)};Bt.prototype.forEachMutation=function(e){this._rawModule.mutations&&Hs(this._rawModule.mutations,e)};Object.defineProperties(Bt.prototype,op);var is=function(e){this.register([],e,!1)};is.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};is.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};is.prototype.update=function(e){rp([],this.root,e)};is.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Bt(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&&Hs(n.modules,function(a,l){o.register(e.concat(l),a,s)})};is.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)};is.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function rp(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;rp(t.concat(s),e.getChild(s),n.modules[s])}}function A0(t){return new bt(t)}var bt=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 is(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,d=a.commit;this.dispatch=function(f,p){return l.call(i,f,p)},this.commit=function(f,p,m){return d.call(i,f,p,m)},this.strict=o;var u=this._modules.root.state;ti(this,u,[],this._modules.root),Gl(this,u),s.forEach(function(h){return h(n)})},Wl={state:{configurable:!0}};bt.prototype.install=function(e,n){e.provide(n||c0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&v0(e,this)};Wl.state.get=function(){return this._state.data};Wl.state.set=function(t){};bt.prototype.commit=function(e,n,s){var o=this,r=Er(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},d=this._mutations[i];d&&(this._withCommit(function(){d.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};bt.prototype.dispatch=function(e,n){var s=this,o=Er(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 d=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,h){d.then(function(f){try{s._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,s.state,f)})}catch{}h(f)})})}};bt.prototype.subscribe=function(e,n){return Jf(e,this._subscribers,n)};bt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Jf(s,this._actionSubscribers,n)};bt.prototype.watch=function(e,n,s){var o=this;return Zn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};bt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};bt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),ti(this,this.state,e,this._modules.get(e),s.preserveState),Gl(this,this.state)};bt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Kl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Qf(this)};bt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};bt.prototype.hotUpdate=function(e){this._modules.update(e),Qf(this,!0)};bt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(bt.prototype,Wl);function ip(t,e){return function(){return t.apply(e,arguments)}}const{toString:S0}=Object.prototype,{getPrototypeOf:Zl}=Object,ni=(t=>e=>{const n=S0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),hn=t=>(t=t.toLowerCase(),e=>ni(e)===t),si=t=>e=>typeof e===t,{isArray:Vs}=Array,Ao=si("undefined");function T0(t){return t!==null&&!Ao(t)&&t.constructor!==null&&!Ao(t.constructor)&&cn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ap=hn("ArrayBuffer");function M0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ap(t.buffer),e}const O0=si("string"),cn=si("function"),lp=si("number"),Yl=t=>t!==null&&typeof t=="object",R0=t=>t===!0||t===!1,cr=t=>{if(ni(t)!=="object")return!1;const e=Zl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},N0=hn("Date"),D0=hn("File"),L0=hn("Blob"),I0=hn("FileList"),P0=t=>Yl(t)&&cn(t.pipe),F0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||cn(t.append)&&((e=ni(t))==="formdata"||e==="object"&&cn(t.toString)&&t.toString()==="[object FormData]"))},B0=hn("URLSearchParams"),$0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Vs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const dp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),up=t=>!Ao(t)&&t!==dp;function el(){const{caseless:t}=up(this)&&this||{},e={},n=(s,o)=>{const r=t&&cp(e,o)||o;cr(e[r])&&cr(s)?e[r]=el(e[r],s):cr(s)?e[r]=el({},s):Vs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Lo(e,(o,r)=>{n&&cn(o)?t[r]=ip(o,n):t[r]=o},{allOwnKeys:s}),t),j0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),U0=(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)},q0=(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&&Zl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},H0=(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},V0=t=>{if(!t)return null;if(Vs(t))return t;let e=t.length;if(!lp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},G0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Zl(Uint8Array)),K0=(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])}},W0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Z0=hn("HTMLFormElement"),Y0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),bd=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),J0=hn("RegExp"),hp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Lo(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},Q0=t=>{hp(t,(e,n)=>{if(cn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(cn(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+"'")})}})},X0=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Vs(t)?s(t):s(String(t).split(e)),n},eb=()=>{},tb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Li="abcdefghijklmnopqrstuvwxyz",yd="0123456789",fp={DIGIT:yd,ALPHA:Li,ALPHA_DIGIT:Li+Li.toUpperCase()+yd},nb=(t=16,e=fp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function sb(t){return!!(t&&cn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ob=t=>{const e=new Array(10),n=(s,o)=>{if(Yl(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Vs(s)?[]:{};return Lo(s,(i,a)=>{const l=n(i,o+1);!Ao(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},K={isArray:Vs,isArrayBuffer:ap,isBuffer:T0,isFormData:F0,isArrayBufferView:M0,isString:O0,isNumber:lp,isBoolean:R0,isObject:Yl,isPlainObject:cr,isUndefined:Ao,isDate:N0,isFile:D0,isBlob:L0,isRegExp:J0,isFunction:cn,isStream:P0,isURLSearchParams:B0,isTypedArray:G0,isFileList:I0,forEach:Lo,merge:el,extend:z0,trim:$0,stripBOM:j0,inherits:U0,toFlatObject:q0,kindOf:ni,kindOfTest:hn,endsWith:H0,toArray:V0,forEachEntry:K0,matchAll:W0,isHTMLForm:Z0,hasOwnProperty:bd,hasOwnProp:bd,reduceDescriptors:hp,freezeMethods:Q0,toObjectSet:X0,toCamelCase:Y0,noop:eb,toFiniteNumber:tb,findKey:cp,global:dp,isContextDefined:up,ALPHABET:fp,generateString:nb,isSpecCompliantForm:sb,toJSONObject:ob};function je(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(je,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 pp=je.prototype,gp={};["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=>{gp[t]={value:t}});Object.defineProperties(je,gp);Object.defineProperty(pp,"isAxiosError",{value:!0});je.from=(t,e,n,s,o,r)=>{const i=Object.create(pp);return K.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),je.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const rb=null;function tl(t){return K.isPlainObject(t)||K.isArray(t)}function mp(t){return K.endsWith(t,"[]")?t.slice(0,-2):t}function vd(t,e,n){return t?t.concat(e).map(function(o,r){return o=mp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function ib(t){return K.isArray(t)&&!t.some(tl)}const ab=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function oi(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(_,g){return!K.isUndefined(g[_])});const s=n.metaTokens,o=n.visitor||u,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 d(m){if(m===null)return"";if(K.isDate(m))return m.toISOString();if(!l&&K.isBlob(m))throw new je("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(m)||K.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,_,g){let b=m;if(m&&!g&&typeof m=="object"){if(K.endsWith(_,"{}"))_=s?_:_.slice(0,-2),m=JSON.stringify(m);else if(K.isArray(m)&&ib(m)||(K.isFileList(m)||K.endsWith(_,"[]"))&&(b=K.toArray(m)))return _=mp(_),b.forEach(function(x,S){!(K.isUndefined(x)||x===null)&&e.append(i===!0?vd([_],S,r):i===null?_:_+"[]",d(x))}),!1}return tl(m)?!0:(e.append(vd(g,_,r),d(m)),!1)}const h=[],f=Object.assign(ab,{defaultVisitor:u,convertValue:d,isVisitable:tl});function p(m,_){if(!K.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+_.join("."));h.push(m),K.forEach(m,function(b,y){(!(K.isUndefined(b)||b===null)&&o.call(e,b,K.isString(y)?y.trim():y,_,f))===!0&&p(b,_?_.concat(y):[y])}),h.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return p(t),e}function wd(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Jl(t,e){this._pairs=[],t&&oi(t,this,e)}const _p=Jl.prototype;_p.append=function(e,n){this._pairs.push([e,n])};_p.toString=function(e){const n=e?function(s){return e.call(this,s,wd)}:wd;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function lb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function bp(t,e,n){if(!e)return t;const s=n&&n.encode||lb,o=n&&n.serialize;let r;if(o?r=o(e,n):r=K.isURLSearchParams(e)?e.toString():new Jl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class cb{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 xd=cb,yp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},db=typeof URLSearchParams<"u"?URLSearchParams:Jl,ub=typeof FormData<"u"?FormData:null,hb=typeof Blob<"u"?Blob:null,fb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),pb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:db,FormData:ub,Blob:hb},isStandardBrowserEnv:fb,isStandardBrowserWebWorkerEnv:pb,protocols:["http","https","file","blob","url","data"]};function gb(t,e){return oi(t,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return qt.isNode&&K.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function mb(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _b(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]=_b(o[i])),!a)}if(K.isFormData(t)&&K.isFunction(t.entries)){const n={};return K.forEachEntry(t,(s,o)=>{e(mb(s),o,n,0)}),n}return null}const bb={"Content-Type":void 0};function yb(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 ri={transitional:yp,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(vp(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 gb(e,this.formSerializer).toString();if((a=K.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return oi(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),yb(e)):e}],transformResponse:[function(e){const n=this.transitional||ri.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"?je.from(a,je.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:qt.classes.FormData,Blob:qt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};K.forEach(["delete","get","head"],function(e){ri.headers[e]={}});K.forEach(["post","put","patch"],function(e){ri.headers[e]=K.merge(bb)});const Ql=ri,vb=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"]),wb=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]&&vb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},kd=Symbol("internals");function Xs(t){return t&&String(t).trim().toLowerCase()}function dr(t){return t===!1||t==null?t:K.isArray(t)?t.map(dr):String(t)}function xb(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 kb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ii(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 Eb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Cb(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 ii{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,d){const u=Xs(l);if(!u)throw new Error("header name must be a non-empty string");const h=K.findKey(o,u);(!h||o[h]===void 0||d===!0||d===void 0&&o[h]!==!1)&&(o[h||l]=dr(a))}const i=(a,l)=>K.forEach(a,(d,u)=>r(d,u,l));return K.isPlainObject(e)||e instanceof this.constructor?i(e,n):K.isString(e)&&(e=e.trim())&&!kb(e)?i(wb(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Xs(e),e){const s=K.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return xb(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=Xs(e),e){const s=K.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Ii(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Xs(i),i){const a=K.findKey(s,i);a&&(!n||Ii(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||Ii(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]=dr(o),delete n[r];return}const a=e?Eb(r):String(r).trim();a!==r&&delete n[r],n[a]=dr(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[kd]=this[kd]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Xs(i);s[a]||(Cb(o,i),s[a]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}ii.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.freezeMethods(ii.prototype);K.freezeMethods(ii);const rn=ii;function Pi(t,e){const n=this||Ql,s=e||n,o=rn.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 wp(t){return!!(t&&t.__CANCEL__)}function Io(t,e,n){je.call(this,t??"canceled",je.ERR_CANCELED,e,n),this.name="CanceledError"}K.inherits(Io,je,{__CANCEL__:!0});function Ab(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Sb=qt.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 Tb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Mb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function xp(t,e){return t&&!Tb(e)?Mb(t,e):e}const Ob=qt.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 Rb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Nb(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 d=Date.now(),u=s[r];i||(i=d),n[o]=l,s[o]=d;let h=r,f=0;for(;h!==o;)f+=n[h++],h=h%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),d-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),d=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&&d?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const Db=typeof XMLHttpRequest<"u",Lb=Db&&function(t){return new Promise(function(n,s){let o=t.data;const r=rn.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)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let d=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(p+":"+m))}const u=xp(t.baseURL,t.url);d.open(t.method.toUpperCase(),bp(u,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function h(){if(!d)return;const p=rn.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),_={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:p,config:t,request:d};Ab(function(b){n(b),l()},function(b){s(b),l()},_),d=null}if("onloadend"in d?d.onloadend=h:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(h)},d.onabort=function(){d&&(s(new je("Request aborted",je.ECONNABORTED,t,d)),d=null)},d.onerror=function(){s(new je("Network Error",je.ERR_NETWORK,t,d)),d=null},d.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const _=t.transitional||yp;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),s(new je(m,_.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,t,d)),d=null},qt.isStandardBrowserEnv){const p=(t.withCredentials||Ob(u))&&t.xsrfCookieName&&Sb.read(t.xsrfCookieName);p&&r.set(t.xsrfHeaderName,p)}o===void 0&&r.setContentType(null),"setRequestHeader"in d&&K.forEach(r.toJSON(),function(m,_){d.setRequestHeader(_,m)}),K.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),i&&i!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",Ed(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Ed(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=p=>{d&&(s(!p||p.type?new Io(null,t,d):p),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=Rb(u);if(f&&qt.protocols.indexOf(f)===-1){s(new je("Unsupported protocol "+f+":",je.ERR_BAD_REQUEST,t));return}d.send(o||null)})},ur={http:rb,xhr:Lb};K.forEach(ur,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Ib={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof rn?t.toJSON():t;function Os(t,e){e=e||{};const n={};function s(d,u,h){return K.isPlainObject(d)&&K.isPlainObject(u)?K.merge.call({caseless:h},d,u):K.isPlainObject(u)?K.merge({},u):K.isArray(u)?u.slice():u}function o(d,u,h){if(K.isUndefined(u)){if(!K.isUndefined(d))return s(void 0,d,h)}else return s(d,u,h)}function r(d,u){if(!K.isUndefined(u))return s(void 0,u)}function i(d,u){if(K.isUndefined(u)){if(!K.isUndefined(d))return s(void 0,d)}else return s(void 0,u)}function a(d,u,h){if(h in e)return s(d,u);if(h in t)return s(void 0,d)}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:(d,u)=>o(Ad(d),Ad(u),!0)};return K.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const h=l[u]||o,f=h(t[u],e[u],u);K.isUndefined(f)&&h!==a||(n[u]=f)}),n}const kp="1.3.6",Xl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Xl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Sd={};Xl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+kp+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new je(o(i," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!Sd[i]&&(Sd[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 Pb(t,e,n){if(typeof t!="object")throw new je("options must be an object",je.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 je("option "+r+" must be "+l,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+r,je.ERR_BAD_OPTION)}}const nl={assertOptions:Pb,validators:Xl},gn=nl.validators;class Cr{constructor(e){this.defaults=e,this.interceptors={request:new xd,response:new xd}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Os(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&nl.assertOptions(s,{silentJSONParsing:gn.transitional(gn.boolean),forcedJSONParsing:gn.transitional(gn.boolean),clarifyTimeoutError:gn.transitional(gn.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:nl.assertOptions(o,{encode:gn.function,serialize:gn.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"],m=>{delete r[m]}),n.headers=rn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const d=[];this.interceptors.response.forEach(function(_){d.push(_.fulfilled,_.rejected)});let u,h=0,f;if(!l){const m=[Cd.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,d),f=m.length,u=Promise.resolve(n);h{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 Io(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 ec(function(o){e=o}),cancel:e}}}const Fb=ec;function Bb(t){return function(n){return t.apply(null,n)}}function $b(t){return K.isObject(t)&&t.isAxiosError===!0}const sl={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(sl).forEach(([t,e])=>{sl[e]=t});const zb=sl;function Ep(t){const e=new hr(t),n=ip(hr.prototype.request,e);return K.extend(n,hr.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Ep(Os(t,o))},n}const ot=Ep(Ql);ot.Axios=hr;ot.CanceledError=Io;ot.CancelToken=Fb;ot.isCancel=wp;ot.VERSION=kp;ot.toFormData=oi;ot.AxiosError=je;ot.Cancel=ot.CanceledError;ot.all=function(e){return Promise.all(e)};ot.spread=Bb;ot.isAxiosError=$b;ot.mergeConfig=Os;ot.AxiosHeaders=rn;ot.formToJSON=t=>vp(K.isHTMLForm(t)?new FormData(t):t);ot.HttpStatusCode=zb;ot.default=ot;const ye=ot;/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const ps=typeof window<"u";function jb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ve=Object.assign;function Bi(t,e){const n={};for(const s in e){const o=e[s];n[s]=Ft(o)?o.map(t):t(o)}return n}const lo=()=>{},Ft=Array.isArray,Ub=/\/$/,qb=t=>t.replace(Ub,"");function $i(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=Kb(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Hb(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Sd(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Vb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Rs(e.matched[s],n.matched[o])&&Ep(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Rs(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Ep(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Gb(t[n],e[n]))return!1;return!0}function Gb(t,e){return Ft(t)?Td(t,e):Ft(e)?Td(e,t):t===e}function Td(t,e){return Ft(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Kb(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 So;(function(t){t.pop="pop",t.push="push"})(So||(So={}));var co;(function(t){t.back="back",t.forward="forward",t.unknown=""})(co||(co={}));function Wb(t){if(!t)if(ps){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),qb(t)}const Zb=/^[^#]+#/;function Yb(t,e){return t.replace(Zb,"#")+e}function Jb(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 ai=()=>({left:window.pageXOffset,top:window.pageYOffset});function Qb(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=Jb(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 Md(t,e){return(history.state?history.state.position-e:-1)+t}const ol=new Map;function Xb(t,e){ol.set(t,e)}function ey(t){const e=ol.get(t);return ol.delete(t),e}let ty=()=>location.protocol+"//"+location.host;function Cp(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),Sd(l,"")}return Sd(n,t)+s+o}function ny(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const g=Cp(t,location),m=n.value,_=e.value;let p=0;if(f){if(n.value=g,e.value=f,i&&i===m){i=null;return}p=_?f.position-_.position:0}else s(g);o.forEach(b=>{b(n.value,m,{delta:p,type:So.pop,direction:p?p>0?co.forward:co.back:co.unknown})})};function l(){i=n.value}function d(f){o.push(f);const g=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return r.push(g),g}function u(){const{history:f}=window;f.state&&f.replaceState(Ve({},f.state,{scroll:ai()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:d,destroy:h}}function Od(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?ai():null}}function sy(t){const{history:e,location:n}=window,s={value:Cp(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,d,u){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:ty()+t+l;try{e[u?"replaceState":"pushState"](d,"",f),o.value=d}catch(g){console.error(g),n[u?"replace":"assign"](f)}}function i(l,d){const u=Ve({},e.state,Od(o.value.back,l,o.value.forward,!0),d,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,d){const u=Ve({},o.value,e.state,{forward:l,scroll:ai()});r(u.current,u,!0);const h=Ve({},Od(s.value,l,null),{position:u.position+1},d);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function oy(t){t=Wb(t);const e=sy(t),n=ny(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ve({location:"",base:t,go:s,createHref:Yb.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 ry(t){return typeof t=="string"||t&&typeof t=="object"}function Ap(t){return typeof t=="string"||typeof t=="symbol"}const _n={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Sp=Symbol("");var Rd;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Rd||(Rd={}));function Ns(t,e){return Ve(new Error,{type:t,[Sp]:!0},e)}function en(t,e){return t instanceof Error&&Sp in t&&(e==null||!!(t.type&e))}const Nd="[^/]+?",iy={sensitive:!1,strict:!1,start:!0,end:!0},ay=/[.+*?^${}()[\]/\\]/g;function ly(t,e){const n=Ve({},iy,e),s=[];let o=n.start?"^":"";const r=[];for(const d of t){const u=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function dy(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const uy={type:0,value:""},hy=/[a-zA-Z0-9_]/;function fy(t){if(!t)return[[]];if(t==="/")return[[uy]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${d}": ${g}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,d="",u="";function h(){d&&(n===0?r.push({type:0,value:d}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),d="")}function f(){d+=l}for(;a{i(y)}:lo}function i(u){if(Ap(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,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 h=0;for(;h=0&&(u.record.path!==n[h].record.path||!Tp(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Id(u)&&s.set(u.record.name,u)}function d(u,h){let f,g={},m,_;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw Ns(1,{location:u});_=f.record.name,g=Ve(Ld(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Ld(u.params,f.keys.map(y=>y.name))),m=f.stringify(g)}else if("path"in u)m=u.path,f=n.find(y=>y.re.test(m)),f&&(g=f.parse(m),_=f.record.name);else{if(f=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!f)throw Ns(1,{location:u,currentLocation:h});_=f.record.name,g=Ve({},h.params,u.params),m=f.stringify(g)}const p=[];let b=f;for(;b;)p.unshift(b.record),b=b.parent;return{name:_,path:m,params:g,matched:p,meta:by(p)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:d,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Ld(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function my(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:_y(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 _y(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 Id(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function by(t){return t.reduce((e,n)=>Ve(e,n.meta),{})}function Pd(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Tp(t,e){return e.children.some(n=>n===t||Tp(t,n))}const Mp=/#/g,yy=/&/g,vy=/\//g,wy=/=/g,xy=/\?/g,Op=/\+/g,ky=/%5B/g,Ey=/%5D/g,Rp=/%5E/g,Cy=/%60/g,Np=/%7B/g,Ay=/%7C/g,Dp=/%7D/g,Sy=/%20/g;function tc(t){return encodeURI(""+t).replace(Ay,"|").replace(ky,"[").replace(Ey,"]")}function Ty(t){return tc(t).replace(Np,"{").replace(Dp,"}").replace(Rp,"^")}function rl(t){return tc(t).replace(Op,"%2B").replace(Sy,"+").replace(Mp,"%23").replace(yy,"%26").replace(Cy,"`").replace(Np,"{").replace(Dp,"}").replace(Rp,"^")}function My(t){return rl(t).replace(wy,"%3D")}function Oy(t){return tc(t).replace(Mp,"%23").replace(xy,"%3F")}function Ry(t){return t==null?"":Oy(t).replace(vy,"%2F")}function Ar(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Ny(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&rl(r)):[s&&rl(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function Dy(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Ft(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const Ly=Symbol(""),Bd=Symbol(""),nc=Symbol(""),Lp=Symbol(""),il=Symbol("");function eo(){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 wn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=h=>{h===!1?a(Ns(4,{from:n,to:e})):h instanceof Error?a(h):ry(h)?a(Ns(2,{from:e,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),i())},d=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(d);t.length<3&&(u=u.then(l)),u.catch(h=>a(h))})}function zi(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(Iy(a)){const d=(a.__vccOpts||a)[e];d&&o.push(wn(d,n,s,r,i))}else{let l=a();o.push(()=>l.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=jb(d)?d.default:d;r.components[i]=u;const f=(u.__vccOpts||u)[e];return f&&wn(f,n,s,r,i)()}))}}return o}function Iy(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function $d(t){const e=rn(nc),n=rn(Lp),s=Ct(()=>e.resolve(pt(t.to))),o=Ct(()=>{const{matched:l}=s.value,{length:d}=l,u=l[d-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(Rs.bind(null,u));if(f>-1)return f;const g=zd(l[d-2]);return d>1&&zd(u)===g&&h[h.length-1].path!==g?h.findIndex(Rs.bind(null,l[d-2])):f}),r=Ct(()=>o.value>-1&&By(n.params,s.value.params)),i=Ct(()=>o.value>-1&&o.value===n.matched.length-1&&Ep(n.params,s.value.params));function a(l={}){return Fy(l)?e[pt(t.replace)?"replace":"push"](pt(t.to)).catch(lo):Promise.resolve()}return{route:s,href:Ct(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const Py=kf({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:$d,setup(t,{slots:e}){const n=qs($d(t)),{options:s}=rn(nc),o=Ct(()=>({[jd(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[jd(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Vl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),sn=Py;function Fy(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 By(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(!Ft(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function zd(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const jd=(t,e,n)=>t??e??n,$y=kf({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=rn(il),o=Ct(()=>t.route||s.value),r=rn(Bd,0),i=Ct(()=>{let d=pt(r);const{matched:u}=o.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=Ct(()=>o.value.matched[i.value]);ir(Bd,Ct(()=>i.value+1)),ir(Ly,a),ir(il,o);const l=p_();return Zn(()=>[l.value,a.value,t.name],([d,u,h],[f,g,m])=>{u&&(u.instances[h]=d,g&&g!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),d&&u&&(!g||!Rs(u,g)||!f)&&(u.enterCallbacks[h]||[]).forEach(_=>_(d))},{flush:"post"}),()=>{const d=o.value,u=t.name,h=a.value,f=h&&h.components[u];if(!f)return Ud(n.default,{Component:f,route:d});const g=h.props[u],m=g?g===!0?d.params:typeof g=="function"?g(d):g:null,p=Vl(f,Ve({},m,e,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Ud(n.default,{Component:p,route:d})||p}}});function Ud(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Ip=$y;function zy(t){const e=gy(t.routes,t),n=t.parseQuery||Ny,s=t.stringifyQuery||Fd,o=t.history,r=eo(),i=eo(),a=eo(),l=g_(_n);let d=_n;ps&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Bi.bind(null,N=>""+N),h=Bi.bind(null,Ry),f=Bi.bind(null,Ar);function g(N,Q){let V,te;return Ap(N)?(V=e.getRecordMatcher(N),te=Q):te=N,e.addRoute(te,V)}function m(N){const Q=e.getRecordMatcher(N);Q&&e.removeRoute(Q)}function _(){return e.getRoutes().map(N=>N.record)}function p(N){return!!e.getRecordMatcher(N)}function b(N,Q){if(Q=Ve({},Q||l.value),typeof N=="string"){const w=$i(n,N,Q.path),A=e.resolve({path:w.path},Q),F=o.createHref(w.fullPath);return Ve(w,A,{params:f(A.params),hash:Ar(w.hash),redirectedFrom:void 0,href:F})}let V;if("path"in N)V=Ve({},N,{path:$i(n,N.path,Q.path).path});else{const w=Ve({},N.params);for(const A in w)w[A]==null&&delete w[A];V=Ve({},N,{params:h(N.params)}),Q.params=h(Q.params)}const te=e.resolve(V,Q),X=N.hash||"";te.params=u(f(te.params));const ge=Hb(s,Ve({},N,{hash:Ty(X),path:te.path})),he=o.createHref(ge);return Ve({fullPath:ge,hash:X,query:s===Fd?Dy(N.query):N.query||{}},te,{redirectedFrom:void 0,href:he})}function y(N){return typeof N=="string"?$i(n,N,l.value.path):Ve({},N)}function x(N,Q){if(d!==N)return Ns(8,{from:Q,to:N})}function S(N){return D(N)}function R(N){return S(Ve(y(N),{replace:!0}))}function O(N){const Q=N.matched[N.matched.length-1];if(Q&&Q.redirect){const{redirect:V}=Q;let te=typeof V=="function"?V(N):V;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=y(te):{path:te},te.params={}),Ve({query:N.query,hash:N.hash,params:"path"in te?{}:N.params},te)}}function D(N,Q){const V=d=b(N),te=l.value,X=N.state,ge=N.force,he=N.replace===!0,w=O(V);if(w)return D(Ve(y(w),{state:typeof w=="object"?Ve({},X,w.state):X,force:ge,replace:he}),Q||V);const A=V;A.redirectedFrom=Q;let F;return!ge&&Vb(s,te,V)&&(F=Ns(16,{to:A,from:te}),we(te,te,!0,!1)),(F?Promise.resolve(F):E(A,te)).catch($=>en($)?en($,2)?$:G($):T($,A,te)).then($=>{if($){if(en($,2))return D(Ve({replace:he},y($.to),{state:typeof $.to=="object"?Ve({},X,$.to.state):X,force:ge}),Q||A)}else $=L(A,te,!0,he,X);return M(A,te,$),$})}function v(N,Q){const V=x(N,Q);return V?Promise.reject(V):Promise.resolve()}function E(N,Q){let V;const[te,X,ge]=jy(N,Q);V=zi(te.reverse(),"beforeRouteLeave",N,Q);for(const w of te)w.leaveGuards.forEach(A=>{V.push(wn(A,N,Q))});const he=v.bind(null,N,Q);return V.push(he),us(V).then(()=>{V=[];for(const w of r.list())V.push(wn(w,N,Q));return V.push(he),us(V)}).then(()=>{V=zi(X,"beforeRouteUpdate",N,Q);for(const w of X)w.updateGuards.forEach(A=>{V.push(wn(A,N,Q))});return V.push(he),us(V)}).then(()=>{V=[];for(const w of N.matched)if(w.beforeEnter&&!Q.matched.includes(w))if(Ft(w.beforeEnter))for(const A of w.beforeEnter)V.push(wn(A,N,Q));else V.push(wn(w.beforeEnter,N,Q));return V.push(he),us(V)}).then(()=>(N.matched.forEach(w=>w.enterCallbacks={}),V=zi(ge,"beforeRouteEnter",N,Q),V.push(he),us(V))).then(()=>{V=[];for(const w of i.list())V.push(wn(w,N,Q));return V.push(he),us(V)}).catch(w=>en(w,8)?w:Promise.reject(w))}function M(N,Q,V){for(const te of a.list())te(N,Q,V)}function L(N,Q,V,te,X){const ge=x(N,Q);if(ge)return ge;const he=Q===_n,w=ps?history.state:{};V&&(te||he?o.replace(N.fullPath,Ve({scroll:he&&w&&w.scroll},X)):o.push(N.fullPath,X)),l.value=N,we(N,Q,V,he),G()}let B;function J(){B||(B=o.listen((N,Q,V)=>{if(!Se.listening)return;const te=b(N),X=O(te);if(X){D(Ve(X,{replace:!0}),te).catch(lo);return}d=te;const ge=l.value;ps&&Xb(Md(ge.fullPath,V.delta),ai()),E(te,ge).catch(he=>en(he,12)?he:en(he,2)?(D(he.to,te).then(w=>{en(w,20)&&!V.delta&&V.type===So.pop&&o.go(-1,!1)}).catch(lo),Promise.reject()):(V.delta&&o.go(-V.delta,!1),T(he,te,ge))).then(he=>{he=he||L(te,ge,!1),he&&(V.delta&&!en(he,8)?o.go(-V.delta,!1):V.type===So.pop&&en(he,20)&&o.go(-1,!1)),M(te,ge,he)}).catch(lo)}))}let P=eo(),ce=eo(),Z;function T(N,Q,V){G(N);const te=ce.list();return te.length?te.forEach(X=>X(N,Q,V)):console.error(N),Promise.reject(N)}function q(){return Z&&l.value!==_n?Promise.resolve():new Promise((N,Q)=>{P.add([N,Q])})}function G(N){return Z||(Z=!N,J(),P.list().forEach(([Q,V])=>N?V(N):Q()),P.reset()),N}function we(N,Q,V,te){const{scrollBehavior:X}=t;if(!ps||!X)return Promise.resolve();const ge=!V&&ey(Md(N.fullPath,0))||(te||!V)&&history.state&&history.state.scroll||null;return be().then(()=>X(N,Q,ge)).then(he=>he&&Qb(he)).catch(he=>T(he,N,Q))}const _e=N=>o.go(N);let ee;const ke=new Set,Se={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:p,getRoutes:_,resolve:b,options:t,push:S,replace:R,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ce.add,isReady:q,install(N){const Q=this;N.component("RouterLink",sn),N.component("RouterView",Ip),N.config.globalProperties.$router=Q,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>pt(l)}),ps&&!ee&&l.value===_n&&(ee=!0,S(o.location).catch(X=>{}));const V={};for(const X in _n)V[X]=Ct(()=>l.value[X]);N.provide(nc,Q),N.provide(Lp,qs(V)),N.provide(il,l);const te=N.unmount;ke.add(N),N.unmount=function(){ke.delete(N),ke.size<1&&(d=_n,B&&B(),B=null,l.value=_n,ee=!1,Z=!1),te()}}};return Se}function us(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function jy(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iRs(d,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(d=>Rs(d,l))||o.push(l))}return[n,s,o]}const Uy="modulepreload",qy=function(t){return"/"+t},qd={},ji=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=qy(r),r in qd)return;qd[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===r&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const d=document.createElement("link");if(d.rel=i?"stylesheet":Uy,i||(d.as="script",d.crossOrigin=""),d.href=r,document.head.appendChild(d),i)return new Promise((u,h)=>{d.addEventListener("load",u),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},sc="/assets/logo-023c77a1.png";var Pp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function as(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Hy(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 Fp={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Pp,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 ps=typeof window<"u";function jb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ve=Object.assign;function Bi(t,e){const n={};for(const s in e){const o=e[s];n[s]=Ft(o)?o.map(t):t(o)}return n}const lo=()=>{},Ft=Array.isArray,Ub=/\/$/,qb=t=>t.replace(Ub,"");function $i(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=Kb(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Hb(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Td(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Vb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Rs(e.matched[s],n.matched[o])&&Cp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Rs(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Cp(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Gb(t[n],e[n]))return!1;return!0}function Gb(t,e){return Ft(t)?Md(t,e):Ft(e)?Md(e,t):t===e}function Md(t,e){return Ft(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Kb(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 So;(function(t){t.pop="pop",t.push="push"})(So||(So={}));var co;(function(t){t.back="back",t.forward="forward",t.unknown=""})(co||(co={}));function Wb(t){if(!t)if(ps){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),qb(t)}const Zb=/^[^#]+#/;function Yb(t,e){return t.replace(Zb,"#")+e}function Jb(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 ai=()=>({left:window.pageXOffset,top:window.pageYOffset});function Qb(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=Jb(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 Od(t,e){return(history.state?history.state.position-e:-1)+t}const ol=new Map;function Xb(t,e){ol.set(t,e)}function ey(t){const e=ol.get(t);return ol.delete(t),e}let ty=()=>location.protocol+"//"+location.host;function Ap(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),Td(l,"")}return Td(n,t)+s+o}function ny(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const p=Ap(t,location),m=n.value,_=e.value;let g=0;if(f){if(n.value=p,e.value=f,i&&i===m){i=null;return}g=_?f.position-_.position:0}else s(p);o.forEach(b=>{b(n.value,m,{delta:g,type:So.pop,direction:g?g>0?co.forward:co.back:co.unknown})})};function l(){i=n.value}function d(f){o.push(f);const p=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return r.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(Ve({},f.state,{scroll:ai()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:d,destroy:h}}function Rd(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?ai():null}}function sy(t){const{history:e,location:n}=window,s={value:Ap(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,d,u){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:ty()+t+l;try{e[u?"replaceState":"pushState"](d,"",f),o.value=d}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function i(l,d){const u=Ve({},e.state,Rd(o.value.back,l,o.value.forward,!0),d,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,d){const u=Ve({},o.value,e.state,{forward:l,scroll:ai()});r(u.current,u,!0);const h=Ve({},Rd(s.value,l,null),{position:u.position+1},d);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function oy(t){t=Wb(t);const e=sy(t),n=ny(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ve({location:"",base:t,go:s,createHref:Yb.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 ry(t){return typeof t=="string"||t&&typeof t=="object"}function Sp(t){return typeof t=="string"||typeof t=="symbol"}const mn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Tp=Symbol("");var Nd;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Nd||(Nd={}));function Ns(t,e){return Ve(new Error,{type:t,[Tp]:!0},e)}function en(t,e){return t instanceof Error&&Tp in t&&(e==null||!!(t.type&e))}const Dd="[^/]+?",iy={sensitive:!1,strict:!1,start:!0,end:!0},ay=/[.+*?^${}()[\]/\\]/g;function ly(t,e){const n=Ve({},iy,e),s=[];let o=n.start?"^":"";const r=[];for(const d of t){const u=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function dy(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const uy={type:0,value:""},hy=/[a-zA-Z0-9_]/;function fy(t){if(!t)return[[]];if(t==="/")return[[uy]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(p){throw new Error(`ERR (${n})/"${d}": ${p}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,d="",u="";function h(){d&&(n===0?r.push({type:0,value:d}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),d="")}function f(){d+=l}for(;a{i(y)}:lo}function i(u){if(Sp(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,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 h=0;for(;h=0&&(u.record.path!==n[h].record.path||!Mp(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Pd(u)&&s.set(u.record.name,u)}function d(u,h){let f,p={},m,_;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw Ns(1,{location:u});_=f.record.name,p=Ve(Id(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Id(u.params,f.keys.map(y=>y.name))),m=f.stringify(p)}else if("path"in u)m=u.path,f=n.find(y=>y.re.test(m)),f&&(p=f.parse(m),_=f.record.name);else{if(f=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!f)throw Ns(1,{location:u,currentLocation:h});_=f.record.name,p=Ve({},h.params,u.params),m=f.stringify(p)}const g=[];let b=f;for(;b;)g.unshift(b.record),b=b.parent;return{name:_,path:m,params:p,matched:g,meta:by(g)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:d,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Id(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function my(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:_y(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 _y(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 Pd(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function by(t){return t.reduce((e,n)=>Ve(e,n.meta),{})}function Fd(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Mp(t,e){return e.children.some(n=>n===t||Mp(t,n))}const Op=/#/g,yy=/&/g,vy=/\//g,wy=/=/g,xy=/\?/g,Rp=/\+/g,ky=/%5B/g,Ey=/%5D/g,Np=/%5E/g,Cy=/%60/g,Dp=/%7B/g,Ay=/%7C/g,Lp=/%7D/g,Sy=/%20/g;function tc(t){return encodeURI(""+t).replace(Ay,"|").replace(ky,"[").replace(Ey,"]")}function Ty(t){return tc(t).replace(Dp,"{").replace(Lp,"}").replace(Np,"^")}function rl(t){return tc(t).replace(Rp,"%2B").replace(Sy,"+").replace(Op,"%23").replace(yy,"%26").replace(Cy,"`").replace(Dp,"{").replace(Lp,"}").replace(Np,"^")}function My(t){return rl(t).replace(wy,"%3D")}function Oy(t){return tc(t).replace(Op,"%23").replace(xy,"%3F")}function Ry(t){return t==null?"":Oy(t).replace(vy,"%2F")}function Ar(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Ny(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&rl(r)):[s&&rl(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function Dy(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Ft(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const Ly=Symbol(""),$d=Symbol(""),nc=Symbol(""),Ip=Symbol(""),il=Symbol("");function eo(){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 vn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=h=>{h===!1?a(Ns(4,{from:n,to:e})):h instanceof Error?a(h):ry(h)?a(Ns(2,{from:e,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),i())},d=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(d);t.length<3&&(u=u.then(l)),u.catch(h=>a(h))})}function zi(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(Iy(a)){const d=(a.__vccOpts||a)[e];d&&o.push(vn(d,n,s,r,i))}else{let l=a();o.push(()=>l.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=jb(d)?d.default:d;r.components[i]=u;const f=(u.__vccOpts||u)[e];return f&&vn(f,n,s,r,i)()}))}}return o}function Iy(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function zd(t){const e=on(nc),n=on(Ip),s=Ct(()=>e.resolve(pt(t.to))),o=Ct(()=>{const{matched:l}=s.value,{length:d}=l,u=l[d-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(Rs.bind(null,u));if(f>-1)return f;const p=jd(l[d-2]);return d>1&&jd(u)===p&&h[h.length-1].path!==p?h.findIndex(Rs.bind(null,l[d-2])):f}),r=Ct(()=>o.value>-1&&By(n.params,s.value.params)),i=Ct(()=>o.value>-1&&o.value===n.matched.length-1&&Cp(n.params,s.value.params));function a(l={}){return Fy(l)?e[pt(t.replace)?"replace":"push"](pt(t.to)).catch(lo):Promise.resolve()}return{route:s,href:Ct(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const Py=Ef({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:zd,setup(t,{slots:e}){const n=qs(zd(t)),{options:s}=on(nc),o=Ct(()=>({[Ud(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ud(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Vl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),sn=Py;function Fy(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 By(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(!Ft(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function jd(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Ud=(t,e,n)=>t??e??n,$y=Ef({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=on(il),o=Ct(()=>t.route||s.value),r=on($d,0),i=Ct(()=>{let d=pt(r);const{matched:u}=o.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=Ct(()=>o.value.matched[i.value]);ir($d,Ct(()=>i.value+1)),ir(Ly,a),ir(il,o);const l=p_();return Zn(()=>[l.value,a.value,t.name],([d,u,h],[f,p,m])=>{u&&(u.instances[h]=d,p&&p!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),d&&u&&(!p||!Rs(u,p)||!f)&&(u.enterCallbacks[h]||[]).forEach(_=>_(d))},{flush:"post"}),()=>{const d=o.value,u=t.name,h=a.value,f=h&&h.components[u];if(!f)return qd(n.default,{Component:f,route:d});const p=h.props[u],m=p?p===!0?d.params:typeof p=="function"?p(d):p:null,g=Vl(f,Ve({},m,e,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return qd(n.default,{Component:g,route:d})||g}}});function qd(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Pp=$y;function zy(t){const e=gy(t.routes,t),n=t.parseQuery||Ny,s=t.stringifyQuery||Bd,o=t.history,r=eo(),i=eo(),a=eo(),l=g_(mn);let d=mn;ps&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Bi.bind(null,N=>""+N),h=Bi.bind(null,Ry),f=Bi.bind(null,Ar);function p(N,Q){let V,te;return Sp(N)?(V=e.getRecordMatcher(N),te=Q):te=N,e.addRoute(te,V)}function m(N){const Q=e.getRecordMatcher(N);Q&&e.removeRoute(Q)}function _(){return e.getRoutes().map(N=>N.record)}function g(N){return!!e.getRecordMatcher(N)}function b(N,Q){if(Q=Ve({},Q||l.value),typeof N=="string"){const w=$i(n,N,Q.path),A=e.resolve({path:w.path},Q),F=o.createHref(w.fullPath);return Ve(w,A,{params:f(A.params),hash:Ar(w.hash),redirectedFrom:void 0,href:F})}let V;if("path"in N)V=Ve({},N,{path:$i(n,N.path,Q.path).path});else{const w=Ve({},N.params);for(const A in w)w[A]==null&&delete w[A];V=Ve({},N,{params:h(N.params)}),Q.params=h(Q.params)}const te=e.resolve(V,Q),X=N.hash||"";te.params=u(f(te.params));const ge=Hb(s,Ve({},N,{hash:Ty(X),path:te.path})),he=o.createHref(ge);return Ve({fullPath:ge,hash:X,query:s===Bd?Dy(N.query):N.query||{}},te,{redirectedFrom:void 0,href:he})}function y(N){return typeof N=="string"?$i(n,N,l.value.path):Ve({},N)}function x(N,Q){if(d!==N)return Ns(8,{from:Q,to:N})}function S(N){return D(N)}function R(N){return S(Ve(y(N),{replace:!0}))}function O(N){const Q=N.matched[N.matched.length-1];if(Q&&Q.redirect){const{redirect:V}=Q;let te=typeof V=="function"?V(N):V;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=y(te):{path:te},te.params={}),Ve({query:N.query,hash:N.hash,params:"path"in te?{}:N.params},te)}}function D(N,Q){const V=d=b(N),te=l.value,X=N.state,ge=N.force,he=N.replace===!0,w=O(V);if(w)return D(Ve(y(w),{state:typeof w=="object"?Ve({},X,w.state):X,force:ge,replace:he}),Q||V);const A=V;A.redirectedFrom=Q;let F;return!ge&&Vb(s,te,V)&&(F=Ns(16,{to:A,from:te}),we(te,te,!0,!1)),(F?Promise.resolve(F):E(A,te)).catch($=>en($)?en($,2)?$:G($):T($,A,te)).then($=>{if($){if(en($,2))return D(Ve({replace:he},y($.to),{state:typeof $.to=="object"?Ve({},X,$.to.state):X,force:ge}),Q||A)}else $=L(A,te,!0,he,X);return M(A,te,$),$})}function v(N,Q){const V=x(N,Q);return V?Promise.reject(V):Promise.resolve()}function E(N,Q){let V;const[te,X,ge]=jy(N,Q);V=zi(te.reverse(),"beforeRouteLeave",N,Q);for(const w of te)w.leaveGuards.forEach(A=>{V.push(vn(A,N,Q))});const he=v.bind(null,N,Q);return V.push(he),us(V).then(()=>{V=[];for(const w of r.list())V.push(vn(w,N,Q));return V.push(he),us(V)}).then(()=>{V=zi(X,"beforeRouteUpdate",N,Q);for(const w of X)w.updateGuards.forEach(A=>{V.push(vn(A,N,Q))});return V.push(he),us(V)}).then(()=>{V=[];for(const w of N.matched)if(w.beforeEnter&&!Q.matched.includes(w))if(Ft(w.beforeEnter))for(const A of w.beforeEnter)V.push(vn(A,N,Q));else V.push(vn(w.beforeEnter,N,Q));return V.push(he),us(V)}).then(()=>(N.matched.forEach(w=>w.enterCallbacks={}),V=zi(ge,"beforeRouteEnter",N,Q),V.push(he),us(V))).then(()=>{V=[];for(const w of i.list())V.push(vn(w,N,Q));return V.push(he),us(V)}).catch(w=>en(w,8)?w:Promise.reject(w))}function M(N,Q,V){for(const te of a.list())te(N,Q,V)}function L(N,Q,V,te,X){const ge=x(N,Q);if(ge)return ge;const he=Q===mn,w=ps?history.state:{};V&&(te||he?o.replace(N.fullPath,Ve({scroll:he&&w&&w.scroll},X)):o.push(N.fullPath,X)),l.value=N,we(N,Q,V,he),G()}let B;function J(){B||(B=o.listen((N,Q,V)=>{if(!Se.listening)return;const te=b(N),X=O(te);if(X){D(Ve(X,{replace:!0}),te).catch(lo);return}d=te;const ge=l.value;ps&&Xb(Od(ge.fullPath,V.delta),ai()),E(te,ge).catch(he=>en(he,12)?he:en(he,2)?(D(he.to,te).then(w=>{en(w,20)&&!V.delta&&V.type===So.pop&&o.go(-1,!1)}).catch(lo),Promise.reject()):(V.delta&&o.go(-V.delta,!1),T(he,te,ge))).then(he=>{he=he||L(te,ge,!1),he&&(V.delta&&!en(he,8)?o.go(-V.delta,!1):V.type===So.pop&&en(he,20)&&o.go(-1,!1)),M(te,ge,he)}).catch(lo)}))}let I=eo(),ce=eo(),Z;function T(N,Q,V){G(N);const te=ce.list();return te.length?te.forEach(X=>X(N,Q,V)):console.error(N),Promise.reject(N)}function q(){return Z&&l.value!==mn?Promise.resolve():new Promise((N,Q)=>{I.add([N,Q])})}function G(N){return Z||(Z=!N,J(),I.list().forEach(([Q,V])=>N?V(N):Q()),I.reset()),N}function we(N,Q,V,te){const{scrollBehavior:X}=t;if(!ps||!X)return Promise.resolve();const ge=!V&&ey(Od(N.fullPath,0))||(te||!V)&&history.state&&history.state.scroll||null;return be().then(()=>X(N,Q,ge)).then(he=>he&&Qb(he)).catch(he=>T(he,N,Q))}const _e=N=>o.go(N);let ee;const ke=new Set,Se={currentRoute:l,listening:!0,addRoute:p,removeRoute:m,hasRoute:g,getRoutes:_,resolve:b,options:t,push:S,replace:R,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ce.add,isReady:q,install(N){const Q=this;N.component("RouterLink",sn),N.component("RouterView",Pp),N.config.globalProperties.$router=Q,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>pt(l)}),ps&&!ee&&l.value===mn&&(ee=!0,S(o.location).catch(X=>{}));const V={};for(const X in mn)V[X]=Ct(()=>l.value[X]);N.provide(nc,Q),N.provide(Ip,qs(V)),N.provide(il,l);const te=N.unmount;ke.add(N),N.unmount=function(){ke.delete(N),ke.size<1&&(d=mn,B&&B(),B=null,l.value=mn,ee=!1,Z=!1),te()}}};return Se}function us(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function jy(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iRs(d,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(d=>Rs(d,l))||o.push(l))}return[n,s,o]}const Uy="modulepreload",qy=function(t){return"/"+t},Hd={},ji=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=qy(r),r in Hd)return;Hd[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===r&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const d=document.createElement("link");if(d.rel=i?"stylesheet":Uy,i||(d.as="script",d.crossOrigin=""),d.href=r,document.head.appendChild(d),i)return new Promise((u,h)=>{d.addEventListener("load",u),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},sc="/assets/logo-023c77a1.png";var Fp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function as(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Hy(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 Bp={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Fp,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 d(b,y){for(var x=y.length,S=0;S1?arguments[1]:void 0,y=b!==void 0,x=0,S=h(m),R,O,D,v;if(y&&(b=r(b,p>2?arguments[2]:void 0,2)),S!=null&&!(_==Array&&l(S)))for(v=S.call(m),O=new _;!(D=v.next()).done;x++)u(O,x,y?a(v,b,[D.value,x],!0):D.value);else for(R=d(m.length),O=new _(R);R>x;x++)u(O,x,y?b(m[x],x):m[x]);return O.length=x,O}},"./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(d,u,h){var f=r(d),g=i(f.length),m=a(h,g),_;if(l&&u!=u){for(;g>m;)if(_=f[m++],_!=_)return!0}else for(;g>m;m++)if((l||m in f)&&f[m]===u)return l||m||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(d){return i.call(a,d)};case 2:return function(d,u){return i.call(a,d,u)};case 3:return function(d,u,h){return i.call(a,d,u,h)}}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,d){try{return d?a(r(l)[0],l[1]):a(l)}catch(h){var u=i.return;throw u!==void 0&&r(u.call(i)),h}}},"./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,d={next:function(){return{done:!!l++}},return:function(){a=!0}};d[i]=function(){return this},Array.from(d,function(){throw 2})}catch{}n.exports=function(u,h){if(!h&&!a)return!1;var f=!1;try{var g={};g[i]=function(){return{next:function(){return{done:f=!0}}}},u(g)}catch{}return f}},"./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",d=function(u,h){try{return u[h]}catch{}};n.exports=function(u){var h,f,g;return u===void 0?"Undefined":u===null?"Null":typeof(f=d(h=Object(u),a))=="string"?f:l?r(h):(g=r(h))=="Object"&&typeof h.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(d,u){for(var h=i(u),f=l.f,g=a.f,m=0;m",R="java"+x+":",O;for(p.style.display="none",d.appendChild(p),p.src=String(R),O=p.contentWindow.document,O.open(),O.write(y+x+S+"document.F=Object"+y+"/"+x+S),O.close(),_=O.F;b--;)delete _[g][a[b]];return _()};n.exports=Object.create||function(b,y){var x;return b!==null?(m[g]=r(b),x=new m,m[g]=null,x[f]=b):x=_(),y===void 0?x:i(x,y)},l[f]=!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,h){a(u);for(var f=l(h),g=f.length,m=0,_;g>m;)i.f(u,_=f[m++],h[_]);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"),d=Object.defineProperty;s.f=r?d:function(h,f,g){if(a(h),f=l(f,!0),a(g),i)try{return d(h,f,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[f]=g.value),h}},"./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"),d=o("./node_modules/core-js/internals/to-primitive.js"),u=o("./node_modules/core-js/internals/has.js"),h=o("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=r?f:function(m,_){if(m=l(m),_=d(_,!0),h)try{return f(m,_)}catch{}if(u(m,_))return a(!i.f.call(m,_),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(d){return r(d,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"),d=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(h){return h=i(h),r(h,d)?h[d]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h 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"),d=a(!1);n.exports=function(u,h){var f=i(u),g=0,m=[],_;for(_ in f)!r(l,_)&&r(f,_)&&m.push(_);for(;h.length>g;)r(f,_=h[g++])&&(~d(m,_)||m.push(_));return m}},"./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(d){var u=i(this,d);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,h){return r(u,h),i?l.call(u,h):u.__proto__=h,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"),d=r.Reflect;n.exports=d&&d.ownKeys||function(h){var f=i.f(l(h)),g=a.f;return g?f.concat(g(h)):f}},"./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"),d=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),h=o("./node_modules/core-js/internals/internal-state.js"),f=h.get,g=h.enforce,m=String(u).split("toString");i("inspectSource",function(_){return u.call(_)}),(n.exports=function(_,p,b,y){var x=y?!!y.unsafe:!1,S=y?!!y.enumerable:!1,R=y?!!y.noTargetGet:!1;if(typeof b=="function"&&(typeof p=="string"&&!l(b,"name")&&a(b,"name",p),g(b).source=m.join(typeof p=="string"?p:"")),_===r){S?_[p]=b:d(p,b);return}else x?!R&&_[p]&&(S=!0):delete _[p];S?_[p]=b:a(_,p,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(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(d,u,h){d&&!i(d=h?d:d.prototype,l)&&r(d,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__",d=r[l]||i(l,{});(n.exports=function(u,h){return d[u]||(d[u]=h!==void 0?h:{})})("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,d){var u=String(i(a)),h=r(l),f=u.length,g,m;return h<0||h>=f?d?"":void 0:(g=u.charCodeAt(h),g<55296||g>56319||h+1===f||(m=u.charCodeAt(h+1))<56320||m>57343?d?u.charAt(h):g:d?u.slice(h,h+2):(g-55296<<10)+(m-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,d){var u=r(l);return u<0?i(u+d,0):a(u,d)}},"./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,d;if(a&&typeof(l=i.toString)=="function"&&!r(d=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(d=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(d=l.call(i)))return d;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"),d=r.Symbol,u=i("wks");n.exports=function(h){return u[h]||(u[h]=l&&d[h]||(l?d:a)("Symbol."+h))}},"./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(d){Array.from(d)});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",d=i.set,u=i.getterFor(l);a(String,"String",function(h){d(this,{type:l,string:String(h),index:0})},function(){var f=u(this),g=f.string,m=f.index,_;return m>=g.length?{value:void 0,done:!0}:(_=r(g,m,!0),f.index+=_.length,{value:_,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(_){for(var p=1;p2&&arguments[2]!==void 0?arguments[2]:[];f(this,_),this.name=p,this.contents=b,this.tags=y,this.attrs=r({},u.default,{class:"feather feather-"+p})}return i(_,[{key:"toSvg",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,b,{class:(0,l.default)(this.attrs.class,b.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),_}();function m(_){return Object.keys(_).map(function(p){return p+'="'+_[p]+'"'}).join(" ")}s.default=g},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=h(r),a=o("./dist/icons.json"),l=h(a),d=o("./src/tags.json"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(l.default).map(function(f){return new i.default(f,l.default[f],u.default[f])}).reduce(function(f,g){return f[g.name]=g,f},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=h(r),a=o("./src/to-svg.js"),l=h(a),d=o("./src/replace.js"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}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(m){for(var _=1;_0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var _=document.querySelectorAll("[data-feather]");Array.from(_).forEach(function(p){return f(p,m)})}function f(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=g(m),b=p["data-feather"];delete p["data-feather"];var y=d.default[b].toSvg(r({},_,p,{class:(0,a.default)(_.class,p.class)})),x=new DOMParser().parseFromString(y,"image/svg+xml"),S=x.querySelector("svg");m.parentNode.replaceChild(S,m)}function g(m){return Array.from(m.attributes).reduce(function(_,p){return _[p.name]=p.value,_},{})}s.default=h},"./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(d){return d&&d.__esModule?d:{default:d}}function l(d){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."),!d)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[d])throw new Error("No icon matching '"+d+"'. See the complete list of icons at https://feathericons.com");return i.default[d].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")}})})})(Fp);var Vy=Fp.exports;const ve=as(Vy);const Gy={key:0,class:"container flex flex-col sm:flex-row items-center"},Ky={class:"w-full"},Wy={class:"flex flex-row font-medium nav-ul"},Bp={__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(k(),C("div",Gy,[c("div",Ky,[c("div",Wy,[ue(pt(sn),{to:{name:"discussions"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Discussions ")]),_:1}),ue(pt(sn),{to:{name:"playground"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Playground ")]),_:1}),ue(pt(sn),{to:{name:"settings"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Settings ")]),_:1}),ue(pt(sn),{to:{name:"extensions"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Extensions ")]),_:1}),ue(pt(sn),{to:{name:"training"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Training ")]),_:1}),ue(pt(sn),{to:{name:"quantizing"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Quantizing ")]),_:1}),ue(pt(sn),{to:{name:"help"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Help ")]),_:1})])])])):I("",!0)}};const Zy={class:"top-0 shadow-lg"},Yy={class:"container flex flex-col lg:flex-row item-center gap-2 pb-0"},Jy=c("div",{class:"flex items-center gap-3 flex-1"},[c("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:sc,alt:"Logo"}),c("div",{class:"flex flex-col"},[c("p",{class:"text-2xl"},"Lord of Large Language Models"),c("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),Qy={class:"flex gap-3 flex-1 items-center justify-end"},Xy=rs('
',2),e2={href:"https://twitter.com/SpaceNerduino",target:"_blank"},t2={class:"text-2xl hover:fill-primary dark:fill-white dark:hover:fill-primary duration-150",title:"Follow me on my twitter acount"},n2={class:"w-10 h-10 rounded-lg object-fill dark:text-white",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1668.56 1221.19",style:{"enable-background":"new 0 0 1668.56 1221.19"},"xml:space":"preserve"},s2=c("g",{id:"layer1",transform:"translate(52.390088,-25.058597)"},[c("path",{id:"path1009",d:`M283.94,167.31l386.39,516.64L281.5,1104h87.51l340.42-367.76L984.48,1104h297.8L874.15,558.3l361.92-390.99\r - h-87.51l-313.51,338.7l-253.31-338.7H283.94z M412.63,231.77h136.81l604.13,807.76h-136.81L412.63,231.77z`})],-1),o2=[s2],r2=c("i",{"data-feather":"sun"},null,-1),i2=[r2],a2=c("i",{"data-feather":"moon"},null,-1),l2=[a2],c2=c("body",null,null,-1),d2={name:"TopBar",computed:{isConnected(){return this.$store.state.isConnected}},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(),be(()=>{ve.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"),be(()=>{ji(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}be(()=>{ji(()=>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}ji(()=>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:Bp}},u2=Object.assign(d2,{setup(t){return(e,n)=>(k(),C(Re,null,[c("header",Zy,[c("nav",Yy,[ue(pt(sn),{to:{name:"discussions"}},{default:Ne(()=>[Jy]),_:1}),c("div",Qy,[c("div",{title:"Connection status",class:Me(["dot",{"dot-green":e.isConnected,"dot-red":!e.isConnected}])},null,2),Xy,c("a",e2,[c("div",t2,[(k(),C("svg",n2,o2))])]),c("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())},i2),c("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())},l2)])]),ue(Bp)]),c2],64))}}),h2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},f2={class:"flex overflow-hidden flex-grow"},p2={__name:"App",setup(t){return(e,n)=>(k(),C("div",h2,[ue(u2),c("div",f2,[ue(pt(Ip),null,{default:Ne(({Component:s})=>[(k(),tt(L_,null,[(k(),tt(H_(s)))],1024))]),_:1})])]))}},Yt=Object.create(null);Yt.open="0";Yt.close="1";Yt.ping="2";Yt.pong="3";Yt.message="4";Yt.upgrade="5";Yt.noop="6";const fr=Object.create(null);Object.keys(Yt).forEach(t=>{fr[Yt[t]]=t});const g2={type:"error",data:"parser error"},m2=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",_2=typeof ArrayBuffer=="function",b2=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,$p=({type:t,data:e},n,s)=>m2&&e instanceof Blob?n?s(e):Hd(e,s):_2&&(e instanceof ArrayBuffer||b2(e))?n?s(e):Hd(new Blob([e]),s):s(Yt[t]+(e||"")),Hd=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Vd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ro=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 d=new ArrayBuffer(e),u=new Uint8Array(d);for(s=0;s>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return d},v2=typeof ArrayBuffer=="function",zp=(t,e)=>{if(typeof t!="string")return{type:"message",data:jp(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:w2(t.substring(1),e)}:fr[n]?t.length>1?{type:fr[n],data:t.substring(1)}:{type:fr[n]}:g2},w2=(t,e)=>{if(v2){const n=y2(t);return jp(n,e)}else return{base64:!0,data:t}},jp=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Up=String.fromCharCode(30),x2=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{$p(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Up))})})},k2=(t,e)=>{const n=t.split(Up),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Hp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const C2=Et.setTimeout,A2=Et.clearTimeout;function li(t,e){e.useNativeTimers?(t.setTimeoutFn=C2.bind(Et),t.clearTimeoutFn=A2.bind(Et)):(t.setTimeoutFn=Et.setTimeout.bind(Et),t.clearTimeoutFn=Et.clearTimeout.bind(Et))}const S2=1.33;function T2(t){return typeof t=="string"?M2(t):Math.ceil((t.byteLength||t.size)*S2)}function M2(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class O2 extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Vp extends nt{constructor(e){super(),this.writable=!1,li(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new O2(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=zp(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 Gp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),al=64,R2={};let Gd=0,Ko=0,Kd;function Wd(t){let e="";do e=Gp[t%al]+e,t=Math.floor(t/al);while(t>0);return e}function Kp(){const t=Wd(+new Date);return t!==Kd?(Gd=0,Kd=t):t+"."+Wd(Gd++)}for(;Ko{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)};k2(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,x2(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]=Kp()),!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=Wp(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 Kt(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 Kt extends nt{constructor(e,n){super(),li(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=Hp(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 Yp(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=Kt.requestsCount++,Kt.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=L2,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Kt.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()}}Kt.requestsCount=0;Kt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Zd);else if(typeof addEventListener=="function"){const t="onpagehide"in Et?"pagehide":"unload";addEventListener(t,Zd,!1)}}function Zd(){for(let t in Kt.requests)Kt.requests.hasOwnProperty(t)&&Kt.requests[t].abort()}const Jp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Wo=Et.WebSocket||Et.MozWebSocket,Yd=!0,F2="arraybuffer",Jd=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class B2 extends Vp{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=Jd?{}:Hp(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=Yd&&!Jd?n?new Wo(e,n):new Wo(e):new Wo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||F2,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{Yd&&this.ws.send(r)}catch{}o&&Jp(()=>{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]=Kp()),this.supportsBinary||(e.b64=1);const o=Wp(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!!Wo}}const $2={websocket:B2,polling:P2},z2=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,j2=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ll(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=z2.exec(t||""),r={},i=14;for(;i--;)r[j2[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=U2(r,r.path),r.queryKey=q2(r,r.query),r}function U2(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 q2(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Qp=class gs extends nt{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=ll(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=ll(n.host).host),li(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=N2(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=qp,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 $2[e](s)}open(){let e;if(this.opts.rememberUpgrade&&gs.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;gs.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!s)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;gs.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 f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=h=>{const f=new Error("probe error: "+h);f.transport=n.name,r(),this.emitReserved("upgradeError",f)};function a(){i("transport closed")}function l(){i("socket closed")}function d(h){n&&h.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",d)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",d),n.open()}onOpen(){if(this.readyState="open",gs.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){gs.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,Xp=Object.prototype.toString,K2=typeof Blob=="function"||typeof Blob<"u"&&Xp.call(Blob)==="[object BlobConstructor]",W2=typeof File=="function"||typeof File<"u"&&Xp.call(File)==="[object FileConstructor]";function oc(t){return V2&&(t instanceof ArrayBuffer||G2(t))||K2&&t instanceof Blob||W2&&t instanceof File}function pr(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:Fe.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 Fe.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 Fe.EVENT:case Fe.BINARY_EVENT:this.onevent(e);break;case Fe.ACK:case Fe.BINARY_ACK:this.onack(e);break;case Fe.DISCONNECT:this.ondisconnect();break;case Fe.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:Fe.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:Fe.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}Gs.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};Gs.prototype.reset=function(){this.attempts=0};Gs.prototype.setMin=function(t){this.ms=t};Gs.prototype.setMax=function(t){this.max=t};Gs.prototype.setJitter=function(t){this.jitter=t};class ul extends nt{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,li(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 Gs({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||ev;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 Qp(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Dt(n,"open",function(){s.onopen(),e&&e()}),r=Dt(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(Dt(e,"ping",this.onping.bind(this)),Dt(e,"data",this.ondata.bind(this)),Dt(e,"error",this.onerror.bind(this)),Dt(e,"close",this.onclose.bind(this)),Dt(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){Jp(()=>{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 eg(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 to={};function gr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=H2(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=to[o]&&r in to[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new ul(s,e):(to[o]||(to[o]=new ul(s,e)),l=to[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(gr,{Manager:ul,Socket:eg,io:gr,connect:gr});const nv=void 0,Ee=new gr(nv);const Ue=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},sv={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),be(()=>{ve.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),be(()=>{ve.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Nn=t=>(ss("data-v-3ffdabf3"),t=t(),os(),t),ov={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},rv={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"},iv={class:"flex flex-row flex-grow items-center"},av={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"},lv=Nn(()=>c("i",{"data-feather":"check"},null,-1)),cv=Nn(()=>c("span",{class:"sr-only"},"Check icon",-1)),dv=[lv,cv],uv={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"},hv=Nn(()=>c("i",{"data-feather":"x"},null,-1)),fv=Nn(()=>c("span",{class:"sr-only"},"Cross icon",-1)),pv=[hv,fv],gv=["title"],mv={class:"flex"},_v=["onClick"],bv=Nn(()=>c("span",{class:"sr-only"},"Copy message",-1)),yv=Nn(()=>c("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),vv=[bv,yv],wv=["onClick"],xv=Nn(()=>c("span",{class:"sr-only"},"Close",-1)),kv=Nn(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("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)),Ev=[xv,kv];function Cv(t,e,n,s,o,r){return k(),C("div",ov,[ue(Ut,{name:"toastItem",tag:"div"},{default:Ne(()=>[(k(!0),C(Re,null,Ge(o.toastArr,i=>(k(),C("div",{key:i.id,class:"relative"},[c("div",rv,[c("div",iv,[xr(t.$slots,"default",{},()=>[i.success?(k(),C("div",av,dv)):I("",!0),i.success?I("",!0):(k(),C("div",uv,pv)),c("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},H(i.message),9,gv)],!0)]),c("div",mv,[c("button",{type:"button",onClick:de(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"},vv,8,_v),c("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"},Ev,8,wv)])])]))),128))]),_:3})])}const Ks=Ue(sv,[["render",Cv],["__scopeId","data-v-3ffdabf3"]]);var He={};const Av="Á",Sv="á",Tv="Ă",Mv="ă",Ov="∾",Rv="∿",Nv="∾̳",Dv="Â",Lv="â",Iv="´",Pv="А",Fv="а",Bv="Æ",$v="æ",zv="⁡",jv="𝔄",Uv="𝔞",qv="À",Hv="à",Vv="ℵ",Gv="ℵ",Kv="Α",Wv="α",Zv="Ā",Yv="ā",Jv="⨿",Qv="&",Xv="&",ew="⩕",tw="⩓",nw="∧",sw="⩜",ow="⩘",rw="⩚",iw="∠",aw="⦤",lw="∠",cw="⦨",dw="⦩",uw="⦪",hw="⦫",fw="⦬",pw="⦭",gw="⦮",mw="⦯",_w="∡",bw="∟",yw="⊾",vw="⦝",ww="∢",xw="Å",kw="⍼",Ew="Ą",Cw="ą",Aw="𝔸",Sw="𝕒",Tw="⩯",Mw="≈",Ow="⩰",Rw="≊",Nw="≋",Dw="'",Lw="⁡",Iw="≈",Pw="≊",Fw="Å",Bw="å",$w="𝒜",zw="𝒶",jw="≔",Uw="*",qw="≈",Hw="≍",Vw="Ã",Gw="ã",Kw="Ä",Ww="ä",Zw="∳",Yw="⨑",Jw="≌",Qw="϶",Xw="‵",ex="∽",tx="⋍",nx="∖",sx="⫧",ox="⊽",rx="⌅",ix="⌆",ax="⌅",lx="⎵",cx="⎶",dx="≌",ux="Б",hx="б",fx="„",px="∵",gx="∵",mx="∵",_x="⦰",bx="϶",yx="ℬ",vx="ℬ",wx="Β",xx="β",kx="ℶ",Ex="≬",Cx="𝔅",Ax="𝔟",Sx="⋂",Tx="◯",Mx="⋃",Ox="⨀",Rx="⨁",Nx="⨂",Dx="⨆",Lx="★",Ix="▽",Px="△",Fx="⨄",Bx="⋁",$x="⋀",zx="⤍",jx="⧫",Ux="▪",qx="▴",Hx="▾",Vx="◂",Gx="▸",Kx="␣",Wx="▒",Zx="░",Yx="▓",Jx="█",Qx="=⃥",Xx="≡⃥",ek="⫭",tk="⌐",nk="𝔹",sk="𝕓",ok="⊥",rk="⊥",ik="⋈",ak="⧉",lk="┐",ck="╕",dk="╖",uk="╗",hk="┌",fk="╒",pk="╓",gk="╔",mk="─",_k="═",bk="┬",yk="╤",vk="╥",wk="╦",xk="┴",kk="╧",Ek="╨",Ck="╩",Ak="⊟",Sk="⊞",Tk="⊠",Mk="┘",Ok="╛",Rk="╜",Nk="╝",Dk="└",Lk="╘",Ik="╙",Pk="╚",Fk="│",Bk="║",$k="┼",zk="╪",jk="╫",Uk="╬",qk="┤",Hk="╡",Vk="╢",Gk="╣",Kk="├",Wk="╞",Zk="╟",Yk="╠",Jk="‵",Qk="˘",Xk="˘",e5="¦",t5="𝒷",n5="ℬ",s5="⁏",o5="∽",r5="⋍",i5="⧅",a5="\\",l5="⟈",c5="•",d5="•",u5="≎",h5="⪮",f5="≏",p5="≎",g5="≏",m5="Ć",_5="ć",b5="⩄",y5="⩉",v5="⩋",w5="∩",x5="⋒",k5="⩇",E5="⩀",C5="ⅅ",A5="∩︀",S5="⁁",T5="ˇ",M5="ℭ",O5="⩍",R5="Č",N5="č",D5="Ç",L5="ç",I5="Ĉ",P5="ĉ",F5="∰",B5="⩌",$5="⩐",z5="Ċ",j5="ċ",U5="¸",q5="¸",H5="⦲",V5="¢",G5="·",K5="·",W5="𝔠",Z5="ℭ",Y5="Ч",J5="ч",Q5="✓",X5="✓",eE="Χ",tE="χ",nE="ˆ",sE="≗",oE="↺",rE="↻",iE="⊛",aE="⊚",lE="⊝",cE="⊙",dE="®",uE="Ⓢ",hE="⊖",fE="⊕",pE="⊗",gE="○",mE="⧃",_E="≗",bE="⨐",yE="⫯",vE="⧂",wE="∲",xE="”",kE="’",EE="♣",CE="♣",AE=":",SE="∷",TE="⩴",ME="≔",OE="≔",RE=",",NE="@",DE="∁",LE="∘",IE="∁",PE="ℂ",FE="≅",BE="⩭",$E="≡",zE="∮",jE="∯",UE="∮",qE="𝕔",HE="ℂ",VE="∐",GE="∐",KE="©",WE="©",ZE="℗",YE="∳",JE="↵",QE="✗",XE="⨯",e4="𝒞",t4="𝒸",n4="⫏",s4="⫑",o4="⫐",r4="⫒",i4="⋯",a4="⤸",l4="⤵",c4="⋞",d4="⋟",u4="↶",h4="⤽",f4="⩈",p4="⩆",g4="≍",m4="∪",_4="⋓",b4="⩊",y4="⊍",v4="⩅",w4="∪︀",x4="↷",k4="⤼",E4="⋞",C4="⋟",A4="⋎",S4="⋏",T4="¤",M4="↶",O4="↷",R4="⋎",N4="⋏",D4="∲",L4="∱",I4="⌭",P4="†",F4="‡",B4="ℸ",$4="↓",z4="↡",j4="⇓",U4="‐",q4="⫤",H4="⊣",V4="⤏",G4="˝",K4="Ď",W4="ď",Z4="Д",Y4="д",J4="‡",Q4="⇊",X4="ⅅ",eC="ⅆ",tC="⤑",nC="⩷",sC="°",oC="∇",rC="Δ",iC="δ",aC="⦱",lC="⥿",cC="𝔇",dC="𝔡",uC="⥥",hC="⇃",fC="⇂",pC="´",gC="˙",mC="˝",_C="`",bC="˜",yC="⋄",vC="⋄",wC="⋄",xC="♦",kC="♦",EC="¨",CC="ⅆ",AC="ϝ",SC="⋲",TC="÷",MC="÷",OC="⋇",RC="⋇",NC="Ђ",DC="ђ",LC="⌞",IC="⌍",PC="$",FC="𝔻",BC="𝕕",$C="¨",zC="˙",jC="⃜",UC="≐",qC="≑",HC="≐",VC="∸",GC="∔",KC="⊡",WC="⌆",ZC="∯",YC="¨",JC="⇓",QC="⇐",XC="⇔",e8="⫤",t8="⟸",n8="⟺",s8="⟹",o8="⇒",r8="⊨",i8="⇑",a8="⇕",l8="∥",c8="⤓",d8="↓",u8="↓",h8="⇓",f8="⇵",p8="̑",g8="⇊",m8="⇃",_8="⇂",b8="⥐",y8="⥞",v8="⥖",w8="↽",x8="⥟",k8="⥗",E8="⇁",C8="↧",A8="⊤",S8="⤐",T8="⌟",M8="⌌",O8="𝒟",R8="𝒹",N8="Ѕ",D8="ѕ",L8="⧶",I8="Đ",P8="đ",F8="⋱",B8="▿",$8="▾",z8="⇵",j8="⥯",U8="⦦",q8="Џ",H8="џ",V8="⟿",G8="É",K8="é",W8="⩮",Z8="Ě",Y8="ě",J8="Ê",Q8="ê",X8="≖",e3="≕",t3="Э",n3="э",s3="⩷",o3="Ė",r3="ė",i3="≑",a3="ⅇ",l3="≒",c3="𝔈",d3="𝔢",u3="⪚",h3="È",f3="è",p3="⪖",g3="⪘",m3="⪙",_3="∈",b3="⏧",y3="ℓ",v3="⪕",w3="⪗",x3="Ē",k3="ē",E3="∅",C3="∅",A3="◻",S3="∅",T3="▫",M3=" ",O3=" ",R3=" ",N3="Ŋ",D3="ŋ",L3=" ",I3="Ę",P3="ę",F3="𝔼",B3="𝕖",$3="⋕",z3="⧣",j3="⩱",U3="ε",q3="Ε",H3="ε",V3="ϵ",G3="≖",K3="≕",W3="≂",Z3="⪖",Y3="⪕",J3="⩵",Q3="=",X3="≂",e9="≟",t9="⇌",n9="≡",s9="⩸",o9="⧥",r9="⥱",i9="≓",a9="ℯ",l9="ℰ",c9="≐",d9="⩳",u9="≂",h9="Η",f9="η",p9="Ð",g9="ð",m9="Ë",_9="ë",b9="€",y9="!",v9="∃",w9="∃",x9="ℰ",k9="ⅇ",E9="ⅇ",C9="≒",A9="Ф",S9="ф",T9="♀",M9="ffi",O9="ff",R9="ffl",N9="𝔉",D9="𝔣",L9="fi",I9="◼",P9="▪",F9="fj",B9="♭",$9="fl",z9="▱",j9="ƒ",U9="𝔽",q9="𝕗",H9="∀",V9="∀",G9="⋔",K9="⫙",W9="ℱ",Z9="⨍",Y9="½",J9="⅓",Q9="¼",X9="⅕",e6="⅙",t6="⅛",n6="⅔",s6="⅖",o6="¾",r6="⅗",i6="⅜",a6="⅘",l6="⅚",c6="⅝",d6="⅞",u6="⁄",h6="⌢",f6="𝒻",p6="ℱ",g6="ǵ",m6="Γ",_6="γ",b6="Ϝ",y6="ϝ",v6="⪆",w6="Ğ",x6="ğ",k6="Ģ",E6="Ĝ",C6="ĝ",A6="Г",S6="г",T6="Ġ",M6="ġ",O6="≥",R6="≧",N6="⪌",D6="⋛",L6="≥",I6="≧",P6="⩾",F6="⪩",B6="⩾",$6="⪀",z6="⪂",j6="⪄",U6="⋛︀",q6="⪔",H6="𝔊",V6="𝔤",G6="≫",K6="⋙",W6="⋙",Z6="ℷ",Y6="Ѓ",J6="ѓ",Q6="⪥",X6="≷",e7="⪒",t7="⪤",n7="⪊",s7="⪊",o7="⪈",r7="≩",i7="⪈",a7="≩",l7="⋧",c7="𝔾",d7="𝕘",u7="`",h7="≥",f7="⋛",p7="≧",g7="⪢",m7="≷",_7="⩾",b7="≳",y7="𝒢",v7="ℊ",w7="≳",x7="⪎",k7="⪐",E7="⪧",C7="⩺",A7=">",S7=">",T7="≫",M7="⋗",O7="⦕",R7="⩼",N7="⪆",D7="⥸",L7="⋗",I7="⋛",P7="⪌",F7="≷",B7="≳",$7="≩︀",z7="≩︀",j7="ˇ",U7=" ",q7="½",H7="ℋ",V7="Ъ",G7="ъ",K7="⥈",W7="↔",Z7="⇔",Y7="↭",J7="^",Q7="ℏ",X7="Ĥ",eA="ĥ",tA="♥",nA="♥",sA="…",oA="⊹",rA="𝔥",iA="ℌ",aA="ℋ",lA="⤥",cA="⤦",dA="⇿",uA="∻",hA="↩",fA="↪",pA="𝕙",gA="ℍ",mA="―",_A="─",bA="𝒽",yA="ℋ",vA="ℏ",wA="Ħ",xA="ħ",kA="≎",EA="≏",CA="⁃",AA="‐",SA="Í",TA="í",MA="⁣",OA="Î",RA="î",NA="И",DA="и",LA="İ",IA="Е",PA="е",FA="¡",BA="⇔",$A="𝔦",zA="ℑ",jA="Ì",UA="ì",qA="ⅈ",HA="⨌",VA="∭",GA="⧜",KA="℩",WA="IJ",ZA="ij",YA="Ī",JA="ī",QA="ℑ",XA="ⅈ",eS="ℐ",tS="ℑ",nS="ı",sS="ℑ",oS="⊷",rS="Ƶ",iS="⇒",aS="℅",lS="∞",cS="⧝",dS="ı",uS="⊺",hS="∫",fS="∬",pS="ℤ",gS="∫",mS="⊺",_S="⋂",bS="⨗",yS="⨼",vS="⁣",wS="⁢",xS="Ё",kS="ё",ES="Į",CS="į",AS="𝕀",SS="𝕚",TS="Ι",MS="ι",OS="⨼",RS="¿",NS="𝒾",DS="ℐ",LS="∈",IS="⋵",PS="⋹",FS="⋴",BS="⋳",$S="∈",zS="⁢",jS="Ĩ",US="ĩ",qS="І",HS="і",VS="Ï",GS="ï",KS="Ĵ",WS="ĵ",ZS="Й",YS="й",JS="𝔍",QS="𝔧",XS="ȷ",eT="𝕁",tT="𝕛",nT="𝒥",sT="𝒿",oT="Ј",rT="ј",iT="Є",aT="є",lT="Κ",cT="κ",dT="ϰ",uT="Ķ",hT="ķ",fT="К",pT="к",gT="𝔎",mT="𝔨",_T="ĸ",bT="Х",yT="х",vT="Ќ",wT="ќ",xT="𝕂",kT="𝕜",ET="𝒦",CT="𝓀",AT="⇚",ST="Ĺ",TT="ĺ",MT="⦴",OT="ℒ",RT="Λ",NT="λ",DT="⟨",LT="⟪",IT="⦑",PT="⟨",FT="⪅",BT="ℒ",$T="«",zT="⇤",jT="⤟",UT="←",qT="↞",HT="⇐",VT="⤝",GT="↩",KT="↫",WT="⤹",ZT="⥳",YT="↢",JT="⤙",QT="⤛",XT="⪫",eM="⪭",tM="⪭︀",nM="⤌",sM="⤎",oM="❲",rM="{",iM="[",aM="⦋",lM="⦏",cM="⦍",dM="Ľ",uM="ľ",hM="Ļ",fM="ļ",pM="⌈",gM="{",mM="Л",_M="л",bM="⤶",yM="“",vM="„",wM="⥧",xM="⥋",kM="↲",EM="≤",CM="≦",AM="⟨",SM="⇤",TM="←",MM="←",OM="⇐",RM="⇆",NM="↢",DM="⌈",LM="⟦",IM="⥡",PM="⥙",FM="⇃",BM="⌊",$M="↽",zM="↼",jM="⇇",UM="↔",qM="↔",HM="⇔",VM="⇆",GM="⇋",KM="↭",WM="⥎",ZM="↤",YM="⊣",JM="⥚",QM="⋋",XM="⧏",eO="⊲",tO="⊴",nO="⥑",sO="⥠",oO="⥘",rO="↿",iO="⥒",aO="↼",lO="⪋",cO="⋚",dO="≤",uO="≦",hO="⩽",fO="⪨",pO="⩽",gO="⩿",mO="⪁",_O="⪃",bO="⋚︀",yO="⪓",vO="⪅",wO="⋖",xO="⋚",kO="⪋",EO="⋚",CO="≦",AO="≶",SO="≶",TO="⪡",MO="≲",OO="⩽",RO="≲",NO="⥼",DO="⌊",LO="𝔏",IO="𝔩",PO="≶",FO="⪑",BO="⥢",$O="↽",zO="↼",jO="⥪",UO="▄",qO="Љ",HO="љ",VO="⇇",GO="≪",KO="⋘",WO="⌞",ZO="⇚",YO="⥫",JO="◺",QO="Ŀ",XO="ŀ",eR="⎰",tR="⎰",nR="⪉",sR="⪉",oR="⪇",rR="≨",iR="⪇",aR="≨",lR="⋦",cR="⟬",dR="⇽",uR="⟦",hR="⟵",fR="⟵",pR="⟸",gR="⟷",mR="⟷",_R="⟺",bR="⟼",yR="⟶",vR="⟶",wR="⟹",xR="↫",kR="↬",ER="⦅",CR="𝕃",AR="𝕝",SR="⨭",TR="⨴",MR="∗",OR="_",RR="↙",NR="↘",DR="◊",LR="◊",IR="⧫",PR="(",FR="⦓",BR="⇆",$R="⌟",zR="⇋",jR="⥭",UR="‎",qR="⊿",HR="‹",VR="𝓁",GR="ℒ",KR="↰",WR="↰",ZR="≲",YR="⪍",JR="⪏",QR="[",XR="‘",eN="‚",tN="Ł",nN="ł",sN="⪦",oN="⩹",rN="<",iN="<",aN="≪",lN="⋖",cN="⋋",dN="⋉",uN="⥶",hN="⩻",fN="◃",pN="⊴",gN="◂",mN="⦖",_N="⥊",bN="⥦",yN="≨︀",vN="≨︀",wN="¯",xN="♂",kN="✠",EN="✠",CN="↦",AN="↦",SN="↧",TN="↤",MN="↥",ON="▮",RN="⨩",NN="М",DN="м",LN="—",IN="∺",PN="∡",FN=" ",BN="ℳ",$N="𝔐",zN="𝔪",jN="℧",UN="µ",qN="*",HN="⫰",VN="∣",GN="·",KN="⊟",WN="−",ZN="∸",YN="⨪",JN="∓",QN="⫛",XN="…",eD="∓",tD="⊧",nD="𝕄",sD="𝕞",oD="∓",rD="𝓂",iD="ℳ",aD="∾",lD="Μ",cD="μ",dD="⊸",uD="⊸",hD="∇",fD="Ń",pD="ń",gD="∠⃒",mD="≉",_D="⩰̸",bD="≋̸",yD="ʼn",vD="≉",wD="♮",xD="ℕ",kD="♮",ED=" ",CD="≎̸",AD="≏̸",SD="⩃",TD="Ň",MD="ň",OD="Ņ",RD="ņ",ND="≇",DD="⩭̸",LD="⩂",ID="Н",PD="н",FD="–",BD="⤤",$D="↗",zD="⇗",jD="↗",UD="≠",qD="≐̸",HD="​",VD="​",GD="​",KD="​",WD="≢",ZD="⤨",YD="≂̸",JD="≫",QD="≪",XD=` -`,eL="∄",tL="∄",nL="𝔑",sL="𝔫",oL="≧̸",rL="≱",iL="≱",aL="≧̸",lL="⩾̸",cL="⩾̸",dL="⋙̸",uL="≵",hL="≫⃒",fL="≯",pL="≯",gL="≫̸",mL="↮",_L="⇎",bL="⫲",yL="∋",vL="⋼",wL="⋺",xL="∋",kL="Њ",EL="њ",CL="↚",AL="⇍",SL="‥",TL="≦̸",ML="≰",OL="↚",RL="⇍",NL="↮",DL="⇎",LL="≰",IL="≦̸",PL="⩽̸",FL="⩽̸",BL="≮",$L="⋘̸",zL="≴",jL="≪⃒",UL="≮",qL="⋪",HL="⋬",VL="≪̸",GL="∤",KL="⁠",WL=" ",ZL="𝕟",YL="ℕ",JL="⫬",QL="¬",XL="≢",eI="≭",tI="∦",nI="∉",sI="≠",oI="≂̸",rI="∄",iI="≯",aI="≱",lI="≧̸",cI="≫̸",dI="≹",uI="⩾̸",hI="≵",fI="≎̸",pI="≏̸",gI="∉",mI="⋵̸",_I="⋹̸",bI="∉",yI="⋷",vI="⋶",wI="⧏̸",xI="⋪",kI="⋬",EI="≮",CI="≰",AI="≸",SI="≪̸",TI="⩽̸",MI="≴",OI="⪢̸",RI="⪡̸",NI="∌",DI="∌",LI="⋾",II="⋽",PI="⊀",FI="⪯̸",BI="⋠",$I="∌",zI="⧐̸",jI="⋫",UI="⋭",qI="⊏̸",HI="⋢",VI="⊐̸",GI="⋣",KI="⊂⃒",WI="⊈",ZI="⊁",YI="⪰̸",JI="⋡",QI="≿̸",XI="⊃⃒",eP="⊉",tP="≁",nP="≄",sP="≇",oP="≉",rP="∤",iP="∦",aP="∦",lP="⫽⃥",cP="∂̸",dP="⨔",uP="⊀",hP="⋠",fP="⊀",pP="⪯̸",gP="⪯̸",mP="⤳̸",_P="↛",bP="⇏",yP="↝̸",vP="↛",wP="⇏",xP="⋫",kP="⋭",EP="⊁",CP="⋡",AP="⪰̸",SP="𝒩",TP="𝓃",MP="∤",OP="∦",RP="≁",NP="≄",DP="≄",LP="∤",IP="∦",PP="⋢",FP="⋣",BP="⊄",$P="⫅̸",zP="⊈",jP="⊂⃒",UP="⊈",qP="⫅̸",HP="⊁",VP="⪰̸",GP="⊅",KP="⫆̸",WP="⊉",ZP="⊃⃒",YP="⊉",JP="⫆̸",QP="≹",XP="Ñ",eF="ñ",tF="≸",nF="⋪",sF="⋬",oF="⋫",rF="⋭",iF="Ν",aF="ν",lF="#",cF="№",dF=" ",uF="≍⃒",hF="⊬",fF="⊭",pF="⊮",gF="⊯",mF="≥⃒",_F=">⃒",bF="⤄",yF="⧞",vF="⤂",wF="≤⃒",xF="<⃒",kF="⊴⃒",EF="⤃",CF="⊵⃒",AF="∼⃒",SF="⤣",TF="↖",MF="⇖",OF="↖",RF="⤧",NF="Ó",DF="ó",LF="⊛",IF="Ô",PF="ô",FF="⊚",BF="О",$F="о",zF="⊝",jF="Ő",UF="ő",qF="⨸",HF="⊙",VF="⦼",GF="Œ",KF="œ",WF="⦿",ZF="𝔒",YF="𝔬",JF="˛",QF="Ò",XF="ò",eB="⧁",tB="⦵",nB="Ω",sB="∮",oB="↺",rB="⦾",iB="⦻",aB="‾",lB="⧀",cB="Ō",dB="ō",uB="Ω",hB="ω",fB="Ο",pB="ο",gB="⦶",mB="⊖",_B="𝕆",bB="𝕠",yB="⦷",vB="“",wB="‘",xB="⦹",kB="⊕",EB="↻",CB="⩔",AB="∨",SB="⩝",TB="ℴ",MB="ℴ",OB="ª",RB="º",NB="⊶",DB="⩖",LB="⩗",IB="⩛",PB="Ⓢ",FB="𝒪",BB="ℴ",$B="Ø",zB="ø",jB="⊘",UB="Õ",qB="õ",HB="⨶",VB="⨷",GB="⊗",KB="Ö",WB="ö",ZB="⌽",YB="‾",JB="⏞",QB="⎴",XB="⏜",e$="¶",t$="∥",n$="∥",s$="⫳",o$="⫽",r$="∂",i$="∂",a$="П",l$="п",c$="%",d$=".",u$="‰",h$="⊥",f$="‱",p$="𝔓",g$="𝔭",m$="Φ",_$="φ",b$="ϕ",y$="ℳ",v$="☎",w$="Π",x$="π",k$="⋔",E$="ϖ",C$="ℏ",A$="ℎ",S$="ℏ",T$="⨣",M$="⊞",O$="⨢",R$="+",N$="∔",D$="⨥",L$="⩲",I$="±",P$="±",F$="⨦",B$="⨧",$$="±",z$="ℌ",j$="⨕",U$="𝕡",q$="ℙ",H$="£",V$="⪷",G$="⪻",K$="≺",W$="≼",Z$="⪷",Y$="≺",J$="≼",Q$="≺",X$="⪯",ez="≼",tz="≾",nz="⪯",sz="⪹",oz="⪵",rz="⋨",iz="⪯",az="⪳",lz="≾",cz="′",dz="″",uz="ℙ",hz="⪹",fz="⪵",pz="⋨",gz="∏",mz="∏",_z="⌮",bz="⌒",yz="⌓",vz="∝",wz="∝",xz="∷",kz="∝",Ez="≾",Cz="⊰",Az="𝒫",Sz="𝓅",Tz="Ψ",Mz="ψ",Oz=" ",Rz="𝔔",Nz="𝔮",Dz="⨌",Lz="𝕢",Iz="ℚ",Pz="⁗",Fz="𝒬",Bz="𝓆",$z="ℍ",zz="⨖",jz="?",Uz="≟",qz='"',Hz='"',Vz="⇛",Gz="∽̱",Kz="Ŕ",Wz="ŕ",Zz="√",Yz="⦳",Jz="⟩",Qz="⟫",Xz="⦒",ej="⦥",tj="⟩",nj="»",sj="⥵",oj="⇥",rj="⤠",ij="⤳",aj="→",lj="↠",cj="⇒",dj="⤞",uj="↪",hj="↬",fj="⥅",pj="⥴",gj="⤖",mj="↣",_j="↝",bj="⤚",yj="⤜",vj="∶",wj="ℚ",xj="⤍",kj="⤏",Ej="⤐",Cj="❳",Aj="}",Sj="]",Tj="⦌",Mj="⦎",Oj="⦐",Rj="Ř",Nj="ř",Dj="Ŗ",Lj="ŗ",Ij="⌉",Pj="}",Fj="Р",Bj="р",$j="⤷",zj="⥩",jj="”",Uj="”",qj="↳",Hj="ℜ",Vj="ℛ",Gj="ℜ",Kj="ℝ",Wj="ℜ",Zj="▭",Yj="®",Jj="®",Qj="∋",Xj="⇋",eU="⥯",tU="⥽",nU="⌋",sU="𝔯",oU="ℜ",rU="⥤",iU="⇁",aU="⇀",lU="⥬",cU="Ρ",dU="ρ",uU="ϱ",hU="⟩",fU="⇥",pU="→",gU="→",mU="⇒",_U="⇄",bU="↣",yU="⌉",vU="⟧",wU="⥝",xU="⥕",kU="⇂",EU="⌋",CU="⇁",AU="⇀",SU="⇄",TU="⇌",MU="⇉",OU="↝",RU="↦",NU="⊢",DU="⥛",LU="⋌",IU="⧐",PU="⊳",FU="⊵",BU="⥏",$U="⥜",zU="⥔",jU="↾",UU="⥓",qU="⇀",HU="˚",VU="≓",GU="⇄",KU="⇌",WU="‏",ZU="⎱",YU="⎱",JU="⫮",QU="⟭",XU="⇾",eq="⟧",tq="⦆",nq="𝕣",sq="ℝ",oq="⨮",rq="⨵",iq="⥰",aq=")",lq="⦔",cq="⨒",dq="⇉",uq="⇛",hq="›",fq="𝓇",pq="ℛ",gq="↱",mq="↱",_q="]",bq="’",yq="’",vq="⋌",wq="⋊",xq="▹",kq="⊵",Eq="▸",Cq="⧎",Aq="⧴",Sq="⥨",Tq="℞",Mq="Ś",Oq="ś",Rq="‚",Nq="⪸",Dq="Š",Lq="š",Iq="⪼",Pq="≻",Fq="≽",Bq="⪰",$q="⪴",zq="Ş",jq="ş",Uq="Ŝ",qq="ŝ",Hq="⪺",Vq="⪶",Gq="⋩",Kq="⨓",Wq="≿",Zq="С",Yq="с",Jq="⊡",Qq="⋅",Xq="⩦",eH="⤥",tH="↘",nH="⇘",sH="↘",oH="§",rH=";",iH="⤩",aH="∖",lH="∖",cH="✶",dH="𝔖",uH="𝔰",hH="⌢",fH="♯",pH="Щ",gH="щ",mH="Ш",_H="ш",bH="↓",yH="←",vH="∣",wH="∥",xH="→",kH="↑",EH="­",CH="Σ",AH="σ",SH="ς",TH="ς",MH="∼",OH="⩪",RH="≃",NH="≃",DH="⪞",LH="⪠",IH="⪝",PH="⪟",FH="≆",BH="⨤",$H="⥲",zH="←",jH="∘",UH="∖",qH="⨳",HH="⧤",VH="∣",GH="⌣",KH="⪪",WH="⪬",ZH="⪬︀",YH="Ь",JH="ь",QH="⌿",XH="⧄",eV="/",tV="𝕊",nV="𝕤",sV="♠",oV="♠",rV="∥",iV="⊓",aV="⊓︀",lV="⊔",cV="⊔︀",dV="√",uV="⊏",hV="⊑",fV="⊏",pV="⊑",gV="⊐",mV="⊒",_V="⊐",bV="⊒",yV="□",vV="□",wV="⊓",xV="⊏",kV="⊑",EV="⊐",CV="⊒",AV="⊔",SV="▪",TV="□",MV="▪",OV="→",RV="𝒮",NV="𝓈",DV="∖",LV="⌣",IV="⋆",PV="⋆",FV="☆",BV="★",$V="ϵ",zV="ϕ",jV="¯",UV="⊂",qV="⋐",HV="⪽",VV="⫅",GV="⊆",KV="⫃",WV="⫁",ZV="⫋",YV="⊊",JV="⪿",QV="⥹",XV="⊂",eG="⋐",tG="⊆",nG="⫅",sG="⊆",oG="⊊",rG="⫋",iG="⫇",aG="⫕",lG="⫓",cG="⪸",dG="≻",uG="≽",hG="≻",fG="⪰",pG="≽",gG="≿",mG="⪰",_G="⪺",bG="⪶",yG="⋩",vG="≿",wG="∋",xG="∑",kG="∑",EG="♪",CG="¹",AG="²",SG="³",TG="⊃",MG="⋑",OG="⪾",RG="⫘",NG="⫆",DG="⊇",LG="⫄",IG="⊃",PG="⊇",FG="⟉",BG="⫗",$G="⥻",zG="⫂",jG="⫌",UG="⊋",qG="⫀",HG="⊃",VG="⋑",GG="⊇",KG="⫆",WG="⊋",ZG="⫌",YG="⫈",JG="⫔",QG="⫖",XG="⤦",eK="↙",tK="⇙",nK="↙",sK="⤪",oK="ß",rK=" ",iK="⌖",aK="Τ",lK="τ",cK="⎴",dK="Ť",uK="ť",hK="Ţ",fK="ţ",pK="Т",gK="т",mK="⃛",_K="⌕",bK="𝔗",yK="𝔱",vK="∴",wK="∴",xK="∴",kK="Θ",EK="θ",CK="ϑ",AK="ϑ",SK="≈",TK="∼",MK="  ",OK=" ",RK=" ",NK="≈",DK="∼",LK="Þ",IK="þ",PK="˜",FK="∼",BK="≃",$K="≅",zK="≈",jK="⨱",UK="⊠",qK="×",HK="⨰",VK="∭",GK="⤨",KK="⌶",WK="⫱",ZK="⊤",YK="𝕋",JK="𝕥",QK="⫚",XK="⤩",eW="‴",tW="™",nW="™",sW="▵",oW="▿",rW="◃",iW="⊴",aW="≜",lW="▹",cW="⊵",dW="◬",uW="≜",hW="⨺",fW="⃛",pW="⨹",gW="⧍",mW="⨻",_W="⏢",bW="𝒯",yW="𝓉",vW="Ц",wW="ц",xW="Ћ",kW="ћ",EW="Ŧ",CW="ŧ",AW="≬",SW="↞",TW="↠",MW="Ú",OW="ú",RW="↑",NW="↟",DW="⇑",LW="⥉",IW="Ў",PW="ў",FW="Ŭ",BW="ŭ",$W="Û",zW="û",jW="У",UW="у",qW="⇅",HW="Ű",VW="ű",GW="⥮",KW="⥾",WW="𝔘",ZW="𝔲",YW="Ù",JW="ù",QW="⥣",XW="↿",eZ="↾",tZ="▀",nZ="⌜",sZ="⌜",oZ="⌏",rZ="◸",iZ="Ū",aZ="ū",lZ="¨",cZ="_",dZ="⏟",uZ="⎵",hZ="⏝",fZ="⋃",pZ="⊎",gZ="Ų",mZ="ų",_Z="𝕌",bZ="𝕦",yZ="⤒",vZ="↑",wZ="↑",xZ="⇑",kZ="⇅",EZ="↕",CZ="↕",AZ="⇕",SZ="⥮",TZ="↿",MZ="↾",OZ="⊎",RZ="↖",NZ="↗",DZ="υ",LZ="ϒ",IZ="ϒ",PZ="Υ",FZ="υ",BZ="↥",$Z="⊥",zZ="⇈",jZ="⌝",UZ="⌝",qZ="⌎",HZ="Ů",VZ="ů",GZ="◹",KZ="𝒰",WZ="𝓊",ZZ="⋰",YZ="Ũ",JZ="ũ",QZ="▵",XZ="▴",eY="⇈",tY="Ü",nY="ü",sY="⦧",oY="⦜",rY="ϵ",iY="ϰ",aY="∅",lY="ϕ",cY="ϖ",dY="∝",uY="↕",hY="⇕",fY="ϱ",pY="ς",gY="⊊︀",mY="⫋︀",_Y="⊋︀",bY="⫌︀",yY="ϑ",vY="⊲",wY="⊳",xY="⫨",kY="⫫",EY="⫩",CY="В",AY="в",SY="⊢",TY="⊨",MY="⊩",OY="⊫",RY="⫦",NY="⊻",DY="∨",LY="⋁",IY="≚",PY="⋮",FY="|",BY="‖",$Y="|",zY="‖",jY="∣",UY="|",qY="❘",HY="≀",VY=" ",GY="𝔙",KY="𝔳",WY="⊲",ZY="⊂⃒",YY="⊃⃒",JY="𝕍",QY="𝕧",XY="∝",eJ="⊳",tJ="𝒱",nJ="𝓋",sJ="⫋︀",oJ="⊊︀",rJ="⫌︀",iJ="⊋︀",aJ="⊪",lJ="⦚",cJ="Ŵ",dJ="ŵ",uJ="⩟",hJ="∧",fJ="⋀",pJ="≙",gJ="℘",mJ="𝔚",_J="𝔴",bJ="𝕎",yJ="𝕨",vJ="℘",wJ="≀",xJ="≀",kJ="𝒲",EJ="𝓌",CJ="⋂",AJ="◯",SJ="⋃",TJ="▽",MJ="𝔛",OJ="𝔵",RJ="⟷",NJ="⟺",DJ="Ξ",LJ="ξ",IJ="⟵",PJ="⟸",FJ="⟼",BJ="⋻",$J="⨀",zJ="𝕏",jJ="𝕩",UJ="⨁",qJ="⨂",HJ="⟶",VJ="⟹",GJ="𝒳",KJ="𝓍",WJ="⨆",ZJ="⨄",YJ="△",JJ="⋁",QJ="⋀",XJ="Ý",eQ="ý",tQ="Я",nQ="я",sQ="Ŷ",oQ="ŷ",rQ="Ы",iQ="ы",aQ="¥",lQ="𝔜",cQ="𝔶",dQ="Ї",uQ="ї",hQ="𝕐",fQ="𝕪",pQ="𝒴",gQ="𝓎",mQ="Ю",_Q="ю",bQ="ÿ",yQ="Ÿ",vQ="Ź",wQ="ź",xQ="Ž",kQ="ž",EQ="З",CQ="з",AQ="Ż",SQ="ż",TQ="ℨ",MQ="​",OQ="Ζ",RQ="ζ",NQ="𝔷",DQ="ℨ",LQ="Ж",IQ="ж",PQ="⇝",FQ="𝕫",BQ="ℤ",$Q="𝒵",zQ="𝓏",jQ="‍",UQ="‌",qQ={Aacute:Av,aacute:Sv,Abreve:Tv,abreve:Mv,ac:Ov,acd:Rv,acE:Nv,Acirc:Dv,acirc:Lv,acute:Iv,Acy:Pv,acy:Fv,AElig:Bv,aelig:$v,af:zv,Afr:jv,afr:Uv,Agrave:qv,agrave:Hv,alefsym:Vv,aleph:Gv,Alpha:Kv,alpha:Wv,Amacr:Zv,amacr:Yv,amalg:Jv,amp:Qv,AMP:Xv,andand:ew,And:tw,and:nw,andd:sw,andslope:ow,andv:rw,ang:iw,ange:aw,angle:lw,angmsdaa:cw,angmsdab:dw,angmsdac:uw,angmsdad:hw,angmsdae:fw,angmsdaf:pw,angmsdag:gw,angmsdah:mw,angmsd:_w,angrt:bw,angrtvb:yw,angrtvbd:vw,angsph:ww,angst:xw,angzarr:kw,Aogon:Ew,aogon:Cw,Aopf:Aw,aopf:Sw,apacir:Tw,ap:Mw,apE:Ow,ape:Rw,apid:Nw,apos:Dw,ApplyFunction:Lw,approx:Iw,approxeq:Pw,Aring:Fw,aring:Bw,Ascr:$w,ascr:zw,Assign:jw,ast:Uw,asymp:qw,asympeq:Hw,Atilde:Vw,atilde:Gw,Auml:Kw,auml:Ww,awconint:Zw,awint:Yw,backcong:Jw,backepsilon:Qw,backprime:Xw,backsim:ex,backsimeq:tx,Backslash:nx,Barv:sx,barvee:ox,barwed:rx,Barwed:ix,barwedge:ax,bbrk:lx,bbrktbrk:cx,bcong:dx,Bcy:ux,bcy:hx,bdquo:fx,becaus:px,because:gx,Because:mx,bemptyv:_x,bepsi:bx,bernou:yx,Bernoullis:vx,Beta:wx,beta:xx,beth:kx,between:Ex,Bfr:Cx,bfr:Ax,bigcap:Sx,bigcirc:Tx,bigcup:Mx,bigodot:Ox,bigoplus:Rx,bigotimes:Nx,bigsqcup:Dx,bigstar:Lx,bigtriangledown:Ix,bigtriangleup:Px,biguplus:Fx,bigvee:Bx,bigwedge:$x,bkarow:zx,blacklozenge:jx,blacksquare:Ux,blacktriangle:qx,blacktriangledown:Hx,blacktriangleleft:Vx,blacktriangleright:Gx,blank:Kx,blk12:Wx,blk14:Zx,blk34:Yx,block:Jx,bne:Qx,bnequiv:Xx,bNot:ek,bnot:tk,Bopf:nk,bopf:sk,bot:ok,bottom:rk,bowtie:ik,boxbox:ak,boxdl:lk,boxdL:ck,boxDl:dk,boxDL:uk,boxdr:hk,boxdR:fk,boxDr:pk,boxDR:gk,boxh:mk,boxH:_k,boxhd:bk,boxHd:yk,boxhD:vk,boxHD:wk,boxhu:xk,boxHu:kk,boxhU:Ek,boxHU:Ck,boxminus:Ak,boxplus:Sk,boxtimes:Tk,boxul:Mk,boxuL:Ok,boxUl:Rk,boxUL:Nk,boxur:Dk,boxuR:Lk,boxUr:Ik,boxUR:Pk,boxv:Fk,boxV:Bk,boxvh:$k,boxvH:zk,boxVh:jk,boxVH:Uk,boxvl:qk,boxvL:Hk,boxVl:Vk,boxVL:Gk,boxvr:Kk,boxvR:Wk,boxVr:Zk,boxVR:Yk,bprime:Jk,breve:Qk,Breve:Xk,brvbar:e5,bscr:t5,Bscr:n5,bsemi:s5,bsim:o5,bsime:r5,bsolb:i5,bsol:a5,bsolhsub:l5,bull:c5,bullet:d5,bump:u5,bumpE:h5,bumpe:f5,Bumpeq:p5,bumpeq:g5,Cacute:m5,cacute:_5,capand:b5,capbrcup:y5,capcap:v5,cap:w5,Cap:x5,capcup:k5,capdot:E5,CapitalDifferentialD:C5,caps:A5,caret:S5,caron:T5,Cayleys:M5,ccaps:O5,Ccaron:R5,ccaron:N5,Ccedil:D5,ccedil:L5,Ccirc:I5,ccirc:P5,Cconint:F5,ccups:B5,ccupssm:$5,Cdot:z5,cdot:j5,cedil:U5,Cedilla:q5,cemptyv:H5,cent:V5,centerdot:G5,CenterDot:K5,cfr:W5,Cfr:Z5,CHcy:Y5,chcy:J5,check:Q5,checkmark:X5,Chi:eE,chi:tE,circ:nE,circeq:sE,circlearrowleft:oE,circlearrowright:rE,circledast:iE,circledcirc:aE,circleddash:lE,CircleDot:cE,circledR:dE,circledS:uE,CircleMinus:hE,CirclePlus:fE,CircleTimes:pE,cir:gE,cirE:mE,cire:_E,cirfnint:bE,cirmid:yE,cirscir:vE,ClockwiseContourIntegral:wE,CloseCurlyDoubleQuote:xE,CloseCurlyQuote:kE,clubs:EE,clubsuit:CE,colon:AE,Colon:SE,Colone:TE,colone:ME,coloneq:OE,comma:RE,commat:NE,comp:DE,compfn:LE,complement:IE,complexes:PE,cong:FE,congdot:BE,Congruent:$E,conint:zE,Conint:jE,ContourIntegral:UE,copf:qE,Copf:HE,coprod:VE,Coproduct:GE,copy:KE,COPY:WE,copysr:ZE,CounterClockwiseContourIntegral:YE,crarr:JE,cross:QE,Cross:XE,Cscr:e4,cscr:t4,csub:n4,csube:s4,csup:o4,csupe:r4,ctdot:i4,cudarrl:a4,cudarrr:l4,cuepr:c4,cuesc:d4,cularr:u4,cularrp:h4,cupbrcap:f4,cupcap:p4,CupCap:g4,cup:m4,Cup:_4,cupcup:b4,cupdot:y4,cupor:v4,cups:w4,curarr:x4,curarrm:k4,curlyeqprec:E4,curlyeqsucc:C4,curlyvee:A4,curlywedge:S4,curren:T4,curvearrowleft:M4,curvearrowright:O4,cuvee:R4,cuwed:N4,cwconint:D4,cwint:L4,cylcty:I4,dagger:P4,Dagger:F4,daleth:B4,darr:$4,Darr:z4,dArr:j4,dash:U4,Dashv:q4,dashv:H4,dbkarow:V4,dblac:G4,Dcaron:K4,dcaron:W4,Dcy:Z4,dcy:Y4,ddagger:J4,ddarr:Q4,DD:X4,dd:eC,DDotrahd:tC,ddotseq:nC,deg:sC,Del:oC,Delta:rC,delta:iC,demptyv:aC,dfisht:lC,Dfr:cC,dfr:dC,dHar:uC,dharl:hC,dharr:fC,DiacriticalAcute:pC,DiacriticalDot:gC,DiacriticalDoubleAcute:mC,DiacriticalGrave:_C,DiacriticalTilde:bC,diam:yC,diamond:vC,Diamond:wC,diamondsuit:xC,diams:kC,die:EC,DifferentialD:CC,digamma:AC,disin:SC,div:TC,divide:MC,divideontimes:OC,divonx:RC,DJcy:NC,djcy:DC,dlcorn:LC,dlcrop:IC,dollar:PC,Dopf:FC,dopf:BC,Dot:$C,dot:zC,DotDot:jC,doteq:UC,doteqdot:qC,DotEqual:HC,dotminus:VC,dotplus:GC,dotsquare:KC,doublebarwedge:WC,DoubleContourIntegral:ZC,DoubleDot:YC,DoubleDownArrow:JC,DoubleLeftArrow:QC,DoubleLeftRightArrow:XC,DoubleLeftTee:e8,DoubleLongLeftArrow:t8,DoubleLongLeftRightArrow:n8,DoubleLongRightArrow:s8,DoubleRightArrow:o8,DoubleRightTee:r8,DoubleUpArrow:i8,DoubleUpDownArrow:a8,DoubleVerticalBar:l8,DownArrowBar:c8,downarrow:d8,DownArrow:u8,Downarrow:h8,DownArrowUpArrow:f8,DownBreve:p8,downdownarrows:g8,downharpoonleft:m8,downharpoonright:_8,DownLeftRightVector:b8,DownLeftTeeVector:y8,DownLeftVectorBar:v8,DownLeftVector:w8,DownRightTeeVector:x8,DownRightVectorBar:k8,DownRightVector:E8,DownTeeArrow:C8,DownTee:A8,drbkarow:S8,drcorn:T8,drcrop:M8,Dscr:O8,dscr:R8,DScy:N8,dscy:D8,dsol:L8,Dstrok:I8,dstrok:P8,dtdot:F8,dtri:B8,dtrif:$8,duarr:z8,duhar:j8,dwangle:U8,DZcy:q8,dzcy:H8,dzigrarr:V8,Eacute:G8,eacute:K8,easter:W8,Ecaron:Z8,ecaron:Y8,Ecirc:J8,ecirc:Q8,ecir:X8,ecolon:e3,Ecy:t3,ecy:n3,eDDot:s3,Edot:o3,edot:r3,eDot:i3,ee:a3,efDot:l3,Efr:c3,efr:d3,eg:u3,Egrave:h3,egrave:f3,egs:p3,egsdot:g3,el:m3,Element:_3,elinters:b3,ell:y3,els:v3,elsdot:w3,Emacr:x3,emacr:k3,empty:E3,emptyset:C3,EmptySmallSquare:A3,emptyv:S3,EmptyVerySmallSquare:T3,emsp13:M3,emsp14:O3,emsp:R3,ENG:N3,eng:D3,ensp:L3,Eogon:I3,eogon:P3,Eopf:F3,eopf:B3,epar:$3,eparsl:z3,eplus:j3,epsi:U3,Epsilon:q3,epsilon:H3,epsiv:V3,eqcirc:G3,eqcolon:K3,eqsim:W3,eqslantgtr:Z3,eqslantless:Y3,Equal:J3,equals:Q3,EqualTilde:X3,equest:e9,Equilibrium:t9,equiv:n9,equivDD:s9,eqvparsl:o9,erarr:r9,erDot:i9,escr:a9,Escr:l9,esdot:c9,Esim:d9,esim:u9,Eta:h9,eta:f9,ETH:p9,eth:g9,Euml:m9,euml:_9,euro:b9,excl:y9,exist:v9,Exists:w9,expectation:x9,exponentiale:k9,ExponentialE:E9,fallingdotseq:C9,Fcy:A9,fcy:S9,female:T9,ffilig:M9,fflig:O9,ffllig:R9,Ffr:N9,ffr:D9,filig:L9,FilledSmallSquare:I9,FilledVerySmallSquare:P9,fjlig:F9,flat:B9,fllig:$9,fltns:z9,fnof:j9,Fopf:U9,fopf:q9,forall:H9,ForAll:V9,fork:G9,forkv:K9,Fouriertrf:W9,fpartint:Z9,frac12:Y9,frac13:J9,frac14:Q9,frac15:X9,frac16:e6,frac18:t6,frac23:n6,frac25:s6,frac34:o6,frac35:r6,frac38:i6,frac45:a6,frac56:l6,frac58:c6,frac78:d6,frasl:u6,frown:h6,fscr:f6,Fscr:p6,gacute:g6,Gamma:m6,gamma:_6,Gammad:b6,gammad:y6,gap:v6,Gbreve:w6,gbreve:x6,Gcedil:k6,Gcirc:E6,gcirc:C6,Gcy:A6,gcy:S6,Gdot:T6,gdot:M6,ge:O6,gE:R6,gEl:N6,gel:D6,geq:L6,geqq:I6,geqslant:P6,gescc:F6,ges:B6,gesdot:$6,gesdoto:z6,gesdotol:j6,gesl:U6,gesles:q6,Gfr:H6,gfr:V6,gg:G6,Gg:K6,ggg:W6,gimel:Z6,GJcy:Y6,gjcy:J6,gla:Q6,gl:X6,glE:e7,glj:t7,gnap:n7,gnapprox:s7,gne:o7,gnE:r7,gneq:i7,gneqq:a7,gnsim:l7,Gopf:c7,gopf:d7,grave:u7,GreaterEqual:h7,GreaterEqualLess:f7,GreaterFullEqual:p7,GreaterGreater:g7,GreaterLess:m7,GreaterSlantEqual:_7,GreaterTilde:b7,Gscr:y7,gscr:v7,gsim:w7,gsime:x7,gsiml:k7,gtcc:E7,gtcir:C7,gt:A7,GT:S7,Gt:T7,gtdot:M7,gtlPar:O7,gtquest:R7,gtrapprox:N7,gtrarr:D7,gtrdot:L7,gtreqless:I7,gtreqqless:P7,gtrless:F7,gtrsim:B7,gvertneqq:$7,gvnE:z7,Hacek:j7,hairsp:U7,half:q7,hamilt:H7,HARDcy:V7,hardcy:G7,harrcir:K7,harr:W7,hArr:Z7,harrw:Y7,Hat:J7,hbar:Q7,Hcirc:X7,hcirc:eA,hearts:tA,heartsuit:nA,hellip:sA,hercon:oA,hfr:rA,Hfr:iA,HilbertSpace:aA,hksearow:lA,hkswarow:cA,hoarr:dA,homtht:uA,hookleftarrow:hA,hookrightarrow:fA,hopf:pA,Hopf:gA,horbar:mA,HorizontalLine:_A,hscr:bA,Hscr:yA,hslash:vA,Hstrok:wA,hstrok:xA,HumpDownHump:kA,HumpEqual:EA,hybull:CA,hyphen:AA,Iacute:SA,iacute:TA,ic:MA,Icirc:OA,icirc:RA,Icy:NA,icy:DA,Idot:LA,IEcy:IA,iecy:PA,iexcl:FA,iff:BA,ifr:$A,Ifr:zA,Igrave:jA,igrave:UA,ii:qA,iiiint:HA,iiint:VA,iinfin:GA,iiota:KA,IJlig:WA,ijlig:ZA,Imacr:YA,imacr:JA,image:QA,ImaginaryI:XA,imagline:eS,imagpart:tS,imath:nS,Im:sS,imof:oS,imped:rS,Implies:iS,incare:aS,in:"∈",infin:lS,infintie:cS,inodot:dS,intcal:uS,int:hS,Int:fS,integers:pS,Integral:gS,intercal:mS,Intersection:_S,intlarhk:bS,intprod:yS,InvisibleComma:vS,InvisibleTimes:wS,IOcy:xS,iocy:kS,Iogon:ES,iogon:CS,Iopf:AS,iopf:SS,Iota:TS,iota:MS,iprod:OS,iquest:RS,iscr:NS,Iscr:DS,isin:LS,isindot:IS,isinE:PS,isins:FS,isinsv:BS,isinv:$S,it:zS,Itilde:jS,itilde:US,Iukcy:qS,iukcy:HS,Iuml:VS,iuml:GS,Jcirc:KS,jcirc:WS,Jcy:ZS,jcy:YS,Jfr:JS,jfr:QS,jmath:XS,Jopf:eT,jopf:tT,Jscr:nT,jscr:sT,Jsercy:oT,jsercy:rT,Jukcy:iT,jukcy:aT,Kappa:lT,kappa:cT,kappav:dT,Kcedil:uT,kcedil:hT,Kcy:fT,kcy:pT,Kfr:gT,kfr:mT,kgreen:_T,KHcy:bT,khcy:yT,KJcy:vT,kjcy:wT,Kopf:xT,kopf:kT,Kscr:ET,kscr:CT,lAarr:AT,Lacute:ST,lacute:TT,laemptyv:MT,lagran:OT,Lambda:RT,lambda:NT,lang:DT,Lang:LT,langd:IT,langle:PT,lap:FT,Laplacetrf:BT,laquo:$T,larrb:zT,larrbfs:jT,larr:UT,Larr:qT,lArr:HT,larrfs:VT,larrhk:GT,larrlp:KT,larrpl:WT,larrsim:ZT,larrtl:YT,latail:JT,lAtail:QT,lat:XT,late:eM,lates:tM,lbarr:nM,lBarr:sM,lbbrk:oM,lbrace:rM,lbrack:iM,lbrke:aM,lbrksld:lM,lbrkslu:cM,Lcaron:dM,lcaron:uM,Lcedil:hM,lcedil:fM,lceil:pM,lcub:gM,Lcy:mM,lcy:_M,ldca:bM,ldquo:yM,ldquor:vM,ldrdhar:wM,ldrushar:xM,ldsh:kM,le:EM,lE:CM,LeftAngleBracket:AM,LeftArrowBar:SM,leftarrow:TM,LeftArrow:MM,Leftarrow:OM,LeftArrowRightArrow:RM,leftarrowtail:NM,LeftCeiling:DM,LeftDoubleBracket:LM,LeftDownTeeVector:IM,LeftDownVectorBar:PM,LeftDownVector:FM,LeftFloor:BM,leftharpoondown:$M,leftharpoonup:zM,leftleftarrows:jM,leftrightarrow:UM,LeftRightArrow:qM,Leftrightarrow:HM,leftrightarrows:VM,leftrightharpoons:GM,leftrightsquigarrow:KM,LeftRightVector:WM,LeftTeeArrow:ZM,LeftTee:YM,LeftTeeVector:JM,leftthreetimes:QM,LeftTriangleBar:XM,LeftTriangle:eO,LeftTriangleEqual:tO,LeftUpDownVector:nO,LeftUpTeeVector:sO,LeftUpVectorBar:oO,LeftUpVector:rO,LeftVectorBar:iO,LeftVector:aO,lEg:lO,leg:cO,leq:dO,leqq:uO,leqslant:hO,lescc:fO,les:pO,lesdot:gO,lesdoto:mO,lesdotor:_O,lesg:bO,lesges:yO,lessapprox:vO,lessdot:wO,lesseqgtr:xO,lesseqqgtr:kO,LessEqualGreater:EO,LessFullEqual:CO,LessGreater:AO,lessgtr:SO,LessLess:TO,lesssim:MO,LessSlantEqual:OO,LessTilde:RO,lfisht:NO,lfloor:DO,Lfr:LO,lfr:IO,lg:PO,lgE:FO,lHar:BO,lhard:$O,lharu:zO,lharul:jO,lhblk:UO,LJcy:qO,ljcy:HO,llarr:VO,ll:GO,Ll:KO,llcorner:WO,Lleftarrow:ZO,llhard:YO,lltri:JO,Lmidot:QO,lmidot:XO,lmoustache:eR,lmoust:tR,lnap:nR,lnapprox:sR,lne:oR,lnE:rR,lneq:iR,lneqq:aR,lnsim:lR,loang:cR,loarr:dR,lobrk:uR,longleftarrow:hR,LongLeftArrow:fR,Longleftarrow:pR,longleftrightarrow:gR,LongLeftRightArrow:mR,Longleftrightarrow:_R,longmapsto:bR,longrightarrow:yR,LongRightArrow:vR,Longrightarrow:wR,looparrowleft:xR,looparrowright:kR,lopar:ER,Lopf:CR,lopf:AR,loplus:SR,lotimes:TR,lowast:MR,lowbar:OR,LowerLeftArrow:RR,LowerRightArrow:NR,loz:DR,lozenge:LR,lozf:IR,lpar:PR,lparlt:FR,lrarr:BR,lrcorner:$R,lrhar:zR,lrhard:jR,lrm:UR,lrtri:qR,lsaquo:HR,lscr:VR,Lscr:GR,lsh:KR,Lsh:WR,lsim:ZR,lsime:YR,lsimg:JR,lsqb:QR,lsquo:XR,lsquor:eN,Lstrok:tN,lstrok:nN,ltcc:sN,ltcir:oN,lt:rN,LT:iN,Lt:aN,ltdot:lN,lthree:cN,ltimes:dN,ltlarr:uN,ltquest:hN,ltri:fN,ltrie:pN,ltrif:gN,ltrPar:mN,lurdshar:_N,luruhar:bN,lvertneqq:yN,lvnE:vN,macr:wN,male:xN,malt:kN,maltese:EN,Map:"⤅",map:CN,mapsto:AN,mapstodown:SN,mapstoleft:TN,mapstoup:MN,marker:ON,mcomma:RN,Mcy:NN,mcy:DN,mdash:LN,mDDot:IN,measuredangle:PN,MediumSpace:FN,Mellintrf:BN,Mfr:$N,mfr:zN,mho:jN,micro:UN,midast:qN,midcir:HN,mid:VN,middot:GN,minusb:KN,minus:WN,minusd:ZN,minusdu:YN,MinusPlus:JN,mlcp:QN,mldr:XN,mnplus:eD,models:tD,Mopf:nD,mopf:sD,mp:oD,mscr:rD,Mscr:iD,mstpos:aD,Mu:lD,mu:cD,multimap:dD,mumap:uD,nabla:hD,Nacute:fD,nacute:pD,nang:gD,nap:mD,napE:_D,napid:bD,napos:yD,napprox:vD,natural:wD,naturals:xD,natur:kD,nbsp:ED,nbump:CD,nbumpe:AD,ncap:SD,Ncaron:TD,ncaron:MD,Ncedil:OD,ncedil:RD,ncong:ND,ncongdot:DD,ncup:LD,Ncy:ID,ncy:PD,ndash:FD,nearhk:BD,nearr:$D,neArr:zD,nearrow:jD,ne:UD,nedot:qD,NegativeMediumSpace:HD,NegativeThickSpace:VD,NegativeThinSpace:GD,NegativeVeryThinSpace:KD,nequiv:WD,nesear:ZD,nesim:YD,NestedGreaterGreater:JD,NestedLessLess:QD,NewLine:XD,nexist:eL,nexists:tL,Nfr:nL,nfr:sL,ngE:oL,nge:rL,ngeq:iL,ngeqq:aL,ngeqslant:lL,nges:cL,nGg:dL,ngsim:uL,nGt:hL,ngt:fL,ngtr:pL,nGtv:gL,nharr:mL,nhArr:_L,nhpar:bL,ni:yL,nis:vL,nisd:wL,niv:xL,NJcy:kL,njcy:EL,nlarr:CL,nlArr:AL,nldr:SL,nlE:TL,nle:ML,nleftarrow:OL,nLeftarrow:RL,nleftrightarrow:NL,nLeftrightarrow:DL,nleq:LL,nleqq:IL,nleqslant:PL,nles:FL,nless:BL,nLl:$L,nlsim:zL,nLt:jL,nlt:UL,nltri:qL,nltrie:HL,nLtv:VL,nmid:GL,NoBreak:KL,NonBreakingSpace:WL,nopf:ZL,Nopf:YL,Not:JL,not:QL,NotCongruent:XL,NotCupCap:eI,NotDoubleVerticalBar:tI,NotElement:nI,NotEqual:sI,NotEqualTilde:oI,NotExists:rI,NotGreater:iI,NotGreaterEqual:aI,NotGreaterFullEqual:lI,NotGreaterGreater:cI,NotGreaterLess:dI,NotGreaterSlantEqual:uI,NotGreaterTilde:hI,NotHumpDownHump:fI,NotHumpEqual:pI,notin:gI,notindot:mI,notinE:_I,notinva:bI,notinvb:yI,notinvc:vI,NotLeftTriangleBar:wI,NotLeftTriangle:xI,NotLeftTriangleEqual:kI,NotLess:EI,NotLessEqual:CI,NotLessGreater:AI,NotLessLess:SI,NotLessSlantEqual:TI,NotLessTilde:MI,NotNestedGreaterGreater:OI,NotNestedLessLess:RI,notni:NI,notniva:DI,notnivb:LI,notnivc:II,NotPrecedes:PI,NotPrecedesEqual:FI,NotPrecedesSlantEqual:BI,NotReverseElement:$I,NotRightTriangleBar:zI,NotRightTriangle:jI,NotRightTriangleEqual:UI,NotSquareSubset:qI,NotSquareSubsetEqual:HI,NotSquareSuperset:VI,NotSquareSupersetEqual:GI,NotSubset:KI,NotSubsetEqual:WI,NotSucceeds:ZI,NotSucceedsEqual:YI,NotSucceedsSlantEqual:JI,NotSucceedsTilde:QI,NotSuperset:XI,NotSupersetEqual:eP,NotTilde:tP,NotTildeEqual:nP,NotTildeFullEqual:sP,NotTildeTilde:oP,NotVerticalBar:rP,nparallel:iP,npar:aP,nparsl:lP,npart:cP,npolint:dP,npr:uP,nprcue:hP,nprec:fP,npreceq:pP,npre:gP,nrarrc:mP,nrarr:_P,nrArr:bP,nrarrw:yP,nrightarrow:vP,nRightarrow:wP,nrtri:xP,nrtrie:kP,nsc:EP,nsccue:CP,nsce:AP,Nscr:SP,nscr:TP,nshortmid:MP,nshortparallel:OP,nsim:RP,nsime:NP,nsimeq:DP,nsmid:LP,nspar:IP,nsqsube:PP,nsqsupe:FP,nsub:BP,nsubE:$P,nsube:zP,nsubset:jP,nsubseteq:UP,nsubseteqq:qP,nsucc:HP,nsucceq:VP,nsup:GP,nsupE:KP,nsupe:WP,nsupset:ZP,nsupseteq:YP,nsupseteqq:JP,ntgl:QP,Ntilde:XP,ntilde:eF,ntlg:tF,ntriangleleft:nF,ntrianglelefteq:sF,ntriangleright:oF,ntrianglerighteq:rF,Nu:iF,nu:aF,num:lF,numero:cF,numsp:dF,nvap:uF,nvdash:hF,nvDash:fF,nVdash:pF,nVDash:gF,nvge:mF,nvgt:_F,nvHarr:bF,nvinfin:yF,nvlArr:vF,nvle:wF,nvlt:xF,nvltrie:kF,nvrArr:EF,nvrtrie:CF,nvsim:AF,nwarhk:SF,nwarr:TF,nwArr:MF,nwarrow:OF,nwnear:RF,Oacute:NF,oacute:DF,oast:LF,Ocirc:IF,ocirc:PF,ocir:FF,Ocy:BF,ocy:$F,odash:zF,Odblac:jF,odblac:UF,odiv:qF,odot:HF,odsold:VF,OElig:GF,oelig:KF,ofcir:WF,Ofr:ZF,ofr:YF,ogon:JF,Ograve:QF,ograve:XF,ogt:eB,ohbar:tB,ohm:nB,oint:sB,olarr:oB,olcir:rB,olcross:iB,oline:aB,olt:lB,Omacr:cB,omacr:dB,Omega:uB,omega:hB,Omicron:fB,omicron:pB,omid:gB,ominus:mB,Oopf:_B,oopf:bB,opar:yB,OpenCurlyDoubleQuote:vB,OpenCurlyQuote:wB,operp:xB,oplus:kB,orarr:EB,Or:CB,or:AB,ord:SB,order:TB,orderof:MB,ordf:OB,ordm:RB,origof:NB,oror:DB,orslope:LB,orv:IB,oS:PB,Oscr:FB,oscr:BB,Oslash:$B,oslash:zB,osol:jB,Otilde:UB,otilde:qB,otimesas:HB,Otimes:VB,otimes:GB,Ouml:KB,ouml:WB,ovbar:ZB,OverBar:YB,OverBrace:JB,OverBracket:QB,OverParenthesis:XB,para:e$,parallel:t$,par:n$,parsim:s$,parsl:o$,part:r$,PartialD:i$,Pcy:a$,pcy:l$,percnt:c$,period:d$,permil:u$,perp:h$,pertenk:f$,Pfr:p$,pfr:g$,Phi:m$,phi:_$,phiv:b$,phmmat:y$,phone:v$,Pi:w$,pi:x$,pitchfork:k$,piv:E$,planck:C$,planckh:A$,plankv:S$,plusacir:T$,plusb:M$,pluscir:O$,plus:R$,plusdo:N$,plusdu:D$,pluse:L$,PlusMinus:I$,plusmn:P$,plussim:F$,plustwo:B$,pm:$$,Poincareplane:z$,pointint:j$,popf:U$,Popf:q$,pound:H$,prap:V$,Pr:G$,pr:K$,prcue:W$,precapprox:Z$,prec:Y$,preccurlyeq:J$,Precedes:Q$,PrecedesEqual:X$,PrecedesSlantEqual:ez,PrecedesTilde:tz,preceq:nz,precnapprox:sz,precneqq:oz,precnsim:rz,pre:iz,prE:az,precsim:lz,prime:cz,Prime:dz,primes:uz,prnap:hz,prnE:fz,prnsim:pz,prod:gz,Product:mz,profalar:_z,profline:bz,profsurf:yz,prop:vz,Proportional:wz,Proportion:xz,propto:kz,prsim:Ez,prurel:Cz,Pscr:Az,pscr:Sz,Psi:Tz,psi:Mz,puncsp:Oz,Qfr:Rz,qfr:Nz,qint:Dz,qopf:Lz,Qopf:Iz,qprime:Pz,Qscr:Fz,qscr:Bz,quaternions:$z,quatint:zz,quest:jz,questeq:Uz,quot:qz,QUOT:Hz,rAarr:Vz,race:Gz,Racute:Kz,racute:Wz,radic:Zz,raemptyv:Yz,rang:Jz,Rang:Qz,rangd:Xz,range:ej,rangle:tj,raquo:nj,rarrap:sj,rarrb:oj,rarrbfs:rj,rarrc:ij,rarr:aj,Rarr:lj,rArr:cj,rarrfs:dj,rarrhk:uj,rarrlp:hj,rarrpl:fj,rarrsim:pj,Rarrtl:gj,rarrtl:mj,rarrw:_j,ratail:bj,rAtail:yj,ratio:vj,rationals:wj,rbarr:xj,rBarr:kj,RBarr:Ej,rbbrk:Cj,rbrace:Aj,rbrack:Sj,rbrke:Tj,rbrksld:Mj,rbrkslu:Oj,Rcaron:Rj,rcaron:Nj,Rcedil:Dj,rcedil:Lj,rceil:Ij,rcub:Pj,Rcy:Fj,rcy:Bj,rdca:$j,rdldhar:zj,rdquo:jj,rdquor:Uj,rdsh:qj,real:Hj,realine:Vj,realpart:Gj,reals:Kj,Re:Wj,rect:Zj,reg:Yj,REG:Jj,ReverseElement:Qj,ReverseEquilibrium:Xj,ReverseUpEquilibrium:eU,rfisht:tU,rfloor:nU,rfr:sU,Rfr:oU,rHar:rU,rhard:iU,rharu:aU,rharul:lU,Rho:cU,rho:dU,rhov:uU,RightAngleBracket:hU,RightArrowBar:fU,rightarrow:pU,RightArrow:gU,Rightarrow:mU,RightArrowLeftArrow:_U,rightarrowtail:bU,RightCeiling:yU,RightDoubleBracket:vU,RightDownTeeVector:wU,RightDownVectorBar:xU,RightDownVector:kU,RightFloor:EU,rightharpoondown:CU,rightharpoonup:AU,rightleftarrows:SU,rightleftharpoons:TU,rightrightarrows:MU,rightsquigarrow:OU,RightTeeArrow:RU,RightTee:NU,RightTeeVector:DU,rightthreetimes:LU,RightTriangleBar:IU,RightTriangle:PU,RightTriangleEqual:FU,RightUpDownVector:BU,RightUpTeeVector:$U,RightUpVectorBar:zU,RightUpVector:jU,RightVectorBar:UU,RightVector:qU,ring:HU,risingdotseq:VU,rlarr:GU,rlhar:KU,rlm:WU,rmoustache:ZU,rmoust:YU,rnmid:JU,roang:QU,roarr:XU,robrk:eq,ropar:tq,ropf:nq,Ropf:sq,roplus:oq,rotimes:rq,RoundImplies:iq,rpar:aq,rpargt:lq,rppolint:cq,rrarr:dq,Rrightarrow:uq,rsaquo:hq,rscr:fq,Rscr:pq,rsh:gq,Rsh:mq,rsqb:_q,rsquo:bq,rsquor:yq,rthree:vq,rtimes:wq,rtri:xq,rtrie:kq,rtrif:Eq,rtriltri:Cq,RuleDelayed:Aq,ruluhar:Sq,rx:Tq,Sacute:Mq,sacute:Oq,sbquo:Rq,scap:Nq,Scaron:Dq,scaron:Lq,Sc:Iq,sc:Pq,sccue:Fq,sce:Bq,scE:$q,Scedil:zq,scedil:jq,Scirc:Uq,scirc:qq,scnap:Hq,scnE:Vq,scnsim:Gq,scpolint:Kq,scsim:Wq,Scy:Zq,scy:Yq,sdotb:Jq,sdot:Qq,sdote:Xq,searhk:eH,searr:tH,seArr:nH,searrow:sH,sect:oH,semi:rH,seswar:iH,setminus:aH,setmn:lH,sext:cH,Sfr:dH,sfr:uH,sfrown:hH,sharp:fH,SHCHcy:pH,shchcy:gH,SHcy:mH,shcy:_H,ShortDownArrow:bH,ShortLeftArrow:yH,shortmid:vH,shortparallel:wH,ShortRightArrow:xH,ShortUpArrow:kH,shy:EH,Sigma:CH,sigma:AH,sigmaf:SH,sigmav:TH,sim:MH,simdot:OH,sime:RH,simeq:NH,simg:DH,simgE:LH,siml:IH,simlE:PH,simne:FH,simplus:BH,simrarr:$H,slarr:zH,SmallCircle:jH,smallsetminus:UH,smashp:qH,smeparsl:HH,smid:VH,smile:GH,smt:KH,smte:WH,smtes:ZH,SOFTcy:YH,softcy:JH,solbar:QH,solb:XH,sol:eV,Sopf:tV,sopf:nV,spades:sV,spadesuit:oV,spar:rV,sqcap:iV,sqcaps:aV,sqcup:lV,sqcups:cV,Sqrt:dV,sqsub:uV,sqsube:hV,sqsubset:fV,sqsubseteq:pV,sqsup:gV,sqsupe:mV,sqsupset:_V,sqsupseteq:bV,square:yV,Square:vV,SquareIntersection:wV,SquareSubset:xV,SquareSubsetEqual:kV,SquareSuperset:EV,SquareSupersetEqual:CV,SquareUnion:AV,squarf:SV,squ:TV,squf:MV,srarr:OV,Sscr:RV,sscr:NV,ssetmn:DV,ssmile:LV,sstarf:IV,Star:PV,star:FV,starf:BV,straightepsilon:$V,straightphi:zV,strns:jV,sub:UV,Sub:qV,subdot:HV,subE:VV,sube:GV,subedot:KV,submult:WV,subnE:ZV,subne:YV,subplus:JV,subrarr:QV,subset:XV,Subset:eG,subseteq:tG,subseteqq:nG,SubsetEqual:sG,subsetneq:oG,subsetneqq:rG,subsim:iG,subsub:aG,subsup:lG,succapprox:cG,succ:dG,succcurlyeq:uG,Succeeds:hG,SucceedsEqual:fG,SucceedsSlantEqual:pG,SucceedsTilde:gG,succeq:mG,succnapprox:_G,succneqq:bG,succnsim:yG,succsim:vG,SuchThat:wG,sum:xG,Sum:kG,sung:EG,sup1:CG,sup2:AG,sup3:SG,sup:TG,Sup:MG,supdot:OG,supdsub:RG,supE:NG,supe:DG,supedot:LG,Superset:IG,SupersetEqual:PG,suphsol:FG,suphsub:BG,suplarr:$G,supmult:zG,supnE:jG,supne:UG,supplus:qG,supset:HG,Supset:VG,supseteq:GG,supseteqq:KG,supsetneq:WG,supsetneqq:ZG,supsim:YG,supsub:JG,supsup:QG,swarhk:XG,swarr:eK,swArr:tK,swarrow:nK,swnwar:sK,szlig:oK,Tab:rK,target:iK,Tau:aK,tau:lK,tbrk:cK,Tcaron:dK,tcaron:uK,Tcedil:hK,tcedil:fK,Tcy:pK,tcy:gK,tdot:mK,telrec:_K,Tfr:bK,tfr:yK,there4:vK,therefore:wK,Therefore:xK,Theta:kK,theta:EK,thetasym:CK,thetav:AK,thickapprox:SK,thicksim:TK,ThickSpace:MK,ThinSpace:OK,thinsp:RK,thkap:NK,thksim:DK,THORN:LK,thorn:IK,tilde:PK,Tilde:FK,TildeEqual:BK,TildeFullEqual:$K,TildeTilde:zK,timesbar:jK,timesb:UK,times:qK,timesd:HK,tint:VK,toea:GK,topbot:KK,topcir:WK,top:ZK,Topf:YK,topf:JK,topfork:QK,tosa:XK,tprime:eW,trade:tW,TRADE:nW,triangle:sW,triangledown:oW,triangleleft:rW,trianglelefteq:iW,triangleq:aW,triangleright:lW,trianglerighteq:cW,tridot:dW,trie:uW,triminus:hW,TripleDot:fW,triplus:pW,trisb:gW,tritime:mW,trpezium:_W,Tscr:bW,tscr:yW,TScy:vW,tscy:wW,TSHcy:xW,tshcy:kW,Tstrok:EW,tstrok:CW,twixt:AW,twoheadleftarrow:SW,twoheadrightarrow:TW,Uacute:MW,uacute:OW,uarr:RW,Uarr:NW,uArr:DW,Uarrocir:LW,Ubrcy:IW,ubrcy:PW,Ubreve:FW,ubreve:BW,Ucirc:$W,ucirc:zW,Ucy:jW,ucy:UW,udarr:qW,Udblac:HW,udblac:VW,udhar:GW,ufisht:KW,Ufr:WW,ufr:ZW,Ugrave:YW,ugrave:JW,uHar:QW,uharl:XW,uharr:eZ,uhblk:tZ,ulcorn:nZ,ulcorner:sZ,ulcrop:oZ,ultri:rZ,Umacr:iZ,umacr:aZ,uml:lZ,UnderBar:cZ,UnderBrace:dZ,UnderBracket:uZ,UnderParenthesis:hZ,Union:fZ,UnionPlus:pZ,Uogon:gZ,uogon:mZ,Uopf:_Z,uopf:bZ,UpArrowBar:yZ,uparrow:vZ,UpArrow:wZ,Uparrow:xZ,UpArrowDownArrow:kZ,updownarrow:EZ,UpDownArrow:CZ,Updownarrow:AZ,UpEquilibrium:SZ,upharpoonleft:TZ,upharpoonright:MZ,uplus:OZ,UpperLeftArrow:RZ,UpperRightArrow:NZ,upsi:DZ,Upsi:LZ,upsih:IZ,Upsilon:PZ,upsilon:FZ,UpTeeArrow:BZ,UpTee:$Z,upuparrows:zZ,urcorn:jZ,urcorner:UZ,urcrop:qZ,Uring:HZ,uring:VZ,urtri:GZ,Uscr:KZ,uscr:WZ,utdot:ZZ,Utilde:YZ,utilde:JZ,utri:QZ,utrif:XZ,uuarr:eY,Uuml:tY,uuml:nY,uwangle:sY,vangrt:oY,varepsilon:rY,varkappa:iY,varnothing:aY,varphi:lY,varpi:cY,varpropto:dY,varr:uY,vArr:hY,varrho:fY,varsigma:pY,varsubsetneq:gY,varsubsetneqq:mY,varsupsetneq:_Y,varsupsetneqq:bY,vartheta:yY,vartriangleleft:vY,vartriangleright:wY,vBar:xY,Vbar:kY,vBarv:EY,Vcy:CY,vcy:AY,vdash:SY,vDash:TY,Vdash:MY,VDash:OY,Vdashl:RY,veebar:NY,vee:DY,Vee:LY,veeeq:IY,vellip:PY,verbar:FY,Verbar:BY,vert:$Y,Vert:zY,VerticalBar:jY,VerticalLine:UY,VerticalSeparator:qY,VerticalTilde:HY,VeryThinSpace:VY,Vfr:GY,vfr:KY,vltri:WY,vnsub:ZY,vnsup:YY,Vopf:JY,vopf:QY,vprop:XY,vrtri:eJ,Vscr:tJ,vscr:nJ,vsubnE:sJ,vsubne:oJ,vsupnE:rJ,vsupne:iJ,Vvdash:aJ,vzigzag:lJ,Wcirc:cJ,wcirc:dJ,wedbar:uJ,wedge:hJ,Wedge:fJ,wedgeq:pJ,weierp:gJ,Wfr:mJ,wfr:_J,Wopf:bJ,wopf:yJ,wp:vJ,wr:wJ,wreath:xJ,Wscr:kJ,wscr:EJ,xcap:CJ,xcirc:AJ,xcup:SJ,xdtri:TJ,Xfr:MJ,xfr:OJ,xharr:RJ,xhArr:NJ,Xi:DJ,xi:LJ,xlarr:IJ,xlArr:PJ,xmap:FJ,xnis:BJ,xodot:$J,Xopf:zJ,xopf:jJ,xoplus:UJ,xotime:qJ,xrarr:HJ,xrArr:VJ,Xscr:GJ,xscr:KJ,xsqcup:WJ,xuplus:ZJ,xutri:YJ,xvee:JJ,xwedge:QJ,Yacute:XJ,yacute:eQ,YAcy:tQ,yacy:nQ,Ycirc:sQ,ycirc:oQ,Ycy:rQ,ycy:iQ,yen:aQ,Yfr:lQ,yfr:cQ,YIcy:dQ,yicy:uQ,Yopf:hQ,yopf:fQ,Yscr:pQ,yscr:gQ,YUcy:mQ,yucy:_Q,yuml:bQ,Yuml:yQ,Zacute:vQ,zacute:wQ,Zcaron:xQ,zcaron:kQ,Zcy:EQ,zcy:CQ,Zdot:AQ,zdot:SQ,zeetrf:TQ,ZeroWidthSpace:MQ,Zeta:OQ,zeta:RQ,zfr:NQ,Zfr:DQ,ZHcy:LQ,zhcy:IQ,zigrarr:PQ,zopf:FQ,Zopf:BQ,Zscr:$Q,zscr:zQ,zwj:jQ,zwnj:UQ};var tg=qQ,ic=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Ws={},Qd={};function HQ(t){var e,n,s=Qd[t];if(s)return s;for(s=Qd[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=HQ(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}ci.defaultChars=";/?:@&=+$,-_.!~*'()#";ci.componentChars="-_.!~*'()";var VQ=ci,Xd={};function GQ(t){var e,n,s=Xd[t];if(s)return s;for(s=Xd[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&u<=57343?h+="���":h+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}h+="�"}return h})}di.defaultChars=";/?:@&=+$,#";di.componentChars="";var KQ=di,WQ=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 Sr(){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 ZQ=/^([a-z0-9.+-]+:)/i,YQ=/:[0-9]*$/,JQ=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,QQ=["<",">",'"',"`"," ","\r",` -`," "],XQ=["{","}","|","\\","^","`"].concat(QQ),eX=["'"].concat(XQ),eu=["%","/","?",";","#"].concat(eX),tu=["/","?","#"],tX=255,nu=/^[+a-z0-9A-Z_-]{0,63}$/,nX=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,su={javascript:!0,"javascript:":!0},ou={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function sX(t,e){if(t&&t instanceof Sr)return t;var n=new Sr;return n.parse(t,e),n}Sr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=JQ.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var d=ZQ.exec(a);if(d&&(d=d[0],o=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(d&&su[d])&&(a=a.substr(2),this.slashes=!0)),!su[d]&&(i||d&&!ou[d])){var u=-1;for(n=0;n127?b+="x":b+=p[y];if(!b.match(nu)){var S=_.slice(0,n),R=_.slice(n+1),O=p.match(nX);O&&(S.push(O[1]),R.unshift(O[2])),R.length&&(a=R.join(".")+a),this.hostname=S.join(".");break}}}}this.hostname.length>tX&&(this.hostname=""),m&&(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 v=a.indexOf("?");return v!==-1&&(this.search=a.substr(v),a=a.slice(0,v)),a&&(this.pathname=a),ou[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Sr.prototype.parseHost=function(t){var e=YQ.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 oX=sX;Ws.encode=VQ;Ws.decode=KQ;Ws.format=WQ;Ws.parse=oX;var Bn={},Ui,ru;function ng(){return ru||(ru=1,Ui=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Ui}var qi,iu;function sg(){return iu||(iu=1,qi=/[\0-\x1F\x7F-\x9F]/),qi}var Hi,au;function rX(){return au||(au=1,Hi=/[\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]/),Hi}var Vi,lu;function og(){return lu||(lu=1,Vi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Vi}var cu;function iX(){return cu||(cu=1,Bn.Any=ng(),Bn.Cc=sg(),Bn.Cf=rX(),Bn.P=ic,Bn.Z=og()),Bn}(function(t){function e(P){return Object.prototype.toString.call(P)}function n(P){return e(P)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(P,ce){return s.call(P,ce)}function r(P){var ce=Array.prototype.slice.call(arguments,1);return ce.forEach(function(Z){if(Z){if(typeof Z!="object")throw new TypeError(Z+"must be object");Object.keys(Z).forEach(function(T){P[T]=Z[T]})}}),P}function i(P,ce,Z){return[].concat(P.slice(0,ce),Z,P.slice(ce+1))}function a(P){return!(P>=55296&&P<=57343||P>=64976&&P<=65007||(P&65535)===65535||(P&65535)===65534||P>=0&&P<=8||P===11||P>=14&&P<=31||P>=127&&P<=159||P>1114111)}function l(P){if(P>65535){P-=65536;var ce=55296+(P>>10),Z=56320+(P&1023);return String.fromCharCode(ce,Z)}return String.fromCharCode(P)}var d=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(d.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=tg;function m(P,ce){var Z=0;return o(g,ce)?g[ce]:ce.charCodeAt(0)===35&&f.test(ce)&&(Z=ce[1].toLowerCase()==="x"?parseInt(ce.slice(2),16):parseInt(ce.slice(1),10),a(Z))?l(Z):P}function _(P){return P.indexOf("\\")<0?P:P.replace(d,"$1")}function p(P){return P.indexOf("\\")<0&&P.indexOf("&")<0?P:P.replace(h,function(ce,Z,T){return Z||m(ce,T)})}var b=/[&<>"]/,y=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function S(P){return x[P]}function R(P){return b.test(P)?P.replace(y,S):P}var O=/[.?*+^$[\]\\(){}|-]/g;function D(P){return P.replace(O,"\\$&")}function v(P){switch(P){case 9:case 32:return!0}return!1}function E(P){if(P>=8192&&P<=8202)return!0;switch(P){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 M=ic;function L(P){return M.test(P)}function B(P){switch(P){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 J(P){return P=P.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(P=P.replace(/ẞ/g,"ß")),P.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Ws,t.lib.ucmicro=iX(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=_,t.unescapeAll=p,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=v,t.isWhiteSpace=E,t.isMdAsciiPunct=B,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=J})(He);var ui={},aX=function(e,n,s){var o,r,i,a,l=-1,d=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=du(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},cX=He.unescapeAll,dX=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)+""};Qt.code_block=function(t,e,n,s,o){var r=t[e];return""+Xn(t[e].content)+` -`};Qt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?hX(r.info).trim():"",a="",l="",d,u,h,f,g;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?d=n.highlight(r.content,a,l)||Xn(r.content):d=Xn(r.content),d.indexOf(""+d+` +*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function d(b,y){for(var x=y.length,S=0;S1?arguments[1]:void 0,y=b!==void 0,x=0,S=h(m),R,O,D,v;if(y&&(b=r(b,g>2?arguments[2]:void 0,2)),S!=null&&!(_==Array&&l(S)))for(v=S.call(m),O=new _;!(D=v.next()).done;x++)u(O,x,y?a(v,b,[D.value,x],!0):D.value);else for(R=d(m.length),O=new _(R);R>x;x++)u(O,x,y?b(m[x],x):m[x]);return O.length=x,O}},"./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(d,u,h){var f=r(d),p=i(f.length),m=a(h,p),_;if(l&&u!=u){for(;p>m;)if(_=f[m++],_!=_)return!0}else for(;p>m;m++)if((l||m in f)&&f[m]===u)return l||m||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(d){return i.call(a,d)};case 2:return function(d,u){return i.call(a,d,u)};case 3:return function(d,u,h){return i.call(a,d,u,h)}}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,d){try{return d?a(r(l)[0],l[1]):a(l)}catch(h){var u=i.return;throw u!==void 0&&r(u.call(i)),h}}},"./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,d={next:function(){return{done:!!l++}},return:function(){a=!0}};d[i]=function(){return this},Array.from(d,function(){throw 2})}catch{}n.exports=function(u,h){if(!h&&!a)return!1;var f=!1;try{var p={};p[i]=function(){return{next:function(){return{done:f=!0}}}},u(p)}catch{}return f}},"./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",d=function(u,h){try{return u[h]}catch{}};n.exports=function(u){var h,f,p;return u===void 0?"Undefined":u===null?"Null":typeof(f=d(h=Object(u),a))=="string"?f:l?r(h):(p=r(h))=="Object"&&typeof h.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(d,u){for(var h=i(u),f=l.f,p=a.f,m=0;m",R="java"+x+":",O;for(g.style.display="none",d.appendChild(g),g.src=String(R),O=g.contentWindow.document,O.open(),O.write(y+x+S+"document.F=Object"+y+"/"+x+S),O.close(),_=O.F;b--;)delete _[p][a[b]];return _()};n.exports=Object.create||function(b,y){var x;return b!==null?(m[p]=r(b),x=new m,m[p]=null,x[f]=b):x=_(),y===void 0?x:i(x,y)},l[f]=!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,h){a(u);for(var f=l(h),p=f.length,m=0,_;p>m;)i.f(u,_=f[m++],h[_]);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"),d=Object.defineProperty;s.f=r?d:function(h,f,p){if(a(h),f=l(f,!0),a(p),i)try{return d(h,f,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(h[f]=p.value),h}},"./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"),d=o("./node_modules/core-js/internals/to-primitive.js"),u=o("./node_modules/core-js/internals/has.js"),h=o("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=r?f:function(m,_){if(m=l(m),_=d(_,!0),h)try{return f(m,_)}catch{}if(u(m,_))return a(!i.f.call(m,_),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(d){return r(d,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"),d=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(h){return h=i(h),r(h,d)?h[d]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h 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"),d=a(!1);n.exports=function(u,h){var f=i(u),p=0,m=[],_;for(_ in f)!r(l,_)&&r(f,_)&&m.push(_);for(;h.length>p;)r(f,_=h[p++])&&(~d(m,_)||m.push(_));return m}},"./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(d){var u=i(this,d);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,h){return r(u,h),i?l.call(u,h):u.__proto__=h,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"),d=r.Reflect;n.exports=d&&d.ownKeys||function(h){var f=i.f(l(h)),p=a.f;return p?f.concat(p(h)):f}},"./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"),d=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),h=o("./node_modules/core-js/internals/internal-state.js"),f=h.get,p=h.enforce,m=String(u).split("toString");i("inspectSource",function(_){return u.call(_)}),(n.exports=function(_,g,b,y){var x=y?!!y.unsafe:!1,S=y?!!y.enumerable:!1,R=y?!!y.noTargetGet:!1;if(typeof b=="function"&&(typeof g=="string"&&!l(b,"name")&&a(b,"name",g),p(b).source=m.join(typeof g=="string"?g:"")),_===r){S?_[g]=b:d(g,b);return}else x?!R&&_[g]&&(S=!0):delete _[g];S?_[g]=b:a(_,g,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(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(d,u,h){d&&!i(d=h?d:d.prototype,l)&&r(d,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__",d=r[l]||i(l,{});(n.exports=function(u,h){return d[u]||(d[u]=h!==void 0?h:{})})("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,d){var u=String(i(a)),h=r(l),f=u.length,p,m;return h<0||h>=f?d?"":void 0:(p=u.charCodeAt(h),p<55296||p>56319||h+1===f||(m=u.charCodeAt(h+1))<56320||m>57343?d?u.charAt(h):p:d?u.slice(h,h+2):(p-55296<<10)+(m-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,d){var u=r(l);return u<0?i(u+d,0):a(u,d)}},"./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,d;if(a&&typeof(l=i.toString)=="function"&&!r(d=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(d=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(d=l.call(i)))return d;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"),d=r.Symbol,u=i("wks");n.exports=function(h){return u[h]||(u[h]=l&&d[h]||(l?d:a)("Symbol."+h))}},"./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(d){Array.from(d)});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",d=i.set,u=i.getterFor(l);a(String,"String",function(h){d(this,{type:l,string:String(h),index:0})},function(){var f=u(this),p=f.string,m=f.index,_;return m>=p.length?{value:void 0,done:!0}:(_=r(p,m,!0),f.index+=_.length,{value:_,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(_){for(var g=1;g2&&arguments[2]!==void 0?arguments[2]:[];f(this,_),this.name=g,this.contents=b,this.tags=y,this.attrs=r({},u.default,{class:"feather feather-"+g})}return i(_,[{key:"toSvg",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,b,{class:(0,l.default)(this.attrs.class,b.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),_}();function m(_){return Object.keys(_).map(function(g){return g+'="'+_[g]+'"'}).join(" ")}s.default=p},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=h(r),a=o("./dist/icons.json"),l=h(a),d=o("./src/tags.json"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(l.default).map(function(f){return new i.default(f,l.default[f],u.default[f])}).reduce(function(f,p){return f[p.name]=p,f},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=h(r),a=o("./src/to-svg.js"),l=h(a),d=o("./src/replace.js"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}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(m){for(var _=1;_0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var _=document.querySelectorAll("[data-feather]");Array.from(_).forEach(function(g){return f(g,m)})}function f(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=p(m),b=g["data-feather"];delete g["data-feather"];var y=d.default[b].toSvg(r({},_,g,{class:(0,a.default)(_.class,g.class)})),x=new DOMParser().parseFromString(y,"image/svg+xml"),S=x.querySelector("svg");m.parentNode.replaceChild(S,m)}function p(m){return Array.from(m.attributes).reduce(function(_,g){return _[g.name]=g.value,_},{})}s.default=h},"./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(d){return d&&d.__esModule?d:{default:d}}function l(d){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."),!d)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[d])throw new Error("No icon matching '"+d+"'. See the complete list of icons at https://feathericons.com");return i.default[d].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")}})})})(Bp);var Vy=Bp.exports;const ve=as(Vy);const Gy={key:0,class:"container flex flex-col sm:flex-row items-center"},Ky={class:"w-full"},Wy={class:"flex flex-row font-medium nav-ul"},$p={__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(k(),C("div",Gy,[c("div",Ky,[c("div",Wy,[ue(pt(sn),{to:{name:"discussions"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Discussions ")]),_:1}),ue(pt(sn),{to:{name:"playground"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Playground ")]),_:1}),ue(pt(sn),{to:{name:"settings"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Settings ")]),_:1}),ue(pt(sn),{to:{name:"extensions"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Extensions ")]),_:1}),ue(pt(sn),{to:{name:"training"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Training ")]),_:1}),ue(pt(sn),{to:{name:"quantizing"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Quantizing ")]),_:1}),ue(pt(sn),{to:{name:"help"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Help ")]),_:1})])])])):P("",!0)}};const Zy={class:"top-0 shadow-lg"},Yy={class:"container flex flex-col lg:flex-row item-center gap-2 pb-0"},Jy=c("div",{class:"flex items-center gap-3 flex-1"},[c("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:sc,alt:"Logo"}),c("div",{class:"flex flex-col"},[c("p",{class:"text-2xl"},"Lord of Large Language Models"),c("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),Qy={class:"flex gap-3 flex-1 items-center justify-end"},Xy=rs('
',2),e2={href:"https://twitter.com/SpaceNerduino",target:"_blank"},t2={class:"text-2xl hover:fill-primary dark:fill-white dark:hover:fill-primary duration-150",title:"Follow me on my twitter acount"},n2={class:"w-10 h-10 rounded-lg object-fill dark:text-white",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1668.56 1221.19",style:{"enable-background":"new 0 0 1668.56 1221.19"},"xml:space":"preserve"},s2=c("g",{id:"layer1",transform:"translate(52.390088,-25.058597)"},[c("path",{id:"path1009",d:`M283.94,167.31l386.39,516.64L281.5,1104h87.51l340.42-367.76L984.48,1104h297.8L874.15,558.3l361.92-390.99\r + h-87.51l-313.51,338.7l-253.31-338.7H283.94z M412.63,231.77h136.81l604.13,807.76h-136.81L412.63,231.77z`})],-1),o2=[s2],r2=c("i",{"data-feather":"sun"},null,-1),i2=[r2],a2=c("i",{"data-feather":"moon"},null,-1),l2=[a2],c2=c("body",null,null,-1),d2={name:"TopBar",computed:{isConnected(){return this.$store.state.isConnected}},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(),be(()=>{ve.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"),be(()=>{ji(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}be(()=>{ji(()=>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}ji(()=>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:$p}},u2=Object.assign(d2,{setup(t){return(e,n)=>(k(),C(Re,null,[c("header",Zy,[c("nav",Yy,[ue(pt(sn),{to:{name:"discussions"}},{default:Ne(()=>[Jy]),_:1}),c("div",Qy,[c("div",{title:"Connection status",class:Me(["dot",{"dot-green":e.isConnected,"dot-red":!e.isConnected}])},null,2),Xy,c("a",e2,[c("div",t2,[(k(),C("svg",n2,o2))])]),c("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())},i2),c("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())},l2)])]),ue($p)]),c2],64))}}),h2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},f2={class:"flex overflow-hidden flex-grow"},p2={__name:"App",setup(t){return(e,n)=>(k(),C("div",h2,[ue(u2),c("div",f2,[ue(pt(Pp),null,{default:Ne(({Component:s})=>[(k(),tt(L_,null,[(k(),tt(H_(s)))],1024))]),_:1})])]))}},Yt=Object.create(null);Yt.open="0";Yt.close="1";Yt.ping="2";Yt.pong="3";Yt.message="4";Yt.upgrade="5";Yt.noop="6";const fr=Object.create(null);Object.keys(Yt).forEach(t=>{fr[Yt[t]]=t});const g2={type:"error",data:"parser error"},m2=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",_2=typeof ArrayBuffer=="function",b2=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,zp=({type:t,data:e},n,s)=>m2&&e instanceof Blob?n?s(e):Vd(e,s):_2&&(e instanceof ArrayBuffer||b2(e))?n?s(e):Vd(new Blob([e]),s):s(Yt[t]+(e||"")),Vd=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Gd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ro=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 d=new ArrayBuffer(e),u=new Uint8Array(d);for(s=0;s>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return d},v2=typeof ArrayBuffer=="function",jp=(t,e)=>{if(typeof t!="string")return{type:"message",data:Up(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:w2(t.substring(1),e)}:fr[n]?t.length>1?{type:fr[n],data:t.substring(1)}:{type:fr[n]}:g2},w2=(t,e)=>{if(v2){const n=y2(t);return Up(n,e)}else return{base64:!0,data:t}},Up=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},qp=String.fromCharCode(30),x2=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{zp(r,!1,a=>{s[i]=a,++o===n&&e(s.join(qp))})})},k2=(t,e)=>{const n=t.split(qp),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Vp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const C2=Et.setTimeout,A2=Et.clearTimeout;function li(t,e){e.useNativeTimers?(t.setTimeoutFn=C2.bind(Et),t.clearTimeoutFn=A2.bind(Et)):(t.setTimeoutFn=Et.setTimeout.bind(Et),t.clearTimeoutFn=Et.clearTimeout.bind(Et))}const S2=1.33;function T2(t){return typeof t=="string"?M2(t):Math.ceil((t.byteLength||t.size)*S2)}function M2(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class O2 extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Gp extends nt{constructor(e){super(),this.writable=!1,li(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new O2(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=jp(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 Kp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),al=64,R2={};let Kd=0,Ko=0,Wd;function Zd(t){let e="";do e=Kp[t%al]+e,t=Math.floor(t/al);while(t>0);return e}function Wp(){const t=Zd(+new Date);return t!==Wd?(Kd=0,Wd=t):t+"."+Zd(Kd++)}for(;Ko{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)};k2(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,x2(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]=Wp()),!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 Kt(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 Kt extends nt{constructor(e,n){super(),li(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=Vp(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 Jp(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=Kt.requestsCount++,Kt.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=L2,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Kt.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()}}Kt.requestsCount=0;Kt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Yd);else if(typeof addEventListener=="function"){const t="onpagehide"in Et?"pagehide":"unload";addEventListener(t,Yd,!1)}}function Yd(){for(let t in Kt.requests)Kt.requests.hasOwnProperty(t)&&Kt.requests[t].abort()}const Qp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Wo=Et.WebSocket||Et.MozWebSocket,Jd=!0,F2="arraybuffer",Qd=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class B2 extends Gp{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=Qd?{}:Vp(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=Jd&&!Qd?n?new Wo(e,n):new Wo(e):new Wo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||F2,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{Jd&&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]=Wp()),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!!Wo}}const $2={websocket:B2,polling:P2},z2=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,j2=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ll(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=z2.exec(t||""),r={},i=14;for(;i--;)r[j2[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=U2(r,r.path),r.queryKey=q2(r,r.query),r}function U2(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 q2(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Xp=class gs extends nt{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=ll(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=ll(n.host).host),li(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=N2(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=Hp,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 $2[e](s)}open(){let e;if(this.opts.rememberUpgrade&&gs.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;gs.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!s)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;gs.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 f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=h=>{const f=new Error("probe error: "+h);f.transport=n.name,r(),this.emitReserved("upgradeError",f)};function a(){i("transport closed")}function l(){i("socket closed")}function d(h){n&&h.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",d)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",d),n.open()}onOpen(){if(this.readyState="open",gs.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){gs.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,eg=Object.prototype.toString,K2=typeof Blob=="function"||typeof Blob<"u"&&eg.call(Blob)==="[object BlobConstructor]",W2=typeof File=="function"||typeof File<"u"&&eg.call(File)==="[object FileConstructor]";function oc(t){return V2&&(t instanceof ArrayBuffer||G2(t))||K2&&t instanceof Blob||W2&&t instanceof File}function pr(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:Fe.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 Fe.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 Fe.EVENT:case Fe.BINARY_EVENT:this.onevent(e);break;case Fe.ACK:case Fe.BINARY_ACK:this.onack(e);break;case Fe.DISCONNECT:this.ondisconnect();break;case Fe.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:Fe.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:Fe.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}Gs.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};Gs.prototype.reset=function(){this.attempts=0};Gs.prototype.setMin=function(t){this.ms=t};Gs.prototype.setMax=function(t){this.max=t};Gs.prototype.setJitter=function(t){this.jitter=t};class ul extends nt{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,li(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 Gs({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||ev;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 Xp(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Dt(n,"open",function(){s.onopen(),e&&e()}),r=Dt(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(Dt(e,"ping",this.onping.bind(this)),Dt(e,"data",this.ondata.bind(this)),Dt(e,"error",this.onerror.bind(this)),Dt(e,"close",this.onclose.bind(this)),Dt(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 tg(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 to={};function gr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=H2(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=to[o]&&r in to[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new ul(s,e):(to[o]||(to[o]=new ul(s,e)),l=to[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(gr,{Manager:ul,Socket:tg,io:gr,connect:gr});const nv=void 0,Ee=new gr(nv);const qe=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},sv={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),be(()=>{ve.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),be(()=>{ve.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Nn=t=>(ss("data-v-3ffdabf3"),t=t(),os(),t),ov={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},rv={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"},iv={class:"flex flex-row flex-grow items-center"},av={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"},lv=Nn(()=>c("i",{"data-feather":"check"},null,-1)),cv=Nn(()=>c("span",{class:"sr-only"},"Check icon",-1)),dv=[lv,cv],uv={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"},hv=Nn(()=>c("i",{"data-feather":"x"},null,-1)),fv=Nn(()=>c("span",{class:"sr-only"},"Cross icon",-1)),pv=[hv,fv],gv=["title"],mv={class:"flex"},_v=["onClick"],bv=Nn(()=>c("span",{class:"sr-only"},"Copy message",-1)),yv=Nn(()=>c("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),vv=[bv,yv],wv=["onClick"],xv=Nn(()=>c("span",{class:"sr-only"},"Close",-1)),kv=Nn(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("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)),Ev=[xv,kv];function Cv(t,e,n,s,o,r){return k(),C("div",ov,[ue(Ut,{name:"toastItem",tag:"div"},{default:Ne(()=>[(k(!0),C(Re,null,Ke(o.toastArr,i=>(k(),C("div",{key:i.id,class:"relative"},[c("div",rv,[c("div",iv,[xr(t.$slots,"default",{},()=>[i.success?(k(),C("div",av,dv)):P("",!0),i.success?P("",!0):(k(),C("div",uv,pv)),c("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},H(i.message),9,gv)],!0)]),c("div",mv,[c("button",{type:"button",onClick:de(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"},vv,8,_v),c("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"},Ev,8,wv)])])]))),128))]),_:3})])}const Ks=qe(sv,[["render",Cv],["__scopeId","data-v-3ffdabf3"]]);var He={};const Av="Á",Sv="á",Tv="Ă",Mv="ă",Ov="∾",Rv="∿",Nv="∾̳",Dv="Â",Lv="â",Iv="´",Pv="А",Fv="а",Bv="Æ",$v="æ",zv="⁡",jv="𝔄",Uv="𝔞",qv="À",Hv="à",Vv="ℵ",Gv="ℵ",Kv="Α",Wv="α",Zv="Ā",Yv="ā",Jv="⨿",Qv="&",Xv="&",ew="⩕",tw="⩓",nw="∧",sw="⩜",ow="⩘",rw="⩚",iw="∠",aw="⦤",lw="∠",cw="⦨",dw="⦩",uw="⦪",hw="⦫",fw="⦬",pw="⦭",gw="⦮",mw="⦯",_w="∡",bw="∟",yw="⊾",vw="⦝",ww="∢",xw="Å",kw="⍼",Ew="Ą",Cw="ą",Aw="𝔸",Sw="𝕒",Tw="⩯",Mw="≈",Ow="⩰",Rw="≊",Nw="≋",Dw="'",Lw="⁡",Iw="≈",Pw="≊",Fw="Å",Bw="å",$w="𝒜",zw="𝒶",jw="≔",Uw="*",qw="≈",Hw="≍",Vw="Ã",Gw="ã",Kw="Ä",Ww="ä",Zw="∳",Yw="⨑",Jw="≌",Qw="϶",Xw="‵",ex="∽",tx="⋍",nx="∖",sx="⫧",ox="⊽",rx="⌅",ix="⌆",ax="⌅",lx="⎵",cx="⎶",dx="≌",ux="Б",hx="б",fx="„",px="∵",gx="∵",mx="∵",_x="⦰",bx="϶",yx="ℬ",vx="ℬ",wx="Β",xx="β",kx="ℶ",Ex="≬",Cx="𝔅",Ax="𝔟",Sx="⋂",Tx="◯",Mx="⋃",Ox="⨀",Rx="⨁",Nx="⨂",Dx="⨆",Lx="★",Ix="▽",Px="△",Fx="⨄",Bx="⋁",$x="⋀",zx="⤍",jx="⧫",Ux="▪",qx="▴",Hx="▾",Vx="◂",Gx="▸",Kx="␣",Wx="▒",Zx="░",Yx="▓",Jx="█",Qx="=⃥",Xx="≡⃥",ek="⫭",tk="⌐",nk="𝔹",sk="𝕓",ok="⊥",rk="⊥",ik="⋈",ak="⧉",lk="┐",ck="╕",dk="╖",uk="╗",hk="┌",fk="╒",pk="╓",gk="╔",mk="─",_k="═",bk="┬",yk="╤",vk="╥",wk="╦",xk="┴",kk="╧",Ek="╨",Ck="╩",Ak="⊟",Sk="⊞",Tk="⊠",Mk="┘",Ok="╛",Rk="╜",Nk="╝",Dk="└",Lk="╘",Ik="╙",Pk="╚",Fk="│",Bk="║",$k="┼",zk="╪",jk="╫",Uk="╬",qk="┤",Hk="╡",Vk="╢",Gk="╣",Kk="├",Wk="╞",Zk="╟",Yk="╠",Jk="‵",Qk="˘",Xk="˘",e5="¦",t5="𝒷",n5="ℬ",s5="⁏",o5="∽",r5="⋍",i5="⧅",a5="\\",l5="⟈",c5="•",d5="•",u5="≎",h5="⪮",f5="≏",p5="≎",g5="≏",m5="Ć",_5="ć",b5="⩄",y5="⩉",v5="⩋",w5="∩",x5="⋒",k5="⩇",E5="⩀",C5="ⅅ",A5="∩︀",S5="⁁",T5="ˇ",M5="ℭ",O5="⩍",R5="Č",N5="č",D5="Ç",L5="ç",I5="Ĉ",P5="ĉ",F5="∰",B5="⩌",$5="⩐",z5="Ċ",j5="ċ",U5="¸",q5="¸",H5="⦲",V5="¢",G5="·",K5="·",W5="𝔠",Z5="ℭ",Y5="Ч",J5="ч",Q5="✓",X5="✓",eE="Χ",tE="χ",nE="ˆ",sE="≗",oE="↺",rE="↻",iE="⊛",aE="⊚",lE="⊝",cE="⊙",dE="®",uE="Ⓢ",hE="⊖",fE="⊕",pE="⊗",gE="○",mE="⧃",_E="≗",bE="⨐",yE="⫯",vE="⧂",wE="∲",xE="”",kE="’",EE="♣",CE="♣",AE=":",SE="∷",TE="⩴",ME="≔",OE="≔",RE=",",NE="@",DE="∁",LE="∘",IE="∁",PE="ℂ",FE="≅",BE="⩭",$E="≡",zE="∮",jE="∯",UE="∮",qE="𝕔",HE="ℂ",VE="∐",GE="∐",KE="©",WE="©",ZE="℗",YE="∳",JE="↵",QE="✗",XE="⨯",e4="𝒞",t4="𝒸",n4="⫏",s4="⫑",o4="⫐",r4="⫒",i4="⋯",a4="⤸",l4="⤵",c4="⋞",d4="⋟",u4="↶",h4="⤽",f4="⩈",p4="⩆",g4="≍",m4="∪",_4="⋓",b4="⩊",y4="⊍",v4="⩅",w4="∪︀",x4="↷",k4="⤼",E4="⋞",C4="⋟",A4="⋎",S4="⋏",T4="¤",M4="↶",O4="↷",R4="⋎",N4="⋏",D4="∲",L4="∱",I4="⌭",P4="†",F4="‡",B4="ℸ",$4="↓",z4="↡",j4="⇓",U4="‐",q4="⫤",H4="⊣",V4="⤏",G4="˝",K4="Ď",W4="ď",Z4="Д",Y4="д",J4="‡",Q4="⇊",X4="ⅅ",e9="ⅆ",t9="⤑",n9="⩷",s9="°",o9="∇",r9="Δ",i9="δ",a9="⦱",l9="⥿",c9="𝔇",d9="𝔡",u9="⥥",h9="⇃",f9="⇂",p9="´",g9="˙",m9="˝",_9="`",b9="˜",y9="⋄",v9="⋄",w9="⋄",x9="♦",k9="♦",E9="¨",C9="ⅆ",A9="ϝ",S9="⋲",T9="÷",M9="÷",O9="⋇",R9="⋇",N9="Ђ",D9="ђ",L9="⌞",I9="⌍",P9="$",F9="𝔻",B9="𝕕",$9="¨",z9="˙",j9="⃜",U9="≐",q9="≑",H9="≐",V9="∸",G9="∔",K9="⊡",W9="⌆",Z9="∯",Y9="¨",J9="⇓",Q9="⇐",X9="⇔",eC="⫤",tC="⟸",nC="⟺",sC="⟹",oC="⇒",rC="⊨",iC="⇑",aC="⇕",lC="∥",cC="⤓",dC="↓",uC="↓",hC="⇓",fC="⇵",pC="̑",gC="⇊",mC="⇃",_C="⇂",bC="⥐",yC="⥞",vC="⥖",wC="↽",xC="⥟",kC="⥗",EC="⇁",CC="↧",AC="⊤",SC="⤐",TC="⌟",MC="⌌",OC="𝒟",RC="𝒹",NC="Ѕ",DC="ѕ",LC="⧶",IC="Đ",PC="đ",FC="⋱",BC="▿",$C="▾",zC="⇵",jC="⥯",UC="⦦",qC="Џ",HC="џ",VC="⟿",GC="É",KC="é",WC="⩮",ZC="Ě",YC="ě",JC="Ê",QC="ê",XC="≖",e3="≕",t3="Э",n3="э",s3="⩷",o3="Ė",r3="ė",i3="≑",a3="ⅇ",l3="≒",c3="𝔈",d3="𝔢",u3="⪚",h3="È",f3="è",p3="⪖",g3="⪘",m3="⪙",_3="∈",b3="⏧",y3="ℓ",v3="⪕",w3="⪗",x3="Ē",k3="ē",E3="∅",C3="∅",A3="◻",S3="∅",T3="▫",M3=" ",O3=" ",R3=" ",N3="Ŋ",D3="ŋ",L3=" ",I3="Ę",P3="ę",F3="𝔼",B3="𝕖",$3="⋕",z3="⧣",j3="⩱",U3="ε",q3="Ε",H3="ε",V3="ϵ",G3="≖",K3="≕",W3="≂",Z3="⪖",Y3="⪕",J3="⩵",Q3="=",X3="≂",e8="≟",t8="⇌",n8="≡",s8="⩸",o8="⧥",r8="⥱",i8="≓",a8="ℯ",l8="ℰ",c8="≐",d8="⩳",u8="≂",h8="Η",f8="η",p8="Ð",g8="ð",m8="Ë",_8="ë",b8="€",y8="!",v8="∃",w8="∃",x8="ℰ",k8="ⅇ",E8="ⅇ",C8="≒",A8="Ф",S8="ф",T8="♀",M8="ffi",O8="ff",R8="ffl",N8="𝔉",D8="𝔣",L8="fi",I8="◼",P8="▪",F8="fj",B8="♭",$8="fl",z8="▱",j8="ƒ",U8="𝔽",q8="𝕗",H8="∀",V8="∀",G8="⋔",K8="⫙",W8="ℱ",Z8="⨍",Y8="½",J8="⅓",Q8="¼",X8="⅕",e6="⅙",t6="⅛",n6="⅔",s6="⅖",o6="¾",r6="⅗",i6="⅜",a6="⅘",l6="⅚",c6="⅝",d6="⅞",u6="⁄",h6="⌢",f6="𝒻",p6="ℱ",g6="ǵ",m6="Γ",_6="γ",b6="Ϝ",y6="ϝ",v6="⪆",w6="Ğ",x6="ğ",k6="Ģ",E6="Ĝ",C6="ĝ",A6="Г",S6="г",T6="Ġ",M6="ġ",O6="≥",R6="≧",N6="⪌",D6="⋛",L6="≥",I6="≧",P6="⩾",F6="⪩",B6="⩾",$6="⪀",z6="⪂",j6="⪄",U6="⋛︀",q6="⪔",H6="𝔊",V6="𝔤",G6="≫",K6="⋙",W6="⋙",Z6="ℷ",Y6="Ѓ",J6="ѓ",Q6="⪥",X6="≷",eA="⪒",tA="⪤",nA="⪊",sA="⪊",oA="⪈",rA="≩",iA="⪈",aA="≩",lA="⋧",cA="𝔾",dA="𝕘",uA="`",hA="≥",fA="⋛",pA="≧",gA="⪢",mA="≷",_A="⩾",bA="≳",yA="𝒢",vA="ℊ",wA="≳",xA="⪎",kA="⪐",EA="⪧",CA="⩺",AA=">",SA=">",TA="≫",MA="⋗",OA="⦕",RA="⩼",NA="⪆",DA="⥸",LA="⋗",IA="⋛",PA="⪌",FA="≷",BA="≳",$A="≩︀",zA="≩︀",jA="ˇ",UA=" ",qA="½",HA="ℋ",VA="Ъ",GA="ъ",KA="⥈",WA="↔",ZA="⇔",YA="↭",JA="^",QA="ℏ",XA="Ĥ",eS="ĥ",tS="♥",nS="♥",sS="…",oS="⊹",rS="𝔥",iS="ℌ",aS="ℋ",lS="⤥",cS="⤦",dS="⇿",uS="∻",hS="↩",fS="↪",pS="𝕙",gS="ℍ",mS="―",_S="─",bS="𝒽",yS="ℋ",vS="ℏ",wS="Ħ",xS="ħ",kS="≎",ES="≏",CS="⁃",AS="‐",SS="Í",TS="í",MS="⁣",OS="Î",RS="î",NS="И",DS="и",LS="İ",IS="Е",PS="е",FS="¡",BS="⇔",$S="𝔦",zS="ℑ",jS="Ì",US="ì",qS="ⅈ",HS="⨌",VS="∭",GS="⧜",KS="℩",WS="IJ",ZS="ij",YS="Ī",JS="ī",QS="ℑ",XS="ⅈ",eT="ℐ",tT="ℑ",nT="ı",sT="ℑ",oT="⊷",rT="Ƶ",iT="⇒",aT="℅",lT="∞",cT="⧝",dT="ı",uT="⊺",hT="∫",fT="∬",pT="ℤ",gT="∫",mT="⊺",_T="⋂",bT="⨗",yT="⨼",vT="⁣",wT="⁢",xT="Ё",kT="ё",ET="Į",CT="į",AT="𝕀",ST="𝕚",TT="Ι",MT="ι",OT="⨼",RT="¿",NT="𝒾",DT="ℐ",LT="∈",IT="⋵",PT="⋹",FT="⋴",BT="⋳",$T="∈",zT="⁢",jT="Ĩ",UT="ĩ",qT="І",HT="і",VT="Ï",GT="ï",KT="Ĵ",WT="ĵ",ZT="Й",YT="й",JT="𝔍",QT="𝔧",XT="ȷ",e7="𝕁",t7="𝕛",n7="𝒥",s7="𝒿",o7="Ј",r7="ј",i7="Є",a7="є",l7="Κ",c7="κ",d7="ϰ",u7="Ķ",h7="ķ",f7="К",p7="к",g7="𝔎",m7="𝔨",_7="ĸ",b7="Х",y7="х",v7="Ќ",w7="ќ",x7="𝕂",k7="𝕜",E7="𝒦",C7="𝓀",A7="⇚",S7="Ĺ",T7="ĺ",M7="⦴",O7="ℒ",R7="Λ",N7="λ",D7="⟨",L7="⟪",I7="⦑",P7="⟨",F7="⪅",B7="ℒ",$7="«",z7="⇤",j7="⤟",U7="←",q7="↞",H7="⇐",V7="⤝",G7="↩",K7="↫",W7="⤹",Z7="⥳",Y7="↢",J7="⤙",Q7="⤛",X7="⪫",eM="⪭",tM="⪭︀",nM="⤌",sM="⤎",oM="❲",rM="{",iM="[",aM="⦋",lM="⦏",cM="⦍",dM="Ľ",uM="ľ",hM="Ļ",fM="ļ",pM="⌈",gM="{",mM="Л",_M="л",bM="⤶",yM="“",vM="„",wM="⥧",xM="⥋",kM="↲",EM="≤",CM="≦",AM="⟨",SM="⇤",TM="←",MM="←",OM="⇐",RM="⇆",NM="↢",DM="⌈",LM="⟦",IM="⥡",PM="⥙",FM="⇃",BM="⌊",$M="↽",zM="↼",jM="⇇",UM="↔",qM="↔",HM="⇔",VM="⇆",GM="⇋",KM="↭",WM="⥎",ZM="↤",YM="⊣",JM="⥚",QM="⋋",XM="⧏",eO="⊲",tO="⊴",nO="⥑",sO="⥠",oO="⥘",rO="↿",iO="⥒",aO="↼",lO="⪋",cO="⋚",dO="≤",uO="≦",hO="⩽",fO="⪨",pO="⩽",gO="⩿",mO="⪁",_O="⪃",bO="⋚︀",yO="⪓",vO="⪅",wO="⋖",xO="⋚",kO="⪋",EO="⋚",CO="≦",AO="≶",SO="≶",TO="⪡",MO="≲",OO="⩽",RO="≲",NO="⥼",DO="⌊",LO="𝔏",IO="𝔩",PO="≶",FO="⪑",BO="⥢",$O="↽",zO="↼",jO="⥪",UO="▄",qO="Љ",HO="љ",VO="⇇",GO="≪",KO="⋘",WO="⌞",ZO="⇚",YO="⥫",JO="◺",QO="Ŀ",XO="ŀ",eR="⎰",tR="⎰",nR="⪉",sR="⪉",oR="⪇",rR="≨",iR="⪇",aR="≨",lR="⋦",cR="⟬",dR="⇽",uR="⟦",hR="⟵",fR="⟵",pR="⟸",gR="⟷",mR="⟷",_R="⟺",bR="⟼",yR="⟶",vR="⟶",wR="⟹",xR="↫",kR="↬",ER="⦅",CR="𝕃",AR="𝕝",SR="⨭",TR="⨴",MR="∗",OR="_",RR="↙",NR="↘",DR="◊",LR="◊",IR="⧫",PR="(",FR="⦓",BR="⇆",$R="⌟",zR="⇋",jR="⥭",UR="‎",qR="⊿",HR="‹",VR="𝓁",GR="ℒ",KR="↰",WR="↰",ZR="≲",YR="⪍",JR="⪏",QR="[",XR="‘",eN="‚",tN="Ł",nN="ł",sN="⪦",oN="⩹",rN="<",iN="<",aN="≪",lN="⋖",cN="⋋",dN="⋉",uN="⥶",hN="⩻",fN="◃",pN="⊴",gN="◂",mN="⦖",_N="⥊",bN="⥦",yN="≨︀",vN="≨︀",wN="¯",xN="♂",kN="✠",EN="✠",CN="↦",AN="↦",SN="↧",TN="↤",MN="↥",ON="▮",RN="⨩",NN="М",DN="м",LN="—",IN="∺",PN="∡",FN=" ",BN="ℳ",$N="𝔐",zN="𝔪",jN="℧",UN="µ",qN="*",HN="⫰",VN="∣",GN="·",KN="⊟",WN="−",ZN="∸",YN="⨪",JN="∓",QN="⫛",XN="…",eD="∓",tD="⊧",nD="𝕄",sD="𝕞",oD="∓",rD="𝓂",iD="ℳ",aD="∾",lD="Μ",cD="μ",dD="⊸",uD="⊸",hD="∇",fD="Ń",pD="ń",gD="∠⃒",mD="≉",_D="⩰̸",bD="≋̸",yD="ʼn",vD="≉",wD="♮",xD="ℕ",kD="♮",ED=" ",CD="≎̸",AD="≏̸",SD="⩃",TD="Ň",MD="ň",OD="Ņ",RD="ņ",ND="≇",DD="⩭̸",LD="⩂",ID="Н",PD="н",FD="–",BD="⤤",$D="↗",zD="⇗",jD="↗",UD="≠",qD="≐̸",HD="​",VD="​",GD="​",KD="​",WD="≢",ZD="⤨",YD="≂̸",JD="≫",QD="≪",XD=` +`,eL="∄",tL="∄",nL="𝔑",sL="𝔫",oL="≧̸",rL="≱",iL="≱",aL="≧̸",lL="⩾̸",cL="⩾̸",dL="⋙̸",uL="≵",hL="≫⃒",fL="≯",pL="≯",gL="≫̸",mL="↮",_L="⇎",bL="⫲",yL="∋",vL="⋼",wL="⋺",xL="∋",kL="Њ",EL="њ",CL="↚",AL="⇍",SL="‥",TL="≦̸",ML="≰",OL="↚",RL="⇍",NL="↮",DL="⇎",LL="≰",IL="≦̸",PL="⩽̸",FL="⩽̸",BL="≮",$L="⋘̸",zL="≴",jL="≪⃒",UL="≮",qL="⋪",HL="⋬",VL="≪̸",GL="∤",KL="⁠",WL=" ",ZL="𝕟",YL="ℕ",JL="⫬",QL="¬",XL="≢",eI="≭",tI="∦",nI="∉",sI="≠",oI="≂̸",rI="∄",iI="≯",aI="≱",lI="≧̸",cI="≫̸",dI="≹",uI="⩾̸",hI="≵",fI="≎̸",pI="≏̸",gI="∉",mI="⋵̸",_I="⋹̸",bI="∉",yI="⋷",vI="⋶",wI="⧏̸",xI="⋪",kI="⋬",EI="≮",CI="≰",AI="≸",SI="≪̸",TI="⩽̸",MI="≴",OI="⪢̸",RI="⪡̸",NI="∌",DI="∌",LI="⋾",II="⋽",PI="⊀",FI="⪯̸",BI="⋠",$I="∌",zI="⧐̸",jI="⋫",UI="⋭",qI="⊏̸",HI="⋢",VI="⊐̸",GI="⋣",KI="⊂⃒",WI="⊈",ZI="⊁",YI="⪰̸",JI="⋡",QI="≿̸",XI="⊃⃒",eP="⊉",tP="≁",nP="≄",sP="≇",oP="≉",rP="∤",iP="∦",aP="∦",lP="⫽⃥",cP="∂̸",dP="⨔",uP="⊀",hP="⋠",fP="⊀",pP="⪯̸",gP="⪯̸",mP="⤳̸",_P="↛",bP="⇏",yP="↝̸",vP="↛",wP="⇏",xP="⋫",kP="⋭",EP="⊁",CP="⋡",AP="⪰̸",SP="𝒩",TP="𝓃",MP="∤",OP="∦",RP="≁",NP="≄",DP="≄",LP="∤",IP="∦",PP="⋢",FP="⋣",BP="⊄",$P="⫅̸",zP="⊈",jP="⊂⃒",UP="⊈",qP="⫅̸",HP="⊁",VP="⪰̸",GP="⊅",KP="⫆̸",WP="⊉",ZP="⊃⃒",YP="⊉",JP="⫆̸",QP="≹",XP="Ñ",eF="ñ",tF="≸",nF="⋪",sF="⋬",oF="⋫",rF="⋭",iF="Ν",aF="ν",lF="#",cF="№",dF=" ",uF="≍⃒",hF="⊬",fF="⊭",pF="⊮",gF="⊯",mF="≥⃒",_F=">⃒",bF="⤄",yF="⧞",vF="⤂",wF="≤⃒",xF="<⃒",kF="⊴⃒",EF="⤃",CF="⊵⃒",AF="∼⃒",SF="⤣",TF="↖",MF="⇖",OF="↖",RF="⤧",NF="Ó",DF="ó",LF="⊛",IF="Ô",PF="ô",FF="⊚",BF="О",$F="о",zF="⊝",jF="Ő",UF="ő",qF="⨸",HF="⊙",VF="⦼",GF="Œ",KF="œ",WF="⦿",ZF="𝔒",YF="𝔬",JF="˛",QF="Ò",XF="ò",eB="⧁",tB="⦵",nB="Ω",sB="∮",oB="↺",rB="⦾",iB="⦻",aB="‾",lB="⧀",cB="Ō",dB="ō",uB="Ω",hB="ω",fB="Ο",pB="ο",gB="⦶",mB="⊖",_B="𝕆",bB="𝕠",yB="⦷",vB="“",wB="‘",xB="⦹",kB="⊕",EB="↻",CB="⩔",AB="∨",SB="⩝",TB="ℴ",MB="ℴ",OB="ª",RB="º",NB="⊶",DB="⩖",LB="⩗",IB="⩛",PB="Ⓢ",FB="𝒪",BB="ℴ",$B="Ø",zB="ø",jB="⊘",UB="Õ",qB="õ",HB="⨶",VB="⨷",GB="⊗",KB="Ö",WB="ö",ZB="⌽",YB="‾",JB="⏞",QB="⎴",XB="⏜",e$="¶",t$="∥",n$="∥",s$="⫳",o$="⫽",r$="∂",i$="∂",a$="П",l$="п",c$="%",d$=".",u$="‰",h$="⊥",f$="‱",p$="𝔓",g$="𝔭",m$="Φ",_$="φ",b$="ϕ",y$="ℳ",v$="☎",w$="Π",x$="π",k$="⋔",E$="ϖ",C$="ℏ",A$="ℎ",S$="ℏ",T$="⨣",M$="⊞",O$="⨢",R$="+",N$="∔",D$="⨥",L$="⩲",I$="±",P$="±",F$="⨦",B$="⨧",$$="±",z$="ℌ",j$="⨕",U$="𝕡",q$="ℙ",H$="£",V$="⪷",G$="⪻",K$="≺",W$="≼",Z$="⪷",Y$="≺",J$="≼",Q$="≺",X$="⪯",ez="≼",tz="≾",nz="⪯",sz="⪹",oz="⪵",rz="⋨",iz="⪯",az="⪳",lz="≾",cz="′",dz="″",uz="ℙ",hz="⪹",fz="⪵",pz="⋨",gz="∏",mz="∏",_z="⌮",bz="⌒",yz="⌓",vz="∝",wz="∝",xz="∷",kz="∝",Ez="≾",Cz="⊰",Az="𝒫",Sz="𝓅",Tz="Ψ",Mz="ψ",Oz=" ",Rz="𝔔",Nz="𝔮",Dz="⨌",Lz="𝕢",Iz="ℚ",Pz="⁗",Fz="𝒬",Bz="𝓆",$z="ℍ",zz="⨖",jz="?",Uz="≟",qz='"',Hz='"',Vz="⇛",Gz="∽̱",Kz="Ŕ",Wz="ŕ",Zz="√",Yz="⦳",Jz="⟩",Qz="⟫",Xz="⦒",ej="⦥",tj="⟩",nj="»",sj="⥵",oj="⇥",rj="⤠",ij="⤳",aj="→",lj="↠",cj="⇒",dj="⤞",uj="↪",hj="↬",fj="⥅",pj="⥴",gj="⤖",mj="↣",_j="↝",bj="⤚",yj="⤜",vj="∶",wj="ℚ",xj="⤍",kj="⤏",Ej="⤐",Cj="❳",Aj="}",Sj="]",Tj="⦌",Mj="⦎",Oj="⦐",Rj="Ř",Nj="ř",Dj="Ŗ",Lj="ŗ",Ij="⌉",Pj="}",Fj="Р",Bj="р",$j="⤷",zj="⥩",jj="”",Uj="”",qj="↳",Hj="ℜ",Vj="ℛ",Gj="ℜ",Kj="ℝ",Wj="ℜ",Zj="▭",Yj="®",Jj="®",Qj="∋",Xj="⇋",eU="⥯",tU="⥽",nU="⌋",sU="𝔯",oU="ℜ",rU="⥤",iU="⇁",aU="⇀",lU="⥬",cU="Ρ",dU="ρ",uU="ϱ",hU="⟩",fU="⇥",pU="→",gU="→",mU="⇒",_U="⇄",bU="↣",yU="⌉",vU="⟧",wU="⥝",xU="⥕",kU="⇂",EU="⌋",CU="⇁",AU="⇀",SU="⇄",TU="⇌",MU="⇉",OU="↝",RU="↦",NU="⊢",DU="⥛",LU="⋌",IU="⧐",PU="⊳",FU="⊵",BU="⥏",$U="⥜",zU="⥔",jU="↾",UU="⥓",qU="⇀",HU="˚",VU="≓",GU="⇄",KU="⇌",WU="‏",ZU="⎱",YU="⎱",JU="⫮",QU="⟭",XU="⇾",eq="⟧",tq="⦆",nq="𝕣",sq="ℝ",oq="⨮",rq="⨵",iq="⥰",aq=")",lq="⦔",cq="⨒",dq="⇉",uq="⇛",hq="›",fq="𝓇",pq="ℛ",gq="↱",mq="↱",_q="]",bq="’",yq="’",vq="⋌",wq="⋊",xq="▹",kq="⊵",Eq="▸",Cq="⧎",Aq="⧴",Sq="⥨",Tq="℞",Mq="Ś",Oq="ś",Rq="‚",Nq="⪸",Dq="Š",Lq="š",Iq="⪼",Pq="≻",Fq="≽",Bq="⪰",$q="⪴",zq="Ş",jq="ş",Uq="Ŝ",qq="ŝ",Hq="⪺",Vq="⪶",Gq="⋩",Kq="⨓",Wq="≿",Zq="С",Yq="с",Jq="⊡",Qq="⋅",Xq="⩦",eH="⤥",tH="↘",nH="⇘",sH="↘",oH="§",rH=";",iH="⤩",aH="∖",lH="∖",cH="✶",dH="𝔖",uH="𝔰",hH="⌢",fH="♯",pH="Щ",gH="щ",mH="Ш",_H="ш",bH="↓",yH="←",vH="∣",wH="∥",xH="→",kH="↑",EH="­",CH="Σ",AH="σ",SH="ς",TH="ς",MH="∼",OH="⩪",RH="≃",NH="≃",DH="⪞",LH="⪠",IH="⪝",PH="⪟",FH="≆",BH="⨤",$H="⥲",zH="←",jH="∘",UH="∖",qH="⨳",HH="⧤",VH="∣",GH="⌣",KH="⪪",WH="⪬",ZH="⪬︀",YH="Ь",JH="ь",QH="⌿",XH="⧄",eV="/",tV="𝕊",nV="𝕤",sV="♠",oV="♠",rV="∥",iV="⊓",aV="⊓︀",lV="⊔",cV="⊔︀",dV="√",uV="⊏",hV="⊑",fV="⊏",pV="⊑",gV="⊐",mV="⊒",_V="⊐",bV="⊒",yV="□",vV="□",wV="⊓",xV="⊏",kV="⊑",EV="⊐",CV="⊒",AV="⊔",SV="▪",TV="□",MV="▪",OV="→",RV="𝒮",NV="𝓈",DV="∖",LV="⌣",IV="⋆",PV="⋆",FV="☆",BV="★",$V="ϵ",zV="ϕ",jV="¯",UV="⊂",qV="⋐",HV="⪽",VV="⫅",GV="⊆",KV="⫃",WV="⫁",ZV="⫋",YV="⊊",JV="⪿",QV="⥹",XV="⊂",eG="⋐",tG="⊆",nG="⫅",sG="⊆",oG="⊊",rG="⫋",iG="⫇",aG="⫕",lG="⫓",cG="⪸",dG="≻",uG="≽",hG="≻",fG="⪰",pG="≽",gG="≿",mG="⪰",_G="⪺",bG="⪶",yG="⋩",vG="≿",wG="∋",xG="∑",kG="∑",EG="♪",CG="¹",AG="²",SG="³",TG="⊃",MG="⋑",OG="⪾",RG="⫘",NG="⫆",DG="⊇",LG="⫄",IG="⊃",PG="⊇",FG="⟉",BG="⫗",$G="⥻",zG="⫂",jG="⫌",UG="⊋",qG="⫀",HG="⊃",VG="⋑",GG="⊇",KG="⫆",WG="⊋",ZG="⫌",YG="⫈",JG="⫔",QG="⫖",XG="⤦",eK="↙",tK="⇙",nK="↙",sK="⤪",oK="ß",rK=" ",iK="⌖",aK="Τ",lK="τ",cK="⎴",dK="Ť",uK="ť",hK="Ţ",fK="ţ",pK="Т",gK="т",mK="⃛",_K="⌕",bK="𝔗",yK="𝔱",vK="∴",wK="∴",xK="∴",kK="Θ",EK="θ",CK="ϑ",AK="ϑ",SK="≈",TK="∼",MK="  ",OK=" ",RK=" ",NK="≈",DK="∼",LK="Þ",IK="þ",PK="˜",FK="∼",BK="≃",$K="≅",zK="≈",jK="⨱",UK="⊠",qK="×",HK="⨰",VK="∭",GK="⤨",KK="⌶",WK="⫱",ZK="⊤",YK="𝕋",JK="𝕥",QK="⫚",XK="⤩",eW="‴",tW="™",nW="™",sW="▵",oW="▿",rW="◃",iW="⊴",aW="≜",lW="▹",cW="⊵",dW="◬",uW="≜",hW="⨺",fW="⃛",pW="⨹",gW="⧍",mW="⨻",_W="⏢",bW="𝒯",yW="𝓉",vW="Ц",wW="ц",xW="Ћ",kW="ћ",EW="Ŧ",CW="ŧ",AW="≬",SW="↞",TW="↠",MW="Ú",OW="ú",RW="↑",NW="↟",DW="⇑",LW="⥉",IW="Ў",PW="ў",FW="Ŭ",BW="ŭ",$W="Û",zW="û",jW="У",UW="у",qW="⇅",HW="Ű",VW="ű",GW="⥮",KW="⥾",WW="𝔘",ZW="𝔲",YW="Ù",JW="ù",QW="⥣",XW="↿",eZ="↾",tZ="▀",nZ="⌜",sZ="⌜",oZ="⌏",rZ="◸",iZ="Ū",aZ="ū",lZ="¨",cZ="_",dZ="⏟",uZ="⎵",hZ="⏝",fZ="⋃",pZ="⊎",gZ="Ų",mZ="ų",_Z="𝕌",bZ="𝕦",yZ="⤒",vZ="↑",wZ="↑",xZ="⇑",kZ="⇅",EZ="↕",CZ="↕",AZ="⇕",SZ="⥮",TZ="↿",MZ="↾",OZ="⊎",RZ="↖",NZ="↗",DZ="υ",LZ="ϒ",IZ="ϒ",PZ="Υ",FZ="υ",BZ="↥",$Z="⊥",zZ="⇈",jZ="⌝",UZ="⌝",qZ="⌎",HZ="Ů",VZ="ů",GZ="◹",KZ="𝒰",WZ="𝓊",ZZ="⋰",YZ="Ũ",JZ="ũ",QZ="▵",XZ="▴",eY="⇈",tY="Ü",nY="ü",sY="⦧",oY="⦜",rY="ϵ",iY="ϰ",aY="∅",lY="ϕ",cY="ϖ",dY="∝",uY="↕",hY="⇕",fY="ϱ",pY="ς",gY="⊊︀",mY="⫋︀",_Y="⊋︀",bY="⫌︀",yY="ϑ",vY="⊲",wY="⊳",xY="⫨",kY="⫫",EY="⫩",CY="В",AY="в",SY="⊢",TY="⊨",MY="⊩",OY="⊫",RY="⫦",NY="⊻",DY="∨",LY="⋁",IY="≚",PY="⋮",FY="|",BY="‖",$Y="|",zY="‖",jY="∣",UY="|",qY="❘",HY="≀",VY=" ",GY="𝔙",KY="𝔳",WY="⊲",ZY="⊂⃒",YY="⊃⃒",JY="𝕍",QY="𝕧",XY="∝",eJ="⊳",tJ="𝒱",nJ="𝓋",sJ="⫋︀",oJ="⊊︀",rJ="⫌︀",iJ="⊋︀",aJ="⊪",lJ="⦚",cJ="Ŵ",dJ="ŵ",uJ="⩟",hJ="∧",fJ="⋀",pJ="≙",gJ="℘",mJ="𝔚",_J="𝔴",bJ="𝕎",yJ="𝕨",vJ="℘",wJ="≀",xJ="≀",kJ="𝒲",EJ="𝓌",CJ="⋂",AJ="◯",SJ="⋃",TJ="▽",MJ="𝔛",OJ="𝔵",RJ="⟷",NJ="⟺",DJ="Ξ",LJ="ξ",IJ="⟵",PJ="⟸",FJ="⟼",BJ="⋻",$J="⨀",zJ="𝕏",jJ="𝕩",UJ="⨁",qJ="⨂",HJ="⟶",VJ="⟹",GJ="𝒳",KJ="𝓍",WJ="⨆",ZJ="⨄",YJ="△",JJ="⋁",QJ="⋀",XJ="Ý",eQ="ý",tQ="Я",nQ="я",sQ="Ŷ",oQ="ŷ",rQ="Ы",iQ="ы",aQ="¥",lQ="𝔜",cQ="𝔶",dQ="Ї",uQ="ї",hQ="𝕐",fQ="𝕪",pQ="𝒴",gQ="𝓎",mQ="Ю",_Q="ю",bQ="ÿ",yQ="Ÿ",vQ="Ź",wQ="ź",xQ="Ž",kQ="ž",EQ="З",CQ="з",AQ="Ż",SQ="ż",TQ="ℨ",MQ="​",OQ="Ζ",RQ="ζ",NQ="𝔷",DQ="ℨ",LQ="Ж",IQ="ж",PQ="⇝",FQ="𝕫",BQ="ℤ",$Q="𝒵",zQ="𝓏",jQ="‍",UQ="‌",qQ={Aacute:Av,aacute:Sv,Abreve:Tv,abreve:Mv,ac:Ov,acd:Rv,acE:Nv,Acirc:Dv,acirc:Lv,acute:Iv,Acy:Pv,acy:Fv,AElig:Bv,aelig:$v,af:zv,Afr:jv,afr:Uv,Agrave:qv,agrave:Hv,alefsym:Vv,aleph:Gv,Alpha:Kv,alpha:Wv,Amacr:Zv,amacr:Yv,amalg:Jv,amp:Qv,AMP:Xv,andand:ew,And:tw,and:nw,andd:sw,andslope:ow,andv:rw,ang:iw,ange:aw,angle:lw,angmsdaa:cw,angmsdab:dw,angmsdac:uw,angmsdad:hw,angmsdae:fw,angmsdaf:pw,angmsdag:gw,angmsdah:mw,angmsd:_w,angrt:bw,angrtvb:yw,angrtvbd:vw,angsph:ww,angst:xw,angzarr:kw,Aogon:Ew,aogon:Cw,Aopf:Aw,aopf:Sw,apacir:Tw,ap:Mw,apE:Ow,ape:Rw,apid:Nw,apos:Dw,ApplyFunction:Lw,approx:Iw,approxeq:Pw,Aring:Fw,aring:Bw,Ascr:$w,ascr:zw,Assign:jw,ast:Uw,asymp:qw,asympeq:Hw,Atilde:Vw,atilde:Gw,Auml:Kw,auml:Ww,awconint:Zw,awint:Yw,backcong:Jw,backepsilon:Qw,backprime:Xw,backsim:ex,backsimeq:tx,Backslash:nx,Barv:sx,barvee:ox,barwed:rx,Barwed:ix,barwedge:ax,bbrk:lx,bbrktbrk:cx,bcong:dx,Bcy:ux,bcy:hx,bdquo:fx,becaus:px,because:gx,Because:mx,bemptyv:_x,bepsi:bx,bernou:yx,Bernoullis:vx,Beta:wx,beta:xx,beth:kx,between:Ex,Bfr:Cx,bfr:Ax,bigcap:Sx,bigcirc:Tx,bigcup:Mx,bigodot:Ox,bigoplus:Rx,bigotimes:Nx,bigsqcup:Dx,bigstar:Lx,bigtriangledown:Ix,bigtriangleup:Px,biguplus:Fx,bigvee:Bx,bigwedge:$x,bkarow:zx,blacklozenge:jx,blacksquare:Ux,blacktriangle:qx,blacktriangledown:Hx,blacktriangleleft:Vx,blacktriangleright:Gx,blank:Kx,blk12:Wx,blk14:Zx,blk34:Yx,block:Jx,bne:Qx,bnequiv:Xx,bNot:ek,bnot:tk,Bopf:nk,bopf:sk,bot:ok,bottom:rk,bowtie:ik,boxbox:ak,boxdl:lk,boxdL:ck,boxDl:dk,boxDL:uk,boxdr:hk,boxdR:fk,boxDr:pk,boxDR:gk,boxh:mk,boxH:_k,boxhd:bk,boxHd:yk,boxhD:vk,boxHD:wk,boxhu:xk,boxHu:kk,boxhU:Ek,boxHU:Ck,boxminus:Ak,boxplus:Sk,boxtimes:Tk,boxul:Mk,boxuL:Ok,boxUl:Rk,boxUL:Nk,boxur:Dk,boxuR:Lk,boxUr:Ik,boxUR:Pk,boxv:Fk,boxV:Bk,boxvh:$k,boxvH:zk,boxVh:jk,boxVH:Uk,boxvl:qk,boxvL:Hk,boxVl:Vk,boxVL:Gk,boxvr:Kk,boxvR:Wk,boxVr:Zk,boxVR:Yk,bprime:Jk,breve:Qk,Breve:Xk,brvbar:e5,bscr:t5,Bscr:n5,bsemi:s5,bsim:o5,bsime:r5,bsolb:i5,bsol:a5,bsolhsub:l5,bull:c5,bullet:d5,bump:u5,bumpE:h5,bumpe:f5,Bumpeq:p5,bumpeq:g5,Cacute:m5,cacute:_5,capand:b5,capbrcup:y5,capcap:v5,cap:w5,Cap:x5,capcup:k5,capdot:E5,CapitalDifferentialD:C5,caps:A5,caret:S5,caron:T5,Cayleys:M5,ccaps:O5,Ccaron:R5,ccaron:N5,Ccedil:D5,ccedil:L5,Ccirc:I5,ccirc:P5,Cconint:F5,ccups:B5,ccupssm:$5,Cdot:z5,cdot:j5,cedil:U5,Cedilla:q5,cemptyv:H5,cent:V5,centerdot:G5,CenterDot:K5,cfr:W5,Cfr:Z5,CHcy:Y5,chcy:J5,check:Q5,checkmark:X5,Chi:eE,chi:tE,circ:nE,circeq:sE,circlearrowleft:oE,circlearrowright:rE,circledast:iE,circledcirc:aE,circleddash:lE,CircleDot:cE,circledR:dE,circledS:uE,CircleMinus:hE,CirclePlus:fE,CircleTimes:pE,cir:gE,cirE:mE,cire:_E,cirfnint:bE,cirmid:yE,cirscir:vE,ClockwiseContourIntegral:wE,CloseCurlyDoubleQuote:xE,CloseCurlyQuote:kE,clubs:EE,clubsuit:CE,colon:AE,Colon:SE,Colone:TE,colone:ME,coloneq:OE,comma:RE,commat:NE,comp:DE,compfn:LE,complement:IE,complexes:PE,cong:FE,congdot:BE,Congruent:$E,conint:zE,Conint:jE,ContourIntegral:UE,copf:qE,Copf:HE,coprod:VE,Coproduct:GE,copy:KE,COPY:WE,copysr:ZE,CounterClockwiseContourIntegral:YE,crarr:JE,cross:QE,Cross:XE,Cscr:e4,cscr:t4,csub:n4,csube:s4,csup:o4,csupe:r4,ctdot:i4,cudarrl:a4,cudarrr:l4,cuepr:c4,cuesc:d4,cularr:u4,cularrp:h4,cupbrcap:f4,cupcap:p4,CupCap:g4,cup:m4,Cup:_4,cupcup:b4,cupdot:y4,cupor:v4,cups:w4,curarr:x4,curarrm:k4,curlyeqprec:E4,curlyeqsucc:C4,curlyvee:A4,curlywedge:S4,curren:T4,curvearrowleft:M4,curvearrowright:O4,cuvee:R4,cuwed:N4,cwconint:D4,cwint:L4,cylcty:I4,dagger:P4,Dagger:F4,daleth:B4,darr:$4,Darr:z4,dArr:j4,dash:U4,Dashv:q4,dashv:H4,dbkarow:V4,dblac:G4,Dcaron:K4,dcaron:W4,Dcy:Z4,dcy:Y4,ddagger:J4,ddarr:Q4,DD:X4,dd:e9,DDotrahd:t9,ddotseq:n9,deg:s9,Del:o9,Delta:r9,delta:i9,demptyv:a9,dfisht:l9,Dfr:c9,dfr:d9,dHar:u9,dharl:h9,dharr:f9,DiacriticalAcute:p9,DiacriticalDot:g9,DiacriticalDoubleAcute:m9,DiacriticalGrave:_9,DiacriticalTilde:b9,diam:y9,diamond:v9,Diamond:w9,diamondsuit:x9,diams:k9,die:E9,DifferentialD:C9,digamma:A9,disin:S9,div:T9,divide:M9,divideontimes:O9,divonx:R9,DJcy:N9,djcy:D9,dlcorn:L9,dlcrop:I9,dollar:P9,Dopf:F9,dopf:B9,Dot:$9,dot:z9,DotDot:j9,doteq:U9,doteqdot:q9,DotEqual:H9,dotminus:V9,dotplus:G9,dotsquare:K9,doublebarwedge:W9,DoubleContourIntegral:Z9,DoubleDot:Y9,DoubleDownArrow:J9,DoubleLeftArrow:Q9,DoubleLeftRightArrow:X9,DoubleLeftTee:eC,DoubleLongLeftArrow:tC,DoubleLongLeftRightArrow:nC,DoubleLongRightArrow:sC,DoubleRightArrow:oC,DoubleRightTee:rC,DoubleUpArrow:iC,DoubleUpDownArrow:aC,DoubleVerticalBar:lC,DownArrowBar:cC,downarrow:dC,DownArrow:uC,Downarrow:hC,DownArrowUpArrow:fC,DownBreve:pC,downdownarrows:gC,downharpoonleft:mC,downharpoonright:_C,DownLeftRightVector:bC,DownLeftTeeVector:yC,DownLeftVectorBar:vC,DownLeftVector:wC,DownRightTeeVector:xC,DownRightVectorBar:kC,DownRightVector:EC,DownTeeArrow:CC,DownTee:AC,drbkarow:SC,drcorn:TC,drcrop:MC,Dscr:OC,dscr:RC,DScy:NC,dscy:DC,dsol:LC,Dstrok:IC,dstrok:PC,dtdot:FC,dtri:BC,dtrif:$C,duarr:zC,duhar:jC,dwangle:UC,DZcy:qC,dzcy:HC,dzigrarr:VC,Eacute:GC,eacute:KC,easter:WC,Ecaron:ZC,ecaron:YC,Ecirc:JC,ecirc:QC,ecir:XC,ecolon:e3,Ecy:t3,ecy:n3,eDDot:s3,Edot:o3,edot:r3,eDot:i3,ee:a3,efDot:l3,Efr:c3,efr:d3,eg:u3,Egrave:h3,egrave:f3,egs:p3,egsdot:g3,el:m3,Element:_3,elinters:b3,ell:y3,els:v3,elsdot:w3,Emacr:x3,emacr:k3,empty:E3,emptyset:C3,EmptySmallSquare:A3,emptyv:S3,EmptyVerySmallSquare:T3,emsp13:M3,emsp14:O3,emsp:R3,ENG:N3,eng:D3,ensp:L3,Eogon:I3,eogon:P3,Eopf:F3,eopf:B3,epar:$3,eparsl:z3,eplus:j3,epsi:U3,Epsilon:q3,epsilon:H3,epsiv:V3,eqcirc:G3,eqcolon:K3,eqsim:W3,eqslantgtr:Z3,eqslantless:Y3,Equal:J3,equals:Q3,EqualTilde:X3,equest:e8,Equilibrium:t8,equiv:n8,equivDD:s8,eqvparsl:o8,erarr:r8,erDot:i8,escr:a8,Escr:l8,esdot:c8,Esim:d8,esim:u8,Eta:h8,eta:f8,ETH:p8,eth:g8,Euml:m8,euml:_8,euro:b8,excl:y8,exist:v8,Exists:w8,expectation:x8,exponentiale:k8,ExponentialE:E8,fallingdotseq:C8,Fcy:A8,fcy:S8,female:T8,ffilig:M8,fflig:O8,ffllig:R8,Ffr:N8,ffr:D8,filig:L8,FilledSmallSquare:I8,FilledVerySmallSquare:P8,fjlig:F8,flat:B8,fllig:$8,fltns:z8,fnof:j8,Fopf:U8,fopf:q8,forall:H8,ForAll:V8,fork:G8,forkv:K8,Fouriertrf:W8,fpartint:Z8,frac12:Y8,frac13:J8,frac14:Q8,frac15:X8,frac16:e6,frac18:t6,frac23:n6,frac25:s6,frac34:o6,frac35:r6,frac38:i6,frac45:a6,frac56:l6,frac58:c6,frac78:d6,frasl:u6,frown:h6,fscr:f6,Fscr:p6,gacute:g6,Gamma:m6,gamma:_6,Gammad:b6,gammad:y6,gap:v6,Gbreve:w6,gbreve:x6,Gcedil:k6,Gcirc:E6,gcirc:C6,Gcy:A6,gcy:S6,Gdot:T6,gdot:M6,ge:O6,gE:R6,gEl:N6,gel:D6,geq:L6,geqq:I6,geqslant:P6,gescc:F6,ges:B6,gesdot:$6,gesdoto:z6,gesdotol:j6,gesl:U6,gesles:q6,Gfr:H6,gfr:V6,gg:G6,Gg:K6,ggg:W6,gimel:Z6,GJcy:Y6,gjcy:J6,gla:Q6,gl:X6,glE:eA,glj:tA,gnap:nA,gnapprox:sA,gne:oA,gnE:rA,gneq:iA,gneqq:aA,gnsim:lA,Gopf:cA,gopf:dA,grave:uA,GreaterEqual:hA,GreaterEqualLess:fA,GreaterFullEqual:pA,GreaterGreater:gA,GreaterLess:mA,GreaterSlantEqual:_A,GreaterTilde:bA,Gscr:yA,gscr:vA,gsim:wA,gsime:xA,gsiml:kA,gtcc:EA,gtcir:CA,gt:AA,GT:SA,Gt:TA,gtdot:MA,gtlPar:OA,gtquest:RA,gtrapprox:NA,gtrarr:DA,gtrdot:LA,gtreqless:IA,gtreqqless:PA,gtrless:FA,gtrsim:BA,gvertneqq:$A,gvnE:zA,Hacek:jA,hairsp:UA,half:qA,hamilt:HA,HARDcy:VA,hardcy:GA,harrcir:KA,harr:WA,hArr:ZA,harrw:YA,Hat:JA,hbar:QA,Hcirc:XA,hcirc:eS,hearts:tS,heartsuit:nS,hellip:sS,hercon:oS,hfr:rS,Hfr:iS,HilbertSpace:aS,hksearow:lS,hkswarow:cS,hoarr:dS,homtht:uS,hookleftarrow:hS,hookrightarrow:fS,hopf:pS,Hopf:gS,horbar:mS,HorizontalLine:_S,hscr:bS,Hscr:yS,hslash:vS,Hstrok:wS,hstrok:xS,HumpDownHump:kS,HumpEqual:ES,hybull:CS,hyphen:AS,Iacute:SS,iacute:TS,ic:MS,Icirc:OS,icirc:RS,Icy:NS,icy:DS,Idot:LS,IEcy:IS,iecy:PS,iexcl:FS,iff:BS,ifr:$S,Ifr:zS,Igrave:jS,igrave:US,ii:qS,iiiint:HS,iiint:VS,iinfin:GS,iiota:KS,IJlig:WS,ijlig:ZS,Imacr:YS,imacr:JS,image:QS,ImaginaryI:XS,imagline:eT,imagpart:tT,imath:nT,Im:sT,imof:oT,imped:rT,Implies:iT,incare:aT,in:"∈",infin:lT,infintie:cT,inodot:dT,intcal:uT,int:hT,Int:fT,integers:pT,Integral:gT,intercal:mT,Intersection:_T,intlarhk:bT,intprod:yT,InvisibleComma:vT,InvisibleTimes:wT,IOcy:xT,iocy:kT,Iogon:ET,iogon:CT,Iopf:AT,iopf:ST,Iota:TT,iota:MT,iprod:OT,iquest:RT,iscr:NT,Iscr:DT,isin:LT,isindot:IT,isinE:PT,isins:FT,isinsv:BT,isinv:$T,it:zT,Itilde:jT,itilde:UT,Iukcy:qT,iukcy:HT,Iuml:VT,iuml:GT,Jcirc:KT,jcirc:WT,Jcy:ZT,jcy:YT,Jfr:JT,jfr:QT,jmath:XT,Jopf:e7,jopf:t7,Jscr:n7,jscr:s7,Jsercy:o7,jsercy:r7,Jukcy:i7,jukcy:a7,Kappa:l7,kappa:c7,kappav:d7,Kcedil:u7,kcedil:h7,Kcy:f7,kcy:p7,Kfr:g7,kfr:m7,kgreen:_7,KHcy:b7,khcy:y7,KJcy:v7,kjcy:w7,Kopf:x7,kopf:k7,Kscr:E7,kscr:C7,lAarr:A7,Lacute:S7,lacute:T7,laemptyv:M7,lagran:O7,Lambda:R7,lambda:N7,lang:D7,Lang:L7,langd:I7,langle:P7,lap:F7,Laplacetrf:B7,laquo:$7,larrb:z7,larrbfs:j7,larr:U7,Larr:q7,lArr:H7,larrfs:V7,larrhk:G7,larrlp:K7,larrpl:W7,larrsim:Z7,larrtl:Y7,latail:J7,lAtail:Q7,lat:X7,late:eM,lates:tM,lbarr:nM,lBarr:sM,lbbrk:oM,lbrace:rM,lbrack:iM,lbrke:aM,lbrksld:lM,lbrkslu:cM,Lcaron:dM,lcaron:uM,Lcedil:hM,lcedil:fM,lceil:pM,lcub:gM,Lcy:mM,lcy:_M,ldca:bM,ldquo:yM,ldquor:vM,ldrdhar:wM,ldrushar:xM,ldsh:kM,le:EM,lE:CM,LeftAngleBracket:AM,LeftArrowBar:SM,leftarrow:TM,LeftArrow:MM,Leftarrow:OM,LeftArrowRightArrow:RM,leftarrowtail:NM,LeftCeiling:DM,LeftDoubleBracket:LM,LeftDownTeeVector:IM,LeftDownVectorBar:PM,LeftDownVector:FM,LeftFloor:BM,leftharpoondown:$M,leftharpoonup:zM,leftleftarrows:jM,leftrightarrow:UM,LeftRightArrow:qM,Leftrightarrow:HM,leftrightarrows:VM,leftrightharpoons:GM,leftrightsquigarrow:KM,LeftRightVector:WM,LeftTeeArrow:ZM,LeftTee:YM,LeftTeeVector:JM,leftthreetimes:QM,LeftTriangleBar:XM,LeftTriangle:eO,LeftTriangleEqual:tO,LeftUpDownVector:nO,LeftUpTeeVector:sO,LeftUpVectorBar:oO,LeftUpVector:rO,LeftVectorBar:iO,LeftVector:aO,lEg:lO,leg:cO,leq:dO,leqq:uO,leqslant:hO,lescc:fO,les:pO,lesdot:gO,lesdoto:mO,lesdotor:_O,lesg:bO,lesges:yO,lessapprox:vO,lessdot:wO,lesseqgtr:xO,lesseqqgtr:kO,LessEqualGreater:EO,LessFullEqual:CO,LessGreater:AO,lessgtr:SO,LessLess:TO,lesssim:MO,LessSlantEqual:OO,LessTilde:RO,lfisht:NO,lfloor:DO,Lfr:LO,lfr:IO,lg:PO,lgE:FO,lHar:BO,lhard:$O,lharu:zO,lharul:jO,lhblk:UO,LJcy:qO,ljcy:HO,llarr:VO,ll:GO,Ll:KO,llcorner:WO,Lleftarrow:ZO,llhard:YO,lltri:JO,Lmidot:QO,lmidot:XO,lmoustache:eR,lmoust:tR,lnap:nR,lnapprox:sR,lne:oR,lnE:rR,lneq:iR,lneqq:aR,lnsim:lR,loang:cR,loarr:dR,lobrk:uR,longleftarrow:hR,LongLeftArrow:fR,Longleftarrow:pR,longleftrightarrow:gR,LongLeftRightArrow:mR,Longleftrightarrow:_R,longmapsto:bR,longrightarrow:yR,LongRightArrow:vR,Longrightarrow:wR,looparrowleft:xR,looparrowright:kR,lopar:ER,Lopf:CR,lopf:AR,loplus:SR,lotimes:TR,lowast:MR,lowbar:OR,LowerLeftArrow:RR,LowerRightArrow:NR,loz:DR,lozenge:LR,lozf:IR,lpar:PR,lparlt:FR,lrarr:BR,lrcorner:$R,lrhar:zR,lrhard:jR,lrm:UR,lrtri:qR,lsaquo:HR,lscr:VR,Lscr:GR,lsh:KR,Lsh:WR,lsim:ZR,lsime:YR,lsimg:JR,lsqb:QR,lsquo:XR,lsquor:eN,Lstrok:tN,lstrok:nN,ltcc:sN,ltcir:oN,lt:rN,LT:iN,Lt:aN,ltdot:lN,lthree:cN,ltimes:dN,ltlarr:uN,ltquest:hN,ltri:fN,ltrie:pN,ltrif:gN,ltrPar:mN,lurdshar:_N,luruhar:bN,lvertneqq:yN,lvnE:vN,macr:wN,male:xN,malt:kN,maltese:EN,Map:"⤅",map:CN,mapsto:AN,mapstodown:SN,mapstoleft:TN,mapstoup:MN,marker:ON,mcomma:RN,Mcy:NN,mcy:DN,mdash:LN,mDDot:IN,measuredangle:PN,MediumSpace:FN,Mellintrf:BN,Mfr:$N,mfr:zN,mho:jN,micro:UN,midast:qN,midcir:HN,mid:VN,middot:GN,minusb:KN,minus:WN,minusd:ZN,minusdu:YN,MinusPlus:JN,mlcp:QN,mldr:XN,mnplus:eD,models:tD,Mopf:nD,mopf:sD,mp:oD,mscr:rD,Mscr:iD,mstpos:aD,Mu:lD,mu:cD,multimap:dD,mumap:uD,nabla:hD,Nacute:fD,nacute:pD,nang:gD,nap:mD,napE:_D,napid:bD,napos:yD,napprox:vD,natural:wD,naturals:xD,natur:kD,nbsp:ED,nbump:CD,nbumpe:AD,ncap:SD,Ncaron:TD,ncaron:MD,Ncedil:OD,ncedil:RD,ncong:ND,ncongdot:DD,ncup:LD,Ncy:ID,ncy:PD,ndash:FD,nearhk:BD,nearr:$D,neArr:zD,nearrow:jD,ne:UD,nedot:qD,NegativeMediumSpace:HD,NegativeThickSpace:VD,NegativeThinSpace:GD,NegativeVeryThinSpace:KD,nequiv:WD,nesear:ZD,nesim:YD,NestedGreaterGreater:JD,NestedLessLess:QD,NewLine:XD,nexist:eL,nexists:tL,Nfr:nL,nfr:sL,ngE:oL,nge:rL,ngeq:iL,ngeqq:aL,ngeqslant:lL,nges:cL,nGg:dL,ngsim:uL,nGt:hL,ngt:fL,ngtr:pL,nGtv:gL,nharr:mL,nhArr:_L,nhpar:bL,ni:yL,nis:vL,nisd:wL,niv:xL,NJcy:kL,njcy:EL,nlarr:CL,nlArr:AL,nldr:SL,nlE:TL,nle:ML,nleftarrow:OL,nLeftarrow:RL,nleftrightarrow:NL,nLeftrightarrow:DL,nleq:LL,nleqq:IL,nleqslant:PL,nles:FL,nless:BL,nLl:$L,nlsim:zL,nLt:jL,nlt:UL,nltri:qL,nltrie:HL,nLtv:VL,nmid:GL,NoBreak:KL,NonBreakingSpace:WL,nopf:ZL,Nopf:YL,Not:JL,not:QL,NotCongruent:XL,NotCupCap:eI,NotDoubleVerticalBar:tI,NotElement:nI,NotEqual:sI,NotEqualTilde:oI,NotExists:rI,NotGreater:iI,NotGreaterEqual:aI,NotGreaterFullEqual:lI,NotGreaterGreater:cI,NotGreaterLess:dI,NotGreaterSlantEqual:uI,NotGreaterTilde:hI,NotHumpDownHump:fI,NotHumpEqual:pI,notin:gI,notindot:mI,notinE:_I,notinva:bI,notinvb:yI,notinvc:vI,NotLeftTriangleBar:wI,NotLeftTriangle:xI,NotLeftTriangleEqual:kI,NotLess:EI,NotLessEqual:CI,NotLessGreater:AI,NotLessLess:SI,NotLessSlantEqual:TI,NotLessTilde:MI,NotNestedGreaterGreater:OI,NotNestedLessLess:RI,notni:NI,notniva:DI,notnivb:LI,notnivc:II,NotPrecedes:PI,NotPrecedesEqual:FI,NotPrecedesSlantEqual:BI,NotReverseElement:$I,NotRightTriangleBar:zI,NotRightTriangle:jI,NotRightTriangleEqual:UI,NotSquareSubset:qI,NotSquareSubsetEqual:HI,NotSquareSuperset:VI,NotSquareSupersetEqual:GI,NotSubset:KI,NotSubsetEqual:WI,NotSucceeds:ZI,NotSucceedsEqual:YI,NotSucceedsSlantEqual:JI,NotSucceedsTilde:QI,NotSuperset:XI,NotSupersetEqual:eP,NotTilde:tP,NotTildeEqual:nP,NotTildeFullEqual:sP,NotTildeTilde:oP,NotVerticalBar:rP,nparallel:iP,npar:aP,nparsl:lP,npart:cP,npolint:dP,npr:uP,nprcue:hP,nprec:fP,npreceq:pP,npre:gP,nrarrc:mP,nrarr:_P,nrArr:bP,nrarrw:yP,nrightarrow:vP,nRightarrow:wP,nrtri:xP,nrtrie:kP,nsc:EP,nsccue:CP,nsce:AP,Nscr:SP,nscr:TP,nshortmid:MP,nshortparallel:OP,nsim:RP,nsime:NP,nsimeq:DP,nsmid:LP,nspar:IP,nsqsube:PP,nsqsupe:FP,nsub:BP,nsubE:$P,nsube:zP,nsubset:jP,nsubseteq:UP,nsubseteqq:qP,nsucc:HP,nsucceq:VP,nsup:GP,nsupE:KP,nsupe:WP,nsupset:ZP,nsupseteq:YP,nsupseteqq:JP,ntgl:QP,Ntilde:XP,ntilde:eF,ntlg:tF,ntriangleleft:nF,ntrianglelefteq:sF,ntriangleright:oF,ntrianglerighteq:rF,Nu:iF,nu:aF,num:lF,numero:cF,numsp:dF,nvap:uF,nvdash:hF,nvDash:fF,nVdash:pF,nVDash:gF,nvge:mF,nvgt:_F,nvHarr:bF,nvinfin:yF,nvlArr:vF,nvle:wF,nvlt:xF,nvltrie:kF,nvrArr:EF,nvrtrie:CF,nvsim:AF,nwarhk:SF,nwarr:TF,nwArr:MF,nwarrow:OF,nwnear:RF,Oacute:NF,oacute:DF,oast:LF,Ocirc:IF,ocirc:PF,ocir:FF,Ocy:BF,ocy:$F,odash:zF,Odblac:jF,odblac:UF,odiv:qF,odot:HF,odsold:VF,OElig:GF,oelig:KF,ofcir:WF,Ofr:ZF,ofr:YF,ogon:JF,Ograve:QF,ograve:XF,ogt:eB,ohbar:tB,ohm:nB,oint:sB,olarr:oB,olcir:rB,olcross:iB,oline:aB,olt:lB,Omacr:cB,omacr:dB,Omega:uB,omega:hB,Omicron:fB,omicron:pB,omid:gB,ominus:mB,Oopf:_B,oopf:bB,opar:yB,OpenCurlyDoubleQuote:vB,OpenCurlyQuote:wB,operp:xB,oplus:kB,orarr:EB,Or:CB,or:AB,ord:SB,order:TB,orderof:MB,ordf:OB,ordm:RB,origof:NB,oror:DB,orslope:LB,orv:IB,oS:PB,Oscr:FB,oscr:BB,Oslash:$B,oslash:zB,osol:jB,Otilde:UB,otilde:qB,otimesas:HB,Otimes:VB,otimes:GB,Ouml:KB,ouml:WB,ovbar:ZB,OverBar:YB,OverBrace:JB,OverBracket:QB,OverParenthesis:XB,para:e$,parallel:t$,par:n$,parsim:s$,parsl:o$,part:r$,PartialD:i$,Pcy:a$,pcy:l$,percnt:c$,period:d$,permil:u$,perp:h$,pertenk:f$,Pfr:p$,pfr:g$,Phi:m$,phi:_$,phiv:b$,phmmat:y$,phone:v$,Pi:w$,pi:x$,pitchfork:k$,piv:E$,planck:C$,planckh:A$,plankv:S$,plusacir:T$,plusb:M$,pluscir:O$,plus:R$,plusdo:N$,plusdu:D$,pluse:L$,PlusMinus:I$,plusmn:P$,plussim:F$,plustwo:B$,pm:$$,Poincareplane:z$,pointint:j$,popf:U$,Popf:q$,pound:H$,prap:V$,Pr:G$,pr:K$,prcue:W$,precapprox:Z$,prec:Y$,preccurlyeq:J$,Precedes:Q$,PrecedesEqual:X$,PrecedesSlantEqual:ez,PrecedesTilde:tz,preceq:nz,precnapprox:sz,precneqq:oz,precnsim:rz,pre:iz,prE:az,precsim:lz,prime:cz,Prime:dz,primes:uz,prnap:hz,prnE:fz,prnsim:pz,prod:gz,Product:mz,profalar:_z,profline:bz,profsurf:yz,prop:vz,Proportional:wz,Proportion:xz,propto:kz,prsim:Ez,prurel:Cz,Pscr:Az,pscr:Sz,Psi:Tz,psi:Mz,puncsp:Oz,Qfr:Rz,qfr:Nz,qint:Dz,qopf:Lz,Qopf:Iz,qprime:Pz,Qscr:Fz,qscr:Bz,quaternions:$z,quatint:zz,quest:jz,questeq:Uz,quot:qz,QUOT:Hz,rAarr:Vz,race:Gz,Racute:Kz,racute:Wz,radic:Zz,raemptyv:Yz,rang:Jz,Rang:Qz,rangd:Xz,range:ej,rangle:tj,raquo:nj,rarrap:sj,rarrb:oj,rarrbfs:rj,rarrc:ij,rarr:aj,Rarr:lj,rArr:cj,rarrfs:dj,rarrhk:uj,rarrlp:hj,rarrpl:fj,rarrsim:pj,Rarrtl:gj,rarrtl:mj,rarrw:_j,ratail:bj,rAtail:yj,ratio:vj,rationals:wj,rbarr:xj,rBarr:kj,RBarr:Ej,rbbrk:Cj,rbrace:Aj,rbrack:Sj,rbrke:Tj,rbrksld:Mj,rbrkslu:Oj,Rcaron:Rj,rcaron:Nj,Rcedil:Dj,rcedil:Lj,rceil:Ij,rcub:Pj,Rcy:Fj,rcy:Bj,rdca:$j,rdldhar:zj,rdquo:jj,rdquor:Uj,rdsh:qj,real:Hj,realine:Vj,realpart:Gj,reals:Kj,Re:Wj,rect:Zj,reg:Yj,REG:Jj,ReverseElement:Qj,ReverseEquilibrium:Xj,ReverseUpEquilibrium:eU,rfisht:tU,rfloor:nU,rfr:sU,Rfr:oU,rHar:rU,rhard:iU,rharu:aU,rharul:lU,Rho:cU,rho:dU,rhov:uU,RightAngleBracket:hU,RightArrowBar:fU,rightarrow:pU,RightArrow:gU,Rightarrow:mU,RightArrowLeftArrow:_U,rightarrowtail:bU,RightCeiling:yU,RightDoubleBracket:vU,RightDownTeeVector:wU,RightDownVectorBar:xU,RightDownVector:kU,RightFloor:EU,rightharpoondown:CU,rightharpoonup:AU,rightleftarrows:SU,rightleftharpoons:TU,rightrightarrows:MU,rightsquigarrow:OU,RightTeeArrow:RU,RightTee:NU,RightTeeVector:DU,rightthreetimes:LU,RightTriangleBar:IU,RightTriangle:PU,RightTriangleEqual:FU,RightUpDownVector:BU,RightUpTeeVector:$U,RightUpVectorBar:zU,RightUpVector:jU,RightVectorBar:UU,RightVector:qU,ring:HU,risingdotseq:VU,rlarr:GU,rlhar:KU,rlm:WU,rmoustache:ZU,rmoust:YU,rnmid:JU,roang:QU,roarr:XU,robrk:eq,ropar:tq,ropf:nq,Ropf:sq,roplus:oq,rotimes:rq,RoundImplies:iq,rpar:aq,rpargt:lq,rppolint:cq,rrarr:dq,Rrightarrow:uq,rsaquo:hq,rscr:fq,Rscr:pq,rsh:gq,Rsh:mq,rsqb:_q,rsquo:bq,rsquor:yq,rthree:vq,rtimes:wq,rtri:xq,rtrie:kq,rtrif:Eq,rtriltri:Cq,RuleDelayed:Aq,ruluhar:Sq,rx:Tq,Sacute:Mq,sacute:Oq,sbquo:Rq,scap:Nq,Scaron:Dq,scaron:Lq,Sc:Iq,sc:Pq,sccue:Fq,sce:Bq,scE:$q,Scedil:zq,scedil:jq,Scirc:Uq,scirc:qq,scnap:Hq,scnE:Vq,scnsim:Gq,scpolint:Kq,scsim:Wq,Scy:Zq,scy:Yq,sdotb:Jq,sdot:Qq,sdote:Xq,searhk:eH,searr:tH,seArr:nH,searrow:sH,sect:oH,semi:rH,seswar:iH,setminus:aH,setmn:lH,sext:cH,Sfr:dH,sfr:uH,sfrown:hH,sharp:fH,SHCHcy:pH,shchcy:gH,SHcy:mH,shcy:_H,ShortDownArrow:bH,ShortLeftArrow:yH,shortmid:vH,shortparallel:wH,ShortRightArrow:xH,ShortUpArrow:kH,shy:EH,Sigma:CH,sigma:AH,sigmaf:SH,sigmav:TH,sim:MH,simdot:OH,sime:RH,simeq:NH,simg:DH,simgE:LH,siml:IH,simlE:PH,simne:FH,simplus:BH,simrarr:$H,slarr:zH,SmallCircle:jH,smallsetminus:UH,smashp:qH,smeparsl:HH,smid:VH,smile:GH,smt:KH,smte:WH,smtes:ZH,SOFTcy:YH,softcy:JH,solbar:QH,solb:XH,sol:eV,Sopf:tV,sopf:nV,spades:sV,spadesuit:oV,spar:rV,sqcap:iV,sqcaps:aV,sqcup:lV,sqcups:cV,Sqrt:dV,sqsub:uV,sqsube:hV,sqsubset:fV,sqsubseteq:pV,sqsup:gV,sqsupe:mV,sqsupset:_V,sqsupseteq:bV,square:yV,Square:vV,SquareIntersection:wV,SquareSubset:xV,SquareSubsetEqual:kV,SquareSuperset:EV,SquareSupersetEqual:CV,SquareUnion:AV,squarf:SV,squ:TV,squf:MV,srarr:OV,Sscr:RV,sscr:NV,ssetmn:DV,ssmile:LV,sstarf:IV,Star:PV,star:FV,starf:BV,straightepsilon:$V,straightphi:zV,strns:jV,sub:UV,Sub:qV,subdot:HV,subE:VV,sube:GV,subedot:KV,submult:WV,subnE:ZV,subne:YV,subplus:JV,subrarr:QV,subset:XV,Subset:eG,subseteq:tG,subseteqq:nG,SubsetEqual:sG,subsetneq:oG,subsetneqq:rG,subsim:iG,subsub:aG,subsup:lG,succapprox:cG,succ:dG,succcurlyeq:uG,Succeeds:hG,SucceedsEqual:fG,SucceedsSlantEqual:pG,SucceedsTilde:gG,succeq:mG,succnapprox:_G,succneqq:bG,succnsim:yG,succsim:vG,SuchThat:wG,sum:xG,Sum:kG,sung:EG,sup1:CG,sup2:AG,sup3:SG,sup:TG,Sup:MG,supdot:OG,supdsub:RG,supE:NG,supe:DG,supedot:LG,Superset:IG,SupersetEqual:PG,suphsol:FG,suphsub:BG,suplarr:$G,supmult:zG,supnE:jG,supne:UG,supplus:qG,supset:HG,Supset:VG,supseteq:GG,supseteqq:KG,supsetneq:WG,supsetneqq:ZG,supsim:YG,supsub:JG,supsup:QG,swarhk:XG,swarr:eK,swArr:tK,swarrow:nK,swnwar:sK,szlig:oK,Tab:rK,target:iK,Tau:aK,tau:lK,tbrk:cK,Tcaron:dK,tcaron:uK,Tcedil:hK,tcedil:fK,Tcy:pK,tcy:gK,tdot:mK,telrec:_K,Tfr:bK,tfr:yK,there4:vK,therefore:wK,Therefore:xK,Theta:kK,theta:EK,thetasym:CK,thetav:AK,thickapprox:SK,thicksim:TK,ThickSpace:MK,ThinSpace:OK,thinsp:RK,thkap:NK,thksim:DK,THORN:LK,thorn:IK,tilde:PK,Tilde:FK,TildeEqual:BK,TildeFullEqual:$K,TildeTilde:zK,timesbar:jK,timesb:UK,times:qK,timesd:HK,tint:VK,toea:GK,topbot:KK,topcir:WK,top:ZK,Topf:YK,topf:JK,topfork:QK,tosa:XK,tprime:eW,trade:tW,TRADE:nW,triangle:sW,triangledown:oW,triangleleft:rW,trianglelefteq:iW,triangleq:aW,triangleright:lW,trianglerighteq:cW,tridot:dW,trie:uW,triminus:hW,TripleDot:fW,triplus:pW,trisb:gW,tritime:mW,trpezium:_W,Tscr:bW,tscr:yW,TScy:vW,tscy:wW,TSHcy:xW,tshcy:kW,Tstrok:EW,tstrok:CW,twixt:AW,twoheadleftarrow:SW,twoheadrightarrow:TW,Uacute:MW,uacute:OW,uarr:RW,Uarr:NW,uArr:DW,Uarrocir:LW,Ubrcy:IW,ubrcy:PW,Ubreve:FW,ubreve:BW,Ucirc:$W,ucirc:zW,Ucy:jW,ucy:UW,udarr:qW,Udblac:HW,udblac:VW,udhar:GW,ufisht:KW,Ufr:WW,ufr:ZW,Ugrave:YW,ugrave:JW,uHar:QW,uharl:XW,uharr:eZ,uhblk:tZ,ulcorn:nZ,ulcorner:sZ,ulcrop:oZ,ultri:rZ,Umacr:iZ,umacr:aZ,uml:lZ,UnderBar:cZ,UnderBrace:dZ,UnderBracket:uZ,UnderParenthesis:hZ,Union:fZ,UnionPlus:pZ,Uogon:gZ,uogon:mZ,Uopf:_Z,uopf:bZ,UpArrowBar:yZ,uparrow:vZ,UpArrow:wZ,Uparrow:xZ,UpArrowDownArrow:kZ,updownarrow:EZ,UpDownArrow:CZ,Updownarrow:AZ,UpEquilibrium:SZ,upharpoonleft:TZ,upharpoonright:MZ,uplus:OZ,UpperLeftArrow:RZ,UpperRightArrow:NZ,upsi:DZ,Upsi:LZ,upsih:IZ,Upsilon:PZ,upsilon:FZ,UpTeeArrow:BZ,UpTee:$Z,upuparrows:zZ,urcorn:jZ,urcorner:UZ,urcrop:qZ,Uring:HZ,uring:VZ,urtri:GZ,Uscr:KZ,uscr:WZ,utdot:ZZ,Utilde:YZ,utilde:JZ,utri:QZ,utrif:XZ,uuarr:eY,Uuml:tY,uuml:nY,uwangle:sY,vangrt:oY,varepsilon:rY,varkappa:iY,varnothing:aY,varphi:lY,varpi:cY,varpropto:dY,varr:uY,vArr:hY,varrho:fY,varsigma:pY,varsubsetneq:gY,varsubsetneqq:mY,varsupsetneq:_Y,varsupsetneqq:bY,vartheta:yY,vartriangleleft:vY,vartriangleright:wY,vBar:xY,Vbar:kY,vBarv:EY,Vcy:CY,vcy:AY,vdash:SY,vDash:TY,Vdash:MY,VDash:OY,Vdashl:RY,veebar:NY,vee:DY,Vee:LY,veeeq:IY,vellip:PY,verbar:FY,Verbar:BY,vert:$Y,Vert:zY,VerticalBar:jY,VerticalLine:UY,VerticalSeparator:qY,VerticalTilde:HY,VeryThinSpace:VY,Vfr:GY,vfr:KY,vltri:WY,vnsub:ZY,vnsup:YY,Vopf:JY,vopf:QY,vprop:XY,vrtri:eJ,Vscr:tJ,vscr:nJ,vsubnE:sJ,vsubne:oJ,vsupnE:rJ,vsupne:iJ,Vvdash:aJ,vzigzag:lJ,Wcirc:cJ,wcirc:dJ,wedbar:uJ,wedge:hJ,Wedge:fJ,wedgeq:pJ,weierp:gJ,Wfr:mJ,wfr:_J,Wopf:bJ,wopf:yJ,wp:vJ,wr:wJ,wreath:xJ,Wscr:kJ,wscr:EJ,xcap:CJ,xcirc:AJ,xcup:SJ,xdtri:TJ,Xfr:MJ,xfr:OJ,xharr:RJ,xhArr:NJ,Xi:DJ,xi:LJ,xlarr:IJ,xlArr:PJ,xmap:FJ,xnis:BJ,xodot:$J,Xopf:zJ,xopf:jJ,xoplus:UJ,xotime:qJ,xrarr:HJ,xrArr:VJ,Xscr:GJ,xscr:KJ,xsqcup:WJ,xuplus:ZJ,xutri:YJ,xvee:JJ,xwedge:QJ,Yacute:XJ,yacute:eQ,YAcy:tQ,yacy:nQ,Ycirc:sQ,ycirc:oQ,Ycy:rQ,ycy:iQ,yen:aQ,Yfr:lQ,yfr:cQ,YIcy:dQ,yicy:uQ,Yopf:hQ,yopf:fQ,Yscr:pQ,yscr:gQ,YUcy:mQ,yucy:_Q,yuml:bQ,Yuml:yQ,Zacute:vQ,zacute:wQ,Zcaron:xQ,zcaron:kQ,Zcy:EQ,zcy:CQ,Zdot:AQ,zdot:SQ,zeetrf:TQ,ZeroWidthSpace:MQ,Zeta:OQ,zeta:RQ,zfr:NQ,Zfr:DQ,ZHcy:LQ,zhcy:IQ,zigrarr:PQ,zopf:FQ,Zopf:BQ,Zscr:$Q,zscr:zQ,zwj:jQ,zwnj:UQ};var ng=qQ,ic=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Ws={},Xd={};function HQ(t){var e,n,s=Xd[t];if(s)return s;for(s=Xd[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=HQ(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}ci.defaultChars=";/?:@&=+$,-_.!~*'()#";ci.componentChars="-_.!~*'()";var VQ=ci,eu={};function GQ(t){var e,n,s=eu[t];if(s)return s;for(s=eu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&u<=57343?h+="���":h+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}h+="�"}return h})}di.defaultChars=";/?:@&=+$,#";di.componentChars="";var KQ=di,WQ=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 Sr(){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 ZQ=/^([a-z0-9.+-]+:)/i,YQ=/:[0-9]*$/,JQ=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,QQ=["<",">",'"',"`"," ","\r",` +`," "],XQ=["{","}","|","\\","^","`"].concat(QQ),eX=["'"].concat(XQ),tu=["%","/","?",";","#"].concat(eX),nu=["/","?","#"],tX=255,su=/^[+a-z0-9A-Z_-]{0,63}$/,nX=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ou={javascript:!0,"javascript:":!0},ru={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function sX(t,e){if(t&&t instanceof Sr)return t;var n=new Sr;return n.parse(t,e),n}Sr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=JQ.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var d=ZQ.exec(a);if(d&&(d=d[0],o=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(d&&ou[d])&&(a=a.substr(2),this.slashes=!0)),!ou[d]&&(i||d&&!ru[d])){var u=-1;for(n=0;n127?b+="x":b+=g[y];if(!b.match(su)){var S=_.slice(0,n),R=_.slice(n+1),O=g.match(nX);O&&(S.push(O[1]),R.unshift(O[2])),R.length&&(a=R.join(".")+a),this.hostname=S.join(".");break}}}}this.hostname.length>tX&&(this.hostname=""),m&&(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 v=a.indexOf("?");return v!==-1&&(this.search=a.substr(v),a=a.slice(0,v)),a&&(this.pathname=a),ru[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Sr.prototype.parseHost=function(t){var e=YQ.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 oX=sX;Ws.encode=VQ;Ws.decode=KQ;Ws.format=WQ;Ws.parse=oX;var Bn={},Ui,iu;function sg(){return iu||(iu=1,Ui=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Ui}var qi,au;function og(){return au||(au=1,qi=/[\0-\x1F\x7F-\x9F]/),qi}var Hi,lu;function rX(){return lu||(lu=1,Hi=/[\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]/),Hi}var Vi,cu;function rg(){return cu||(cu=1,Vi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Vi}var du;function iX(){return du||(du=1,Bn.Any=sg(),Bn.Cc=og(),Bn.Cf=rX(),Bn.P=ic,Bn.Z=rg()),Bn}(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,ce){return s.call(I,ce)}function r(I){var ce=Array.prototype.slice.call(arguments,1);return ce.forEach(function(Z){if(Z){if(typeof Z!="object")throw new TypeError(Z+"must be object");Object.keys(Z).forEach(function(T){I[T]=Z[T]})}}),I}function i(I,ce,Z){return[].concat(I.slice(0,ce),Z,I.slice(ce+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 ce=55296+(I>>10),Z=56320+(I&1023);return String.fromCharCode(ce,Z)}return String.fromCharCode(I)}var d=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(d.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=ng;function m(I,ce){var Z=0;return o(p,ce)?p[ce]:ce.charCodeAt(0)===35&&f.test(ce)&&(Z=ce[1].toLowerCase()==="x"?parseInt(ce.slice(2),16):parseInt(ce.slice(1),10),a(Z))?l(Z):I}function _(I){return I.indexOf("\\")<0?I:I.replace(d,"$1")}function g(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(h,function(ce,Z,T){return Z||m(ce,T)})}var b=/[&<>"]/,y=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function S(I){return x[I]}function R(I){return b.test(I)?I.replace(y,S):I}var O=/[.?*+^$[\]\\(){}|-]/g;function D(I){return I.replace(O,"\\$&")}function v(I){switch(I){case 9:case 32:return!0}return!1}function E(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 M=ic;function L(I){return M.test(I)}function B(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 J(I){return I=I.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(I=I.replace(/ẞ/g,"ß")),I.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Ws,t.lib.ucmicro=iX(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=_,t.unescapeAll=g,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=v,t.isWhiteSpace=E,t.isMdAsciiPunct=B,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=J})(He);var ui={},aX=function(e,n,s){var o,r,i,a,l=-1,d=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=uu(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},cX=He.unescapeAll,dX=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)+""};Qt.code_block=function(t,e,n,s,o){var r=t[e];return""+Xn(t[e].content)+` +`};Qt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?hX(r.info).trim():"",a="",l="",d,u,h,f,p;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?d=n.highlight(r.content,a,l)||Xn(r.content):d=Xn(r.content),d.indexOf(""+d+` `):"
"+d+`
`};Qt.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)};Qt.hardbreak=function(t,e,n){return n.xhtmlOut?`
`:`
@@ -28,14 +28,14 @@ `),r+=(a.nesting===-1?" `:">",r)};Zs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function wX(t){return/^<\/a\s*>/i.test(t)}var xX=function(e){var n,s,o,r,i,a,l,d,u,h,f,g,m,_,p,b,y=e.tokens,x;if(e.md.options.linkify){for(s=0,o=y.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"&&(vX(a.content)&&m>0&&m--,wX(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=a.level,f=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),d=0;df&&(i=new e.Token("text","",0),i.content=u.slice(f,h),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",p]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=b,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),f=x[d].lastIndex);f=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(EX,AX)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function TX(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&rg.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 MX=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(kX.test(e.tokens[n].content)&&SX(e.tokens[n].children),rg.test(e.tokens[n].content)&&TX(e.tokens[n].children))},uu=He.isWhiteSpace,hu=He.isPunctChar,fu=He.isMdAsciiPunct,OX=/['"]/,pu=/['"]/g,gu="’";function Zo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function RX(t,e){var n,s,o,r,i,a,l,d,u,h,f,g,m,_,p,b,y,x,S,R,O;for(S=[],n=0;n=0&&!(S[y].level<=l);y--);if(S.length=y+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(y=n-1;y>=0&&!(t[y].type==="softbreak"||t[y].type==="hardbreak");y--)if(t[y].content){u=t[y].content.charCodeAt(t[y].content.length-1);break}if(h=32,i=48&&u<=57&&(b=p=!1),p&&b&&(p=f,b=g),!p&&!b){x&&(s.content=Zo(s.content,r.index,gu));continue}if(b){for(y=S.length-1;y>=0&&(d=S[y],!(S[y].level=0;n--)e.tokens[n].type!=="inline"||!OX.test(e.tokens[n].content)||RX(e.tokens[n].children,e)},DX=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};Ys.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 lc=Ys,LX=lc;function ig(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}ig.prototype.Token=LX;var IX=ig,PX=ac,Gi=[["normalize",mX],["block",_X],["inline",bX],["linkify",xX],["replacements",MX],["smartquotes",NX],["text_join",DX]];function cc(){this.ruler=new PX;for(var t=0;ts||(u=n+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[u]||(O=e.src.charCodeAt(a++),O!==124&&O!==45&&O!==58&&!Ki(O))||R===45&&Ki(O))return!1;for(;a=4||(h=mu(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==m.length))return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",S=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=p=[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(h=mu(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===n+2&&(g=e.push("tbody_open","tbody",1),g.map=b=[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},zX=function(e,n,s,o){var r,i,a,l,d,u,h,f=!1,g=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>m||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(d=g,g=e.skipChars(g,r),i=g-d,i<3)||(h=e.src.slice(d,g),a=e.src.slice(g,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=d=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-d=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,S=!0):e.src.charCodeAt(M)===9?(S=!0,(e.bsCount[n]+g)%4===3?(M++,l++,g++,r=!1):r=!0):S=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M=L,y=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",f=n+1;f=L));f++){if(e.src.charCodeAt(M++)===62&&!v){for(l=g=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,S=!0):e.src.charCodeAt(M)===9?(S=!0,(e.bsCount[f]+g)%4===3?(M++,l++,g++,r=!1):r=!0):S=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M=L,_.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(S?1:0),y.push(e.sCount[f]),e.sCount[f]=g-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(u)break;for(R=!1,a=0,d=O.length;a",D.map=h=[n,0],e.md.block.tokenize(e,n,f),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=E,e.parentType=b,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(d++),r!==42&&r!==45&&r!==95))return!1;for(i=1;d=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&&(T=!0),(L=yu(e,n))>=0){if(h=!0,J=e.bMarks[n]+e.tShift[n],b=Number(e.src.slice(J,L-1)),T&&b!==1)return!1}else if((L=bu(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(p=e.src.charCodeAt(L-1),o)return!0;for(_=e.tokens.length,h?(Z=e.push("ordered_list_open","ol",1),b!==1&&(Z.attrs=[["start",b]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[n,0],Z.markup=String.fromCharCode(p),x=n,B=!1,ce=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x=y?d=1:d=S-u,d>4&&(d=1),l=u+d,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(p),Z.map=f=[n,0],h&&(Z.info=e.src.slice(J,L-1)),E=e.tight,v=e.tShift[n],D=e.sCount[n],R=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=S,i>=y&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||B)&&(q=!1),B=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=v,e.sCount[n]=D,e.tight=E,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(p),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(P=!1,a=0,g=ce.length;a=4||e.src.charCodeAt(O)!==91)return!1;for(;++O3)&&!(e.sCount[v]<0)){for(y=!1,u=0,h=x.length;u"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:S,href:d}),e.parentType=m,e.line=n+R+1),!0)},WX=["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"],hi={},ZX="[a-zA-Z_:][a-zA-Z0-9:._-]*",YX="[^\"'=<>`\\x00-\\x20]+",JX="'[^']*'",QX='"[^"]*"',XX="(?:"+YX+"|"+JX+"|"+QX+")",eee="(?:\\s+"+ZX+"(?:\\s*=\\s*"+XX+")?)",lg="<[A-Za-z][A-Za-z0-9\\-]*"+eee+"*\\s*\\/?>",cg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",tee="|",nee="<[?][\\s\\S]*?[?]>",see="]*>",oee="",ree=new RegExp("^(?:"+lg+"|"+cg+"|"+tee+"|"+nee+"|"+see+"|"+oee+")"),iee=new RegExp("^(?:"+lg+"|"+cg+")");hi.HTML_TAG_RE=ree;hi.HTML_OPEN_CLOSE_TAG_RE=iee;var aee=WX,lee=hi.HTML_OPEN_CLOSE_TAG_RE,hs=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(lee.source+"\\s*$"),/^$/,!1]],cee=function(e,n,s,o){var r,i,a,l,d=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(d)!==60)return!1;for(l=e.src.slice(d,u),r=0;r=4||(r=e.src.charCodeAt(d),r!==35||d>=u))return!1;for(i=1,r=e.src.charCodeAt(++d);r===35&&d6||dd&&vu(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(d,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},uee=function(e,n,s){var o,r,i,a,l,d,u,h,f,g=n+1,m,_=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";g3)){if(e.sCount[g]>=e.blkIndent&&(d=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],d=u)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=_.length;i3)&&!(e.sCount[d]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};Xt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Xt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!fi(this.src.charCodeAt(--e)))return e+1;return e};Xt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Xt.prototype.getLines=function(e,n,s,o){var r,i,a,l,d,u,h,f=e;if(e>=n)return"";for(u=new Array(n-e),r=0;fs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,d):u[r]=this.src.slice(l,d)}return u.join("")};Xt.prototype.Token=dg;var fee=Xt,pee=ac,Jo=[["table",BX,["paragraph","reference"]],["code",$X],["fence",zX,["paragraph","reference","blockquote","list"]],["blockquote",jX,["paragraph","reference","blockquote","list"]],["hr",qX,["paragraph","reference","blockquote","list"]],["list",VX,["paragraph","reference","blockquote"]],["reference",KX],["html_block",cee,["paragraph","reference","blockquote"]],["heading",dee,["paragraph","reference","blockquote"]],["lheading",uee],["paragraph",hee]];function pi(){this.ruler=new pee;for(var t=0;t=n||t.sCount[a]=d){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(bee),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),d=e.md.normalizeLink(l),!e.md.validateLink(d))?!1:(n||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",d]],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)},vee=He.isSpace,wee=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){dc[t.charCodeAt(0)]=1});var kee=function(e,n){var s,o,r,i,a,l=e.pos,d=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=d))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&&dc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Eee=function(e,n){var s,o,r,i,a,l,d,u,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,o=e.posMax;h=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--))}mi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(ku(e,e.delimiters),n=0;n=_)return!1;if(p=l,d=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),d.ok){for(f=e.md.normalizeLink(d.str),e.md.validateLink(f)?l=d.pos:f="",p=l;l<_&&(o=e.src.charCodeAt(l),!(!Zi(o)&&o!==10));l++);if(d=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&p!==l&&d.ok)for(g=d.str,l=d.pos;l<_&&(o=e.src.charCodeAt(l),!(!Zi(o)&&o!==10));l++);}(l>=_||e.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof e.env.references>"u")return!1;if(l<_&&e.src.charCodeAt(l)===91?(p=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(p,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[Cee(r)],!u)return e.pos=m,!1;f=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=_,!0},See=He.normalizeReference,Yi=He.isSpace,Tee=function(e,n){var s,o,r,i,a,l,d,u,h,f,g,m,_,p="",b=e.pos,y=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(d=a+1,d=y)return!1;for(_=d,h=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),h.ok&&(p=e.md.normalizeLink(h.str),e.md.validateLink(p)?d=h.pos:p=""),_=d;d=y||e.src.charCodeAt(d)!==41)return e.pos=b,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d=0?i=e.src.slice(_,d++):d=a+1):d=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[See(i)],!u)return e.pos=b,!1;p=u.href,f=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,m=[]),g=e.push("image","img",0),g.attrs=s=[["src",p],["alt",""]],g.children=m,g.content=r,f&&s.push(["title",f])),e.pos=d,e.posMax=y,!0},Mee=/^([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])?)*)$/,Oee=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Ree=function(e,n){var s,o,r,i,a,l,d=e.pos;if(e.src.charCodeAt(d)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++d>=l||(i=e.src.charCodeAt(d),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,d),Oee.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):Mee.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},Nee=hi.HTML_TAG_RE;function Dee(t){return/^\s]/i.test(t)}function Lee(t){return/^<\/a\s*>/i.test(t)}function Iee(t){var e=t|32;return e>=97&&e<=122}var Pee=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&&!Iee(s))||(o=e.src.slice(a).match(Nee),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Dee(i.content)&&e.linkLevel++,Lee(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},Eu=tg,Fee=He.has,Bee=He.isValidEntityCode,Cu=He.fromCodePoint,$ee=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,zee=/^&([a-z][a-z0-9]{1,31});/i,jee=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($ee),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=Bee(o)?Cu(o):Cu(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(zee),r&&Fee(Eu,r[1]))return n||(i=e.push("text_special","",0),i.content=Eu[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function Au(t,e){var n,s,o,r,i,a,l,d,u={},h=e.length;if(h){var f=0,g=-2,m=[];for(n=0;ni;s-=m[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)){d=s>0&&!e[s-1].open?m[s-1]+1:0,m[n]=n-s+d,m[s]=d,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 Uee=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Au(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};Po.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,d,u,h,f=!0,g=!0,m=this.posMax,_=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()};Fo.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}),Xi}function hl(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 _i(t){return Object.prototype.toString.call(t)}function Kee(t){return _i(t)==="[object String]"}function Wee(t){return _i(t)==="[object Object]"}function Zee(t){return _i(t)==="[object RegExp]"}function Nu(t){return _i(t)==="[object Function]"}function Yee(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var ug={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Jee(t){return Object.keys(t||{}).reduce(function(e,n){return e||ug.hasOwnProperty(n)},!1)}var Qee={"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}}},Xee="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]",ete="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function tte(t){t.__index__=-1,t.__text_cache__=""}function nte(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Du(){return function(t,e){e.normalize(t)}}function Tr(t){var e=t.re=Gee()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Xee),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 d={validate:null,link:null};if(t.__compiled__[a]=d,Wee(l)){Zee(l.validate)?d.validate=nte(l.validate):Nu(l.validate)?d.validate=l.validate:r(a,l),Nu(l.normalize)?d.normalize=l.normalize:l.normalize?r(a,l):d.normalize=Du();return}if(Kee(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:Du()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(Yee).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"),tte(t)}function ste(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 fl(t,e){var n=new ste(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function vt(t,e){if(!(this instanceof vt))return new vt(t,e);e||Jee(t)&&(e=t,t={}),this.__opts__=hl({},ug,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=hl({},Qee,t),this.__compiled__={},this.__tlds__=ete,this.__tlds_replaced__=!1,this.re={},Tr(this)}vt.prototype.add=function(e,n){return this.__schemas__[e]=n,Tr(this),this};vt.prototype.set=function(e){return this.__opts__=hl(this.__opts__,e),this};vt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,d,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:"]&&(d=e.search(this.re.host_fuzzy_test),d>=0&&(this.__index__<0||d=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};vt.prototype.pretest=function(e){return this.re.pretest.test(e)};vt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};vt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(fl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(fl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};vt.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,fl(this,0)):null};vt.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(),Tr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Tr(this),this)};vt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};vt.prototype.onCompile=function(){};var ote=vt;const Es=2147483647,Ht=36,hc=1,To=26,rte=38,ite=700,hg=72,fg=128,pg="-",ate=/^xn--/,lte=/[^\0-\x7F]/,cte=/[\x2E\u3002\uFF0E\uFF61]/g,dte={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ea=Ht-hc,Vt=Math.floor,ta=String.fromCharCode;function xn(t){throw new RangeError(dte[t])}function ute(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function gg(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(cte,".");const o=t.split("."),r=ute(o,e).join(".");return s+r}function fc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),hte=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Ht},Lu=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},_g=function(t,e,n){let s=0;for(t=n?Vt(t/ite):t>>1,t+=Vt(t/e);t>ea*To>>1;s+=Ht)t=Vt(t/ea);return Vt(s+(ea+1)*t/(t+rte))},pc=function(t){const e=[],n=t.length;let s=0,o=fg,r=hg,i=t.lastIndexOf(pg);i<0&&(i=0);for(let a=0;a=128&&xn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&xn("invalid-input");const f=hte(t.charCodeAt(a++));f>=Ht&&xn("invalid-input"),f>Vt((Es-s)/u)&&xn("overflow"),s+=f*u;const g=h<=r?hc:h>=r+To?To:h-r;if(fVt(Es/m)&&xn("overflow"),u*=m}const d=e.length+1;r=_g(s-l,d,l==0),Vt(s/d)>Es-o&&xn("overflow"),o+=Vt(s/d),s%=d,e.splice(s++,0,o)}return String.fromCodePoint(...e)},gc=function(t){const e=[];t=fc(t);const n=t.length;let s=fg,o=0,r=hg;for(const l of t)l<128&&e.push(ta(l));const i=e.length;let a=i;for(i&&e.push(pg);a=s&&uVt((Es-o)/d)&&xn("overflow"),o+=(l-s)*d,s=l;for(const u of t)if(uEs&&xn("overflow"),u===s){let h=o;for(let f=Ht;;f+=Ht){const g=f<=r?hc:f>=r+To?To:f-r;if(h=0))try{e.hostname=vg.toASCII(e.hostname)}catch{}return Kn.encode(Kn.format(e))}function Ote(t){var e=Kn.parse(t,!0);if(e.hostname&&(!e.protocol||wg.indexOf(e.protocol)>=0))try{e.hostname=vg.toUnicode(e.hostname)}catch{}return Kn.decode(Kn.format(e),Kn.decode.defaultChars+"%")}function Mt(t,e){if(!(this instanceof Mt))return new Mt(t,e);e||uo.isString(t)||(e=t||{},t="default"),this.inline=new kte,this.block=new xte,this.core=new wte,this.renderer=new vte,this.linkify=new Ete,this.validateLink=Tte,this.normalizeLink=Mte,this.normalizeLinkText=Ote,this.utils=uo,this.helpers=uo.assign({},yte),this.options={},this.configure(t),e&&this.set(e)}Mt.prototype.set=function(t){return uo.assign(this.options,t),this};Mt.prototype.configure=function(t){var e=this,n;if(uo.isString(t)&&(n=t,t=Cte[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};Mt.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};Mt.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};Mt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Mt.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};Mt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Mt.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Mt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Rte=Mt,Nte=Rte;const Dte=as(Nte),Lte="😀",Ite="😃",Pte="😄",Fte="😁",Bte="😆",$te="😆",zte="😅",jte="🤣",Ute="😂",qte="🙂",Hte="🙃",Vte="😉",Gte="😊",Kte="😇",Wte="🥰",Zte="😍",Yte="🤩",Jte="😘",Qte="😗",Xte="☺️",ene="😚",tne="😙",nne="🥲",sne="😋",one="😛",rne="😜",ine="🤪",ane="😝",lne="🤑",cne="🤗",dne="🤭",une="🤫",hne="🤔",fne="🤐",pne="🤨",gne="😐",mne="😑",_ne="😶",bne="😏",yne="😒",vne="🙄",wne="😬",xne="🤥",kne="😌",Ene="😔",Cne="😪",Ane="🤤",Sne="😴",Tne="😷",Mne="🤒",One="🤕",Rne="🤢",Nne="🤮",Dne="🤧",Lne="🥵",Ine="🥶",Pne="🥴",Fne="😵",Bne="🤯",$ne="🤠",zne="🥳",jne="🥸",Une="😎",qne="🤓",Hne="🧐",Vne="😕",Gne="😟",Kne="🙁",Wne="☹️",Zne="😮",Yne="😯",Jne="😲",Qne="😳",Xne="🥺",ese="😦",tse="😧",nse="😨",sse="😰",ose="😥",rse="😢",ise="😭",ase="😱",lse="😖",cse="😣",dse="😞",use="😓",hse="😩",fse="😫",pse="🥱",gse="😤",mse="😡",_se="😡",bse="😠",yse="🤬",vse="😈",wse="👿",xse="💀",kse="☠️",Ese="💩",Cse="💩",Ase="💩",Sse="🤡",Tse="👹",Mse="👺",Ose="👻",Rse="👽",Nse="👾",Dse="🤖",Lse="😺",Ise="😸",Pse="😹",Fse="😻",Bse="😼",$se="😽",zse="🙀",jse="😿",Use="😾",qse="🙈",Hse="🙉",Vse="🙊",Gse="💋",Kse="💌",Wse="💘",Zse="💝",Yse="💖",Jse="💗",Qse="💓",Xse="💞",eoe="💕",toe="💟",noe="❣️",soe="💔",ooe="❤️",roe="🧡",ioe="💛",aoe="💚",loe="💙",coe="💜",doe="🤎",uoe="🖤",hoe="🤍",foe="💢",poe="💥",goe="💥",moe="💫",_oe="💦",boe="💨",yoe="🕳️",voe="💣",woe="💬",xoe="👁️‍🗨️",koe="🗨️",Eoe="🗯️",Coe="💭",Aoe="💤",Soe="👋",Toe="🤚",Moe="🖐️",Ooe="✋",Roe="✋",Noe="🖖",Doe="👌",Loe="🤌",Ioe="🤏",Poe="✌️",Foe="🤞",Boe="🤟",$oe="🤘",zoe="🤙",joe="👈",Uoe="👉",qoe="👆",Hoe="🖕",Voe="🖕",Goe="👇",Koe="☝️",Woe="👍",Zoe="👎",Yoe="✊",Joe="✊",Qoe="👊",Xoe="👊",ere="👊",tre="🤛",nre="🤜",sre="👏",ore="🙌",rre="👐",ire="🤲",are="🤝",lre="🙏",cre="✍️",dre="💅",ure="🤳",hre="💪",fre="🦾",pre="🦿",gre="🦵",mre="🦶",_re="👂",bre="🦻",yre="👃",vre="🧠",wre="🫀",xre="🫁",kre="🦷",Ere="🦴",Cre="👀",Are="👁️",Sre="👅",Tre="👄",Mre="👶",Ore="🧒",Rre="👦",Nre="👧",Dre="🧑",Lre="👱",Ire="👨",Pre="🧔",Fre="👨‍🦰",Bre="👨‍🦱",$re="👨‍🦳",zre="👨‍🦲",jre="👩",Ure="👩‍🦰",qre="🧑‍🦰",Hre="👩‍🦱",Vre="🧑‍🦱",Gre="👩‍🦳",Kre="🧑‍🦳",Wre="👩‍🦲",Zre="🧑‍🦲",Yre="👱‍♀️",Jre="👱‍♀️",Qre="👱‍♂️",Xre="🧓",eie="👴",tie="👵",nie="🙍",sie="🙍‍♂️",oie="🙍‍♀️",rie="🙎",iie="🙎‍♂️",aie="🙎‍♀️",lie="🙅",cie="🙅‍♂️",die="🙅‍♂️",uie="🙅‍♀️",hie="🙅‍♀️",fie="🙆",pie="🙆‍♂️",gie="🙆‍♀️",mie="💁",_ie="💁",bie="💁‍♂️",yie="💁‍♂️",vie="💁‍♀️",wie="💁‍♀️",xie="🙋",kie="🙋‍♂️",Eie="🙋‍♀️",Cie="🧏",Aie="🧏‍♂️",Sie="🧏‍♀️",Tie="🙇",Mie="🙇‍♂️",Oie="🙇‍♀️",Rie="🤦",Nie="🤦‍♂️",Die="🤦‍♀️",Lie="🤷",Iie="🤷‍♂️",Pie="🤷‍♀️",Fie="🧑‍⚕️",Bie="👨‍⚕️",$ie="👩‍⚕️",zie="🧑‍🎓",jie="👨‍🎓",Uie="👩‍🎓",qie="🧑‍🏫",Hie="👨‍🏫",Vie="👩‍🏫",Gie="🧑‍⚖️",Kie="👨‍⚖️",Wie="👩‍⚖️",Zie="🧑‍🌾",Yie="👨‍🌾",Jie="👩‍🌾",Qie="🧑‍🍳",Xie="👨‍🍳",eae="👩‍🍳",tae="🧑‍🔧",nae="👨‍🔧",sae="👩‍🔧",oae="🧑‍🏭",rae="👨‍🏭",iae="👩‍🏭",aae="🧑‍💼",lae="👨‍💼",cae="👩‍💼",dae="🧑‍🔬",uae="👨‍🔬",hae="👩‍🔬",fae="🧑‍💻",pae="👨‍💻",gae="👩‍💻",mae="🧑‍🎤",_ae="👨‍🎤",bae="👩‍🎤",yae="🧑‍🎨",vae="👨‍🎨",wae="👩‍🎨",xae="🧑‍✈️",kae="👨‍✈️",Eae="👩‍✈️",Cae="🧑‍🚀",Aae="👨‍🚀",Sae="👩‍🚀",Tae="🧑‍🚒",Mae="👨‍🚒",Oae="👩‍🚒",Rae="👮",Nae="👮",Dae="👮‍♂️",Lae="👮‍♀️",Iae="🕵️",Pae="🕵️‍♂️",Fae="🕵️‍♀️",Bae="💂",$ae="💂‍♂️",zae="💂‍♀️",jae="🥷",Uae="👷",qae="👷‍♂️",Hae="👷‍♀️",Vae="🤴",Gae="👸",Kae="👳",Wae="👳‍♂️",Zae="👳‍♀️",Yae="👲",Jae="🧕",Qae="🤵",Xae="🤵‍♂️",ele="🤵‍♀️",tle="👰",nle="👰‍♂️",sle="👰‍♀️",ole="👰‍♀️",rle="🤰",ile="🤱",ale="👩‍🍼",lle="👨‍🍼",cle="🧑‍🍼",dle="👼",ule="🎅",hle="🤶",fle="🧑‍🎄",ple="🦸",gle="🦸‍♂️",mle="🦸‍♀️",_le="🦹",ble="🦹‍♂️",yle="🦹‍♀️",vle="🧙",wle="🧙‍♂️",xle="🧙‍♀️",kle="🧚",Ele="🧚‍♂️",Cle="🧚‍♀️",Ale="🧛",Sle="🧛‍♂️",Tle="🧛‍♀️",Mle="🧜",Ole="🧜‍♂️",Rle="🧜‍♀️",Nle="🧝",Dle="🧝‍♂️",Lle="🧝‍♀️",Ile="🧞",Ple="🧞‍♂️",Fle="🧞‍♀️",Ble="🧟",$le="🧟‍♂️",zle="🧟‍♀️",jle="💆",Ule="💆‍♂️",qle="💆‍♀️",Hle="💇",Vle="💇‍♂️",Gle="💇‍♀️",Kle="🚶",Wle="🚶‍♂️",Zle="🚶‍♀️",Yle="🧍",Jle="🧍‍♂️",Qle="🧍‍♀️",Xle="🧎",ece="🧎‍♂️",tce="🧎‍♀️",nce="🧑‍🦯",sce="👨‍🦯",oce="👩‍🦯",rce="🧑‍🦼",ice="👨‍🦼",ace="👩‍🦼",lce="🧑‍🦽",cce="👨‍🦽",dce="👩‍🦽",uce="🏃",hce="🏃",fce="🏃‍♂️",pce="🏃‍♀️",gce="💃",mce="💃",_ce="🕺",bce="🕴️",yce="👯",vce="👯‍♂️",wce="👯‍♀️",xce="🧖",kce="🧖‍♂️",Ece="🧖‍♀️",Cce="🧗",Ace="🧗‍♂️",Sce="🧗‍♀️",Tce="🤺",Mce="🏇",Oce="⛷️",Rce="🏂",Nce="🏌️",Dce="🏌️‍♂️",Lce="🏌️‍♀️",Ice="🏄",Pce="🏄‍♂️",Fce="🏄‍♀️",Bce="🚣",$ce="🚣‍♂️",zce="🚣‍♀️",jce="🏊",Uce="🏊‍♂️",qce="🏊‍♀️",Hce="⛹️",Vce="⛹️‍♂️",Gce="⛹️‍♂️",Kce="⛹️‍♀️",Wce="⛹️‍♀️",Zce="🏋️",Yce="🏋️‍♂️",Jce="🏋️‍♀️",Qce="🚴",Xce="🚴‍♂️",ede="🚴‍♀️",tde="🚵",nde="🚵‍♂️",sde="🚵‍♀️",ode="🤸",rde="🤸‍♂️",ide="🤸‍♀️",ade="🤼",lde="🤼‍♂️",cde="🤼‍♀️",dde="🤽",ude="🤽‍♂️",hde="🤽‍♀️",fde="🤾",pde="🤾‍♂️",gde="🤾‍♀️",mde="🤹",_de="🤹‍♂️",bde="🤹‍♀️",yde="🧘",vde="🧘‍♂️",wde="🧘‍♀️",xde="🛀",kde="🛌",Ede="🧑‍🤝‍🧑",Cde="👭",Ade="👫",Sde="👬",Tde="💏",Mde="👩‍❤️‍💋‍👨",Ode="👨‍❤️‍💋‍👨",Rde="👩‍❤️‍💋‍👩",Nde="💑",Dde="👩‍❤️‍👨",Lde="👨‍❤️‍👨",Ide="👩‍❤️‍👩",Pde="👪",Fde="👨‍👩‍👦",Bde="👨‍👩‍👧",$de="👨‍👩‍👧‍👦",zde="👨‍👩‍👦‍👦",jde="👨‍👩‍👧‍👧",Ude="👨‍👨‍👦",qde="👨‍👨‍👧",Hde="👨‍👨‍👧‍👦",Vde="👨‍👨‍👦‍👦",Gde="👨‍👨‍👧‍👧",Kde="👩‍👩‍👦",Wde="👩‍👩‍👧",Zde="👩‍👩‍👧‍👦",Yde="👩‍👩‍👦‍👦",Jde="👩‍👩‍👧‍👧",Qde="👨‍👦",Xde="👨‍👦‍👦",eue="👨‍👧",tue="👨‍👧‍👦",nue="👨‍👧‍👧",sue="👩‍👦",oue="👩‍👦‍👦",rue="👩‍👧",iue="👩‍👧‍👦",aue="👩‍👧‍👧",lue="🗣️",cue="👤",due="👥",uue="🫂",hue="👣",fue="🐵",pue="🐒",gue="🦍",mue="🦧",_ue="🐶",bue="🐕",yue="🦮",vue="🐕‍🦺",wue="🐩",xue="🐺",kue="🦊",Eue="🦝",Cue="🐱",Aue="🐈",Sue="🐈‍⬛",Tue="🦁",Mue="🐯",Oue="🐅",Rue="🐆",Nue="🐴",Due="🐎",Lue="🦄",Iue="🦓",Pue="🦌",Fue="🦬",Bue="🐮",$ue="🐂",zue="🐃",jue="🐄",Uue="🐷",que="🐖",Hue="🐗",Vue="🐽",Gue="🐏",Kue="🐑",Wue="🐐",Zue="🐪",Yue="🐫",Jue="🦙",Que="🦒",Xue="🐘",ehe="🦣",the="🦏",nhe="🦛",she="🐭",ohe="🐁",rhe="🐀",ihe="🐹",ahe="🐰",lhe="🐇",che="🐿️",dhe="🦫",uhe="🦔",hhe="🦇",fhe="🐻",phe="🐻‍❄️",ghe="🐨",mhe="🐼",_he="🦥",bhe="🦦",yhe="🦨",vhe="🦘",whe="🦡",xhe="🐾",khe="🐾",Ehe="🦃",Che="🐔",Ahe="🐓",She="🐣",The="🐤",Mhe="🐥",Ohe="🐦",Rhe="🐧",Nhe="🕊️",Dhe="🦅",Lhe="🦆",Ihe="🦢",Phe="🦉",Fhe="🦤",Bhe="🪶",$he="🦩",zhe="🦚",jhe="🦜",Uhe="🐸",qhe="🐊",Hhe="🐢",Vhe="🦎",Ghe="🐍",Khe="🐲",Whe="🐉",Zhe="🦕",Yhe="🐳",Jhe="🐋",Qhe="🐬",Xhe="🐬",efe="🦭",tfe="🐟",nfe="🐠",sfe="🐡",ofe="🦈",rfe="🐙",ife="🐚",afe="🐌",lfe="🦋",cfe="🐛",dfe="🐜",ufe="🐝",hfe="🐝",ffe="🪲",pfe="🐞",gfe="🦗",mfe="🪳",_fe="🕷️",bfe="🕸️",yfe="🦂",vfe="🦟",wfe="🪰",xfe="🪱",kfe="🦠",Efe="💐",Cfe="🌸",Afe="💮",Sfe="🏵️",Tfe="🌹",Mfe="🥀",Ofe="🌺",Rfe="🌻",Nfe="🌼",Dfe="🌷",Lfe="🌱",Ife="🪴",Pfe="🌲",Ffe="🌳",Bfe="🌴",$fe="🌵",zfe="🌾",jfe="🌿",Ufe="☘️",qfe="🍀",Hfe="🍁",Vfe="🍂",Gfe="🍃",Kfe="🍇",Wfe="🍈",Zfe="🍉",Yfe="🍊",Jfe="🍊",Qfe="🍊",Xfe="🍋",epe="🍌",tpe="🍍",npe="🥭",spe="🍎",ope="🍏",rpe="🍐",ipe="🍑",ape="🍒",lpe="🍓",cpe="🫐",dpe="🥝",upe="🍅",hpe="🫒",fpe="🥥",ppe="🥑",gpe="🍆",mpe="🥔",_pe="🥕",bpe="🌽",ype="🌶️",vpe="🫑",wpe="🥒",xpe="🥬",kpe="🥦",Epe="🧄",Cpe="🧅",Ape="🍄",Spe="🥜",Tpe="🌰",Mpe="🍞",Ope="🥐",Rpe="🥖",Npe="🫓",Dpe="🥨",Lpe="🥯",Ipe="🥞",Ppe="🧇",Fpe="🧀",Bpe="🍖",$pe="🍗",zpe="🥩",jpe="🥓",Upe="🍔",qpe="🍟",Hpe="🍕",Vpe="🌭",Gpe="🥪",Kpe="🌮",Wpe="🌯",Zpe="🫔",Ype="🥙",Jpe="🧆",Qpe="🥚",Xpe="🍳",ege="🥘",tge="🍲",nge="🫕",sge="🥣",oge="🥗",rge="🍿",ige="🧈",age="🧂",lge="🥫",cge="🍱",dge="🍘",uge="🍙",hge="🍚",fge="🍛",pge="🍜",gge="🍝",mge="🍠",_ge="🍢",bge="🍣",yge="🍤",vge="🍥",wge="🥮",xge="🍡",kge="🥟",Ege="🥠",Cge="🥡",Age="🦀",Sge="🦞",Tge="🦐",Mge="🦑",Oge="🦪",Rge="🍦",Nge="🍧",Dge="🍨",Lge="🍩",Ige="🍪",Pge="🎂",Fge="🍰",Bge="🧁",$ge="🥧",zge="🍫",jge="🍬",Uge="🍭",qge="🍮",Hge="🍯",Vge="🍼",Gge="🥛",Kge="☕",Wge="🫖",Zge="🍵",Yge="🍶",Jge="🍾",Qge="🍷",Xge="🍸",eme="🍹",tme="🍺",nme="🍻",sme="🥂",ome="🥃",rme="🥤",ime="🧋",ame="🧃",lme="🧉",cme="🧊",dme="🥢",ume="🍽️",hme="🍴",fme="🥄",pme="🔪",gme="🔪",mme="🏺",_me="🌍",bme="🌎",yme="🌏",vme="🌐",wme="🗺️",xme="🗾",kme="🧭",Eme="🏔️",Cme="⛰️",Ame="🌋",Sme="🗻",Tme="🏕️",Mme="🏖️",Ome="🏜️",Rme="🏝️",Nme="🏞️",Dme="🏟️",Lme="🏛️",Ime="🏗️",Pme="🧱",Fme="🪨",Bme="🪵",$me="🛖",zme="🏘️",jme="🏚️",Ume="🏠",qme="🏡",Hme="🏢",Vme="🏣",Gme="🏤",Kme="🏥",Wme="🏦",Zme="🏨",Yme="🏩",Jme="🏪",Qme="🏫",Xme="🏬",e_e="🏭",t_e="🏯",n_e="🏰",s_e="💒",o_e="🗼",r_e="🗽",i_e="⛪",a_e="🕌",l_e="🛕",c_e="🕍",d_e="⛩️",u_e="🕋",h_e="⛲",f_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="🚂",M_e="🚃",O_e="🚄",R_e="🚅",N_e="🚆",D_e="🚇",L_e="🚈",I_e="🚉",P_e="🚊",F_e="🚝",B_e="🚞",$_e="🚋",z_e="🚌",j_e="🚍",U_e="🚎",q_e="🚐",H_e="🚑",V_e="🚒",G_e="🚓",K_e="🚔",W_e="🚕",Z_e="🚖",Y_e="🚗",J_e="🚗",Q_e="🚘",X_e="🚙",e1e="🛻",t1e="🚚",n1e="🚛",s1e="🚜",o1e="🏎️",r1e="🏍️",i1e="🛵",a1e="🦽",l1e="🦼",c1e="🛺",d1e="🚲",u1e="🛴",h1e="🛹",f1e="🛼",p1e="🚏",g1e="🛣️",m1e="🛤️",_1e="🛢️",b1e="⛽",y1e="🚨",v1e="🚥",w1e="🚦",x1e="🛑",k1e="🚧",E1e="⚓",C1e="⛵",A1e="⛵",S1e="🛶",T1e="🚤",M1e="🛳️",O1e="⛴️",R1e="🛥️",N1e="🚢",D1e="✈️",L1e="🛩️",I1e="🛫",P1e="🛬",F1e="🪂",B1e="💺",$1e="🚁",z1e="🚟",j1e="🚠",U1e="🚡",q1e="🛰️",H1e="🚀",V1e="🛸",G1e="🛎️",K1e="🧳",W1e="⌛",Z1e="⏳",Y1e="⌚",J1e="⏰",Q1e="⏱️",X1e="⏲️",e0e="🕰️",t0e="🕛",n0e="🕧",s0e="🕐",o0e="🕜",r0e="🕑",i0e="🕝",a0e="🕒",l0e="🕞",c0e="🕓",d0e="🕟",u0e="🕔",h0e="🕠",f0e="🕕",p0e="🕡",g0e="🕖",m0e="🕢",_0e="🕗",b0e="🕣",y0e="🕘",v0e="🕤",w0e="🕙",x0e="🕥",k0e="🕚",E0e="🕦",C0e="🌑",A0e="🌒",S0e="🌓",T0e="🌔",M0e="🌔",O0e="🌕",R0e="🌖",N0e="🌗",D0e="🌘",L0e="🌙",I0e="🌚",P0e="🌛",F0e="🌜",B0e="🌡️",$0e="☀️",z0e="🌝",j0e="🌞",U0e="🪐",q0e="⭐",H0e="🌟",V0e="🌠",G0e="🌌",K0e="☁️",W0e="⛅",Z0e="⛈️",Y0e="🌤️",J0e="🌥️",Q0e="🌦️",X0e="🌧️",ebe="🌨️",tbe="🌩️",nbe="🌪️",sbe="🌫️",obe="🌬️",rbe="🌀",ibe="🌈",abe="🌂",lbe="☂️",cbe="☔",dbe="⛱️",ube="⚡",hbe="❄️",fbe="☃️",pbe="⛄",gbe="☄️",mbe="🔥",_be="💧",bbe="🌊",ybe="🎃",vbe="🎄",wbe="🎆",xbe="🎇",kbe="🧨",Ebe="✨",Cbe="🎈",Abe="🎉",Sbe="🎊",Tbe="🎋",Mbe="🎍",Obe="🎎",Rbe="🎏",Nbe="🎐",Dbe="🎑",Lbe="🧧",Ibe="🎀",Pbe="🎁",Fbe="🎗️",Bbe="🎟️",$be="🎫",zbe="🎖️",jbe="🏆",Ube="🏅",qbe="⚽",Hbe="⚾",Vbe="🥎",Gbe="🏀",Kbe="🏐",Wbe="🏈",Zbe="🏉",Ybe="🎾",Jbe="🥏",Qbe="🎳",Xbe="🏏",eye="🏑",tye="🏒",nye="🥍",sye="🏓",oye="🏸",rye="🥊",iye="🥋",aye="🥅",lye="⛳",cye="⛸️",dye="🎣",uye="🤿",hye="🎽",fye="🎿",pye="🛷",gye="🥌",mye="🎯",_ye="🪀",bye="🪁",yye="🔮",vye="🪄",wye="🧿",xye="🎮",kye="🕹️",Eye="🎰",Cye="🎲",Aye="🧩",Sye="🧸",Tye="🪅",Mye="🪆",Oye="♠️",Rye="♥️",Nye="♦️",Dye="♣️",Lye="♟️",Iye="🃏",Pye="🀄",Fye="🎴",Bye="🎭",$ye="🖼️",zye="🎨",jye="🧵",Uye="🪡",qye="🧶",Hye="🪢",Vye="👓",Gye="🕶️",Kye="🥽",Wye="🥼",Zye="🦺",Yye="👔",Jye="👕",Qye="👕",Xye="👖",e2e="🧣",t2e="🧤",n2e="🧥",s2e="🧦",o2e="👗",r2e="👘",i2e="🥻",a2e="🩱",l2e="🩲",c2e="🩳",d2e="👙",u2e="👚",h2e="👛",f2e="👜",p2e="👝",g2e="🛍️",m2e="🎒",_2e="🩴",b2e="👞",y2e="👞",v2e="👟",w2e="🥾",x2e="🥿",k2e="👠",E2e="👡",C2e="🩰",A2e="👢",S2e="👑",T2e="👒",M2e="🎩",O2e="🎓",R2e="🧢",N2e="🪖",D2e="⛑️",L2e="📿",I2e="💄",P2e="💍",F2e="💎",B2e="🔇",$2e="🔈",z2e="🔉",j2e="🔊",U2e="📢",q2e="📣",H2e="📯",V2e="🔔",G2e="🔕",K2e="🎼",W2e="🎵",Z2e="🎶",Y2e="🎙️",J2e="🎚️",Q2e="🎛️",X2e="🎤",eve="🎧",tve="📻",nve="🎷",sve="🪗",ove="🎸",rve="🎹",ive="🎺",ave="🎻",lve="🪕",cve="🥁",dve="🪘",uve="📱",hve="📲",fve="☎️",pve="☎️",gve="📞",mve="📟",_ve="📠",bve="🔋",yve="🔌",vve="💻",wve="🖥️",xve="🖨️",kve="⌨️",Eve="🖱️",Cve="🖲️",Ave="💽",Sve="💾",Tve="💿",Mve="📀",Ove="🧮",Rve="🎥",Nve="🎞️",Dve="📽️",Lve="🎬",Ive="📺",Pve="📷",Fve="📸",Bve="📹",$ve="📼",zve="🔍",jve="🔎",Uve="🕯️",qve="💡",Hve="🔦",Vve="🏮",Gve="🏮",Kve="🪔",Wve="📔",Zve="📕",Yve="📖",Jve="📖",Qve="📗",Xve="📘",ewe="📙",twe="📚",nwe="📓",swe="📒",owe="📃",rwe="📜",iwe="📄",awe="📰",lwe="🗞️",cwe="📑",dwe="🔖",uwe="🏷️",hwe="💰",fwe="🪙",pwe="💴",gwe="💵",mwe="💶",_we="💷",bwe="💸",ywe="💳",vwe="🧾",wwe="💹",xwe="✉️",kwe="📧",Ewe="📨",Cwe="📩",Awe="📤",Swe="📥",Twe="📫",Mwe="📪",Owe="📬",Rwe="📭",Nwe="📮",Dwe="🗳️",Lwe="✏️",Iwe="✒️",Pwe="🖋️",Fwe="🖊️",Bwe="🖌️",$we="🖍️",zwe="📝",jwe="📝",Uwe="💼",qwe="📁",Hwe="📂",Vwe="🗂️",Gwe="📅",Kwe="📆",Wwe="🗒️",Zwe="🗓️",Ywe="📇",Jwe="📈",Qwe="📉",Xwe="📊",exe="📋",txe="📌",nxe="📍",sxe="📎",oxe="🖇️",rxe="📏",ixe="📐",axe="✂️",lxe="🗃️",cxe="🗄️",dxe="🗑️",uxe="🔒",hxe="🔓",fxe="🔏",pxe="🔐",gxe="🔑",mxe="🗝️",_xe="🔨",bxe="🪓",yxe="⛏️",vxe="⚒️",wxe="🛠️",xxe="🗡️",kxe="⚔️",Exe="🔫",Cxe="🪃",Axe="🏹",Sxe="🛡️",Txe="🪚",Mxe="🔧",Oxe="🪛",Rxe="🔩",Nxe="⚙️",Dxe="🗜️",Lxe="⚖️",Ixe="🦯",Pxe="🔗",Fxe="⛓️",Bxe="🪝",$xe="🧰",zxe="🧲",jxe="🪜",Uxe="⚗️",qxe="🧪",Hxe="🧫",Vxe="🧬",Gxe="🔬",Kxe="🔭",Wxe="📡",Zxe="💉",Yxe="🩸",Jxe="💊",Qxe="🩹",Xxe="🩺",eke="🚪",tke="🛗",nke="🪞",ske="🪟",oke="🛏️",rke="🛋️",ike="🪑",ake="🚽",lke="🪠",cke="🚿",dke="🛁",uke="🪤",hke="🪒",fke="🧴",pke="🧷",gke="🧹",mke="🧺",_ke="🧻",bke="🪣",yke="🧼",vke="🪥",wke="🧽",xke="🧯",kke="🛒",Eke="🚬",Cke="⚰️",Ake="🪦",Ske="⚱️",Tke="🗿",Mke="🪧",Oke="🏧",Rke="🚮",Nke="🚰",Dke="♿",Lke="🚹",Ike="🚺",Pke="🚻",Fke="🚼",Bke="🚾",$ke="🛂",zke="🛃",jke="🛄",Uke="🛅",qke="⚠️",Hke="🚸",Vke="⛔",Gke="🚫",Kke="🚳",Wke="🚭",Zke="🚯",Yke="🚷",Jke="📵",Qke="🔞",Xke="☢️",e5e="☣️",t5e="⬆️",n5e="↗️",s5e="➡️",o5e="↘️",r5e="⬇️",i5e="↙️",a5e="⬅️",l5e="↖️",c5e="↕️",d5e="↔️",u5e="↩️",h5e="↪️",f5e="⤴️",p5e="⤵️",g5e="🔃",m5e="🔄",_5e="🔙",b5e="🔚",y5e="🔛",v5e="🔜",w5e="🔝",x5e="🛐",k5e="⚛️",E5e="🕉️",C5e="✡️",A5e="☸️",S5e="☯️",T5e="✝️",M5e="☦️",O5e="☪️",R5e="☮️",N5e="🕎",D5e="🔯",L5e="♈",I5e="♉",P5e="♊",F5e="♋",B5e="♌",$5e="♍",z5e="♎",j5e="♏",U5e="♐",q5e="♑",H5e="♒",V5e="♓",G5e="⛎",K5e="🔀",W5e="🔁",Z5e="🔂",Y5e="▶️",J5e="⏩",Q5e="⏭️",X5e="⏯️",eEe="◀️",tEe="⏪",nEe="⏮️",sEe="🔼",oEe="⏫",rEe="🔽",iEe="⏬",aEe="⏸️",lEe="⏹️",cEe="⏺️",dEe="⏏️",uEe="🎦",hEe="🔅",fEe="🔆",pEe="📶",gEe="📳",mEe="📴",_Ee="♀️",bEe="♂️",yEe="⚧️",vEe="✖️",wEe="➕",xEe="➖",kEe="➗",EEe="♾️",CEe="‼️",AEe="⁉️",SEe="❓",TEe="❔",MEe="❕",OEe="❗",REe="❗",NEe="〰️",DEe="💱",LEe="💲",IEe="⚕️",PEe="♻️",FEe="⚜️",BEe="🔱",$Ee="📛",zEe="🔰",jEe="⭕",UEe="✅",qEe="☑️",HEe="✔️",VEe="❌",GEe="❎",KEe="➰",WEe="➿",ZEe="〽️",YEe="✳️",JEe="✴️",QEe="❇️",XEe="©️",e4e="®️",t4e="™️",n4e="#️⃣",s4e="*️⃣",o4e="0️⃣",r4e="1️⃣",i4e="2️⃣",a4e="3️⃣",l4e="4️⃣",c4e="5️⃣",d4e="6️⃣",u4e="7️⃣",h4e="8️⃣",f4e="9️⃣",p4e="🔟",g4e="🔠",m4e="🔡",_4e="🔣",b4e="🔤",y4e="🅰️",v4e="🆎",w4e="🅱️",x4e="🆑",k4e="🆒",E4e="🆓",C4e="ℹ️",A4e="🆔",S4e="Ⓜ️",T4e="🆖",M4e="🅾️",O4e="🆗",R4e="🅿️",N4e="🆘",D4e="🆙",L4e="🆚",I4e="🈁",P4e="🈂️",F4e="🉐",B4e="🉑",$4e="㊗️",z4e="㊙️",j4e="🈵",U4e="🔴",q4e="🟠",H4e="🟡",V4e="🟢",G4e="🔵",K4e="🟣",W4e="🟤",Z4e="⚫",Y4e="⚪",J4e="🟥",Q4e="🟧",X4e="🟨",eCe="🟩",tCe="🟦",nCe="🟪",sCe="🟫",oCe="⬛",rCe="⬜",iCe="◼️",aCe="◻️",lCe="◾",cCe="◽",dCe="▪️",uCe="▫️",hCe="🔶",fCe="🔷",pCe="🔸",gCe="🔹",mCe="🔺",_Ce="🔻",bCe="💠",yCe="🔘",vCe="🔳",wCe="🔲",xCe="🏁",kCe="🚩",ECe="🎌",CCe="🏴",ACe="🏳️",SCe="🏳️‍🌈",TCe="🏳️‍⚧️",MCe="🏴‍☠️",OCe="🇦🇨",RCe="🇦🇩",NCe="🇦🇪",DCe="🇦🇫",LCe="🇦🇬",ICe="🇦🇮",PCe="🇦🇱",FCe="🇦🇲",BCe="🇦🇴",$Ce="🇦🇶",zCe="🇦🇷",jCe="🇦🇸",UCe="🇦🇹",qCe="🇦🇺",HCe="🇦🇼",VCe="🇦🇽",GCe="🇦🇿",KCe="🇧🇦",WCe="🇧🇧",ZCe="🇧🇩",YCe="🇧🇪",JCe="🇧🇫",QCe="🇧🇬",XCe="🇧🇭",e8e="🇧🇮",t8e="🇧🇯",n8e="🇧🇱",s8e="🇧🇲",o8e="🇧🇳",r8e="🇧🇴",i8e="🇧🇶",a8e="🇧🇷",l8e="🇧🇸",c8e="🇧🇹",d8e="🇧🇻",u8e="🇧🇼",h8e="🇧🇾",f8e="🇧🇿",p8e="🇨🇦",g8e="🇨🇨",m8e="🇨🇩",_8e="🇨🇫",b8e="🇨🇬",y8e="🇨🇭",v8e="🇨🇮",w8e="🇨🇰",x8e="🇨🇱",k8e="🇨🇲",E8e="🇨🇳",C8e="🇨🇴",A8e="🇨🇵",S8e="🇨🇷",T8e="🇨🇺",M8e="🇨🇻",O8e="🇨🇼",R8e="🇨🇽",N8e="🇨🇾",D8e="🇨🇿",L8e="🇩🇪",I8e="🇩🇬",P8e="🇩🇯",F8e="🇩🇰",B8e="🇩🇲",$8e="🇩🇴",z8e="🇩🇿",j8e="🇪🇦",U8e="🇪🇨",q8e="🇪🇪",H8e="🇪🇬",V8e="🇪🇭",G8e="🇪🇷",K8e="🇪🇸",W8e="🇪🇹",Z8e="🇪🇺",Y8e="🇪🇺",J8e="🇫🇮",Q8e="🇫🇯",X8e="🇫🇰",e3e="🇫🇲",t3e="🇫🇴",n3e="🇫🇷",s3e="🇬🇦",o3e="🇬🇧",r3e="🇬🇧",i3e="🇬🇩",a3e="🇬🇪",l3e="🇬🇫",c3e="🇬🇬",d3e="🇬🇭",u3e="🇬🇮",h3e="🇬🇱",f3e="🇬🇲",p3e="🇬🇳",g3e="🇬🇵",m3e="🇬🇶",_3e="🇬🇷",b3e="🇬🇸",y3e="🇬🇹",v3e="🇬🇺",w3e="🇬🇼",x3e="🇬🇾",k3e="🇭🇰",E3e="🇭🇲",C3e="🇭🇳",A3e="🇭🇷",S3e="🇭🇹",T3e="🇭🇺",M3e="🇮🇨",O3e="🇮🇩",R3e="🇮🇪",N3e="🇮🇱",D3e="🇮🇲",L3e="🇮🇳",I3e="🇮🇴",P3e="🇮🇶",F3e="🇮🇷",B3e="🇮🇸",$3e="🇮🇹",z3e="🇯🇪",j3e="🇯🇲",U3e="🇯🇴",q3e="🇯🇵",H3e="🇰🇪",V3e="🇰🇬",G3e="🇰🇭",K3e="🇰🇮",W3e="🇰🇲",Z3e="🇰🇳",Y3e="🇰🇵",J3e="🇰🇷",Q3e="🇰🇼",X3e="🇰🇾",e9e="🇰🇿",t9e="🇱🇦",n9e="🇱🇧",s9e="🇱🇨",o9e="🇱🇮",r9e="🇱🇰",i9e="🇱🇷",a9e="🇱🇸",l9e="🇱🇹",c9e="🇱🇺",d9e="🇱🇻",u9e="🇱🇾",h9e="🇲🇦",f9e="🇲🇨",p9e="🇲🇩",g9e="🇲🇪",m9e="🇲🇫",_9e="🇲🇬",b9e="🇲🇭",y9e="🇲🇰",v9e="🇲🇱",w9e="🇲🇲",x9e="🇲🇳",k9e="🇲🇴",E9e="🇲🇵",C9e="🇲🇶",A9e="🇲🇷",S9e="🇲🇸",T9e="🇲🇹",M9e="🇲🇺",O9e="🇲🇻",R9e="🇲🇼",N9e="🇲🇽",D9e="🇲🇾",L9e="🇲🇿",I9e="🇳🇦",P9e="🇳🇨",F9e="🇳🇪",B9e="🇳🇫",$9e="🇳🇬",z9e="🇳🇮",j9e="🇳🇱",U9e="🇳🇴",q9e="🇳🇵",H9e="🇳🇷",V9e="🇳🇺",G9e="🇳🇿",K9e="🇴🇲",W9e="🇵🇦",Z9e="🇵🇪",Y9e="🇵🇫",J9e="🇵🇬",Q9e="🇵🇭",X9e="🇵🇰",e6e="🇵🇱",t6e="🇵🇲",n6e="🇵🇳",s6e="🇵🇷",o6e="🇵🇸",r6e="🇵🇹",i6e="🇵🇼",a6e="🇵🇾",l6e="🇶🇦",c6e="🇷🇪",d6e="🇷🇴",u6e="🇷🇸",h6e="🇷🇺",f6e="🇷🇼",p6e="🇸🇦",g6e="🇸🇧",m6e="🇸🇨",_6e="🇸🇩",b6e="🇸🇪",y6e="🇸🇬",v6e="🇸🇭",w6e="🇸🇮",x6e="🇸🇯",k6e="🇸🇰",E6e="🇸🇱",C6e="🇸🇲",A6e="🇸🇳",S6e="🇸🇴",T6e="🇸🇷",M6e="🇸🇸",O6e="🇸🇹",R6e="🇸🇻",N6e="🇸🇽",D6e="🇸🇾",L6e="🇸🇿",I6e="🇹🇦",P6e="🇹🇨",F6e="🇹🇩",B6e="🇹🇫",$6e="🇹🇬",z6e="🇹🇭",j6e="🇹🇯",U6e="🇹🇰",q6e="🇹🇱",H6e="🇹🇲",V6e="🇹🇳",G6e="🇹🇴",K6e="🇹🇷",W6e="🇹🇹",Z6e="🇹🇻",Y6e="🇹🇼",J6e="🇹🇿",Q6e="🇺🇦",X6e="🇺🇬",e7e="🇺🇲",t7e="🇺🇳",n7e="🇺🇸",s7e="🇺🇾",o7e="🇺🇿",r7e="🇻🇦",i7e="🇻🇨",a7e="🇻🇪",l7e="🇻🇬",c7e="🇻🇮",d7e="🇻🇳",u7e="🇻🇺",h7e="🇼🇫",f7e="🇼🇸",p7e="🇽🇰",g7e="🇾🇪",m7e="🇾🇹",_7e="🇿🇦",b7e="🇿🇲",y7e="🇿🇼",v7e="🏴󠁧󠁢󠁥󠁮󠁧󠁿",w7e="🏴󠁧󠁢󠁳󠁣󠁴󠁿",x7e="🏴󠁧󠁢󠁷󠁬󠁳󠁿",k7e={100:"💯",1234:"🔢",grinning:Lte,smiley:Ite,smile:Pte,grin:Fte,laughing:Bte,satisfied:$te,sweat_smile:zte,rofl:jte,joy:Ute,slightly_smiling_face:qte,upside_down_face:Hte,wink:Vte,blush:Gte,innocent:Kte,smiling_face_with_three_hearts:Wte,heart_eyes:Zte,star_struck:Yte,kissing_heart:Jte,kissing:Qte,relaxed:Xte,kissing_closed_eyes:ene,kissing_smiling_eyes:tne,smiling_face_with_tear:nne,yum:sne,stuck_out_tongue:one,stuck_out_tongue_winking_eye:rne,zany_face:ine,stuck_out_tongue_closed_eyes:ane,money_mouth_face:lne,hugs:cne,hand_over_mouth:dne,shushing_face:une,thinking:hne,zipper_mouth_face:fne,raised_eyebrow:pne,neutral_face:gne,expressionless:mne,no_mouth:_ne,smirk:bne,unamused:yne,roll_eyes:vne,grimacing:wne,lying_face:xne,relieved:kne,pensive:Ene,sleepy:Cne,drooling_face:Ane,sleeping:Sne,mask:Tne,face_with_thermometer:Mne,face_with_head_bandage:One,nauseated_face:Rne,vomiting_face:Nne,sneezing_face:Dne,hot_face:Lne,cold_face:Ine,woozy_face:Pne,dizzy_face:Fne,exploding_head:Bne,cowboy_hat_face:$ne,partying_face:zne,disguised_face:jne,sunglasses:Une,nerd_face:qne,monocle_face:Hne,confused:Vne,worried:Gne,slightly_frowning_face:Kne,frowning_face:Wne,open_mouth:Zne,hushed:Yne,astonished:Jne,flushed:Qne,pleading_face:Xne,frowning:ese,anguished:tse,fearful:nse,cold_sweat:sse,disappointed_relieved:ose,cry:rse,sob:ise,scream:ase,confounded:lse,persevere:cse,disappointed:dse,sweat:use,weary:hse,tired_face:fse,yawning_face:pse,triumph:gse,rage:mse,pout:_se,angry:bse,cursing_face:yse,smiling_imp:vse,imp:wse,skull:xse,skull_and_crossbones:kse,hankey:Ese,poop:Cse,shit:Ase,clown_face:Sse,japanese_ogre:Tse,japanese_goblin:Mse,ghost:Ose,alien:Rse,space_invader:Nse,robot:Dse,smiley_cat:Lse,smile_cat:Ise,joy_cat:Pse,heart_eyes_cat:Fse,smirk_cat:Bse,kissing_cat:$se,scream_cat:zse,crying_cat_face:jse,pouting_cat:Use,see_no_evil:qse,hear_no_evil:Hse,speak_no_evil:Vse,kiss:Gse,love_letter:Kse,cupid:Wse,gift_heart:Zse,sparkling_heart:Yse,heartpulse:Jse,heartbeat:Qse,revolving_hearts:Xse,two_hearts:eoe,heart_decoration:toe,heavy_heart_exclamation:noe,broken_heart:soe,heart:ooe,orange_heart:roe,yellow_heart:ioe,green_heart:aoe,blue_heart:loe,purple_heart:coe,brown_heart:doe,black_heart:uoe,white_heart:hoe,anger:foe,boom:poe,collision:goe,dizzy:moe,sweat_drops:_oe,dash:boe,hole:yoe,bomb:voe,speech_balloon:woe,eye_speech_bubble:xoe,left_speech_bubble:koe,right_anger_bubble:Eoe,thought_balloon:Coe,zzz:Aoe,wave:Soe,raised_back_of_hand:Toe,raised_hand_with_fingers_splayed:Moe,hand:Ooe,raised_hand:Roe,vulcan_salute:Noe,ok_hand:Doe,pinched_fingers:Loe,pinching_hand:Ioe,v:Poe,crossed_fingers:Foe,love_you_gesture:Boe,metal:$oe,call_me_hand:zoe,point_left:joe,point_right:Uoe,point_up_2:qoe,middle_finger:Hoe,fu:Voe,point_down:Goe,point_up:Koe,"+1":"👍",thumbsup:Woe,"-1":"👎",thumbsdown:Zoe,fist_raised:Yoe,fist:Joe,fist_oncoming:Qoe,facepunch:Xoe,punch:ere,fist_left:tre,fist_right:nre,clap:sre,raised_hands:ore,open_hands:rre,palms_up_together:ire,handshake:are,pray:lre,writing_hand:cre,nail_care:dre,selfie:ure,muscle:hre,mechanical_arm:fre,mechanical_leg:pre,leg:gre,foot:mre,ear:_re,ear_with_hearing_aid:bre,nose:yre,brain:vre,anatomical_heart:wre,lungs:xre,tooth:kre,bone:Ere,eyes:Cre,eye:Are,tongue:Sre,lips:Tre,baby:Mre,child:Ore,boy:Rre,girl:Nre,adult:Dre,blond_haired_person:Lre,man:Ire,bearded_person:Pre,red_haired_man:Fre,curly_haired_man:Bre,white_haired_man:$re,bald_man:zre,woman:jre,red_haired_woman:Ure,person_red_hair:qre,curly_haired_woman:Hre,person_curly_hair:Vre,white_haired_woman:Gre,person_white_hair:Kre,bald_woman:Wre,person_bald:Zre,blond_haired_woman:Yre,blonde_woman:Jre,blond_haired_man:Qre,older_adult:Xre,older_man:eie,older_woman:tie,frowning_person:nie,frowning_man:sie,frowning_woman:oie,pouting_face:rie,pouting_man:iie,pouting_woman:aie,no_good:lie,no_good_man:cie,ng_man:die,no_good_woman:uie,ng_woman:hie,ok_person:fie,ok_man:pie,ok_woman:gie,tipping_hand_person:mie,information_desk_person:_ie,tipping_hand_man:bie,sassy_man:yie,tipping_hand_woman:vie,sassy_woman:wie,raising_hand:xie,raising_hand_man:kie,raising_hand_woman:Eie,deaf_person:Cie,deaf_man:Aie,deaf_woman:Sie,bow:Tie,bowing_man:Mie,bowing_woman:Oie,facepalm:Rie,man_facepalming:Nie,woman_facepalming:Die,shrug:Lie,man_shrugging:Iie,woman_shrugging:Pie,health_worker:Fie,man_health_worker:Bie,woman_health_worker:$ie,student:zie,man_student:jie,woman_student:Uie,teacher:qie,man_teacher:Hie,woman_teacher:Vie,judge:Gie,man_judge:Kie,woman_judge:Wie,farmer:Zie,man_farmer:Yie,woman_farmer:Jie,cook:Qie,man_cook:Xie,woman_cook:eae,mechanic:tae,man_mechanic:nae,woman_mechanic:sae,factory_worker:oae,man_factory_worker:rae,woman_factory_worker:iae,office_worker:aae,man_office_worker:lae,woman_office_worker:cae,scientist:dae,man_scientist:uae,woman_scientist:hae,technologist:fae,man_technologist:pae,woman_technologist:gae,singer:mae,man_singer:_ae,woman_singer:bae,artist:yae,man_artist:vae,woman_artist:wae,pilot:xae,man_pilot:kae,woman_pilot:Eae,astronaut:Cae,man_astronaut:Aae,woman_astronaut:Sae,firefighter:Tae,man_firefighter:Mae,woman_firefighter:Oae,police_officer:Rae,cop:Nae,policeman:Dae,policewoman:Lae,detective:Iae,male_detective:Pae,female_detective:Fae,guard:Bae,guardsman:$ae,guardswoman:zae,ninja:jae,construction_worker:Uae,construction_worker_man:qae,construction_worker_woman:Hae,prince:Vae,princess:Gae,person_with_turban:Kae,man_with_turban:Wae,woman_with_turban:Zae,man_with_gua_pi_mao:Yae,woman_with_headscarf:Jae,person_in_tuxedo:Qae,man_in_tuxedo:Xae,woman_in_tuxedo:ele,person_with_veil:tle,man_with_veil:nle,woman_with_veil:sle,bride_with_veil:ole,pregnant_woman:rle,breast_feeding:ile,woman_feeding_baby:ale,man_feeding_baby:lle,person_feeding_baby:cle,angel:dle,santa:ule,mrs_claus:hle,mx_claus:fle,superhero:ple,superhero_man:gle,superhero_woman:mle,supervillain:_le,supervillain_man:ble,supervillain_woman:yle,mage:vle,mage_man:wle,mage_woman:xle,fairy:kle,fairy_man:Ele,fairy_woman:Cle,vampire:Ale,vampire_man:Sle,vampire_woman:Tle,merperson:Mle,merman:Ole,mermaid:Rle,elf:Nle,elf_man:Dle,elf_woman:Lle,genie:Ile,genie_man:Ple,genie_woman:Fle,zombie:Ble,zombie_man:$le,zombie_woman:zle,massage:jle,massage_man:Ule,massage_woman:qle,haircut:Hle,haircut_man:Vle,haircut_woman:Gle,walking:Kle,walking_man:Wle,walking_woman:Zle,standing_person:Yle,standing_man:Jle,standing_woman:Qle,kneeling_person:Xle,kneeling_man:ece,kneeling_woman:tce,person_with_probing_cane:nce,man_with_probing_cane:sce,woman_with_probing_cane:oce,person_in_motorized_wheelchair:rce,man_in_motorized_wheelchair:ice,woman_in_motorized_wheelchair:ace,person_in_manual_wheelchair:lce,man_in_manual_wheelchair:cce,woman_in_manual_wheelchair:dce,runner:uce,running:hce,running_man:fce,running_woman:pce,woman_dancing:gce,dancer:mce,man_dancing:_ce,business_suit_levitating:bce,dancers:yce,dancing_men:vce,dancing_women:wce,sauna_person:xce,sauna_man:kce,sauna_woman:Ece,climbing:Cce,climbing_man:Ace,climbing_woman:Sce,person_fencing:Tce,horse_racing:Mce,skier:Oce,snowboarder:Rce,golfing:Nce,golfing_man:Dce,golfing_woman:Lce,surfer:Ice,surfing_man:Pce,surfing_woman:Fce,rowboat:Bce,rowing_man:$ce,rowing_woman:zce,swimmer:jce,swimming_man:Uce,swimming_woman:qce,bouncing_ball_person:Hce,bouncing_ball_man:Vce,basketball_man:Gce,bouncing_ball_woman:Kce,basketball_woman:Wce,weight_lifting:Zce,weight_lifting_man:Yce,weight_lifting_woman:Jce,bicyclist:Qce,biking_man:Xce,biking_woman:ede,mountain_bicyclist:tde,mountain_biking_man:nde,mountain_biking_woman:sde,cartwheeling:ode,man_cartwheeling:rde,woman_cartwheeling:ide,wrestling:ade,men_wrestling:lde,women_wrestling:cde,water_polo:dde,man_playing_water_polo:ude,woman_playing_water_polo:hde,handball_person:fde,man_playing_handball:pde,woman_playing_handball:gde,juggling_person:mde,man_juggling:_de,woman_juggling:bde,lotus_position:yde,lotus_position_man:vde,lotus_position_woman:wde,bath:xde,sleeping_bed:kde,people_holding_hands:Ede,two_women_holding_hands:Cde,couple:Ade,two_men_holding_hands:Sde,couplekiss:Tde,couplekiss_man_woman:Mde,couplekiss_man_man:Ode,couplekiss_woman_woman:Rde,couple_with_heart:Nde,couple_with_heart_woman_man:Dde,couple_with_heart_man_man:Lde,couple_with_heart_woman_woman:Ide,family:Pde,family_man_woman_boy:Fde,family_man_woman_girl:Bde,family_man_woman_girl_boy:$de,family_man_woman_boy_boy:zde,family_man_woman_girl_girl:jde,family_man_man_boy:Ude,family_man_man_girl:qde,family_man_man_girl_boy:Hde,family_man_man_boy_boy:Vde,family_man_man_girl_girl:Gde,family_woman_woman_boy:Kde,family_woman_woman_girl:Wde,family_woman_woman_girl_boy:Zde,family_woman_woman_boy_boy:Yde,family_woman_woman_girl_girl:Jde,family_man_boy:Qde,family_man_boy_boy:Xde,family_man_girl:eue,family_man_girl_boy:tue,family_man_girl_girl:nue,family_woman_boy:sue,family_woman_boy_boy:oue,family_woman_girl:rue,family_woman_girl_boy:iue,family_woman_girl_girl:aue,speaking_head:lue,bust_in_silhouette:cue,busts_in_silhouette:due,people_hugging:uue,footprints:hue,monkey_face:fue,monkey:pue,gorilla:gue,orangutan:mue,dog:_ue,dog2:bue,guide_dog:yue,service_dog:vue,poodle:wue,wolf:xue,fox_face:kue,raccoon:Eue,cat:Cue,cat2:Aue,black_cat:Sue,lion:Tue,tiger:Mue,tiger2:Oue,leopard:Rue,horse:Nue,racehorse:Due,unicorn:Lue,zebra:Iue,deer:Pue,bison:Fue,cow:Bue,ox:$ue,water_buffalo:zue,cow2:jue,pig:Uue,pig2:que,boar:Hue,pig_nose:Vue,ram:Gue,sheep:Kue,goat:Wue,dromedary_camel:Zue,camel:Yue,llama:Jue,giraffe:Que,elephant:Xue,mammoth:ehe,rhinoceros:the,hippopotamus:nhe,mouse:she,mouse2:ohe,rat:rhe,hamster:ihe,rabbit:ahe,rabbit2:lhe,chipmunk:che,beaver:dhe,hedgehog:uhe,bat:hhe,bear:fhe,polar_bear:phe,koala:ghe,panda_face:mhe,sloth:_he,otter:bhe,skunk:yhe,kangaroo:vhe,badger:whe,feet:xhe,paw_prints:khe,turkey:Ehe,chicken:Che,rooster:Ahe,hatching_chick:She,baby_chick:The,hatched_chick:Mhe,bird:Ohe,penguin:Rhe,dove:Nhe,eagle:Dhe,duck:Lhe,swan:Ihe,owl:Phe,dodo:Fhe,feather:Bhe,flamingo:$he,peacock:zhe,parrot:jhe,frog:Uhe,crocodile:qhe,turtle:Hhe,lizard:Vhe,snake:Ghe,dragon_face:Khe,dragon:Whe,sauropod:Zhe,"t-rex":"🦖",whale:Yhe,whale2:Jhe,dolphin:Qhe,flipper:Xhe,seal:efe,fish:tfe,tropical_fish:nfe,blowfish:sfe,shark:ofe,octopus:rfe,shell:ife,snail:afe,butterfly:lfe,bug:cfe,ant:dfe,bee:ufe,honeybee:hfe,beetle:ffe,lady_beetle:pfe,cricket:gfe,cockroach:mfe,spider:_fe,spider_web:bfe,scorpion:yfe,mosquito:vfe,fly:wfe,worm:xfe,microbe:kfe,bouquet:Efe,cherry_blossom:Cfe,white_flower:Afe,rosette:Sfe,rose:Tfe,wilted_flower:Mfe,hibiscus:Ofe,sunflower:Rfe,blossom:Nfe,tulip:Dfe,seedling:Lfe,potted_plant:Ife,evergreen_tree:Pfe,deciduous_tree:Ffe,palm_tree:Bfe,cactus:$fe,ear_of_rice:zfe,herb:jfe,shamrock:Ufe,four_leaf_clover:qfe,maple_leaf:Hfe,fallen_leaf:Vfe,leaves:Gfe,grapes:Kfe,melon:Wfe,watermelon:Zfe,tangerine:Yfe,orange:Jfe,mandarin:Qfe,lemon:Xfe,banana:epe,pineapple:tpe,mango:npe,apple:spe,green_apple:ope,pear:rpe,peach:ipe,cherries:ape,strawberry:lpe,blueberries:cpe,kiwi_fruit:dpe,tomato:upe,olive:hpe,coconut:fpe,avocado:ppe,eggplant:gpe,potato:mpe,carrot:_pe,corn:bpe,hot_pepper:ype,bell_pepper:vpe,cucumber:wpe,leafy_green:xpe,broccoli:kpe,garlic:Epe,onion:Cpe,mushroom:Ape,peanuts:Spe,chestnut:Tpe,bread:Mpe,croissant:Ope,baguette_bread:Rpe,flatbread:Npe,pretzel:Dpe,bagel:Lpe,pancakes:Ipe,waffle:Ppe,cheese:Fpe,meat_on_bone:Bpe,poultry_leg:$pe,cut_of_meat:zpe,bacon:jpe,hamburger:Upe,fries:qpe,pizza:Hpe,hotdog:Vpe,sandwich:Gpe,taco:Kpe,burrito:Wpe,tamale:Zpe,stuffed_flatbread:Ype,falafel:Jpe,egg:Qpe,fried_egg:Xpe,shallow_pan_of_food:ege,stew:tge,fondue:nge,bowl_with_spoon:sge,green_salad:oge,popcorn:rge,butter:ige,salt:age,canned_food:lge,bento:cge,rice_cracker:dge,rice_ball:uge,rice:hge,curry:fge,ramen:pge,spaghetti:gge,sweet_potato:mge,oden:_ge,sushi:bge,fried_shrimp:yge,fish_cake:vge,moon_cake:wge,dango:xge,dumpling:kge,fortune_cookie:Ege,takeout_box:Cge,crab:Age,lobster:Sge,shrimp:Tge,squid:Mge,oyster:Oge,icecream:Rge,shaved_ice:Nge,ice_cream:Dge,doughnut:Lge,cookie:Ige,birthday:Pge,cake:Fge,cupcake:Bge,pie:$ge,chocolate_bar:zge,candy:jge,lollipop:Uge,custard:qge,honey_pot:Hge,baby_bottle:Vge,milk_glass:Gge,coffee:Kge,teapot:Wge,tea:Zge,sake:Yge,champagne:Jge,wine_glass:Qge,cocktail:Xge,tropical_drink:eme,beer:tme,beers:nme,clinking_glasses:sme,tumbler_glass:ome,cup_with_straw:rme,bubble_tea:ime,beverage_box:ame,mate:lme,ice_cube:cme,chopsticks:dme,plate_with_cutlery:ume,fork_and_knife:hme,spoon:fme,hocho:pme,knife:gme,amphora:mme,earth_africa:_me,earth_americas:bme,earth_asia:yme,globe_with_meridians:vme,world_map:wme,japan:xme,compass:kme,mountain_snow:Eme,mountain:Cme,volcano:Ame,mount_fuji:Sme,camping:Tme,beach_umbrella:Mme,desert:Ome,desert_island:Rme,national_park:Nme,stadium:Dme,classical_building:Lme,building_construction:Ime,bricks:Pme,rock:Fme,wood:Bme,hut:$me,houses:zme,derelict_house:jme,house:Ume,house_with_garden:qme,office:Hme,post_office:Vme,european_post_office:Gme,hospital:Kme,bank:Wme,hotel:Zme,love_hotel:Yme,convenience_store:Jme,school:Qme,department_store:Xme,factory:e_e,japanese_castle:t_e,european_castle:n_e,wedding:s_e,tokyo_tower:o_e,statue_of_liberty:r_e,church:i_e,mosque:a_e,hindu_temple:l_e,synagogue:c_e,shinto_shrine:d_e,kaaba:u_e,fountain:h_e,tent:f_e,foggy:p_e,night_with_stars:g_e,cityscape:m_e,sunrise_over_mountains:__e,sunrise:b_e,city_sunset:y_e,city_sunrise:v_e,bridge_at_night:w_e,hotsprings:x_e,carousel_horse:k_e,ferris_wheel:E_e,roller_coaster:C_e,barber:A_e,circus_tent:S_e,steam_locomotive:T_e,railway_car:M_e,bullettrain_side:O_e,bullettrain_front:R_e,train2:N_e,metro:D_e,light_rail:L_e,station:I_e,tram:P_e,monorail:F_e,mountain_railway:B_e,train:$_e,bus:z_e,oncoming_bus:j_e,trolleybus:U_e,minibus:q_e,ambulance:H_e,fire_engine:V_e,police_car:G_e,oncoming_police_car:K_e,taxi:W_e,oncoming_taxi:Z_e,car:Y_e,red_car:J_e,oncoming_automobile:Q_e,blue_car:X_e,pickup_truck:e1e,truck:t1e,articulated_lorry:n1e,tractor:s1e,racing_car:o1e,motorcycle:r1e,motor_scooter:i1e,manual_wheelchair:a1e,motorized_wheelchair:l1e,auto_rickshaw:c1e,bike:d1e,kick_scooter:u1e,skateboard:h1e,roller_skate:f1e,busstop:p1e,motorway:g1e,railway_track:m1e,oil_drum:_1e,fuelpump:b1e,rotating_light:y1e,traffic_light:v1e,vertical_traffic_light:w1e,stop_sign:x1e,construction:k1e,anchor:E1e,boat:C1e,sailboat:A1e,canoe:S1e,speedboat:T1e,passenger_ship:M1e,ferry:O1e,motor_boat:R1e,ship:N1e,airplane:D1e,small_airplane:L1e,flight_departure:I1e,flight_arrival:P1e,parachute:F1e,seat:B1e,helicopter:$1e,suspension_railway:z1e,mountain_cableway:j1e,aerial_tramway:U1e,artificial_satellite:q1e,rocket:H1e,flying_saucer:V1e,bellhop_bell:G1e,luggage:K1e,hourglass:W1e,hourglass_flowing_sand:Z1e,watch:Y1e,alarm_clock:J1e,stopwatch:Q1e,timer_clock:X1e,mantelpiece_clock:e0e,clock12:t0e,clock1230:n0e,clock1:s0e,clock130:o0e,clock2:r0e,clock230:i0e,clock3:a0e,clock330:l0e,clock4:c0e,clock430:d0e,clock5:u0e,clock530:h0e,clock6:f0e,clock630:p0e,clock7:g0e,clock730:m0e,clock8:_0e,clock830:b0e,clock9:y0e,clock930:v0e,clock10:w0e,clock1030:x0e,clock11:k0e,clock1130:E0e,new_moon:C0e,waxing_crescent_moon:A0e,first_quarter_moon:S0e,moon:T0e,waxing_gibbous_moon:M0e,full_moon:O0e,waning_gibbous_moon:R0e,last_quarter_moon:N0e,waning_crescent_moon:D0e,crescent_moon:L0e,new_moon_with_face:I0e,first_quarter_moon_with_face:P0e,last_quarter_moon_with_face:F0e,thermometer:B0e,sunny:$0e,full_moon_with_face:z0e,sun_with_face:j0e,ringed_planet:U0e,star:q0e,star2:H0e,stars:V0e,milky_way:G0e,cloud:K0e,partly_sunny:W0e,cloud_with_lightning_and_rain:Z0e,sun_behind_small_cloud:Y0e,sun_behind_large_cloud:J0e,sun_behind_rain_cloud:Q0e,cloud_with_rain:X0e,cloud_with_snow:ebe,cloud_with_lightning:tbe,tornado:nbe,fog:sbe,wind_face:obe,cyclone:rbe,rainbow:ibe,closed_umbrella:abe,open_umbrella:lbe,umbrella:cbe,parasol_on_ground:dbe,zap:ube,snowflake:hbe,snowman_with_snow:fbe,snowman:pbe,comet:gbe,fire:mbe,droplet:_be,ocean:bbe,jack_o_lantern:ybe,christmas_tree:vbe,fireworks:wbe,sparkler:xbe,firecracker:kbe,sparkles:Ebe,balloon:Cbe,tada:Abe,confetti_ball:Sbe,tanabata_tree:Tbe,bamboo:Mbe,dolls:Obe,flags:Rbe,wind_chime:Nbe,rice_scene:Dbe,red_envelope:Lbe,ribbon:Ibe,gift:Pbe,reminder_ribbon:Fbe,tickets:Bbe,ticket:$be,medal_military:zbe,trophy:jbe,medal_sports:Ube,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:qbe,baseball:Hbe,softball:Vbe,basketball:Gbe,volleyball:Kbe,football:Wbe,rugby_football:Zbe,tennis:Ybe,flying_disc:Jbe,bowling:Qbe,cricket_game:Xbe,field_hockey:eye,ice_hockey:tye,lacrosse:nye,ping_pong:sye,badminton:oye,boxing_glove:rye,martial_arts_uniform:iye,goal_net:aye,golf:lye,ice_skate:cye,fishing_pole_and_fish:dye,diving_mask:uye,running_shirt_with_sash:hye,ski:fye,sled:pye,curling_stone:gye,dart:mye,yo_yo:_ye,kite:bye,"8ball":"🎱",crystal_ball:yye,magic_wand:vye,nazar_amulet:wye,video_game:xye,joystick:kye,slot_machine:Eye,game_die:Cye,jigsaw:Aye,teddy_bear:Sye,pinata:Tye,nesting_dolls:Mye,spades:Oye,hearts:Rye,diamonds:Nye,clubs:Dye,chess_pawn:Lye,black_joker:Iye,mahjong:Pye,flower_playing_cards:Fye,performing_arts:Bye,framed_picture:$ye,art:zye,thread:jye,sewing_needle:Uye,yarn:qye,knot:Hye,eyeglasses:Vye,dark_sunglasses:Gye,goggles:Kye,lab_coat:Wye,safety_vest:Zye,necktie:Yye,shirt:Jye,tshirt:Qye,jeans:Xye,scarf:e2e,gloves:t2e,coat:n2e,socks:s2e,dress:o2e,kimono:r2e,sari:i2e,one_piece_swimsuit:a2e,swim_brief:l2e,shorts:c2e,bikini:d2e,womans_clothes:u2e,purse:h2e,handbag:f2e,pouch:p2e,shopping:g2e,school_satchel:m2e,thong_sandal:_2e,mans_shoe:b2e,shoe:y2e,athletic_shoe:v2e,hiking_boot:w2e,flat_shoe:x2e,high_heel:k2e,sandal:E2e,ballet_shoes:C2e,boot:A2e,crown:S2e,womans_hat:T2e,tophat:M2e,mortar_board:O2e,billed_cap:R2e,military_helmet:N2e,rescue_worker_helmet:D2e,prayer_beads:L2e,lipstick:I2e,ring:P2e,gem:F2e,mute:B2e,speaker:$2e,sound:z2e,loud_sound:j2e,loudspeaker:U2e,mega:q2e,postal_horn:H2e,bell:V2e,no_bell:G2e,musical_score:K2e,musical_note:W2e,notes:Z2e,studio_microphone:Y2e,level_slider:J2e,control_knobs:Q2e,microphone:X2e,headphones:eve,radio:tve,saxophone:nve,accordion:sve,guitar:ove,musical_keyboard:rve,trumpet:ive,violin:ave,banjo:lve,drum:cve,long_drum:dve,iphone:uve,calling:hve,phone:fve,telephone:pve,telephone_receiver:gve,pager:mve,fax:_ve,battery:bve,electric_plug:yve,computer:vve,desktop_computer:wve,printer:xve,keyboard:kve,computer_mouse:Eve,trackball:Cve,minidisc:Ave,floppy_disk:Sve,cd:Tve,dvd:Mve,abacus:Ove,movie_camera:Rve,film_strip:Nve,film_projector:Dve,clapper:Lve,tv:Ive,camera:Pve,camera_flash:Fve,video_camera:Bve,vhs:$ve,mag:zve,mag_right:jve,candle:Uve,bulb:qve,flashlight:Hve,izakaya_lantern:Vve,lantern:Gve,diya_lamp:Kve,notebook_with_decorative_cover:Wve,closed_book:Zve,book:Yve,open_book:Jve,green_book:Qve,blue_book:Xve,orange_book:ewe,books:twe,notebook:nwe,ledger:swe,page_with_curl:owe,scroll:rwe,page_facing_up:iwe,newspaper:awe,newspaper_roll:lwe,bookmark_tabs:cwe,bookmark:dwe,label:uwe,moneybag:hwe,coin:fwe,yen:pwe,dollar:gwe,euro:mwe,pound:_we,money_with_wings:bwe,credit_card:ywe,receipt:vwe,chart:wwe,envelope:xwe,email:kwe,"e-mail":"📧",incoming_envelope:Ewe,envelope_with_arrow:Cwe,outbox_tray:Awe,inbox_tray:Swe,package:"📦",mailbox:Twe,mailbox_closed:Mwe,mailbox_with_mail:Owe,mailbox_with_no_mail:Rwe,postbox:Nwe,ballot_box:Dwe,pencil2:Lwe,black_nib:Iwe,fountain_pen:Pwe,pen:Fwe,paintbrush:Bwe,crayon:$we,memo:zwe,pencil:jwe,briefcase:Uwe,file_folder:qwe,open_file_folder:Hwe,card_index_dividers:Vwe,date:Gwe,calendar:Kwe,spiral_notepad:Wwe,spiral_calendar:Zwe,card_index:Ywe,chart_with_upwards_trend:Jwe,chart_with_downwards_trend:Qwe,bar_chart:Xwe,clipboard:exe,pushpin:txe,round_pushpin:nxe,paperclip:sxe,paperclips:oxe,straight_ruler:rxe,triangular_ruler:ixe,scissors:axe,card_file_box:lxe,file_cabinet:cxe,wastebasket:dxe,lock:uxe,unlock:hxe,lock_with_ink_pen:fxe,closed_lock_with_key:pxe,key:gxe,old_key:mxe,hammer:_xe,axe:bxe,pick:yxe,hammer_and_pick:vxe,hammer_and_wrench:wxe,dagger:xxe,crossed_swords:kxe,gun:Exe,boomerang:Cxe,bow_and_arrow:Axe,shield:Sxe,carpentry_saw:Txe,wrench:Mxe,screwdriver:Oxe,nut_and_bolt:Rxe,gear:Nxe,clamp:Dxe,balance_scale:Lxe,probing_cane:Ixe,link:Pxe,chains:Fxe,hook:Bxe,toolbox:$xe,magnet:zxe,ladder:jxe,alembic:Uxe,test_tube:qxe,petri_dish:Hxe,dna:Vxe,microscope:Gxe,telescope:Kxe,satellite:Wxe,syringe:Zxe,drop_of_blood:Yxe,pill:Jxe,adhesive_bandage:Qxe,stethoscope:Xxe,door:eke,elevator:tke,mirror:nke,window:ske,bed:oke,couch_and_lamp:rke,chair:ike,toilet:ake,plunger:lke,shower:cke,bathtub:dke,mouse_trap:uke,razor:hke,lotion_bottle:fke,safety_pin:pke,broom:gke,basket:mke,roll_of_paper:_ke,bucket:bke,soap:yke,toothbrush:vke,sponge:wke,fire_extinguisher:xke,shopping_cart:kke,smoking:Eke,coffin:Cke,headstone:Ake,funeral_urn:Ske,moyai:Tke,placard:Mke,atm:Oke,put_litter_in_its_place:Rke,potable_water:Nke,wheelchair:Dke,mens:Lke,womens:Ike,restroom:Pke,baby_symbol:Fke,wc:Bke,passport_control:$ke,customs:zke,baggage_claim:jke,left_luggage:Uke,warning:qke,children_crossing:Hke,no_entry:Vke,no_entry_sign:Gke,no_bicycles:Kke,no_smoking:Wke,do_not_litter:Zke,"non-potable_water":"🚱",no_pedestrians:Yke,no_mobile_phones:Jke,underage:Qke,radioactive:Xke,biohazard:e5e,arrow_up:t5e,arrow_upper_right:n5e,arrow_right:s5e,arrow_lower_right:o5e,arrow_down:r5e,arrow_lower_left:i5e,arrow_left:a5e,arrow_upper_left:l5e,arrow_up_down:c5e,left_right_arrow:d5e,leftwards_arrow_with_hook:u5e,arrow_right_hook:h5e,arrow_heading_up:f5e,arrow_heading_down:p5e,arrows_clockwise:g5e,arrows_counterclockwise:m5e,back:_5e,end:b5e,on:y5e,soon:v5e,top:w5e,place_of_worship:x5e,atom_symbol:k5e,om:E5e,star_of_david:C5e,wheel_of_dharma:A5e,yin_yang:S5e,latin_cross:T5e,orthodox_cross:M5e,star_and_crescent:O5e,peace_symbol:R5e,menorah:N5e,six_pointed_star:D5e,aries:L5e,taurus:I5e,gemini:P5e,cancer:F5e,leo:B5e,virgo:$5e,libra:z5e,scorpius:j5e,sagittarius:U5e,capricorn:q5e,aquarius:H5e,pisces:V5e,ophiuchus:G5e,twisted_rightwards_arrows:K5e,repeat:W5e,repeat_one:Z5e,arrow_forward:Y5e,fast_forward:J5e,next_track_button:Q5e,play_or_pause_button:X5e,arrow_backward:eEe,rewind:tEe,previous_track_button:nEe,arrow_up_small:sEe,arrow_double_up:oEe,arrow_down_small:rEe,arrow_double_down:iEe,pause_button:aEe,stop_button:lEe,record_button:cEe,eject_button:dEe,cinema:uEe,low_brightness:hEe,high_brightness:fEe,signal_strength:pEe,vibration_mode:gEe,mobile_phone_off:mEe,female_sign:_Ee,male_sign:bEe,transgender_symbol:yEe,heavy_multiplication_x:vEe,heavy_plus_sign:wEe,heavy_minus_sign:xEe,heavy_division_sign:kEe,infinity:EEe,bangbang:CEe,interrobang:AEe,question:SEe,grey_question:TEe,grey_exclamation:MEe,exclamation:OEe,heavy_exclamation_mark:REe,wavy_dash:NEe,currency_exchange:DEe,heavy_dollar_sign:LEe,medical_symbol:IEe,recycle:PEe,fleur_de_lis:FEe,trident:BEe,name_badge:$Ee,beginner:zEe,o:jEe,white_check_mark:UEe,ballot_box_with_check:qEe,heavy_check_mark:HEe,x:VEe,negative_squared_cross_mark:GEe,curly_loop:KEe,loop:WEe,part_alternation_mark:ZEe,eight_spoked_asterisk:YEe,eight_pointed_black_star:JEe,sparkle:QEe,copyright:XEe,registered:e4e,tm:t4e,hash:n4e,asterisk:s4e,zero:o4e,one:r4e,two:i4e,three:a4e,four:l4e,five:c4e,six:d4e,seven:u4e,eight:h4e,nine:f4e,keycap_ten:p4e,capital_abcd:g4e,abcd:m4e,symbols:_4e,abc:b4e,a:y4e,ab:v4e,b:w4e,cl:x4e,cool:k4e,free:E4e,information_source:C4e,id:A4e,m:S4e,new:"🆕",ng:T4e,o2:M4e,ok:O4e,parking:R4e,sos:N4e,up:D4e,vs:L4e,koko:I4e,sa:P4e,ideograph_advantage:F4e,accept:B4e,congratulations:$4e,secret:z4e,u6e80:j4e,red_circle:U4e,orange_circle:q4e,yellow_circle:H4e,green_circle:V4e,large_blue_circle:G4e,purple_circle:K4e,brown_circle:W4e,black_circle:Z4e,white_circle:Y4e,red_square:J4e,orange_square:Q4e,yellow_square:X4e,green_square:eCe,blue_square:tCe,purple_square:nCe,brown_square:sCe,black_large_square:oCe,white_large_square:rCe,black_medium_square:iCe,white_medium_square:aCe,black_medium_small_square:lCe,white_medium_small_square:cCe,black_small_square:dCe,white_small_square:uCe,large_orange_diamond:hCe,large_blue_diamond:fCe,small_orange_diamond:pCe,small_blue_diamond:gCe,small_red_triangle:mCe,small_red_triangle_down:_Ce,diamond_shape_with_a_dot_inside:bCe,radio_button:yCe,white_square_button:vCe,black_square_button:wCe,checkered_flag:xCe,triangular_flag_on_post:kCe,crossed_flags:ECe,black_flag:CCe,white_flag:ACe,rainbow_flag:SCe,transgender_flag:TCe,pirate_flag:MCe,ascension_island:OCe,andorra:RCe,united_arab_emirates:NCe,afghanistan:DCe,antigua_barbuda:LCe,anguilla:ICe,albania:PCe,armenia:FCe,angola:BCe,antarctica:$Ce,argentina:zCe,american_samoa:jCe,austria:UCe,australia:qCe,aruba:HCe,aland_islands:VCe,azerbaijan:GCe,bosnia_herzegovina:KCe,barbados:WCe,bangladesh:ZCe,belgium:YCe,burkina_faso:JCe,bulgaria:QCe,bahrain:XCe,burundi:e8e,benin:t8e,st_barthelemy:n8e,bermuda:s8e,brunei:o8e,bolivia:r8e,caribbean_netherlands:i8e,brazil:a8e,bahamas:l8e,bhutan:c8e,bouvet_island:d8e,botswana:u8e,belarus:h8e,belize:f8e,canada:p8e,cocos_islands:g8e,congo_kinshasa:m8e,central_african_republic:_8e,congo_brazzaville:b8e,switzerland:y8e,cote_divoire:v8e,cook_islands:w8e,chile:x8e,cameroon:k8e,cn:E8e,colombia:C8e,clipperton_island:A8e,costa_rica:S8e,cuba:T8e,cape_verde:M8e,curacao:O8e,christmas_island:R8e,cyprus:N8e,czech_republic:D8e,de:L8e,diego_garcia:I8e,djibouti:P8e,denmark:F8e,dominica:B8e,dominican_republic:$8e,algeria:z8e,ceuta_melilla:j8e,ecuador:U8e,estonia:q8e,egypt:H8e,western_sahara:V8e,eritrea:G8e,es:K8e,ethiopia:W8e,eu:Z8e,european_union:Y8e,finland:J8e,fiji:Q8e,falkland_islands:X8e,micronesia:e3e,faroe_islands:t3e,fr:n3e,gabon:s3e,gb:o3e,uk:r3e,grenada:i3e,georgia:a3e,french_guiana:l3e,guernsey:c3e,ghana:d3e,gibraltar:u3e,greenland:h3e,gambia:f3e,guinea:p3e,guadeloupe:g3e,equatorial_guinea:m3e,greece:_3e,south_georgia_south_sandwich_islands:b3e,guatemala:y3e,guam:v3e,guinea_bissau:w3e,guyana:x3e,hong_kong:k3e,heard_mcdonald_islands:E3e,honduras:C3e,croatia:A3e,haiti:S3e,hungary:T3e,canary_islands:M3e,indonesia:O3e,ireland:R3e,israel:N3e,isle_of_man:D3e,india:L3e,british_indian_ocean_territory:I3e,iraq:P3e,iran:F3e,iceland:B3e,it:$3e,jersey:z3e,jamaica:j3e,jordan:U3e,jp:q3e,kenya:H3e,kyrgyzstan:V3e,cambodia:G3e,kiribati:K3e,comoros:W3e,st_kitts_nevis:Z3e,north_korea:Y3e,kr:J3e,kuwait:Q3e,cayman_islands:X3e,kazakhstan:e9e,laos:t9e,lebanon:n9e,st_lucia:s9e,liechtenstein:o9e,sri_lanka:r9e,liberia:i9e,lesotho:a9e,lithuania:l9e,luxembourg:c9e,latvia:d9e,libya:u9e,morocco:h9e,monaco:f9e,moldova:p9e,montenegro:g9e,st_martin:m9e,madagascar:_9e,marshall_islands:b9e,macedonia:y9e,mali:v9e,myanmar:w9e,mongolia:x9e,macau:k9e,northern_mariana_islands:E9e,martinique:C9e,mauritania:A9e,montserrat:S9e,malta:T9e,mauritius:M9e,maldives:O9e,malawi:R9e,mexico:N9e,malaysia:D9e,mozambique:L9e,namibia:I9e,new_caledonia:P9e,niger:F9e,norfolk_island:B9e,nigeria:$9e,nicaragua:z9e,netherlands:j9e,norway:U9e,nepal:q9e,nauru:H9e,niue:V9e,new_zealand:G9e,oman:K9e,panama:W9e,peru:Z9e,french_polynesia:Y9e,papua_new_guinea:J9e,philippines:Q9e,pakistan:X9e,poland:e6e,st_pierre_miquelon:t6e,pitcairn_islands:n6e,puerto_rico:s6e,palestinian_territories:o6e,portugal:r6e,palau:i6e,paraguay:a6e,qatar:l6e,reunion:c6e,romania:d6e,serbia:u6e,ru:h6e,rwanda:f6e,saudi_arabia:p6e,solomon_islands:g6e,seychelles:m6e,sudan:_6e,sweden:b6e,singapore:y6e,st_helena:v6e,slovenia:w6e,svalbard_jan_mayen:x6e,slovakia:k6e,sierra_leone:E6e,san_marino:C6e,senegal:A6e,somalia:S6e,suriname:T6e,south_sudan:M6e,sao_tome_principe:O6e,el_salvador:R6e,sint_maarten:N6e,syria:D6e,swaziland:L6e,tristan_da_cunha:I6e,turks_caicos_islands:P6e,chad:F6e,french_southern_territories:B6e,togo:$6e,thailand:z6e,tajikistan:j6e,tokelau:U6e,timor_leste:q6e,turkmenistan:H6e,tunisia:V6e,tonga:G6e,tr:K6e,trinidad_tobago:W6e,tuvalu:Z6e,taiwan:Y6e,tanzania:J6e,ukraine:Q6e,uganda:X6e,us_outlying_islands:e7e,united_nations:t7e,us:n7e,uruguay:s7e,uzbekistan:o7e,vatican_city:r7e,st_vincent_grenadines:i7e,venezuela:a7e,british_virgin_islands:l7e,us_virgin_islands:c7e,vietnam:d7e,vanuatu:u7e,wallis_futuna:h7e,samoa:f7e,kosovo:p7e,yemen:g7e,mayotte:m7e,south_africa:_7e,zambia:b7e,zimbabwe:y7e,england:v7e,scotland:w7e,wales:x7e};var E7e={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(y[b-1])||b+p.lengthm&&(g=new f("text","",0),g.content=u.slice(m,b),_.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],_.push(g),m=b+p.length}),m=0;f--)p=_[f],(p.type==="link_open"||p.type==="link_close")&&p.info==="auto"&&(y-=p.nesting),p.type==="text"&&y===0&&o.test(p.content)&&(b[g].children=_=i(_,f,d(p.content,p.level,h.Token)))}};function S7e(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var T7e=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,d){return e.enabled.indexOf(d)>=0&&(l[d]=n[d]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,d){return n[d]?Array.isArray(e.shortcuts[d])?(e.shortcuts[d].forEach(function(u){l[u]=d}),l):(l[e.shortcuts[d]]=d,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 S7e(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},M7e=C7e,O7e=A7e,R7e=T7e,N7e=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=R7e(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=M7e,e.core.ruler.after("linkify","emoji",O7e(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},D7e=k7e,L7e=E7e,I7e=N7e,P7e=function(e,n){var s={defs:D7e,shortcuts:L7e,enabled:[]},o=e.utils.assign({},s,n||{});I7e(e,o)};const F7e=as(P7e);var Iu=!1,Ds={false:"push",true:"unshift",after:"push",before:"unshift"},Mr={isPermalinkSymbol:!0};function pl(t,e,n,s){var o;if(!Iu){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),Iu=!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:Mr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Ds[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Ds[e.permalinkBefore]].apply(o,i)}function xg(t){return"#"+t}function kg(t){return{}}var B7e={class:"header-anchor",symbol:"#",renderHref:xg,renderAttrs:kg};function Bo(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({},B7e),e.renderPermalinkImpl=t,e}var bi=Bo(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:Mr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Ds[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Ds[e.placement]].apply(r,i)});Object.assign(bi.defaults,{space:!0,placement:"after",ariaHidden:!1});var zn=Bo(bi.renderPermalinkImpl);zn.defaults=Object.assign({},bi.defaults,{ariaHidden:!0});var Eg=Bo(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(Eg.defaults,{safariReaderFix:!1});var Pu=Bo(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(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.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 d=typeof e.space=="string"?e.space:" ";a[Ds[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:d}))}a[Ds[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:Mr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Mr}));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]+` +`),n=n.replace(gX,"�"),e.src=n},_X=function(e){var n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},bX=function(e){var n=e.tokens,s,o,r;for(o=0,r=n.length;o\s]/i.test(t)}function wX(t){return/^<\/a\s*>/i.test(t)}var xX=function(e){var n,s,o,r,i,a,l,d,u,h,f,p,m,_,g,b,y=e.tokens,x;if(e.md.options.linkify){for(s=0,o=y.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"&&(vX(a.content)&&m>0&&m--,wX(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],p=a.level,f=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),d=0;df&&(i=new e.Token("text","",0),i.content=u.slice(f,h),i.level=p,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",g]],i.level=p++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=b,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),f=x[d].lastIndex);f=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(EX,AX)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function TX(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&ig.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 MX=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(kX.test(e.tokens[n].content)&&SX(e.tokens[n].children),ig.test(e.tokens[n].content)&&TX(e.tokens[n].children))},hu=He.isWhiteSpace,fu=He.isPunctChar,pu=He.isMdAsciiPunct,OX=/['"]/,gu=/['"]/g,mu="’";function Zo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function RX(t,e){var n,s,o,r,i,a,l,d,u,h,f,p,m,_,g,b,y,x,S,R,O;for(S=[],n=0;n=0&&!(S[y].level<=l);y--);if(S.length=y+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(y=n-1;y>=0&&!(t[y].type==="softbreak"||t[y].type==="hardbreak");y--)if(t[y].content){u=t[y].content.charCodeAt(t[y].content.length-1);break}if(h=32,i=48&&u<=57&&(b=g=!1),g&&b&&(g=f,b=p),!g&&!b){x&&(s.content=Zo(s.content,r.index,mu));continue}if(b){for(y=S.length-1;y>=0&&(d=S[y],!(S[y].level=0;n--)e.tokens[n].type!=="inline"||!OX.test(e.tokens[n].content)||RX(e.tokens[n].children,e)},DX=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};Ys.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 lc=Ys,LX=lc;function ag(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}ag.prototype.Token=LX;var IX=ag,PX=ac,Gi=[["normalize",mX],["block",_X],["inline",bX],["linkify",xX],["replacements",MX],["smartquotes",NX],["text_join",DX]];function cc(){this.ruler=new PX;for(var t=0;ts||(u=n+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[u]||(O=e.src.charCodeAt(a++),O!==124&&O!==45&&O!==58&&!Ki(O))||R===45&&Ki(O))return!1;for(;a=4||(h=_u(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==m.length))return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",S=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=g=[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(h=_u(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===n+2&&(p=e.push("tbody_open","tbody",1),p.map=b=[n+2,0]),p=e.push("tr_open","tr",1),p.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},zX=function(e,n,s,o){var r,i,a,l,d,u,h,f=!1,p=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>m||(r=e.src.charCodeAt(p),r!==126&&r!==96)||(d=p,p=e.skipChars(p,r),i=p-d,i<3)||(h=e.src.slice(d,p),a=e.src.slice(p,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(p=d=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],p=4)&&(p=e.skipChars(p,r),!(p-d=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=p=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,p++,r=!1,S=!0):e.src.charCodeAt(M)===9?(S=!0,(e.bsCount[n]+p)%4===3?(M++,l++,p++,r=!1):r=!0):S=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M=L,y=[e.sCount[n]],e.sCount[n]=p-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",f=n+1;f=L));f++){if(e.src.charCodeAt(M++)===62&&!v){for(l=p=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,p++,r=!1,S=!0):e.src.charCodeAt(M)===9?(S=!0,(e.bsCount[f]+p)%4===3?(M++,l++,p++,r=!1):r=!0):S=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M=L,_.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(S?1:0),y.push(e.sCount[f]),e.sCount[f]=p-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(u)break;for(R=!1,a=0,d=O.length;a",D.map=h=[n,0],e.md.block.tokenize(e,n,f),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=E,e.parentType=b,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(d++),r!==42&&r!==45&&r!==95))return!1;for(i=1;d=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&&(T=!0),(L=vu(e,n))>=0){if(h=!0,J=e.bMarks[n]+e.tShift[n],b=Number(e.src.slice(J,L-1)),T&&b!==1)return!1}else if((L=yu(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(g=e.src.charCodeAt(L-1),o)return!0;for(_=e.tokens.length,h?(Z=e.push("ordered_list_open","ol",1),b!==1&&(Z.attrs=[["start",b]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[n,0],Z.markup=String.fromCharCode(g),x=n,B=!1,ce=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x=y?d=1:d=S-u,d>4&&(d=1),l=u+d,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(g),Z.map=f=[n,0],h&&(Z.info=e.src.slice(J,L-1)),E=e.tight,v=e.tShift[n],D=e.sCount[n],R=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=S,i>=y&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||B)&&(q=!1),B=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=v,e.sCount[n]=D,e.tight=E,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(g),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,p=ce.length;a=4||e.src.charCodeAt(O)!==91)return!1;for(;++O3)&&!(e.sCount[v]<0)){for(y=!1,u=0,h=x.length;u"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:S,href:d}),e.parentType=m,e.line=n+R+1),!0)},WX=["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"],hi={},ZX="[a-zA-Z_:][a-zA-Z0-9:._-]*",YX="[^\"'=<>`\\x00-\\x20]+",JX="'[^']*'",QX='"[^"]*"',XX="(?:"+YX+"|"+JX+"|"+QX+")",eee="(?:\\s+"+ZX+"(?:\\s*=\\s*"+XX+")?)",cg="<[A-Za-z][A-Za-z0-9\\-]*"+eee+"*\\s*\\/?>",dg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",tee="|",nee="<[?][\\s\\S]*?[?]>",see="]*>",oee="",ree=new RegExp("^(?:"+cg+"|"+dg+"|"+tee+"|"+nee+"|"+see+"|"+oee+")"),iee=new RegExp("^(?:"+cg+"|"+dg+")");hi.HTML_TAG_RE=ree;hi.HTML_OPEN_CLOSE_TAG_RE=iee;var aee=WX,lee=hi.HTML_OPEN_CLOSE_TAG_RE,hs=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(lee.source+"\\s*$"),/^$/,!1]],cee=function(e,n,s,o){var r,i,a,l,d=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(d)!==60)return!1;for(l=e.src.slice(d,u),r=0;r=4||(r=e.src.charCodeAt(d),r!==35||d>=u))return!1;for(i=1,r=e.src.charCodeAt(++d);r===35&&d6||dd&&wu(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(d,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},uee=function(e,n,s){var o,r,i,a,l,d,u,h,f,p=n+1,m,_=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(d=e.bMarks[p]+e.tShift[p],u=e.eMarks[p],d=u)))){h=f===61?1:2;break}if(!(e.sCount[p]<0)){for(r=!1,i=0,a=_.length;i3)&&!(e.sCount[d]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};Xt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Xt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!fi(this.src.charCodeAt(--e)))return e+1;return e};Xt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Xt.prototype.getLines=function(e,n,s,o){var r,i,a,l,d,u,h,f=e;if(e>=n)return"";for(u=new Array(n-e),r=0;fs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,d):u[r]=this.src.slice(l,d)}return u.join("")};Xt.prototype.Token=ug;var fee=Xt,pee=ac,Jo=[["table",BX,["paragraph","reference"]],["code",$X],["fence",zX,["paragraph","reference","blockquote","list"]],["blockquote",jX,["paragraph","reference","blockquote","list"]],["hr",qX,["paragraph","reference","blockquote","list"]],["list",VX,["paragraph","reference","blockquote"]],["reference",KX],["html_block",cee,["paragraph","reference","blockquote"]],["heading",dee,["paragraph","reference","blockquote"]],["lheading",uee],["paragraph",hee]];function pi(){this.ruler=new pee;for(var t=0;t=n||t.sCount[a]=d){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(bee),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),d=e.md.normalizeLink(l),!e.md.validateLink(d))?!1:(n||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",d]],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)},vee=He.isSpace,wee=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){dc[t.charCodeAt(0)]=1});var kee=function(e,n){var s,o,r,i,a,l=e.pos,d=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=d))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&&dc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Eee=function(e,n){var s,o,r,i,a,l,d,u,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,o=e.posMax;h=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--))}mi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Eu(e,e.delimiters),n=0;n=_)return!1;if(g=l,d=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),d.ok){for(f=e.md.normalizeLink(d.str),e.md.validateLink(f)?l=d.pos:f="",g=l;l<_&&(o=e.src.charCodeAt(l),!(!Zi(o)&&o!==10));l++);if(d=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&g!==l&&d.ok)for(p=d.str,l=d.pos;l<_&&(o=e.src.charCodeAt(l),!(!Zi(o)&&o!==10));l++);}(l>=_||e.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof e.env.references>"u")return!1;if(l<_&&e.src.charCodeAt(l)===91?(g=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(g,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[Cee(r)],!u)return e.pos=m,!1;f=u.href,p=u.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],p&&s.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=_,!0},See=He.normalizeReference,Yi=He.isSpace,Tee=function(e,n){var s,o,r,i,a,l,d,u,h,f,p,m,_,g="",b=e.pos,y=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(d=a+1,d=y)return!1;for(_=d,h=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),h.ok&&(g=e.md.normalizeLink(h.str),e.md.validateLink(g)?d=h.pos:g=""),_=d;d=y||e.src.charCodeAt(d)!==41)return e.pos=b,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d=0?i=e.src.slice(_,d++):d=a+1):d=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[See(i)],!u)return e.pos=b,!1;g=u.href,f=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,m=[]),p=e.push("image","img",0),p.attrs=s=[["src",g],["alt",""]],p.children=m,p.content=r,f&&s.push(["title",f])),e.pos=d,e.posMax=y,!0},Mee=/^([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])?)*)$/,Oee=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Ree=function(e,n){var s,o,r,i,a,l,d=e.pos;if(e.src.charCodeAt(d)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++d>=l||(i=e.src.charCodeAt(d),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,d),Oee.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):Mee.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},Nee=hi.HTML_TAG_RE;function Dee(t){return/^\s]/i.test(t)}function Lee(t){return/^<\/a\s*>/i.test(t)}function Iee(t){var e=t|32;return e>=97&&e<=122}var Pee=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&&!Iee(s))||(o=e.src.slice(a).match(Nee),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Dee(i.content)&&e.linkLevel++,Lee(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},Cu=ng,Fee=He.has,Bee=He.isValidEntityCode,Au=He.fromCodePoint,$ee=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,zee=/^&([a-z][a-z0-9]{1,31});/i,jee=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($ee),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=Bee(o)?Au(o):Au(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(zee),r&&Fee(Cu,r[1]))return n||(i=e.push("text_special","",0),i.content=Cu[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function Su(t,e){var n,s,o,r,i,a,l,d,u={},h=e.length;if(h){var f=0,p=-2,m=[];for(n=0;ni;s-=m[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)){d=s>0&&!e[s-1].open?m[s-1]+1:0,m[n]=n-s+d,m[s]=d,o.open=!1,r.end=n,r.close=!1,a=-1,p=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var Uee=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Su(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};Po.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,d,u,h,f=!0,p=!0,m=this.posMax,_=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()};Fo.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}),Xi}function hl(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 _i(t){return Object.prototype.toString.call(t)}function Kee(t){return _i(t)==="[object String]"}function Wee(t){return _i(t)==="[object Object]"}function Zee(t){return _i(t)==="[object RegExp]"}function Du(t){return _i(t)==="[object Function]"}function Yee(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var hg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Jee(t){return Object.keys(t||{}).reduce(function(e,n){return e||hg.hasOwnProperty(n)},!1)}var Qee={"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}}},Xee="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]",ete="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function tte(t){t.__index__=-1,t.__text_cache__=""}function nte(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Lu(){return function(t,e){e.normalize(t)}}function Tr(t){var e=t.re=Gee()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Xee),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 d={validate:null,link:null};if(t.__compiled__[a]=d,Wee(l)){Zee(l.validate)?d.validate=nte(l.validate):Du(l.validate)?d.validate=l.validate:r(a,l),Du(l.normalize)?d.normalize=l.normalize:l.normalize?r(a,l):d.normalize=Lu();return}if(Kee(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:Lu()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(Yee).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"),tte(t)}function ste(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 fl(t,e){var n=new ste(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function vt(t,e){if(!(this instanceof vt))return new vt(t,e);e||Jee(t)&&(e=t,t={}),this.__opts__=hl({},hg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=hl({},Qee,t),this.__compiled__={},this.__tlds__=ete,this.__tlds_replaced__=!1,this.re={},Tr(this)}vt.prototype.add=function(e,n){return this.__schemas__[e]=n,Tr(this),this};vt.prototype.set=function(e){return this.__opts__=hl(this.__opts__,e),this};vt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,d,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:"]&&(d=e.search(this.re.host_fuzzy_test),d>=0&&(this.__index__<0||d=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};vt.prototype.pretest=function(e){return this.re.pretest.test(e)};vt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};vt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(fl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(fl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};vt.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,fl(this,0)):null};vt.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(),Tr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Tr(this),this)};vt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};vt.prototype.onCompile=function(){};var ote=vt;const Es=2147483647,Ht=36,hc=1,To=26,rte=38,ite=700,fg=72,pg=128,gg="-",ate=/^xn--/,lte=/[^\0-\x7F]/,cte=/[\x2E\u3002\uFF0E\uFF61]/g,dte={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ea=Ht-hc,Vt=Math.floor,ta=String.fromCharCode;function wn(t){throw new RangeError(dte[t])}function ute(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function mg(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(cte,".");const o=t.split("."),r=ute(o,e).join(".");return s+r}function fc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),hte=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Ht},Iu=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},bg=function(t,e,n){let s=0;for(t=n?Vt(t/ite):t>>1,t+=Vt(t/e);t>ea*To>>1;s+=Ht)t=Vt(t/ea);return Vt(s+(ea+1)*t/(t+rte))},pc=function(t){const e=[],n=t.length;let s=0,o=pg,r=fg,i=t.lastIndexOf(gg);i<0&&(i=0);for(let a=0;a=128&&wn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&wn("invalid-input");const f=hte(t.charCodeAt(a++));f>=Ht&&wn("invalid-input"),f>Vt((Es-s)/u)&&wn("overflow"),s+=f*u;const p=h<=r?hc:h>=r+To?To:h-r;if(fVt(Es/m)&&wn("overflow"),u*=m}const d=e.length+1;r=bg(s-l,d,l==0),Vt(s/d)>Es-o&&wn("overflow"),o+=Vt(s/d),s%=d,e.splice(s++,0,o)}return String.fromCodePoint(...e)},gc=function(t){const e=[];t=fc(t);const n=t.length;let s=pg,o=0,r=fg;for(const l of t)l<128&&e.push(ta(l));const i=e.length;let a=i;for(i&&e.push(gg);a=s&&uVt((Es-o)/d)&&wn("overflow"),o+=(l-s)*d,s=l;for(const u of t)if(uEs&&wn("overflow"),u===s){let h=o;for(let f=Ht;;f+=Ht){const p=f<=r?hc:f>=r+To?To:f-r;if(h=0))try{e.hostname=wg.toASCII(e.hostname)}catch{}return Kn.encode(Kn.format(e))}function Ote(t){var e=Kn.parse(t,!0);if(e.hostname&&(!e.protocol||xg.indexOf(e.protocol)>=0))try{e.hostname=wg.toUnicode(e.hostname)}catch{}return Kn.decode(Kn.format(e),Kn.decode.defaultChars+"%")}function Mt(t,e){if(!(this instanceof Mt))return new Mt(t,e);e||uo.isString(t)||(e=t||{},t="default"),this.inline=new kte,this.block=new xte,this.core=new wte,this.renderer=new vte,this.linkify=new Ete,this.validateLink=Tte,this.normalizeLink=Mte,this.normalizeLinkText=Ote,this.utils=uo,this.helpers=uo.assign({},yte),this.options={},this.configure(t),e&&this.set(e)}Mt.prototype.set=function(t){return uo.assign(this.options,t),this};Mt.prototype.configure=function(t){var e=this,n;if(uo.isString(t)&&(n=t,t=Cte[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};Mt.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};Mt.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};Mt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Mt.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};Mt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Mt.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Mt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Rte=Mt,Nte=Rte;const Dte=as(Nte),Lte="😀",Ite="😃",Pte="😄",Fte="😁",Bte="😆",$te="😆",zte="😅",jte="🤣",Ute="😂",qte="🙂",Hte="🙃",Vte="😉",Gte="😊",Kte="😇",Wte="🥰",Zte="😍",Yte="🤩",Jte="😘",Qte="😗",Xte="☺️",ene="😚",tne="😙",nne="🥲",sne="😋",one="😛",rne="😜",ine="🤪",ane="😝",lne="🤑",cne="🤗",dne="🤭",une="🤫",hne="🤔",fne="🤐",pne="🤨",gne="😐",mne="😑",_ne="😶",bne="😏",yne="😒",vne="🙄",wne="😬",xne="🤥",kne="😌",Ene="😔",Cne="😪",Ane="🤤",Sne="😴",Tne="😷",Mne="🤒",One="🤕",Rne="🤢",Nne="🤮",Dne="🤧",Lne="🥵",Ine="🥶",Pne="🥴",Fne="😵",Bne="🤯",$ne="🤠",zne="🥳",jne="🥸",Une="😎",qne="🤓",Hne="🧐",Vne="😕",Gne="😟",Kne="🙁",Wne="☹️",Zne="😮",Yne="😯",Jne="😲",Qne="😳",Xne="🥺",ese="😦",tse="😧",nse="😨",sse="😰",ose="😥",rse="😢",ise="😭",ase="😱",lse="😖",cse="😣",dse="😞",use="😓",hse="😩",fse="😫",pse="🥱",gse="😤",mse="😡",_se="😡",bse="😠",yse="🤬",vse="😈",wse="👿",xse="💀",kse="☠️",Ese="💩",Cse="💩",Ase="💩",Sse="🤡",Tse="👹",Mse="👺",Ose="👻",Rse="👽",Nse="👾",Dse="🤖",Lse="😺",Ise="😸",Pse="😹",Fse="😻",Bse="😼",$se="😽",zse="🙀",jse="😿",Use="😾",qse="🙈",Hse="🙉",Vse="🙊",Gse="💋",Kse="💌",Wse="💘",Zse="💝",Yse="💖",Jse="💗",Qse="💓",Xse="💞",eoe="💕",toe="💟",noe="❣️",soe="💔",ooe="❤️",roe="🧡",ioe="💛",aoe="💚",loe="💙",coe="💜",doe="🤎",uoe="🖤",hoe="🤍",foe="💢",poe="💥",goe="💥",moe="💫",_oe="💦",boe="💨",yoe="🕳️",voe="💣",woe="💬",xoe="👁️‍🗨️",koe="🗨️",Eoe="🗯️",Coe="💭",Aoe="💤",Soe="👋",Toe="🤚",Moe="🖐️",Ooe="✋",Roe="✋",Noe="🖖",Doe="👌",Loe="🤌",Ioe="🤏",Poe="✌️",Foe="🤞",Boe="🤟",$oe="🤘",zoe="🤙",joe="👈",Uoe="👉",qoe="👆",Hoe="🖕",Voe="🖕",Goe="👇",Koe="☝️",Woe="👍",Zoe="👎",Yoe="✊",Joe="✊",Qoe="👊",Xoe="👊",ere="👊",tre="🤛",nre="🤜",sre="👏",ore="🙌",rre="👐",ire="🤲",are="🤝",lre="🙏",cre="✍️",dre="💅",ure="🤳",hre="💪",fre="🦾",pre="🦿",gre="🦵",mre="🦶",_re="👂",bre="🦻",yre="👃",vre="🧠",wre="🫀",xre="🫁",kre="🦷",Ere="🦴",Cre="👀",Are="👁️",Sre="👅",Tre="👄",Mre="👶",Ore="🧒",Rre="👦",Nre="👧",Dre="🧑",Lre="👱",Ire="👨",Pre="🧔",Fre="👨‍🦰",Bre="👨‍🦱",$re="👨‍🦳",zre="👨‍🦲",jre="👩",Ure="👩‍🦰",qre="🧑‍🦰",Hre="👩‍🦱",Vre="🧑‍🦱",Gre="👩‍🦳",Kre="🧑‍🦳",Wre="👩‍🦲",Zre="🧑‍🦲",Yre="👱‍♀️",Jre="👱‍♀️",Qre="👱‍♂️",Xre="🧓",eie="👴",tie="👵",nie="🙍",sie="🙍‍♂️",oie="🙍‍♀️",rie="🙎",iie="🙎‍♂️",aie="🙎‍♀️",lie="🙅",cie="🙅‍♂️",die="🙅‍♂️",uie="🙅‍♀️",hie="🙅‍♀️",fie="🙆",pie="🙆‍♂️",gie="🙆‍♀️",mie="💁",_ie="💁",bie="💁‍♂️",yie="💁‍♂️",vie="💁‍♀️",wie="💁‍♀️",xie="🙋",kie="🙋‍♂️",Eie="🙋‍♀️",Cie="🧏",Aie="🧏‍♂️",Sie="🧏‍♀️",Tie="🙇",Mie="🙇‍♂️",Oie="🙇‍♀️",Rie="🤦",Nie="🤦‍♂️",Die="🤦‍♀️",Lie="🤷",Iie="🤷‍♂️",Pie="🤷‍♀️",Fie="🧑‍⚕️",Bie="👨‍⚕️",$ie="👩‍⚕️",zie="🧑‍🎓",jie="👨‍🎓",Uie="👩‍🎓",qie="🧑‍🏫",Hie="👨‍🏫",Vie="👩‍🏫",Gie="🧑‍⚖️",Kie="👨‍⚖️",Wie="👩‍⚖️",Zie="🧑‍🌾",Yie="👨‍🌾",Jie="👩‍🌾",Qie="🧑‍🍳",Xie="👨‍🍳",eae="👩‍🍳",tae="🧑‍🔧",nae="👨‍🔧",sae="👩‍🔧",oae="🧑‍🏭",rae="👨‍🏭",iae="👩‍🏭",aae="🧑‍💼",lae="👨‍💼",cae="👩‍💼",dae="🧑‍🔬",uae="👨‍🔬",hae="👩‍🔬",fae="🧑‍💻",pae="👨‍💻",gae="👩‍💻",mae="🧑‍🎤",_ae="👨‍🎤",bae="👩‍🎤",yae="🧑‍🎨",vae="👨‍🎨",wae="👩‍🎨",xae="🧑‍✈️",kae="👨‍✈️",Eae="👩‍✈️",Cae="🧑‍🚀",Aae="👨‍🚀",Sae="👩‍🚀",Tae="🧑‍🚒",Mae="👨‍🚒",Oae="👩‍🚒",Rae="👮",Nae="👮",Dae="👮‍♂️",Lae="👮‍♀️",Iae="🕵️",Pae="🕵️‍♂️",Fae="🕵️‍♀️",Bae="💂",$ae="💂‍♂️",zae="💂‍♀️",jae="🥷",Uae="👷",qae="👷‍♂️",Hae="👷‍♀️",Vae="🤴",Gae="👸",Kae="👳",Wae="👳‍♂️",Zae="👳‍♀️",Yae="👲",Jae="🧕",Qae="🤵",Xae="🤵‍♂️",ele="🤵‍♀️",tle="👰",nle="👰‍♂️",sle="👰‍♀️",ole="👰‍♀️",rle="🤰",ile="🤱",ale="👩‍🍼",lle="👨‍🍼",cle="🧑‍🍼",dle="👼",ule="🎅",hle="🤶",fle="🧑‍🎄",ple="🦸",gle="🦸‍♂️",mle="🦸‍♀️",_le="🦹",ble="🦹‍♂️",yle="🦹‍♀️",vle="🧙",wle="🧙‍♂️",xle="🧙‍♀️",kle="🧚",Ele="🧚‍♂️",Cle="🧚‍♀️",Ale="🧛",Sle="🧛‍♂️",Tle="🧛‍♀️",Mle="🧜",Ole="🧜‍♂️",Rle="🧜‍♀️",Nle="🧝",Dle="🧝‍♂️",Lle="🧝‍♀️",Ile="🧞",Ple="🧞‍♂️",Fle="🧞‍♀️",Ble="🧟",$le="🧟‍♂️",zle="🧟‍♀️",jle="💆",Ule="💆‍♂️",qle="💆‍♀️",Hle="💇",Vle="💇‍♂️",Gle="💇‍♀️",Kle="🚶",Wle="🚶‍♂️",Zle="🚶‍♀️",Yle="🧍",Jle="🧍‍♂️",Qle="🧍‍♀️",Xle="🧎",ece="🧎‍♂️",tce="🧎‍♀️",nce="🧑‍🦯",sce="👨‍🦯",oce="👩‍🦯",rce="🧑‍🦼",ice="👨‍🦼",ace="👩‍🦼",lce="🧑‍🦽",cce="👨‍🦽",dce="👩‍🦽",uce="🏃",hce="🏃",fce="🏃‍♂️",pce="🏃‍♀️",gce="💃",mce="💃",_ce="🕺",bce="🕴️",yce="👯",vce="👯‍♂️",wce="👯‍♀️",xce="🧖",kce="🧖‍♂️",Ece="🧖‍♀️",Cce="🧗",Ace="🧗‍♂️",Sce="🧗‍♀️",Tce="🤺",Mce="🏇",Oce="⛷️",Rce="🏂",Nce="🏌️",Dce="🏌️‍♂️",Lce="🏌️‍♀️",Ice="🏄",Pce="🏄‍♂️",Fce="🏄‍♀️",Bce="🚣",$ce="🚣‍♂️",zce="🚣‍♀️",jce="🏊",Uce="🏊‍♂️",qce="🏊‍♀️",Hce="⛹️",Vce="⛹️‍♂️",Gce="⛹️‍♂️",Kce="⛹️‍♀️",Wce="⛹️‍♀️",Zce="🏋️",Yce="🏋️‍♂️",Jce="🏋️‍♀️",Qce="🚴",Xce="🚴‍♂️",ede="🚴‍♀️",tde="🚵",nde="🚵‍♂️",sde="🚵‍♀️",ode="🤸",rde="🤸‍♂️",ide="🤸‍♀️",ade="🤼",lde="🤼‍♂️",cde="🤼‍♀️",dde="🤽",ude="🤽‍♂️",hde="🤽‍♀️",fde="🤾",pde="🤾‍♂️",gde="🤾‍♀️",mde="🤹",_de="🤹‍♂️",bde="🤹‍♀️",yde="🧘",vde="🧘‍♂️",wde="🧘‍♀️",xde="🛀",kde="🛌",Ede="🧑‍🤝‍🧑",Cde="👭",Ade="👫",Sde="👬",Tde="💏",Mde="👩‍❤️‍💋‍👨",Ode="👨‍❤️‍💋‍👨",Rde="👩‍❤️‍💋‍👩",Nde="💑",Dde="👩‍❤️‍👨",Lde="👨‍❤️‍👨",Ide="👩‍❤️‍👩",Pde="👪",Fde="👨‍👩‍👦",Bde="👨‍👩‍👧",$de="👨‍👩‍👧‍👦",zde="👨‍👩‍👦‍👦",jde="👨‍👩‍👧‍👧",Ude="👨‍👨‍👦",qde="👨‍👨‍👧",Hde="👨‍👨‍👧‍👦",Vde="👨‍👨‍👦‍👦",Gde="👨‍👨‍👧‍👧",Kde="👩‍👩‍👦",Wde="👩‍👩‍👧",Zde="👩‍👩‍👧‍👦",Yde="👩‍👩‍👦‍👦",Jde="👩‍👩‍👧‍👧",Qde="👨‍👦",Xde="👨‍👦‍👦",eue="👨‍👧",tue="👨‍👧‍👦",nue="👨‍👧‍👧",sue="👩‍👦",oue="👩‍👦‍👦",rue="👩‍👧",iue="👩‍👧‍👦",aue="👩‍👧‍👧",lue="🗣️",cue="👤",due="👥",uue="🫂",hue="👣",fue="🐵",pue="🐒",gue="🦍",mue="🦧",_ue="🐶",bue="🐕",yue="🦮",vue="🐕‍🦺",wue="🐩",xue="🐺",kue="🦊",Eue="🦝",Cue="🐱",Aue="🐈",Sue="🐈‍⬛",Tue="🦁",Mue="🐯",Oue="🐅",Rue="🐆",Nue="🐴",Due="🐎",Lue="🦄",Iue="🦓",Pue="🦌",Fue="🦬",Bue="🐮",$ue="🐂",zue="🐃",jue="🐄",Uue="🐷",que="🐖",Hue="🐗",Vue="🐽",Gue="🐏",Kue="🐑",Wue="🐐",Zue="🐪",Yue="🐫",Jue="🦙",Que="🦒",Xue="🐘",ehe="🦣",the="🦏",nhe="🦛",she="🐭",ohe="🐁",rhe="🐀",ihe="🐹",ahe="🐰",lhe="🐇",che="🐿️",dhe="🦫",uhe="🦔",hhe="🦇",fhe="🐻",phe="🐻‍❄️",ghe="🐨",mhe="🐼",_he="🦥",bhe="🦦",yhe="🦨",vhe="🦘",whe="🦡",xhe="🐾",khe="🐾",Ehe="🦃",Che="🐔",Ahe="🐓",She="🐣",The="🐤",Mhe="🐥",Ohe="🐦",Rhe="🐧",Nhe="🕊️",Dhe="🦅",Lhe="🦆",Ihe="🦢",Phe="🦉",Fhe="🦤",Bhe="🪶",$he="🦩",zhe="🦚",jhe="🦜",Uhe="🐸",qhe="🐊",Hhe="🐢",Vhe="🦎",Ghe="🐍",Khe="🐲",Whe="🐉",Zhe="🦕",Yhe="🐳",Jhe="🐋",Qhe="🐬",Xhe="🐬",efe="🦭",tfe="🐟",nfe="🐠",sfe="🐡",ofe="🦈",rfe="🐙",ife="🐚",afe="🐌",lfe="🦋",cfe="🐛",dfe="🐜",ufe="🐝",hfe="🐝",ffe="🪲",pfe="🐞",gfe="🦗",mfe="🪳",_fe="🕷️",bfe="🕸️",yfe="🦂",vfe="🦟",wfe="🪰",xfe="🪱",kfe="🦠",Efe="💐",Cfe="🌸",Afe="💮",Sfe="🏵️",Tfe="🌹",Mfe="🥀",Ofe="🌺",Rfe="🌻",Nfe="🌼",Dfe="🌷",Lfe="🌱",Ife="🪴",Pfe="🌲",Ffe="🌳",Bfe="🌴",$fe="🌵",zfe="🌾",jfe="🌿",Ufe="☘️",qfe="🍀",Hfe="🍁",Vfe="🍂",Gfe="🍃",Kfe="🍇",Wfe="🍈",Zfe="🍉",Yfe="🍊",Jfe="🍊",Qfe="🍊",Xfe="🍋",epe="🍌",tpe="🍍",npe="🥭",spe="🍎",ope="🍏",rpe="🍐",ipe="🍑",ape="🍒",lpe="🍓",cpe="🫐",dpe="🥝",upe="🍅",hpe="🫒",fpe="🥥",ppe="🥑",gpe="🍆",mpe="🥔",_pe="🥕",bpe="🌽",ype="🌶️",vpe="🫑",wpe="🥒",xpe="🥬",kpe="🥦",Epe="🧄",Cpe="🧅",Ape="🍄",Spe="🥜",Tpe="🌰",Mpe="🍞",Ope="🥐",Rpe="🥖",Npe="🫓",Dpe="🥨",Lpe="🥯",Ipe="🥞",Ppe="🧇",Fpe="🧀",Bpe="🍖",$pe="🍗",zpe="🥩",jpe="🥓",Upe="🍔",qpe="🍟",Hpe="🍕",Vpe="🌭",Gpe="🥪",Kpe="🌮",Wpe="🌯",Zpe="🫔",Ype="🥙",Jpe="🧆",Qpe="🥚",Xpe="🍳",ege="🥘",tge="🍲",nge="🫕",sge="🥣",oge="🥗",rge="🍿",ige="🧈",age="🧂",lge="🥫",cge="🍱",dge="🍘",uge="🍙",hge="🍚",fge="🍛",pge="🍜",gge="🍝",mge="🍠",_ge="🍢",bge="🍣",yge="🍤",vge="🍥",wge="🥮",xge="🍡",kge="🥟",Ege="🥠",Cge="🥡",Age="🦀",Sge="🦞",Tge="🦐",Mge="🦑",Oge="🦪",Rge="🍦",Nge="🍧",Dge="🍨",Lge="🍩",Ige="🍪",Pge="🎂",Fge="🍰",Bge="🧁",$ge="🥧",zge="🍫",jge="🍬",Uge="🍭",qge="🍮",Hge="🍯",Vge="🍼",Gge="🥛",Kge="☕",Wge="🫖",Zge="🍵",Yge="🍶",Jge="🍾",Qge="🍷",Xge="🍸",eme="🍹",tme="🍺",nme="🍻",sme="🥂",ome="🥃",rme="🥤",ime="🧋",ame="🧃",lme="🧉",cme="🧊",dme="🥢",ume="🍽️",hme="🍴",fme="🥄",pme="🔪",gme="🔪",mme="🏺",_me="🌍",bme="🌎",yme="🌏",vme="🌐",wme="🗺️",xme="🗾",kme="🧭",Eme="🏔️",Cme="⛰️",Ame="🌋",Sme="🗻",Tme="🏕️",Mme="🏖️",Ome="🏜️",Rme="🏝️",Nme="🏞️",Dme="🏟️",Lme="🏛️",Ime="🏗️",Pme="🧱",Fme="🪨",Bme="🪵",$me="🛖",zme="🏘️",jme="🏚️",Ume="🏠",qme="🏡",Hme="🏢",Vme="🏣",Gme="🏤",Kme="🏥",Wme="🏦",Zme="🏨",Yme="🏩",Jme="🏪",Qme="🏫",Xme="🏬",e_e="🏭",t_e="🏯",n_e="🏰",s_e="💒",o_e="🗼",r_e="🗽",i_e="⛪",a_e="🕌",l_e="🛕",c_e="🕍",d_e="⛩️",u_e="🕋",h_e="⛲",f_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="🚂",M_e="🚃",O_e="🚄",R_e="🚅",N_e="🚆",D_e="🚇",L_e="🚈",I_e="🚉",P_e="🚊",F_e="🚝",B_e="🚞",$_e="🚋",z_e="🚌",j_e="🚍",U_e="🚎",q_e="🚐",H_e="🚑",V_e="🚒",G_e="🚓",K_e="🚔",W_e="🚕",Z_e="🚖",Y_e="🚗",J_e="🚗",Q_e="🚘",X_e="🚙",e1e="🛻",t1e="🚚",n1e="🚛",s1e="🚜",o1e="🏎️",r1e="🏍️",i1e="🛵",a1e="🦽",l1e="🦼",c1e="🛺",d1e="🚲",u1e="🛴",h1e="🛹",f1e="🛼",p1e="🚏",g1e="🛣️",m1e="🛤️",_1e="🛢️",b1e="⛽",y1e="🚨",v1e="🚥",w1e="🚦",x1e="🛑",k1e="🚧",E1e="⚓",C1e="⛵",A1e="⛵",S1e="🛶",T1e="🚤",M1e="🛳️",O1e="⛴️",R1e="🛥️",N1e="🚢",D1e="✈️",L1e="🛩️",I1e="🛫",P1e="🛬",F1e="🪂",B1e="💺",$1e="🚁",z1e="🚟",j1e="🚠",U1e="🚡",q1e="🛰️",H1e="🚀",V1e="🛸",G1e="🛎️",K1e="🧳",W1e="⌛",Z1e="⏳",Y1e="⌚",J1e="⏰",Q1e="⏱️",X1e="⏲️",e0e="🕰️",t0e="🕛",n0e="🕧",s0e="🕐",o0e="🕜",r0e="🕑",i0e="🕝",a0e="🕒",l0e="🕞",c0e="🕓",d0e="🕟",u0e="🕔",h0e="🕠",f0e="🕕",p0e="🕡",g0e="🕖",m0e="🕢",_0e="🕗",b0e="🕣",y0e="🕘",v0e="🕤",w0e="🕙",x0e="🕥",k0e="🕚",E0e="🕦",C0e="🌑",A0e="🌒",S0e="🌓",T0e="🌔",M0e="🌔",O0e="🌕",R0e="🌖",N0e="🌗",D0e="🌘",L0e="🌙",I0e="🌚",P0e="🌛",F0e="🌜",B0e="🌡️",$0e="☀️",z0e="🌝",j0e="🌞",U0e="🪐",q0e="⭐",H0e="🌟",V0e="🌠",G0e="🌌",K0e="☁️",W0e="⛅",Z0e="⛈️",Y0e="🌤️",J0e="🌥️",Q0e="🌦️",X0e="🌧️",ebe="🌨️",tbe="🌩️",nbe="🌪️",sbe="🌫️",obe="🌬️",rbe="🌀",ibe="🌈",abe="🌂",lbe="☂️",cbe="☔",dbe="⛱️",ube="⚡",hbe="❄️",fbe="☃️",pbe="⛄",gbe="☄️",mbe="🔥",_be="💧",bbe="🌊",ybe="🎃",vbe="🎄",wbe="🎆",xbe="🎇",kbe="🧨",Ebe="✨",Cbe="🎈",Abe="🎉",Sbe="🎊",Tbe="🎋",Mbe="🎍",Obe="🎎",Rbe="🎏",Nbe="🎐",Dbe="🎑",Lbe="🧧",Ibe="🎀",Pbe="🎁",Fbe="🎗️",Bbe="🎟️",$be="🎫",zbe="🎖️",jbe="🏆",Ube="🏅",qbe="⚽",Hbe="⚾",Vbe="🥎",Gbe="🏀",Kbe="🏐",Wbe="🏈",Zbe="🏉",Ybe="🎾",Jbe="🥏",Qbe="🎳",Xbe="🏏",eye="🏑",tye="🏒",nye="🥍",sye="🏓",oye="🏸",rye="🥊",iye="🥋",aye="🥅",lye="⛳",cye="⛸️",dye="🎣",uye="🤿",hye="🎽",fye="🎿",pye="🛷",gye="🥌",mye="🎯",_ye="🪀",bye="🪁",yye="🔮",vye="🪄",wye="🧿",xye="🎮",kye="🕹️",Eye="🎰",Cye="🎲",Aye="🧩",Sye="🧸",Tye="🪅",Mye="🪆",Oye="♠️",Rye="♥️",Nye="♦️",Dye="♣️",Lye="♟️",Iye="🃏",Pye="🀄",Fye="🎴",Bye="🎭",$ye="🖼️",zye="🎨",jye="🧵",Uye="🪡",qye="🧶",Hye="🪢",Vye="👓",Gye="🕶️",Kye="🥽",Wye="🥼",Zye="🦺",Yye="👔",Jye="👕",Qye="👕",Xye="👖",e2e="🧣",t2e="🧤",n2e="🧥",s2e="🧦",o2e="👗",r2e="👘",i2e="🥻",a2e="🩱",l2e="🩲",c2e="🩳",d2e="👙",u2e="👚",h2e="👛",f2e="👜",p2e="👝",g2e="🛍️",m2e="🎒",_2e="🩴",b2e="👞",y2e="👞",v2e="👟",w2e="🥾",x2e="🥿",k2e="👠",E2e="👡",C2e="🩰",A2e="👢",S2e="👑",T2e="👒",M2e="🎩",O2e="🎓",R2e="🧢",N2e="🪖",D2e="⛑️",L2e="📿",I2e="💄",P2e="💍",F2e="💎",B2e="🔇",$2e="🔈",z2e="🔉",j2e="🔊",U2e="📢",q2e="📣",H2e="📯",V2e="🔔",G2e="🔕",K2e="🎼",W2e="🎵",Z2e="🎶",Y2e="🎙️",J2e="🎚️",Q2e="🎛️",X2e="🎤",eve="🎧",tve="📻",nve="🎷",sve="🪗",ove="🎸",rve="🎹",ive="🎺",ave="🎻",lve="🪕",cve="🥁",dve="🪘",uve="📱",hve="📲",fve="☎️",pve="☎️",gve="📞",mve="📟",_ve="📠",bve="🔋",yve="🔌",vve="💻",wve="🖥️",xve="🖨️",kve="⌨️",Eve="🖱️",Cve="🖲️",Ave="💽",Sve="💾",Tve="💿",Mve="📀",Ove="🧮",Rve="🎥",Nve="🎞️",Dve="📽️",Lve="🎬",Ive="📺",Pve="📷",Fve="📸",Bve="📹",$ve="📼",zve="🔍",jve="🔎",Uve="🕯️",qve="💡",Hve="🔦",Vve="🏮",Gve="🏮",Kve="🪔",Wve="📔",Zve="📕",Yve="📖",Jve="📖",Qve="📗",Xve="📘",ewe="📙",twe="📚",nwe="📓",swe="📒",owe="📃",rwe="📜",iwe="📄",awe="📰",lwe="🗞️",cwe="📑",dwe="🔖",uwe="🏷️",hwe="💰",fwe="🪙",pwe="💴",gwe="💵",mwe="💶",_we="💷",bwe="💸",ywe="💳",vwe="🧾",wwe="💹",xwe="✉️",kwe="📧",Ewe="📨",Cwe="📩",Awe="📤",Swe="📥",Twe="📫",Mwe="📪",Owe="📬",Rwe="📭",Nwe="📮",Dwe="🗳️",Lwe="✏️",Iwe="✒️",Pwe="🖋️",Fwe="🖊️",Bwe="🖌️",$we="🖍️",zwe="📝",jwe="📝",Uwe="💼",qwe="📁",Hwe="📂",Vwe="🗂️",Gwe="📅",Kwe="📆",Wwe="🗒️",Zwe="🗓️",Ywe="📇",Jwe="📈",Qwe="📉",Xwe="📊",exe="📋",txe="📌",nxe="📍",sxe="📎",oxe="🖇️",rxe="📏",ixe="📐",axe="✂️",lxe="🗃️",cxe="🗄️",dxe="🗑️",uxe="🔒",hxe="🔓",fxe="🔏",pxe="🔐",gxe="🔑",mxe="🗝️",_xe="🔨",bxe="🪓",yxe="⛏️",vxe="⚒️",wxe="🛠️",xxe="🗡️",kxe="⚔️",Exe="🔫",Cxe="🪃",Axe="🏹",Sxe="🛡️",Txe="🪚",Mxe="🔧",Oxe="🪛",Rxe="🔩",Nxe="⚙️",Dxe="🗜️",Lxe="⚖️",Ixe="🦯",Pxe="🔗",Fxe="⛓️",Bxe="🪝",$xe="🧰",zxe="🧲",jxe="🪜",Uxe="⚗️",qxe="🧪",Hxe="🧫",Vxe="🧬",Gxe="🔬",Kxe="🔭",Wxe="📡",Zxe="💉",Yxe="🩸",Jxe="💊",Qxe="🩹",Xxe="🩺",eke="🚪",tke="🛗",nke="🪞",ske="🪟",oke="🛏️",rke="🛋️",ike="🪑",ake="🚽",lke="🪠",cke="🚿",dke="🛁",uke="🪤",hke="🪒",fke="🧴",pke="🧷",gke="🧹",mke="🧺",_ke="🧻",bke="🪣",yke="🧼",vke="🪥",wke="🧽",xke="🧯",kke="🛒",Eke="🚬",Cke="⚰️",Ake="🪦",Ske="⚱️",Tke="🗿",Mke="🪧",Oke="🏧",Rke="🚮",Nke="🚰",Dke="♿",Lke="🚹",Ike="🚺",Pke="🚻",Fke="🚼",Bke="🚾",$ke="🛂",zke="🛃",jke="🛄",Uke="🛅",qke="⚠️",Hke="🚸",Vke="⛔",Gke="🚫",Kke="🚳",Wke="🚭",Zke="🚯",Yke="🚷",Jke="📵",Qke="🔞",Xke="☢️",e5e="☣️",t5e="⬆️",n5e="↗️",s5e="➡️",o5e="↘️",r5e="⬇️",i5e="↙️",a5e="⬅️",l5e="↖️",c5e="↕️",d5e="↔️",u5e="↩️",h5e="↪️",f5e="⤴️",p5e="⤵️",g5e="🔃",m5e="🔄",_5e="🔙",b5e="🔚",y5e="🔛",v5e="🔜",w5e="🔝",x5e="🛐",k5e="⚛️",E5e="🕉️",C5e="✡️",A5e="☸️",S5e="☯️",T5e="✝️",M5e="☦️",O5e="☪️",R5e="☮️",N5e="🕎",D5e="🔯",L5e="♈",I5e="♉",P5e="♊",F5e="♋",B5e="♌",$5e="♍",z5e="♎",j5e="♏",U5e="♐",q5e="♑",H5e="♒",V5e="♓",G5e="⛎",K5e="🔀",W5e="🔁",Z5e="🔂",Y5e="▶️",J5e="⏩",Q5e="⏭️",X5e="⏯️",eEe="◀️",tEe="⏪",nEe="⏮️",sEe="🔼",oEe="⏫",rEe="🔽",iEe="⏬",aEe="⏸️",lEe="⏹️",cEe="⏺️",dEe="⏏️",uEe="🎦",hEe="🔅",fEe="🔆",pEe="📶",gEe="📳",mEe="📴",_Ee="♀️",bEe="♂️",yEe="⚧️",vEe="✖️",wEe="➕",xEe="➖",kEe="➗",EEe="♾️",CEe="‼️",AEe="⁉️",SEe="❓",TEe="❔",MEe="❕",OEe="❗",REe="❗",NEe="〰️",DEe="💱",LEe="💲",IEe="⚕️",PEe="♻️",FEe="⚜️",BEe="🔱",$Ee="📛",zEe="🔰",jEe="⭕",UEe="✅",qEe="☑️",HEe="✔️",VEe="❌",GEe="❎",KEe="➰",WEe="➿",ZEe="〽️",YEe="✳️",JEe="✴️",QEe="❇️",XEe="©️",e4e="®️",t4e="™️",n4e="#️⃣",s4e="*️⃣",o4e="0️⃣",r4e="1️⃣",i4e="2️⃣",a4e="3️⃣",l4e="4️⃣",c4e="5️⃣",d4e="6️⃣",u4e="7️⃣",h4e="8️⃣",f4e="9️⃣",p4e="🔟",g4e="🔠",m4e="🔡",_4e="🔣",b4e="🔤",y4e="🅰️",v4e="🆎",w4e="🅱️",x4e="🆑",k4e="🆒",E4e="🆓",C4e="ℹ️",A4e="🆔",S4e="Ⓜ️",T4e="🆖",M4e="🅾️",O4e="🆗",R4e="🅿️",N4e="🆘",D4e="🆙",L4e="🆚",I4e="🈁",P4e="🈂️",F4e="🉐",B4e="🉑",$4e="㊗️",z4e="㊙️",j4e="🈵",U4e="🔴",q4e="🟠",H4e="🟡",V4e="🟢",G4e="🔵",K4e="🟣",W4e="🟤",Z4e="⚫",Y4e="⚪",J4e="🟥",Q4e="🟧",X4e="🟨",e9e="🟩",t9e="🟦",n9e="🟪",s9e="🟫",o9e="⬛",r9e="⬜",i9e="◼️",a9e="◻️",l9e="◾",c9e="◽",d9e="▪️",u9e="▫️",h9e="🔶",f9e="🔷",p9e="🔸",g9e="🔹",m9e="🔺",_9e="🔻",b9e="💠",y9e="🔘",v9e="🔳",w9e="🔲",x9e="🏁",k9e="🚩",E9e="🎌",C9e="🏴",A9e="🏳️",S9e="🏳️‍🌈",T9e="🏳️‍⚧️",M9e="🏴‍☠️",O9e="🇦🇨",R9e="🇦🇩",N9e="🇦🇪",D9e="🇦🇫",L9e="🇦🇬",I9e="🇦🇮",P9e="🇦🇱",F9e="🇦🇲",B9e="🇦🇴",$9e="🇦🇶",z9e="🇦🇷",j9e="🇦🇸",U9e="🇦🇹",q9e="🇦🇺",H9e="🇦🇼",V9e="🇦🇽",G9e="🇦🇿",K9e="🇧🇦",W9e="🇧🇧",Z9e="🇧🇩",Y9e="🇧🇪",J9e="🇧🇫",Q9e="🇧🇬",X9e="🇧🇭",eCe="🇧🇮",tCe="🇧🇯",nCe="🇧🇱",sCe="🇧🇲",oCe="🇧🇳",rCe="🇧🇴",iCe="🇧🇶",aCe="🇧🇷",lCe="🇧🇸",cCe="🇧🇹",dCe="🇧🇻",uCe="🇧🇼",hCe="🇧🇾",fCe="🇧🇿",pCe="🇨🇦",gCe="🇨🇨",mCe="🇨🇩",_Ce="🇨🇫",bCe="🇨🇬",yCe="🇨🇭",vCe="🇨🇮",wCe="🇨🇰",xCe="🇨🇱",kCe="🇨🇲",ECe="🇨🇳",CCe="🇨🇴",ACe="🇨🇵",SCe="🇨🇷",TCe="🇨🇺",MCe="🇨🇻",OCe="🇨🇼",RCe="🇨🇽",NCe="🇨🇾",DCe="🇨🇿",LCe="🇩🇪",ICe="🇩🇬",PCe="🇩🇯",FCe="🇩🇰",BCe="🇩🇲",$Ce="🇩🇴",zCe="🇩🇿",jCe="🇪🇦",UCe="🇪🇨",qCe="🇪🇪",HCe="🇪🇬",VCe="🇪🇭",GCe="🇪🇷",KCe="🇪🇸",WCe="🇪🇹",ZCe="🇪🇺",YCe="🇪🇺",JCe="🇫🇮",QCe="🇫🇯",XCe="🇫🇰",e3e="🇫🇲",t3e="🇫🇴",n3e="🇫🇷",s3e="🇬🇦",o3e="🇬🇧",r3e="🇬🇧",i3e="🇬🇩",a3e="🇬🇪",l3e="🇬🇫",c3e="🇬🇬",d3e="🇬🇭",u3e="🇬🇮",h3e="🇬🇱",f3e="🇬🇲",p3e="🇬🇳",g3e="🇬🇵",m3e="🇬🇶",_3e="🇬🇷",b3e="🇬🇸",y3e="🇬🇹",v3e="🇬🇺",w3e="🇬🇼",x3e="🇬🇾",k3e="🇭🇰",E3e="🇭🇲",C3e="🇭🇳",A3e="🇭🇷",S3e="🇭🇹",T3e="🇭🇺",M3e="🇮🇨",O3e="🇮🇩",R3e="🇮🇪",N3e="🇮🇱",D3e="🇮🇲",L3e="🇮🇳",I3e="🇮🇴",P3e="🇮🇶",F3e="🇮🇷",B3e="🇮🇸",$3e="🇮🇹",z3e="🇯🇪",j3e="🇯🇲",U3e="🇯🇴",q3e="🇯🇵",H3e="🇰🇪",V3e="🇰🇬",G3e="🇰🇭",K3e="🇰🇮",W3e="🇰🇲",Z3e="🇰🇳",Y3e="🇰🇵",J3e="🇰🇷",Q3e="🇰🇼",X3e="🇰🇾",e8e="🇰🇿",t8e="🇱🇦",n8e="🇱🇧",s8e="🇱🇨",o8e="🇱🇮",r8e="🇱🇰",i8e="🇱🇷",a8e="🇱🇸",l8e="🇱🇹",c8e="🇱🇺",d8e="🇱🇻",u8e="🇱🇾",h8e="🇲🇦",f8e="🇲🇨",p8e="🇲🇩",g8e="🇲🇪",m8e="🇲🇫",_8e="🇲🇬",b8e="🇲🇭",y8e="🇲🇰",v8e="🇲🇱",w8e="🇲🇲",x8e="🇲🇳",k8e="🇲🇴",E8e="🇲🇵",C8e="🇲🇶",A8e="🇲🇷",S8e="🇲🇸",T8e="🇲🇹",M8e="🇲🇺",O8e="🇲🇻",R8e="🇲🇼",N8e="🇲🇽",D8e="🇲🇾",L8e="🇲🇿",I8e="🇳🇦",P8e="🇳🇨",F8e="🇳🇪",B8e="🇳🇫",$8e="🇳🇬",z8e="🇳🇮",j8e="🇳🇱",U8e="🇳🇴",q8e="🇳🇵",H8e="🇳🇷",V8e="🇳🇺",G8e="🇳🇿",K8e="🇴🇲",W8e="🇵🇦",Z8e="🇵🇪",Y8e="🇵🇫",J8e="🇵🇬",Q8e="🇵🇭",X8e="🇵🇰",e6e="🇵🇱",t6e="🇵🇲",n6e="🇵🇳",s6e="🇵🇷",o6e="🇵🇸",r6e="🇵🇹",i6e="🇵🇼",a6e="🇵🇾",l6e="🇶🇦",c6e="🇷🇪",d6e="🇷🇴",u6e="🇷🇸",h6e="🇷🇺",f6e="🇷🇼",p6e="🇸🇦",g6e="🇸🇧",m6e="🇸🇨",_6e="🇸🇩",b6e="🇸🇪",y6e="🇸🇬",v6e="🇸🇭",w6e="🇸🇮",x6e="🇸🇯",k6e="🇸🇰",E6e="🇸🇱",C6e="🇸🇲",A6e="🇸🇳",S6e="🇸🇴",T6e="🇸🇷",M6e="🇸🇸",O6e="🇸🇹",R6e="🇸🇻",N6e="🇸🇽",D6e="🇸🇾",L6e="🇸🇿",I6e="🇹🇦",P6e="🇹🇨",F6e="🇹🇩",B6e="🇹🇫",$6e="🇹🇬",z6e="🇹🇭",j6e="🇹🇯",U6e="🇹🇰",q6e="🇹🇱",H6e="🇹🇲",V6e="🇹🇳",G6e="🇹🇴",K6e="🇹🇷",W6e="🇹🇹",Z6e="🇹🇻",Y6e="🇹🇼",J6e="🇹🇿",Q6e="🇺🇦",X6e="🇺🇬",eAe="🇺🇲",tAe="🇺🇳",nAe="🇺🇸",sAe="🇺🇾",oAe="🇺🇿",rAe="🇻🇦",iAe="🇻🇨",aAe="🇻🇪",lAe="🇻🇬",cAe="🇻🇮",dAe="🇻🇳",uAe="🇻🇺",hAe="🇼🇫",fAe="🇼🇸",pAe="🇽🇰",gAe="🇾🇪",mAe="🇾🇹",_Ae="🇿🇦",bAe="🇿🇲",yAe="🇿🇼",vAe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",wAe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",xAe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",kAe={100:"💯",1234:"🔢",grinning:Lte,smiley:Ite,smile:Pte,grin:Fte,laughing:Bte,satisfied:$te,sweat_smile:zte,rofl:jte,joy:Ute,slightly_smiling_face:qte,upside_down_face:Hte,wink:Vte,blush:Gte,innocent:Kte,smiling_face_with_three_hearts:Wte,heart_eyes:Zte,star_struck:Yte,kissing_heart:Jte,kissing:Qte,relaxed:Xte,kissing_closed_eyes:ene,kissing_smiling_eyes:tne,smiling_face_with_tear:nne,yum:sne,stuck_out_tongue:one,stuck_out_tongue_winking_eye:rne,zany_face:ine,stuck_out_tongue_closed_eyes:ane,money_mouth_face:lne,hugs:cne,hand_over_mouth:dne,shushing_face:une,thinking:hne,zipper_mouth_face:fne,raised_eyebrow:pne,neutral_face:gne,expressionless:mne,no_mouth:_ne,smirk:bne,unamused:yne,roll_eyes:vne,grimacing:wne,lying_face:xne,relieved:kne,pensive:Ene,sleepy:Cne,drooling_face:Ane,sleeping:Sne,mask:Tne,face_with_thermometer:Mne,face_with_head_bandage:One,nauseated_face:Rne,vomiting_face:Nne,sneezing_face:Dne,hot_face:Lne,cold_face:Ine,woozy_face:Pne,dizzy_face:Fne,exploding_head:Bne,cowboy_hat_face:$ne,partying_face:zne,disguised_face:jne,sunglasses:Une,nerd_face:qne,monocle_face:Hne,confused:Vne,worried:Gne,slightly_frowning_face:Kne,frowning_face:Wne,open_mouth:Zne,hushed:Yne,astonished:Jne,flushed:Qne,pleading_face:Xne,frowning:ese,anguished:tse,fearful:nse,cold_sweat:sse,disappointed_relieved:ose,cry:rse,sob:ise,scream:ase,confounded:lse,persevere:cse,disappointed:dse,sweat:use,weary:hse,tired_face:fse,yawning_face:pse,triumph:gse,rage:mse,pout:_se,angry:bse,cursing_face:yse,smiling_imp:vse,imp:wse,skull:xse,skull_and_crossbones:kse,hankey:Ese,poop:Cse,shit:Ase,clown_face:Sse,japanese_ogre:Tse,japanese_goblin:Mse,ghost:Ose,alien:Rse,space_invader:Nse,robot:Dse,smiley_cat:Lse,smile_cat:Ise,joy_cat:Pse,heart_eyes_cat:Fse,smirk_cat:Bse,kissing_cat:$se,scream_cat:zse,crying_cat_face:jse,pouting_cat:Use,see_no_evil:qse,hear_no_evil:Hse,speak_no_evil:Vse,kiss:Gse,love_letter:Kse,cupid:Wse,gift_heart:Zse,sparkling_heart:Yse,heartpulse:Jse,heartbeat:Qse,revolving_hearts:Xse,two_hearts:eoe,heart_decoration:toe,heavy_heart_exclamation:noe,broken_heart:soe,heart:ooe,orange_heart:roe,yellow_heart:ioe,green_heart:aoe,blue_heart:loe,purple_heart:coe,brown_heart:doe,black_heart:uoe,white_heart:hoe,anger:foe,boom:poe,collision:goe,dizzy:moe,sweat_drops:_oe,dash:boe,hole:yoe,bomb:voe,speech_balloon:woe,eye_speech_bubble:xoe,left_speech_bubble:koe,right_anger_bubble:Eoe,thought_balloon:Coe,zzz:Aoe,wave:Soe,raised_back_of_hand:Toe,raised_hand_with_fingers_splayed:Moe,hand:Ooe,raised_hand:Roe,vulcan_salute:Noe,ok_hand:Doe,pinched_fingers:Loe,pinching_hand:Ioe,v:Poe,crossed_fingers:Foe,love_you_gesture:Boe,metal:$oe,call_me_hand:zoe,point_left:joe,point_right:Uoe,point_up_2:qoe,middle_finger:Hoe,fu:Voe,point_down:Goe,point_up:Koe,"+1":"👍",thumbsup:Woe,"-1":"👎",thumbsdown:Zoe,fist_raised:Yoe,fist:Joe,fist_oncoming:Qoe,facepunch:Xoe,punch:ere,fist_left:tre,fist_right:nre,clap:sre,raised_hands:ore,open_hands:rre,palms_up_together:ire,handshake:are,pray:lre,writing_hand:cre,nail_care:dre,selfie:ure,muscle:hre,mechanical_arm:fre,mechanical_leg:pre,leg:gre,foot:mre,ear:_re,ear_with_hearing_aid:bre,nose:yre,brain:vre,anatomical_heart:wre,lungs:xre,tooth:kre,bone:Ere,eyes:Cre,eye:Are,tongue:Sre,lips:Tre,baby:Mre,child:Ore,boy:Rre,girl:Nre,adult:Dre,blond_haired_person:Lre,man:Ire,bearded_person:Pre,red_haired_man:Fre,curly_haired_man:Bre,white_haired_man:$re,bald_man:zre,woman:jre,red_haired_woman:Ure,person_red_hair:qre,curly_haired_woman:Hre,person_curly_hair:Vre,white_haired_woman:Gre,person_white_hair:Kre,bald_woman:Wre,person_bald:Zre,blond_haired_woman:Yre,blonde_woman:Jre,blond_haired_man:Qre,older_adult:Xre,older_man:eie,older_woman:tie,frowning_person:nie,frowning_man:sie,frowning_woman:oie,pouting_face:rie,pouting_man:iie,pouting_woman:aie,no_good:lie,no_good_man:cie,ng_man:die,no_good_woman:uie,ng_woman:hie,ok_person:fie,ok_man:pie,ok_woman:gie,tipping_hand_person:mie,information_desk_person:_ie,tipping_hand_man:bie,sassy_man:yie,tipping_hand_woman:vie,sassy_woman:wie,raising_hand:xie,raising_hand_man:kie,raising_hand_woman:Eie,deaf_person:Cie,deaf_man:Aie,deaf_woman:Sie,bow:Tie,bowing_man:Mie,bowing_woman:Oie,facepalm:Rie,man_facepalming:Nie,woman_facepalming:Die,shrug:Lie,man_shrugging:Iie,woman_shrugging:Pie,health_worker:Fie,man_health_worker:Bie,woman_health_worker:$ie,student:zie,man_student:jie,woman_student:Uie,teacher:qie,man_teacher:Hie,woman_teacher:Vie,judge:Gie,man_judge:Kie,woman_judge:Wie,farmer:Zie,man_farmer:Yie,woman_farmer:Jie,cook:Qie,man_cook:Xie,woman_cook:eae,mechanic:tae,man_mechanic:nae,woman_mechanic:sae,factory_worker:oae,man_factory_worker:rae,woman_factory_worker:iae,office_worker:aae,man_office_worker:lae,woman_office_worker:cae,scientist:dae,man_scientist:uae,woman_scientist:hae,technologist:fae,man_technologist:pae,woman_technologist:gae,singer:mae,man_singer:_ae,woman_singer:bae,artist:yae,man_artist:vae,woman_artist:wae,pilot:xae,man_pilot:kae,woman_pilot:Eae,astronaut:Cae,man_astronaut:Aae,woman_astronaut:Sae,firefighter:Tae,man_firefighter:Mae,woman_firefighter:Oae,police_officer:Rae,cop:Nae,policeman:Dae,policewoman:Lae,detective:Iae,male_detective:Pae,female_detective:Fae,guard:Bae,guardsman:$ae,guardswoman:zae,ninja:jae,construction_worker:Uae,construction_worker_man:qae,construction_worker_woman:Hae,prince:Vae,princess:Gae,person_with_turban:Kae,man_with_turban:Wae,woman_with_turban:Zae,man_with_gua_pi_mao:Yae,woman_with_headscarf:Jae,person_in_tuxedo:Qae,man_in_tuxedo:Xae,woman_in_tuxedo:ele,person_with_veil:tle,man_with_veil:nle,woman_with_veil:sle,bride_with_veil:ole,pregnant_woman:rle,breast_feeding:ile,woman_feeding_baby:ale,man_feeding_baby:lle,person_feeding_baby:cle,angel:dle,santa:ule,mrs_claus:hle,mx_claus:fle,superhero:ple,superhero_man:gle,superhero_woman:mle,supervillain:_le,supervillain_man:ble,supervillain_woman:yle,mage:vle,mage_man:wle,mage_woman:xle,fairy:kle,fairy_man:Ele,fairy_woman:Cle,vampire:Ale,vampire_man:Sle,vampire_woman:Tle,merperson:Mle,merman:Ole,mermaid:Rle,elf:Nle,elf_man:Dle,elf_woman:Lle,genie:Ile,genie_man:Ple,genie_woman:Fle,zombie:Ble,zombie_man:$le,zombie_woman:zle,massage:jle,massage_man:Ule,massage_woman:qle,haircut:Hle,haircut_man:Vle,haircut_woman:Gle,walking:Kle,walking_man:Wle,walking_woman:Zle,standing_person:Yle,standing_man:Jle,standing_woman:Qle,kneeling_person:Xle,kneeling_man:ece,kneeling_woman:tce,person_with_probing_cane:nce,man_with_probing_cane:sce,woman_with_probing_cane:oce,person_in_motorized_wheelchair:rce,man_in_motorized_wheelchair:ice,woman_in_motorized_wheelchair:ace,person_in_manual_wheelchair:lce,man_in_manual_wheelchair:cce,woman_in_manual_wheelchair:dce,runner:uce,running:hce,running_man:fce,running_woman:pce,woman_dancing:gce,dancer:mce,man_dancing:_ce,business_suit_levitating:bce,dancers:yce,dancing_men:vce,dancing_women:wce,sauna_person:xce,sauna_man:kce,sauna_woman:Ece,climbing:Cce,climbing_man:Ace,climbing_woman:Sce,person_fencing:Tce,horse_racing:Mce,skier:Oce,snowboarder:Rce,golfing:Nce,golfing_man:Dce,golfing_woman:Lce,surfer:Ice,surfing_man:Pce,surfing_woman:Fce,rowboat:Bce,rowing_man:$ce,rowing_woman:zce,swimmer:jce,swimming_man:Uce,swimming_woman:qce,bouncing_ball_person:Hce,bouncing_ball_man:Vce,basketball_man:Gce,bouncing_ball_woman:Kce,basketball_woman:Wce,weight_lifting:Zce,weight_lifting_man:Yce,weight_lifting_woman:Jce,bicyclist:Qce,biking_man:Xce,biking_woman:ede,mountain_bicyclist:tde,mountain_biking_man:nde,mountain_biking_woman:sde,cartwheeling:ode,man_cartwheeling:rde,woman_cartwheeling:ide,wrestling:ade,men_wrestling:lde,women_wrestling:cde,water_polo:dde,man_playing_water_polo:ude,woman_playing_water_polo:hde,handball_person:fde,man_playing_handball:pde,woman_playing_handball:gde,juggling_person:mde,man_juggling:_de,woman_juggling:bde,lotus_position:yde,lotus_position_man:vde,lotus_position_woman:wde,bath:xde,sleeping_bed:kde,people_holding_hands:Ede,two_women_holding_hands:Cde,couple:Ade,two_men_holding_hands:Sde,couplekiss:Tde,couplekiss_man_woman:Mde,couplekiss_man_man:Ode,couplekiss_woman_woman:Rde,couple_with_heart:Nde,couple_with_heart_woman_man:Dde,couple_with_heart_man_man:Lde,couple_with_heart_woman_woman:Ide,family:Pde,family_man_woman_boy:Fde,family_man_woman_girl:Bde,family_man_woman_girl_boy:$de,family_man_woman_boy_boy:zde,family_man_woman_girl_girl:jde,family_man_man_boy:Ude,family_man_man_girl:qde,family_man_man_girl_boy:Hde,family_man_man_boy_boy:Vde,family_man_man_girl_girl:Gde,family_woman_woman_boy:Kde,family_woman_woman_girl:Wde,family_woman_woman_girl_boy:Zde,family_woman_woman_boy_boy:Yde,family_woman_woman_girl_girl:Jde,family_man_boy:Qde,family_man_boy_boy:Xde,family_man_girl:eue,family_man_girl_boy:tue,family_man_girl_girl:nue,family_woman_boy:sue,family_woman_boy_boy:oue,family_woman_girl:rue,family_woman_girl_boy:iue,family_woman_girl_girl:aue,speaking_head:lue,bust_in_silhouette:cue,busts_in_silhouette:due,people_hugging:uue,footprints:hue,monkey_face:fue,monkey:pue,gorilla:gue,orangutan:mue,dog:_ue,dog2:bue,guide_dog:yue,service_dog:vue,poodle:wue,wolf:xue,fox_face:kue,raccoon:Eue,cat:Cue,cat2:Aue,black_cat:Sue,lion:Tue,tiger:Mue,tiger2:Oue,leopard:Rue,horse:Nue,racehorse:Due,unicorn:Lue,zebra:Iue,deer:Pue,bison:Fue,cow:Bue,ox:$ue,water_buffalo:zue,cow2:jue,pig:Uue,pig2:que,boar:Hue,pig_nose:Vue,ram:Gue,sheep:Kue,goat:Wue,dromedary_camel:Zue,camel:Yue,llama:Jue,giraffe:Que,elephant:Xue,mammoth:ehe,rhinoceros:the,hippopotamus:nhe,mouse:she,mouse2:ohe,rat:rhe,hamster:ihe,rabbit:ahe,rabbit2:lhe,chipmunk:che,beaver:dhe,hedgehog:uhe,bat:hhe,bear:fhe,polar_bear:phe,koala:ghe,panda_face:mhe,sloth:_he,otter:bhe,skunk:yhe,kangaroo:vhe,badger:whe,feet:xhe,paw_prints:khe,turkey:Ehe,chicken:Che,rooster:Ahe,hatching_chick:She,baby_chick:The,hatched_chick:Mhe,bird:Ohe,penguin:Rhe,dove:Nhe,eagle:Dhe,duck:Lhe,swan:Ihe,owl:Phe,dodo:Fhe,feather:Bhe,flamingo:$he,peacock:zhe,parrot:jhe,frog:Uhe,crocodile:qhe,turtle:Hhe,lizard:Vhe,snake:Ghe,dragon_face:Khe,dragon:Whe,sauropod:Zhe,"t-rex":"🦖",whale:Yhe,whale2:Jhe,dolphin:Qhe,flipper:Xhe,seal:efe,fish:tfe,tropical_fish:nfe,blowfish:sfe,shark:ofe,octopus:rfe,shell:ife,snail:afe,butterfly:lfe,bug:cfe,ant:dfe,bee:ufe,honeybee:hfe,beetle:ffe,lady_beetle:pfe,cricket:gfe,cockroach:mfe,spider:_fe,spider_web:bfe,scorpion:yfe,mosquito:vfe,fly:wfe,worm:xfe,microbe:kfe,bouquet:Efe,cherry_blossom:Cfe,white_flower:Afe,rosette:Sfe,rose:Tfe,wilted_flower:Mfe,hibiscus:Ofe,sunflower:Rfe,blossom:Nfe,tulip:Dfe,seedling:Lfe,potted_plant:Ife,evergreen_tree:Pfe,deciduous_tree:Ffe,palm_tree:Bfe,cactus:$fe,ear_of_rice:zfe,herb:jfe,shamrock:Ufe,four_leaf_clover:qfe,maple_leaf:Hfe,fallen_leaf:Vfe,leaves:Gfe,grapes:Kfe,melon:Wfe,watermelon:Zfe,tangerine:Yfe,orange:Jfe,mandarin:Qfe,lemon:Xfe,banana:epe,pineapple:tpe,mango:npe,apple:spe,green_apple:ope,pear:rpe,peach:ipe,cherries:ape,strawberry:lpe,blueberries:cpe,kiwi_fruit:dpe,tomato:upe,olive:hpe,coconut:fpe,avocado:ppe,eggplant:gpe,potato:mpe,carrot:_pe,corn:bpe,hot_pepper:ype,bell_pepper:vpe,cucumber:wpe,leafy_green:xpe,broccoli:kpe,garlic:Epe,onion:Cpe,mushroom:Ape,peanuts:Spe,chestnut:Tpe,bread:Mpe,croissant:Ope,baguette_bread:Rpe,flatbread:Npe,pretzel:Dpe,bagel:Lpe,pancakes:Ipe,waffle:Ppe,cheese:Fpe,meat_on_bone:Bpe,poultry_leg:$pe,cut_of_meat:zpe,bacon:jpe,hamburger:Upe,fries:qpe,pizza:Hpe,hotdog:Vpe,sandwich:Gpe,taco:Kpe,burrito:Wpe,tamale:Zpe,stuffed_flatbread:Ype,falafel:Jpe,egg:Qpe,fried_egg:Xpe,shallow_pan_of_food:ege,stew:tge,fondue:nge,bowl_with_spoon:sge,green_salad:oge,popcorn:rge,butter:ige,salt:age,canned_food:lge,bento:cge,rice_cracker:dge,rice_ball:uge,rice:hge,curry:fge,ramen:pge,spaghetti:gge,sweet_potato:mge,oden:_ge,sushi:bge,fried_shrimp:yge,fish_cake:vge,moon_cake:wge,dango:xge,dumpling:kge,fortune_cookie:Ege,takeout_box:Cge,crab:Age,lobster:Sge,shrimp:Tge,squid:Mge,oyster:Oge,icecream:Rge,shaved_ice:Nge,ice_cream:Dge,doughnut:Lge,cookie:Ige,birthday:Pge,cake:Fge,cupcake:Bge,pie:$ge,chocolate_bar:zge,candy:jge,lollipop:Uge,custard:qge,honey_pot:Hge,baby_bottle:Vge,milk_glass:Gge,coffee:Kge,teapot:Wge,tea:Zge,sake:Yge,champagne:Jge,wine_glass:Qge,cocktail:Xge,tropical_drink:eme,beer:tme,beers:nme,clinking_glasses:sme,tumbler_glass:ome,cup_with_straw:rme,bubble_tea:ime,beverage_box:ame,mate:lme,ice_cube:cme,chopsticks:dme,plate_with_cutlery:ume,fork_and_knife:hme,spoon:fme,hocho:pme,knife:gme,amphora:mme,earth_africa:_me,earth_americas:bme,earth_asia:yme,globe_with_meridians:vme,world_map:wme,japan:xme,compass:kme,mountain_snow:Eme,mountain:Cme,volcano:Ame,mount_fuji:Sme,camping:Tme,beach_umbrella:Mme,desert:Ome,desert_island:Rme,national_park:Nme,stadium:Dme,classical_building:Lme,building_construction:Ime,bricks:Pme,rock:Fme,wood:Bme,hut:$me,houses:zme,derelict_house:jme,house:Ume,house_with_garden:qme,office:Hme,post_office:Vme,european_post_office:Gme,hospital:Kme,bank:Wme,hotel:Zme,love_hotel:Yme,convenience_store:Jme,school:Qme,department_store:Xme,factory:e_e,japanese_castle:t_e,european_castle:n_e,wedding:s_e,tokyo_tower:o_e,statue_of_liberty:r_e,church:i_e,mosque:a_e,hindu_temple:l_e,synagogue:c_e,shinto_shrine:d_e,kaaba:u_e,fountain:h_e,tent:f_e,foggy:p_e,night_with_stars:g_e,cityscape:m_e,sunrise_over_mountains:__e,sunrise:b_e,city_sunset:y_e,city_sunrise:v_e,bridge_at_night:w_e,hotsprings:x_e,carousel_horse:k_e,ferris_wheel:E_e,roller_coaster:C_e,barber:A_e,circus_tent:S_e,steam_locomotive:T_e,railway_car:M_e,bullettrain_side:O_e,bullettrain_front:R_e,train2:N_e,metro:D_e,light_rail:L_e,station:I_e,tram:P_e,monorail:F_e,mountain_railway:B_e,train:$_e,bus:z_e,oncoming_bus:j_e,trolleybus:U_e,minibus:q_e,ambulance:H_e,fire_engine:V_e,police_car:G_e,oncoming_police_car:K_e,taxi:W_e,oncoming_taxi:Z_e,car:Y_e,red_car:J_e,oncoming_automobile:Q_e,blue_car:X_e,pickup_truck:e1e,truck:t1e,articulated_lorry:n1e,tractor:s1e,racing_car:o1e,motorcycle:r1e,motor_scooter:i1e,manual_wheelchair:a1e,motorized_wheelchair:l1e,auto_rickshaw:c1e,bike:d1e,kick_scooter:u1e,skateboard:h1e,roller_skate:f1e,busstop:p1e,motorway:g1e,railway_track:m1e,oil_drum:_1e,fuelpump:b1e,rotating_light:y1e,traffic_light:v1e,vertical_traffic_light:w1e,stop_sign:x1e,construction:k1e,anchor:E1e,boat:C1e,sailboat:A1e,canoe:S1e,speedboat:T1e,passenger_ship:M1e,ferry:O1e,motor_boat:R1e,ship:N1e,airplane:D1e,small_airplane:L1e,flight_departure:I1e,flight_arrival:P1e,parachute:F1e,seat:B1e,helicopter:$1e,suspension_railway:z1e,mountain_cableway:j1e,aerial_tramway:U1e,artificial_satellite:q1e,rocket:H1e,flying_saucer:V1e,bellhop_bell:G1e,luggage:K1e,hourglass:W1e,hourglass_flowing_sand:Z1e,watch:Y1e,alarm_clock:J1e,stopwatch:Q1e,timer_clock:X1e,mantelpiece_clock:e0e,clock12:t0e,clock1230:n0e,clock1:s0e,clock130:o0e,clock2:r0e,clock230:i0e,clock3:a0e,clock330:l0e,clock4:c0e,clock430:d0e,clock5:u0e,clock530:h0e,clock6:f0e,clock630:p0e,clock7:g0e,clock730:m0e,clock8:_0e,clock830:b0e,clock9:y0e,clock930:v0e,clock10:w0e,clock1030:x0e,clock11:k0e,clock1130:E0e,new_moon:C0e,waxing_crescent_moon:A0e,first_quarter_moon:S0e,moon:T0e,waxing_gibbous_moon:M0e,full_moon:O0e,waning_gibbous_moon:R0e,last_quarter_moon:N0e,waning_crescent_moon:D0e,crescent_moon:L0e,new_moon_with_face:I0e,first_quarter_moon_with_face:P0e,last_quarter_moon_with_face:F0e,thermometer:B0e,sunny:$0e,full_moon_with_face:z0e,sun_with_face:j0e,ringed_planet:U0e,star:q0e,star2:H0e,stars:V0e,milky_way:G0e,cloud:K0e,partly_sunny:W0e,cloud_with_lightning_and_rain:Z0e,sun_behind_small_cloud:Y0e,sun_behind_large_cloud:J0e,sun_behind_rain_cloud:Q0e,cloud_with_rain:X0e,cloud_with_snow:ebe,cloud_with_lightning:tbe,tornado:nbe,fog:sbe,wind_face:obe,cyclone:rbe,rainbow:ibe,closed_umbrella:abe,open_umbrella:lbe,umbrella:cbe,parasol_on_ground:dbe,zap:ube,snowflake:hbe,snowman_with_snow:fbe,snowman:pbe,comet:gbe,fire:mbe,droplet:_be,ocean:bbe,jack_o_lantern:ybe,christmas_tree:vbe,fireworks:wbe,sparkler:xbe,firecracker:kbe,sparkles:Ebe,balloon:Cbe,tada:Abe,confetti_ball:Sbe,tanabata_tree:Tbe,bamboo:Mbe,dolls:Obe,flags:Rbe,wind_chime:Nbe,rice_scene:Dbe,red_envelope:Lbe,ribbon:Ibe,gift:Pbe,reminder_ribbon:Fbe,tickets:Bbe,ticket:$be,medal_military:zbe,trophy:jbe,medal_sports:Ube,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:qbe,baseball:Hbe,softball:Vbe,basketball:Gbe,volleyball:Kbe,football:Wbe,rugby_football:Zbe,tennis:Ybe,flying_disc:Jbe,bowling:Qbe,cricket_game:Xbe,field_hockey:eye,ice_hockey:tye,lacrosse:nye,ping_pong:sye,badminton:oye,boxing_glove:rye,martial_arts_uniform:iye,goal_net:aye,golf:lye,ice_skate:cye,fishing_pole_and_fish:dye,diving_mask:uye,running_shirt_with_sash:hye,ski:fye,sled:pye,curling_stone:gye,dart:mye,yo_yo:_ye,kite:bye,"8ball":"🎱",crystal_ball:yye,magic_wand:vye,nazar_amulet:wye,video_game:xye,joystick:kye,slot_machine:Eye,game_die:Cye,jigsaw:Aye,teddy_bear:Sye,pinata:Tye,nesting_dolls:Mye,spades:Oye,hearts:Rye,diamonds:Nye,clubs:Dye,chess_pawn:Lye,black_joker:Iye,mahjong:Pye,flower_playing_cards:Fye,performing_arts:Bye,framed_picture:$ye,art:zye,thread:jye,sewing_needle:Uye,yarn:qye,knot:Hye,eyeglasses:Vye,dark_sunglasses:Gye,goggles:Kye,lab_coat:Wye,safety_vest:Zye,necktie:Yye,shirt:Jye,tshirt:Qye,jeans:Xye,scarf:e2e,gloves:t2e,coat:n2e,socks:s2e,dress:o2e,kimono:r2e,sari:i2e,one_piece_swimsuit:a2e,swim_brief:l2e,shorts:c2e,bikini:d2e,womans_clothes:u2e,purse:h2e,handbag:f2e,pouch:p2e,shopping:g2e,school_satchel:m2e,thong_sandal:_2e,mans_shoe:b2e,shoe:y2e,athletic_shoe:v2e,hiking_boot:w2e,flat_shoe:x2e,high_heel:k2e,sandal:E2e,ballet_shoes:C2e,boot:A2e,crown:S2e,womans_hat:T2e,tophat:M2e,mortar_board:O2e,billed_cap:R2e,military_helmet:N2e,rescue_worker_helmet:D2e,prayer_beads:L2e,lipstick:I2e,ring:P2e,gem:F2e,mute:B2e,speaker:$2e,sound:z2e,loud_sound:j2e,loudspeaker:U2e,mega:q2e,postal_horn:H2e,bell:V2e,no_bell:G2e,musical_score:K2e,musical_note:W2e,notes:Z2e,studio_microphone:Y2e,level_slider:J2e,control_knobs:Q2e,microphone:X2e,headphones:eve,radio:tve,saxophone:nve,accordion:sve,guitar:ove,musical_keyboard:rve,trumpet:ive,violin:ave,banjo:lve,drum:cve,long_drum:dve,iphone:uve,calling:hve,phone:fve,telephone:pve,telephone_receiver:gve,pager:mve,fax:_ve,battery:bve,electric_plug:yve,computer:vve,desktop_computer:wve,printer:xve,keyboard:kve,computer_mouse:Eve,trackball:Cve,minidisc:Ave,floppy_disk:Sve,cd:Tve,dvd:Mve,abacus:Ove,movie_camera:Rve,film_strip:Nve,film_projector:Dve,clapper:Lve,tv:Ive,camera:Pve,camera_flash:Fve,video_camera:Bve,vhs:$ve,mag:zve,mag_right:jve,candle:Uve,bulb:qve,flashlight:Hve,izakaya_lantern:Vve,lantern:Gve,diya_lamp:Kve,notebook_with_decorative_cover:Wve,closed_book:Zve,book:Yve,open_book:Jve,green_book:Qve,blue_book:Xve,orange_book:ewe,books:twe,notebook:nwe,ledger:swe,page_with_curl:owe,scroll:rwe,page_facing_up:iwe,newspaper:awe,newspaper_roll:lwe,bookmark_tabs:cwe,bookmark:dwe,label:uwe,moneybag:hwe,coin:fwe,yen:pwe,dollar:gwe,euro:mwe,pound:_we,money_with_wings:bwe,credit_card:ywe,receipt:vwe,chart:wwe,envelope:xwe,email:kwe,"e-mail":"📧",incoming_envelope:Ewe,envelope_with_arrow:Cwe,outbox_tray:Awe,inbox_tray:Swe,package:"📦",mailbox:Twe,mailbox_closed:Mwe,mailbox_with_mail:Owe,mailbox_with_no_mail:Rwe,postbox:Nwe,ballot_box:Dwe,pencil2:Lwe,black_nib:Iwe,fountain_pen:Pwe,pen:Fwe,paintbrush:Bwe,crayon:$we,memo:zwe,pencil:jwe,briefcase:Uwe,file_folder:qwe,open_file_folder:Hwe,card_index_dividers:Vwe,date:Gwe,calendar:Kwe,spiral_notepad:Wwe,spiral_calendar:Zwe,card_index:Ywe,chart_with_upwards_trend:Jwe,chart_with_downwards_trend:Qwe,bar_chart:Xwe,clipboard:exe,pushpin:txe,round_pushpin:nxe,paperclip:sxe,paperclips:oxe,straight_ruler:rxe,triangular_ruler:ixe,scissors:axe,card_file_box:lxe,file_cabinet:cxe,wastebasket:dxe,lock:uxe,unlock:hxe,lock_with_ink_pen:fxe,closed_lock_with_key:pxe,key:gxe,old_key:mxe,hammer:_xe,axe:bxe,pick:yxe,hammer_and_pick:vxe,hammer_and_wrench:wxe,dagger:xxe,crossed_swords:kxe,gun:Exe,boomerang:Cxe,bow_and_arrow:Axe,shield:Sxe,carpentry_saw:Txe,wrench:Mxe,screwdriver:Oxe,nut_and_bolt:Rxe,gear:Nxe,clamp:Dxe,balance_scale:Lxe,probing_cane:Ixe,link:Pxe,chains:Fxe,hook:Bxe,toolbox:$xe,magnet:zxe,ladder:jxe,alembic:Uxe,test_tube:qxe,petri_dish:Hxe,dna:Vxe,microscope:Gxe,telescope:Kxe,satellite:Wxe,syringe:Zxe,drop_of_blood:Yxe,pill:Jxe,adhesive_bandage:Qxe,stethoscope:Xxe,door:eke,elevator:tke,mirror:nke,window:ske,bed:oke,couch_and_lamp:rke,chair:ike,toilet:ake,plunger:lke,shower:cke,bathtub:dke,mouse_trap:uke,razor:hke,lotion_bottle:fke,safety_pin:pke,broom:gke,basket:mke,roll_of_paper:_ke,bucket:bke,soap:yke,toothbrush:vke,sponge:wke,fire_extinguisher:xke,shopping_cart:kke,smoking:Eke,coffin:Cke,headstone:Ake,funeral_urn:Ske,moyai:Tke,placard:Mke,atm:Oke,put_litter_in_its_place:Rke,potable_water:Nke,wheelchair:Dke,mens:Lke,womens:Ike,restroom:Pke,baby_symbol:Fke,wc:Bke,passport_control:$ke,customs:zke,baggage_claim:jke,left_luggage:Uke,warning:qke,children_crossing:Hke,no_entry:Vke,no_entry_sign:Gke,no_bicycles:Kke,no_smoking:Wke,do_not_litter:Zke,"non-potable_water":"🚱",no_pedestrians:Yke,no_mobile_phones:Jke,underage:Qke,radioactive:Xke,biohazard:e5e,arrow_up:t5e,arrow_upper_right:n5e,arrow_right:s5e,arrow_lower_right:o5e,arrow_down:r5e,arrow_lower_left:i5e,arrow_left:a5e,arrow_upper_left:l5e,arrow_up_down:c5e,left_right_arrow:d5e,leftwards_arrow_with_hook:u5e,arrow_right_hook:h5e,arrow_heading_up:f5e,arrow_heading_down:p5e,arrows_clockwise:g5e,arrows_counterclockwise:m5e,back:_5e,end:b5e,on:y5e,soon:v5e,top:w5e,place_of_worship:x5e,atom_symbol:k5e,om:E5e,star_of_david:C5e,wheel_of_dharma:A5e,yin_yang:S5e,latin_cross:T5e,orthodox_cross:M5e,star_and_crescent:O5e,peace_symbol:R5e,menorah:N5e,six_pointed_star:D5e,aries:L5e,taurus:I5e,gemini:P5e,cancer:F5e,leo:B5e,virgo:$5e,libra:z5e,scorpius:j5e,sagittarius:U5e,capricorn:q5e,aquarius:H5e,pisces:V5e,ophiuchus:G5e,twisted_rightwards_arrows:K5e,repeat:W5e,repeat_one:Z5e,arrow_forward:Y5e,fast_forward:J5e,next_track_button:Q5e,play_or_pause_button:X5e,arrow_backward:eEe,rewind:tEe,previous_track_button:nEe,arrow_up_small:sEe,arrow_double_up:oEe,arrow_down_small:rEe,arrow_double_down:iEe,pause_button:aEe,stop_button:lEe,record_button:cEe,eject_button:dEe,cinema:uEe,low_brightness:hEe,high_brightness:fEe,signal_strength:pEe,vibration_mode:gEe,mobile_phone_off:mEe,female_sign:_Ee,male_sign:bEe,transgender_symbol:yEe,heavy_multiplication_x:vEe,heavy_plus_sign:wEe,heavy_minus_sign:xEe,heavy_division_sign:kEe,infinity:EEe,bangbang:CEe,interrobang:AEe,question:SEe,grey_question:TEe,grey_exclamation:MEe,exclamation:OEe,heavy_exclamation_mark:REe,wavy_dash:NEe,currency_exchange:DEe,heavy_dollar_sign:LEe,medical_symbol:IEe,recycle:PEe,fleur_de_lis:FEe,trident:BEe,name_badge:$Ee,beginner:zEe,o:jEe,white_check_mark:UEe,ballot_box_with_check:qEe,heavy_check_mark:HEe,x:VEe,negative_squared_cross_mark:GEe,curly_loop:KEe,loop:WEe,part_alternation_mark:ZEe,eight_spoked_asterisk:YEe,eight_pointed_black_star:JEe,sparkle:QEe,copyright:XEe,registered:e4e,tm:t4e,hash:n4e,asterisk:s4e,zero:o4e,one:r4e,two:i4e,three:a4e,four:l4e,five:c4e,six:d4e,seven:u4e,eight:h4e,nine:f4e,keycap_ten:p4e,capital_abcd:g4e,abcd:m4e,symbols:_4e,abc:b4e,a:y4e,ab:v4e,b:w4e,cl:x4e,cool:k4e,free:E4e,information_source:C4e,id:A4e,m:S4e,new:"🆕",ng:T4e,o2:M4e,ok:O4e,parking:R4e,sos:N4e,up:D4e,vs:L4e,koko:I4e,sa:P4e,ideograph_advantage:F4e,accept:B4e,congratulations:$4e,secret:z4e,u6e80:j4e,red_circle:U4e,orange_circle:q4e,yellow_circle:H4e,green_circle:V4e,large_blue_circle:G4e,purple_circle:K4e,brown_circle:W4e,black_circle:Z4e,white_circle:Y4e,red_square:J4e,orange_square:Q4e,yellow_square:X4e,green_square:e9e,blue_square:t9e,purple_square:n9e,brown_square:s9e,black_large_square:o9e,white_large_square:r9e,black_medium_square:i9e,white_medium_square:a9e,black_medium_small_square:l9e,white_medium_small_square:c9e,black_small_square:d9e,white_small_square:u9e,large_orange_diamond:h9e,large_blue_diamond:f9e,small_orange_diamond:p9e,small_blue_diamond:g9e,small_red_triangle:m9e,small_red_triangle_down:_9e,diamond_shape_with_a_dot_inside:b9e,radio_button:y9e,white_square_button:v9e,black_square_button:w9e,checkered_flag:x9e,triangular_flag_on_post:k9e,crossed_flags:E9e,black_flag:C9e,white_flag:A9e,rainbow_flag:S9e,transgender_flag:T9e,pirate_flag:M9e,ascension_island:O9e,andorra:R9e,united_arab_emirates:N9e,afghanistan:D9e,antigua_barbuda:L9e,anguilla:I9e,albania:P9e,armenia:F9e,angola:B9e,antarctica:$9e,argentina:z9e,american_samoa:j9e,austria:U9e,australia:q9e,aruba:H9e,aland_islands:V9e,azerbaijan:G9e,bosnia_herzegovina:K9e,barbados:W9e,bangladesh:Z9e,belgium:Y9e,burkina_faso:J9e,bulgaria:Q9e,bahrain:X9e,burundi:eCe,benin:tCe,st_barthelemy:nCe,bermuda:sCe,brunei:oCe,bolivia:rCe,caribbean_netherlands:iCe,brazil:aCe,bahamas:lCe,bhutan:cCe,bouvet_island:dCe,botswana:uCe,belarus:hCe,belize:fCe,canada:pCe,cocos_islands:gCe,congo_kinshasa:mCe,central_african_republic:_Ce,congo_brazzaville:bCe,switzerland:yCe,cote_divoire:vCe,cook_islands:wCe,chile:xCe,cameroon:kCe,cn:ECe,colombia:CCe,clipperton_island:ACe,costa_rica:SCe,cuba:TCe,cape_verde:MCe,curacao:OCe,christmas_island:RCe,cyprus:NCe,czech_republic:DCe,de:LCe,diego_garcia:ICe,djibouti:PCe,denmark:FCe,dominica:BCe,dominican_republic:$Ce,algeria:zCe,ceuta_melilla:jCe,ecuador:UCe,estonia:qCe,egypt:HCe,western_sahara:VCe,eritrea:GCe,es:KCe,ethiopia:WCe,eu:ZCe,european_union:YCe,finland:JCe,fiji:QCe,falkland_islands:XCe,micronesia:e3e,faroe_islands:t3e,fr:n3e,gabon:s3e,gb:o3e,uk:r3e,grenada:i3e,georgia:a3e,french_guiana:l3e,guernsey:c3e,ghana:d3e,gibraltar:u3e,greenland:h3e,gambia:f3e,guinea:p3e,guadeloupe:g3e,equatorial_guinea:m3e,greece:_3e,south_georgia_south_sandwich_islands:b3e,guatemala:y3e,guam:v3e,guinea_bissau:w3e,guyana:x3e,hong_kong:k3e,heard_mcdonald_islands:E3e,honduras:C3e,croatia:A3e,haiti:S3e,hungary:T3e,canary_islands:M3e,indonesia:O3e,ireland:R3e,israel:N3e,isle_of_man:D3e,india:L3e,british_indian_ocean_territory:I3e,iraq:P3e,iran:F3e,iceland:B3e,it:$3e,jersey:z3e,jamaica:j3e,jordan:U3e,jp:q3e,kenya:H3e,kyrgyzstan:V3e,cambodia:G3e,kiribati:K3e,comoros:W3e,st_kitts_nevis:Z3e,north_korea:Y3e,kr:J3e,kuwait:Q3e,cayman_islands:X3e,kazakhstan:e8e,laos:t8e,lebanon:n8e,st_lucia:s8e,liechtenstein:o8e,sri_lanka:r8e,liberia:i8e,lesotho:a8e,lithuania:l8e,luxembourg:c8e,latvia:d8e,libya:u8e,morocco:h8e,monaco:f8e,moldova:p8e,montenegro:g8e,st_martin:m8e,madagascar:_8e,marshall_islands:b8e,macedonia:y8e,mali:v8e,myanmar:w8e,mongolia:x8e,macau:k8e,northern_mariana_islands:E8e,martinique:C8e,mauritania:A8e,montserrat:S8e,malta:T8e,mauritius:M8e,maldives:O8e,malawi:R8e,mexico:N8e,malaysia:D8e,mozambique:L8e,namibia:I8e,new_caledonia:P8e,niger:F8e,norfolk_island:B8e,nigeria:$8e,nicaragua:z8e,netherlands:j8e,norway:U8e,nepal:q8e,nauru:H8e,niue:V8e,new_zealand:G8e,oman:K8e,panama:W8e,peru:Z8e,french_polynesia:Y8e,papua_new_guinea:J8e,philippines:Q8e,pakistan:X8e,poland:e6e,st_pierre_miquelon:t6e,pitcairn_islands:n6e,puerto_rico:s6e,palestinian_territories:o6e,portugal:r6e,palau:i6e,paraguay:a6e,qatar:l6e,reunion:c6e,romania:d6e,serbia:u6e,ru:h6e,rwanda:f6e,saudi_arabia:p6e,solomon_islands:g6e,seychelles:m6e,sudan:_6e,sweden:b6e,singapore:y6e,st_helena:v6e,slovenia:w6e,svalbard_jan_mayen:x6e,slovakia:k6e,sierra_leone:E6e,san_marino:C6e,senegal:A6e,somalia:S6e,suriname:T6e,south_sudan:M6e,sao_tome_principe:O6e,el_salvador:R6e,sint_maarten:N6e,syria:D6e,swaziland:L6e,tristan_da_cunha:I6e,turks_caicos_islands:P6e,chad:F6e,french_southern_territories:B6e,togo:$6e,thailand:z6e,tajikistan:j6e,tokelau:U6e,timor_leste:q6e,turkmenistan:H6e,tunisia:V6e,tonga:G6e,tr:K6e,trinidad_tobago:W6e,tuvalu:Z6e,taiwan:Y6e,tanzania:J6e,ukraine:Q6e,uganda:X6e,us_outlying_islands:eAe,united_nations:tAe,us:nAe,uruguay:sAe,uzbekistan:oAe,vatican_city:rAe,st_vincent_grenadines:iAe,venezuela:aAe,british_virgin_islands:lAe,us_virgin_islands:cAe,vietnam:dAe,vanuatu:uAe,wallis_futuna:hAe,samoa:fAe,kosovo:pAe,yemen:gAe,mayotte:mAe,south_africa:_Ae,zambia:bAe,zimbabwe:yAe,england:vAe,scotland:wAe,wales:xAe};var EAe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(y[b-1])||b+g.lengthm&&(p=new f("text","",0),p.content=u.slice(m,b),_.push(p)),p=new f("emoji","",0),p.markup=x,p.content=n[x],_.push(p),m=b+g.length}),m=0;f--)g=_[f],(g.type==="link_open"||g.type==="link_close")&&g.info==="auto"&&(y-=g.nesting),g.type==="text"&&y===0&&o.test(g.content)&&(b[p].children=_=i(_,f,d(g.content,g.level,h.Token)))}};function SAe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var TAe=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,d){return e.enabled.indexOf(d)>=0&&(l[d]=n[d]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,d){return n[d]?Array.isArray(e.shortcuts[d])?(e.shortcuts[d].forEach(function(u){l[u]=d}),l):(l[e.shortcuts[d]]=d,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 SAe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},MAe=CAe,OAe=AAe,RAe=TAe,NAe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=RAe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=MAe,e.core.ruler.after("linkify","emoji",OAe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},DAe=kAe,LAe=EAe,IAe=NAe,PAe=function(e,n){var s={defs:DAe,shortcuts:LAe,enabled:[]},o=e.utils.assign({},s,n||{});IAe(e,o)};const FAe=as(PAe);var Pu=!1,Ds={false:"push",true:"unshift",after:"push",before:"unshift"},Mr={isPermalinkSymbol:!0};function pl(t,e,n,s){var o;if(!Pu){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),Pu=!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:Mr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Ds[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Ds[e.permalinkBefore]].apply(o,i)}function kg(t){return"#"+t}function Eg(t){return{}}var BAe={class:"header-anchor",symbol:"#",renderHref:kg,renderAttrs:Eg};function Bo(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({},BAe),e.renderPermalinkImpl=t,e}var bi=Bo(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:Mr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Ds[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Ds[e.placement]].apply(r,i)});Object.assign(bi.defaults,{space:!0,placement:"after",ariaHidden:!1});var zn=Bo(bi.renderPermalinkImpl);zn.defaults=Object.assign({},bi.defaults,{ariaHidden:!0});var Cg=Bo(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(Cg.defaults,{safariReaderFix:!1});var Fu=Bo(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(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.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 d=typeof e.space=="string"?e.space:" ";a[Ds[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:d}))}a[Ds[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:Mr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Mr}));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 Fu(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 ms(t,e){e=Object.assign({},ms.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(h){return s.includes(h)}):function(h){return function(f){return f>=h}}(e.level),a=0;af.match(h))}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 z7e=as($7e);function Cg(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)&&Cg(n)}),t}class Bu{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Ag(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Tn(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 j7e="",$u=t=>!!t.scope,U7e=(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 q7e{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Ag(e)}openNode(e){if(!$u(e))return;const n=U7e(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){$u(e)&&(this.buffer+=j7e)}value(){return this.buffer}span(e){this.buffer+=``}}const zu=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class mc{constructor(){this.rootNode=zu(),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=zu({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=>{mc._collapse(n)}))}}class H7e extends mc{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 q7e(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Mo(t){return t?typeof t=="string"?t:t.source:null}function Sg(t){return ls("(?=",t,")")}function V7e(t){return ls("(?:",t,")*")}function G7e(t){return ls("(?:",t,")?")}function ls(...t){return t.map(n=>Mo(n)).join("")}function K7e(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function _c(...t){return"("+(K7e(t).capture?"":"?:")+t.map(s=>Mo(s)).join("|")+")"}function Tg(t){return new RegExp(t.toString()+"|").exec("").length-1}function W7e(t,e){const n=t&&t.exec(e);return n&&n.index===0}const Z7e=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function bc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=Mo(s),i="";for(;r.length>0;){const a=Z7e.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 Y7e=/\b\B/,Mg="[a-zA-Z]\\w*",yc="[a-zA-Z_]\\w*",Og="\\b\\d+(\\.\\d+)?",Rg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ng="\\b(0b[01]+)",J7e="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Q7e=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ls(e,/.*\b/,t.binary,/\b.*/)),Tn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Oo={begin:"\\\\[\\s\\S]",relevance:0},X7e={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Oo]},eAe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Oo]},tAe={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/},yi=function(t,e,n={}){const s=Tn({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=_c("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:ls(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},nAe=yi("//","$"),sAe=yi("/\\*","\\*/"),oAe=yi("#","$"),rAe={scope:"number",begin:Og,relevance:0},iAe={scope:"number",begin:Rg,relevance:0},aAe={scope:"number",begin:Ng,relevance:0},lAe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Oo,{begin:/\[/,end:/\]/,relevance:0,contains:[Oo]}]}]},cAe={scope:"title",begin:Mg,relevance:0},dAe={scope:"title",begin:yc,relevance:0},uAe={begin:"\\.\\s*"+yc,relevance:0},hAe=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 Qo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:Y7e,IDENT_RE:Mg,UNDERSCORE_IDENT_RE:yc,NUMBER_RE:Og,C_NUMBER_RE:Rg,BINARY_NUMBER_RE:Ng,RE_STARTERS_RE:J7e,SHEBANG:Q7e,BACKSLASH_ESCAPE:Oo,APOS_STRING_MODE:X7e,QUOTE_STRING_MODE:eAe,PHRASAL_WORDS_MODE:tAe,COMMENT:yi,C_LINE_COMMENT_MODE:nAe,C_BLOCK_COMMENT_MODE:sAe,HASH_COMMENT_MODE:oAe,NUMBER_MODE:rAe,C_NUMBER_MODE:iAe,BINARY_NUMBER_MODE:aAe,REGEXP_MODE:lAe,TITLE_MODE:cAe,UNDERSCORE_TITLE_MODE:dAe,METHOD_GUARD:uAe,END_SAME_AS_BEGIN:hAe});function fAe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function pAe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function gAe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=fAe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function mAe(t,e){Array.isArray(t.illegal)&&(t.illegal=_c(...t.illegal))}function _Ae(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 bAe(t,e){t.relevance===void 0&&(t.relevance=1)}const yAe=(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=ls(n.beforeMatch,Sg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},vAe=["of","and","for","in","not","or","if","then","parent","list","value"],wAe="keyword";function Dg(t,e,n=wAe){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,Dg(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,xAe(l[0],l[1])]})}}function xAe(t,e){return e?Number(e):kAe(t)?0:1}function kAe(t){return vAe.includes(t.toLowerCase())}const ju={},Jn=t=>{console.error(t)},Uu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},fs=(t,e)=>{ju[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),ju[`${t}/${e}`]=!0)},Or=new Error;function Lg(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+=Tg(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function EAe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Jn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Or;if(typeof t.beginScope!="object"||t.beginScope===null)throw Jn("beginScope must be object"),Or;Lg(t,t.begin,{key:"beginScope"}),t.begin=bc(t.begin,{joinWith:""})}}function CAe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Jn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Or;if(typeof t.endScope!="object"||t.endScope===null)throw Jn("endScope must be object"),Or;Lg(t,t.end,{key:"endScope"}),t.end=bc(t.end,{joinWith:""})}}function AAe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function SAe(t){AAe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),EAe(t),CAe(t)}function TAe(t){function e(i,a){return new RegExp(Mo(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+=Tg(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(bc(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const d=l.findIndex((h,f)=>f>0&&h!==void 0),u=this.matchIndexes[d];return l.splice(0,d),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(([d,u])=>l.addRule(d,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 d=l.exec(a);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,d=u.exec(a)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}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;[pAe,_Ae,SAe,yAe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[gAe,mAe,bAe].forEach(u=>u(i,a)),i.isCompiled=!0;let d=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),d=i.keywords.$pattern,delete i.keywords.$pattern),d=d||/\w+/,i.keywords&&(i.keywords=Dg(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(d,!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=Mo(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 MAe(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=Tn(t.classNameAliases||{}),r(t)}function Ig(t){return t?t.endsWithParent||Ig(t.starts):!1}function MAe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Tn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Ig(t)?Tn(t,{starts:t.starts?Tn(t.starts):null}):Object.isFrozen(t)?Tn(t):t}var OAe="11.8.0";class RAe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const na=Ag,qu=Tn,Hu=Symbol("nomatch"),NAe=7,Pg=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:H7e};function l(T){return a.noHighlightRe.test(T)}function d(T){let q=T.className+" ";q+=T.parentNode?T.parentNode.className:"";const G=a.languageDetectRe.exec(q);if(G){const we=E(G[1]);return we||(Uu(r.replace("{}",G[1])),Uu("Falling back to no-highlight mode for this block.",T)),we?G[1]:"no-highlight"}return q.split(/\s+/).find(we=>l(we)||E(we))}function u(T,q,G){let we="",_e="";typeof q=="object"?(we=T,G=q.ignoreIllegals,_e=q.language):(fs("10.7.0","highlight(lang, code, ...args) has been deprecated."),fs("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),_e=T,we=q),G===void 0&&(G=!0);const ee={code:we,language:_e};ce("before:highlight",ee);const ke=ee.result?ee.result:h(ee.language,ee.code,G);return ke.code=ee.code,ce("after:highlight",ke),ke}function h(T,q,G,we){const _e=Object.create(null);function ee(W,ie){return W.keywords[ie]}function ke(){if(!j.keywords){U.addText(Y);return}let W=0;j.keywordPatternRe.lastIndex=0;let ie=j.keywordPatternRe.exec(Y),me="";for(;ie;){me+=Y.substring(W,ie.index);const Te=z.case_insensitive?ie[0].toLowerCase():ie[0],Be=ee(j,Te);if(Be){const[We,Pe]=Be;if(U.addText(me),me="",_e[Te]=(_e[Te]||0)+1,_e[Te]<=NAe&&(le+=Pe),We.startsWith("_"))me+=ie[0];else{const et=z.classNameAliases[We]||We;Q(ie[0],et)}}else me+=ie[0];W=j.keywordPatternRe.lastIndex,ie=j.keywordPatternRe.exec(Y)}me+=Y.substring(W),U.addText(me)}function Se(){if(Y==="")return;let W=null;if(typeof j.subLanguage=="string"){if(!e[j.subLanguage]){U.addText(Y);return}W=h(j.subLanguage,Y,!0,re[j.subLanguage]),re[j.subLanguage]=W._top}else W=g(Y,j.subLanguage.length?j.subLanguage:null);j.relevance>0&&(le+=W.relevance),U.__addSublanguage(W._emitter,W.language)}function N(){j.subLanguage!=null?Se():ke(),Y=""}function Q(W,ie){W!==""&&(U.startScope(ie),U.addText(W),U.endScope())}function V(W,ie){let me=1;const Te=ie.length-1;for(;me<=Te;){if(!W._emit[me]){me++;continue}const Be=z.classNameAliases[W[me]]||W[me],We=ie[me];Be?Q(We,Be):(Y=We,ke(),Y=""),me++}}function te(W,ie){return W.scope&&typeof W.scope=="string"&&U.openNode(z.classNameAliases[W.scope]||W.scope),W.beginScope&&(W.beginScope._wrap?(Q(Y,z.classNameAliases[W.beginScope._wrap]||W.beginScope._wrap),Y=""):W.beginScope._multi&&(V(W.beginScope,ie),Y="")),j=Object.create(W,{parent:{value:j}}),j}function X(W,ie,me){let Te=W7e(W.endRe,me);if(Te){if(W["on:end"]){const Be=new Bu(W);W["on:end"](ie,Be),Be.isMatchIgnored&&(Te=!1)}if(Te){for(;W.endsParent&&W.parent;)W=W.parent;return W}}if(W.endsWithParent)return X(W.parent,ie,me)}function ge(W){return j.matcher.regexIndex===0?(Y+=W[0],1):(Ce=!0,0)}function he(W){const ie=W[0],me=W.rule,Te=new Bu(me),Be=[me.__beforeBegin,me["on:begin"]];for(const We of Be)if(We&&(We(W,Te),Te.isMatchIgnored))return ge(ie);return me.skip?Y+=ie:(me.excludeBegin&&(Y+=ie),N(),!me.returnBegin&&!me.excludeBegin&&(Y=ie)),te(me,W),me.returnBegin?0:ie.length}function w(W){const ie=W[0],me=q.substring(W.index),Te=X(j,W,me);if(!Te)return Hu;const Be=j;j.endScope&&j.endScope._wrap?(N(),Q(ie,j.endScope._wrap)):j.endScope&&j.endScope._multi?(N(),V(j.endScope,W)):Be.skip?Y+=ie:(Be.returnEnd||Be.excludeEnd||(Y+=ie),N(),Be.excludeEnd&&(Y=ie));do j.scope&&U.closeNode(),!j.skip&&!j.subLanguage&&(le+=j.relevance),j=j.parent;while(j!==Te.parent);return Te.starts&&te(Te.starts,W),Be.returnEnd?0:ie.length}function A(){const W=[];for(let ie=j;ie!==z;ie=ie.parent)ie.scope&&W.unshift(ie.scope);W.forEach(ie=>U.openNode(ie))}let F={};function $(W,ie){const me=ie&&ie[0];if(Y+=W,me==null)return N(),0;if(F.type==="begin"&&ie.type==="end"&&F.index===ie.index&&me===""){if(Y+=q.slice(ie.index,ie.index+1),!o){const Te=new Error(`0 width match regex (${T})`);throw Te.languageName=T,Te.badRule=F.rule,Te}return 1}if(F=ie,ie.type==="begin")return he(ie);if(ie.type==="illegal"&&!G){const Te=new Error('Illegal lexeme "'+me+'" for mode "'+(j.scope||"")+'"');throw Te.mode=j,Te}else if(ie.type==="end"){const Te=w(ie);if(Te!==Hu)return Te}if(ie.type==="illegal"&&me==="")return 1;if(fe>1e5&&fe>ie.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=me,me.length}const z=E(T);if(!z)throw Jn(r.replace("{}",T)),new Error('Unknown language: "'+T+'"');const ne=TAe(z);let ae="",j=we||ne;const re={},U=new a.__emitter(a);A();let Y="",le=0,pe=0,fe=0,Ce=!1;try{if(z.__emitTokens)z.__emitTokens(q,U);else{for(j.matcher.considerAll();;){fe++,Ce?Ce=!1:j.matcher.considerAll(),j.matcher.lastIndex=pe;const W=j.matcher.exec(q);if(!W)break;const ie=q.substring(pe,W.index),me=$(ie,W);pe=W.index+me}$(q.substring(pe))}return U.finalize(),ae=U.toHTML(),{language:T,value:ae,relevance:le,illegal:!1,_emitter:U,_top:j}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:T,value:na(q),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:pe,context:q.slice(pe-100,pe+100),mode:W.mode,resultSoFar:ae},_emitter:U};if(o)return{language:T,value:na(q),illegal:!1,relevance:0,errorRaised:W,_emitter:U,_top:j};throw W}}function f(T){const q={value:na(T),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return q._emitter.addText(T),q}function g(T,q){q=q||a.languages||Object.keys(e);const G=f(T),we=q.filter(E).filter(L).map(N=>h(N,T,!1));we.unshift(G);const _e=we.sort((N,Q)=>{if(N.relevance!==Q.relevance)return Q.relevance-N.relevance;if(N.language&&Q.language){if(E(N.language).supersetOf===Q.language)return 1;if(E(Q.language).supersetOf===N.language)return-1}return 0}),[ee,ke]=_e,Se=ee;return Se.secondBest=ke,Se}function m(T,q,G){const we=q&&n[q]||G;T.classList.add("hljs"),T.classList.add(`language-${we}`)}function _(T){let q=null;const G=d(T);if(l(G))return;if(ce("before:highlightElement",{el:T,language:G}),T.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(T)),a.throwUnescapedHTML))throw new RAe("One of your code blocks includes unescaped HTML.",T.innerHTML);q=T;const we=q.textContent,_e=G?u(we,{language:G,ignoreIllegals:!0}):g(we);T.innerHTML=_e.value,m(T,G,_e.language),T.result={language:_e.language,re:_e.relevance,relevance:_e.relevance},_e.secondBest&&(T.secondBest={language:_e.secondBest.language,relevance:_e.secondBest.relevance}),ce("after:highlightElement",{el:T,result:_e,text:we})}function p(T){a=qu(a,T)}const b=()=>{S(),fs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){S(),fs("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function S(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(_)}function R(){x&&S()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function O(T,q){let G=null;try{G=q(t)}catch(we){if(Jn("Language definition for '{}' could not be registered.".replace("{}",T)),o)Jn(we);else throw we;G=i}G.name||(G.name=T),e[T]=G,G.rawDefinition=q.bind(null,t),G.aliases&&M(G.aliases,{languageName:T})}function D(T){delete e[T];for(const q of Object.keys(n))n[q]===T&&delete n[q]}function v(){return Object.keys(e)}function E(T){return T=(T||"").toLowerCase(),e[T]||e[n[T]]}function M(T,{languageName:q}){typeof T=="string"&&(T=[T]),T.forEach(G=>{n[G.toLowerCase()]=q})}function L(T){const q=E(T);return q&&!q.disableAutodetect}function B(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=q=>{T["before:highlightBlock"](Object.assign({block:q.el},q))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=q=>{T["after:highlightBlock"](Object.assign({block:q.el},q))})}function J(T){B(T),s.push(T)}function P(T){const q=s.indexOf(T);q!==-1&&s.splice(q,1)}function ce(T,q){const G=T;s.forEach(function(we){we[G]&&we[G](q)})}function Z(T){return fs("10.7.0","highlightBlock will be removed entirely in v12.0"),fs("10.7.0","Please use highlightElement now."),_(T)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:S,highlightElement:_,highlightBlock:Z,configure:p,initHighlighting:b,initHighlightingOnLoad:y,registerLanguage:O,unregisterLanguage:D,listLanguages:v,getLanguage:E,registerAliases:M,autoDetection:L,inherit:qu,addPlugin:J,removePlugin:P}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=OAe,t.regex={concat:ls,lookahead:Sg,either:_c,optional:G7e,anyNumberOfTimes:V7e};for(const T in Qo)typeof Qo[T]=="object"&&Cg(Qo[T]);return Object.assign(t,Qo),t},Ls=Pg({});Ls.newInstance=()=>Pg({});var DAe=Ls;Ls.HighlightJS=Ls;Ls.default=Ls;var sa,Vu;function LAe(){if(Vu)return sa;Vu=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"}),d=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,d,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,d,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[d]},{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 sa=t,sa}var oa,Gu;function IAe(){if(Gu)return oa;Gu=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:/\\"/},d={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${h.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},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],_=["true","false"],p={match:/(\/[a-z._-]+)+/},b=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],y=["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"],S=["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:m,literal:_,built_in:[...b,...y,"set","shopt",...x,...S]},contains:[f,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,p,a,l,d,s]}}return oa=t,oa}var ra,Ku;function PAe(){if(Ku)return ra;Ku=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/}]},d="\\\\(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)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={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},f={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},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",b={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"},y=[f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:y.concat([{begin:/\(/,end:/\)/,keywords:b,contains:y.concat(["self"]),relevance:0}]),relevance:0},S={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:b,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:b,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:u,keywords:b}}}return ra=t,ra}var ia,Wu;function FAe(){if(Wu)return ia;Wu=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"},d="\\\\(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)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={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},f={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},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",_=["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"],p=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],b=["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"],y=["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"],R={type:p,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:b},O={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[O,f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:D.concat([{begin:/\(/,end:/\)/,keywords:R,contains:D.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:m,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"",keywords:R,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return ia=t,ia}var aa,Zu;function BAe(){if(Zu)return aa;Zu=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)*"}),d={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:'""'}]},h=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},_={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},p=e.inherit(_,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});f.contains=[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.C_BLOCK_COMMENT_MODE],g.contains=[p,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const b={variants:[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",S={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"}},b,d,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,y,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,y,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,y],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[b,d,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},S]}}return aa=t,aa}var la,Yu;function $Ae(){if(Yu)return la;Yu=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,d=t(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",m=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,u,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+g,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return la=i,la}var ca,Ju;function zAe(){if(Ju)return ca;Ju=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+.-]*/,d={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}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(u,{contains:[]}),g=e.inherit(h,{contains:[]});u.contains.push(g),h.contains.push(f);let m=[s,d];return[u,h,f,g].forEach(b=>{b.contains=b.contains.concat(m)}),m=m.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},s,i,u,h,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},r,o,d,a]}}return ca=t,ca}var da,Qu;function jAe(){if(Qu)return da;Qu=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 da=t,da}var ua,Xu;function UAe(){if(Xu)return ua;Xu=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]+"},d={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,h],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,h]})]}]},g="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",_={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${m}))?([eE][+-]?(${m})|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"}]},p={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[f,{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:[p]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:s}],relevance:0},_,{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,h],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(d,u),relevance:0}].concat(d,u);h.contains=D,p.contains=D;const v="[>?]>",E="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+v+"|"+E+"|"+M+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return u.unshift(d),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(L).concat(u).concat(D)}}return ua=t,ua}var ha,eh;function qAe(){if(eh)return ha;eh=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]*",d=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={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"]},_={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},p={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,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:[p,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+d+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[_,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,_]}}return ga=r,ga}var ma,oh;function KAe(){if(oh)return ma;oh=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(d){const u=d.regex,h=(V,{after:te})=>{const X="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,te)=>{const X=V[0].length+V.index,ge=V.input[X];if(ge==="<"||ge===","){te.ignoreMatch();return}ge===">"&&(h(V,{after:X})||te.ignoreMatch());let he;const w=V.input.substring(X);if(he=w.match(/^\s*=/)){te.ignoreMatch();return}if((he=w.match(/^\s+extends\s+/))&&he.index===0){te.ignoreMatch();return}}},p={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",y=`\\.(${b})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",S={className:"number",variants:[{begin:`(\\b(${x})((${y})|\\.)?|(${y}))[eE][+-]?(${b})\\b`},{begin:`\\b(${x})\\b((${y})\\b|\\.)?|(${y})\\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},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:p,contains:[]},O={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"css"}},v={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},E={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,R]},L={className:"comment",variants:[d.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:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},B=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,D,v,E,{match:/\$\d+/},S];R.contains=B.concat({begin:/\{/,end:/\}/,keywords:p,contains:["self"].concat(B)});const J=[].concat(L,R.contains),P=J.concat([{begin:/\(/,end:/\)/,keywords:p,contains:["self"].concat(J)}]),ce={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:P},Z={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,u.concat(f,"(",u.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},T={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)['"]/},G={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ce],illegal:/%/},we={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _e(V){return u.concat("(?!",V.join("|"),")")}const ee={match:u.concat(/\b/,_e([...r,"super","import"]),f,u.lookahead(/\(/)),className:"title.function",relevance:0},ke={begin:u.concat(/\./,u.lookahead(u.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Se={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ce]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",Q={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ce]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:p,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),q,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,D,v,E,L,{match:/\$\d+/},S,T,{className:"attr",begin:f+u.lookahead(":"),relevance:0},Q,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[L,d.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:P}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:m},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ce,d.inherit(d.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},ke,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ce]},ee,we,Z,Se,{match:/\$[(.]/}]}}return ma=l,ma}var _a,rh;function WAe(){if(rh)return _a;rh=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 _a=t,_a}var ba,ih;function ZAe(){if(ih)return ba;ih=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+"@"},d={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,d]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,d]}]};d.contains.push(h);const f={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(h,{className:"string"}),"self"]}]},m=s,_=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),p={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},b=p;return b.variants[1].contains=[p],p.variants[1].contains=[b],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,_,a,l,f,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:[p,r.C_LINE_COMMENT_MODE,_],relevance:0},r.C_LINE_COMMENT_MODE,_,f,g,h,r.C_NUMBER_MODE]},_]},{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},f,g]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},m]}}return ba=o,ba}var ya,ah;function YAe(){if(ah)return ya;ah=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 d=t(l),u=i,h="and or not only",f="[\\w-]+",g="("+f+"|@\\{"+f+"\\})",m=[],_=[],p=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},b=function(L,B,J){return{className:L,begin:B,relevance:J}},y={$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:_,keywords:y,relevance:0};_.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,p("'"),p('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,x,b("variable","@@?"+f,10),b("variable","@\\{"+f+"\\}"),b("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const S=_.concat({begin:/\{/,end:/\}/,contains:m}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(_)},O={begin:g+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:_}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:_,relevance:0}},v={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:S}},E={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:g,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,R,b("keyword","all\\b"),b("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,b("selector-tag",g,0),b("selector-id","#"+g),b("selector-class","\\."+g,0),b("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:S},{begin:"!important"},d.FUNCTION_DISPATCH]},M={begin:f+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[E]};return m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,v,M,O,E,R,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return ya=a,ya}var va,lh;function JAe(){if(lh)return va;lh=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 va=t,va}var wa,ch;function QAe(){if(ch)return wa;ch=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}]},d=[e.BACKSLASH_ESCAPE,i,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(m,_,p="\\1")=>{const b=p==="\\1"?p:n.concat(p,_);return n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,b,/(?:\\.|[^\\\/])*?/,p,o)},f=(m,_,p)=>n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,p,o),g=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:d,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:h("s|tr|y",n.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("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 xa=t,xa}var ka,uh;function eSe(){if(uh)return ka;uh=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"]},d={$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:"("+d.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:d,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return ka=t,ka}var Ea,hh;function tSe(){if(hh)return Ea;hh=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:/\}/}]},d=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)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(P,ce)=>{ce.data._beginMatch=P[1]||P[2]},"on:end":(P,ce)=>{ce.data._beginMatch!==P[1]&&ce.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[ -]`,m={scope:"string",variants:[u,d,h,f]},_={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},p=["false","null","true"],b=["__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"],y=["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"],S={keyword:b,literal:(P=>{const ce=[];return P.forEach(Z=>{ce.push(Z),Z.toLowerCase()===Z?ce.push(Z.toUpperCase()):ce.push(Z.toLowerCase())}),ce})(p),built_in:y},R=P=>P.map(ce=>ce.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",R(y).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),v={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"}}]},E={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:S,contains:[E,i,v,e.C_BLOCK_COMMENT_MODE,m,_,O]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(b).join("\\b|"),"|",R(y).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(L);const B=[E,v,e.C_BLOCK_COMMENT_MODE,m,_,O],J={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:p,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:p,keyword:["new","array"]},contains:["self",...B]},...B,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:S,contains:[J,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,v,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},O,{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:S,contains:["self",i,v,e.C_BLOCK_COMMENT_MODE,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]},m,_]}}return Ea=t,Ea}var Ca,fh;function nSe(){if(fh)return Ca;fh=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 Ca=t,Ca}var Aa,ph;function sSe(){if(ph)return Aa;ph=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Aa=t,Aa}var Sa,gh;function oSe(){if(gh)return Sa;gh=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"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d,h,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,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,_=`\\b|${o.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${m}))[eE][+-]?(${g})[jJ]?(?=${_})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${_})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${_})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${_})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${_})`},{begin:`\\b(${g})[jJ](?=${_})`}]},b={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},y={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",d,p,f,e.HASH_COMMENT_MODE]}]};return u.contains=[f,p,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[d,p,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,b,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[y]},{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:[p,y,f]}]}}return Sa=t,Sa}var Ta,mh;function rSe(){if(mh)return Ta;mh=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Ta=t,Ta}var Ma,_h;function iSe(){if(_h)return Ma;_h=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 Ma=t,Ma}var Oa,bh;function aSe(){if(bh)return Oa;bh=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 Oa=t,Oa}var Ra,yh;function lSe(){if(yh)return Ra;yh=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),d=o,u=s,h="@[a-z-]+",f="and or not only",m={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:":(:)?("+d.join("|")+")"},m,{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,m,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:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Ra=i,Ra}var Na,vh;function cSe(){if(vh)return Na;vh=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 Na=t,Na}var Da,wh;function dSe(){if(wh)return Da;wh=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"],d=["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"],h=["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"],f=["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"],m=h,_=[...u,...d].filter(S=>!h.includes(S)),p={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},b={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:n.concat(/\b/,n.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function x(S,{exceptions:R,when:O}={}){const D=O;return R=R||[],S.map(v=>v.match(/\|\d+$/)||R.includes(v)?v:D(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(_,{when:S=>S.length<3}),literal:i,type:l,built_in:f},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:_.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},y,p,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,b]}}return Da=t,Da}var La,xh;function uSe(){if(xh)return La;xh=1;function t(v){return v?typeof v=="string"?v:v.source:null}function e(v){return n("(?=",v,")")}function n(...v){return v.map(M=>t(M)).join("")}function s(v){const E=v[v.length-1];return typeof E=="object"&&E.constructor===Object?(v.splice(v.length-1,1),E):{}}function o(...v){return"("+(s(v).capture?"":"?:")+v.map(L=>t(L)).join("|")+")"}const r=v=>n(/\b/,v,/\w$/.test(v)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],d=["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"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#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"],m=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]/),_=o(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),p=n(m,_,"*"),b=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]/),y=o(b,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(b,y,"*"),S=n(/[A-Z]/,y,"*"),R=["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"],O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(v){const E={match:/\s+/,relevance:0},M=v.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[v.C_LINE_COMMENT_MODE,M],B={match:[/\./,o(...i,...a)],className:{2:"keyword"}},J={match:n(/\./,o(...d)),relevance:0},P=d.filter(Pe=>typeof Pe=="string").concat(["_|0"]),ce=d.filter(Pe=>typeof Pe!="string").concat(l).map(r),Z={variants:[{className:"keyword",match:o(...ce,...a)}]},T={$pattern:o(/\b\w+/,/#\w+/),keyword:P.concat(f),literal:u},q=[B,J,Z],G={match:n(/\./,o(...g)),relevance:0},we={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},_e=[G,we],ee={match:/->/,relevance:0},ke={className:"operator",relevance:0,variants:[{match:p},{match:`\\.(\\.|${_})+`}]},Se=[ee,ke],N="([0-9]_*)+",Q="([0-9a-fA-F]_*)+",V={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/}]},te=(Pe="")=>({className:"subst",variants:[{match:n(/\\/,Pe,/[0\\tnr"']/)},{match:n(/\\/,Pe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(Pe="")=>({className:"subst",match:n(/\\/,Pe,/[\t ]*(?:[\r\n]|\r\n)/)}),ge=(Pe="")=>({className:"subst",label:"interpol",begin:n(/\\/,Pe,/\(/),end:/\)/}),he=(Pe="")=>({begin:n(Pe,/"""/),end:n(/"""/,Pe),contains:[te(Pe),X(Pe),ge(Pe)]}),w=(Pe="")=>({begin:n(Pe,/"/),end:n(/"/,Pe),contains:[te(Pe),ge(Pe)]}),A={className:"string",variants:[he(),he("#"),he("##"),he("###"),w(),w("#"),w("##"),w("###")]},F={match:n(/`/,x,/`/)},$={className:"variable",match:/\$\d+/},z={className:"variable",match:`\\$${y}+`},ne=[F,$,z],ae={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[...Se,V,A]}]}},j={className:"keyword",match:n(/@/,o(...R))},re={className:"meta",match:n(/@/,x)},U=[ae,j,re],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)/,y,"+")},{className:"type",match:S,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(S)),relevance:0}]},le={begin://,keywords:T,contains:[...L,...q,...U,ee,Y]};Y.contains.push(le);const pe={match:n(x,/\s*:/),keywords:"_|0",relevance:0},fe={begin:/\(/,end:/\)/,relevance:0,keywords:T,contains:["self",pe,...L,...q,..._e,...Se,V,A,...ne,...U,Y]},Ce={begin://,contains:[...L,Y]},W={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}]},ie={begin:/\(/,end:/\)/,keywords:T,contains:[W,...L,...q,...Se,V,A,...U,Y,fe],endsParent:!0,illegal:/["']/},me={match:[/func/,/\s+/,o(F.match,x,p)],className:{1:"keyword",3:"title.function"},contains:[Ce,ie,E],illegal:[/\[/,/%/]},Te={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ce,ie,E],illegal:/\[|%/},Be={match:[/operator/,/\s+/,p],className:{1:"keyword",3:"title"}},We={begin:[/precedencegroup/,/\s+/,S],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...h,...u],end:/}/};for(const Pe of A.variants){const et=Pe.contains.find(ct=>ct.label==="interpol");et.keywords=T;const st=[...q,..._e,...Se,V,A,...ne];et.contains=[...st,{begin:/\(/,end:/\)/,contains:["self",...st]}]}return{name:"Swift",keywords:T,contains:[...L,me,Te,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:T,contains:[v.inherit(v.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...q]},Be,We,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...q,..._e,...Se,V,A,...ne,...U,Y,fe]}}return La=D,La}var Ia,kh;function hSe(){if(kh)return Ia;kh=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}",d="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+d+u+h+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},m={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},_={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},p=[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}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,_,i],b=[...p];return b.pop(),b.push(a),g.contains=b,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:p}}return Ia=t,Ia}var Pa,Eh;function fSe(){if(Eh)return Pa;Eh=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 h=u.regex,f=(te,{after:X})=>{const ge="",end:""},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const ge=te[0].length+te.index,he=te.input[ge];if(he==="<"||he===","){X.ignoreMatch();return}he===">"&&(f(te,{after:ge})||X.ignoreMatch());let w;const A=te.input.substring(ge);if(w=A.match(/^\s*=/)){X.ignoreMatch();return}if((w=A.match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},b={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},y="[0-9](_?[0-9])*",x=`\\.(${y})`,S="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${S})((${x})|\\.)?|(${x}))[eE][+-]?(${y})\\b`},{begin:`\\b(${S})\\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},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:b,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"css"}},E={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,O]},B={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]},J=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,v,E,M,{match:/\$\d+/},R];O.contains=J.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(J)});const P=[].concat(B,O.contains),ce=P.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(P)}]),Z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:ce},T={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,h.concat(g,"(",h.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:h.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]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},we={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Z],illegal:/%/},_e={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(te){return h.concat("(?!",te.join("|"),")")}const ke={match:h.concat(/\b/,ee([...r,"super","import"]),g,h.lookahead(/\(/)),className:"title.function",relevance:0},Se={begin:h.concat(/\./,h.lookahead(h.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:/\(\)/},Z]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",V={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:ce,CLASS_REFERENCE:q},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,v,E,M,B,{match:/\$\d+/},R,q,{className:"attr",begin:g+h.lookahead(":"),relevance:0},V,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,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:b,contains:ce}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:_},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},we,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Z,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Se,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Z]},ke,_e,T,N,{match:/\$[(.]/}]}}function d(u){const h=l(u),f=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],m={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},_={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[h.exports.CLASS_REFERENCE]},p={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},b=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],y={$pattern:t,keyword:e.concat(b),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+f},S=(O,D,v)=>{const E=O.contains.findIndex(M=>M.label===D);if(E===-1)throw new Error("can not find mode to replace");O.contains.splice(E,1,v)};Object.assign(h.keywords,y),h.exports.PARAMS_CONTAINS.push(x),h.contains=h.contains.concat([x,m,_]),S(h,"shebang",u.SHEBANG()),S(h,"use_strict",p);const R=h.contains.find(O=>O.label==="func.def");return R.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Pa=d,Pa}var Fa,Ch;function pSe(){if(Ch)return Fa;Ch=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}/,d={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])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=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,d,u,h,f,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 Fa=t,Fa}var Ba,Ah;function gSe(){if(Ah)return Ba;Ah=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/},d={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,d,u,l]}}return Ba=t,Ba}var Le=DAe;Le.registerLanguage("xml",LAe());Le.registerLanguage("bash",IAe());Le.registerLanguage("c",PAe());Le.registerLanguage("cpp",FAe());Le.registerLanguage("csharp",BAe());Le.registerLanguage("css",$Ae());Le.registerLanguage("markdown",zAe());Le.registerLanguage("diff",jAe());Le.registerLanguage("ruby",UAe());Le.registerLanguage("go",qAe());Le.registerLanguage("graphql",HAe());Le.registerLanguage("ini",VAe());Le.registerLanguage("java",GAe());Le.registerLanguage("javascript",KAe());Le.registerLanguage("json",WAe());Le.registerLanguage("kotlin",ZAe());Le.registerLanguage("less",YAe());Le.registerLanguage("lua",JAe());Le.registerLanguage("makefile",QAe());Le.registerLanguage("perl",XAe());Le.registerLanguage("objectivec",eSe());Le.registerLanguage("php",tSe());Le.registerLanguage("php-template",nSe());Le.registerLanguage("plaintext",sSe());Le.registerLanguage("python",oSe());Le.registerLanguage("python-repl",rSe());Le.registerLanguage("r",iSe());Le.registerLanguage("rust",aSe());Le.registerLanguage("scss",lSe());Le.registerLanguage("shell",cSe());Le.registerLanguage("sql",dSe());Le.registerLanguage("swift",uSe());Le.registerLanguage("yaml",hSe());Le.registerLanguage("typescript",fSe());Le.registerLanguage("vbnet",pSe());Le.registerLanguage("wasm",gSe());Le.HighlightJS=Le;Le.default=Le;var mSe=Le;const ho=as(mSe);var Dn={};Dn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let d="",u="",h=!0,f=!1;for(let g=e+n.leftDelimiter.length;g=s+1:u.length>=s}let r,i,a,l;const d=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,d),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+d),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))}};Dn.removeDelimiter=function(t,e){const n=gl(e.leftDelimiter),s=gl(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function gl(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Dn.escapeRegExp=gl;Dn.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 _Se=/[&<>"]/,bSe=/[&<>"]/g,ySe={"&":"&","<":"<",">":">",'"':"""};function vSe(t){return ySe[t]}Dn.escapeHtml=function(t){return _Se.test(t)?t.replace(bSe,vSe):t};const Ie=Dn;var wSe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Ie.escapeRegExp(t.leftDelimiter)+"[^"+Ie.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Ie.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Ie.getAttrs(o.info,r,t);Ie.addAttrs(i,o),o.info=Ie.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:Ie.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=Ie.getAttrs(r.content,0,t);Ie.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:Ie.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Ie.getMatchingOpeningToken(n,s),i=Ie.getAttrs(o.content,0,t);Ie.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:Ie.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ie.getAttrs(i,0,t),l=Ie.getMatchingOpeningToken(n[s].children,o-1);Ie.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:Ie.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Ie.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--;Ie.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:Ie.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Ie.getAttrs(r,0,t),a=Ie.getMatchingOpeningToken(n,s);Ie.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:Ie.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ie.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Ie.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Sh(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:Ie.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Ie.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Ie.getMatchingOpeningToken(n,a);Ie.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=Ie.getAttrs(r,i,t);Ie.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Ie.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=Ie.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const d=Ie.getMatchingOpeningToken(n,l);Ie.addAttrs(a,d);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Sh(u)!==" "?u:u.slice(0,-1)}}]};function Sh(t){return t.slice(-1)[0]}const xSe=wSe,kSe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var ESe=function(e,n){let s=Object.assign({},kSe);s=Object.assign(s,n);const o=xSe(s);function r(i){const a=i.tokens;for(let l=0;l{const m=ml(a,l,g);return m.j!==null&&(h=m.j),m.match})&&(u.transform(a,l,h),(u.name==="inline attributes"||u.name==="inline nesting 0")&&d--)}}e.core.ruler.before("linkify","curly_attributes",r)};function ml(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=SSe(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"&&CSe(n.children)){if(r.children.length===0)return s;let a;const l=n.children,d=r.children;if(l.every(u=>u.position!==void 0)){if(a=l.every(u=>ml(d,u.position,u).match),a){const u=TSe(l).position;s.j=u>=0?u:d.length+u}}else for(let u=0;uml(d,u,h).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(ASe(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 CSe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function ASe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function SSe(t,e){return e>=0?t[e]:t[t.length+e]}function TSe(t){return t.slice(-1)[0]||{}}const MSe=as(ESe);function OSe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const _l=new Dte("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=OSe();if(e&&ho.getLanguage(e))try{const r=ho.highlight(e,t).value;return'
'+e+'
'+r+'
'}catch(r){console.error(`Syntax highlighting failed for language '${e}':`,r)}let s=e=="python"?'':"";return'
'+e+''+s+'
'+ho.highlightAuto(t).value+'
'},bulletListMarker:"-"}).use(MSe).use(ms).use(z7e).use(F7e);ho.configure({languages:[]});ho.configure({languages:["javascript"]});_l.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 RSe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` +`})))});function Bu(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 ms(t,e){e=Object.assign({},ms.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(h){return s.includes(h)}):function(h){return function(f){return f>=h}}(e.level),a=0;af.match(h))}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 zAe=as($Ae);function Ag(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)&&Ag(n)}),t}class $u{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Sg(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Tn(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 jAe="
",zu=t=>!!t.scope,UAe=(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 qAe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Sg(e)}openNode(e){if(!zu(e))return;const n=UAe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){zu(e)&&(this.buffer+=jAe)}value(){return this.buffer}span(e){this.buffer+=``}}const ju=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class mc{constructor(){this.rootNode=ju(),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=ju({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=>{mc._collapse(n)}))}}class HAe extends mc{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 qAe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Mo(t){return t?typeof t=="string"?t:t.source:null}function Tg(t){return ls("(?=",t,")")}function VAe(t){return ls("(?:",t,")*")}function GAe(t){return ls("(?:",t,")?")}function ls(...t){return t.map(n=>Mo(n)).join("")}function KAe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function _c(...t){return"("+(KAe(t).capture?"":"?:")+t.map(s=>Mo(s)).join("|")+")"}function Mg(t){return new RegExp(t.toString()+"|").exec("").length-1}function WAe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const ZAe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function bc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=Mo(s),i="";for(;r.length>0;){const a=ZAe.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 YAe=/\b\B/,Og="[a-zA-Z]\\w*",yc="[a-zA-Z_]\\w*",Rg="\\b\\d+(\\.\\d+)?",Ng="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Dg="\\b(0b[01]+)",JAe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",QAe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ls(e,/.*\b/,t.binary,/\b.*/)),Tn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Oo={begin:"\\\\[\\s\\S]",relevance:0},XAe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Oo]},eSe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Oo]},tSe={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/},yi=function(t,e,n={}){const s=Tn({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=_c("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:ls(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},nSe=yi("//","$"),sSe=yi("/\\*","\\*/"),oSe=yi("#","$"),rSe={scope:"number",begin:Rg,relevance:0},iSe={scope:"number",begin:Ng,relevance:0},aSe={scope:"number",begin:Dg,relevance:0},lSe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Oo,{begin:/\[/,end:/\]/,relevance:0,contains:[Oo]}]}]},cSe={scope:"title",begin:Og,relevance:0},dSe={scope:"title",begin:yc,relevance:0},uSe={begin:"\\.\\s*"+yc,relevance:0},hSe=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 Qo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:YAe,IDENT_RE:Og,UNDERSCORE_IDENT_RE:yc,NUMBER_RE:Rg,C_NUMBER_RE:Ng,BINARY_NUMBER_RE:Dg,RE_STARTERS_RE:JAe,SHEBANG:QAe,BACKSLASH_ESCAPE:Oo,APOS_STRING_MODE:XAe,QUOTE_STRING_MODE:eSe,PHRASAL_WORDS_MODE:tSe,COMMENT:yi,C_LINE_COMMENT_MODE:nSe,C_BLOCK_COMMENT_MODE:sSe,HASH_COMMENT_MODE:oSe,NUMBER_MODE:rSe,C_NUMBER_MODE:iSe,BINARY_NUMBER_MODE:aSe,REGEXP_MODE:lSe,TITLE_MODE:cSe,UNDERSCORE_TITLE_MODE:dSe,METHOD_GUARD:uSe,END_SAME_AS_BEGIN:hSe});function fSe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function pSe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function gSe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=fSe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function mSe(t,e){Array.isArray(t.illegal)&&(t.illegal=_c(...t.illegal))}function _Se(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 bSe(t,e){t.relevance===void 0&&(t.relevance=1)}const ySe=(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=ls(n.beforeMatch,Tg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},vSe=["of","and","for","in","not","or","if","then","parent","list","value"],wSe="keyword";function Lg(t,e,n=wSe){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,Lg(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,xSe(l[0],l[1])]})}}function xSe(t,e){return e?Number(e):kSe(t)?0:1}function kSe(t){return vSe.includes(t.toLowerCase())}const Uu={},Jn=t=>{console.error(t)},qu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},fs=(t,e)=>{Uu[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Uu[`${t}/${e}`]=!0)},Or=new Error;function Ig(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+=Mg(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function ESe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Jn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Or;if(typeof t.beginScope!="object"||t.beginScope===null)throw Jn("beginScope must be object"),Or;Ig(t,t.begin,{key:"beginScope"}),t.begin=bc(t.begin,{joinWith:""})}}function CSe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Jn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Or;if(typeof t.endScope!="object"||t.endScope===null)throw Jn("endScope must be object"),Or;Ig(t,t.end,{key:"endScope"}),t.end=bc(t.end,{joinWith:""})}}function ASe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function SSe(t){ASe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),ESe(t),CSe(t)}function TSe(t){function e(i,a){return new RegExp(Mo(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+=Mg(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(bc(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const d=l.findIndex((h,f)=>f>0&&h!==void 0),u=this.matchIndexes[d];return l.splice(0,d),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(([d,u])=>l.addRule(d,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 d=l.exec(a);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,d=u.exec(a)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}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;[pSe,_Se,SSe,ySe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[gSe,mSe,bSe].forEach(u=>u(i,a)),i.isCompiled=!0;let d=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),d=i.keywords.$pattern,delete i.keywords.$pattern),d=d||/\w+/,i.keywords&&(i.keywords=Lg(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(d,!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=Mo(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 MSe(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=Tn(t.classNameAliases||{}),r(t)}function Pg(t){return t?t.endsWithParent||Pg(t.starts):!1}function MSe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Tn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Pg(t)?Tn(t,{starts:t.starts?Tn(t.starts):null}):Object.isFrozen(t)?Tn(t):t}var OSe="11.8.0";class RSe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const na=Sg,Hu=Tn,Vu=Symbol("nomatch"),NSe=7,Fg=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:HAe};function l(T){return a.noHighlightRe.test(T)}function d(T){let q=T.className+" ";q+=T.parentNode?T.parentNode.className:"";const G=a.languageDetectRe.exec(q);if(G){const we=E(G[1]);return we||(qu(r.replace("{}",G[1])),qu("Falling back to no-highlight mode for this block.",T)),we?G[1]:"no-highlight"}return q.split(/\s+/).find(we=>l(we)||E(we))}function u(T,q,G){let we="",_e="";typeof q=="object"?(we=T,G=q.ignoreIllegals,_e=q.language):(fs("10.7.0","highlight(lang, code, ...args) has been deprecated."),fs("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),_e=T,we=q),G===void 0&&(G=!0);const ee={code:we,language:_e};ce("before:highlight",ee);const ke=ee.result?ee.result:h(ee.language,ee.code,G);return ke.code=ee.code,ce("after:highlight",ke),ke}function h(T,q,G,we){const _e=Object.create(null);function ee(W,re){return W.keywords[re]}function ke(){if(!j.keywords){U.addText(Y);return}let W=0;j.keywordPatternRe.lastIndex=0;let re=j.keywordPatternRe.exec(Y),me="";for(;re;){me+=Y.substring(W,re.index);const Te=z.case_insensitive?re[0].toLowerCase():re[0],Be=ee(j,Te);if(Be){const[We,Pe]=Be;if(U.addText(me),me="",_e[Te]=(_e[Te]||0)+1,_e[Te]<=NSe&&(le+=Pe),We.startsWith("_"))me+=re[0];else{const et=z.classNameAliases[We]||We;Q(re[0],et)}}else me+=re[0];W=j.keywordPatternRe.lastIndex,re=j.keywordPatternRe.exec(Y)}me+=Y.substring(W),U.addText(me)}function Se(){if(Y==="")return;let W=null;if(typeof j.subLanguage=="string"){if(!e[j.subLanguage]){U.addText(Y);return}W=h(j.subLanguage,Y,!0,oe[j.subLanguage]),oe[j.subLanguage]=W._top}else W=p(Y,j.subLanguage.length?j.subLanguage:null);j.relevance>0&&(le+=W.relevance),U.__addSublanguage(W._emitter,W.language)}function N(){j.subLanguage!=null?Se():ke(),Y=""}function Q(W,re){W!==""&&(U.startScope(re),U.addText(W),U.endScope())}function V(W,re){let me=1;const Te=re.length-1;for(;me<=Te;){if(!W._emit[me]){me++;continue}const Be=z.classNameAliases[W[me]]||W[me],We=re[me];Be?Q(We,Be):(Y=We,ke(),Y=""),me++}}function te(W,re){return W.scope&&typeof W.scope=="string"&&U.openNode(z.classNameAliases[W.scope]||W.scope),W.beginScope&&(W.beginScope._wrap?(Q(Y,z.classNameAliases[W.beginScope._wrap]||W.beginScope._wrap),Y=""):W.beginScope._multi&&(V(W.beginScope,re),Y="")),j=Object.create(W,{parent:{value:j}}),j}function X(W,re,me){let Te=WAe(W.endRe,me);if(Te){if(W["on:end"]){const Be=new $u(W);W["on:end"](re,Be),Be.isMatchIgnored&&(Te=!1)}if(Te){for(;W.endsParent&&W.parent;)W=W.parent;return W}}if(W.endsWithParent)return X(W.parent,re,me)}function ge(W){return j.matcher.regexIndex===0?(Y+=W[0],1):(Ce=!0,0)}function he(W){const re=W[0],me=W.rule,Te=new $u(me),Be=[me.__beforeBegin,me["on:begin"]];for(const We of Be)if(We&&(We(W,Te),Te.isMatchIgnored))return ge(re);return me.skip?Y+=re:(me.excludeBegin&&(Y+=re),N(),!me.returnBegin&&!me.excludeBegin&&(Y=re)),te(me,W),me.returnBegin?0:re.length}function w(W){const re=W[0],me=q.substring(W.index),Te=X(j,W,me);if(!Te)return Vu;const Be=j;j.endScope&&j.endScope._wrap?(N(),Q(re,j.endScope._wrap)):j.endScope&&j.endScope._multi?(N(),V(j.endScope,W)):Be.skip?Y+=re:(Be.returnEnd||Be.excludeEnd||(Y+=re),N(),Be.excludeEnd&&(Y=re));do j.scope&&U.closeNode(),!j.skip&&!j.subLanguage&&(le+=j.relevance),j=j.parent;while(j!==Te.parent);return Te.starts&&te(Te.starts,W),Be.returnEnd?0:re.length}function A(){const W=[];for(let re=j;re!==z;re=re.parent)re.scope&&W.unshift(re.scope);W.forEach(re=>U.openNode(re))}let F={};function $(W,re){const me=re&&re[0];if(Y+=W,me==null)return N(),0;if(F.type==="begin"&&re.type==="end"&&F.index===re.index&&me===""){if(Y+=q.slice(re.index,re.index+1),!o){const Te=new Error(`0 width match regex (${T})`);throw Te.languageName=T,Te.badRule=F.rule,Te}return 1}if(F=re,re.type==="begin")return he(re);if(re.type==="illegal"&&!G){const Te=new Error('Illegal lexeme "'+me+'" for mode "'+(j.scope||"")+'"');throw Te.mode=j,Te}else if(re.type==="end"){const Te=w(re);if(Te!==Vu)return Te}if(re.type==="illegal"&&me==="")return 1;if(fe>1e5&&fe>re.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=me,me.length}const z=E(T);if(!z)throw Jn(r.replace("{}",T)),new Error('Unknown language: "'+T+'"');const ne=TSe(z);let ae="",j=we||ne;const oe={},U=new a.__emitter(a);A();let Y="",le=0,pe=0,fe=0,Ce=!1;try{if(z.__emitTokens)z.__emitTokens(q,U);else{for(j.matcher.considerAll();;){fe++,Ce?Ce=!1:j.matcher.considerAll(),j.matcher.lastIndex=pe;const W=j.matcher.exec(q);if(!W)break;const re=q.substring(pe,W.index),me=$(re,W);pe=W.index+me}$(q.substring(pe))}return U.finalize(),ae=U.toHTML(),{language:T,value:ae,relevance:le,illegal:!1,_emitter:U,_top:j}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:T,value:na(q),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:pe,context:q.slice(pe-100,pe+100),mode:W.mode,resultSoFar:ae},_emitter:U};if(o)return{language:T,value:na(q),illegal:!1,relevance:0,errorRaised:W,_emitter:U,_top:j};throw W}}function f(T){const q={value:na(T),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return q._emitter.addText(T),q}function p(T,q){q=q||a.languages||Object.keys(e);const G=f(T),we=q.filter(E).filter(L).map(N=>h(N,T,!1));we.unshift(G);const _e=we.sort((N,Q)=>{if(N.relevance!==Q.relevance)return Q.relevance-N.relevance;if(N.language&&Q.language){if(E(N.language).supersetOf===Q.language)return 1;if(E(Q.language).supersetOf===N.language)return-1}return 0}),[ee,ke]=_e,Se=ee;return Se.secondBest=ke,Se}function m(T,q,G){const we=q&&n[q]||G;T.classList.add("hljs"),T.classList.add(`language-${we}`)}function _(T){let q=null;const G=d(T);if(l(G))return;if(ce("before:highlightElement",{el:T,language:G}),T.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(T)),a.throwUnescapedHTML))throw new RSe("One of your code blocks includes unescaped HTML.",T.innerHTML);q=T;const we=q.textContent,_e=G?u(we,{language:G,ignoreIllegals:!0}):p(we);T.innerHTML=_e.value,m(T,G,_e.language),T.result={language:_e.language,re:_e.relevance,relevance:_e.relevance},_e.secondBest&&(T.secondBest={language:_e.secondBest.language,relevance:_e.secondBest.relevance}),ce("after:highlightElement",{el:T,result:_e,text:we})}function g(T){a=Hu(a,T)}const b=()=>{S(),fs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){S(),fs("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function S(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(_)}function R(){x&&S()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function O(T,q){let G=null;try{G=q(t)}catch(we){if(Jn("Language definition for '{}' could not be registered.".replace("{}",T)),o)Jn(we);else throw we;G=i}G.name||(G.name=T),e[T]=G,G.rawDefinition=q.bind(null,t),G.aliases&&M(G.aliases,{languageName:T})}function D(T){delete e[T];for(const q of Object.keys(n))n[q]===T&&delete n[q]}function v(){return Object.keys(e)}function E(T){return T=(T||"").toLowerCase(),e[T]||e[n[T]]}function M(T,{languageName:q}){typeof T=="string"&&(T=[T]),T.forEach(G=>{n[G.toLowerCase()]=q})}function L(T){const q=E(T);return q&&!q.disableAutodetect}function B(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=q=>{T["before:highlightBlock"](Object.assign({block:q.el},q))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=q=>{T["after:highlightBlock"](Object.assign({block:q.el},q))})}function J(T){B(T),s.push(T)}function I(T){const q=s.indexOf(T);q!==-1&&s.splice(q,1)}function ce(T,q){const G=T;s.forEach(function(we){we[G]&&we[G](q)})}function Z(T){return fs("10.7.0","highlightBlock will be removed entirely in v12.0"),fs("10.7.0","Please use highlightElement now."),_(T)}Object.assign(t,{highlight:u,highlightAuto:p,highlightAll:S,highlightElement:_,highlightBlock:Z,configure:g,initHighlighting:b,initHighlightingOnLoad:y,registerLanguage:O,unregisterLanguage:D,listLanguages:v,getLanguage:E,registerAliases:M,autoDetection:L,inherit:Hu,addPlugin:J,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=OSe,t.regex={concat:ls,lookahead:Tg,either:_c,optional:GAe,anyNumberOfTimes:VAe};for(const T in Qo)typeof Qo[T]=="object"&&Ag(Qo[T]);return Object.assign(t,Qo),t},Ls=Fg({});Ls.newInstance=()=>Fg({});var DSe=Ls;Ls.HighlightJS=Ls;Ls.default=Ls;var sa,Gu;function LSe(){if(Gu)return sa;Gu=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"}),d=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,d,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,d,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[d]},{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 sa=t,sa}var oa,Ku;function ISe(){if(Ku)return oa;Ku=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:/\\"/},d={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${h.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},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],_=["true","false"],g={match:/(\/[a-z._-]+)+/},b=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],y=["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"],S=["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:m,literal:_,built_in:[...b,...y,"set","shopt",...x,...S]},contains:[f,e.SHEBANG(),p,u,e.HASH_COMMENT_MODE,i,g,a,l,d,s]}}return oa=t,oa}var ra,Wu;function PSe(){if(Wu)return ra;Wu=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/}]},d="\\\\(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)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={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},f={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]},p={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",b={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"},y=[f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:y.concat([{begin:/\(/,end:/\)/,keywords:b,contains:y.concat(["self"]),relevance:0}]),relevance:0},S={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:b,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(p,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:b,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:u,keywords:b}}}return ra=t,ra}var ia,Zu;function FSe(){if(Zu)return ia;Zu=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"},d="\\\\(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)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={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},f={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]},p={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",_=["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"],g=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],b=["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"],y=["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"],R={type:g,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:b},O={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[O,f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:D.concat([{begin:/\(/,end:/\)/,keywords:R,contains:D.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:m,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"",keywords:R,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return ia=t,ia}var aa,Yu;function BSe(){if(Yu)return aa;Yu=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)*"}),d={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:'""'}]},h=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},p=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,p]},_={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},g=e.inherit(_,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});f.contains=[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.C_BLOCK_COMMENT_MODE],p.contains=[g,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const b={variants:[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",S={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"}},b,d,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,y,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,y,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,y],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[b,d,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},S]}}return aa=t,aa}var la,Ju;function $Se(){if(Ju)return la;Ju=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,d=t(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,p="[a-zA-Z-][a-zA-Z0-9_-]*",m=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,u,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+p,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return la=i,la}var ca,Qu;function zSe(){if(Qu)return ca;Qu=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+.-]*/,d={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}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(u,{contains:[]}),p=e.inherit(h,{contains:[]});u.contains.push(p),h.contains.push(f);let m=[s,d];return[u,h,f,p].forEach(b=>{b.contains=b.contains.concat(m)}),m=m.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},s,i,u,h,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},r,o,d,a]}}return ca=t,ca}var da,Xu;function jSe(){if(Xu)return da;Xu=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 da=t,da}var ua,eh;function USe(){if(eh)return ua;eh=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]+"},d={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,h],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,h]})]}]},p="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",_={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${m}))?([eE][+-]?(${m})|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"}]},g={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[f,{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:[g]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:s}],relevance:0},_,{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,h],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(d,u),relevance:0}].concat(d,u);h.contains=D,g.contains=D;const v="[>?]>",E="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+v+"|"+E+"|"+M+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return u.unshift(d),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(L).concat(u).concat(D)}}return ua=t,ua}var ha,th;function qSe(){if(th)return ha;th=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]*",d=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={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"]},_={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},g={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,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:[g,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+d+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[_,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,_]}}return ga=r,ga}var ma,rh;function KSe(){if(rh)return ma;rh=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(d){const u=d.regex,h=(V,{after:te})=>{const X="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,te)=>{const X=V[0].length+V.index,ge=V.input[X];if(ge==="<"||ge===","){te.ignoreMatch();return}ge===">"&&(h(V,{after:X})||te.ignoreMatch());let he;const w=V.input.substring(X);if(he=w.match(/^\s*=/)){te.ignoreMatch();return}if((he=w.match(/^\s+extends\s+/))&&he.index===0){te.ignoreMatch();return}}},g={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",y=`\\.(${b})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",S={className:"number",variants:[{begin:`(\\b(${x})((${y})|\\.)?|(${y}))[eE][+-]?(${b})\\b`},{begin:`\\b(${x})\\b((${y})\\b|\\.)?|(${y})\\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},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},O={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"css"}},v={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},E={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,R]},L={className:"comment",variants:[d.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:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},B=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,D,v,E,{match:/\$\d+/},S];R.contains=B.concat({begin:/\{/,end:/\}/,keywords:g,contains:["self"].concat(B)});const J=[].concat(L,R.contains),I=J.concat([{begin:/\(/,end:/\)/,keywords:g,contains:["self"].concat(J)}]),ce={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:I},Z={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,u.concat(f,"(",u.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},T={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)['"]/},G={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ce],illegal:/%/},we={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _e(V){return u.concat("(?!",V.join("|"),")")}const ee={match:u.concat(/\b/,_e([...r,"super","import"]),f,u.lookahead(/\(/)),className:"title.function",relevance:0},ke={begin:u.concat(/\./,u.lookahead(u.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Se={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ce]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",Q={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ce]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),q,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,D,v,E,L,{match:/\$\d+/},S,T,{className:"attr",begin:f+u.lookahead(":"),relevance:0},Q,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[L,d.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:m},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ce,d.inherit(d.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},ke,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ce]},ee,we,Z,Se,{match:/\$[(.]/}]}}return ma=l,ma}var _a,ih;function WSe(){if(ih)return _a;ih=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 _a=t,_a}var ba,ah;function ZSe(){if(ah)return ba;ah=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+"@"},d={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,d]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,d]}]};d.contains.push(h);const f={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(h,{className:"string"}),"self"]}]},m=s,_=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),g={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},b=g;return b.variants[1].contains=[g],g.variants[1].contains=[b],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,_,a,l,f,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:[g,r.C_LINE_COMMENT_MODE,_],relevance:0},r.C_LINE_COMMENT_MODE,_,f,p,h,r.C_NUMBER_MODE]},_]},{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},f,p]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},m]}}return ba=o,ba}var ya,lh;function YSe(){if(lh)return ya;lh=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 d=t(l),u=i,h="and or not only",f="[\\w-]+",p="("+f+"|@\\{"+f+"\\})",m=[],_=[],g=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},b=function(L,B,J){return{className:L,begin:B,relevance:J}},y={$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:_,keywords:y,relevance:0};_.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,g("'"),g('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,x,b("variable","@@?"+f,10),b("variable","@\\{"+f+"\\}"),b("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const S=_.concat({begin:/\{/,end:/\}/,contains:m}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(_)},O={begin:p+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:_}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:_,relevance:0}},v={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:S}},E={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:p,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,R,b("keyword","all\\b"),b("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,b("selector-tag",p,0),b("selector-id","#"+p),b("selector-class","\\."+p,0),b("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:S},{begin:"!important"},d.FUNCTION_DISPATCH]},M={begin:f+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[E]};return m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,v,M,O,E,R,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return ya=a,ya}var va,ch;function JSe(){if(ch)return va;ch=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 va=t,va}var wa,dh;function QSe(){if(dh)return wa;dh=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}]},d=[e.BACKSLASH_ESCAPE,i,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(m,_,g="\\1")=>{const b=g==="\\1"?g:n.concat(g,_);return n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,b,/(?:\\.|[^\\\/])*?/,g,o)},f=(m,_,g)=>n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,g,o),p=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:d,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:h("s|tr|y",n.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("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 xa=t,xa}var ka,hh;function eTe(){if(hh)return ka;hh=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"]},d={$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:"("+d.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:d,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return ka=t,ka}var Ea,fh;function tTe(){if(fh)return Ea;fh=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:/\}/}]},d=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)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(I,ce)=>{ce.data._beginMatch=I[1]||I[2]},"on:end":(I,ce)=>{ce.data._beginMatch!==I[1]&&ce.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[ +]`,m={scope:"string",variants:[u,d,h,f]},_={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},g=["false","null","true"],b=["__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"],y=["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"],S={keyword:b,literal:(I=>{const ce=[];return I.forEach(Z=>{ce.push(Z),Z.toLowerCase()===Z?ce.push(Z.toUpperCase()):ce.push(Z.toLowerCase())}),ce})(g),built_in:y},R=I=>I.map(ce=>ce.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,n.concat(p,"+"),n.concat("(?!",R(y).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),v={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"}}]},E={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:S,contains:[E,i,v,e.C_BLOCK_COMMENT_MODE,m,_,O]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(b).join("\\b|"),"|",R(y).join("\\b|"),"\\b)"),o,n.concat(p,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(L);const B=[E,v,e.C_BLOCK_COMMENT_MODE,m,_,O],J={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:g,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:["new","array"]},contains:["self",...B]},...B,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:S,contains:[J,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,v,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},O,{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:S,contains:["self",i,v,e.C_BLOCK_COMMENT_MODE,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]},m,_]}}return Ea=t,Ea}var Ca,ph;function nTe(){if(ph)return Ca;ph=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 Ca=t,Ca}var Aa,gh;function sTe(){if(gh)return Aa;gh=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Aa=t,Aa}var Sa,mh;function oTe(){if(mh)return Sa;mh=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"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d,h,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,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",m=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,_=`\\b|${o.join("|")}`,g={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${m}))[eE][+-]?(${p})[jJ]?(?=${_})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${_})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${_})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${_})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${_})`},{begin:`\\b(${p})[jJ](?=${_})`}]},b={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},y={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",d,g,f,e.HASH_COMMENT_MODE]}]};return u.contains=[f,g,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[d,g,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,b,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[y]},{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:[g,y,f]}]}}return Sa=t,Sa}var Ta,_h;function rTe(){if(_h)return Ta;_h=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Ta=t,Ta}var Ma,bh;function iTe(){if(bh)return Ma;bh=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 Ma=t,Ma}var Oa,yh;function aTe(){if(yh)return Oa;yh=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 Oa=t,Oa}var Ra,vh;function lTe(){if(vh)return Ra;vh=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),d=o,u=s,h="@[a-z-]+",f="and or not only",m={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:":(:)?("+d.join("|")+")"},m,{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,m,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:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Ra=i,Ra}var Na,wh;function cTe(){if(wh)return Na;wh=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 Na=t,Na}var Da,xh;function dTe(){if(xh)return Da;xh=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"],d=["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"],h=["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"],f=["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"],m=h,_=[...u,...d].filter(S=>!h.includes(S)),g={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},b={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:n.concat(/\b/,n.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function x(S,{exceptions:R,when:O}={}){const D=O;return R=R||[],S.map(v=>v.match(/\|\d+$/)||R.includes(v)?v:D(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(_,{when:S=>S.length<3}),literal:i,type:l,built_in:f},contains:[{begin:n.either(...p),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:_.concat(p),literal:i,type:l}},{className:"type",begin:n.either(...a)},y,g,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,b]}}return Da=t,Da}var La,kh;function uTe(){if(kh)return La;kh=1;function t(v){return v?typeof v=="string"?v:v.source:null}function e(v){return n("(?=",v,")")}function n(...v){return v.map(M=>t(M)).join("")}function s(v){const E=v[v.length-1];return typeof E=="object"&&E.constructor===Object?(v.splice(v.length-1,1),E):{}}function o(...v){return"("+(s(v).capture?"":"?:")+v.map(L=>t(L)).join("|")+")"}const r=v=>n(/\b/,v,/\w$/.test(v)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],d=["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"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#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"],m=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]/),_=o(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),g=n(m,_,"*"),b=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]/),y=o(b,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(b,y,"*"),S=n(/[A-Z]/,y,"*"),R=["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"],O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(v){const E={match:/\s+/,relevance:0},M=v.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[v.C_LINE_COMMENT_MODE,M],B={match:[/\./,o(...i,...a)],className:{2:"keyword"}},J={match:n(/\./,o(...d)),relevance:0},I=d.filter(Pe=>typeof Pe=="string").concat(["_|0"]),ce=d.filter(Pe=>typeof Pe!="string").concat(l).map(r),Z={variants:[{className:"keyword",match:o(...ce,...a)}]},T={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(f),literal:u},q=[B,J,Z],G={match:n(/\./,o(...p)),relevance:0},we={className:"built_in",match:n(/\b/,o(...p),/(?=\()/)},_e=[G,we],ee={match:/->/,relevance:0},ke={className:"operator",relevance:0,variants:[{match:g},{match:`\\.(\\.|${_})+`}]},Se=[ee,ke],N="([0-9]_*)+",Q="([0-9a-fA-F]_*)+",V={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/}]},te=(Pe="")=>({className:"subst",variants:[{match:n(/\\/,Pe,/[0\\tnr"']/)},{match:n(/\\/,Pe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(Pe="")=>({className:"subst",match:n(/\\/,Pe,/[\t ]*(?:[\r\n]|\r\n)/)}),ge=(Pe="")=>({className:"subst",label:"interpol",begin:n(/\\/,Pe,/\(/),end:/\)/}),he=(Pe="")=>({begin:n(Pe,/"""/),end:n(/"""/,Pe),contains:[te(Pe),X(Pe),ge(Pe)]}),w=(Pe="")=>({begin:n(Pe,/"/),end:n(/"/,Pe),contains:[te(Pe),ge(Pe)]}),A={className:"string",variants:[he(),he("#"),he("##"),he("###"),w(),w("#"),w("##"),w("###")]},F={match:n(/`/,x,/`/)},$={className:"variable",match:/\$\d+/},z={className:"variable",match:`\\$${y}+`},ne=[F,$,z],ae={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[...Se,V,A]}]}},j={className:"keyword",match:n(/@/,o(...R))},oe={className:"meta",match:n(/@/,x)},U=[ae,j,oe],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)/,y,"+")},{className:"type",match:S,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(S)),relevance:0}]},le={begin://,keywords:T,contains:[...L,...q,...U,ee,Y]};Y.contains.push(le);const pe={match:n(x,/\s*:/),keywords:"_|0",relevance:0},fe={begin:/\(/,end:/\)/,relevance:0,keywords:T,contains:["self",pe,...L,...q,..._e,...Se,V,A,...ne,...U,Y]},Ce={begin://,contains:[...L,Y]},W={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}]},re={begin:/\(/,end:/\)/,keywords:T,contains:[W,...L,...q,...Se,V,A,...U,Y,fe],endsParent:!0,illegal:/["']/},me={match:[/func/,/\s+/,o(F.match,x,g)],className:{1:"keyword",3:"title.function"},contains:[Ce,re,E],illegal:[/\[/,/%/]},Te={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ce,re,E],illegal:/\[|%/},Be={match:[/operator/,/\s+/,g],className:{1:"keyword",3:"title"}},We={begin:[/precedencegroup/,/\s+/,S],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...h,...u],end:/}/};for(const Pe of A.variants){const et=Pe.contains.find(ct=>ct.label==="interpol");et.keywords=T;const st=[...q,..._e,...Se,V,A,...ne];et.contains=[...st,{begin:/\(/,end:/\)/,contains:["self",...st]}]}return{name:"Swift",keywords:T,contains:[...L,me,Te,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:T,contains:[v.inherit(v.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...q]},Be,We,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...q,..._e,...Se,V,A,...ne,...U,Y,fe]}}return La=D,La}var Ia,Eh;function hTe(){if(Eh)return Ia;Eh=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}",d="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+d+u+h+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},m={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},_={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},g=[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}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,_,i],b=[...g];return b.pop(),b.push(a),p.contains=b,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:g}}return Ia=t,Ia}var Pa,Ch;function fTe(){if(Ch)return Pa;Ch=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 h=u.regex,f=(te,{after:X})=>{const ge="",end:""},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,g={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const ge=te[0].length+te.index,he=te.input[ge];if(he==="<"||he===","){X.ignoreMatch();return}he===">"&&(f(te,{after:ge})||X.ignoreMatch());let w;const A=te.input.substring(ge);if(w=A.match(/^\s*=/)){X.ignoreMatch();return}if((w=A.match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},b={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},y="[0-9](_?[0-9])*",x=`\\.(${y})`,S="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${S})((${x})|\\.)?|(${x}))[eE][+-]?(${y})\\b`},{begin:`\\b(${S})\\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},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:b,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"css"}},E={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,O]},B={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:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},J=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,v,E,M,{match:/\$\d+/},R];O.contains=J.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(J)});const I=[].concat(B,O.contains),ce=I.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(I)}]),Z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:ce},T={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,h.concat(p,"(",h.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},q={relevance:0,match:h.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]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},we={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Z],illegal:/%/},_e={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(te){return h.concat("(?!",te.join("|"),")")}const ke={match:h.concat(/\b/,ee([...r,"super","import"]),p,h.lookahead(/\(/)),className:"title.function",relevance:0},Se={begin:h.concat(/\./,h.lookahead(h.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Z]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",V={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:ce,CLASS_REFERENCE:q},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,v,E,M,B,{match:/\$\d+/},R,q,{className:"attr",begin:p+h.lookahead(":"),relevance:0},V,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,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:b,contains:ce}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:_},{begin:g.begin,"on:begin":g.isTrulyOpeningTag,end:g.end}],subLanguage:"xml",contains:[{begin:g.begin,end:g.end,skip:!0,contains:["self"]}]}]},we,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Z,u.inherit(u.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},Se,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Z]},ke,_e,T,N,{match:/\$[(.]/}]}}function d(u){const h=l(u),f=t,p=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],m={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},_={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:p},contains:[h.exports.CLASS_REFERENCE]},g={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},b=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],y={$pattern:t,keyword:e.concat(b),literal:n,built_in:a.concat(p),"variable.language":i},x={className:"meta",begin:"@"+f},S=(O,D,v)=>{const E=O.contains.findIndex(M=>M.label===D);if(E===-1)throw new Error("can not find mode to replace");O.contains.splice(E,1,v)};Object.assign(h.keywords,y),h.exports.PARAMS_CONTAINS.push(x),h.contains=h.contains.concat([x,m,_]),S(h,"shebang",u.SHEBANG()),S(h,"use_strict",g);const R=h.contains.find(O=>O.label==="func.def");return R.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Pa=d,Pa}var Fa,Ah;function pTe(){if(Ah)return Fa;Ah=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}/,d={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])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=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,d,u,h,f,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 Fa=t,Fa}var Ba,Sh;function gTe(){if(Sh)return Ba;Sh=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/},d={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,d,u,l]}}return Ba=t,Ba}var Le=DSe;Le.registerLanguage("xml",LSe());Le.registerLanguage("bash",ISe());Le.registerLanguage("c",PSe());Le.registerLanguage("cpp",FSe());Le.registerLanguage("csharp",BSe());Le.registerLanguage("css",$Se());Le.registerLanguage("markdown",zSe());Le.registerLanguage("diff",jSe());Le.registerLanguage("ruby",USe());Le.registerLanguage("go",qSe());Le.registerLanguage("graphql",HSe());Le.registerLanguage("ini",VSe());Le.registerLanguage("java",GSe());Le.registerLanguage("javascript",KSe());Le.registerLanguage("json",WSe());Le.registerLanguage("kotlin",ZSe());Le.registerLanguage("less",YSe());Le.registerLanguage("lua",JSe());Le.registerLanguage("makefile",QSe());Le.registerLanguage("perl",XSe());Le.registerLanguage("objectivec",eTe());Le.registerLanguage("php",tTe());Le.registerLanguage("php-template",nTe());Le.registerLanguage("plaintext",sTe());Le.registerLanguage("python",oTe());Le.registerLanguage("python-repl",rTe());Le.registerLanguage("r",iTe());Le.registerLanguage("rust",aTe());Le.registerLanguage("scss",lTe());Le.registerLanguage("shell",cTe());Le.registerLanguage("sql",dTe());Le.registerLanguage("swift",uTe());Le.registerLanguage("yaml",hTe());Le.registerLanguage("typescript",fTe());Le.registerLanguage("vbnet",pTe());Le.registerLanguage("wasm",gTe());Le.HighlightJS=Le;Le.default=Le;var mTe=Le;const ho=as(mTe);var Dn={};Dn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let d="",u="",h=!0,f=!1;for(let p=e+n.leftDelimiter.length;p=s+1:u.length>=s}let r,i,a,l;const d=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,d),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+d),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))}};Dn.removeDelimiter=function(t,e){const n=gl(e.leftDelimiter),s=gl(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function gl(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Dn.escapeRegExp=gl;Dn.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 _Te=/[&<>"]/,bTe=/[&<>"]/g,yTe={"&":"&","<":"<",">":">",'"':"""};function vTe(t){return yTe[t]}Dn.escapeHtml=function(t){return _Te.test(t)?t.replace(bTe,vTe):t};const Ie=Dn;var wTe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Ie.escapeRegExp(t.leftDelimiter)+"[^"+Ie.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Ie.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Ie.getAttrs(o.info,r,t);Ie.addAttrs(i,o),o.info=Ie.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:Ie.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=Ie.getAttrs(r.content,0,t);Ie.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:Ie.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Ie.getMatchingOpeningToken(n,s),i=Ie.getAttrs(o.content,0,t);Ie.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:Ie.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ie.getAttrs(i,0,t),l=Ie.getMatchingOpeningToken(n[s].children,o-1);Ie.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:Ie.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Ie.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--;Ie.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:Ie.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Ie.getAttrs(r,0,t),a=Ie.getMatchingOpeningToken(n,s);Ie.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:Ie.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ie.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Ie.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Th(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:Ie.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Ie.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Ie.getMatchingOpeningToken(n,a);Ie.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=Ie.getAttrs(r,i,t);Ie.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Ie.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=Ie.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const d=Ie.getMatchingOpeningToken(n,l);Ie.addAttrs(a,d);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Th(u)!==" "?u:u.slice(0,-1)}}]};function Th(t){return t.slice(-1)[0]}const xTe=wTe,kTe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var ETe=function(e,n){let s=Object.assign({},kTe);s=Object.assign(s,n);const o=xTe(s);function r(i){const a=i.tokens;for(let l=0;l{const m=ml(a,l,p);return m.j!==null&&(h=m.j),m.match})&&(u.transform(a,l,h),(u.name==="inline attributes"||u.name==="inline nesting 0")&&d--)}}e.core.ruler.before("linkify","curly_attributes",r)};function ml(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=STe(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"&&CTe(n.children)){if(r.children.length===0)return s;let a;const l=n.children,d=r.children;if(l.every(u=>u.position!==void 0)){if(a=l.every(u=>ml(d,u.position,u).match),a){const u=TTe(l).position;s.j=u>=0?u:d.length+u}}else for(let u=0;uml(d,u,h).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(ATe(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 CTe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function ATe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function STe(t,e){return e>=0?t[e]:t[t.length+e]}function TTe(t){return t.slice(-1)[0]||{}}const MTe=as(ETe);function OTe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const _l=new Dte("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=OTe();if(e&&ho.getLanguage(e))try{const r=ho.highlight(e,t).value;return'
'+e+'
'+r+'
'}catch(r){console.error(`Syntax highlighting failed for language '${e}':`,r)}let s=e=="python"?'':"";return'
'+e+''+s+'
'+ho.highlightAuto(t).value+'
'},bulletListMarker:"-"}).use(MTe).use(ms).use(zAe).use(FAe);ho.configure({languages:[]});ho.configure({languages:["javascript"]});_l.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 RTe={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 function copyContentToClipboard(id) { @@ -80,7 +80,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),_e=T,we=q),G===void 0& }); } - `,t.async=!0,document.body.appendChild(t),this.markdownText?this.renderedMarkdown=_l.render(this.markdownText):this.renderedMarkdown="",be(()=>{ve.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=_l.render(t),be(()=>{ve.replace()})}}},NSe={class:"break-all"},DSe=["innerHTML"];function LSe(t,e,n,s,o,r){return k(),C("div",NSe,[c("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,DSe)])}const Fg=Ue(RSe,[["render",LSe]]);const ISe={props:{value:String,inputType:{type:String,default:"text",validator:t=>["text","email","password","file","path","integer","float"].includes(t)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(t){console.log("Changing value to ",t),this.inputValue=t}},mounted(){be(()=>{ve.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(t){this.inputValue=t.target.value,this.$emit("input",t.target.value)},getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(t){if(this.inputType==="integer"){const e=t.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",t.target.value),this.$emit("input",t.target.value)},async pasteFromClipboard(){try{const t=await navigator.clipboard.readText();this.handleClipboardData(t)}catch(t){console.error("Failed to read from clipboard:",t)}},handlePaste(t){const e=t.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(t){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(t)?t:"";break;case"password":this.inputValue=t;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(t);break;case"float":this.inputValue=this.parseFloat(t);break;default:this.inputValue=t;break}},isValidEmail(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)},parseInteger(t){const e=parseInt(t);return isNaN(e)?"":e},parseFloat(t){const e=parseFloat(t);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(t){const e=t.target.files[0];e&&(this.inputValue=e.name)}}},PSe={class:"flex items-center space-x-2"},FSe=["value","type","placeholder"],BSe=["value","min","max"],$Se=c("i",{"data-feather":"clipboard"},null,-1),zSe=[$Se],jSe=c("i",{"data-feather":"upload"},null,-1),USe=[jSe],qSe=["accept"];function HSe(t,e,n,s,o,r){return k(),C("div",PSe,[t.useSlider?(k(),C("input",{key:1,type:"range",value:parseInt(o.inputValue),min:t.minSliderValue,max:t.maxSliderValue,onInput:e[2]||(e[2]=(...i)=>r.handleSliderInput&&r.handleSliderInput(...i)),class:"flex-1 px-4 py-2 text-lg border dark:bg-gray-600 border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,BSe)):(k(),C("input",{key:0,value:o.inputValue,type:n.inputType,placeholder:o.placeholderText,onInput:e[0]||(e[0]=(...i)=>r.handleInput&&r.handleInput(...i)),onPaste:e[1]||(e[1]=(...i)=>r.handlePaste&&r.handlePaste(...i)),class:"flex-1 px-4 py-2 text-lg dark:bg-gray-600 border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,FSe)),c("button",{onClick:e[3]||(e[3]=(...i)=>r.pasteFromClipboard&&r.pasteFromClipboard(...i)),class:"p-2 bg-blue-500 dark:bg-gray-600 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},zSe),n.inputType==="file"?(k(),C("button",{key:2,onClick:e[4]||(e[4]=(...i)=>r.openFileInput&&r.openFileInput(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},USe)):I("",!0),n.inputType==="file"?(k(),C("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:n.fileAccept,onChange:e[5]||(e[5]=(...i)=>r.handleFileInputChange&&r.handleFileInputChange(...i))},null,40,qSe)):I("",!0)])}const vc=Ue(ISe,[["render",HSe]]);const VSe={props:{is_subcard:{type:Boolean,default:!1},is_shrunk:{type:Boolean,default:!1},title:{type:String,default:""},isHorizontal:{type:Boolean,default:!1},cardWidth:{type:String,default:"w-3/4"},disableHoverAnimation:{type:Boolean,default:!0},disableFocus:{type:Boolean,default:!1}},data(){return{shrink:this.is_shrunk,isHovered:!1,isActive:!1}},computed:{cardClass(){return["bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","w-full","p-2.5","dark:bg-gray-500","dark:border-gray-600","dark:placeholder-gray-400","dark:text-white","dark:focus:ring-blue-500","dark:focus:border-blue-500",{"cursor-pointer":!this.isActive&&!this.disableFocus,"w-auto":!this.isActive}]},cardWidthClass(){return this.isActive?this.cardWidth:""}},methods:{toggleCard(){this.disableFocus||(this.isActive=!this.isActive)}}},GSe={key:1,class:"flex flex-wrap"},KSe={key:2,class:"mb-2"};function WSe(t,e,n,s,o,r){return k(),C(Re,null,[o.isActive?(k(),C("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...i)=>r.toggleCard&&r.toggleCard(...i))})):I("",!0),se(c("div",{class:Me(["border-blue-300 rounded-lg shadow-lg p-2",r.cardWidthClass,"m-2",{"bg-white dark:bg-gray-800":n.is_subcard},{"bg-white dark:bg-gray-900":!n.is_subcard},{hovered:!n.disableHoverAnimation&&o.isHovered,active:o.isActive}]),onMouseenter:e[2]||(e[2]=i=>o.isHovered=!0),onMouseleave:e[3]||(e[3]=i=>o.isHovered=!1),onClick:e[4]||(e[4]=de((...i)=>r.toggleCard&&r.toggleCard(...i),["self"])),style:yt({cursor:this.disableFocus?"":"pointer"})},[n.title?(k(),C("div",{key:0,onClick:e[1]||(e[1]=i=>o.shrink=!0),class:Me([{"text-center p-2 m-2 bg-gray-200":!n.is_subcard},"bg-gray-100 dark:bg-gray-500 rounded-lg pl-2 pr-2 mb-2 font-bold cursor-pointer"])},H(n.title),3)):I("",!0),n.isHorizontal?(k(),C("div",GSe,[xr(t.$slots,"default")])):(k(),C("div",KSe,[xr(t.$slots,"default")]))],38),[[Ye,o.shrink===!1]]),n.is_subcard?se((k(),C("div",{key:1,onClick:e[5]||(e[5]=i=>o.shrink=!1),class:"bg-white text-center text-xl bold dark:bg-gray-500 border-blue-300 rounded-lg shadow-lg p-2 h-10 cursor-pointer m-2"},H(n.title),513)),[[Ye,o.shrink===!0]]):se((k(),C("div",{key:2,onClick:e[6]||(e[6]=i=>o.shrink=!1),class:"bg-white text-center text-2xl dark:bg-gray-500 border-2 border-blue-300 rounded-lg shadow-lg p-0 h-7 cursor-pointer hover:h-8 hover:bg-blue-300"}," + ",512)),[[Ye,o.shrink===!0]])],64)}const vi=Ue(VSe,[["render",WSe]]);async function Th(t,e="",n=[]){return new Promise((s,o)=>{const r=document.createElement("div");r.className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",n.length===0?r.innerHTML=` + `,t.async=!0,document.body.appendChild(t),this.markdownText?this.renderedMarkdown=_l.render(this.markdownText):this.renderedMarkdown="",be(()=>{ve.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=_l.render(t),be(()=>{ve.replace()})}}},NTe={class:"break-all"},DTe=["innerHTML"];function LTe(t,e,n,s,o,r){return k(),C("div",NTe,[c("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,DTe)])}const Bg=qe(RTe,[["render",LTe]]);const ITe={props:{value:String,inputType:{type:String,default:"text",validator:t=>["text","email","password","file","path","integer","float"].includes(t)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(t){console.log("Changing value to ",t),this.inputValue=t}},mounted(){be(()=>{ve.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(t){this.inputValue=t.target.value,this.$emit("input",t.target.value)},getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(t){if(this.inputType==="integer"){const e=t.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",t.target.value),this.$emit("input",t.target.value)},async pasteFromClipboard(){try{const t=await navigator.clipboard.readText();this.handleClipboardData(t)}catch(t){console.error("Failed to read from clipboard:",t)}},handlePaste(t){const e=t.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(t){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(t)?t:"";break;case"password":this.inputValue=t;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(t);break;case"float":this.inputValue=this.parseFloat(t);break;default:this.inputValue=t;break}},isValidEmail(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)},parseInteger(t){const e=parseInt(t);return isNaN(e)?"":e},parseFloat(t){const e=parseFloat(t);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(t){const e=t.target.files[0];e&&(this.inputValue=e.name)}}},PTe={class:"flex items-center space-x-2"},FTe=["value","type","placeholder"],BTe=["value","min","max"],$Te=c("i",{"data-feather":"clipboard"},null,-1),zTe=[$Te],jTe=c("i",{"data-feather":"upload"},null,-1),UTe=[jTe],qTe=["accept"];function HTe(t,e,n,s,o,r){return k(),C("div",PTe,[t.useSlider?(k(),C("input",{key:1,type:"range",value:parseInt(o.inputValue),min:t.minSliderValue,max:t.maxSliderValue,onInput:e[2]||(e[2]=(...i)=>r.handleSliderInput&&r.handleSliderInput(...i)),class:"flex-1 px-4 py-2 text-lg border dark:bg-gray-600 border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,BTe)):(k(),C("input",{key:0,value:o.inputValue,type:n.inputType,placeholder:o.placeholderText,onInput:e[0]||(e[0]=(...i)=>r.handleInput&&r.handleInput(...i)),onPaste:e[1]||(e[1]=(...i)=>r.handlePaste&&r.handlePaste(...i)),class:"flex-1 px-4 py-2 text-lg dark:bg-gray-600 border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,FTe)),c("button",{onClick:e[3]||(e[3]=(...i)=>r.pasteFromClipboard&&r.pasteFromClipboard(...i)),class:"p-2 bg-blue-500 dark:bg-gray-600 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},zTe),n.inputType==="file"?(k(),C("button",{key:2,onClick:e[4]||(e[4]=(...i)=>r.openFileInput&&r.openFileInput(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},UTe)):P("",!0),n.inputType==="file"?(k(),C("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:n.fileAccept,onChange:e[5]||(e[5]=(...i)=>r.handleFileInputChange&&r.handleFileInputChange(...i))},null,40,qTe)):P("",!0)])}const vc=qe(ITe,[["render",HTe]]);const VTe={props:{is_subcard:{type:Boolean,default:!1},is_shrunk:{type:Boolean,default:!1},title:{type:String,default:""},isHorizontal:{type:Boolean,default:!1},cardWidth:{type:String,default:"w-3/4"},disableHoverAnimation:{type:Boolean,default:!0},disableFocus:{type:Boolean,default:!1}},data(){return{shrink:this.is_shrunk,isHovered:!1,isActive:!1}},computed:{cardClass(){return["bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","w-full","p-2.5","dark:bg-gray-500","dark:border-gray-600","dark:placeholder-gray-400","dark:text-white","dark:focus:ring-blue-500","dark:focus:border-blue-500",{"cursor-pointer":!this.isActive&&!this.disableFocus,"w-auto":!this.isActive}]},cardWidthClass(){return this.isActive?this.cardWidth:""}},methods:{toggleCard(){this.disableFocus||(this.isActive=!this.isActive)}}},GTe={key:1,class:"flex flex-wrap"},KTe={key:2,class:"mb-2"};function WTe(t,e,n,s,o,r){return k(),C(Re,null,[o.isActive?(k(),C("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...i)=>r.toggleCard&&r.toggleCard(...i))})):P("",!0),ie(c("div",{class:Me(["border-blue-300 rounded-lg shadow-lg p-2",r.cardWidthClass,"m-2",{"bg-white dark:bg-gray-800":n.is_subcard},{"bg-white dark:bg-gray-900":!n.is_subcard},{hovered:!n.disableHoverAnimation&&o.isHovered,active:o.isActive}]),onMouseenter:e[2]||(e[2]=i=>o.isHovered=!0),onMouseleave:e[3]||(e[3]=i=>o.isHovered=!1),onClick:e[4]||(e[4]=de((...i)=>r.toggleCard&&r.toggleCard(...i),["self"])),style:yt({cursor:this.disableFocus?"":"pointer"})},[n.title?(k(),C("div",{key:0,onClick:e[1]||(e[1]=i=>o.shrink=!0),class:Me([{"text-center p-2 m-2 bg-gray-200":!n.is_subcard},"bg-gray-100 dark:bg-gray-500 rounded-lg pl-2 pr-2 mb-2 font-bold cursor-pointer"])},H(n.title),3)):P("",!0),n.isHorizontal?(k(),C("div",GTe,[xr(t.$slots,"default")])):(k(),C("div",KTe,[xr(t.$slots,"default")]))],38),[[Ye,o.shrink===!1]]),n.is_subcard?ie((k(),C("div",{key:1,onClick:e[5]||(e[5]=i=>o.shrink=!1),class:"bg-white text-center text-xl bold dark:bg-gray-500 border-blue-300 rounded-lg shadow-lg p-2 h-10 cursor-pointer m-2"},H(n.title),513)),[[Ye,o.shrink===!0]]):ie((k(),C("div",{key:2,onClick:e[6]||(e[6]=i=>o.shrink=!1),class:"bg-white text-center text-2xl dark:bg-gray-500 border-2 border-blue-300 rounded-lg shadow-lg p-0 h-7 cursor-pointer hover:h-8 hover:bg-blue-300"}," + ",512)),[[Ye,o.shrink===!0]])],64)}const vi=qe(VTe,[["render",WTe]]);async function Mh(t,e="",n=[]){return new Promise((s,o)=>{const r=document.createElement("div");r.className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",n.length===0?r.innerHTML=`

${t}

@@ -100,22 +100,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`),_e=T,we=q),G===void 0&
- `,document.body.appendChild(r);const i=r.querySelector("#cancelButton"),a=r.querySelector("#okButton");i.addEventListener("click",()=>{document.body.removeChild(r),s(null)}),a.addEventListener("click",()=>{if(n.length===0){const d=r.querySelector("#replacementInput").value.trim();document.body.removeChild(r),s(d)}else{const d=r.querySelector("#options_selector").value.trim();document.body.removeChild(r),s(d)}})})}function ZSe(t,e){console.log(t);let n={},s=/@<([^>]+)>@/g,o=[],r;for(;(r=s.exec(t))!==null;)o.push("@<"+r[1]+">@");console.log("matches"),console.log(o),o=[...new Set(o)];async function i(l){console.log(l);let d=l.toLowerCase().substring(2,l.length-2);if(d!=="generation_placeholder")if(d.includes(":")){Object.entries({all_language_options:"english:french:german:chinese:japanese:spanish:italian:russian:portuguese:swedish:danish:dutch:norwegian:slovak:czech:hungarian:polish:ukrainian:bulgarian:latvian:lithuanian:estonian:maltese:irish:galician:basque:welsh:breton:georgian:turkmen:kazakh:uzbek:tajik:afghan:sri-lankan:filipino:vietnamese:lao:cambodian:thai:burmese:kenyan:botswanan:zimbabwean:malawian:mozambican:angolan:namibian:south-african:madagascan:seychellois:mauritian:haitian:peruvian:ecuadorian:bolivian:paraguayan:chilean:argentinean:uruguayan:brazilian:colombian:venezuelan:puerto-rican:cuban:dominican:honduran:nicaraguan:salvadorean:guatemalan:el-salvadoran:belizean:panamanian:costa-rican:antiguan:barbudan:dominica's:grenada's:st-lucia's:st-vincent's:gibraltarian:faroe-islander:greenlandic:icelandic:jamaican:trinidadian:tobagonian:barbadian:anguillan:british-virgin-islander:us-virgin-islander:turkish:israeli:palestinian:lebanese:egyptian:libyan:tunisian:algerian:moroccan:bahraini:kuwaiti:saudi-arabian:yemeni:omani:irani:iraqi:afghanistan's:pakistani:indian:nepalese:sri-lankan:maldivan:burmese:thai:lao:vietnamese:kampuchean:malaysian:bruneian:indonesian:australian:new-zealanders:fijians:tongans:samoans:vanuatuans:wallisians:kiribatians:tuvaluans:solomon-islanders:marshallese:micronesians:hawaiians",all_programming_language_options:"python:c:c++:java:javascript:php:ruby:go:swift:kotlin:rust:haskell:erlang:lisp:scheme:prolog:cobol:fortran:pascal:delphi:d:eiffel:h:basic:visual_basic:smalltalk:objective-c:html5:node.js:vue.js:svelte:react:angular:ember:clipper:stex:arduino:brainfuck:r:assembly:mason:lepton:seacat:bbc_microbit:raspberry_pi_gpio:raspberry_pi_spi:raspberry_pi_i2c:raspberry_pi_uart:raspberry_pi_adc:raspberry_pi_ddio"}).forEach(([p,b])=>{console.log(`Key: ${p}, Value: ${b}`);function y(R){return R.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const x=y(p),S=new RegExp(x,"g");d=d.replace(S,b)});let h=d.split(":"),f=h[0],g=h[1]||"",m=[];h.length>2&&(m=h.slice(1));let _=await Th(f,g,m);_!==null&&(n[l]=_)}else{let u=await Th(d);u!==null&&(n[l]=u)}}let a=Promise.resolve();o.forEach(l=>{a=a.then(()=>i(l)).then(d=>{console.log(d)})}),a.then(()=>{Object.entries(n).forEach(([l,d])=>{console.log(`Key: ${l}, Value: ${d}`);function u(g){return g.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const h=u(l),f=new RegExp(h,"g");t=t.replace(f,d)}),e(t)})}const YSe={name:"PlayGroundView",data(){return{selecting_model:!1,tab_id:"source",generating:!1,isSpeaking:!1,voices:[],isLesteningToVoice:!1,presets:[],selectedPreset:"",models:{},selectedModel:"",cursorPosition:0,text:"",pre_text:"",post_text:"",temperature:.1,top_k:50,top_p:.9,repeat_penalty:1.3,repeat_last_n:50,n_crop:-1,n_predicts:2e3,seed:-1,silenceTimeout:5e3}},components:{Toast:Ks,MarkdownRenderer:Fg,ClipBoardTextInput:vc,Card:vi},mounted(){ye.get("list_models").then(t=>{console.log("List models "+t.data),this.models=t.data,ye.get("get_active_model").then(e=>{console.log("Active model "+JSON.stringify(e.data)),e.data!=null&&(this.selectedModel=e.data.model)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),ye.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),Ee.on("text_chunk",t=>{this.appendToOutput(t.chunk)}),Ee.on("text_generated",t=>{this.generating=!1}),Ee.on("generation_error",t=>{console.log("generation_error:",t),this.$refs.toast.showToast(`Error: ${t}`,4,!1),this.generating=!1}),Ee.on("connect",()=>{console.log("Connected to LoLLMs server"),this.$store.state.isConnected=!0,this.generating=!1}),Ee.on("buzzy",t=>{console.error("Server is busy. Wait for your turn",t),this.$refs.toast.showToast(`Error: ${t.message}`,4,!1),this.generating=!1}),Ee.on("generation_canceled",t=>{this.generating=!1,console.log("Generation canceled OK")}),this.$nextTick(()=>{ve.replace()}),"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser.")},created(){},computed:{isTalking:{get(){return this.isSpeaking}}},methods:{text_element_changed(){console.log("text_element_changed"),this.cursorPosition=this.$refs.text_element.selectionStart},text_element_clicked(){console.log("text_element_clicked"),this.cursorPosition=this.$refs.text_element.selectionStart},setModel(){this.selecting_model=!0,ye.post("/update_setting",{setting_name:"model_name",setting_value:this.selectedModel}).then(t=>{console.log(t),t.status&&this.$refs.toast.showToast(`Model changed to ${this.selectedModel}`,4,!0),this.selecting_model=!1}).catch(t=>{this.$refs.toast.showToast(`Error ${t}`,4,!0),this.selecting_model=!1})},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.text.substring(o,o+e);const i=[".","!","?",` -`];let a=-1;return i.forEach(l=>{const d=r.lastIndexOf(l);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{const o=n(t),r=this.text.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length," ",o))},this.speechSynthesis.speak(this.msg)};s()},getCursorPosition(){return this.cursorPosition},appendToOutput(t){this.pre_text+=t,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let t=this.text.indexOf("@@");if(t<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,t)+this.text.substring(t+26,this.text.length),this.pre_text=this.text.substring(0,t),this.post_text=this.text.substring(t,this.text.length);var e=this.text.substring(0,t);console.log(e),Ee.emit("generate_text",{prompt:e,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},generate(){console.log("Finding cursor position"),this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length);var t=this.text.substring(0,this.getCursorPosition());console.log(t),Ee.emit("generate_text",{prompt:t,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},stopGeneration(){Ee.emit("cancel_text_generation",{})},exportText(){const t=this.text,e=document.createElement("a"),n=new Blob([t],{type:"text/plain"});e.href=URL.createObjectURL(n),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const t=document.getElementById("import-input");t&&(t.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const n=new FileReader;n.onload=()=>{this.text=n.result},n.readAsText(e.target.files[0])}else alert("Please select a file.")}),t.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=ZSe(this.selectedPreset.content,t=>{console.log("Done"),console.log(t),this.text=t})},addPreset(){let t=prompt("Enter the title of the preset:");this.presets[t]={name:t,content:this.text},ye.post("./add_preset",this.presets[t]).then(e=>{console.log(e.data)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})},removePreset(){this.selectedPreset&&delete this.presets[this.selectedPreset.name]},reloadPresets(){ye.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length),this.recognition.onresult=t=>{this.generated="";for(let e=t.resultIndex;e{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,this.pre_text=this.pre_text+this.generated,this.cursorPosition=this.pre_text.length,clearTimeout(this.silenceTimer)},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")}}},JSe={class:"container bg-bg-light dark:bg-bg-dark shadow-lg 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"},QSe={class:"container flex flex-row m-2"},XSe={class:"flex-grow m-2"},eTe={class:"flex gap-3 flex-1 items-center flex-grow flex-row m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4"},tTe=c("i",{"data-feather":"pen-tool"},null,-1),nTe=[tTe],sTe=c("i",{"data-feather":"archive"},null,-1),oTe=[sTe],rTe=c("span",{class:"w-80"},null,-1),iTe=c("i",{"data-feather":"x"},null,-1),aTe=[iTe],lTe=c("i",{"data-feather":"mic"},null,-1),cTe=[lTe],dTe=c("i",{"data-feather":"volume-2"},null,-1),uTe=[dTe],hTe=c("i",{"data-feather":"upload"},null,-1),fTe=[hTe],pTe=c("i",{"data-feather":"download"},null,-1),gTe=[pTe],mTe={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},_Te=c("input",{type:"file",id:"import-input",class:"hidden"},null,-1),bTe={class:"flex-grow m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4"},yTe={key:0},vTe={key:1},wTe=["value"],xTe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},kTe=c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Selecting model...")],-1),ETe=[kTe],CTe=["value"],ATe=c("br",null,null,-1),STe=c("i",{"data-feather":"check"},null,-1),TTe=[STe],MTe=c("i",{"data-feather":"plus"},null,-1),OTe=[MTe],RTe=c("i",{"data-feather":"x"},null,-1),NTe=[RTe],DTe=c("i",{"data-feather":"refresh-ccw"},null,-1),LTe=[DTe],ITe={class:"slider-container ml-2 mr-2"},PTe=c("h3",{class:"text-gray-600"},"Temperature",-1),FTe={class:"slider-value text-gray-500"},BTe={class:"slider-container ml-2 mr-2"},$Te=c("h3",{class:"text-gray-600"},"Top K",-1),zTe={class:"slider-value text-gray-500"},jTe={class:"slider-container ml-2 mr-2"},UTe=c("h3",{class:"text-gray-600"},"Top P",-1),qTe={class:"slider-value text-gray-500"},HTe={class:"slider-container ml-2 mr-2"},VTe=c("h3",{class:"text-gray-600"},"Repeat Penalty",-1),GTe={class:"slider-value text-gray-500"},KTe={class:"slider-container ml-2 mr-2"},WTe=c("h3",{class:"text-gray-600"},"Repeat Last N",-1),ZTe={class:"slider-value text-gray-500"},YTe={class:"slider-container ml-2 mr-2"},JTe=c("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),QTe={class:"slider-value text-gray-500"},XTe={class:"slider-container ml-2 mr-2"},eMe=c("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),tMe={class:"slider-value text-gray-500"},nMe={class:"slider-container ml-2 mr-2"},sMe=c("h3",{class:"text-gray-600"},"Seed",-1),oMe={class:"slider-value text-gray-500"};function rMe(t,e,n,s,o,r){const i=qe("MarkdownRenderer"),a=qe("Card"),l=qe("Toast");return k(),C(Re,null,[c("div",JSe,[c("div",QSe,[c("div",XSe,[c("div",eTe,[se(c("button",{id:"generate-button",onClick:e[0]||(e[0]=(...d)=>r.generate&&r.generate(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},nTe,512),[[Ye,!o.generating]]),se(c("button",{id:"generate-next-button",onClick:e[1]||(e[1]=(...d)=>r.generate_in_placeholder&&r.generate_in_placeholder(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},oTe,512),[[Ye,!o.generating]]),rTe,se(c("button",{id:"stop-button",onClick:e[2]||(e[2]=(...d)=>r.stopGeneration&&r.stopGeneration(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},aTe,512),[[Ye,o.generating]]),c("button",{type:"button",onClick:e[3]||(e[3]=(...d)=>r.startSpeechRecognition&&r.startSpeechRecognition(...d)),class:Me([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},cTe,2),c("button",{title:"speak",onClick:e[4]||(e[4]=de(d=>r.speak(),["stop"])),class:Me([{"text-red-500":r.isTalking},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},uTe,2),se(c("button",{id:"export-button",onClick:e[5]||(e[5]=(...d)=>r.exportText&&r.exportText(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},fTe,512),[[Ye,!o.generating]]),se(c("button",{id:"import-button",onClick:e[6]||(e[6]=(...d)=>r.importText&&r.importText(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},gTe,512),[[Ye,!o.generating]]),c("div",mTe,[c("button",{class:Me(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":o.tab_id=="source"}]),onClick:e[7]||(e[7]=d=>o.tab_id="source")}," Source ",2),c("button",{class:Me(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":o.tab_id=="render"}]),onClick:e[8]||(e[8]=d=>o.tab_id="render")}," Render ",2)]),_Te]),c("div",bTe,[o.tab_id==="source"?(k(),C("div",yTe,[se(c("textarea",{onClick:e[9]||(e[9]=(...d)=>r.text_element_clicked&&r.text_element_clicked(...d)),onKeyup:e[10]||(e[10]=(...d)=>r.text_element_changed&&r.text_element_changed(...d)),"onUpdate:modelValue":e[11]||(e[11]=d=>o.text=d),ref:"text_element",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full mt-4 h-64 p-2 rounded shadow-lg overflow-y-scroll w-full dark:bg-bg-dark 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",type:"text"},null,544),[[Oe,o.text]]),c("span",null,"Cursor position "+H(o.cursorPosition),1)])):I("",!0),o.tab_id==="render"?(k(),C("div",vTe,[ue(i,{ref:"mdRender","markdown-text":o.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["markdown-text"])])):I("",!0)])]),ue(a,{title:"settings",class:"slider-container ml-0 mr-0 max-width",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ue(a,{title:"Model",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[se(c("select",{"onUpdate:modelValue":e[12]||(e[12]=d=>o.selectedModel=d),onChange:e[13]||(e[13]=(...d)=>r.setModel&&r.setModel(...d)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(k(!0),C(Re,null,Ge(o.models,d=>(k(),C("option",{key:d,value:d},H(d),9,wTe))),128))],544),[[on,o.selectedModel]]),o.selecting_model?(k(),C("div",xTe,ETe)):I("",!0)]),_:1}),ue(a,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[se(c("select",{"onUpdate:modelValue":e[14]||(e[14]=d=>o.selectedPreset=d),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(k(!0),C(Re,null,Ge(o.presets,d=>(k(),C("option",{key:d,value:d},H(d.name),9,CTe))),128))],512),[[on,o.selectedPreset]]),ATe,c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[15]||(e[15]=(...d)=>r.setPreset&&r.setPreset(...d)),title:"Use preset"},TTe),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[16]||(e[16]=(...d)=>r.addPreset&&r.addPreset(...d)),title:"Add this text as a preset"},OTe),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[17]||(e[17]=(...d)=>r.removePreset&&r.removePreset(...d)),title:"Remove preset"},NTe),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[18]||(e[18]=(...d)=>r.reloadPresets&&r.reloadPresets(...d)),title:"Reload presets list"},LTe)]),_:1}),ue(a,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[c("div",ITe,[PTe,se(c("input",{type:"range","onUpdate:modelValue":e[19]||(e[19]=d=>o.temperature=d),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[Oe,o.temperature]]),c("span",FTe,"Current value: "+H(o.temperature),1)]),c("div",BTe,[$Te,se(c("input",{type:"range","onUpdate:modelValue":e[20]||(e[20]=d=>o.top_k=d),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[Oe,o.top_k]]),c("span",zTe,"Current value: "+H(o.top_k),1)]),c("div",jTe,[UTe,se(c("input",{type:"range","onUpdate:modelValue":e[21]||(e[21]=d=>o.top_p=d),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[Oe,o.top_p]]),c("span",qTe,"Current value: "+H(o.top_p),1)]),c("div",HTe,[VTe,se(c("input",{type:"range","onUpdate:modelValue":e[22]||(e[22]=d=>o.repeat_penalty=d),min:"0",max:"5",step:"0.1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.repeat_penalty]]),c("span",GTe,"Current value: "+H(o.repeat_penalty),1)]),c("div",KTe,[WTe,se(c("input",{type:"range","onUpdate:modelValue":e[23]||(e[23]=d=>o.repeat_last_n=d),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.repeat_last_n]]),c("span",ZTe,"Current value: "+H(o.repeat_last_n),1)]),c("div",YTe,[JTe,se(c("input",{type:"number","onUpdate:modelValue":e[24]||(e[24]=d=>o.n_crop=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.n_crop]]),c("span",QTe,"Current value: "+H(o.n_crop),1)]),c("div",XTe,[eMe,se(c("input",{type:"number","onUpdate:modelValue":e[25]||(e[25]=d=>o.n_predicts=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.n_predicts]]),c("span",tMe,"Current value: "+H(o.n_predicts),1)]),c("div",nMe,[sMe,se(c("input",{type:"number","onUpdate:modelValue":e[26]||(e[26]=d=>o.seed=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.seed]]),c("span",oMe,"Current value: "+H(o.seed),1)])]),_:1})]),_:1})])]),ue(l,{ref:"toast"},null,512)],64)}const iMe=Ue(YSe,[["render",rMe]]);const aMe={data(){return{activeExtension:null}},computed:{activeExtensions(){return this.$store.state.extensionsZoo.filter(t=>t.is_active)}},methods:{showExtensionPage(t){this.activeExtension=t}}},lMe={key:0},cMe=["onClick"],dMe={key:0},uMe=["src"],hMe={key:1},fMe=c("p",null,"No extension is active. Please install and activate an extension.",-1),pMe=[fMe];function gMe(t,e,n,s,o,r){return k(),C("div",null,[r.activeExtensions.length>0?(k(),C("div",lMe,[(k(!0),C(Re,null,Ge(r.activeExtensions,i=>(k(),C("div",{key:i.name,onClick:a=>r.showExtensionPage(i)},[c("div",{class:Me({"active-tab":i===o.activeExtension})},H(i.name),3)],8,cMe))),128)),o.activeExtension?(k(),C("div",dMe,[c("iframe",{src:o.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,uMe)])):I("",!0)])):(k(),C("div",hMe,pMe))])}const mMe=Ue(aMe,[["render",gMe]]);var Bg={exports:{}};/* @license + `,document.body.appendChild(r);const i=r.querySelector("#cancelButton"),a=r.querySelector("#okButton");i.addEventListener("click",()=>{document.body.removeChild(r),s(null)}),a.addEventListener("click",()=>{if(n.length===0){const d=r.querySelector("#replacementInput").value.trim();document.body.removeChild(r),s(d)}else{const d=r.querySelector("#options_selector").value.trim();document.body.removeChild(r),s(d)}})})}function ZTe(t,e){console.log(t);let n={},s=/@<([^>]+)>@/g,o=[],r;for(;(r=s.exec(t))!==null;)o.push("@<"+r[1]+">@");console.log("matches"),console.log(o),o=[...new Set(o)];async function i(l){console.log(l);let d=l.toLowerCase().substring(2,l.length-2);if(d!=="generation_placeholder")if(d.includes(":")){Object.entries({all_language_options:"english:french:german:chinese:japanese:spanish:italian:russian:portuguese:swedish:danish:dutch:norwegian:slovak:czech:hungarian:polish:ukrainian:bulgarian:latvian:lithuanian:estonian:maltese:irish:galician:basque:welsh:breton:georgian:turkmen:kazakh:uzbek:tajik:afghan:sri-lankan:filipino:vietnamese:lao:cambodian:thai:burmese:kenyan:botswanan:zimbabwean:malawian:mozambican:angolan:namibian:south-african:madagascan:seychellois:mauritian:haitian:peruvian:ecuadorian:bolivian:paraguayan:chilean:argentinean:uruguayan:brazilian:colombian:venezuelan:puerto-rican:cuban:dominican:honduran:nicaraguan:salvadorean:guatemalan:el-salvadoran:belizean:panamanian:costa-rican:antiguan:barbudan:dominica's:grenada's:st-lucia's:st-vincent's:gibraltarian:faroe-islander:greenlandic:icelandic:jamaican:trinidadian:tobagonian:barbadian:anguillan:british-virgin-islander:us-virgin-islander:turkish:israeli:palestinian:lebanese:egyptian:libyan:tunisian:algerian:moroccan:bahraini:kuwaiti:saudi-arabian:yemeni:omani:irani:iraqi:afghanistan's:pakistani:indian:nepalese:sri-lankan:maldivan:burmese:thai:lao:vietnamese:kampuchean:malaysian:bruneian:indonesian:australian:new-zealanders:fijians:tongans:samoans:vanuatuans:wallisians:kiribatians:tuvaluans:solomon-islanders:marshallese:micronesians:hawaiians",all_programming_language_options:"python:c:c++:java:javascript:php:ruby:go:swift:kotlin:rust:haskell:erlang:lisp:scheme:prolog:cobol:fortran:pascal:delphi:d:eiffel:h:basic:visual_basic:smalltalk:objective-c:html5:node.js:vue.js:svelte:react:angular:ember:clipper:stex:arduino:brainfuck:r:assembly:mason:lepton:seacat:bbc_microbit:raspberry_pi_gpio:raspberry_pi_spi:raspberry_pi_i2c:raspberry_pi_uart:raspberry_pi_adc:raspberry_pi_ddio"}).forEach(([g,b])=>{console.log(`Key: ${g}, Value: ${b}`);function y(R){return R.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const x=y(g),S=new RegExp(x,"g");d=d.replace(S,b)});let h=d.split(":"),f=h[0],p=h[1]||"",m=[];h.length>2&&(m=h.slice(1));let _=await Mh(f,p,m);_!==null&&(n[l]=_)}else{let u=await Mh(d);u!==null&&(n[l]=u)}}let a=Promise.resolve();o.forEach(l=>{a=a.then(()=>i(l)).then(d=>{console.log(d)})}),a.then(()=>{Object.entries(n).forEach(([l,d])=>{console.log(`Key: ${l}, Value: ${d}`);function u(p){return p.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const h=u(l),f=new RegExp(h,"g");t=t.replace(f,d)}),e(t)})}const YTe={name:"PlayGroundView",data(){return{selecting_model:!1,tab_id:"source",generating:!1,isSpeaking:!1,voices:[],isLesteningToVoice:!1,presets:[],selectedPreset:"",models:{},selectedModel:"",cursorPosition:0,text:"",pre_text:"",post_text:"",temperature:.1,top_k:50,top_p:.9,repeat_penalty:1.3,repeat_last_n:50,n_crop:-1,n_predicts:2e3,seed:-1,silenceTimeout:5e3}},components:{Toast:Ks,MarkdownRenderer:Bg,ClipBoardTextInput:vc,Card:vi},mounted(){ye.get("list_models").then(t=>{console.log("List models "+t.data),this.models=t.data,ye.get("get_active_model").then(e=>{console.log("Active model "+JSON.stringify(e.data)),e.data!=null&&(this.selectedModel=e.data.model)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),ye.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),Ee.on("text_chunk",t=>{this.appendToOutput(t.chunk)}),Ee.on("text_generated",t=>{this.generating=!1}),Ee.on("generation_error",t=>{console.log("generation_error:",t),this.$refs.toast.showToast(`Error: ${t}`,4,!1),this.generating=!1}),Ee.on("connect",()=>{console.log("Connected to LoLLMs server"),this.$store.state.isConnected=!0,this.generating=!1}),Ee.on("buzzy",t=>{console.error("Server is busy. Wait for your turn",t),this.$refs.toast.showToast(`Error: ${t.message}`,4,!1),this.generating=!1}),Ee.on("generation_canceled",t=>{this.generating=!1,console.log("Generation canceled OK")}),this.$nextTick(()=>{ve.replace()}),"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser.")},created(){},computed:{isTalking:{get(){return this.isSpeaking}}},methods:{text_element_changed(){console.log("text_element_changed"),this.cursorPosition=this.$refs.text_element.selectionStart},text_element_clicked(){console.log("text_element_clicked"),this.cursorPosition=this.$refs.text_element.selectionStart},setModel(){this.selecting_model=!0,ye.post("/update_setting",{setting_name:"model_name",setting_value:this.selectedModel}).then(t=>{console.log(t),t.status&&this.$refs.toast.showToast(`Model changed to ${this.selectedModel}`,4,!0),this.selecting_model=!1}).catch(t=>{this.$refs.toast.showToast(`Error ${t}`,4,!0),this.selecting_model=!1})},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.text.substring(o,o+e);const i=[".","!","?",` +`];let a=-1;return i.forEach(l=>{const d=r.lastIndexOf(l);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{const o=n(t),r=this.text.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length," ",o))},this.speechSynthesis.speak(this.msg)};s()},getCursorPosition(){return this.cursorPosition},appendToOutput(t){this.pre_text+=t,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let t=this.text.indexOf("@@");if(t<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,t)+this.text.substring(t+26,this.text.length),this.pre_text=this.text.substring(0,t),this.post_text=this.text.substring(t,this.text.length);var e=this.text.substring(0,t);console.log(e),Ee.emit("generate_text",{prompt:e,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},generate(){console.log("Finding cursor position"),this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length);var t=this.text.substring(0,this.getCursorPosition());console.log(t),Ee.emit("generate_text",{prompt:t,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},stopGeneration(){Ee.emit("cancel_text_generation",{})},exportText(){const t=this.text,e=document.createElement("a"),n=new Blob([t],{type:"text/plain"});e.href=URL.createObjectURL(n),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const t=document.getElementById("import-input");t&&(t.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const n=new FileReader;n.onload=()=>{this.text=n.result},n.readAsText(e.target.files[0])}else alert("Please select a file.")}),t.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=ZTe(this.selectedPreset.content,t=>{console.log("Done"),console.log(t),this.text=t})},addPreset(){let t=prompt("Enter the title of the preset:");this.presets[t]={name:t,content:this.text},ye.post("./add_preset",this.presets[t]).then(e=>{console.log(e.data)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})},removePreset(){this.selectedPreset&&delete this.presets[this.selectedPreset.name]},reloadPresets(){ye.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length),this.recognition.onresult=t=>{this.generated="";for(let e=t.resultIndex;e{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,this.pre_text=this.pre_text+this.generated,this.cursorPosition=this.pre_text.length,clearTimeout(this.silenceTimer)},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")}}},JTe={class:"container bg-bg-light dark:bg-bg-dark shadow-lg 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"},QTe={class:"container flex flex-row m-2"},XTe={class:"flex-grow m-2"},e7e={class:"flex gap-3 flex-1 items-center flex-grow flex-row m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4"},t7e=c("i",{"data-feather":"pen-tool"},null,-1),n7e=[t7e],s7e=c("i",{"data-feather":"archive"},null,-1),o7e=[s7e],r7e=c("span",{class:"w-80"},null,-1),i7e=c("i",{"data-feather":"x"},null,-1),a7e=[i7e],l7e=c("i",{"data-feather":"mic"},null,-1),c7e=[l7e],d7e=c("i",{"data-feather":"volume-2"},null,-1),u7e=[d7e],h7e=c("i",{"data-feather":"upload"},null,-1),f7e=[h7e],p7e=c("i",{"data-feather":"download"},null,-1),g7e=[p7e],m7e={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},_7e=c("input",{type:"file",id:"import-input",class:"hidden"},null,-1),b7e={class:"flex-grow m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4"},y7e={key:0},v7e={key:1},w7e=["value"],x7e={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},k7e=c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Selecting model...")],-1),E7e=[k7e],C7e=["value"],A7e=c("br",null,null,-1),S7e=c("i",{"data-feather":"check"},null,-1),T7e=[S7e],M7e=c("i",{"data-feather":"plus"},null,-1),O7e=[M7e],R7e=c("i",{"data-feather":"x"},null,-1),N7e=[R7e],D7e=c("i",{"data-feather":"refresh-ccw"},null,-1),L7e=[D7e],I7e={class:"slider-container ml-2 mr-2"},P7e=c("h3",{class:"text-gray-600"},"Temperature",-1),F7e={class:"slider-value text-gray-500"},B7e={class:"slider-container ml-2 mr-2"},$7e=c("h3",{class:"text-gray-600"},"Top K",-1),z7e={class:"slider-value text-gray-500"},j7e={class:"slider-container ml-2 mr-2"},U7e=c("h3",{class:"text-gray-600"},"Top P",-1),q7e={class:"slider-value text-gray-500"},H7e={class:"slider-container ml-2 mr-2"},V7e=c("h3",{class:"text-gray-600"},"Repeat Penalty",-1),G7e={class:"slider-value text-gray-500"},K7e={class:"slider-container ml-2 mr-2"},W7e=c("h3",{class:"text-gray-600"},"Repeat Last N",-1),Z7e={class:"slider-value text-gray-500"},Y7e={class:"slider-container ml-2 mr-2"},J7e=c("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),Q7e={class:"slider-value text-gray-500"},X7e={class:"slider-container ml-2 mr-2"},eMe=c("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),tMe={class:"slider-value text-gray-500"},nMe={class:"slider-container ml-2 mr-2"},sMe=c("h3",{class:"text-gray-600"},"Seed",-1),oMe={class:"slider-value text-gray-500"};function rMe(t,e,n,s,o,r){const i=ze("MarkdownRenderer"),a=ze("Card"),l=ze("Toast");return k(),C(Re,null,[c("div",JTe,[c("div",QTe,[c("div",XTe,[c("div",e7e,[ie(c("button",{id:"generate-button",onClick:e[0]||(e[0]=(...d)=>r.generate&&r.generate(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},n7e,512),[[Ye,!o.generating]]),ie(c("button",{id:"generate-next-button",onClick:e[1]||(e[1]=(...d)=>r.generate_in_placeholder&&r.generate_in_placeholder(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},o7e,512),[[Ye,!o.generating]]),r7e,ie(c("button",{id:"stop-button",onClick:e[2]||(e[2]=(...d)=>r.stopGeneration&&r.stopGeneration(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},a7e,512),[[Ye,o.generating]]),c("button",{type:"button",onClick:e[3]||(e[3]=(...d)=>r.startSpeechRecognition&&r.startSpeechRecognition(...d)),class:Me([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},c7e,2),c("button",{title:"speak",onClick:e[4]||(e[4]=de(d=>r.speak(),["stop"])),class:Me([{"text-red-500":r.isTalking},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},u7e,2),ie(c("button",{id:"export-button",onClick:e[5]||(e[5]=(...d)=>r.exportText&&r.exportText(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},f7e,512),[[Ye,!o.generating]]),ie(c("button",{id:"import-button",onClick:e[6]||(e[6]=(...d)=>r.importText&&r.importText(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},g7e,512),[[Ye,!o.generating]]),c("div",m7e,[c("button",{class:Me(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":o.tab_id=="source"}]),onClick:e[7]||(e[7]=d=>o.tab_id="source")}," Source ",2),c("button",{class:Me(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":o.tab_id=="render"}]),onClick:e[8]||(e[8]=d=>o.tab_id="render")}," Render ",2)]),_7e]),c("div",b7e,[o.tab_id==="source"?(k(),C("div",y7e,[ie(c("textarea",{onClick:e[9]||(e[9]=(...d)=>r.text_element_clicked&&r.text_element_clicked(...d)),onKeyup:e[10]||(e[10]=(...d)=>r.text_element_changed&&r.text_element_changed(...d)),"onUpdate:modelValue":e[11]||(e[11]=d=>o.text=d),ref:"text_element",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full mt-4 h-64 p-2 rounded shadow-lg overflow-y-scroll w-full dark:bg-bg-dark 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",type:"text"},null,544),[[Oe,o.text]]),c("span",null,"Cursor position "+H(o.cursorPosition),1)])):P("",!0),o.tab_id==="render"?(k(),C("div",v7e,[ue(i,{ref:"mdRender","markdown-text":o.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["markdown-text"])])):P("",!0)])]),ue(a,{title:"settings",class:"slider-container ml-0 mr-0 max-width",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ue(a,{title:"Model",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ie(c("select",{"onUpdate:modelValue":e[12]||(e[12]=d=>o.selectedModel=d),onChange:e[13]||(e[13]=(...d)=>r.setModel&&r.setModel(...d)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(k(!0),C(Re,null,Ke(o.models,d=>(k(),C("option",{key:d,value:d},H(d),9,w7e))),128))],544),[[Sn,o.selectedModel]]),o.selecting_model?(k(),C("div",x7e,E7e)):P("",!0)]),_:1}),ue(a,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ie(c("select",{"onUpdate:modelValue":e[14]||(e[14]=d=>o.selectedPreset=d),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(k(!0),C(Re,null,Ke(o.presets,d=>(k(),C("option",{key:d,value:d},H(d.name),9,C7e))),128))],512),[[Sn,o.selectedPreset]]),A7e,c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[15]||(e[15]=(...d)=>r.setPreset&&r.setPreset(...d)),title:"Use preset"},T7e),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[16]||(e[16]=(...d)=>r.addPreset&&r.addPreset(...d)),title:"Add this text as a preset"},O7e),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[17]||(e[17]=(...d)=>r.removePreset&&r.removePreset(...d)),title:"Remove preset"},N7e),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[18]||(e[18]=(...d)=>r.reloadPresets&&r.reloadPresets(...d)),title:"Reload presets list"},L7e)]),_:1}),ue(a,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[c("div",I7e,[P7e,ie(c("input",{type:"range","onUpdate:modelValue":e[19]||(e[19]=d=>o.temperature=d),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[Oe,o.temperature]]),c("span",F7e,"Current value: "+H(o.temperature),1)]),c("div",B7e,[$7e,ie(c("input",{type:"range","onUpdate:modelValue":e[20]||(e[20]=d=>o.top_k=d),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[Oe,o.top_k]]),c("span",z7e,"Current value: "+H(o.top_k),1)]),c("div",j7e,[U7e,ie(c("input",{type:"range","onUpdate:modelValue":e[21]||(e[21]=d=>o.top_p=d),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[Oe,o.top_p]]),c("span",q7e,"Current value: "+H(o.top_p),1)]),c("div",H7e,[V7e,ie(c("input",{type:"range","onUpdate:modelValue":e[22]||(e[22]=d=>o.repeat_penalty=d),min:"0",max:"5",step:"0.1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.repeat_penalty]]),c("span",G7e,"Current value: "+H(o.repeat_penalty),1)]),c("div",K7e,[W7e,ie(c("input",{type:"range","onUpdate:modelValue":e[23]||(e[23]=d=>o.repeat_last_n=d),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.repeat_last_n]]),c("span",Z7e,"Current value: "+H(o.repeat_last_n),1)]),c("div",Y7e,[J7e,ie(c("input",{type:"number","onUpdate:modelValue":e[24]||(e[24]=d=>o.n_crop=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.n_crop]]),c("span",Q7e,"Current value: "+H(o.n_crop),1)]),c("div",X7e,[eMe,ie(c("input",{type:"number","onUpdate:modelValue":e[25]||(e[25]=d=>o.n_predicts=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.n_predicts]]),c("span",tMe,"Current value: "+H(o.n_predicts),1)]),c("div",nMe,[sMe,ie(c("input",{type:"number","onUpdate:modelValue":e[26]||(e[26]=d=>o.seed=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Oe,o.seed]]),c("span",oMe,"Current value: "+H(o.seed),1)])]),_:1})]),_:1})])]),ue(l,{ref:"toast"},null,512)],64)}const iMe=qe(YTe,[["render",rMe]]);const aMe={data(){return{activeExtension:null}},computed:{activeExtensions(){return this.$store.state.extensionsZoo.filter(t=>t.is_active)}},methods:{showExtensionPage(t){this.activeExtension=t}}},lMe={key:0},cMe=["onClick"],dMe={key:0},uMe=["src"],hMe={key:1},fMe=c("p",null,"No extension is active. Please install and activate an extension.",-1),pMe=[fMe];function gMe(t,e,n,s,o,r){return k(),C("div",null,[r.activeExtensions.length>0?(k(),C("div",lMe,[(k(!0),C(Re,null,Ke(r.activeExtensions,i=>(k(),C("div",{key:i.name,onClick:a=>r.showExtensionPage(i)},[c("div",{class:Me({"active-tab":i===o.activeExtension})},H(i.name),3)],8,cMe))),128)),o.activeExtension?(k(),C("div",dMe,[c("iframe",{src:o.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,uMe)])):P("",!0)])):(k(),C("div",hMe,pMe))])}const mMe=qe(aMe,[["render",gMe]]);var $g={exports:{}};/* @license Papa Parse v5.4.1 https://github.com/mholt/PapaParse License: MIT -*/(function(t,e){(function(n,s){t.exports=s()})(Pp,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(v,E){var M=(E=E||{}).dynamicTyping||!1;if(D(M)&&(E.dynamicTypingFunction=M,M={}),E.dynamicTyping=M,E.transform=!!D(E.transform)&&E.transform,E.worker&&l.WORKERS_SUPPORTED){var L=function(){if(!l.WORKERS_SUPPORTED)return!1;var J=(ce=s.URL||s.webkitURL||null,Z=n.toString(),l.BLOB_URL||(l.BLOB_URL=ce.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; ","(",Z,")();"],{type:"text/javascript"})))),P=new s.Worker(J),ce,Z;return P.onmessage=y,P.id=a++,i[P.id]=P}();return L.userStep=E.step,L.userChunk=E.chunk,L.userComplete=E.complete,L.userError=E.error,E.step=D(E.step),E.chunk=D(E.chunk),E.complete=D(E.complete),E.error=D(E.error),delete E.worker,void L.postMessage({input:v,config:E,workerId:L.id})}var B=null;return l.NODE_STREAM_INPUT,typeof v=="string"?(v=function(J){return J.charCodeAt(0)===65279?J.slice(1):J}(v),B=E.download?new h(E):new g(E)):v.readable===!0&&D(v.read)&&D(v.on)?B=new m(E):(s.File&&v instanceof File||v instanceof Object)&&(B=new f(E)),B.stream(v)},unparse:function(v,E){var M=!1,L=!0,B=",",J=`\r -`,P='"',ce=P+P,Z=!1,T=null,q=!1;(function(){if(typeof E=="object"){if(typeof E.delimiter!="string"||l.BAD_DELIMITERS.filter(function(ee){return E.delimiter.indexOf(ee)!==-1}).length||(B=E.delimiter),(typeof E.quotes=="boolean"||typeof E.quotes=="function"||Array.isArray(E.quotes))&&(M=E.quotes),typeof E.skipEmptyLines!="boolean"&&typeof E.skipEmptyLines!="string"||(Z=E.skipEmptyLines),typeof E.newline=="string"&&(J=E.newline),typeof E.quoteChar=="string"&&(P=E.quoteChar),typeof E.header=="boolean"&&(L=E.header),Array.isArray(E.columns)){if(E.columns.length===0)throw new Error("Option columns is empty");T=E.columns}E.escapeChar!==void 0&&(ce=E.escapeChar+P),(typeof E.escapeFormulae=="boolean"||E.escapeFormulae instanceof RegExp)&&(q=E.escapeFormulae instanceof RegExp?E.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var G=new RegExp(p(P),"g");if(typeof v=="string"&&(v=JSON.parse(v)),Array.isArray(v)){if(!v.length||Array.isArray(v[0]))return we(null,v,Z);if(typeof v[0]=="object")return we(T||Object.keys(v[0]),v,Z)}else if(typeof v=="object")return typeof v.data=="string"&&(v.data=JSON.parse(v.data)),Array.isArray(v.data)&&(v.fields||(v.fields=v.meta&&v.meta.fields||T),v.fields||(v.fields=Array.isArray(v.data[0])?v.fields:typeof v.data[0]=="object"?Object.keys(v.data[0]):[]),Array.isArray(v.data[0])||typeof v.data[0]=="object"||(v.data=[v.data])),we(v.fields||[],v.data||[],Z);throw new Error("Unable to serialize unrecognized input");function we(ee,ke,Se){var N="";typeof ee=="string"&&(ee=JSON.parse(ee)),typeof ke=="string"&&(ke=JSON.parse(ke));var Q=Array.isArray(ee)&&0=this._config.preview;if(r)s.postMessage({results:J,workerId:l.WORKER_ID,finished:ce});else if(D(this._config.chunk)&&!M){if(this._config.chunk(J,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);J=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(J.data),this._completeResults.errors=this._completeResults.errors.concat(J.errors),this._completeResults.meta=J.meta),this._completed||!ce||!D(this._config.complete)||J&&J.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ce||J&&J.meta.paused||this._nextChunk(),J}this._halted=!0},this._sendError=function(E){D(this._config.error)?this._config.error(E):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:E,finished:!1})}}function h(v){var E;(v=v||{}).chunkSize||(v.chunkSize=l.RemoteChunkSize),u.call(this,v),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(M){this._input=M,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(E=new XMLHttpRequest,this._config.withCredentials&&(E.withCredentials=this._config.withCredentials),o||(E.onload=O(this._chunkLoaded,this),E.onerror=O(this._chunkError,this)),E.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var M=this._config.downloadRequestHeaders;for(var L in M)E.setRequestHeader(L,M[L])}if(this._config.chunkSize){var B=this._start+this._config.chunkSize-1;E.setRequestHeader("Range","bytes="+this._start+"-"+B)}try{E.send(this._config.downloadRequestBody)}catch(J){this._chunkError(J.message)}o&&E.status===0&&this._chunkError()}},this._chunkLoaded=function(){E.readyState===4&&(E.status<200||400<=E.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:E.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(M){var L=M.getResponseHeader("Content-Range");return L===null?-1:parseInt(L.substring(L.lastIndexOf("/")+1))}(E),this.parseChunk(E.responseText)))},this._chunkError=function(M){var L=E.statusText||M;this._sendError(new Error(L))}}function f(v){var E,M;(v=v||{}).chunkSize||(v.chunkSize=l.LocalChunkSize),u.call(this,v);var L=typeof FileReader<"u";this.stream=function(B){this._input=B,M=B.slice||B.webkitSlice||B.mozSlice,L?((E=new FileReader).onload=O(this._chunkLoaded,this),E.onerror=O(this._chunkError,this)):E=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(B.target.result)},this._chunkError=function(){this._sendError(E.error)}}function g(v){var E;u.call(this,v=v||{}),this.stream=function(M){return E=M,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var M,L=this._config.chunkSize;return L?(M=E.substring(0,L),E=E.substring(L)):(M=E,E=""),this._finished=!E,this.parseChunk(M)}}}function m(v){u.call(this,v=v||{});var E=[],M=!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(B){this._input=B,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){L&&E.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),E.length?this.parseChunk(E.shift()):M=!0},this._streamData=O(function(B){try{E.push(typeof B=="string"?B:B.toString(this._config.encoding)),M&&(M=!1,this._checkIsFinished(),this.parseChunk(E.shift()))}catch(J){this._streamError(J)}},this),this._streamError=O(function(B){this._streamCleanUp(),this._sendError(B)},this),this._streamEnd=O(function(){this._streamCleanUp(),L=!0,this._streamData("")},this),this._streamCleanUp=O(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function _(v){var E,M,L,B=Math.pow(2,53),J=-B,P=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ce=/^((\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)))$/,Z=this,T=0,q=0,G=!1,we=!1,_e=[],ee={data:[],errors:[],meta:{}};if(D(v.step)){var ke=v.step;v.step=function(X){if(ee=X,Q())N();else{if(N(),ee.data.length===0)return;T+=X.data.length,v.preview&&T>v.preview?M.abort():(ee.data=ee.data[0],ke(ee,Z))}}}function Se(X){return v.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function N(){return ee&&L&&(te("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),L=!1),v.skipEmptyLines&&(ee.data=ee.data.filter(function(X){return!Se(X)})),Q()&&function(){if(!ee)return;function X(he,w){D(v.transformHeader)&&(he=v.transformHeader(he,w)),_e.push(he)}if(Array.isArray(ee.data[0])){for(var ge=0;Q()&&ge=_e.length?"__parsed_extra":_e[A]),v.transform&&(z=v.transform(z,$)),z=V($,z),$==="__parsed_extra"?(F[$]=F[$]||[],F[$].push(z)):F[$]=z}return v.header&&(A>_e.length?te("FieldMismatch","TooManyFields","Too many fields: expected "+_e.length+" fields but parsed "+A,q+w):A<_e.length&&te("FieldMismatch","TooFewFields","Too few fields: expected "+_e.length+" fields but parsed "+A,q+w)),F}var ge=1;return!ee.data.length||Array.isArray(ee.data[0])?(ee.data=ee.data.map(X),ge=ee.data.length):ee.data=X(ee.data,0),v.header&&ee.meta&&(ee.meta.fields=_e),q+=ge,ee}()}function Q(){return v.header&&_e.length===0}function V(X,ge){return he=X,v.dynamicTypingFunction&&v.dynamicTyping[he]===void 0&&(v.dynamicTyping[he]=v.dynamicTypingFunction(he)),(v.dynamicTyping[he]||v.dynamicTyping)===!0?ge==="true"||ge==="TRUE"||ge!=="false"&&ge!=="FALSE"&&(function(w){if(P.test(w)){var A=parseFloat(w);if(J=this._config.preview;if(r)s.postMessage({results:J,workerId:l.WORKER_ID,finished:ce});else if(D(this._config.chunk)&&!M){if(this._config.chunk(J,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);J=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(J.data),this._completeResults.errors=this._completeResults.errors.concat(J.errors),this._completeResults.meta=J.meta),this._completed||!ce||!D(this._config.complete)||J&&J.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ce||J&&J.meta.paused||this._nextChunk(),J}this._halted=!0},this._sendError=function(E){D(this._config.error)?this._config.error(E):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:E,finished:!1})}}function h(v){var E;(v=v||{}).chunkSize||(v.chunkSize=l.RemoteChunkSize),u.call(this,v),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(M){this._input=M,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(E=new XMLHttpRequest,this._config.withCredentials&&(E.withCredentials=this._config.withCredentials),o||(E.onload=O(this._chunkLoaded,this),E.onerror=O(this._chunkError,this)),E.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var M=this._config.downloadRequestHeaders;for(var L in M)E.setRequestHeader(L,M[L])}if(this._config.chunkSize){var B=this._start+this._config.chunkSize-1;E.setRequestHeader("Range","bytes="+this._start+"-"+B)}try{E.send(this._config.downloadRequestBody)}catch(J){this._chunkError(J.message)}o&&E.status===0&&this._chunkError()}},this._chunkLoaded=function(){E.readyState===4&&(E.status<200||400<=E.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:E.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(M){var L=M.getResponseHeader("Content-Range");return L===null?-1:parseInt(L.substring(L.lastIndexOf("/")+1))}(E),this.parseChunk(E.responseText)))},this._chunkError=function(M){var L=E.statusText||M;this._sendError(new Error(L))}}function f(v){var E,M;(v=v||{}).chunkSize||(v.chunkSize=l.LocalChunkSize),u.call(this,v);var L=typeof FileReader<"u";this.stream=function(B){this._input=B,M=B.slice||B.webkitSlice||B.mozSlice,L?((E=new FileReader).onload=O(this._chunkLoaded,this),E.onerror=O(this._chunkError,this)):E=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(B.target.result)},this._chunkError=function(){this._sendError(E.error)}}function p(v){var E;u.call(this,v=v||{}),this.stream=function(M){return E=M,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var M,L=this._config.chunkSize;return L?(M=E.substring(0,L),E=E.substring(L)):(M=E,E=""),this._finished=!E,this.parseChunk(M)}}}function m(v){u.call(this,v=v||{});var E=[],M=!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(B){this._input=B,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){L&&E.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),E.length?this.parseChunk(E.shift()):M=!0},this._streamData=O(function(B){try{E.push(typeof B=="string"?B:B.toString(this._config.encoding)),M&&(M=!1,this._checkIsFinished(),this.parseChunk(E.shift()))}catch(J){this._streamError(J)}},this),this._streamError=O(function(B){this._streamCleanUp(),this._sendError(B)},this),this._streamEnd=O(function(){this._streamCleanUp(),L=!0,this._streamData("")},this),this._streamCleanUp=O(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function _(v){var E,M,L,B=Math.pow(2,53),J=-B,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ce=/^((\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)))$/,Z=this,T=0,q=0,G=!1,we=!1,_e=[],ee={data:[],errors:[],meta:{}};if(D(v.step)){var ke=v.step;v.step=function(X){if(ee=X,Q())N();else{if(N(),ee.data.length===0)return;T+=X.data.length,v.preview&&T>v.preview?M.abort():(ee.data=ee.data[0],ke(ee,Z))}}}function Se(X){return v.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function N(){return ee&&L&&(te("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),L=!1),v.skipEmptyLines&&(ee.data=ee.data.filter(function(X){return!Se(X)})),Q()&&function(){if(!ee)return;function X(he,w){D(v.transformHeader)&&(he=v.transformHeader(he,w)),_e.push(he)}if(Array.isArray(ee.data[0])){for(var ge=0;Q()&&ge=_e.length?"__parsed_extra":_e[A]),v.transform&&(z=v.transform(z,$)),z=V($,z),$==="__parsed_extra"?(F[$]=F[$]||[],F[$].push(z)):F[$]=z}return v.header&&(A>_e.length?te("FieldMismatch","TooManyFields","Too many fields: expected "+_e.length+" fields but parsed "+A,q+w):A<_e.length&&te("FieldMismatch","TooFewFields","Too few fields: expected "+_e.length+" fields but parsed "+A,q+w)),F}var ge=1;return!ee.data.length||Array.isArray(ee.data[0])?(ee.data=ee.data.map(X),ge=ee.data.length):ee.data=X(ee.data,0),v.header&&ee.meta&&(ee.meta.fields=_e),q+=ge,ee}()}function Q(){return v.header&&_e.length===0}function V(X,ge){return he=X,v.dynamicTypingFunction&&v.dynamicTyping[he]===void 0&&(v.dynamicTyping[he]=v.dynamicTypingFunction(he)),(v.dynamicTyping[he]||v.dynamicTyping)===!0?ge==="true"||ge==="TRUE"||ge!=="false"&&ge!=="FALSE"&&(function(w){if(I.test(w)){var A=parseFloat(w);if(J=ae.length/2?`\r -`:"\r"}(X,w)),L=!1,v.delimiter)D(v.delimiter)&&(v.delimiter=v.delimiter(X),ee.meta.delimiter=v.delimiter);else{var A=function($,z,ne,ae,j){var re,U,Y,le;j=j||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var pe=0;pe=P)return We(!0)}else for(fe=T,T++;;){if((fe=G.indexOf(E,fe+1))===-1)return _e||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:V.length,index:T}),Te();if(fe===ee-1)return Te(G.substring(T,fe).replace(pe,E));if(E!==Z||G[fe+1]!==Z){if(E===Z||fe===0||G[fe-1]!==Z){Y!==-1&&Y=P)return We(!0);break}te.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:V.length,index:T}),fe++}}else fe++}return Te();function ie(et){V.push(et),ge=T}function me(et){var st=0;if(et!==-1){var ct=G.substring(fe+1,et);ct&&ct.trim()===""&&(st=ct.length)}return st}function Te(et){return _e||(et===void 0&&(et=G.substring(T)),X.push(et),T=ee,ie(X),Q&&Pe()),We()}function Be(et){T=et,ie(X),X=[],le=G.indexOf(L,T)}function We(et){return{data:V,errors:te,meta:{delimiter:M,linebreak:L,aborted:q,truncated:!!et,cursor:ge+(we||0)}}}function Pe(){J(We()),V=[],te=[]}},this.abort=function(){q=!0},this.getCharIndex=function(){return T}}function y(v){var E=v.data,M=i[E.workerId],L=!1;if(E.error)M.userError(E.error,E.file);else if(E.results&&E.results.data){var B={abort:function(){L=!0,x(E.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:S,resume:S};if(D(M.userStep)){for(var J=0;J{this.lollmsVersion=t})},computed:{async fetchLollmsVersion(){return await ye.get("/get_lollms_version")}},async created(){},methods:{async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},loadFAQs(){fetch("/help/faqs.csv").then(t=>t.text()).then(t=>{const{data:e}=bMe.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,"
")}}},wi=t=>(ss("data-v-6f1a11a2"),t=t(),os(),t),vMe={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},wMe=wi(()=>c("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),xMe={class:"mb-4"},kMe=wi(()=>c("p",null,[xe("Discord link: "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")],-1)),EMe={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},CMe=wi(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),AMe={class:"list-disc pl-4"},SMe={class:"text-xl font-bold mb-1"},TMe=["innerHTML"],MMe=wi(()=>c("div",null,[c("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),c("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me."),c("p",null,[xe("Discord link: "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),OMe={class:"mt-8"},RMe=rs('

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),NMe=["href"];function DMe(t,e,n,s,o,r){return k(),C("div",vMe,[c("div",null,[wMe,c("p",xMe," Lollms version "+H(o.lollmsVersion),1),kMe]),c("div",EMe,[CMe,c("ul",AMe,[(k(!0),C(Re,null,Ge(o.faqs,(i,a)=>(k(),C("li",{key:a},[c("h3",SMe,H(i.question),1),c("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,TMe)]))),128))])]),MMe,c("div",OMe,[RMe,c("p",null,[xe("Check out the project on "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,NMe),xe(".")])])])}const LMe=Ue(yMe,[["render",DMe],["__scopeId","data-v-6f1a11a2"]]);function Gt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&rr.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 ")])])])):I("",!0)}const $g=Ue(IMe,[["render",zMe]]),jMe={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})}}},UMe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},qMe={class:"relative w-full max-w-md max-h-full"},HMe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},VMe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("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),GMe=c("span",{class:"sr-only"},"Close modal",-1),KMe=[VMe,GMe],WMe={class:"p-4 text-center"},ZMe=c("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"},[c("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),YMe={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function JMe(t,e,n,s,o,r){return o.show?(k(),C("div",UMe,[c("div",qMe,[c("div",HMe,[c("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"},KMe),c("div",WMe,[ZMe,c("h3",YMe,H(o.message),1),c("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"},H(o.ConfirmButtonText),1),c("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"},H(o.DenyButtonText),1)])])])])):I("",!0)}const QMe=Ue(jMe,[["render",JMe]]),Rr="/assets/default_model-9e24e852.png",XMe={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,linkNotValid:!1,selected_variant:""}},async mounted(){be(()=>{ve.replace()})},methods:{formatFileSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(t){return Gt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await ye.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"),"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Rr:this.icon},defaultImg(t){t.target.src=Rr},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):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(){this.$emit("copy","this.message.content")}},computed:{fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const t=this.model.variants[0].size;return this.formatFileSize(t)}return null}},speed_computed(){return Gt(this.speed)},total_size_computed(){return Gt(this.total_size)},downloaded_size_computed(){return Gt(this.downloaded_size)}},watch:{linkNotValid(){be(()=>{ve.replace()})}}},eOe=["title"],tOe={key:0,class:"flex flex-row"},nOe={class:"max-w-[300px] overflow-x-auto"},sOe={class:"flex gap-3 items-center grow"},oOe=["src"],rOe={class:"flex-1 overflow-hidden"},iOe={class:"font-bold font-large text-lg truncate"},aOe={key:1,class:"flex items-center flex-row gap-2 my-1"},lOe={class:"flex grow items-center"},cOe=c("i",{"data-feather":"box",class:"w-5"},null,-1),dOe=c("span",{class:"sr-only"},"Custom model / local model",-1),uOe=[cOe,dOe],hOe=c("span",{class:"sr-only"},"Remove",-1),fOe={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"},pOe={class:"relative flex flex-col items-center justify-center flex-grow h-full"},gOe=c("div",{role:"status",class:"justify-center"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1),mOe={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},_Oe={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},bOe={class:"flex justify-between mb-1"},yOe=c("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),vOe={class:"text-sm font-medium text-blue-700 dark:text-white"},wOe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},xOe={class:"flex justify-between mb-1"},kOe={class:"text-base font-medium text-blue-700 dark:text-white"},EOe={class:"text-sm font-medium text-blue-700 dark:text-white"},COe={class:"flex flex-grow"},AOe={class:"flex flex-row flex-grow gap-3"},SOe={class:"p-2 text-center grow"},TOe={key:3},MOe={class:"flex flex-row items-center gap-3"},OOe=["src"],ROe={class:"font-bold font-large text-lg truncate"},NOe=c("div",{class:"grow"},null,-1),DOe=c("div",{class:"flex-none gap-1"},null,-1),LOe={class:"flex items-center flex-row-reverse gap-2 my-1"},IOe=c("span",{class:"sr-only"},"Copy info",-1),POe={class:"flex flex-row items-center"},FOe={key:0,class:"text-base text-red-600 flex items-center mt-1"},BOe=c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),$Oe=c("span",{class:"sr-only"},"Click to install",-1),zOe=c("span",{class:"sr-only"},"Remove",-1),jOe=["title"],UOe={class:""},qOe={class:"flex flex-row items-center"},HOe=c("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),VOe=c("b",null,"Manual download: ",-1),GOe=["href","title"],KOe=c("div",{class:"grow"},null,-1),WOe=c("i",{"data-feather":"clipboard",class:"w-5"},null,-1),ZOe=[WOe],YOe={class:"flex items-center"},JOe=c("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),QOe=c("b",null,"File size: ",-1),XOe={class:"flex items-center"},eRe=c("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),tRe=c("b",null,"License: ",-1),nRe={class:"flex items-center"},sRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),oRe=c("b",null,"Owner: ",-1),rRe=["href"],iRe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),aRe=["title"];function lRe(t,e,n,s,o,r){return k(),C("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]=de((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(k(),C("div",tOe,[c("div",nOe,[c("div",sOe,[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,oOe),c("div",rOe,[c("h3",iOe,H(n.title),1)])])])])):I("",!0),n.model.isCustomModel?(k(),C("div",aOe,[c("div",lOe,[c("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]=de(()=>{},["stop"]))},uOe),xe(" Custom model ")]),c("div",null,[n.model.isInstalled?(k(),C("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=de((...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"},[xe(" Uninstall "),hOe])):I("",!0)])])):I("",!0),o.installing?(k(),C("div",fOe,[c("div",pOe,[gOe,c("div",mOe,[c("div",_Oe,[c("div",bOe,[yOe,c("span",vOe,H(Math.floor(o.progress))+"%",1)]),c("div",wOe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.progress+"%"})},null,4)]),c("div",xOe,[c("span",kOe,"Download speed: "+H(r.speed_computed)+"/s",1),c("span",EOe,H(r.downloaded_size_computed)+"/"+H(r.total_size_computed),1)])])]),c("div",COe,[c("div",AOe,[c("div",SOe,[c("button",{onClick:e[3]||(e[3]=de((...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 ")])])])])])):I("",!0),n.model.isCustomModel?I("",!0):(k(),C("div",TOe,[c("div",MOe,[c("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,OOe),c("h3",ROe,H(n.title),1),NOe,DOe]),c("div",LOe,[c("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=de(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"},[xe(" Copy info "),IOe]),c("div",POe,[o.linkNotValid?(k(),C("div",FOe,[BOe,xe(" Link is not valid ")])):I("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(k(),C("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=de((...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"},[xe(" Install "),$Oe])):I("",!0),n.model.isInstalled?(k(),C("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=de((...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"},[xe(" Uninstall "),zOe])):I("",!0)]),c("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[c("div",UOe,[c("div",qOe,[HOe,VOe,c("a",{href:n.path,onClick:e[8]||(e[8]=de(()=>{},["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,GOe),KOe,c("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]=de(i=>r.toggleCopyLink(),["stop"]))},ZOe)]),c("div",YOe,[c("div",{class:Me(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[JOe,QOe,xe(" "+H(r.fileSize),1)],2)]),c("div",XOe,[eRe,tRe,xe(" "+H(n.license),1)]),c("div",nRe,[sRe,oRe,c("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=de(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},H(n.owner),9,rRe)])]),iRe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},H(n.description.replace(/<\/?[^>]+>/ig," ")),9,aRe)],8,jOe)]))],10,eOe)}const cRe=Ue(XMe,[["render",lRe]]),dRe={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",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}}},uRe={class:"p-4"},hRe={class:"flex items-center mb-4"},fRe=["src"],pRe={class:"text-lg font-semibold"},gRe=c("strong",null,"Author:",-1),mRe=c("strong",null,"Description:",-1),_Re=c("strong",null,"Category:",-1),bRe={key:0},yRe=c("strong",null,"Disclaimer:",-1),vRe=c("strong",null,"Conditioning Text:",-1),wRe=c("strong",null,"AI Prefix:",-1),xRe=c("strong",null,"User Prefix:",-1),kRe=c("strong",null,"Antiprompts:",-1);function ERe(t,e,n,s,o,r){return k(),C("div",uRe,[c("div",hRe,[c("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,fRe),c("h2",pRe,H(o.personalityName),1)]),c("p",null,[gRe,xe(" "+H(o.personalityAuthor),1)]),c("p",null,[mRe,xe(" "+H(o.personalityDescription),1)]),c("p",null,[_Re,xe(" "+H(o.personalityCategory),1)]),o.disclaimer?(k(),C("p",bRe,[yRe,xe(" "+H(o.disclaimer),1)])):I("",!0),c("p",null,[vRe,xe(" "+H(o.conditioningText),1)]),c("p",null,[wRe,xe(" "+H(o.aiPrefix),1)]),c("p",null,[xRe,xe(" "+H(o.userPrefix),1)]),c("div",null,[kRe,c("ul",null,[(k(!0),C(Re,null,Ge(o.antipromptsList,i=>(k(),C("li",{key:i.id},H(i.text),1))),128))])]),c("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?(k(),C("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 ")):I("",!0)])}const CRe=Ue(dRe,[["render",ERe]]),es="/assets/logo-9d653710.svg";const ARe={props:{icon:{type:String,required:!1,value:"feather:command"},commands:{type:Array,required:!0},force_position:{required:!1,value:0},execute_cmd:{type:Function,required:!1}},data(){return{isMenuOpen:!1,menuPosition:{bottom:"auto",top:"calc(100% + 10px)"}}},methods:{handleClickOutside(t){const e=this.$refs.menu,n=this.$refs.menuButton;e&&!e.contains(t.target)&&!n.contains(t.target)&&(this.isMenuOpen=!1,window.removeEventListener("click",this.handleClickOutside))},toggleMenu(){this.positionMenu(),this.isMenuOpen=!this.isMenuOpen,this.isMenuOpen?window.addEventListener("click",this.handleClickOutside):window.removeEventListener("click",this.handleClickOutside),be(()=>{ve.replace()})},executeCommand(t){this.isMenuOpen=!1,console.log("Selected"),console.log(t.value),typeof t.value=="function"&&(console.log("Command detected"),t.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(t))},positionMenu(){var t;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),n=window.innerHeight;t=e.bottom>n/2}else this.force_position==1?t=!0:t=!1;this.menuPosition.top=t?"auto":"calc(100% + 10px)",this.menuPosition.bottom=t?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),be(()=>{ve.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},SRe={class:"menu-container"},TRe=["src","alt"],MRe=["data-feather"],ORe=c("i",{"data-feather":"command"},null,-1),RRe={class:"flex-grow menu-ul"},NRe=["onClick"],DRe=["src","alt"],LRe=["data-feather"],IRe={key:2,class:"menu-icon"};function PRe(t,e,n,s,o,r){return k(),C("div",SRe,[c("button",{onClick:e[0]||(e[0]=de((...i)=>r.toggleMenu&&r.toggleMenu(...i),["prevent"])),class:"menu-button bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded-full flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 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-gray-300 border-secondary cursor-pointer",ref:"menuButton"},[n.icon&&!n.icon.includes("feather")?(k(),C("img",{key:0,src:t.command.icon,alt:t.command.name,class:"w-5 h-5"},null,8,TRe)):I("",!0),n.icon&&n.icon.includes("feather")?(k(),C("i",{key:1,"data-feather":t.command.icon.split(":")[1],class:"w-5 h-5"},null,8,MRe)):I("",!0),ORe],512),ue(Ts,{name:"slide"},{default:Ne(()=>[o.isMenuOpen?(k(),C("div",{key:0,class:"menu-list flex-grow",style:yt(o.menuPosition),ref:"menu"},[c("ul",RRe,[(k(!0),C(Re,null,Ge(n.commands,(i,a)=>(k(),C("li",{key:a,onClick:l=>r.executeCommand(i),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[i.icon&&!i.icon.includes("feather")&&!i.is_file?(k(),C("img",{key:0,src:i.icon,alt:i.name,class:"menu-icon"},null,8,DRe)):I("",!0),i.icon&&i.icon.includes("feather")&&!i.is_file?(k(),C("i",{key:1,"data-feather":i.icon.split(":")[1],class:"mr-2"},null,8,LRe)):(k(),C("span",IRe)),c("span",null,H(i.name),1)],8,NRe))),128))])],4)):I("",!0)]),_:1})])}const zg=Ue(ARe,[["render",PRe]]),FRe="/",BRe={props:{personality:{},selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMounted:Function,onRemount:Function,onReinstall:Function,onSettings:Function},components:{InteractiveMenu:zg},data(){return{isMounted:!1,name:this.personality.name}},computed:{commandsList(){let t=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.toggleMounted},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return this.isMounted&&t.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.has_scripts&&t.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),t},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,be(()=>{ve.replace()})},methods:{getImgUrl(){return FRe+this.personality.avatar},defaultImg(t){t.target.src=es},toggleTalk(){this.onTalk(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},reMount(){this.onRemount(this)},toggleMounted(){console.log("Mounting/unmounting"),this.onMounted(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){be(()=>{ve.replace()})}}},$Re=["title"],zRe={class:"flex flex-row items-center flex-shrink-0 gap-3"},jRe=["src"],URe=c("i",{"data-feather":"check",class:"w-5"},null,-1),qRe=c("span",{class:"sr-only"},"Select",-1),HRe=[URe,qRe],VRe=c("i",{"data-feather":"send",class:"w-5"},null,-1),GRe=c("span",{class:"sr-only"},"Talk",-1),KRe=[VRe,GRe],WRe={class:""},ZRe={class:""},YRe={class:"flex items-center"},JRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),QRe=c("b",null,"Author: ",-1),XRe={key:0,class:"flex items-center"},eNe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),tNe=c("b",null,"Languages: ",-1),nNe=["selected"],sNe={class:"flex items-center"},oNe=c("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),rNe=c("b",null,"Category: ",-1),iNe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),aNe=["title"];function lNe(t,e,n,s,o,r){const i=qe("InteractiveMenu");return k(),C("div",{class:Me(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",r.selected_computed?"border-2 border-primary-light":"border-transparent",o.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:n.personality.installed?"":"Not installed"},[c("div",{class:Me(n.personality.installed?"":"opacity-50")},[c("div",zRe,[c("img",{onClick:e[0]||(e[0]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),ref:"imgElement",src:r.getImgUrl(),onError:e[1]||(e[1]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,jRe),c("h3",{onClick:e[2]||(e[2]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},H(n.personality.name),1),o.isMounted?(k(),C("button",{key:0,type:"button",title:"Select",onClick:[e[3]||(e[3]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),e[4]||(e[4]=de(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},HRe)):I("",!0),o.isMounted?(k(),C("button",{key:1,type:"button",title:"Talk",onClick:[e[5]||(e[5]=(...a)=>r.toggleTalk&&r.toggleTalk(...a)),e[6]||(e[6]=de(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},KRe)):I("",!0),ue(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),c("div",WRe,[c("div",ZRe,[c("div",YRe,[JRe,QRe,xe(" "+H(n.personality.author),1)]),n.personality.languages?(k(),C("div",XRe,[eNe,tNe,se(c("select",{id:"languages","onUpdate:modelValue":e[7]||(e[7]=a=>n.personality.lang=a),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"},[(k(!0),C(Re,null,Ge(n.personality.languages,(a,l)=>(k(),C("option",{key:l,selected:a==n.personality.languages[0]},H(a),9,nNe))),128))],512),[[on,n.personality.lang]])])):I("",!0),c("div",sNe,[oNe,rNe,xe(" "+H(n.personality.category),1)])]),iNe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},H(n.personality.description),9,aNe)])],2)],10,$Re)}const jg=Ue(BRe,[["render",lNe]]),cNe="/",dNe={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){be(()=>{ve.replace()})},methods:{getImgUrl(){return cNe+this.binding.icon},defaultImg(t){t.target.src=es},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleReloadBinding(){this.onReloadBinding(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){be(()=>{ve.replace()})}}},uNe=["title"],hNe={class:"flex flex-row items-center gap-3"},fNe=["src"],pNe={class:"font-bold font-large text-lg truncate"},gNe=c("div",{class:"grow"},null,-1),mNe={class:"flex-none gap-1"},_Ne=c("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),bNe=c("span",{class:"sr-only"},"Help",-1),yNe=[_Ne,bNe],vNe={class:"flex items-center flex-row-reverse gap-2 my-1"},wNe=c("span",{class:"sr-only"},"Click to install",-1),xNe=c("span",{class:"sr-only"},"Reinstall binding",-1),kNe=c("span",{class:"sr-only"},"Settings",-1),ENe={class:""},CNe={class:""},ANe={class:"flex items-center"},SNe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),TNe=c("b",null,"Author: ",-1),MNe={class:"flex items-center"},ONe=c("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),RNe=c("b",null,"Folder: ",-1),NNe={class:"flex items-center"},DNe=c("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),LNe=c("b",null,"Version: ",-1),INe={class:"flex items-center"},PNe=c("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),FNe=c("b",null,"Link: ",-1),BNe=["href"],$Ne=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),zNe=["title"];function jNe(t,e,n,s,o,r){return k(),C("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[6]||(e[6]=de((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[c("div",null,[c("div",hNe,[c("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,fNe),c("h3",pNe,H(n.binding.name),1),gNe,c("div",mNe,[n.selected?(k(),C("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...i)=>r.toggleReloadBinding&&r.toggleReloadBinding(...i)),e[2]||(e[2]=de(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},yNe)):I("",!0)])]),c("div",vNe,[n.binding.installed?I("",!0):(k(),C("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=de((...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"},[xe(" Install "),wNe])),n.binding.installed?(k(),C("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=de((...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"},[xe(" Reinstall binding "),xNe])):I("",!0),n.selected?(k(),C("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[5]||(e[5]=de((...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"},[xe(" Settings "),kNe])):I("",!0)]),c("div",ENe,[c("div",CNe,[c("div",ANe,[SNe,TNe,xe(" "+H(n.binding.author),1)]),c("div",MNe,[ONe,RNe,xe(" "+H(n.binding.folder),1)]),c("div",NNe,[DNe,LNe,xe(" "+H(n.binding.version),1)]),c("div",INe,[PNe,FNe,c("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},H(n.binding.link),9,BNe)])]),$Ne,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},H(n.binding.description),9,zNe)])])],10,uNe)}const UNe=Ue(dNe,[["render",jNe]]),qNe={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})}}},HNe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},VNe={class:"relative w-full max-w-md max-h-full"},GNe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},KNe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("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),WNe=c("span",{class:"sr-only"},"Close modal",-1),ZNe=[KNe,WNe],YNe={class:"p-4 text-center"},JNe=c("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"},[c("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),QNe={class:"p-4 text-center mx-auto mb-4"},XNe=c("label",{class:"mr-2"},"Model path",-1);function eDe(t,e,n,s,o,r){return o.show?(k(),C("div",HNe,[c("div",VNe,[c("div",GNe,[c("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"},ZNe),c("div",YNe,[JNe,c("div",QNe,[XNe,se(c("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),[[Oe,o.model_path]])]),c("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 "),c("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")])])])])):I("",!0)}const tDe=Ue(qNe,[["render",eDe]]),nDe={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){be(()=>{ve.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(){be(()=>{ve.replace()})}}},sDe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},oDe={class:"relative w-full max-w-md"},rDe={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},iDe={class:"flex flex-row flex-grow items-center m-2 p-1"},aDe={class:"grow flex items-center"},lDe=c("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),cDe={class:"text-lg font-semibold select-none mr-2"},dDe={class:"items-end"},uDe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("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),hDe=c("span",{class:"sr-only"},"Close form modal",-1),fDe=[uDe,hDe],pDe={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},gDe={class:"px-2"},mDe={key:0},_De={key:0},bDe={class:"text-base font-semibold"},yDe={key:0,class:"relative inline-flex"},vDe=["onUpdate:modelValue"],wDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),xDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},kDe=["onUpdate:modelValue"],EDe={key:1},CDe={class:"text-base font-semibold"},ADe={key:0,class:"relative inline-flex"},SDe=["onUpdate:modelValue"],TDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),MDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},ODe=["onUpdate:modelValue"],RDe=["value","selected"],NDe={key:1},DDe={class:"text-base font-semibold"},LDe={key:0,class:"relative inline-flex"},IDe=["onUpdate:modelValue"],PDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),FDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},BDe=["onUpdate:modelValue"],$De=["onUpdate:modelValue","min","max"],zDe={key:2},jDe={class:"mb-2 relative flex items-center gap-2"},UDe={for:"default-checkbox",class:"text-base font-semibold"},qDe=["onUpdate:modelValue"],HDe={key:0,class:"relative inline-flex"},VDe=["onUpdate:modelValue"],GDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),KDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},WDe={key:3},ZDe={class:"text-base font-semibold"},YDe={key:0,class:"relative inline-flex"},JDe=["onUpdate:modelValue"],QDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),XDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},eLe=["onUpdate:modelValue"],tLe=c("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),nLe={class:"flex flex-row flex-grow gap-3"},sLe={class:"p-2 text-center grow"};function oLe(t,e,n,s,o,r){return o.show?(k(),C("div",sDe,[c("div",oDe,[c("div",rDe,[c("div",iDe,[c("div",aDe,[lDe,c("h3",cDe,H(o.title),1)]),c("div",dDe,[c("button",{type:"button",onClick:e[0]||(e[0]=de(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"},fDe)])]),c("div",pDe,[(k(!0),C(Re,null,Ge(o.controls_array,(i,a)=>(k(),C("div",gDe,[i.type=="str"?(k(),C("div",mDe,[i.options?I("",!0):(k(),C("div",_De,[c("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 ":""])},[c("div",bDe,H(i.name)+": ",1),i.help?(k(),C("label",yDe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,vDe),[[rt,i.isHelp]]),wDe])):I("",!0)],2),i.isHelp?(k(),C("p",xDe,H(i.help),1)):I("",!0),se(c("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,kDe),[[Oe,i.value]])])),i.options?(k(),C("div",EDe,[c("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 ":""])},[c("div",CDe,H(i.name)+": ",1),i.help?(k(),C("label",ADe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,SDe),[[rt,i.isHelp]]),TDe])):I("",!0)],2),i.isHelp?(k(),C("p",MDe,H(i.help),1)):I("",!0),se(c("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"},[(k(!0),C(Re,null,Ge(i.options,l=>(k(),C("option",{value:l,selected:i.value===l},H(l),9,RDe))),256))],8,ODe),[[on,i.value]])])):I("",!0)])):I("",!0),i.type=="int"||i.type=="float"?(k(),C("div",NDe,[c("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 ":""])},[c("div",DDe,H(i.name)+": ",1),i.help?(k(),C("label",LDe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,IDe),[[rt,i.isHelp]]),PDe])):I("",!0)],2),i.isHelp?(k(),C("p",FDe,H(i.help),1)):I("",!0),se(c("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,BDe),[[Oe,i.value]]),i.min!=null&&i.max!=null?se((k(),C("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,$De)),[[Oe,i.value]]):I("",!0)])):I("",!0),i.type=="bool"?(k(),C("div",zDe,[c("div",jDe,[c("label",UDe,H(i.name)+": ",1),se(c("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,qDe),[[rt,i.value]]),i.help?(k(),C("label",HDe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,VDe),[[rt,i.isHelp]]),GDe])):I("",!0)]),i.isHelp?(k(),C("p",KDe,H(i.help),1)):I("",!0)])):I("",!0),i.type=="list"?(k(),C("div",WDe,[c("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 ":""])},[c("div",ZDe,H(i.name)+": ",1),i.help?(k(),C("label",YDe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,JDe),[[rt,i.isHelp]]),QDe])):I("",!0)],2),i.isHelp?(k(),C("p",XDe,H(i.help),1)):I("",!0),se(c("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,eLe),[[Oe,i.value]])])):I("",!0),tLe]))),256)),c("div",nLe,[c("div",sLe,[c("button",{onClick:e[1]||(e[1]=de(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"},H(o.ConfirmButtonText),1),c("button",{onClick:e[2]||(e[2]=de(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-11 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"},H(o.DenyButtonText),1)])])])])])])):I("",!0)}const wc=Ue(nDe,[["render",oLe]]);const rLe={props:{show:{type:Boolean,required:!0},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null}},methods:{selectChoice(t){this.selectedChoice=t,this.$emit("choice-selected",t)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated")},formatSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"}}},iLe={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},aLe={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},lLe={class:"text-xl font-semibold mb-4"},cLe={class:"h-48 overflow-y-auto"},dLe=["onClick"],uLe={class:"font-bold"},hLe=c("br",null,null,-1),fLe={class:"text-xs text-gray-500"},pLe={class:"flex justify-end mt-4"},gLe=["disabled"];function mLe(t,e,n,s,o,r){return k(),tt(Ts,{name:"fade"},{default:Ne(()=>[n.show?(k(),C("div",iLe,[c("div",aLe,[c("h2",lLe,H(n.title),1),c("div",cLe,[c("ul",null,[(k(!0),C(Re,null,Ge(n.choices,(i,a)=>(k(),C("li",{key:a,onClick:l=>r.selectChoice(i),class:Me([{"selected-choice":i===o.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[c("span",uLe,H(i.name),1),hLe,c("span",fLe,H(this.formatSize(i.size)),1)],10,dLe))),128))])]),c("div",pLe,[c("button",{onClick:e[0]||(e[0]=(...i)=>r.closeDialog&&r.closeDialog(...i)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),c("button",{onClick:e[1]||(e[1]=(...i)=>r.validateChoice&&r.validateChoice(...i)),class:Me([{"bg-gray-400 cursor-not-allowed":!o.selectedChoice,"bg-blue-500 hover:bg-blue-600":o.selectedChoice,"text-white":o.selectedChoice,"text-gray-500":!o.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!o.selectedChoice}," Validate ",10,gLe)])])])):I("",!0)]),_:1})}const _Le=Ue(rLe,[["render",mLe]]);const bLe="/";ye.defaults.baseURL="/";const yLe={components:{AddModelDialog:tDe,MessageBox:$g,YesNoDialog:QMe,ModelEntry:cRe,PersonalityViewer:CRe,Toast:Ks,PersonalityEntry:jg,BindingEntry:UNe,UniversalForm:wc,ChoiceDialog:_Le,Card:vi},data(){return{reference_path:"",audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],collapsedArr:[],all_collapsed:!0,minconf_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,persCatgArr:[],persArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:bLe,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){Ee.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{getVoices(){"speechSynthesis"in window&&(this.audioVoices=speechSynthesis.getVoices(),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let t=this.currenModelToInstall;if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e=t.path;this.showProgress=!0,this.progress=0,this.addModel={model_name:this.selected_variant.name,binding_folder:this.configFile.binding_name,model_url:t.path},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),Ee.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model: +`);var T=0,q=!1;this.parse=function(G,we,_e){if(typeof G!="string")throw new Error("Input must be a string");var ee=G.length,ke=M.length,Se=L.length,N=B.length,Q=D(J),V=[],te=[],X=[],ge=T=0;if(!G)return We();if(v.header&&!we){var he=G.split(L)[0].split(M),w=[],A={},F=!1;for(var $ in he){var z=he[$];D(v.transformHeader)&&(z=v.transformHeader(z,$));var ne=z,ae=A[z]||0;for(0=I)return We(!0)}else for(fe=T,T++;;){if((fe=G.indexOf(E,fe+1))===-1)return _e||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:V.length,index:T}),Te();if(fe===ee-1)return Te(G.substring(T,fe).replace(pe,E));if(E!==Z||G[fe+1]!==Z){if(E===Z||fe===0||G[fe-1]!==Z){Y!==-1&&Y=I)return We(!0);break}te.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:V.length,index:T}),fe++}}else fe++}return Te();function re(et){V.push(et),ge=T}function me(et){var st=0;if(et!==-1){var ct=G.substring(fe+1,et);ct&&ct.trim()===""&&(st=ct.length)}return st}function Te(et){return _e||(et===void 0&&(et=G.substring(T)),X.push(et),T=ee,re(X),Q&&Pe()),We()}function Be(et){T=et,re(X),X=[],le=G.indexOf(L,T)}function We(et){return{data:V,errors:te,meta:{delimiter:M,linebreak:L,aborted:q,truncated:!!et,cursor:ge+(we||0)}}}function Pe(){J(We()),V=[],te=[]}},this.abort=function(){q=!0},this.getCharIndex=function(){return T}}function y(v){var E=v.data,M=i[E.workerId],L=!1;if(E.error)M.userError(E.error,E.file);else if(E.results&&E.results.data){var B={abort:function(){L=!0,x(E.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:S,resume:S};if(D(M.userStep)){for(var J=0;J{this.lollmsVersion=t})},computed:{async fetchLollmsVersion(){return await ye.get("/get_lollms_version")}},async created(){},methods:{async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},loadFAQs(){fetch("/help/faqs.csv").then(t=>t.text()).then(t=>{const{data:e}=bMe.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,"
")}}},wi=t=>(ss("data-v-6f1a11a2"),t=t(),os(),t),vMe={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},wMe=wi(()=>c("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),xMe={class:"mb-4"},kMe=wi(()=>c("p",null,[xe("Discord link: "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")],-1)),EMe={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},CMe=wi(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),AMe={class:"list-disc pl-4"},SMe={class:"text-xl font-bold mb-1"},TMe=["innerHTML"],MMe=wi(()=>c("div",null,[c("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),c("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me."),c("p",null,[xe("Discord link: "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),OMe={class:"mt-8"},RMe=rs('

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),NMe=["href"];function DMe(t,e,n,s,o,r){return k(),C("div",vMe,[c("div",null,[wMe,c("p",xMe," Lollms version "+H(o.lollmsVersion),1),kMe]),c("div",EMe,[CMe,c("ul",AMe,[(k(!0),C(Re,null,Ke(o.faqs,(i,a)=>(k(),C("li",{key:a},[c("h3",SMe,H(i.question),1),c("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,TMe)]))),128))])]),MMe,c("div",OMe,[RMe,c("p",null,[xe("Check out the project on "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,NMe),xe(".")])])])}const LMe=qe(yMe,[["render",DMe],["__scopeId","data-v-6f1a11a2"]]);function Gt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&rr.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 ")])])])):P("",!0)}const zg=qe(IMe,[["render",zMe]]),jMe={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})}}},UMe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},qMe={class:"relative w-full max-w-md max-h-full"},HMe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},VMe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("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),GMe=c("span",{class:"sr-only"},"Close modal",-1),KMe=[VMe,GMe],WMe={class:"p-4 text-center"},ZMe=c("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"},[c("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),YMe={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function JMe(t,e,n,s,o,r){return o.show?(k(),C("div",UMe,[c("div",qMe,[c("div",HMe,[c("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"},KMe),c("div",WMe,[ZMe,c("h3",YMe,H(o.message),1),c("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"},H(o.ConfirmButtonText),1),c("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"},H(o.DenyButtonText),1)])])])])):P("",!0)}const QMe=qe(jMe,[["render",JMe]]),Rr="/assets/default_model-9e24e852.png",XMe={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,linkNotValid:!1,selected_variant:""}},async mounted(){be(()=>{ve.replace()})},methods:{formatFileSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(t){return Gt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await ye.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"),"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Rr:this.icon},defaultImg(t){t.target.src=Rr},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):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(){this.$emit("copy","this.message.content")}},computed:{fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const t=this.model.variants[0].size;return this.formatFileSize(t)}return null}},speed_computed(){return Gt(this.speed)},total_size_computed(){return Gt(this.total_size)},downloaded_size_computed(){return Gt(this.downloaded_size)}},watch:{linkNotValid(){be(()=>{ve.replace()})}}},eOe=["title"],tOe={key:0,class:"flex flex-row"},nOe={class:"max-w-[300px] overflow-x-auto"},sOe={class:"flex gap-3 items-center grow"},oOe=["src"],rOe={class:"flex-1 overflow-hidden"},iOe={class:"font-bold font-large text-lg truncate"},aOe={key:1,class:"flex items-center flex-row gap-2 my-1"},lOe={class:"flex grow items-center"},cOe=c("i",{"data-feather":"box",class:"w-5"},null,-1),dOe=c("span",{class:"sr-only"},"Custom model / local model",-1),uOe=[cOe,dOe],hOe=c("span",{class:"sr-only"},"Remove",-1),fOe={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"},pOe={class:"relative flex flex-col items-center justify-center flex-grow h-full"},gOe=c("div",{role:"status",class:"justify-center"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1),mOe={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},_Oe={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},bOe={class:"flex justify-between mb-1"},yOe=c("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),vOe={class:"text-sm font-medium text-blue-700 dark:text-white"},wOe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},xOe={class:"flex justify-between mb-1"},kOe={class:"text-base font-medium text-blue-700 dark:text-white"},EOe={class:"text-sm font-medium text-blue-700 dark:text-white"},COe={class:"flex flex-grow"},AOe={class:"flex flex-row flex-grow gap-3"},SOe={class:"p-2 text-center grow"},TOe={key:3},MOe={class:"flex flex-row items-center gap-3"},OOe=["src"],ROe={class:"font-bold font-large text-lg truncate"},NOe=c("div",{class:"grow"},null,-1),DOe=c("div",{class:"flex-none gap-1"},null,-1),LOe={class:"flex items-center flex-row-reverse gap-2 my-1"},IOe=c("span",{class:"sr-only"},"Copy info",-1),POe={class:"flex flex-row items-center"},FOe={key:0,class:"text-base text-red-600 flex items-center mt-1"},BOe=c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),$Oe=c("span",{class:"sr-only"},"Click to install",-1),zOe=c("span",{class:"sr-only"},"Remove",-1),jOe=["title"],UOe={class:""},qOe={class:"flex flex-row items-center"},HOe=c("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),VOe=c("b",null,"Manual download: ",-1),GOe=["href","title"],KOe=c("div",{class:"grow"},null,-1),WOe=c("i",{"data-feather":"clipboard",class:"w-5"},null,-1),ZOe=[WOe],YOe={class:"flex items-center"},JOe=c("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),QOe=c("b",null,"File size: ",-1),XOe={class:"flex items-center"},eRe=c("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),tRe=c("b",null,"License: ",-1),nRe={class:"flex items-center"},sRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),oRe=c("b",null,"Owner: ",-1),rRe=["href"],iRe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),aRe=["title"];function lRe(t,e,n,s,o,r){return k(),C("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]=de((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(k(),C("div",tOe,[c("div",nOe,[c("div",sOe,[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,oOe),c("div",rOe,[c("h3",iOe,H(n.title),1)])])])])):P("",!0),n.model.isCustomModel?(k(),C("div",aOe,[c("div",lOe,[c("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]=de(()=>{},["stop"]))},uOe),xe(" Custom model ")]),c("div",null,[n.model.isInstalled?(k(),C("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=de((...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"},[xe(" Uninstall "),hOe])):P("",!0)])])):P("",!0),o.installing?(k(),C("div",fOe,[c("div",pOe,[gOe,c("div",mOe,[c("div",_Oe,[c("div",bOe,[yOe,c("span",vOe,H(Math.floor(o.progress))+"%",1)]),c("div",wOe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.progress+"%"})},null,4)]),c("div",xOe,[c("span",kOe,"Download speed: "+H(r.speed_computed)+"/s",1),c("span",EOe,H(r.downloaded_size_computed)+"/"+H(r.total_size_computed),1)])])]),c("div",COe,[c("div",AOe,[c("div",SOe,[c("button",{onClick:e[3]||(e[3]=de((...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 ")])])])])])):P("",!0),n.model.isCustomModel?P("",!0):(k(),C("div",TOe,[c("div",MOe,[c("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,OOe),c("h3",ROe,H(n.title),1),NOe,DOe]),c("div",LOe,[c("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=de(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"},[xe(" Copy info "),IOe]),c("div",POe,[o.linkNotValid?(k(),C("div",FOe,[BOe,xe(" Link is not valid ")])):P("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(k(),C("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=de((...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"},[xe(" Install "),$Oe])):P("",!0),n.model.isInstalled?(k(),C("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=de((...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"},[xe(" Uninstall "),zOe])):P("",!0)]),c("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[c("div",UOe,[c("div",qOe,[HOe,VOe,c("a",{href:n.path,onClick:e[8]||(e[8]=de(()=>{},["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,GOe),KOe,c("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]=de(i=>r.toggleCopyLink(),["stop"]))},ZOe)]),c("div",YOe,[c("div",{class:Me(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[JOe,QOe,xe(" "+H(r.fileSize),1)],2)]),c("div",XOe,[eRe,tRe,xe(" "+H(n.license),1)]),c("div",nRe,[sRe,oRe,c("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=de(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},H(n.owner),9,rRe)])]),iRe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},H(n.description.replace(/<\/?[^>]+>/ig," ")),9,aRe)],8,jOe)]))],10,eOe)}const cRe=qe(XMe,[["render",lRe]]),dRe={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",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}}},uRe={class:"p-4"},hRe={class:"flex items-center mb-4"},fRe=["src"],pRe={class:"text-lg font-semibold"},gRe=c("strong",null,"Author:",-1),mRe=c("strong",null,"Description:",-1),_Re=c("strong",null,"Category:",-1),bRe={key:0},yRe=c("strong",null,"Disclaimer:",-1),vRe=c("strong",null,"Conditioning Text:",-1),wRe=c("strong",null,"AI Prefix:",-1),xRe=c("strong",null,"User Prefix:",-1),kRe=c("strong",null,"Antiprompts:",-1);function ERe(t,e,n,s,o,r){return k(),C("div",uRe,[c("div",hRe,[c("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,fRe),c("h2",pRe,H(o.personalityName),1)]),c("p",null,[gRe,xe(" "+H(o.personalityAuthor),1)]),c("p",null,[mRe,xe(" "+H(o.personalityDescription),1)]),c("p",null,[_Re,xe(" "+H(o.personalityCategory),1)]),o.disclaimer?(k(),C("p",bRe,[yRe,xe(" "+H(o.disclaimer),1)])):P("",!0),c("p",null,[vRe,xe(" "+H(o.conditioningText),1)]),c("p",null,[wRe,xe(" "+H(o.aiPrefix),1)]),c("p",null,[xRe,xe(" "+H(o.userPrefix),1)]),c("div",null,[kRe,c("ul",null,[(k(!0),C(Re,null,Ke(o.antipromptsList,i=>(k(),C("li",{key:i.id},H(i.text),1))),128))])]),c("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?(k(),C("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 ")):P("",!0)])}const CRe=qe(dRe,[["render",ERe]]),es="/assets/logo-9d653710.svg";const ARe={props:{title:{type:String,required:!1,value:"menu"},icon:{type:String,required:!1,value:"feather:menu"},commands:{type:Array,required:!0},force_position:{required:!1,value:0},execute_cmd:{type:Function,required:!1},selected_entry:{type:String,required:!1}},data(){return{isMenuOpen:!1,menuPosition:{bottom:"auto",top:"calc(100% + 10px)"}}},methods:{handleClickOutside(t){const e=this.$refs.menu,n=this.$refs.menuButton;e&&!e.contains(t.target)&&!n.contains(t.target)&&(this.isMenuOpen=!1,window.removeEventListener("click",this.handleClickOutside))},toggleMenu(){this.positionMenu(),this.isMenuOpen=!this.isMenuOpen,this.isMenuOpen?window.addEventListener("click",this.handleClickOutside):window.removeEventListener("click",this.handleClickOutside),be(()=>{ve.replace()})},executeCommand(t){this.isMenuOpen=!1,console.log("Selected"),console.log(t.value),typeof t.value=="function"&&(console.log("Command detected"),t.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(t))},positionMenu(){var t;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),n=window.innerHeight;t=e.bottom>n/2}else this.force_position==1?t=!0:t=!1;this.menuPosition.top=t?"auto":"calc(100% + 10px)",this.menuPosition.bottom=t?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),be(()=>{ve.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},SRe={class:"menu-container"},TRe=["title"],MRe=["src"],ORe=["data-feather"],RRe={key:2,class:"w-5 h-5"},NRe={key:3,"data-feather":"command"},DRe={class:"flex-grow menu-ul"},LRe=["onClick"],IRe={key:0,"data-feather":"check"},PRe=["src","alt"],FRe=["data-feather"],BRe={key:3,class:"menu-icon"};function $Re(t,e,n,s,o,r){return k(),C("div",SRe,[c("button",{onClick:e[0]||(e[0]=de((...i)=>r.toggleMenu&&r.toggleMenu(...i),["prevent"])),title:n.title,class:"menu-button m-0 p-0 bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded-full flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 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-gray-300 border-secondary cursor-pointer",ref:"menuButton"},[n.icon&&!n.icon.includes("#")&&!n.icon.includes("feather")?(k(),C("img",{key:0,src:n.icon,class:"w-5 h-5 p-0 m-0 shadow-lg bold"},null,8,MRe)):n.icon&&n.icon.includes("feather")?(k(),C("i",{key:1,"data-feather":n.icon.split(":")[1],class:"w-5 h-5"},null,8,ORe)):n.icon&&n.icon.includes("#")?(k(),C("p",RRe,H(n.icon.split("#")[1]),1)):(k(),C("i",NRe))],8,TRe),ue(Ts,{name:"slide"},{default:Ne(()=>[o.isMenuOpen?(k(),C("div",{key:0,class:"menu-list flex-grow",style:yt(o.menuPosition),ref:"menu"},[c("ul",DRe,[(k(!0),C(Re,null,Ke(n.commands,(i,a)=>(k(),C("li",{key:a,onClick:l=>r.executeCommand(i),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[n.selected_entry==i.name?(k(),C("i",IRe)):i.icon&&!i.icon.includes("feather")&&!i.is_file?(k(),C("img",{key:1,src:i.icon,alt:i.name,class:"menu-icon"},null,8,PRe)):P("",!0),i.icon&&i.icon.includes("feather")&&!i.is_file?(k(),C("i",{key:2,"data-feather":i.icon.split(":")[1],class:"mr-2"},null,8,FRe)):(k(),C("span",BRe)),c("span",null,H(i.name),1)],8,LRe))),128))])],4)):P("",!0)]),_:1})])}const wc=qe(ARe,[["render",$Re]]),zRe="/",jRe={props:{personality:{},selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMounted:Function,onRemount:Function,onReinstall:Function,onSettings:Function},components:{InteractiveMenu:wc},data(){return{isMounted:!1,name:this.personality.name}},computed:{commandsList(){let t=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.toggleMounted},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return this.isMounted&&t.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.has_scripts&&t.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),t},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,be(()=>{ve.replace()})},methods:{getImgUrl(){return zRe+this.personality.avatar},defaultImg(t){t.target.src=es},toggleTalk(){this.onTalk(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},reMount(){this.onRemount(this)},toggleMounted(){console.log("Mounting/unmounting"),this.onMounted(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){be(()=>{ve.replace()})}}},URe=["title"],qRe={class:"flex flex-row items-center flex-shrink-0 gap-3"},HRe=["src"],VRe=c("i",{"data-feather":"check",class:"w-5"},null,-1),GRe=c("span",{class:"sr-only"},"Select",-1),KRe=[VRe,GRe],WRe=c("i",{"data-feather":"send",class:"w-5"},null,-1),ZRe=c("span",{class:"sr-only"},"Talk",-1),YRe=[WRe,ZRe],JRe={class:""},QRe={class:""},XRe={class:"flex items-center"},eNe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),tNe=c("b",null,"Author: ",-1),nNe={key:0,class:"flex items-center"},sNe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),oNe=c("b",null,"Languages: ",-1),rNe=["selected"],iNe={class:"flex items-center"},aNe=c("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),lNe=c("b",null,"Category: ",-1),cNe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),dNe=["title"];function uNe(t,e,n,s,o,r){const i=ze("InteractiveMenu");return k(),C("div",{class:Me(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",r.selected_computed?"border-2 border-primary-light":"border-transparent",o.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:n.personality.installed?"":"Not installed"},[c("div",{class:Me(n.personality.installed?"":"opacity-50")},[c("div",qRe,[c("img",{onClick:e[0]||(e[0]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),ref:"imgElement",src:r.getImgUrl(),onError:e[1]||(e[1]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,HRe),c("h3",{onClick:e[2]||(e[2]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},H(n.personality.name),1),o.isMounted?(k(),C("button",{key:0,type:"button",title:"Select",onClick:[e[3]||(e[3]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),e[4]||(e[4]=de(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},KRe)):P("",!0),o.isMounted?(k(),C("button",{key:1,type:"button",title:"Talk",onClick:[e[5]||(e[5]=(...a)=>r.toggleTalk&&r.toggleTalk(...a)),e[6]||(e[6]=de(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},YRe)):P("",!0),ue(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),c("div",JRe,[c("div",QRe,[c("div",XRe,[eNe,tNe,xe(" "+H(n.personality.author),1)]),n.personality.languages?(k(),C("div",nNe,[sNe,oNe,ie(c("select",{id:"languages","onUpdate:modelValue":e[7]||(e[7]=a=>n.personality.lang=a),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"},[(k(!0),C(Re,null,Ke(n.personality.languages,(a,l)=>(k(),C("option",{key:l,selected:a==n.personality.languages[0]},H(a),9,rNe))),128))],512),[[Sn,n.personality.lang]])])):P("",!0),c("div",iNe,[aNe,lNe,xe(" "+H(n.personality.category),1)])]),cNe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},H(n.personality.description),9,dNe)])],2)],10,URe)}const jg=qe(jRe,[["render",uNe]]),hNe="/",fNe={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){be(()=>{ve.replace()})},methods:{getImgUrl(){return hNe+this.binding.icon},defaultImg(t){t.target.src=es},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleReloadBinding(){this.onReloadBinding(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){be(()=>{ve.replace()})}}},pNe=["title"],gNe={class:"flex flex-row items-center gap-3"},mNe=["src"],_Ne={class:"font-bold font-large text-lg truncate"},bNe=c("div",{class:"grow"},null,-1),yNe={class:"flex-none gap-1"},vNe=c("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),wNe=c("span",{class:"sr-only"},"Help",-1),xNe=[vNe,wNe],kNe={class:"flex items-center flex-row-reverse gap-2 my-1"},ENe=c("span",{class:"sr-only"},"Click to install",-1),CNe=c("span",{class:"sr-only"},"Reinstall binding",-1),ANe=c("span",{class:"sr-only"},"Settings",-1),SNe={class:""},TNe={class:""},MNe={class:"flex items-center"},ONe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),RNe=c("b",null,"Author: ",-1),NNe={class:"flex items-center"},DNe=c("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),LNe=c("b",null,"Folder: ",-1),INe={class:"flex items-center"},PNe=c("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),FNe=c("b",null,"Version: ",-1),BNe={class:"flex items-center"},$Ne=c("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),zNe=c("b",null,"Link: ",-1),jNe=["href"],UNe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),qNe=["title"];function HNe(t,e,n,s,o,r){return k(),C("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[6]||(e[6]=de((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[c("div",null,[c("div",gNe,[c("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,mNe),c("h3",_Ne,H(n.binding.name),1),bNe,c("div",yNe,[n.selected?(k(),C("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...i)=>r.toggleReloadBinding&&r.toggleReloadBinding(...i)),e[2]||(e[2]=de(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},xNe)):P("",!0)])]),c("div",kNe,[n.binding.installed?P("",!0):(k(),C("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=de((...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"},[xe(" Install "),ENe])),n.binding.installed?(k(),C("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=de((...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"},[xe(" Reinstall binding "),CNe])):P("",!0),n.selected?(k(),C("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[5]||(e[5]=de((...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"},[xe(" Settings "),ANe])):P("",!0)]),c("div",SNe,[c("div",TNe,[c("div",MNe,[ONe,RNe,xe(" "+H(n.binding.author),1)]),c("div",NNe,[DNe,LNe,xe(" "+H(n.binding.folder),1)]),c("div",INe,[PNe,FNe,xe(" "+H(n.binding.version),1)]),c("div",BNe,[$Ne,zNe,c("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},H(n.binding.link),9,jNe)])]),UNe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},H(n.binding.description),9,qNe)])])],10,pNe)}const VNe=qe(fNe,[["render",HNe]]),GNe={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})}}},KNe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},WNe={class:"relative w-full max-w-md max-h-full"},ZNe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},YNe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("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),JNe=c("span",{class:"sr-only"},"Close modal",-1),QNe=[YNe,JNe],XNe={class:"p-4 text-center"},eDe=c("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"},[c("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),tDe={class:"p-4 text-center mx-auto mb-4"},nDe=c("label",{class:"mr-2"},"Model path",-1);function sDe(t,e,n,s,o,r){return o.show?(k(),C("div",KNe,[c("div",WNe,[c("div",ZNe,[c("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"},QNe),c("div",XNe,[eDe,c("div",tDe,[nDe,ie(c("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),[[Oe,o.model_path]])]),c("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 "),c("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")])])])])):P("",!0)}const oDe=qe(GNe,[["render",sDe]]),rDe={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){be(()=>{ve.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(){be(()=>{ve.replace()})}}},iDe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},aDe={class:"relative w-full max-w-md"},lDe={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},cDe={class:"flex flex-row flex-grow items-center m-2 p-1"},dDe={class:"grow flex items-center"},uDe=c("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),hDe={class:"text-lg font-semibold select-none mr-2"},fDe={class:"items-end"},pDe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("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),gDe=c("span",{class:"sr-only"},"Close form modal",-1),mDe=[pDe,gDe],_De={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},bDe={class:"px-2"},yDe={key:0},vDe={key:0},wDe={class:"text-base font-semibold"},xDe={key:0,class:"relative inline-flex"},kDe=["onUpdate:modelValue"],EDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),CDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},ADe=["onUpdate:modelValue"],SDe={key:1},TDe={class:"text-base font-semibold"},MDe={key:0,class:"relative inline-flex"},ODe=["onUpdate:modelValue"],RDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),NDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},DDe=["onUpdate:modelValue"],LDe=["value","selected"],IDe={key:1},PDe={class:"text-base font-semibold"},FDe={key:0,class:"relative inline-flex"},BDe=["onUpdate:modelValue"],$De=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),zDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},jDe=["onUpdate:modelValue"],UDe=["onUpdate:modelValue","min","max"],qDe={key:2},HDe={class:"mb-2 relative flex items-center gap-2"},VDe={for:"default-checkbox",class:"text-base font-semibold"},GDe=["onUpdate:modelValue"],KDe={key:0,class:"relative inline-flex"},WDe=["onUpdate:modelValue"],ZDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),YDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},JDe={key:3},QDe={class:"text-base font-semibold"},XDe={key:0,class:"relative inline-flex"},eLe=["onUpdate:modelValue"],tLe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),nLe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},sLe=["onUpdate:modelValue"],oLe=c("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),rLe={class:"flex flex-row flex-grow gap-3"},iLe={class:"p-2 text-center grow"};function aLe(t,e,n,s,o,r){return o.show?(k(),C("div",iDe,[c("div",aDe,[c("div",lDe,[c("div",cDe,[c("div",dDe,[uDe,c("h3",hDe,H(o.title),1)]),c("div",fDe,[c("button",{type:"button",onClick:e[0]||(e[0]=de(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"},mDe)])]),c("div",_De,[(k(!0),C(Re,null,Ke(o.controls_array,(i,a)=>(k(),C("div",bDe,[i.type=="str"?(k(),C("div",yDe,[i.options?P("",!0):(k(),C("div",vDe,[c("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 ":""])},[c("div",wDe,H(i.name)+": ",1),i.help?(k(),C("label",xDe,[ie(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,kDe),[[rt,i.isHelp]]),EDe])):P("",!0)],2),i.isHelp?(k(),C("p",CDe,H(i.help),1)):P("",!0),ie(c("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,ADe),[[Oe,i.value]])])),i.options?(k(),C("div",SDe,[c("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 ":""])},[c("div",TDe,H(i.name)+": ",1),i.help?(k(),C("label",MDe,[ie(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,ODe),[[rt,i.isHelp]]),RDe])):P("",!0)],2),i.isHelp?(k(),C("p",NDe,H(i.help),1)):P("",!0),ie(c("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"},[(k(!0),C(Re,null,Ke(i.options,l=>(k(),C("option",{value:l,selected:i.value===l},H(l),9,LDe))),256))],8,DDe),[[Sn,i.value]])])):P("",!0)])):P("",!0),i.type=="int"||i.type=="float"?(k(),C("div",IDe,[c("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 ":""])},[c("div",PDe,H(i.name)+": ",1),i.help?(k(),C("label",FDe,[ie(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,BDe),[[rt,i.isHelp]]),$De])):P("",!0)],2),i.isHelp?(k(),C("p",zDe,H(i.help),1)):P("",!0),ie(c("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,jDe),[[Oe,i.value]]),i.min!=null&&i.max!=null?ie((k(),C("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,UDe)),[[Oe,i.value]]):P("",!0)])):P("",!0),i.type=="bool"?(k(),C("div",qDe,[c("div",HDe,[c("label",VDe,H(i.name)+": ",1),ie(c("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,GDe),[[rt,i.value]]),i.help?(k(),C("label",KDe,[ie(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,WDe),[[rt,i.isHelp]]),ZDe])):P("",!0)]),i.isHelp?(k(),C("p",YDe,H(i.help),1)):P("",!0)])):P("",!0),i.type=="list"?(k(),C("div",JDe,[c("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 ":""])},[c("div",QDe,H(i.name)+": ",1),i.help?(k(),C("label",XDe,[ie(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,eLe),[[rt,i.isHelp]]),tLe])):P("",!0)],2),i.isHelp?(k(),C("p",nLe,H(i.help),1)):P("",!0),ie(c("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,sLe),[[Oe,i.value]])])):P("",!0),oLe]))),256)),c("div",rLe,[c("div",iLe,[c("button",{onClick:e[1]||(e[1]=de(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"},H(o.ConfirmButtonText),1),c("button",{onClick:e[2]||(e[2]=de(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-11 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"},H(o.DenyButtonText),1)])])])])])])):P("",!0)}const xc=qe(rDe,[["render",aLe]]);const lLe={props:{show:{type:Boolean,required:!0},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null}},methods:{selectChoice(t){this.selectedChoice=t,this.$emit("choice-selected",t)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated")},formatSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"}}},cLe={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},dLe={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},uLe={class:"text-xl font-semibold mb-4"},hLe={class:"h-48 overflow-y-auto"},fLe=["onClick"],pLe={class:"font-bold"},gLe=c("br",null,null,-1),mLe={class:"text-xs text-gray-500"},_Le={class:"flex justify-end mt-4"},bLe=["disabled"];function yLe(t,e,n,s,o,r){return k(),tt(Ts,{name:"fade"},{default:Ne(()=>[n.show?(k(),C("div",cLe,[c("div",dLe,[c("h2",uLe,H(n.title),1),c("div",hLe,[c("ul",null,[(k(!0),C(Re,null,Ke(n.choices,(i,a)=>(k(),C("li",{key:a,onClick:l=>r.selectChoice(i),class:Me([{"selected-choice":i===o.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[c("span",pLe,H(i.name),1),gLe,c("span",mLe,H(this.formatSize(i.size)),1)],10,fLe))),128))])]),c("div",_Le,[c("button",{onClick:e[0]||(e[0]=(...i)=>r.closeDialog&&r.closeDialog(...i)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),c("button",{onClick:e[1]||(e[1]=(...i)=>r.validateChoice&&r.validateChoice(...i)),class:Me([{"bg-gray-400 cursor-not-allowed":!o.selectedChoice,"bg-blue-500 hover:bg-blue-600":o.selectedChoice,"text-white":o.selectedChoice,"text-gray-500":!o.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!o.selectedChoice}," Validate ",10,bLe)])])])):P("",!0)]),_:1})}const vLe=qe(lLe,[["render",yLe]]);const wLe="/";ye.defaults.baseURL="/";const xLe={components:{AddModelDialog:oDe,MessageBox:zg,YesNoDialog:QMe,ModelEntry:cRe,PersonalityViewer:CRe,Toast:Ks,PersonalityEntry:jg,BindingEntry:VNe,UniversalForm:xc,ChoiceDialog:vLe,Card:vi},data(){return{reference_path:"",audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],collapsedArr:[],all_collapsed:!0,minconf_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,persCatgArr:[],persArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:wLe,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){Ee.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{getVoices(){"speechSynthesis"in window&&(this.audioVoices=speechSynthesis.getVoices(),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let t=this.currenModelToInstall;if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e=t.path;this.showProgress=!0,this.progress=0,this.addModel={model_name:this.selected_variant.name,binding_folder:this.configFile.binding_name,model_url:t.path},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),Ee.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model: `+t.title+` installed!`,4,!0),this.$store.dispatch("refreshDiskUsage")}}else Ee.off("install_progress",n),console.log("Install failed"),t.installing=!1,this.showProgress=!1,console.error("Installation failed:",s.error),this.$refs.toast.showToast(`Model: `+t.title+` @@ -146,7 +146,7 @@ failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage"))};Ee.on("inst installed!`,4,!0),this.$store.dispatch("refreshDiskUsage"))):(Ee.off("progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model: `+this.addModel.model_name+` failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage"))};Ee.on("progress",e),console.log("Started installation, please wait")},setFileList(t){this.uploadData=t.target.files,console.log("set file list",this.uploadData)},onUninstall(t){this.$refs.yesNoDialog.askQuestion(`Are you sure you want to delete this model? - [`+t.title+"]","Yes","Cancel").then(e=>{if(e){console.log("uninstalling model...");const n=s=>{if(console.log("uninstalling res",s),s.status){console.log("uninstalling success",s),t.uninstalling=!1,Ee.off("install_progress",n),this.showProgress=!1;const o=this.models.findIndex(r=>r.path===t.path);this.models[o].isInstalled=!1,t.model.isCustomModel&&(this.models=this.models.filter(r=>r.title!==t.title)),this.$refs.toast.showToast(`Model: + [`+t.title+"]","Yes","Cancel").then(e=>{if(e){console.log("uninstalling model...");const n=s=>{if(console.log("uninstalling res",s),s.status){console.log("uninstalling success",s),t.uninstalling=!1,Ee.off("install_progress",n),this.showProgress=!1;const o=this.models.findIndex(r=>r.path===t.path);if(this.models[o].isInstalled=!1,t.model.isCustomModel)try{this.models=this.models.filter(r=>r.title!==t.title)}catch{this.models=model}this.$refs.toast.showToast(`Model: `+t.title+` was uninstalled!`,4,!0),this.$store.dispatch("refreshDiskUsage")}else console.log("uninstalling failed",s),t.uninstalling=!1,this.showProgress=!1,Ee.off("install_progress",n),console.error("Uninstallation failed:",message.error),this.$refs.toast.showToast(`Model: `+t.title+` @@ -169,10 +169,10 @@ Response: Error: `+e.error,4,!1);this.isLoading=!1},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,ye.post("/reinstall_personality",{name:t.personality.path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality `+e.message,4,!1),{status:!1}))},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=es},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(),console.log("Getting voices"),this.getVoices()},activated(){this.isMounted&&this.constructor()},computed:{audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(t){this.$store.state.config.audio_out_voice=t}},audioLanguages(){return[{code:"en-US",name:"English (US)"},{code:"en-GB",name:"English (UK)"},{code:"es-ES",name:"Spanish (Spain)"},{code:"es-MX",name:"Spanish (Mexico)"},{code:"fr-FR",name:"French (France)"},{code:"fr-CA",name:"French (Canada)"},{code:"de-DE",name:"German (Germany)"},{code:"it-IT",name:"Italian (Italy)"},{code:"pt-BR",name:"Portuguese (Brazil)"},{code:"pt-PT",name:"Portuguese (Portugal)"},{code:"ru-RU",name:"Russian (Russia)"},{code:"zh-CN",name:"Chinese (China)"},{code:"ja-JP",name:"Japanese (Japan)"},{code:"ar-SA",name:"Arabic (Saudi Arabia)"},{code:"tr-TR",name:"Turkish (Turkey)"},{code:"ms-MY",name:"Malay (Malaysia)"},{code:"ko-KR",name:"Korean (South Korea)"},{code:"nl-NL",name:"Dutch (Netherlands)"},{code:"sv-SE",name:"Swedish (Sweden)"},{code:"da-DK",name:"Danish (Denmark)"},{code:"fi-FI",name:"Finnish (Finland)"},{code:"no-NO",name:"Norwegian (Norway)"},{code:"pl-PL",name:"Polish (Poland)"},{code:"el-GR",name:"Greek (Greece)"},{code:"hu-HU",name:"Hungarian (Hungary)"},{code:"cs-CZ",name:"Czech (Czech Republic)"},{code:"th-TH",name:"Thai (Thailand)"},{code:"hi-IN",name:"Hindi (India)"},{code:"he-IL",name:"Hebrew (Israel)"},{code:"id-ID",name:"Indonesian (Indonesia)"},{code:"vi-VN",name:"Vietnamese (Vietnam)"},{code:"uk-UA",name:"Ukrainian (Ukraine)"},{code:"ro-RO",name:"Romanian (Romania)"},{code:"bg-BG",name:"Bulgarian (Bulgaria)"},{code:"hr-HR",name:"Croatian (Croatia)"},{code:"sr-RS",name:"Serbian (Serbia)"},{code:"sk-SK",name:"Slovak (Slovakia)"},{code:"sl-SI",name:"Slovenian (Slovenia)"},{code:"et-EE",name:"Estonian (Estonia)"},{code:"lv-LV",name:"Latvian (Latvia)"},{code:"lt-LT",name:"Lithuanian (Lithuania)"},{code:"ka-GE",name:"Georgian (Georgia)"},{code:"hy-AM",name:"Armenian (Armenia)"},{code:"az-AZ",name:"Azerbaijani (Azerbaijan)"},{code:"kk-KZ",name:"Kazakh (Kazakhstan)"},{code:"uz-UZ",name:"Uzbek (Uzbekistan)"},{code:"kkj-CM",name:"Kako (Cameroon)"},{code:"my-MM",name:"Burmese (Myanmar)"},{code:"ne-NP",name:"Nepali (Nepal)"},{code:"si-LK",name:"Sinhala (Sri Lanka)"}]},configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},userName:{get(){return this.$store.state.config.user_name},set(t){this.$store.state.config.user_name=t}},user_avatar:{get(){return"/user_infos/"+this.$store.state.config.user_avatar},set(t){this.$store.state.config.user_avatar=t}},enable_gpu:{get(){return this.$store.state.config.enable_gpu},set(t){this.$store.state.config.enable_gpu=t}},auto_update:{get(){return this.$store.state.config.auto_update},set(t){this.$store.state.config.auto_update=t}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(t){this.$store.state.config.auto_speak=t}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(t){this.$store.state.config.audio_pitch=t}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(t){this.$store.state.config.audio_in_language=t}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(t){this.$store.state.config.use_user_name_in_discussions=t}},db_path:{get(){return this.$store.state.config.db_path},set(t){this.$store.state.config.db_path=t}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},bindingsArr:{get(){return this.$store.state.bindingsArr},set(t){this.$store.commit("setBindingsArr",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.$store.state.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),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)},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 Rr}},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 Rr}},model_name(){if(this.isMounted)return this.configFile.model_name},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 Gt(this.addModel.speed)},total_size_computed(){return Gt(this.addModel.total_size)},downloaded_size_computed(){return Gt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){be(()=>{ve.replace()})},pc_collapsed(){be(()=>{ve.replace()})},mc_collapsed(){be(()=>{ve.replace()})},sc_collapsed(){be(()=>{ve.replace()})},showConfirmation(){be(()=>{ve.replace()})},mzl_collapsed(){be(()=>{ve.replace()})},pzl_collapsed(){be(()=>{ve.replace()})},bzl_collapsed(){be(()=>{ve.replace()})},all_collapsed(t){this.collapseAll(t),be(()=>{ve.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,be(()=>{ve.replace()})},isLoading(){be(()=>{ve.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){be(()=>{ve.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forget 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}},oe=t=>(ss("data-v-fbe5ed87"),t=t(),os(),t),vLe={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},wLe={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"},xLe={key:0,class:"flex gap-3 flex-1 items-center duration-75"},kLe=oe(()=>c("i",{"data-feather":"x"},null,-1)),ELe=[kLe],CLe=oe(()=>c("i",{"data-feather":"check"},null,-1)),ALe=[CLe],SLe={key:1,class:"flex gap-3 flex-1 items-center"},TLe=oe(()=>c("i",{"data-feather":"save"},null,-1)),MLe=[TLe],OLe=oe(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),RLe=[OLe],NLe=oe(()=>c("i",{"data-feather":"list"},null,-1)),DLe=[NLe],LLe={class:"flex gap-3 flex-1 items-center justify-end"},ILe=oe(()=>c("i",{"data-feather":"trash-2"},null,-1)),PLe=[ILe],FLe=oe(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),BLe=[FLe],$Le=oe(()=>c("i",{"data-feather":"arrow-up-circle"},null,-1)),zLe={key:0},jLe=oe(()=>c("i",{"data-feather":"alert-circle"},null,-1)),ULe=[jLe],qLe={class:"flex gap-3 items-center"},HLe={key:0,class:"flex gap-3 items-center"},VLe=oe(()=>c("i",{"data-feather":"check"},null,-1)),GLe=[VLe],KLe={key:1,role:"status"},WLe=oe(()=>c("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"},[c("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"}),c("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)),ZLe=oe(()=>c("span",{class:"sr-only"},"Loading...",-1)),YLe={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"},JLe={class:"flex flex-row p-3"},QLe=oe(()=>c("i",{"data-feather":"chevron-right"},null,-1)),XLe=[QLe],eIe=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),tIe=[eIe],nIe=oe(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),sIe=oe(()=>c("div",{class:"mr-2"},"|",-1)),oIe={class:"text-base font-semibold cursor-pointer select-none items-center"},rIe={class:"flex gap-2 items-center"},iIe={key:0},aIe={class:"flex gap-2 items-center"},lIe=["title"],cIe=rs('',34),dIe=[cIe],uIe={class:"font-bold font-large text-lg"},hIe={key:1},fIe={class:"flex gap-2 items-center"},pIe=rs('',1),gIe={class:"font-bold font-large text-lg"},mIe=oe(()=>c("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),_Ie={class:"font-bold font-large text-lg"},bIe=oe(()=>c("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),yIe={class:"font-bold font-large text-lg"},vIe={class:"mb-2"},wIe=oe(()=>c("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[c("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"})]),xe(" CPU Ram usage: ")],-1)),xIe={class:"flex flex-col mx-2"},kIe=oe(()=>c("b",null,"Avaliable ram: ",-1)),EIe=oe(()=>c("b",null,"Ram usage: ",-1)),CIe={class:"p-2"},AIe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},SIe={class:"mb-2"},TIe=oe(()=>c("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[c("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),xe(" Disk usage: ")],-1)),MIe={class:"flex flex-col mx-2"},OIe=oe(()=>c("b",null,"Avaliable disk space: ",-1)),RIe=oe(()=>c("b",null,"Disk usage: ",-1)),NIe={class:"p-2"},DIe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},LIe={class:"mb-2"},IIe=rs('',1),PIe={class:"flex flex-col mx-2"},FIe=oe(()=>c("b",null,"Model: ",-1)),BIe=oe(()=>c("b",null,"Avaliable vram: ",-1)),$Ie=oe(()=>c("b",null,"GPU usage: ",-1)),zIe={class:"p-2"},jIe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},UIe={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"},qIe={class:"flex flex-row p-3"},HIe=oe(()=>c("i",{"data-feather":"chevron-right"},null,-1)),VIe=[HIe],GIe=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),KIe=[GIe],WIe=oe(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),ZIe={class:"flex flex-col mb-2 px-3 pb-2"},YIe={class:"expand-to-fit bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block 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"},JIe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),QIe={style:{width:"100%"}},XIe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),ePe={style:{width:"100%"}},tPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),nPe={style:{width:"100%"}},sPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),oPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),rPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),iPe={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"},aPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),lPe={style:{width:"100%"}},cPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User description:")],-1)),dPe={style:{width:"100%"}},uPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),hPe={style:{width:"100%"}},fPe={for:"avatar-upload"},pPe=["src"],gPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),mPe={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"},_Pe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_files",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files support:")],-1)),bPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_activate",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files vectorization:")],-1)),yPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_build_keys_words",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Build keywords when querying the vectorized database:")],-1)),vPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization method:")],-1)),wPe=oe(()=>c("option",{value:"ftidf_vectorizer"},"ftidf Vectorizer",-1)),xPe=oe(()=>c("option",{value:"model_embedding"},"Model Embedding",-1)),kPe=[wPe,xPe],EPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_visualization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data visualization method:")],-1)),CPe=oe(()=>c("option",{value:"PCA"},"PCA",-1)),APe=oe(()=>c("option",{value:"TSNE"},"TSNE",-1)),SPe=[CPe,APe],TPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Save the new files to the database (The database wil always grow and continue to be the same over many sessions):")],-1)),MPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization chunk size(tokens):")],-1)),OPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization overlap size(tokens):")],-1)),RPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Number of chunks to use for each message:")],-1)),NPe={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"},DPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_auto_send_input",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Send audio input automatically:")],-1)),LPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),IPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),PPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_silenceTimer",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio in silence timer (ms):")],-1)),FPe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),BPe=["value"],$Pe=oe(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),zPe=["value"],jPe={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"},UPe={class:"flex flex-row p-3"},qPe=oe(()=>c("i",{"data-feather":"chevron-right"},null,-1)),HPe=[qPe],VPe=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),GPe=[VPe],KPe=oe(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),WPe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},ZPe=oe(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),YPe={key:1,class:"mr-2"},JPe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},QPe={class:"flex gap-1 items-center"},XPe=["src"],eFe={class:"font-bold font-large text-lg line-clamp-1"},tFe={key:0,class:"mb-2"},nFe={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},sFe=oe(()=>c("i",{"data-feather":"chevron-up"},null,-1)),oFe=[sFe],rFe=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),iFe=[rFe],aFe={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"},lFe={class:"flex flex-row p-3"},cFe=oe(()=>c("i",{"data-feather":"chevron-right"},null,-1)),dFe=[cFe],uFe=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),hFe=[uFe],fFe=oe(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),pFe={class:"flex flex-row items-center"},gFe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},mFe=oe(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),_Fe={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},bFe=oe(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),yFe={key:2,class:"mr-2"},vFe={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},wFe={class:"flex gap-1 items-center"},xFe=["src"],kFe={class:"font-bold font-large text-lg line-clamp-1"},EFe={class:"mx-2 mb-4"},CFe={class:"relative"},AFe={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},SFe={key:0},TFe=oe(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),MFe=[TFe],OFe={key:1},RFe=oe(()=>c("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"},[c("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)),NFe=[RFe],DFe={key:0},LFe={key:0,class:"mb-2"},IFe={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},PFe={key:1},FFe={key:0,class:"mb-2"},BFe={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},$Fe=oe(()=>c("i",{"data-feather":"chevron-up"},null,-1)),zFe=[$Fe],jFe=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),UFe=[jFe],qFe={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"},HFe={class:"flex flex-row p-3"},VFe=oe(()=>c("i",{"data-feather":"chevron-right"},null,-1)),GFe=[VFe],KFe=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),WFe=[KFe],ZFe=oe(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),YFe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},JFe=oe(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),QFe={key:1,class:"mr-2"},XFe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},eBe={class:"flex gap-1 items-center"},tBe=["src"],nBe={class:"font-bold font-large text-lg line-clamp-1"},sBe={class:"mb-2"},oBe={class:"p-2"},rBe={class:"mb-3"},iBe=oe(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),aBe={key:0},lBe={class:"mb-3"},cBe=oe(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),dBe={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},uBe=oe(()=>c("div",{role:"status",class:"justify-center"},null,-1)),hBe={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},fBe={class:"w-full p-2"},pBe={class:"flex justify-between mb-1"},gBe=rs(' Downloading Loading...',1),mBe={class:"text-sm font-medium text-blue-700 dark:text-white"},_Be=["title"],bBe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},yBe={class:"flex justify-between mb-1"},vBe={class:"text-base font-medium text-blue-700 dark:text-white"},wBe={class:"text-sm font-medium text-blue-700 dark:text-white"},xBe={class:"flex flex-grow"},kBe={class:"flex flex-row flex-grow gap-3"},EBe={class:"p-2 text-center grow"},CBe={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"},ABe={class:"flex flex-row p-3 items-center"},SBe=oe(()=>c("i",{"data-feather":"chevron-right"},null,-1)),TBe=[SBe],MBe=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),OBe=[MBe],RBe=oe(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),NBe={key:0,class:"mr-2"},DBe={class:"mr-2 font-bold font-large text-lg line-clamp-1"},LBe={key:1,class:"mr-2"},IBe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},PBe={key:0,class:"flex -space-x-4 items-center"},FBe={class:"group items-center flex flex-row"},BBe=["onClick"],$Be=["src","title"],zBe=["onClick"],jBe=oe(()=>c("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"},[c("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"},[c("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)),UBe=[jBe],qBe={class:"mx-2 mb-4"},HBe=oe(()=>c("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),VBe={class:"relative"},GBe={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},KBe={key:0},WBe=oe(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),ZBe=[WBe],YBe={key:1},JBe=oe(()=>c("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"},[c("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)),QBe=[JBe],XBe={key:0,class:"mx-2 mb-4"},e$e={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},t$e=["selected"],n$e={key:0,class:"mb-2"},s$e={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},o$e=oe(()=>c("i",{"data-feather":"chevron-up"},null,-1)),r$e=[o$e],i$e=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),a$e=[i$e],l$e={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"},c$e={class:"flex flex-row"},d$e=oe(()=>c("i",{"data-feather":"chevron-right"},null,-1)),u$e=[d$e],h$e=oe(()=>c("i",{"data-feather":"chevron-down"},null,-1)),f$e=[h$e],p$e=oe(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),g$e={class:"m-2"},m$e={class:"flex flex-row gap-2 items-center"},_$e=oe(()=>c("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),b$e={class:"m-2"},y$e=oe(()=>c("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),v$e={class:"m-2"},w$e={class:"flex flex-col align-bottom"},x$e={class:"relative"},k$e=oe(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),E$e={class:"absolute right-0"},C$e={class:"m-2"},A$e={class:"flex flex-col align-bottom"},S$e={class:"relative"},T$e=oe(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),M$e={class:"absolute right-0"},O$e={class:"m-2"},R$e={class:"flex flex-col align-bottom"},N$e={class:"relative"},D$e=oe(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),L$e={class:"absolute right-0"},I$e={class:"m-2"},P$e={class:"flex flex-col align-bottom"},F$e={class:"relative"},B$e=oe(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),$$e={class:"absolute right-0"},z$e={class:"m-2"},j$e={class:"flex flex-col align-bottom"},U$e={class:"relative"},q$e=oe(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),H$e={class:"absolute right-0"},V$e={class:"m-2"},G$e={class:"flex flex-col align-bottom"},K$e={class:"relative"},W$e=oe(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),Z$e={class:"absolute right-0"};function Y$e(t,e,n,s,o,r){const i=qe("Card"),a=qe("BindingEntry"),l=qe("model-entry"),d=qe("personality-entry"),u=qe("YesNoDialog"),h=qe("AddModelDialog"),f=qe("MessageBox"),g=qe("Toast"),m=qe("UniversalForm"),_=qe("ChoiceDialog");return k(),C(Re,null,[c("div",vLe,[c("div",wLe,[o.showConfirmation?(k(),C("div",xLe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=de(p=>o.showConfirmation=!1,["stop"]))},ELe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=de(p=>r.save_configuration(),["stop"]))},ALe)])):I("",!0),o.showConfirmation?I("",!0):(k(),C("div",SLe,[c("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=p=>o.showConfirmation=!0)},MLe),c("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=p=>r.reset_configuration())},RLe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=de(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},DLe)])),c("div",LLe,[c("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=p=>r.api_get_req("clear_uploads").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},PLe),c("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=p=>r.api_get_req("restart_program").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},BLe),c("button",{title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[7]||(e[7]=p=>r.api_get_req("update_software").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[$Le,o.has_updates?(k(),C("div",zLe,ULe)):I("",!0)]),c("div",qLe,[o.settingsChanged?(k(),C("div",HLe,[xe(" Apply changes: "),o.isLoading?I("",!0):(k(),C("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[8]||(e[8]=de(p=>r.applyConfiguration(),["stop"]))},GLe))])):I("",!0),o.isLoading?(k(),C("div",KLe,[c("p",null,H(o.loading_text),1),WLe,ZLe])):I("",!0)])])]),c("div",{class:Me(o.isLoading?"pointer-events-none opacity-30":"")},[c("div",YLe,[c("div",JLe,[c("button",{onClick:e[9]||(e[9]=de(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"},[se(c("div",null,XLe,512),[[Ye,o.sc_collapsed]]),se(c("div",null,tIe,512),[[Ye,!o.sc_collapsed]]),nIe,sIe,c("div",oIe,[c("div",rIe,[c("div",null,[r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(k(),C("div",iIe,[(k(!0),C(Re,null,Ge(r.vramUsage.gpus,p=>(k(),C("div",aIe,[(k(),C("svg",{title:p.gpu_model,"aria-hidden":"true",class:"w-10 h-10 fill-secondary",viewBox:"0 -3 82 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dIe,8,lIe)),c("h3",uIe,[c("div",null,H(r.computedFileSize(p.used_vram))+" / "+H(r.computedFileSize(p.total_vram))+" ("+H(p.percentage)+"%) ",1)])]))),256))])):I("",!0),r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(k(),C("div",hIe,[c("div",fIe,[pIe,c("h3",gIe,[c("div",null,H(r.vramUsage.gpus.length)+"x ",1)])])])):I("",!0)]),mIe,c("h3",_Ie,[c("div",null,H(r.ram_usage)+" / "+H(r.ram_total_space)+" ("+H(r.ram_percent_usage)+"%)",1)]),bIe,c("h3",yIe,[c("div",null,H(r.disk_binding_models_usage)+" / "+H(r.disk_total_space)+" ("+H(r.disk_percent_usage)+"%)",1)])])])])]),c("div",{class:Me([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",vIe,[wIe,c("div",xIe,[c("div",null,[kIe,xe(H(r.ram_available_space),1)]),c("div",null,[EIe,xe(" "+H(r.ram_usage)+" / "+H(r.ram_total_space)+" ("+H(r.ram_percent_usage)+")% ",1)])]),c("div",CIe,[c("div",AIe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),c("div",SIe,[TIe,c("div",MIe,[c("div",null,[OIe,xe(H(r.disk_available_space),1)]),c("div",null,[RIe,xe(" "+H(r.disk_binding_models_usage)+" / "+H(r.disk_total_space)+" ("+H(r.disk_percent_usage)+"%)",1)])]),c("div",NIe,[c("div",DIe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(k(!0),C(Re,null,Ge(r.vramUsage.gpus,p=>(k(),C("div",LIe,[IIe,c("div",PIe,[c("div",null,[FIe,xe(H(p.gpu_model),1)]),c("div",null,[BIe,xe(H(this.computedFileSize(p.available_space)),1)]),c("div",null,[$Ie,xe(" "+H(this.computedFileSize(p.used_vram))+" / "+H(this.computedFileSize(p.total_vram))+" ("+H(p.percentage)+"%)",1)])]),c("div",zIe,[c("div",jIe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),c("div",UIe,[c("div",qIe,[c("button",{onClick:e[10]||(e[10]=de(p=>o.minconf_collapsed=!o.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[se(c("div",null,VIe,512),[[Ye,o.minconf_collapsed]]),se(c("div",null,KIe,512),[[Ye,!o.minconf_collapsed]]),WIe])]),c("div",{class:Me([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",ZIe,[ue(i,{title:"General",is_subcard:"True",class:"pb-2 m-2"},{default:Ne(()=>[c("table",YIe,[c("tr",null,[JIe,c("td",QIe,[se(c("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[11]||(e[11]=p=>r.configFile.host=p),onChange:e[12]||(e[12]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Oe,r.configFile.host]])])]),c("tr",null,[XIe,c("td",ePe,[se(c("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[13]||(e[13]=p=>r.configFile.port=p),onChange:e[14]||(e[14]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Oe,r.configFile.port]])])]),c("tr",null,[tPe,c("td",nPe,[se(c("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[15]||(e[15]=p=>r.configFile.db_path=p),onChange:e[16]||(e[16]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Oe,r.configFile.db_path]])])]),c("tr",null,[sPe,c("td",null,[se(c("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[17]||(e[17]=p=>r.configFile.enable_gpu=p),onChange:e[18]||(e[18]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.enable_gpu]])])]),c("tr",null,[oPe,c("td",null,[se(c("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[19]||(e[19]=p=>r.configFile.auto_save=p),onChange:e[20]||(e[20]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.auto_save]])])]),c("tr",null,[rPe,c("td",null,[se(c("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[21]||(e[21]=p=>r.configFile.auto_update=p),onChange:e[22]||(e[22]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.auto_update]])])])])]),_:1}),ue(i,{title:"User",is_subcard:"True",class:"pb-2 m-2"},{default:Ne(()=>[c("table",iPe,[c("tr",null,[aPe,c("td",lPe,[se(c("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[23]||(e[23]=p=>r.configFile.user_name=p),onChange:e[24]||(e[24]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.user_name]])])]),c("tr",null,[cPe,c("td",dPe,[se(c("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[25]||(e[25]=p=>r.configFile.user_description=p),onChange:e[26]||(e[26]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.user_description]])])]),c("tr",null,[uPe,c("td",hPe,[c("label",fPe,[c("img",{src:"/user_infos/"+r.configFile.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,pPe)]),c("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[27]||(e[27]=(...p)=>r.uploadAvatar&&r.uploadAvatar(...p))},null,32)])]),c("tr",null,[gPe,c("td",null,[se(c("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[28]||(e[28]=p=>r.configFile.use_user_name_in_discussions=p),onChange:e[29]||(e[29]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.use_user_name_in_discussions]])])])])]),_:1}),ue(i,{title:"Files Vectorization",is_subcard:"True",class:"pb-2 m-2"},{default:Ne(()=>[c("table",mPe,[c("tr",null,[_Pe,c("td",null,[se(c("input",{type:"checkbox",id:"use_files",required:"","onUpdate:modelValue":e[30]||(e[30]=p=>r.configFile.use_files=p),onChange:e[31]||(e[31]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.use_files]])])]),c("tr",null,[bPe,c("td",null,[se(c("input",{type:"checkbox",id:"data_vectorization_activate",required:"","onUpdate:modelValue":e[32]||(e[32]=p=>r.configFile.data_vectorization_activate=p),onChange:e[33]||(e[33]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.data_vectorization_activate]])])]),c("tr",null,[yPe,c("td",null,[se(c("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[34]||(e[34]=p=>r.configFile.data_vectorization_build_keys_words=p),onChange:e[35]||(e[35]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.data_vectorization_build_keys_words]])])]),c("tr",null,[vPe,c("td",null,[se(c("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[36]||(e[36]=p=>r.configFile.data_vectorization_method=p),onChange:e[37]||(e[37]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},kPe,544),[[on,r.configFile.data_vectorization_method]])])]),c("tr",null,[EPe,c("td",null,[se(c("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[38]||(e[38]=p=>r.configFile.data_visualization_method=p),onChange:e[39]||(e[39]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},SPe,544),[[on,r.configFile.data_visualization_method]])])]),c("tr",null,[TPe,c("td",null,[se(c("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[40]||(e[40]=p=>r.configFile.data_vectorization_save_db=p),onChange:e[41]||(e[41]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.data_vectorization_save_db]])])]),c("tr",null,[MPe,c("td",null,[se(c("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[42]||(e[42]=p=>r.configFile.data_vectorization_chunk_size=p),onChange:e[43]||(e[43]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"64000",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),[[Oe,r.configFile.data_vectorization_chunk_size]]),se(c("input",{"onUpdate:modelValue":e[44]||(e[44]=p=>r.configFile.data_vectorization_chunk_size=p),onChange:e[45]||(e[45]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.data_vectorization_chunk_size]])])]),c("tr",null,[OPe,c("td",null,[se(c("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[46]||(e[46]=p=>r.configFile.data_vectorization_overlap_size=p),onChange:e[47]||(e[47]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"64000",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),[[Oe,r.configFile.data_vectorization_overlap_size]]),se(c("input",{"onUpdate:modelValue":e[48]||(e[48]=p=>r.configFile.data_vectorization_overlap_size=p),onChange:e[49]||(e[49]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.data_vectorization_overlap_size]])])]),c("tr",null,[RPe,c("td",null,[se(c("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[50]||(e[50]=p=>r.configFile.data_vectorization_nb_chunks=p),onChange:e[51]||(e[51]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"1000",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),[[Oe,r.configFile.data_vectorization_nb_chunks]]),se(c("input",{"onUpdate:modelValue":e[52]||(e[52]=p=>r.configFile.data_vectorization_nb_chunks=p),onChange:e[53]||(e[53]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.data_vectorization_nb_chunks]])])])])]),_:1}),ue(i,{title:"Audio",is_subcard:"True",class:"pb-2 m-2"},{default:Ne(()=>[c("table",NPe,[c("tr",null,[DPe,c("td",null,[se(c("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[54]||(e[54]=p=>r.configFile.audio_auto_send_input=p),onChange:e[55]||(e[55]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.audio_auto_send_input]])])]),c("tr",null,[LPe,c("td",null,[se(c("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[56]||(e[56]=p=>r.configFile.auto_speak=p),onChange:e[57]||(e[57]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.auto_speak]])])]),c("tr",null,[IPe,c("td",null,[se(c("input",{id:"audio_pitch","onUpdate:modelValue":e[58]||(e[58]=p=>r.configFile.audio_pitch=p),onChange:e[59]||(e[59]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"10",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),[[Oe,r.configFile.audio_pitch]]),se(c("input",{"onUpdate:modelValue":e[60]||(e[60]=p=>r.configFile.audio_pitch=p),onChange:e[61]||(e[61]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.audio_pitch]])])]),c("tr",null,[PPe,c("td",null,[se(c("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[62]||(e[62]=p=>r.configFile.audio_silenceTimer=p),onChange:e[63]||(e[63]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"10000",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),[[Oe,r.configFile.audio_silenceTimer]]),se(c("input",{"onUpdate:modelValue":e[64]||(e[64]=p=>r.configFile.audio_silenceTimer=p),onChange:e[65]||(e[65]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.audio_silenceTimer]])])]),c("tr",null,[FPe,c("td",null,[se(c("select",{id:"audio_in_language","onUpdate:modelValue":e[66]||(e[66]=p=>r.configFile.audio_in_language=p),onChange:e[67]||(e[67]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),C(Re,null,Ge(r.audioLanguages,p=>(k(),C("option",{key:p.code,value:p.code},H(p.name),9,BPe))),128))],544),[[on,r.configFile.audio_in_language]])])]),c("tr",null,[$Pe,c("td",null,[se(c("select",{id:"audio_out_voice","onUpdate:modelValue":e[68]||(e[68]=p=>r.configFile.audio_out_voice=p),onChange:e[69]||(e[69]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),C(Re,null,Ge(o.audioVoices,p=>(k(),C("option",{key:p.name,value:p.name},H(p.name),9,zPe))),128))],544),[[on,r.configFile.audio_out_voice]])])])])]),_:1})])],2)]),c("div",jPe,[c("div",UPe,[c("button",{onClick:e[70]||(e[70]=de(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"},[se(c("div",null,HPe,512),[[Ye,o.bzc_collapsed]]),se(c("div",null,GPe,512),[[Ye,!o.bzc_collapsed]]),KPe,r.configFile.binding_name?I("",!0):(k(),C("div",WPe,[ZPe,xe(" No binding selected! ")])),r.configFile.binding_name?(k(),C("div",YPe,"|")):I("",!0),r.configFile.binding_name?(k(),C("div",JPe,[c("div",QPe,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,XPe),c("h3",eFe,H(r.binding_name),1)])])):I("",!0)])]),c("div",{class:Me([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr&&r.bindingsArr.length>0?(k(),C("div",tFe,[c("label",nFe," Bindings: ("+H(r.bindingsArr.length)+") ",1),c("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"])},[ue(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ge(r.bindingsArr,(p,b)=>(k(),tt(a,{ref_for:!0,ref:"bindingZoo",key:"index-"+b+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:p.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):I("",!0),o.bzl_collapsed?(k(),C("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[71]||(e[71]=p=>o.bzl_collapsed=!o.bzl_collapsed)},oFe)):(k(),C("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[72]||(e[72]=p=>o.bzl_collapsed=!o.bzl_collapsed)},iFe))],2)]),c("div",aFe,[c("div",lFe,[c("button",{onClick:e[73]||(e[73]=de(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"},[se(c("div",null,dFe,512),[[Ye,o.mzc_collapsed]]),se(c("div",null,hFe,512),[[Ye,!o.mzc_collapsed]]),fFe,c("div",pFe,[r.configFile.binding_name?I("",!0):(k(),C("div",gFe,[mFe,xe(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(k(),C("div",_Fe,[bFe,xe(" No model selected! ")])):I("",!0),r.configFile.model_name?(k(),C("div",yFe,"|")):I("",!0),r.configFile.model_name?(k(),C("div",vFe,[c("div",wFe,[c("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,xFe),c("h3",kFe,H(r.model_name),1)])])):I("",!0)])])]),c("div",{class:Me([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",EFe,[c("div",CFe,[c("div",AFe,[o.searchModelInProgress?(k(),C("div",SFe,MFe)):I("",!0),o.searchModelInProgress?I("",!0):(k(),C("div",OFe,NFe))]),se(c("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[74]||(e[74]=p=>o.searchModel=p),onKeyup:e[75]||(e[75]=de((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[Oe,o.searchModel]]),o.searchModel?(k(),C("button",{key:0,onClick:e[76]||(e[76]=de(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")):I("",!0)])]),o.searchModel?(k(),C("div",DFe,[o.modelsFiltered.length>0?(k(),C("div",LFe,[c("label",IFe," Search results: ("+H(o.modelsFiltered.length)+") ",1),c("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"])},[ue(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ge(o.modelsFiltered,(p,b)=>(k(),tt(l,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+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===r.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)])):I("",!0)])):I("",!0),o.searchModel?I("",!0):(k(),C("div",PFe,[r.models&&r.models.length>0?(k(),C("div",FFe,[c("label",BFe," Models: ("+H(r.models.length)+") ",1),c("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"])},[ue(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ge(r.models,(p,b)=>(k(),tt(l,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+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===r.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)])):I("",!0)])),o.mzl_collapsed?(k(),C("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[77]||(e[77]=(...p)=>r.open_mzl&&r.open_mzl(...p))},zFe)):(k(),C("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[78]||(e[78]=(...p)=>r.open_mzl&&r.open_mzl(...p))},UFe))],2)]),c("div",qFe,[c("div",HFe,[c("button",{onClick:e[79]||(e[79]=de(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"},[se(c("div",null,GFe,512),[[Ye,o.mzdc_collapsed]]),se(c("div",null,WFe,512),[[Ye,!o.mzdc_collapsed]]),ZFe,r.binding_name?I("",!0):(k(),C("div",YFe,[JFe,xe(" No binding selected! ")])),r.configFile.binding_name?(k(),C("div",QFe,"|")):I("",!0),r.configFile.binding_name?(k(),C("div",XFe,[c("div",eBe,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,tBe),c("h3",nBe,H(r.binding_name),1)])])):I("",!0)])]),c("div",{class:Me([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",sBe,[c("div",oBe,[c("div",null,[c("div",rBe,[iBe,se(c("input",{type:"text","onUpdate:modelValue":e[80]||(e[80]=p=>o.reference_path=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 Path ...",required:""},null,512),[[Oe,o.reference_path]])]),c("button",{type:"button",onClick:e[81]||(e[81]=de(p=>r.onCreateReference(),["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"},"Add reference")]),o.modelDownlaodInProgress?I("",!0):(k(),C("div",aBe,[c("div",lBe,[cBe,se(c("input",{type:"text","onUpdate:modelValue":e[82]||(e[82]=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),[[Oe,o.addModel.url]])]),c("button",{type:"button",onClick:e[83]||(e[83]=de(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?(k(),C("div",dBe,[uBe,c("div",hBe,[c("div",fBe,[c("div",pBe,[gBe,c("span",mBe,H(Math.floor(o.addModel.progress))+"%",1)]),c("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},H(o.addModel.url),9,_Be),c("div",bBe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.addModel.progress+"%"})},null,4)]),c("div",yBe,[c("span",vBe,"Download speed: "+H(r.speed_computed)+"/s",1),c("span",wBe,H(r.downloaded_size_computed)+"/"+H(r.total_size_computed),1)])])]),c("div",xBe,[c("div",kBe,[c("div",EBe,[c("button",{onClick:e[84]||(e[84]=de((...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 ")])])])])):I("",!0)])])],2)]),c("div",CBe,[c("div",ABe,[c("button",{onClick:e[86]||(e[86]=de(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"},[se(c("div",null,TBe,512),[[Ye,o.pzc_collapsed]]),se(c("div",null,OBe,512),[[Ye,!o.pzc_collapsed]]),RBe,r.configFile.personalities?(k(),C("div",NBe,"|")):I("",!0),c("div",DBe,H(r.active_pesonality),1),r.configFile.personalities?(k(),C("div",LBe,"|")):I("",!0),r.configFile.personalities?(k(),C("div",IBe,[r.mountedPersArr.length>0?(k(),C("div",PBe,[(k(!0),C(Re,null,Ge(r.mountedPersArr,(p,b)=>(k(),C("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:b+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[c("div",FBe,[c("button",{onClick:de(y=>r.onPersonalitySelected(p),["stop"])},[c("img",{src:o.bUrl+p.avatar,onError:e[85]||(e[85]=(...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",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,$Be)],8,BBe),c("button",{onClick:de(y=>r.onPersonalityMounted(p),["stop"])},UBe,8,zBe)])]))),128))])):I("",!0)])):I("",!0)])]),c("div",{class:Me([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",qBe,[HBe,c("div",VBe,[c("div",GBe,[o.searchPersonalityInProgress?(k(),C("div",KBe,ZBe)):I("",!0),o.searchPersonalityInProgress?I("",!0):(k(),C("div",YBe,QBe))]),se(c("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[87]||(e[87]=p=>o.searchPersonality=p),onKeyup:e[88]||(e[88]=de((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Oe,o.searchPersonality]]),o.searchPersonality?(k(),C("button",{key:0,onClick:e[89]||(e[89]=de(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")):I("",!0)])]),o.searchPersonality?I("",!0):(k(),C("div",XBe,[c("label",e$e," Personalities Category: ("+H(o.persCatgArr.length)+") ",1),c("select",{id:"persCat",onChange:e[90]||(e[90]=p=>r.update_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"},[(k(!0),C(Re,null,Ge(o.persCatgArr,(p,b)=>(k(),C("option",{key:b,selected:p==this.configFile.personality_category},H(p),9,t$e))),128))],32)])),c("div",null,[o.personalitiesFiltered.length>0?(k(),C("div",n$e,[c("label",s$e,H(o.searchPersonality?"Search results":"Personalities")+": ("+H(o.personalitiesFiltered.length)+") ",1),c("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"])},[ue(Ut,{name:"bounce"},{default:Ne(()=>[(k(!0),C(Re,null,Ge(o.personalitiesFiltered,(p,b)=>(k(),tt(d,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+b+"-"+p.name,personality:p,full_path:p.full_path,"on-remount":r.onRemount,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(y=>y===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","on-remount","selected","on-selected","on-mounted","on-reinstall","on-settings"]))),128))]),_:1})],2)])):I("",!0)]),o.pzl_collapsed?(k(),C("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[91]||(e[91]=p=>o.pzl_collapsed=!o.pzl_collapsed)},r$e)):(k(),C("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[92]||(e[92]=p=>o.pzl_collapsed=!o.pzl_collapsed)},a$e))],2)]),c("div",l$e,[c("div",c$e,[c("button",{onClick:e[93]||(e[93]=de(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"},[se(c("div",null,u$e,512),[[Ye,o.mc_collapsed]]),se(c("div",null,f$e,512),[[Ye,!o.mc_collapsed]]),p$e])]),c("div",{class:Me([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[c("div",g$e,[c("div",m$e,[se(c("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[94]||(e[94]=de(()=>{},["stop"])),"onUpdate:modelValue":e[95]||(e[95]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[96]||(e[96]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[rt,r.configFile.override_personality_model_parameters]]),_$e])]),c("div",{class:Me(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[c("div",b$e,[y$e,se(c("input",{type:"text",id:"seed","onUpdate:modelValue":e[97]||(e[97]=p=>r.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),[[Oe,r.configFile.seed]])]),c("div",v$e,[c("div",w$e,[c("div",x$e,[k$e,c("p",E$e,[se(c("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[98]||(e[98]=p=>r.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),[[Oe,r.configFile.temperature]])])]),se(c("input",{id:"temperature",type:"range","onUpdate:modelValue":e[99]||(e[99]=p=>r.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,512),[[Oe,r.configFile.temperature]])])]),c("div",C$e,[c("div",A$e,[c("div",S$e,[T$e,c("p",M$e,[se(c("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[100]||(e[100]=p=>r.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),[[Oe,r.configFile.n_predict]])])]),se(c("input",{id:"predict",type:"range","onUpdate:modelValue":e[101]||(e[101]=p=>r.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,512),[[Oe,r.configFile.n_predict]])])]),c("div",O$e,[c("div",R$e,[c("div",N$e,[D$e,c("p",L$e,[se(c("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[102]||(e[102]=p=>r.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),[[Oe,r.configFile.top_k]])])]),se(c("input",{id:"top_k",type:"range","onUpdate:modelValue":e[103]||(e[103]=p=>r.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,512),[[Oe,r.configFile.top_k]])])]),c("div",I$e,[c("div",P$e,[c("div",F$e,[B$e,c("p",$$e,[se(c("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[104]||(e[104]=p=>r.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),[[Oe,r.configFile.top_p]])])]),se(c("input",{id:"top_p",type:"range","onUpdate:modelValue":e[105]||(e[105]=p=>r.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,512),[[Oe,r.configFile.top_p]])])]),c("div",z$e,[c("div",j$e,[c("div",U$e,[q$e,c("p",H$e,[se(c("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[106]||(e[106]=p=>r.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),[[Oe,r.configFile.repeat_penalty]])])]),se(c("input",{id:"repeat_penalty",type:"range","onUpdate:modelValue":e[107]||(e[107]=p=>r.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,512),[[Oe,r.configFile.repeat_penalty]])])]),c("div",V$e,[c("div",G$e,[c("div",K$e,[W$e,c("p",Z$e,[se(c("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[108]||(e[108]=p=>r.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),[[Oe,r.configFile.repeat_last_n]])])]),se(c("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[109]||(e[109]=p=>r.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,512),[[Oe,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),ue(u,{ref:"yesNoDialog",class:"z-20"},null,512),ue(h,{ref:"addmodeldialog"},null,512),ue(f,{ref:"messageBox"},null,512),ue(g,{ref:"toast"},null,512),ue(m,{ref:"universalForm",class:"z-20"},null,512),ue(_,{class:"z-20",show:o.variantSelectionDialogVisible,choices:o.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const J$e=Ue(yLe,[["render",Y$e],["__scopeId","data-v-fbe5ed87"]]),Q$e={components:{ClipBoardTextInput:vc,Card:vi},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:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.model_name,tokenizer_name:this.tokenizer_name,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};ye.post("/start_training",t).then(e=>{})},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)},selectDataset(t){const e=t.target.files;e.length>0&&(this.selectedDataset=e[0])}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},X$e={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"},eze={class:"mb-4"},tze=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),nze={class:"mb-4"},sze=c("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),oze={class:"mb-4"},rze=c("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),ize={class:"mb-4"},aze=c("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),lze={class:"mb-4"},cze=c("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),dze={class:"mb-4"},uze=c("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),hze={class:"mb-4"},fze=c("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),pze={class:"mb-4"},gze=c("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),mze=c("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function _ze(t,e,n,s,o,r){const i=qe("ClipBoardTextInput"),a=qe("Card");return k(),C("div",X$e,[c("form",{onSubmit:e[0]||(e[0]=de((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:""},[ue(a,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ue(a,{title:"Model",class:"",isHorizontal:!1},{default:Ne(()=>[c("div",eze,[tze,ue(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),c("div",nze,[sze,ue(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1}),ue(a,{title:"Data",isHorizontal:!1},{default:Ne(()=>[c("div",oze,[rze,ue(i,{id:"model_path",inputType:"file",value:o.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),ue(a,{title:"Training",isHorizontal:!1},{default:Ne(()=>[c("div",ize,[aze,ue(i,{id:"model_path",inputType:"integer",value:o.lr},null,8,["value"])]),c("div",lze,[cze,ue(i,{id:"model_path",inputType:"integer",value:o.num_epochs},null,8,["value"])]),c("div",dze,[uze,ue(i,{id:"model_path",inputType:"integer",value:o.max_length},null,8,["value"])]),c("div",hze,[fze,ue(i,{id:"model_path",inputType:"integer",value:o.batch_size},null,8,["value"])])]),_:1}),ue(a,{title:"Output",isHorizontal:!1},{default:Ne(()=>[c("div",pze,[gze,ue(i,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),ue(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[mze]),_:1})],32)])}const bze=Ue(Q$e,[["render",_ze]]),yze={components:{ClipBoardTextInput:vc,Card:vi},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)}}},vze={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"},wze={class:"mb-4"},xze=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),kze={class:"mb-4"},Eze=c("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),Cze=c("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function Aze(t,e,n,s,o,r){const i=qe("ClipBoardTextInput"),a=qe("Card");return k(),C("div",vze,[c("form",{onSubmit:e[0]||(e[0]=de((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[ue(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ue(a,{title:"Model",class:"",isHorizontal:!1},{default:Ne(()=>[c("div",wze,[xze,ue(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),c("div",kze,[Eze,ue(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),ue(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[Cze]),_:1})],32)])}const Sze=Ue(yze,[["render",Aze]]),Tze={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,be(()=>{ve.replace()})},watch:{showConfirmation(){be(()=>{ve.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&be(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},Mze=["id"],Oze={class:"flex flex-row items-center gap-2"},Rze={key:0},Nze=["title"],Dze=["value"],Lze={class:"flex items-center flex-1 max-h-6"},Ize={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},Pze=c("i",{"data-feather":"check"},null,-1),Fze=[Pze],Bze=c("i",{"data-feather":"x"},null,-1),$ze=[Bze],zze={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},jze=c("i",{"data-feather":"x"},null,-1),Uze=[jze],qze=c("i",{"data-feather":"check"},null,-1),Hze=[qze],Vze={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},Gze=c("i",{"data-feather":"edit-2"},null,-1),Kze=[Gze],Wze=c("i",{"data-feather":"trash"},null,-1),Zze=[Wze];function Yze(t,e,n,s,o,r){return k(),C("div",{class:Me([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md min-w-[23rem] max-w-[23rem]":" min-w-[23rem] max-w-[23rem]","flex flex-row sm:flex-row flex-wrap flex-shrink: 0 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]=de(i=>r.selectEvent(),["stop"]))},[c("div",Oze,[n.isCheckbox?(k(),C("div",Rze,[se(c("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]=de(()=>{},["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),[[rt,o.checkBoxValue_local]])])):I("",!0),n.selected?(k(),C("div",{key:1,class:Me(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):I("",!0),n.selected?I("",!0):(k(),C("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?I("",!0):(k(),C("p",{key:0,title:n.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},H(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,Nze)),o.editTitle?(k(),C("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]=Ja(de(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Ja(de(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=de(()=>{},["stop"]))},null,40,Dze)):I("",!0),c("div",Lze,[o.showConfirmation&&!o.editTitleMode?(k(),C("div",Ize,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=de(i=>r.deleteEvent(),["stop"]))},Fze),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=de(i=>o.showConfirmation=!1,["stop"]))},$ze)])):I("",!0),o.showConfirmation&&o.editTitleMode?(k(),C("div",zze,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=de(i=>o.editTitleMode=!1,["stop"]))},Uze),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=de(i=>r.editTitleEvent(),["stop"]))},Hze)])):I("",!0),o.showConfirmation?I("",!0):(k(),C("div",Vze,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=de(i=>o.editTitleMode=!0,["stop"]))},Kze),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=de(i=>o.showConfirmation=!0,["stop"]))},Zze)]))])],10,Mze)}const Ug=Ue(Tze,[["render",Yze]]),Jze={props:{htmlContent:{type:String,required:!0}}},Qze=["innerHTML"];function Xze(t,e,n,s,o,r){return k(),C("div",null,[c("div",{innerHTML:n.htmlContent},null,8,Qze)])}const eje=Ue(Jze,[["render",Xze]]);const tje={props:{jsonData:{type:[Object,Array,String],default:null},jsonFormText:{type:String,default:"JSON Form"}},data(){return{collapsed:!0}},computed:{formattedJson(){if(console.log(typeof this.jsonData),typeof this.jsonData=="string"){let t=JSON.stringify(JSON.parse(this.jsonData),null," ").replace(/\n/g,"
");return console.log(t),console.log(this.jsonFormText),t}else{let t=JSON.stringify(this.jsonData,null," ").replace(/\n/g,"
");return console.log(t),console.log(this.jsonFormText),t}},isObject(){return console.log(typeof this.jsonData),console.log(this.jsonData),typeof this.jsonData=="object"&&this.jsonData!==null},isContentPresent(){return this.jsonData!==null&&(typeof this.jsonData!="string"||this.jsonData.trim()!=="")}},methods:{toggleCollapsed(){this.collapsed=!this.collapsed},toggleCollapsible(){this.collapsed=!this.collapsed}}},nje={key:0},sje={class:"toggle-icon mr-1"},oje={key:0,class:"fas fa-plus-circle text-gray-600"},rje={key:1,class:"fas fa-minus-circle text-gray-600"},ije={class:"json-viewer max-h-64 overflow-auto p-4 bg-gray-100 border border-gray-300 rounded dark:bg-gray-600"},aje={key:0,class:"fas fa-plus-circle text-gray-600"},lje={key:1,class:"fas fa-minus-circle text-gray-600"},cje=["innerHTML"];function dje(t,e,n,s,o,r){return r.isContentPresent?(k(),C("div",nje,[c("div",{class:"collapsible-section cursor-pointer mb-4 font-bold hover:text-gray-900",onClick:e[0]||(e[0]=(...i)=>r.toggleCollapsible&&r.toggleCollapsible(...i))},[c("span",sje,[o.collapsed?(k(),C("i",oje)):(k(),C("i",rje))]),xe(" "+H(n.jsonFormText),1)]),se(c("div",null,[c("div",ije,[r.isObject?(k(),C("span",{key:0,onClick:e[1]||(e[1]=(...i)=>r.toggleCollapsed&&r.toggleCollapsed(...i)),class:"toggle-icon cursor-pointer mr-1"},[o.collapsed?(k(),C("i",aje)):(k(),C("i",lje))])):I("",!0),c("pre",{innerHTML:r.formattedJson},null,8,cje)])],512),[[Ye,!o.collapsed]])])):I("",!0)}const uje=Ue(tje,[["render",dje]]),hje={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0},status:{type:Boolean,required:!0}}},fje={class:"step flex items-center mb-4"},pje={class:"flex items-center justify-center w-6 h-6 mr-2"},gje={key:0},mje=c("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),_je=[mje],bje={key:1},yje=c("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),vje=[yje],wje={key:2},xje=c("i",{"data-feather":"x-square",class:"text-red-500 w-4 h-4"},null,-1),kje=[xje],Eje={key:0,role:"status"},Cje=c("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"},[c("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"}),c("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),Aje=[Cje];function Sje(t,e,n,s,o,r){return k(),C("div",fje,[c("div",pje,[n.done?I("",!0):(k(),C("div",gje,_je)),n.done&&n.status?(k(),C("div",bje,vje)):I("",!0),n.done&&!n.status?(k(),C("div",wje,kje)):I("",!0)]),n.done?I("",!0):(k(),C("div",Eje,Aje)),c("div",{class:Me(["content flex-1 px-2",{"text-green-500":n.done,"text-yellow-500":!n.done}])},H(n.message),3)])}const Tje=Ue(hje,[["render",Sje]]);const Mje={props:{code:String}},Oje=["srcdoc"];function Rje(t,e,n,s,o,r){return k(),C("div",null,[c("iframe",{ref:"outputFrame",srcdoc:n.code},null,8,Oje)])}const Nje=Ue(Mje,[["render",Rje]]);const Dje="/",Lje={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:Fg,Step:Tje,RenderHTMLJS:eje,JsonViewer:uje,DynamicUIRenderer:Nje},props:{message:Object,avatar:""},data(){return{msg:null,isSpeaking:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser."),be(()=>{ve.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.message.content.substring(o,o+e);const i=[".","!","?",` -`];let a=-1;return i.forEach(l=>{const d=r.lastIndexOf(l);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{if(this.message.content.includes(".")){const o=n(t),r=this.message.content.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.message.content.length," ",o))},this.speechSynthesis.speak(this.msg)}else setTimeout(()=>{s()},1)};s()},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.message.content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.message.content)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?Dje+this.avatar:es},defaultImg(t){t.target.src=es},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"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(t){this.$store.state.config.auto_speak&&(this.isSpeaking||this.checkForFullSentence())},showConfirmation(){be(()=>{ve.replace()})},editMsgMode(t){be(()=>{ve.replace()})},deleteMsgMode(){be(()=>{ve.replace()})}},computed:{isTalking:{get(){return this.isSpeaking}},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(d){return d<10&&(d="0"+d),d}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},Ije={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"},Pje={class:"flex flex-row gap-2"},Fje={class:"flex-shrink-0"},Bje={class:"group/avatar"},$je=["src","data-popover-target"],zje={class:"flex flex-col w-full flex-grow-0"},jje={class:"flex flex-row flex-grow items-start"},Uje={class:"flex flex-col mb-2"},qje={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},Hje=["title"],Vje=c("div",{class:"flex-grow"},null,-1),Gje={class:"flex-row justify-end mx-2"},Kje={class:"invisible group-hover:visible flex flex-row"},Wje={key:0,class:"flex items-center duration-75"},Zje=c("i",{"data-feather":"x"},null,-1),Yje=[Zje],Jje=c("i",{"data-feather":"check"},null,-1),Qje=[Jje],Xje=c("i",{"data-feather":"edit"},null,-1),eUe=[Xje],tUe=c("i",{"data-feather":"copy"},null,-1),nUe=[tUe],sUe=c("i",{"data-feather":"refresh-cw"},null,-1),oUe=[sUe],rUe=c("i",{"data-feather":"fast-forward"},null,-1),iUe=[rUe],aUe={key:4,class:"flex items-center duration-75"},lUe=c("i",{"data-feather":"x"},null,-1),cUe=[lUe],dUe=c("i",{"data-feather":"check"},null,-1),uUe=[dUe],hUe=c("i",{"data-feather":"trash"},null,-1),fUe=[hUe],pUe=c("i",{"data-feather":"thumbs-up"},null,-1),gUe=[pUe],mUe={class:"flex flex-row items-center"},_Ue=c("i",{"data-feather":"thumbs-down"},null,-1),bUe=[_Ue],yUe={class:"flex flex-row items-center"},vUe=c("i",{"data-feather":"volume-2"},null,-1),wUe=[vUe],xUe={class:"overflow-x-auto w-full"},kUe={class:"flex flex-col items-start w-full"},EUe={class:"flex flex-col items-start w-full"},CUe={key:2},AUe={class:"text-sm text-gray-400 mt-2"},SUe={class:"flex flex-row items-center gap-2"},TUe={key:0},MUe={class:"font-thin"},OUe={key:1},RUe={class:"font-thin"},NUe={key:2},DUe={class:"font-thin"},LUe={key:3},IUe=["title"];function PUe(t,e,n,s,o,r){const i=qe("Step"),a=qe("RenderHTMLJS"),l=qe("MarkdownRenderer"),d=qe("JsonViewer"),u=qe("DynamicUIRenderer");return k(),C("div",Ije,[c("div",Pje,[c("div",Fje,[c("div",Bje,[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=h=>r.defaultImg(h)),"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,$je)])]),c("div",zje,[c("div",jje,[c("div",Uje,[c("div",qje,H(n.message.sender)+" ",1),n.message.created_at?(k(),C("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},H(r.created_at),9,Hje)):I("",!0)]),Vje,c("div",Gje,[c("div",Kje,[o.editMsgMode?(k(),C("div",Wje,[c("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]=de(h=>o.editMsgMode=!1,["stop"]))},Yje),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=de((...h)=>r.updateMessage&&r.updateMessage(...h),["stop"]))},Qje)])):I("",!0),o.editMsgMode?I("",!0):(k(),C("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=de(h=>o.editMsgMode=!0,["stop"]))},eUe)),c("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=de(h=>r.copyContentToClipboard(),["stop"]))},nUe),n.message.sender!=this.$store.state.mountedPers.name?(k(),C("div",{key:2,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=de(h=>r.resendMessage(),["stop"]))},oUe)):I("",!0),n.message.sender==this.$store.state.mountedPers.name?(k(),C("div",{key:3,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[6]||(e[6]=de(h=>r.continueMessage(),["stop"]))},iUe)):I("",!0),o.deleteMsgMode?(k(),C("div",aUe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[7]||(e[7]=de(h=>o.deleteMsgMode=!1,["stop"]))},cUe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[8]||(e[8]=de(h=>r.deleteMsg(),["stop"]))},uUe)])):I("",!0),o.deleteMsgMode?I("",!0):(k(),C("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[9]||(e[9]=h=>o.deleteMsgMode=!0)},fUe)),c("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[10]||(e[10]=de(h=>r.rankUp(),["stop"]))},gUe),c("div",mUe,[c("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[11]||(e[11]=de(h=>r.rankDown(),["stop"]))},bUe),n.message.rank!=0?(k(),C("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"},H(n.message.rank),3)):I("",!0)]),c("div",yUe,[c("div",{class:Me(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[12]||(e[12]=de(h=>r.speak(),["stop"]))},wUe,2)])])])]),c("div",xUe,[c("div",kUe,[(k(!0),C(Re,null,Ge(n.message.steps,(h,f)=>(k(),C("div",{key:"step-"+n.message.id+"-"+f,class:"step font-bold",style:yt({backgroundColor:h.done?"transparent":"inherit"})},[ue(i,{done:h.done,message:h.message,status:h.status},null,8,["done","message","status"])],4))),128))]),c("div",EUe,[(k(!0),C(Re,null,Ge(n.message.html_js_s,(h,f)=>(k(),C("div",{key:"htmljs-"+n.message.id+"-"+f,class:"htmljs font-bold",style:yt({backgroundColor:t.step.done?"transparent":"inherit"})},[ue(a,{htmlContent:h},null,8,["htmlContent"])],4))),128))]),o.editMsgMode?I("",!0):(k(),tt(l,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?se((k(),C("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:yt({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[13]||(e[13]=h=>this.message.content=h)},null,4)),[[Oe,this.message.content]]):I("",!0),n.message.metadata!==null?(k(),C("div",CUe,[(k(!0),C(Re,null,Ge(n.message.metadata,(h,f)=>(k(),C("div",{key:"json-"+n.message.id+"-"+f,class:"json font-bold"},[ue(d,{jsonFormText:h.title,jsonData:h.content},null,8,["jsonFormText","jsonData"])]))),128))])):I("",!0),n.message.ui!=null?(k(),tt(u,{key:3,code:n.message.ui},null,8,["code"])):I("",!0)]),c("div",AUe,[c("div",SUe,[n.message.binding?(k(),C("p",TUe,[xe("Binding: "),c("span",MUe,H(n.message.binding),1)])):I("",!0),n.message.model?(k(),C("p",OUe,[xe("Model: "),c("span",RUe,H(n.message.model),1)])):I("",!0),n.message.seed?(k(),C("p",NUe,[xe("Seed: "),c("span",DUe,H(n.message.seed),1)])):I("",!0),r.time_spent?(k(),C("p",LUe,[xe("Time spent: "),c("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},H(r.time_spent),9,IUe)])):I("",!0)])])])])])}const qg=Ue(Lje,[["render",PUe]]),FUe="/";ye.defaults.baseURL="/";const BUe={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{UniversalForm:wc},data(){return{bUrl:FUe,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{onSettingsPersonality(t){try{ye.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.name,"Save changes","Cancel").then(n=>{try{ye.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. +You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},se=t=>(ss("data-v-95d9ca21"),t=t(),os(),t),kLe={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},ELe={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"},CLe={key:0,class:"flex gap-3 flex-1 items-center duration-75"},ALe=se(()=>c("i",{"data-feather":"x"},null,-1)),SLe=[ALe],TLe=se(()=>c("i",{"data-feather":"check"},null,-1)),MLe=[TLe],OLe={key:1,class:"flex gap-3 flex-1 items-center"},RLe=se(()=>c("i",{"data-feather":"save"},null,-1)),NLe=[RLe],DLe=se(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),LLe=[DLe],ILe=se(()=>c("i",{"data-feather":"list"},null,-1)),PLe=[ILe],FLe={class:"flex gap-3 flex-1 items-center justify-end"},BLe=se(()=>c("i",{"data-feather":"trash-2"},null,-1)),$Le=[BLe],zLe=se(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),jLe=[zLe],ULe=se(()=>c("i",{"data-feather":"arrow-up-circle"},null,-1)),qLe={key:0},HLe=se(()=>c("i",{"data-feather":"alert-circle"},null,-1)),VLe=[HLe],GLe={class:"flex gap-3 items-center"},KLe={key:0,class:"flex gap-3 items-center"},WLe=se(()=>c("i",{"data-feather":"check"},null,-1)),ZLe=[WLe],YLe={key:1,role:"status"},JLe=se(()=>c("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"},[c("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"}),c("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)),QLe=se(()=>c("span",{class:"sr-only"},"Loading...",-1)),XLe={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"},eIe={class:"flex flex-row p-3"},tIe=se(()=>c("i",{"data-feather":"chevron-right"},null,-1)),nIe=[tIe],sIe=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),oIe=[sIe],rIe=se(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),iIe=se(()=>c("div",{class:"mr-2"},"|",-1)),aIe={class:"text-base font-semibold cursor-pointer select-none items-center"},lIe={class:"flex gap-2 items-center"},cIe={key:0},dIe={class:"flex gap-2 items-center"},uIe=["title"],hIe=rs('',34),fIe=[hIe],pIe={class:"font-bold font-large text-lg"},gIe={key:1},mIe={class:"flex gap-2 items-center"},_Ie=rs('',1),bIe={class:"font-bold font-large text-lg"},yIe=se(()=>c("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),vIe={class:"font-bold font-large text-lg"},wIe=se(()=>c("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),xIe={class:"font-bold font-large text-lg"},kIe={class:"mb-2"},EIe=se(()=>c("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[c("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"})]),xe(" CPU Ram usage: ")],-1)),CIe={class:"flex flex-col mx-2"},AIe=se(()=>c("b",null,"Avaliable ram: ",-1)),SIe=se(()=>c("b",null,"Ram usage: ",-1)),TIe={class:"p-2"},MIe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},OIe={class:"mb-2"},RIe=se(()=>c("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[c("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),xe(" Disk usage: ")],-1)),NIe={class:"flex flex-col mx-2"},DIe=se(()=>c("b",null,"Avaliable disk space: ",-1)),LIe=se(()=>c("b",null,"Disk usage: ",-1)),IIe={class:"p-2"},PIe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},FIe={class:"mb-2"},BIe=rs('',1),$Ie={class:"flex flex-col mx-2"},zIe=se(()=>c("b",null,"Model: ",-1)),jIe=se(()=>c("b",null,"Avaliable vram: ",-1)),UIe=se(()=>c("b",null,"GPU usage: ",-1)),qIe={class:"p-2"},HIe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},VIe={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"},GIe={class:"flex flex-row p-3"},KIe=se(()=>c("i",{"data-feather":"chevron-right"},null,-1)),WIe=[KIe],ZIe=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),YIe=[ZIe],JIe=se(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),QIe={class:"flex flex-col mb-2 px-3 pb-2"},XIe={class:"expand-to-fit bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block 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"},ePe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),tPe={style:{width:"100%"}},nPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),sPe={style:{width:"100%"}},oPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),rPe={style:{width:"100%"}},iPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),aPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),lPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),cPe={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"},dPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),uPe={style:{width:"100%"}},hPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User description:")],-1)),fPe={style:{width:"100%"}},pPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),gPe={style:{width:"100%"}},mPe={for:"avatar-upload"},_Pe=["src"],bPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),yPe={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"},vPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_files",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files support:")],-1)),wPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_activate",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files vectorization:")],-1)),xPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_build_keys_words",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Build keywords when querying the vectorized database:")],-1)),kPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization method:")],-1)),EPe=se(()=>c("option",{value:"ftidf_vectorizer"},"ftidf Vectorizer",-1)),CPe=se(()=>c("option",{value:"model_embedding"},"Model Embedding",-1)),APe=[EPe,CPe],SPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_visualization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data visualization method:")],-1)),TPe=se(()=>c("option",{value:"PCA"},"PCA",-1)),MPe=se(()=>c("option",{value:"TSNE"},"TSNE",-1)),OPe=[TPe,MPe],RPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Save the new files to the database (The database wil always grow and continue to be the same over many sessions):")],-1)),NPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization chunk size(tokens):")],-1)),DPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization overlap size(tokens):")],-1)),LPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Number of chunks to use for each message:")],-1)),IPe={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"},PPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_auto_send_input",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Send audio input automatically:")],-1)),FPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),BPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),$Pe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_silenceTimer",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio in silence timer (ms):")],-1)),zPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),jPe=["value"],UPe=se(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),qPe=["value"],HPe={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"},VPe={class:"flex flex-row p-3"},GPe=se(()=>c("i",{"data-feather":"chevron-right"},null,-1)),KPe=[GPe],WPe=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),ZPe=[WPe],YPe=se(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),JPe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},QPe=se(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),XPe={key:1,class:"mr-2"},eFe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},tFe={class:"flex gap-1 items-center"},nFe=["src"],sFe={class:"font-bold font-large text-lg line-clamp-1"},oFe={key:0,class:"mb-2"},rFe={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},iFe=se(()=>c("i",{"data-feather":"chevron-up"},null,-1)),aFe=[iFe],lFe=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),cFe=[lFe],dFe={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"},uFe={class:"flex flex-row p-3"},hFe=se(()=>c("i",{"data-feather":"chevron-right"},null,-1)),fFe=[hFe],pFe=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),gFe=[pFe],mFe=se(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),_Fe={class:"flex flex-row items-center"},bFe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},yFe=se(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),vFe={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},wFe=se(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),xFe={key:2,class:"mr-2"},kFe={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},EFe={class:"flex gap-1 items-center"},CFe=["src"],AFe={class:"font-bold font-large text-lg line-clamp-1"},SFe={class:"mx-2 mb-4"},TFe={class:"relative"},MFe={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},OFe={key:0},RFe=se(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),NFe=[RFe],DFe={key:1},LFe=se(()=>c("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"},[c("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)),IFe=[LFe],PFe={key:0},FFe={key:0,class:"mb-2"},BFe={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},$Fe={key:1},zFe={key:0,class:"mb-2"},jFe={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},UFe=se(()=>c("i",{"data-feather":"chevron-up"},null,-1)),qFe=[UFe],HFe=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),VFe=[HFe],GFe={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"},KFe={class:"flex flex-row p-3"},WFe=se(()=>c("i",{"data-feather":"chevron-right"},null,-1)),ZFe=[WFe],YFe=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),JFe=[YFe],QFe=se(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),XFe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},eBe=se(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),tBe={key:1,class:"mr-2"},nBe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},sBe={class:"flex gap-1 items-center"},oBe=["src"],rBe={class:"font-bold font-large text-lg line-clamp-1"},iBe={class:"mb-2"},aBe={class:"p-2"},lBe={class:"mb-3"},cBe=se(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),dBe={key:0},uBe={class:"mb-3"},hBe=se(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),fBe={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},pBe=se(()=>c("div",{role:"status",class:"justify-center"},null,-1)),gBe={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},mBe={class:"w-full p-2"},_Be={class:"flex justify-between mb-1"},bBe=rs(' Downloading Loading...',1),yBe={class:"text-sm font-medium text-blue-700 dark:text-white"},vBe=["title"],wBe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},xBe={class:"flex justify-between mb-1"},kBe={class:"text-base font-medium text-blue-700 dark:text-white"},EBe={class:"text-sm font-medium text-blue-700 dark:text-white"},CBe={class:"flex flex-grow"},ABe={class:"flex flex-row flex-grow gap-3"},SBe={class:"p-2 text-center grow"},TBe={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"},MBe={class:"flex flex-row p-3 items-center"},OBe=se(()=>c("i",{"data-feather":"chevron-right"},null,-1)),RBe=[OBe],NBe=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),DBe=[NBe],LBe=se(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),IBe={key:0,class:"mr-2"},PBe={class:"mr-2 font-bold font-large text-lg line-clamp-1"},FBe={key:1,class:"mr-2"},BBe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},$Be={key:0,class:"flex -space-x-4 items-center"},zBe={class:"group items-center flex flex-row"},jBe=["onClick"],UBe=["src","title"],qBe=["onClick"],HBe=se(()=>c("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"},[c("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"},[c("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)),VBe=[HBe],GBe={class:"mx-2 mb-4"},KBe=se(()=>c("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),WBe={class:"relative"},ZBe={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},YBe={key:0},JBe=se(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),QBe=[JBe],XBe={key:1},e$e=se(()=>c("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"},[c("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)),t$e=[e$e],n$e={key:0,class:"mx-2 mb-4"},s$e={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},o$e=["selected"],r$e={key:0,class:"mb-2"},i$e={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},a$e=se(()=>c("i",{"data-feather":"chevron-up"},null,-1)),l$e=[a$e],c$e=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),d$e=[c$e],u$e={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"},h$e={class:"flex flex-row"},f$e=se(()=>c("i",{"data-feather":"chevron-right"},null,-1)),p$e=[f$e],g$e=se(()=>c("i",{"data-feather":"chevron-down"},null,-1)),m$e=[g$e],_$e=se(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),b$e={class:"m-2"},y$e={class:"flex flex-row gap-2 items-center"},v$e=se(()=>c("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),w$e={class:"m-2"},x$e=se(()=>c("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),k$e={class:"m-2"},E$e={class:"flex flex-col align-bottom"},C$e={class:"relative"},A$e=se(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),S$e={class:"absolute right-0"},T$e={class:"m-2"},M$e={class:"flex flex-col align-bottom"},O$e={class:"relative"},R$e=se(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),N$e={class:"absolute right-0"},D$e={class:"m-2"},L$e={class:"flex flex-col align-bottom"},I$e={class:"relative"},P$e=se(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),F$e={class:"absolute right-0"},B$e={class:"m-2"},$$e={class:"flex flex-col align-bottom"},z$e={class:"relative"},j$e=se(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),U$e={class:"absolute right-0"},q$e={class:"m-2"},H$e={class:"flex flex-col align-bottom"},V$e={class:"relative"},G$e=se(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),K$e={class:"absolute right-0"},W$e={class:"m-2"},Z$e={class:"flex flex-col align-bottom"},Y$e={class:"relative"},J$e=se(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),Q$e={class:"absolute right-0"};function X$e(t,e,n,s,o,r){const i=ze("Card"),a=ze("BindingEntry"),l=ze("model-entry"),d=ze("personality-entry"),u=ze("Toast"),h=ze("YesNoDialog"),f=ze("AddModelDialog"),p=ze("MessageBox"),m=ze("UniversalForm"),_=ze("ChoiceDialog");return k(),C(Re,null,[c("div",kLe,[c("div",ELe,[o.showConfirmation?(k(),C("div",CLe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=de(g=>o.showConfirmation=!1,["stop"]))},SLe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=de(g=>r.save_configuration(),["stop"]))},MLe)])):P("",!0),o.showConfirmation?P("",!0):(k(),C("div",OLe,[c("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=g=>o.showConfirmation=!0)},NLe),c("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=g=>r.reset_configuration())},LLe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=de(g=>o.all_collapsed=!o.all_collapsed,["stop"]))},PLe)])),c("div",FLe,[c("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=g=>r.api_get_req("clear_uploads").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},$Le),c("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=g=>r.api_get_req("restart_program").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},jLe),c("button",{title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[7]||(e[7]=g=>r.api_get_req("update_software").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[ULe,o.has_updates?(k(),C("div",qLe,VLe)):P("",!0)]),c("div",GLe,[o.settingsChanged?(k(),C("div",KLe,[xe(" Apply changes: "),o.isLoading?P("",!0):(k(),C("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[8]||(e[8]=de(g=>r.applyConfiguration(),["stop"]))},ZLe))])):P("",!0),o.isLoading?(k(),C("div",YLe,[c("p",null,H(o.loading_text),1),JLe,QLe])):P("",!0)])])]),c("div",{class:Me(o.isLoading?"pointer-events-none opacity-30":"")},[c("div",XLe,[c("div",eIe,[c("button",{onClick:e[9]||(e[9]=de(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"},[ie(c("div",null,nIe,512),[[Ye,o.sc_collapsed]]),ie(c("div",null,oIe,512),[[Ye,!o.sc_collapsed]]),rIe,iIe,c("div",aIe,[c("div",lIe,[c("div",null,[r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(k(),C("div",cIe,[(k(!0),C(Re,null,Ke(r.vramUsage.gpus,g=>(k(),C("div",dIe,[(k(),C("svg",{title:g.gpu_model,"aria-hidden":"true",class:"w-10 h-10 fill-secondary",viewBox:"0 -3 82 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fIe,8,uIe)),c("h3",pIe,[c("div",null,H(r.computedFileSize(g.used_vram))+" / "+H(r.computedFileSize(g.total_vram))+" ("+H(g.percentage)+"%) ",1)])]))),256))])):P("",!0),r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(k(),C("div",gIe,[c("div",mIe,[_Ie,c("h3",bIe,[c("div",null,H(r.vramUsage.gpus.length)+"x ",1)])])])):P("",!0)]),yIe,c("h3",vIe,[c("div",null,H(r.ram_usage)+" / "+H(r.ram_total_space)+" ("+H(r.ram_percent_usage)+"%)",1)]),wIe,c("h3",xIe,[c("div",null,H(r.disk_binding_models_usage)+" / "+H(r.disk_total_space)+" ("+H(r.disk_percent_usage)+"%)",1)])])])])]),c("div",{class:Me([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",kIe,[EIe,c("div",CIe,[c("div",null,[AIe,xe(H(r.ram_available_space),1)]),c("div",null,[SIe,xe(" "+H(r.ram_usage)+" / "+H(r.ram_total_space)+" ("+H(r.ram_percent_usage)+")% ",1)])]),c("div",TIe,[c("div",MIe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),c("div",OIe,[RIe,c("div",NIe,[c("div",null,[DIe,xe(H(r.disk_available_space),1)]),c("div",null,[LIe,xe(" "+H(r.disk_binding_models_usage)+" / "+H(r.disk_total_space)+" ("+H(r.disk_percent_usage)+"%)",1)])]),c("div",IIe,[c("div",PIe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(k(!0),C(Re,null,Ke(r.vramUsage.gpus,g=>(k(),C("div",FIe,[BIe,c("div",$Ie,[c("div",null,[zIe,xe(H(g.gpu_model),1)]),c("div",null,[jIe,xe(H(this.computedFileSize(g.available_space)),1)]),c("div",null,[UIe,xe(" "+H(this.computedFileSize(g.used_vram))+" / "+H(this.computedFileSize(g.total_vram))+" ("+H(g.percentage)+"%)",1)])]),c("div",qIe,[c("div",HIe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+g.percentage+"%;")},null,4)])])]))),256))],2)]),c("div",VIe,[c("div",GIe,[c("button",{onClick:e[10]||(e[10]=de(g=>o.minconf_collapsed=!o.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[ie(c("div",null,WIe,512),[[Ye,o.minconf_collapsed]]),ie(c("div",null,YIe,512),[[Ye,!o.minconf_collapsed]]),JIe])]),c("div",{class:Me([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",QIe,[ue(i,{title:"General",is_subcard:"True",class:"pb-2 m-2"},{default:Ne(()=>[c("table",XIe,[c("tr",null,[ePe,c("td",tPe,[ie(c("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[11]||(e[11]=g=>r.configFile.host=g),onChange:e[12]||(e[12]=g=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Oe,r.configFile.host]])])]),c("tr",null,[nPe,c("td",sPe,[ie(c("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[13]||(e[13]=g=>r.configFile.port=g),onChange:e[14]||(e[14]=g=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Oe,r.configFile.port]])])]),c("tr",null,[oPe,c("td",rPe,[ie(c("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[15]||(e[15]=g=>r.configFile.db_path=g),onChange:e[16]||(e[16]=g=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Oe,r.configFile.db_path]])])]),c("tr",null,[iPe,c("td",null,[ie(c("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[17]||(e[17]=g=>r.configFile.enable_gpu=g),onChange:e[18]||(e[18]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.enable_gpu]])])]),c("tr",null,[aPe,c("td",null,[ie(c("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[19]||(e[19]=g=>r.configFile.auto_save=g),onChange:e[20]||(e[20]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.auto_save]])])]),c("tr",null,[lPe,c("td",null,[ie(c("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[21]||(e[21]=g=>r.configFile.auto_update=g),onChange:e[22]||(e[22]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.auto_update]])])])])]),_:1}),ue(i,{title:"User",is_subcard:"True",class:"pb-2 m-2"},{default:Ne(()=>[c("table",cPe,[c("tr",null,[dPe,c("td",uPe,[ie(c("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[23]||(e[23]=g=>r.configFile.user_name=g),onChange:e[24]||(e[24]=g=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.user_name]])])]),c("tr",null,[hPe,c("td",fPe,[ie(c("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[25]||(e[25]=g=>r.configFile.user_description=g),onChange:e[26]||(e[26]=g=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.user_description]])])]),c("tr",null,[pPe,c("td",gPe,[c("label",mPe,[c("img",{src:"/user_infos/"+r.configFile.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,_Pe)]),c("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[27]||(e[27]=(...g)=>r.uploadAvatar&&r.uploadAvatar(...g))},null,32)])]),c("tr",null,[bPe,c("td",null,[ie(c("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[28]||(e[28]=g=>r.configFile.use_user_name_in_discussions=g),onChange:e[29]||(e[29]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.use_user_name_in_discussions]])])])])]),_:1}),ue(i,{title:"Files Vectorization",is_subcard:"True",class:"pb-2 m-2"},{default:Ne(()=>[c("table",yPe,[c("tr",null,[vPe,c("td",null,[ie(c("input",{type:"checkbox",id:"use_files",required:"","onUpdate:modelValue":e[30]||(e[30]=g=>r.configFile.use_files=g),onChange:e[31]||(e[31]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.use_files]])])]),c("tr",null,[wPe,c("td",null,[ie(c("input",{type:"checkbox",id:"data_vectorization_activate",required:"","onUpdate:modelValue":e[32]||(e[32]=g=>r.configFile.data_vectorization_activate=g),onChange:e[33]||(e[33]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.data_vectorization_activate]])])]),c("tr",null,[xPe,c("td",null,[ie(c("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[34]||(e[34]=g=>r.configFile.data_vectorization_build_keys_words=g),onChange:e[35]||(e[35]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.data_vectorization_build_keys_words]])])]),c("tr",null,[kPe,c("td",null,[ie(c("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[36]||(e[36]=g=>r.configFile.data_vectorization_method=g),onChange:e[37]||(e[37]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},APe,544),[[Sn,r.configFile.data_vectorization_method]])])]),c("tr",null,[SPe,c("td",null,[ie(c("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[38]||(e[38]=g=>r.configFile.data_visualization_method=g),onChange:e[39]||(e[39]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},OPe,544),[[Sn,r.configFile.data_visualization_method]])])]),c("tr",null,[RPe,c("td",null,[ie(c("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[40]||(e[40]=g=>r.configFile.data_vectorization_save_db=g),onChange:e[41]||(e[41]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.data_vectorization_save_db]])])]),c("tr",null,[NPe,c("td",null,[ie(c("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[42]||(e[42]=g=>r.configFile.data_vectorization_chunk_size=g),onChange:e[43]||(e[43]=g=>o.settingsChanged=!0),type:"range",min:"0",max:"64000",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),[[Oe,r.configFile.data_vectorization_chunk_size]]),ie(c("input",{"onUpdate:modelValue":e[44]||(e[44]=g=>r.configFile.data_vectorization_chunk_size=g),onChange:e[45]||(e[45]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.data_vectorization_chunk_size]])])]),c("tr",null,[DPe,c("td",null,[ie(c("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[46]||(e[46]=g=>r.configFile.data_vectorization_overlap_size=g),onChange:e[47]||(e[47]=g=>o.settingsChanged=!0),type:"range",min:"0",max:"64000",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),[[Oe,r.configFile.data_vectorization_overlap_size]]),ie(c("input",{"onUpdate:modelValue":e[48]||(e[48]=g=>r.configFile.data_vectorization_overlap_size=g),onChange:e[49]||(e[49]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.data_vectorization_overlap_size]])])]),c("tr",null,[LPe,c("td",null,[ie(c("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[50]||(e[50]=g=>r.configFile.data_vectorization_nb_chunks=g),onChange:e[51]||(e[51]=g=>o.settingsChanged=!0),type:"range",min:"0",max:"1000",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),[[Oe,r.configFile.data_vectorization_nb_chunks]]),ie(c("input",{"onUpdate:modelValue":e[52]||(e[52]=g=>r.configFile.data_vectorization_nb_chunks=g),onChange:e[53]||(e[53]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.data_vectorization_nb_chunks]])])])])]),_:1}),ue(i,{title:"Audio",is_subcard:"True",class:"pb-2 m-2"},{default:Ne(()=>[c("table",IPe,[c("tr",null,[PPe,c("td",null,[ie(c("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[54]||(e[54]=g=>r.configFile.audio_auto_send_input=g),onChange:e[55]||(e[55]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.audio_auto_send_input]])])]),c("tr",null,[FPe,c("td",null,[ie(c("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[56]||(e[56]=g=>r.configFile.auto_speak=g),onChange:e[57]||(e[57]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[rt,r.configFile.auto_speak]])])]),c("tr",null,[BPe,c("td",null,[ie(c("input",{id:"audio_pitch","onUpdate:modelValue":e[58]||(e[58]=g=>r.configFile.audio_pitch=g),onChange:e[59]||(e[59]=g=>o.settingsChanged=!0),type:"range",min:"0",max:"10",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),[[Oe,r.configFile.audio_pitch]]),ie(c("input",{"onUpdate:modelValue":e[60]||(e[60]=g=>r.configFile.audio_pitch=g),onChange:e[61]||(e[61]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.audio_pitch]])])]),c("tr",null,[$Pe,c("td",null,[ie(c("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[62]||(e[62]=g=>r.configFile.audio_silenceTimer=g),onChange:e[63]||(e[63]=g=>o.settingsChanged=!0),type:"range",min:"0",max:"10000",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),[[Oe,r.configFile.audio_silenceTimer]]),ie(c("input",{"onUpdate:modelValue":e[64]||(e[64]=g=>r.configFile.audio_silenceTimer=g),onChange:e[65]||(e[65]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Oe,r.configFile.audio_silenceTimer]])])]),c("tr",null,[zPe,c("td",null,[ie(c("select",{id:"audio_in_language","onUpdate:modelValue":e[66]||(e[66]=g=>r.configFile.audio_in_language=g),onChange:e[67]||(e[67]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),C(Re,null,Ke(r.audioLanguages,g=>(k(),C("option",{key:g.code,value:g.code},H(g.name),9,jPe))),128))],544),[[Sn,r.configFile.audio_in_language]])])]),c("tr",null,[UPe,c("td",null,[ie(c("select",{id:"audio_out_voice","onUpdate:modelValue":e[68]||(e[68]=g=>r.configFile.audio_out_voice=g),onChange:e[69]||(e[69]=g=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),C(Re,null,Ke(o.audioVoices,g=>(k(),C("option",{key:g.name,value:g.name},H(g.name),9,qPe))),128))],544),[[Sn,r.configFile.audio_out_voice]])])])])]),_:1})])],2)]),c("div",HPe,[c("div",VPe,[c("button",{onClick:e[70]||(e[70]=de(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"},[ie(c("div",null,KPe,512),[[Ye,o.bzc_collapsed]]),ie(c("div",null,ZPe,512),[[Ye,!o.bzc_collapsed]]),YPe,r.configFile.binding_name?P("",!0):(k(),C("div",JPe,[QPe,xe(" No binding selected! ")])),r.configFile.binding_name?(k(),C("div",XPe,"|")):P("",!0),r.configFile.binding_name?(k(),C("div",eFe,[c("div",tFe,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,nFe),c("h3",sFe,H(r.binding_name),1)])])):P("",!0)])]),c("div",{class:Me([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr&&r.bindingsArr.length>0?(k(),C("div",oFe,[c("label",rFe," Bindings: ("+H(r.bindingsArr.length)+") ",1),c("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"])},[ue(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ke(r.bindingsArr,(g,b)=>(k(),tt(a,{ref_for:!0,ref:"bindingZoo",key:"index-"+b+"-"+g.folder,binding:g,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:g.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):P("",!0),o.bzl_collapsed?(k(),C("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[71]||(e[71]=g=>o.bzl_collapsed=!o.bzl_collapsed)},aFe)):(k(),C("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[72]||(e[72]=g=>o.bzl_collapsed=!o.bzl_collapsed)},cFe))],2)]),c("div",dFe,[c("div",uFe,[c("button",{onClick:e[73]||(e[73]=de(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"},[ie(c("div",null,fFe,512),[[Ye,o.mzc_collapsed]]),ie(c("div",null,gFe,512),[[Ye,!o.mzc_collapsed]]),mFe,c("div",_Fe,[r.configFile.binding_name?P("",!0):(k(),C("div",bFe,[yFe,xe(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(k(),C("div",vFe,[wFe,xe(" No model selected! ")])):P("",!0),r.configFile.model_name?(k(),C("div",xFe,"|")):P("",!0),r.configFile.model_name?(k(),C("div",kFe,[c("div",EFe,[c("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,CFe),c("h3",AFe,H(r.model_name),1)])])):P("",!0)])])]),c("div",{class:Me([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",SFe,[c("div",TFe,[c("div",MFe,[o.searchModelInProgress?(k(),C("div",OFe,NFe)):P("",!0),o.searchModelInProgress?P("",!0):(k(),C("div",DFe,IFe))]),ie(c("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[74]||(e[74]=g=>o.searchModel=g),onKeyup:e[75]||(e[75]=de((...g)=>r.searchModel_func&&r.searchModel_func(...g),["stop"]))},null,544),[[Oe,o.searchModel]]),o.searchModel?(k(),C("button",{key:0,onClick:e[76]||(e[76]=de(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")):P("",!0)])]),o.searchModel?(k(),C("div",PFe,[o.modelsFiltered.length>0?(k(),C("div",FFe,[c("label",BFe," Search results: ("+H(o.modelsFiltered.length)+") ",1),c("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"])},[ue(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ke(o.modelsFiltered,(g,b)=>(k(),tt(l,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+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===r.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)])):P("",!0)])):P("",!0),o.searchModel?P("",!0):(k(),C("div",$Fe,[r.models&&r.models.length>0?(k(),C("div",zFe,[c("label",jFe," Models: ("+H(r.models.length)+") ",1),c("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"])},[ue(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ke(r.models,(g,b)=>(k(),tt(l,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+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===r.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)])):P("",!0)])),o.mzl_collapsed?(k(),C("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[77]||(e[77]=(...g)=>r.open_mzl&&r.open_mzl(...g))},qFe)):(k(),C("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[78]||(e[78]=(...g)=>r.open_mzl&&r.open_mzl(...g))},VFe))],2)]),c("div",GFe,[c("div",KFe,[c("button",{onClick:e[79]||(e[79]=de(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"},[ie(c("div",null,ZFe,512),[[Ye,o.mzdc_collapsed]]),ie(c("div",null,JFe,512),[[Ye,!o.mzdc_collapsed]]),QFe,r.binding_name?P("",!0):(k(),C("div",XFe,[eBe,xe(" No binding selected! ")])),r.configFile.binding_name?(k(),C("div",tBe,"|")):P("",!0),r.configFile.binding_name?(k(),C("div",nBe,[c("div",sBe,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,oBe),c("h3",rBe,H(r.binding_name),1)])])):P("",!0)])]),c("div",{class:Me([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",iBe,[c("div",aBe,[c("div",null,[c("div",lBe,[cBe,ie(c("input",{type:"text","onUpdate:modelValue":e[80]||(e[80]=g=>o.reference_path=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 Path ...",required:""},null,512),[[Oe,o.reference_path]])]),c("button",{type:"button",onClick:e[81]||(e[81]=de(g=>r.onCreateReference(),["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"},"Add reference")]),o.modelDownlaodInProgress?P("",!0):(k(),C("div",dBe,[c("div",uBe,[hBe,ie(c("input",{type:"text","onUpdate:modelValue":e[82]||(e[82]=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),[[Oe,o.addModel.url]])]),c("button",{type:"button",onClick:e[83]||(e[83]=de(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?(k(),C("div",fBe,[pBe,c("div",gBe,[c("div",mBe,[c("div",_Be,[bBe,c("span",yBe,H(Math.floor(o.addModel.progress))+"%",1)]),c("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},H(o.addModel.url),9,vBe),c("div",wBe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.addModel.progress+"%"})},null,4)]),c("div",xBe,[c("span",kBe,"Download speed: "+H(r.speed_computed)+"/s",1),c("span",EBe,H(r.downloaded_size_computed)+"/"+H(r.total_size_computed),1)])])]),c("div",CBe,[c("div",ABe,[c("div",SBe,[c("button",{onClick:e[84]||(e[84]=de((...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 ")])])])])):P("",!0)])])],2)]),c("div",TBe,[c("div",MBe,[c("button",{onClick:e[86]||(e[86]=de(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"},[ie(c("div",null,RBe,512),[[Ye,o.pzc_collapsed]]),ie(c("div",null,DBe,512),[[Ye,!o.pzc_collapsed]]),LBe,r.configFile.personalities?(k(),C("div",IBe,"|")):P("",!0),c("div",PBe,H(r.active_pesonality),1),r.configFile.personalities?(k(),C("div",FBe,"|")):P("",!0),r.configFile.personalities?(k(),C("div",BBe,[r.mountedPersArr.length>0?(k(),C("div",$Be,[(k(!0),C(Re,null,Ke(r.mountedPersArr,(g,b)=>(k(),C("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:b+"-"+g.name,ref_for:!0,ref:"mountedPersonalities"},[c("div",zBe,[c("button",{onClick:de(y=>r.onPersonalitySelected(g),["stop"])},[c("img",{src:o.bUrl+g.avatar,onError:e[85]||(e[85]=(...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",r.configFile.active_personality_id==r.configFile.personalities.indexOf(g.full_path)?"border-secondary":"border-transparent z-0"]),title:g.name},null,42,UBe)],8,jBe),c("button",{onClick:de(y=>r.onPersonalityMounted(g),["stop"])},VBe,8,qBe)])]))),128))])):P("",!0)])):P("",!0)])]),c("div",{class:Me([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",GBe,[KBe,c("div",WBe,[c("div",ZBe,[o.searchPersonalityInProgress?(k(),C("div",YBe,QBe)):P("",!0),o.searchPersonalityInProgress?P("",!0):(k(),C("div",XBe,t$e))]),ie(c("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[87]||(e[87]=g=>o.searchPersonality=g),onKeyup:e[88]||(e[88]=de((...g)=>r.searchPersonality_func&&r.searchPersonality_func(...g),["stop"]))},null,544),[[Oe,o.searchPersonality]]),o.searchPersonality?(k(),C("button",{key:0,onClick:e[89]||(e[89]=de(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")):P("",!0)])]),o.searchPersonality?P("",!0):(k(),C("div",n$e,[c("label",s$e," Personalities Category: ("+H(o.persCatgArr.length)+") ",1),c("select",{id:"persCat",onChange:e[90]||(e[90]=g=>r.update_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"},[(k(!0),C(Re,null,Ke(o.persCatgArr,(g,b)=>(k(),C("option",{key:b,selected:g==this.configFile.personality_category},H(g),9,o$e))),128))],32)])),c("div",null,[o.personalitiesFiltered.length>0?(k(),C("div",r$e,[c("label",i$e,H(o.searchPersonality?"Search results":"Personalities")+": ("+H(o.personalitiesFiltered.length)+") ",1),c("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"])},[ue(Ut,{name:"bounce"},{default:Ne(()=>[(k(!0),C(Re,null,Ke(o.personalitiesFiltered,(g,b)=>(k(),tt(d,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+b+"-"+g.name,personality:g,full_path:g.full_path,"on-remount":r.onRemount,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(y=>y===g.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","on-remount","selected","on-selected","on-mounted","on-reinstall","on-settings"]))),128))]),_:1})],2)])):P("",!0)]),o.pzl_collapsed?(k(),C("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[91]||(e[91]=g=>o.pzl_collapsed=!o.pzl_collapsed)},l$e)):(k(),C("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[92]||(e[92]=g=>o.pzl_collapsed=!o.pzl_collapsed)},d$e))],2)]),c("div",u$e,[c("div",h$e,[c("button",{onClick:e[93]||(e[93]=de(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"},[ie(c("div",null,p$e,512),[[Ye,o.mc_collapsed]]),ie(c("div",null,m$e,512),[[Ye,!o.mc_collapsed]]),_$e])]),c("div",{class:Me([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[c("div",b$e,[c("div",y$e,[ie(c("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[94]||(e[94]=de(()=>{},["stop"])),"onUpdate:modelValue":e[95]||(e[95]=g=>r.configFile.override_personality_model_parameters=g),onChange:e[96]||(e[96]=g=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[rt,r.configFile.override_personality_model_parameters]]),v$e])]),c("div",{class:Me(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[c("div",w$e,[x$e,ie(c("input",{type:"text",id:"seed","onUpdate:modelValue":e[97]||(e[97]=g=>r.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),[[Oe,r.configFile.seed]])]),c("div",k$e,[c("div",E$e,[c("div",C$e,[A$e,c("p",S$e,[ie(c("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[98]||(e[98]=g=>r.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),[[Oe,r.configFile.temperature]])])]),ie(c("input",{id:"temperature",type:"range","onUpdate:modelValue":e[99]||(e[99]=g=>r.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,512),[[Oe,r.configFile.temperature]])])]),c("div",T$e,[c("div",M$e,[c("div",O$e,[R$e,c("p",N$e,[ie(c("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[100]||(e[100]=g=>r.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),[[Oe,r.configFile.n_predict]])])]),ie(c("input",{id:"predict",type:"range","onUpdate:modelValue":e[101]||(e[101]=g=>r.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,512),[[Oe,r.configFile.n_predict]])])]),c("div",D$e,[c("div",L$e,[c("div",I$e,[P$e,c("p",F$e,[ie(c("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[102]||(e[102]=g=>r.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),[[Oe,r.configFile.top_k]])])]),ie(c("input",{id:"top_k",type:"range","onUpdate:modelValue":e[103]||(e[103]=g=>r.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,512),[[Oe,r.configFile.top_k]])])]),c("div",B$e,[c("div",$$e,[c("div",z$e,[j$e,c("p",U$e,[ie(c("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[104]||(e[104]=g=>r.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),[[Oe,r.configFile.top_p]])])]),ie(c("input",{id:"top_p",type:"range","onUpdate:modelValue":e[105]||(e[105]=g=>r.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,512),[[Oe,r.configFile.top_p]])])]),c("div",q$e,[c("div",H$e,[c("div",V$e,[G$e,c("p",K$e,[ie(c("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[106]||(e[106]=g=>r.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),[[Oe,r.configFile.repeat_penalty]])])]),ie(c("input",{id:"repeat_penalty",type:"range","onUpdate:modelValue":e[107]||(e[107]=g=>r.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,512),[[Oe,r.configFile.repeat_penalty]])])]),c("div",W$e,[c("div",Z$e,[c("div",Y$e,[J$e,c("p",Q$e,[ie(c("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[108]||(e[108]=g=>r.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),[[Oe,r.configFile.repeat_last_n]])])]),ie(c("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[109]||(e[109]=g=>r.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,512),[[Oe,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),ue(u,{ref:"toast"},null,512),ue(h,{ref:"yesNoDialog",class:"z-20"},null,512),ue(f,{ref:"addmodeldialog"},null,512),ue(p,{ref:"messageBox"},null,512),ue(m,{ref:"universalForm",class:"z-20"},null,512),ue(_,{class:"z-20",show:o.variantSelectionDialogVisible,choices:o.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const eze=qe(xLe,[["render",X$e],["__scopeId","data-v-95d9ca21"]]),tze={components:{ClipBoardTextInput:vc,Card:vi},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:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.model_name,tokenizer_name:this.tokenizer_name,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};ye.post("/start_training",t).then(e=>{})},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)},selectDataset(t){const e=t.target.files;e.length>0&&(this.selectedDataset=e[0])}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},nze={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"},sze={class:"mb-4"},oze=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),rze={class:"mb-4"},ize=c("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),aze={class:"mb-4"},lze=c("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),cze={class:"mb-4"},dze=c("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),uze={class:"mb-4"},hze=c("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),fze={class:"mb-4"},pze=c("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),gze={class:"mb-4"},mze=c("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),_ze={class:"mb-4"},bze=c("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),yze=c("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function vze(t,e,n,s,o,r){const i=ze("ClipBoardTextInput"),a=ze("Card");return k(),C("div",nze,[c("form",{onSubmit:e[0]||(e[0]=de((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:""},[ue(a,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ue(a,{title:"Model",class:"",isHorizontal:!1},{default:Ne(()=>[c("div",sze,[oze,ue(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),c("div",rze,[ize,ue(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1}),ue(a,{title:"Data",isHorizontal:!1},{default:Ne(()=>[c("div",aze,[lze,ue(i,{id:"model_path",inputType:"file",value:o.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),ue(a,{title:"Training",isHorizontal:!1},{default:Ne(()=>[c("div",cze,[dze,ue(i,{id:"model_path",inputType:"integer",value:o.lr},null,8,["value"])]),c("div",uze,[hze,ue(i,{id:"model_path",inputType:"integer",value:o.num_epochs},null,8,["value"])]),c("div",fze,[pze,ue(i,{id:"model_path",inputType:"integer",value:o.max_length},null,8,["value"])]),c("div",gze,[mze,ue(i,{id:"model_path",inputType:"integer",value:o.batch_size},null,8,["value"])])]),_:1}),ue(a,{title:"Output",isHorizontal:!1},{default:Ne(()=>[c("div",_ze,[bze,ue(i,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),ue(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[yze]),_:1})],32)])}const wze=qe(tze,[["render",vze]]),xze={components:{ClipBoardTextInput:vc,Card:vi},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)}}},kze={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"},Eze={class:"mb-4"},Cze=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),Aze={class:"mb-4"},Sze=c("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),Tze=c("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function Mze(t,e,n,s,o,r){const i=ze("ClipBoardTextInput"),a=ze("Card");return k(),C("div",kze,[c("form",{onSubmit:e[0]||(e[0]=de((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[ue(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ue(a,{title:"Model",class:"",isHorizontal:!1},{default:Ne(()=>[c("div",Eze,[Cze,ue(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),c("div",Aze,[Sze,ue(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),ue(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[Tze]),_:1})],32)])}const Oze=qe(xze,[["render",Mze]]),Rze={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,be(()=>{ve.replace()})},watch:{showConfirmation(){be(()=>{ve.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&be(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},Nze=["id"],Dze={class:"flex flex-row items-center gap-2"},Lze={key:0},Ize=["title"],Pze=["value"],Fze={class:"flex items-center flex-1 max-h-6"},Bze={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},$ze=c("i",{"data-feather":"check"},null,-1),zze=[$ze],jze=c("i",{"data-feather":"x"},null,-1),Uze=[jze],qze={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},Hze=c("i",{"data-feather":"x"},null,-1),Vze=[Hze],Gze=c("i",{"data-feather":"check"},null,-1),Kze=[Gze],Wze={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},Zze=c("i",{"data-feather":"edit-2"},null,-1),Yze=[Zze],Jze=c("i",{"data-feather":"trash"},null,-1),Qze=[Jze];function Xze(t,e,n,s,o,r){return k(),C("div",{class:Me([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md min-w-[23rem] max-w-[23rem]":" min-w-[23rem] max-w-[23rem]","flex flex-row sm:flex-row flex-wrap flex-shrink: 0 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]=de(i=>r.selectEvent(),["stop"]))},[c("div",Dze,[n.isCheckbox?(k(),C("div",Lze,[ie(c("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]=de(()=>{},["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),[[rt,o.checkBoxValue_local]])])):P("",!0),n.selected?(k(),C("div",{key:1,class:Me(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):P("",!0),n.selected?P("",!0):(k(),C("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?P("",!0):(k(),C("p",{key:0,title:n.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},H(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,Ize)),o.editTitle?(k(),C("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]=Ja(de(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Ja(de(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=de(()=>{},["stop"]))},null,40,Pze)):P("",!0),c("div",Fze,[o.showConfirmation&&!o.editTitleMode?(k(),C("div",Bze,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=de(i=>r.deleteEvent(),["stop"]))},zze),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=de(i=>o.showConfirmation=!1,["stop"]))},Uze)])):P("",!0),o.showConfirmation&&o.editTitleMode?(k(),C("div",qze,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=de(i=>o.editTitleMode=!1,["stop"]))},Vze),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=de(i=>r.editTitleEvent(),["stop"]))},Kze)])):P("",!0),o.showConfirmation?P("",!0):(k(),C("div",Wze,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=de(i=>o.editTitleMode=!0,["stop"]))},Yze),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=de(i=>o.showConfirmation=!0,["stop"]))},Qze)]))])],10,Nze)}const Ug=qe(Rze,[["render",Xze]]),eje={props:{htmlContent:{type:String,required:!0}}},tje=["innerHTML"];function nje(t,e,n,s,o,r){return k(),C("div",null,[c("div",{innerHTML:n.htmlContent},null,8,tje)])}const sje=qe(eje,[["render",nje]]);const oje={props:{jsonData:{type:[Object,Array,String],default:null},jsonFormText:{type:String,default:"JSON Form"}},data(){return{collapsed:!0}},computed:{formattedJson(){if(console.log(typeof this.jsonData),typeof this.jsonData=="string"){let t=JSON.stringify(JSON.parse(this.jsonData),null," ").replace(/\n/g,"
");return console.log(t),console.log(this.jsonFormText),t}else{let t=JSON.stringify(this.jsonData,null," ").replace(/\n/g,"
");return console.log(t),console.log(this.jsonFormText),t}},isObject(){return console.log(typeof this.jsonData),console.log(this.jsonData),typeof this.jsonData=="object"&&this.jsonData!==null},isContentPresent(){return this.jsonData!==null&&(typeof this.jsonData!="string"||this.jsonData.trim()!=="")}},methods:{toggleCollapsed(){this.collapsed=!this.collapsed},toggleCollapsible(){this.collapsed=!this.collapsed}}},rje={key:0},ije={class:"toggle-icon mr-1"},aje={key:0,class:"fas fa-plus-circle text-gray-600"},lje={key:1,class:"fas fa-minus-circle text-gray-600"},cje={class:"json-viewer max-h-64 overflow-auto p-4 bg-gray-100 border border-gray-300 rounded dark:bg-gray-600"},dje={key:0,class:"fas fa-plus-circle text-gray-600"},uje={key:1,class:"fas fa-minus-circle text-gray-600"},hje=["innerHTML"];function fje(t,e,n,s,o,r){return r.isContentPresent?(k(),C("div",rje,[c("div",{class:"collapsible-section cursor-pointer mb-4 font-bold hover:text-gray-900",onClick:e[0]||(e[0]=(...i)=>r.toggleCollapsible&&r.toggleCollapsible(...i))},[c("span",ije,[o.collapsed?(k(),C("i",aje)):(k(),C("i",lje))]),xe(" "+H(n.jsonFormText),1)]),ie(c("div",null,[c("div",cje,[r.isObject?(k(),C("span",{key:0,onClick:e[1]||(e[1]=(...i)=>r.toggleCollapsed&&r.toggleCollapsed(...i)),class:"toggle-icon cursor-pointer mr-1"},[o.collapsed?(k(),C("i",dje)):(k(),C("i",uje))])):P("",!0),c("pre",{innerHTML:r.formattedJson},null,8,hje)])],512),[[Ye,!o.collapsed]])])):P("",!0)}const pje=qe(oje,[["render",fje]]),gje={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0},status:{type:Boolean,required:!0}}},mje={class:"step flex items-center mb-4"},_je={class:"flex items-center justify-center w-6 h-6 mr-2"},bje={key:0},yje=c("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),vje=[yje],wje={key:1},xje=c("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),kje=[xje],Eje={key:2},Cje=c("i",{"data-feather":"x-square",class:"text-red-500 w-4 h-4"},null,-1),Aje=[Cje],Sje={key:0,role:"status"},Tje=c("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"},[c("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"}),c("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),Mje=[Tje];function Oje(t,e,n,s,o,r){return k(),C("div",mje,[c("div",_je,[n.done?P("",!0):(k(),C("div",bje,vje)),n.done&&n.status?(k(),C("div",wje,kje)):P("",!0),n.done&&!n.status?(k(),C("div",Eje,Aje)):P("",!0)]),n.done?P("",!0):(k(),C("div",Sje,Mje)),c("div",{class:Me(["content flex-1 px-2",{"text-green-500":n.done,"text-yellow-500":!n.done}])},H(n.message),3)])}const Rje=qe(gje,[["render",Oje]]);const Nje={props:{code:String}},Dje=["srcdoc"];function Lje(t,e,n,s,o,r){return k(),C("div",null,[c("iframe",{ref:"outputFrame",srcdoc:n.code},null,8,Dje)])}const Ije=qe(Nje,[["render",Lje]]);const Pje="/",Fje={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:Bg,Step:Rje,RenderHTMLJS:sje,JsonViewer:pje,DynamicUIRenderer:Ije},props:{message:Object,avatar:""},data(){return{msg:null,isSpeaking:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser."),be(()=>{ve.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.message.content.substring(o,o+e);const i=[".","!","?",` +`];let a=-1;return i.forEach(l=>{const d=r.lastIndexOf(l);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{if(this.message.content.includes(".")){const o=n(t),r=this.message.content.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.message.content.length," ",o))},this.speechSynthesis.speak(this.msg)}else setTimeout(()=>{s()},1)};s()},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.message.content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.message.content)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?Pje+this.avatar:es},defaultImg(t){t.target.src=es},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"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(t){this.$store.state.config.auto_speak&&(this.isSpeaking||this.checkForFullSentence())},showConfirmation(){be(()=>{ve.replace()})},editMsgMode(t){be(()=>{ve.replace()})},deleteMsgMode(){be(()=>{ve.replace()})}},computed:{isTalking:{get(){return this.isSpeaking}},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(d){return d<10&&(d="0"+d),d}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},Bje={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"},$je={class:"flex flex-row gap-2"},zje={class:"flex-shrink-0"},jje={class:"group/avatar"},Uje=["src","data-popover-target"],qje={class:"flex flex-col w-full flex-grow-0"},Hje={class:"flex flex-row flex-grow items-start"},Vje={class:"flex flex-col mb-2"},Gje={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},Kje=["title"],Wje=c("div",{class:"flex-grow"},null,-1),Zje={class:"flex-row justify-end mx-2"},Yje={class:"invisible group-hover:visible flex flex-row"},Jje={key:0,class:"flex items-center duration-75"},Qje=c("i",{"data-feather":"x"},null,-1),Xje=[Qje],eUe=c("i",{"data-feather":"check"},null,-1),tUe=[eUe],nUe=c("i",{"data-feather":"edit"},null,-1),sUe=[nUe],oUe=c("i",{"data-feather":"copy"},null,-1),rUe=[oUe],iUe=c("i",{"data-feather":"refresh-cw"},null,-1),aUe=[iUe],lUe=c("i",{"data-feather":"fast-forward"},null,-1),cUe=[lUe],dUe={key:4,class:"flex items-center duration-75"},uUe=c("i",{"data-feather":"x"},null,-1),hUe=[uUe],fUe=c("i",{"data-feather":"check"},null,-1),pUe=[fUe],gUe=c("i",{"data-feather":"trash"},null,-1),mUe=[gUe],_Ue=c("i",{"data-feather":"thumbs-up"},null,-1),bUe=[_Ue],yUe={class:"flex flex-row items-center"},vUe=c("i",{"data-feather":"thumbs-down"},null,-1),wUe=[vUe],xUe={class:"flex flex-row items-center"},kUe=c("i",{"data-feather":"volume-2"},null,-1),EUe=[kUe],CUe={class:"overflow-x-auto w-full"},AUe={class:"flex flex-col items-start w-full"},SUe={class:"flex flex-col items-start w-full"},TUe={key:2},MUe={class:"text-sm text-gray-400 mt-2"},OUe={class:"flex flex-row items-center gap-2"},RUe={key:0},NUe={class:"font-thin"},DUe={key:1},LUe={class:"font-thin"},IUe={key:2},PUe={class:"font-thin"},FUe={key:3},BUe=["title"];function $Ue(t,e,n,s,o,r){const i=ze("Step"),a=ze("RenderHTMLJS"),l=ze("MarkdownRenderer"),d=ze("JsonViewer"),u=ze("DynamicUIRenderer");return k(),C("div",Bje,[c("div",$je,[c("div",zje,[c("div",jje,[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=h=>r.defaultImg(h)),"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,Uje)])]),c("div",qje,[c("div",Hje,[c("div",Vje,[c("div",Gje,H(n.message.sender)+" ",1),n.message.created_at?(k(),C("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},H(r.created_at),9,Kje)):P("",!0)]),Wje,c("div",Zje,[c("div",Yje,[o.editMsgMode?(k(),C("div",Jje,[c("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]=de(h=>o.editMsgMode=!1,["stop"]))},Xje),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=de((...h)=>r.updateMessage&&r.updateMessage(...h),["stop"]))},tUe)])):P("",!0),o.editMsgMode?P("",!0):(k(),C("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=de(h=>o.editMsgMode=!0,["stop"]))},sUe)),c("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=de(h=>r.copyContentToClipboard(),["stop"]))},rUe),n.message.sender!=this.$store.state.mountedPers.name?(k(),C("div",{key:2,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=de(h=>r.resendMessage(),["stop"]))},aUe)):P("",!0),n.message.sender==this.$store.state.mountedPers.name?(k(),C("div",{key:3,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[6]||(e[6]=de(h=>r.continueMessage(),["stop"]))},cUe)):P("",!0),o.deleteMsgMode?(k(),C("div",dUe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[7]||(e[7]=de(h=>o.deleteMsgMode=!1,["stop"]))},hUe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[8]||(e[8]=de(h=>r.deleteMsg(),["stop"]))},pUe)])):P("",!0),o.deleteMsgMode?P("",!0):(k(),C("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[9]||(e[9]=h=>o.deleteMsgMode=!0)},mUe)),c("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[10]||(e[10]=de(h=>r.rankUp(),["stop"]))},bUe),c("div",yUe,[c("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[11]||(e[11]=de(h=>r.rankDown(),["stop"]))},wUe),n.message.rank!=0?(k(),C("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"},H(n.message.rank),3)):P("",!0)]),c("div",xUe,[c("div",{class:Me(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[12]||(e[12]=de(h=>r.speak(),["stop"]))},EUe,2)])])])]),c("div",CUe,[c("div",AUe,[(k(!0),C(Re,null,Ke(n.message.steps,(h,f)=>(k(),C("div",{key:"step-"+n.message.id+"-"+f,class:"step font-bold",style:yt({backgroundColor:h.done?"transparent":"inherit"})},[ue(i,{done:h.done,message:h.message,status:h.status},null,8,["done","message","status"])],4))),128))]),c("div",SUe,[(k(!0),C(Re,null,Ke(n.message.html_js_s,(h,f)=>(k(),C("div",{key:"htmljs-"+n.message.id+"-"+f,class:"htmljs font-bold",style:yt({backgroundColor:t.step.done?"transparent":"inherit"})},[ue(a,{htmlContent:h},null,8,["htmlContent"])],4))),128))]),o.editMsgMode?P("",!0):(k(),tt(l,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?ie((k(),C("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:yt({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[13]||(e[13]=h=>this.message.content=h)},null,4)),[[Oe,this.message.content]]):P("",!0),n.message.metadata!==null?(k(),C("div",TUe,[(k(!0),C(Re,null,Ke(n.message.metadata,(h,f)=>(k(),C("div",{key:"json-"+n.message.id+"-"+f,class:"json font-bold"},[ue(d,{jsonFormText:h.title,jsonData:h.content},null,8,["jsonFormText","jsonData"])]))),128))])):P("",!0),n.message.ui!=null?(k(),tt(u,{key:3,code:n.message.ui},null,8,["code"])):P("",!0)]),c("div",MUe,[c("div",OUe,[n.message.binding?(k(),C("p",RUe,[xe("Binding: "),c("span",NUe,H(n.message.binding),1)])):P("",!0),n.message.model?(k(),C("p",DUe,[xe("Model: "),c("span",LUe,H(n.message.model),1)])):P("",!0),n.message.seed?(k(),C("p",IUe,[xe("Seed: "),c("span",PUe,H(n.message.seed),1)])):P("",!0),r.time_spent?(k(),C("p",FUe,[xe("Time spent: "),c("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},H(r.time_spent),9,BUe)])):P("",!0)])])])])])}const qg=qe(Fje,[["render",$Ue]]),zUe="/";ye.defaults.baseURL="/";const jUe={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{UniversalForm:xc},data(){return{bUrl:zUe,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{onSettingsPersonality(t){try{ye.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.name,"Save changes","Cancel").then(n=>{try{ye.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)}},toggleShowPersList(){this.onShowPersList()},async constructor(){for(be(()=>{ve.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=es}}},$Ue={class:"w-fit select-none"},zUe={key:0,class:"flex -space-x-4"},jUe=["src","title"],UUe={key:1,class:"flex -space-x-4"},qUe=["src","title"],HUe={key:2,title:"Loading personalities"},VUe=c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1),GUe=[VUe];function KUe(t,e,n,s,o,r){const i=qe("UniversalForm");return k(),C(Re,null,[c("div",$Ue,[r.mountedPersArr.length>1?(k(),C("div",zUe,[c("img",{src:o.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),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: "+r.mountedPers.name,onClick:e[1]||(e[1]=a=>r.onSettingsPersonality(r.mountedPers))},null,40,jUe),c("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[2]||(e[2]=de((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+H(r.mountedPersArr.length-1),1)])):I("",!0),r.mountedPersArr.length==1?(k(),C("div",UUe,[c("img",{src:o.bUrl+this.$store.state.mountedPers.avatar,onError:e[3]||(e[3]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),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: "+this.$store.state.mountedPers.name,onClick:e[4]||(e[4]=de((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"]))},null,40,qUe)])):I("",!0),r.mountedPersArr.length==0?(k(),C("div",HUe,GUe)):I("",!0)]),ue(i,{ref:"universalForm",class:"z-20"},null,512)],64)}const WUe=Ue(BUe,[["render",KUe]]);const ZUe="/";ye.defaults.baseURL="/";const YUe={props:{onTalk:Function,onMountUnmount:Function,onRemount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:jg,Toast:Ks,UniversalForm:wc},name:"MountedPersonalitiesList",data(){return{bUrl:ZUe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){this.onMountUnmount(this)},async constructor(){},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=es},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,ye.post("/reinstall_personality",{name:t.personality.full_path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality + 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)}},toggleShowPersList(){this.onShowPersList()},async constructor(){for(be(()=>{ve.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=es}}},UUe={class:"w-fit select-none"},qUe={key:0,class:"flex -space-x-4"},HUe=["src","title"],VUe={key:1,class:"flex -space-x-4"},GUe=["src","title"],KUe={key:2,title:"Loading personalities"},WUe=c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1),ZUe=[WUe];function YUe(t,e,n,s,o,r){const i=ze("UniversalForm");return k(),C(Re,null,[c("div",UUe,[r.mountedPersArr.length>1?(k(),C("div",qUe,[c("img",{src:o.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),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: "+r.mountedPers.name,onClick:e[1]||(e[1]=a=>r.onSettingsPersonality(r.mountedPers))},null,40,HUe),c("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[2]||(e[2]=de((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+H(r.mountedPersArr.length-1),1)])):P("",!0),r.mountedPersArr.length==1?(k(),C("div",VUe,[c("img",{src:o.bUrl+this.$store.state.mountedPers.avatar,onError:e[3]||(e[3]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),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: "+this.$store.state.mountedPers.name,onClick:e[4]||(e[4]=de((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"]))},null,40,GUe)])):P("",!0),r.mountedPersArr.length==0?(k(),C("div",KUe,ZUe)):P("",!0)]),ue(i,{ref:"universalForm",class:"z-20"},null,512)],64)}const JUe=qe(jUe,[["render",YUe]]);const QUe="/";ye.defaults.baseURL="/";const XUe={props:{onTalk:Function,onMountUnmount:Function,onRemount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:jg,Toast:Ks,UniversalForm:xc},name:"MountedPersonalitiesList",data(){return{bUrl:QUe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){this.onMountUnmount(this)},async constructor(){},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=es},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,ye.post("/reinstall_personality",{name:t.personality.full_path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality `+e.message,4,!1),{status:!1}))},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)},onPersonalityRemount(t){this.reMountPersonality(t)},async handleOnTalk(t){if(ve.replace(),console.log("ppa",t),t){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))}else this.onPersonalityMounted(t);this.onTalk(t)}},async onPersonalitySelected(t){if(ve.replace(),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))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{ye.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{ye.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. @@ -183,12 +183,12 @@ Error: `+e.error,4,!1))},async reMountPersonality(t){if(console.log("remount per `+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!=null&&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)}}},xc=t=>(ss("data-v-d93302b0"),t=t(),os(),t),JUe={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"},QUe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},XUe=xc(()=>c("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"},[c("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"}),c("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)),eqe=xc(()=>c("span",{class:"sr-only"},"Loading...",-1)),tqe=[XUe,eqe],nqe=xc(()=>c("i",{"data-feather":"chevron-down"},null,-1)),sqe=[nqe],oqe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},rqe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function iqe(t,e,n,s,o,r){const i=qe("personality-entry"),a=qe("Toast"),l=qe("UniversalForm");return k(),C("div",JUe,[o.isLoading?(k(),C("div",QUe,tqe)):I("",!0),c("div",null,[r.mountedPersArr.length>0?(k(),C("div",{key:0,class:Me(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[c("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]=de((...d)=>r.toggleShowPersList&&r.toggleShowPersList(...d),["stop"]))},sqe),c("label",oqe," Mounted Personalities: ("+H(r.mountedPersArr.length)+") ",1),c("div",rqe,[ue(Ut,{name:"bounce"},{default:Ne(()=>[(k(!0),C(Re,null,Ge(this.$store.state.mountedPersArr,(d,u)=>(k(),tt(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+d.name,personality:d,full_path:d.full_path,selected:r.configFile.personalities[r.configFile.active_personality_id]===d.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-remount":r.onPersonalityRemount,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk},null,8,["personality","full_path","selected","on-selected","on-mounted","on-remount","on-settings","on-reinstall","on-talk"]))),128))]),_:1})])],2)):I("",!0)]),ue(a,{ref:"toast"},null,512),ue(l,{ref:"universalForm",class:"z-20"},null,512)])}const aqe=Ue(YUe,[["render",iqe],["__scopeId","data-v-d93302b0"]]);const lqe={components:{InteractiveMenu:zg},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){nextTick(()=>{ve.replace()})},methods:{isHTML(t){const n=new DOMParser().parseFromString(t,"text/html");return Array.from(n.body.childNodes).some(s=>s.nodeType===Node.ELEMENT_NODE)},selectFile(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.onchange=s=>{this.selectedFile=s.target.files[0],console.log("File selected"),e()},n.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const n={filename:this.selectedFile.name,fileData:e.result};Ee.on("file_received",s=>{s.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file -`+s.error,4,!1),this.loading=!1,Ee.off("file_received")}),Ee.emit("send_file",n)},e.readAsDataURL(this.selectedFile)},async constructor(){nextTick(()=>{ve.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,t.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(t.hasOwnProperty("file_types")?t.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(t.value)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},cqe=t=>(ss("data-v-52cfa09c"),t=t(),os(),t),dqe={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},uqe=cqe(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),hqe=[uqe];function fqe(t,e,n,s,o,r){const i=qe("InteractiveMenu");return o.loading?(k(),C("div",dqe,hqe)):(k(),tt(i,{key:1,commands:n.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const pqe=Ue(lqe,[["render",fqe],["__scopeId","data-v-52cfa09c"]]);const gqe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{Toast:Ks,MountedPersonalities:WUe,MountedPersonalitiesList:aqe,PersonalitiesCommands:pqe},setup(){},data(){return{message:"",selecting_model:!1,selectedModel:"",models:{},isLesteningToVoice:!1,fileList:[],isFileSentList:[],totalSize:0,showFileList:!0,showPersonalities:!1,personalities_ready:!1}},computed:{config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{console.log(t),this.$refs.toast.showToast(`Model changed to ${this.selectedModel}`,4,!0),this.selecting_model=!1}).catch(t=>{this.$refs.toast.showToast(`Error ${t}`,4,!0),this.selecting_model=!1})},clear_files(){fileList=[],isFileSentList=[]},send_file(t){new FormData().append("file",t),console.log("Uploading file");const n=new FileReader;n.onload=()=>{const s={filename:t.name,fileData:n.result};Ee.on("file_received",o=>{if(o.status){console.log(o.filename);let r=this.fileList.findIndex(i=>i.name===o.filename);r>=0?(this.isFileSentList[r]=!0,console.log(this.isFileSentList)):console.log("Not found"),this.onShowToastMessage("File uploaded successfully",4,!0)}else this.onShowToastMessage(`Couldn't upload file -`+o.error,4,!1);Ee.off("file_received")}),Ee.emit("send_file",s)},n.readAsDataURL(t)},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=t=>{let e="";for(let n=t.resultIndex;n{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(t){this.showPersonalities=!this.showPersonalities},handleOnTalk(t){this.showPersonalities=!1,this.onTalk(t)},onMountUnmountFun(t){console.log("Mounting/unmounting chat"),this.$refs.mountedPers.constructor()},onRemount(t){console.log("Remounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(t){return be(()=>{ve.replace()}),Gt(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]),this.isFileSentList=this.isFileSentList.concat([!1]*this.fileList.length),this.send_file(this.fileList[this.fileList.length-1])}},watch:{showFileList(){be(()=>{ve.replace()})},loading(t,e){be(()=>{ve.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{console.log("List models "+t.data),this.models=t.data,ye.get("get_active_model").then(e=>{console.log("Active model "+JSON.stringify(e.data)),e.data!=null&&(this.selectedModel=e.data.model)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),be(()=>{ve.replace()})},activated(){be(()=>{ve.replace()})}},ht=t=>(ss("data-v-5cc493ac"),t=t(),os(),t),mqe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},_qe={key:0,class:"flex items-center justify-center w-full"},bqe={class:"flex flex-row p-2 rounded-t-lg"},yqe=ht(()=>c("label",{for:"chat",class:"sr-only"},"Send message",-1)),vqe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},wqe={class:"flex flex-col gap-2"},xqe={class:"flex"},kqe=["title"],Eqe=ht(()=>c("i",{"data-feather":"list"},null,-1)),Cqe=[Eqe],Aqe={key:0},Sqe={key:0,class:"flex flex-col max-h-64"},Tqe=["title"],Mqe={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"},Oqe={key:0,fileList:"",role:"status"},Rqe=ht(()=>c("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"},[c("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"}),c("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)),Nqe=ht(()=>c("span",{class:"sr-only"},"Loading...",-1)),Dqe=[Rqe,Nqe],Lqe=ht(()=>c("div",null,[c("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),Iqe={class:"line-clamp-1 w-3/5"},Pqe=ht(()=>c("div",{class:"grow"},null,-1)),Fqe={class:"flex flex-row items-center"},Bqe={class:"whitespace-nowrap"},$qe=["onClick"],zqe=ht(()=>c("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),jqe=[zqe],Uqe={key:1,class:"flex items-center mx-1"},qqe={class:"whitespace-nowrap flex flex-row gap-2"},Hqe=ht(()=>c("p",{class:"font-bold"}," Total size: ",-1)),Vqe=ht(()=>c("div",{class:"grow"},null,-1)),Gqe=ht(()=>c("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),Kqe=[Gqe],Wqe={key:2,class:"mx-1"},Zqe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},Yqe=["value"],Jqe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},Qqe=ht(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Selecting model...")],-1)),Xqe=[Qqe],eHe={class:"w-fit"},tHe={class:"w-fit"},nHe={class:"relative grow"},sHe=ht(()=>c("i",{"data-feather":"file-plus"},null,-1)),oHe=[sHe],rHe={class:"inline-flex justify-center rounded-full"},iHe=ht(()=>c("i",{"data-feather":"mic"},null,-1)),aHe=[iHe],lHe=ht(()=>c("i",{"data-feather":"send"},null,-1)),cHe=ht(()=>c("span",{class:"sr-only"},"Send message",-1)),dHe=[lHe,cHe],uHe={key:1,title:"Waiting for reply"},hHe=ht(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),fHe=[hHe];function pHe(t,e,n,s,o,r){const i=qe("MountedPersonalitiesList"),a=qe("MountedPersonalities"),l=qe("PersonalitiesCommands"),d=qe("Toast");return k(),C(Re,null,[c("div",mqe,[n.loading?(k(),C("div",_qe,[c("div",bqe,[c("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]=de((...u)=>r.stopGenerating&&r.stopGenerating(...u),["stop"]))}," Stop generating ")])])):I("",!0),c("form",null,[yqe,c("div",vqe,[c("div",wqe,[c("div",xqe,[o.fileList.length>0?(k(),C("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]=de(u=>o.showFileList=!o.showFileList,["stop"]))},Cqe,8,kqe)):I("",!0)]),o.fileList.length>0&&o.showFileList==!0?(k(),C("div",Aqe,[o.fileList.length>0?(k(),C("div",Sqe,[ue(Ut,{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:Ne(()=>[(k(!0),C(Re,null,Ge(o.fileList,(u,h)=>(k(),C("div",{key:h+"-"+u.name},[c("div",{class:"m-1",title:u.name},[c("div",Mqe,[o.isFileSentList[h]?I("",!0):(k(),C("div",Oqe,Dqe)),Lqe,c("div",Iqe,H(u.name),1),Pqe,c("div",Fqe,[c("p",Bqe,H(r.computedFileSize(u.size)),1),c("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:f=>r.removeItem(u)},jqe,8,$qe)])])],8,Tqe)]))),128))]),_:1})])):I("",!0)])):I("",!0),o.fileList.length>0?(k(),C("div",Uqe,[c("div",qqe,[Hqe,xe(" "+H(o.totalSize)+" ("+H(o.fileList.length)+") ",1)]),Vqe,c("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]=(...u)=>r.clear_files&&r.clear_files(...u))},Kqe)])):I("",!0),o.showPersonalities?(k(),C("div",Wqe,[ue(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,"on-remount":r.onRemount,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","on-remount","on-talk","discussionPersonalities"])])):I("",!0),c("div",Zqe,[se(c("select",{"onUpdate:modelValue":e[3]||(e[3]=u=>o.selectedModel=u),onChange:e[4]||(e[4]=(...u)=>r.setModel&&r.setModel(...u)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-0"},[(k(!0),C(Re,null,Ge(o.models,u=>(k(),C("option",{key:u,value:u},H(u),9,Yqe))),128))],544),[[on,o.selectedModel]]),o.selecting_model?(k(),C("div",Jqe,Xqe)):I("",!0),c("div",eHe,[ue(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),c("div",tHe,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(k(),tt(l,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendMessageEvent,"on-show-toast-message":n.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):I("",!0)]),c("div",nHe,[se(c("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[5]||(e[5]=u=>o.message=u),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[6]||(e[6]=Ja(de(u=>r.submitOnEnter(u),["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!=null&&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)}}},kc=t=>(ss("data-v-d93302b0"),t=t(),os(),t),eqe={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"},tqe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},nqe=kc(()=>c("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"},[c("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"}),c("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)),sqe=kc(()=>c("span",{class:"sr-only"},"Loading...",-1)),oqe=[nqe,sqe],rqe=kc(()=>c("i",{"data-feather":"chevron-down"},null,-1)),iqe=[rqe],aqe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},lqe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function cqe(t,e,n,s,o,r){const i=ze("personality-entry"),a=ze("Toast"),l=ze("UniversalForm");return k(),C("div",eqe,[o.isLoading?(k(),C("div",tqe,oqe)):P("",!0),c("div",null,[r.mountedPersArr.length>0?(k(),C("div",{key:0,class:Me(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[c("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]=de((...d)=>r.toggleShowPersList&&r.toggleShowPersList(...d),["stop"]))},iqe),c("label",aqe," Mounted Personalities: ("+H(r.mountedPersArr.length)+") ",1),c("div",lqe,[ue(Ut,{name:"bounce"},{default:Ne(()=>[(k(!0),C(Re,null,Ke(this.$store.state.mountedPersArr,(d,u)=>(k(),tt(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+d.name,personality:d,full_path:d.full_path,selected:r.configFile.personalities[r.configFile.active_personality_id]===d.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-remount":r.onPersonalityRemount,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk},null,8,["personality","full_path","selected","on-selected","on-mounted","on-remount","on-settings","on-reinstall","on-talk"]))),128))]),_:1})])],2)):P("",!0)]),ue(a,{ref:"toast"},null,512),ue(l,{ref:"universalForm",class:"z-20"},null,512)])}const dqe=qe(XUe,[["render",cqe],["__scopeId","data-v-d93302b0"]]);const uqe={components:{InteractiveMenu:wc},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){nextTick(()=>{ve.replace()})},methods:{isHTML(t){const n=new DOMParser().parseFromString(t,"text/html");return Array.from(n.body.childNodes).some(s=>s.nodeType===Node.ELEMENT_NODE)},selectFile(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.onchange=s=>{this.selectedFile=s.target.files[0],console.log("File selected"),e()},n.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const n={filename:this.selectedFile.name,fileData:e.result};Ee.on("file_received",s=>{s.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file +`+s.error,4,!1),this.loading=!1,Ee.off("file_received")}),Ee.emit("send_file",n)},e.readAsDataURL(this.selectedFile)},async constructor(){nextTick(()=>{ve.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,t.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(t.hasOwnProperty("file_types")?t.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(t.value)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},hqe=t=>(ss("data-v-52cfa09c"),t=t(),os(),t),fqe={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},pqe=hqe(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),gqe=[pqe];function mqe(t,e,n,s,o,r){const i=ze("InteractiveMenu");return o.loading?(k(),C("div",fqe,gqe)):(k(),tt(i,{key:1,commands:n.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const _qe=qe(uqe,[["render",mqe],["__scopeId","data-v-52cfa09c"]]);const bqe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{Toast:Ks,MountedPersonalities:JUe,MountedPersonalitiesList:dqe,PersonalitiesCommands:_qe,InteractiveMenu:wc},setup(){},data(){return{message:"",selecting_model:!1,selectedModel:"",models:{},isLesteningToVoice:!1,fileList:[],isFileSentList:[],totalSize:0,showFileList:!0,showPersonalities:!1,personalities_ready:!1,models_menu_icon:"#M"}},computed:{config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{console.log(e),this.$refs.toast.showToast(`Model changed to ${t}`,4,!0),this.selecting_model=!1}).catch(e=>{this.$refs.toast.showToast(`Error ${e}`,4,!0),this.selecting_model=!1})},clear_files(){fileList=[],isFileSentList=[]},send_file(t){new FormData().append("file",t),console.log("Uploading file");const n=new FileReader;n.onload=()=>{const s={filename:t.name,fileData:n.result};Ee.on("file_received",o=>{if(o.status){console.log(o.filename);let r=this.fileList.findIndex(i=>i.name===o.filename);r>=0?(this.isFileSentList[r]=!0,console.log(this.isFileSentList)):console.log("Not found"),this.onShowToastMessage("File uploaded successfully",4,!0)}else this.onShowToastMessage(`Couldn't upload file +`+o.error,4,!1);Ee.off("file_received")}),Ee.emit("send_file",s)},n.readAsDataURL(t)},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=t=>{let e="";for(let n=t.resultIndex;n{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(t){this.showPersonalities=!this.showPersonalities},handleOnTalk(t){this.showPersonalities=!1,this.onTalk(t)},onMountUnmountFun(t){console.log("Mounting/unmounting chat"),this.$refs.mountedPers.constructor()},onRemount(t){console.log("Remounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(t){return be(()=>{ve.replace()}),Gt(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]),this.isFileSentList=this.isFileSentList.concat([!1]*this.fileList.length),this.send_file(this.fileList[this.fileList.length-1])}},watch:{showFileList(){be(()=>{ve.replace()})},loading(t,e){be(()=>{ve.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{console.log("List models "+t.data),this.models=t.data,ye.get("get_active_model").then(e=>{console.log("Active model "+JSON.stringify(e.data)),e.data!=null&&(this.selectedModel=e.data.model)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),be(()=>{ve.replace()})},activated(){be(()=>{ve.replace()})}},ht=t=>(ss("data-v-f313470e"),t=t(),os(),t),yqe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},vqe={key:0,class:"flex items-center justify-center w-full"},wqe={class:"flex flex-row p-2 rounded-t-lg"},xqe=ht(()=>c("label",{for:"chat",class:"sr-only"},"Send message",-1)),kqe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},Eqe={class:"flex flex-col gap-2"},Cqe={class:"flex"},Aqe=["title"],Sqe=ht(()=>c("i",{"data-feather":"list"},null,-1)),Tqe=[Sqe],Mqe={key:0},Oqe={key:0,class:"flex flex-col max-h-64"},Rqe=["title"],Nqe={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"},Dqe={key:0,fileList:"",role:"status"},Lqe=ht(()=>c("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"},[c("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"}),c("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)),Iqe=ht(()=>c("span",{class:"sr-only"},"Loading...",-1)),Pqe=[Lqe,Iqe],Fqe=ht(()=>c("div",null,[c("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),Bqe={class:"line-clamp-1 w-3/5"},$qe=ht(()=>c("div",{class:"grow"},null,-1)),zqe={class:"flex flex-row items-center"},jqe={class:"whitespace-nowrap"},Uqe=["onClick"],qqe=ht(()=>c("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),Hqe=[qqe],Vqe={key:1,class:"flex items-center mx-1"},Gqe={class:"whitespace-nowrap flex flex-row gap-2"},Kqe=ht(()=>c("p",{class:"font-bold"}," Total size: ",-1)),Wqe=ht(()=>c("div",{class:"grow"},null,-1)),Zqe=ht(()=>c("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),Yqe=[Zqe],Jqe={key:2,class:"mx-1"},Qqe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},Xqe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},eHe=ht(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Selecting model...")],-1)),tHe=[eHe],nHe={class:"w-fit"},sHe={class:"w-fit"},oHe={class:"relative grow"},rHe=ht(()=>c("i",{"data-feather":"file-plus"},null,-1)),iHe=[rHe],aHe={class:"inline-flex justify-center rounded-full"},lHe=ht(()=>c("i",{"data-feather":"mic"},null,-1)),cHe=[lHe],dHe=ht(()=>c("i",{"data-feather":"send"},null,-1)),uHe=ht(()=>c("span",{class:"sr-only"},"Send message",-1)),hHe=[dHe,uHe],fHe={key:1,title:"Waiting for reply"},pHe=ht(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),gHe=[pHe];function mHe(t,e,n,s,o,r){const i=ze("MountedPersonalitiesList"),a=ze("InteractiveMenu"),l=ze("MountedPersonalities"),d=ze("PersonalitiesCommands"),u=ze("Toast");return k(),C(Re,null,[c("div",yqe,[n.loading?(k(),C("div",vqe,[c("div",wqe,[c("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]=de((...h)=>r.stopGenerating&&r.stopGenerating(...h),["stop"]))}," Stop generating ")])])):P("",!0),c("form",null,[xqe,c("div",kqe,[c("div",Eqe,[c("div",Cqe,[o.fileList.length>0?(k(),C("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]=de(h=>o.showFileList=!o.showFileList,["stop"]))},Tqe,8,Aqe)):P("",!0)]),o.fileList.length>0&&o.showFileList==!0?(k(),C("div",Mqe,[o.fileList.length>0?(k(),C("div",Oqe,[ue(Ut,{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:Ne(()=>[(k(!0),C(Re,null,Ke(o.fileList,(h,f)=>(k(),C("div",{key:f+"-"+h.name},[c("div",{class:"m-1",title:h.name},[c("div",Nqe,[o.isFileSentList[f]?P("",!0):(k(),C("div",Dqe,Pqe)),Fqe,c("div",Bqe,H(h.name),1),$qe,c("div",zqe,[c("p",jqe,H(r.computedFileSize(h.size)),1),c("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:p=>r.removeItem(h)},Hqe,8,Uqe)])])],8,Rqe)]))),128))]),_:1})])):P("",!0)])):P("",!0),o.fileList.length>0?(k(),C("div",Vqe,[c("div",Gqe,[Kqe,xe(" "+H(o.totalSize)+" ("+H(o.fileList.length)+") ",1)]),Wqe,c("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]=(...h)=>r.clear_files&&r.clear_files(...h))},Yqe)])):P("",!0),o.showPersonalities?(k(),C("div",Jqe,[ue(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,"on-remount":r.onRemount,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","on-remount","on-talk","discussionPersonalities"])])):P("",!0),c("div",Qqe,[ue(a,{title:o.selectedModel,sendCommand:r.setModel,icon:o.models_menu_icon,commands:r.commandify(o.models),selected_entry:o.selectedModel},null,8,["title","sendCommand","icon","commands","selected_entry"]),o.selecting_model?(k(),C("div",Xqe,tHe)):P("",!0),c("div",nHe,[ue(l,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),c("div",sHe,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(k(),tt(d,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendMessageEvent,"on-show-toast-message":n.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):P("",!0)]),c("div",oHe,[ie(c("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=h=>o.message=h),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]=Ja(de(h=>r.submitOnEnter(h),["exact"]),["enter"]))},`\r \r \r - `,544),[[Oe,o.message]]),c("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[7]||(e[7]=(...u)=>r.addFiles&&r.addFiles(...u)),multiple:""},null,544),c("button",{type:"button",onClick:e[8]||(e[8]=de(u=>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"},oHe)]),c("div",rHe,[c("button",{type:"button",onClick:e[9]||(e[9]=(...u)=>r.startSpeechRecognition&&r.startSpeechRecognition(...u)),class:Me([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},aHe,2),n.loading?I("",!0):(k(),C("button",{key:0,type:"button",onClick:e[10]||(e[10]=(...u)=>r.submit&&r.submit(...u)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},dHe)),n.loading?(k(),C("div",uHe,fHe)):I("",!0)])])])])])]),ue(d,{ref:"toast"},null,512)],64)}const Hg=Ue(gqe,[["render",pHe],["__scopeId","data-v-5cc493ac"]]),gHe={name:"WelcomeComponent",setup(){return{}}},mHe={class:"flex flex-col text-center"},_He=rs('
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),bHe=[_He];function yHe(t,e,n,s,o,r){return k(),C("div",mHe,bHe)}const Vg=Ue(gHe,[["render",yHe]]);const vHe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){be(()=>{ve.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)}),be(()=>{ve.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,be(()=>{ve.replace()})}}},wHe={class:"text-4xl text-center"};function xHe(t,e,n,s,o,r){return k(),tt(Ut,{name:"list",tag:"div"},{default:Ne(()=>[o.show?(k(),C("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]=de(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=de(i=>r.panelDrop(i),["stop","prevent"]))},[c("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"])},[c("div",wHe,[xr(t.$slots,"default",{},()=>[xe(" Drop your files here ")])])],2)],32)):I("",!0)]),_:3})}const bl=Ue(vHe,[["render",xHe]]);var kHe=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}(),Nr=globalThis&&globalThis.__assign||function(){return Nr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=wt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function PHe(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];!Tt(r)||!Jt(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 FHe(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,d){return l[d]="",l},{});!Tt(o)||!Jt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const BHe={name:"applyStyles",enabled:!0,phase:"write",fn:PHe,effect:FHe,requires:["computeStyles"]};function Wt(t){return t.split("-")[0]}var Qn=Math.max,Pr=Math.min,Ps=Math.round;function yl(){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 nm(){return!/^((?!chrome|android).)*safari/i.test(yl())}function Fs(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Tt(t)&&(o=t.offsetWidth>0&&Ps(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Ps(s.height)/t.offsetHeight||1);var i=ts(t)?wt(t):window,a=i.visualViewport,l=!nm()&&n,d=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,h=s.width/o,f=s.height/r;return{width:h,height:f,top:u,right:d+h,bottom:u+f,left:d,x:d,y:u}}function Cc(t){var e=Fs(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 sm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Ec(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function un(t){return wt(t).getComputedStyle(t)}function $He(t){return["table","td","th"].indexOf(Jt(t))>=0}function Ln(t){return((ts(t)?t.ownerDocument:t.document)||window.document).documentElement}function xi(t){return Jt(t)==="html"?t:t.assignedSlot||t.parentNode||(Ec(t)?t.host:null)||Ln(t)}function Nh(t){return!Tt(t)||un(t).position==="fixed"?null:t.offsetParent}function zHe(t){var e=/firefox/i.test(yl()),n=/Trident/i.test(yl());if(n&&Tt(t)){var s=un(t);if(s.position==="fixed")return null}var o=xi(t);for(Ec(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(Jt(o))<0;){var r=un(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 zo(t){for(var e=wt(t),n=Nh(t);n&&$He(n)&&un(n).position==="static";)n=Nh(n);return n&&(Jt(n)==="html"||Jt(n)==="body"&&un(n).position==="static")?e:n||zHe(t)||e}function Ac(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function fo(t,e,n){return Qn(t,Pr(e,n))}function jHe(t,e,n){var s=fo(t,e,n);return s>n?n:s}function om(){return{top:0,right:0,bottom:0,left:0}}function rm(t){return Object.assign({},om(),t)}function im(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var UHe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,rm(typeof e!="number"?e:im(e,$o))};function qHe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Wt(n.placement),l=Ac(a),d=[mt,Rt].indexOf(a)>=0,u=d?"height":"width";if(!(!r||!i)){var h=UHe(o.padding,n),f=Cc(r),g=l==="y"?gt:mt,m=l==="y"?Ot:Rt,_=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],p=i[l]-n.rects.reference[l],b=zo(r),y=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,x=_/2-p/2,S=h[g],R=y-f[u]-h[m],O=y/2-f[u]/2+x,D=fo(S,O,R),v=l;n.modifiersData[s]=(e={},e[v]=D,e.centerOffset=D-O,e)}}function HHe(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)||sm(e.elements.popper,o)&&(e.elements.arrow=o))}const VHe={name:"arrow",enabled:!0,phase:"main",fn:qHe,effect:HHe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Bs(t){return t.split("-")[1]}var GHe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function KHe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Ps(n*o)/o||0,y:Ps(s*o)/o||0}}function Dh(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,h=t.isFixed,f=i.x,g=f===void 0?0:f,m=i.y,_=m===void 0?0:m,p=typeof u=="function"?u({x:g,y:_}):{x:g,y:_};g=p.x,_=p.y;var b=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),x=mt,S=gt,R=window;if(d){var O=zo(n),D="clientHeight",v="clientWidth";if(O===wt(n)&&(O=Ln(n),un(O).position!=="static"&&a==="absolute"&&(D="scrollHeight",v="scrollWidth")),O=O,o===gt||(o===mt||o===Rt)&&r===Ro){S=Ot;var E=h&&O===R&&R.visualViewport?R.visualViewport.height:O[D];_-=E-s.height,_*=l?1:-1}if(o===mt||(o===gt||o===Ot)&&r===Ro){x=Rt;var M=h&&O===R&&R.visualViewport?R.visualViewport.width:O[v];g-=M-s.width,g*=l?1:-1}}var L=Object.assign({position:a},d&&GHe),B=u===!0?KHe({x:g,y:_},wt(n)):{x:g,y:_};if(g=B.x,_=B.y,l){var J;return Object.assign({},L,(J={},J[S]=y?"0":"",J[x]=b?"0":"",J.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",J))}return Object.assign({},L,(e={},e[S]=y?_+"px":"",e[x]=b?g+"px":"",e.transform="",e))}function WHe(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,d={placement:Wt(e.placement),variation:Bs(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,Dh(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Dh(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ZHe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:WHe,data:{}};var Xo={passive:!0};function YHe(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=wt(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach(function(u){u.addEventListener("scroll",n.update,Xo)}),a&&l.addEventListener("resize",n.update,Xo),function(){r&&d.forEach(function(u){u.removeEventListener("scroll",n.update,Xo)}),a&&l.removeEventListener("resize",n.update,Xo)}}const JHe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:YHe,data:{}};var QHe={left:"right",right:"left",bottom:"top",top:"bottom"};function _r(t){return t.replace(/left|right|bottom|top/g,function(e){return QHe[e]})}var XHe={start:"end",end:"start"};function Lh(t){return t.replace(/start|end/g,function(e){return XHe[e]})}function Sc(t){var e=wt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Tc(t){return Fs(Ln(t)).left+Sc(t).scrollLeft}function eVe(t,e){var n=wt(t),s=Ln(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var d=nm();(d||!d&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+Tc(t),y:l}}function tVe(t){var e,n=Ln(t),s=Sc(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+Tc(t),l=-s.scrollTop;return un(o||n).direction==="rtl"&&(a+=Qn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Mc(t){var e=un(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function am(t){return["html","body","#document"].indexOf(Jt(t))>=0?t.ownerDocument.body:Tt(t)&&Mc(t)?t:am(xi(t))}function po(t,e){var n;e===void 0&&(e=[]);var s=am(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=wt(s),i=o?[r].concat(r.visualViewport||[],Mc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(po(xi(i)))}function vl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function nVe(t,e){var n=Fs(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 Ih(t,e,n){return e===em?vl(eVe(t,n)):ts(e)?nVe(e,n):vl(tVe(Ln(t)))}function sVe(t){var e=po(xi(t)),n=["absolute","fixed"].indexOf(un(t).position)>=0,s=n&&Tt(t)?zo(t):t;return ts(s)?e.filter(function(o){return ts(o)&&sm(o,s)&&Jt(o)!=="body"}):[]}function oVe(t,e,n,s){var o=e==="clippingParents"?sVe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,d){var u=Ih(t,d,s);return l.top=Qn(u.top,l.top),l.right=Pr(u.right,l.right),l.bottom=Pr(u.bottom,l.bottom),l.left=Qn(u.left,l.left),l},Ih(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 lm(t){var e=t.reference,n=t.element,s=t.placement,o=s?Wt(s):null,r=s?Bs(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case gt:l={x:i,y:e.y-n.height};break;case Ot:l={x:i,y:e.y+e.height};break;case Rt:l={x:e.x+e.width,y:a};break;case mt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var d=o?Ac(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(r){case Is:l[d]=l[d]-(e[u]/2-n[u]/2);break;case Ro:l[d]=l[d]+(e[u]/2-n[u]/2);break}}return l}function No(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?EHe:a,d=n.rootBoundary,u=d===void 0?em:d,h=n.elementContext,f=h===void 0?no:h,g=n.altBoundary,m=g===void 0?!1:g,_=n.padding,p=_===void 0?0:_,b=rm(typeof p!="number"?p:im(p,$o)),y=f===no?CHe:no,x=t.rects.popper,S=t.elements[m?y:f],R=oVe(ts(S)?S:S.contextElement||Ln(t.elements.popper),l,u,i),O=Fs(t.elements.reference),D=lm({reference:O,element:x,strategy:"absolute",placement:o}),v=vl(Object.assign({},x,D)),E=f===no?v:O,M={top:R.top-E.top+b.top,bottom:E.bottom-R.bottom+b.bottom,left:R.left-E.left+b.left,right:E.right-R.right+b.right},L=t.modifiersData.offset;if(f===no&&L){var B=L[o];Object.keys(M).forEach(function(J){var P=[Rt,Ot].indexOf(J)>=0?1:-1,ce=[gt,Ot].indexOf(J)>=0?"y":"x";M[J]+=B[ce]*P})}return M}function rVe(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,d=l===void 0?tm:l,u=Bs(s),h=u?a?Rh:Rh.filter(function(m){return Bs(m)===u}):$o,f=h.filter(function(m){return d.indexOf(m)>=0});f.length===0&&(f=h);var g=f.reduce(function(m,_){return m[_]=No(t,{placement:_,boundary:o,rootBoundary:r,padding:i})[Wt(_)],m},{});return Object.keys(g).sort(function(m,_){return g[m]-g[_]})}function iVe(t){if(Wt(t)===kc)return[];var e=_r(t);return[Lh(t),e,Lh(e)]}function aVe(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,d=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,m=g===void 0?!0:g,_=n.allowedAutoPlacements,p=e.options.placement,b=Wt(p),y=b===p,x=l||(y||!m?[_r(p)]:iVe(p)),S=[p].concat(x).reduce(function(Se,N){return Se.concat(Wt(N)===kc?rVe(e,{placement:N,boundary:u,rootBoundary:h,padding:d,flipVariations:m,allowedAutoPlacements:_}):N)},[]),R=e.rects.reference,O=e.rects.popper,D=new Map,v=!0,E=S[0],M=0;M=0,ce=P?"width":"height",Z=No(e,{placement:L,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),T=P?J?Rt:mt:J?Ot:gt;R[ce]>O[ce]&&(T=_r(T));var q=_r(T),G=[];if(r&&G.push(Z[B]<=0),a&&G.push(Z[T]<=0,Z[q]<=0),G.every(function(Se){return Se})){E=L,v=!1;break}D.set(L,G)}if(v)for(var we=m?3:1,_e=function(N){var Q=S.find(function(V){var te=D.get(V);if(te)return te.slice(0,N).every(function(X){return X})});if(Q)return E=Q,"break"},ee=we;ee>0;ee--){var ke=_e(ee);if(ke==="break")break}e.placement!==E&&(e.modifiersData[s]._skip=!0,e.placement=E,e.reset=!0)}}const lVe={name:"flip",enabled:!0,phase:"main",fn:aVe,requiresIfExists:["offset"],data:{_skip:!1}};function Ph(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 Fh(t){return[gt,Rt,Ot,mt].some(function(e){return t[e]>=0})}function cVe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=No(e,{elementContext:"reference"}),a=No(e,{altBoundary:!0}),l=Ph(i,s),d=Ph(a,o,r),u=Fh(l),h=Fh(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const dVe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:cVe};function uVe(t,e,n){var s=Wt(t),o=[mt,gt].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,[mt,Rt].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function hVe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=tm.reduce(function(u,h){return u[h]=uVe(h,e.rects,r),u},{}),a=i[e.placement],l=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=i}const fVe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hVe};function pVe(t){var e=t.state,n=t.name;e.modifiersData[n]=lm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const gVe={name:"popperOffsets",enabled:!0,phase:"read",fn:pVe,data:{}};function mVe(t){return t==="x"?"y":"x"}function _Ve(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,d=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,g=f===void 0?!0:f,m=n.tetherOffset,_=m===void 0?0:m,p=No(e,{boundary:l,rootBoundary:d,padding:h,altBoundary:u}),b=Wt(e.placement),y=Bs(e.placement),x=!y,S=Ac(b),R=mVe(S),O=e.modifiersData.popperOffsets,D=e.rects.reference,v=e.rects.popper,E=typeof _=="function"?_(Object.assign({},e.rects,{placement:e.placement})):_,M=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,B={x:0,y:0};if(O){if(r){var J,P=S==="y"?gt:mt,ce=S==="y"?Ot:Rt,Z=S==="y"?"height":"width",T=O[S],q=T+p[P],G=T-p[ce],we=g?-v[Z]/2:0,_e=y===Is?D[Z]:v[Z],ee=y===Is?-v[Z]:-D[Z],ke=e.elements.arrow,Se=g&&ke?Cc(ke):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:om(),Q=N[P],V=N[ce],te=fo(0,D[Z],Se[Z]),X=x?D[Z]/2-we-te-Q-M.mainAxis:_e-te-Q-M.mainAxis,ge=x?-D[Z]/2+we+te+V+M.mainAxis:ee+te+V+M.mainAxis,he=e.elements.arrow&&zo(e.elements.arrow),w=he?S==="y"?he.clientTop||0:he.clientLeft||0:0,A=(J=L==null?void 0:L[S])!=null?J:0,F=T+X-A-w,$=T+ge-A,z=fo(g?Pr(q,F):q,T,g?Qn(G,$):G);O[S]=z,B[S]=z-T}if(a){var ne,ae=S==="x"?gt:mt,j=S==="x"?Ot:Rt,re=O[R],U=R==="y"?"height":"width",Y=re+p[ae],le=re-p[j],pe=[gt,mt].indexOf(b)!==-1,fe=(ne=L==null?void 0:L[R])!=null?ne:0,Ce=pe?Y:re-D[U]-v[U]-fe+M.altAxis,W=pe?re+D[U]+v[U]-fe-M.altAxis:le,ie=g&&pe?jHe(Ce,re,W):fo(g?Ce:Y,re,g?W:le);O[R]=ie,B[R]=ie-re}e.modifiersData[s]=B}}const bVe={name:"preventOverflow",enabled:!0,phase:"main",fn:_Ve,requiresIfExists:["offset"]};function yVe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function vVe(t){return t===wt(t)||!Tt(t)?Sc(t):yVe(t)}function wVe(t){var e=t.getBoundingClientRect(),n=Ps(e.width)/t.offsetWidth||1,s=Ps(e.height)/t.offsetHeight||1;return n!==1||s!==1}function xVe(t,e,n){n===void 0&&(n=!1);var s=Tt(e),o=Tt(e)&&wVe(e),r=Ln(e),i=Fs(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Jt(e)!=="body"||Mc(r))&&(a=vVe(e)),Tt(e)?(l=Fs(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=Tc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function kVe(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 EVe(t){var e=kVe(t);return IHe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function CVe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function AVe(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 Bh={placement:"bottom",modifiers:[],strategy:"absolute"};function $h(){for(var t=arguments.length,e=new Array(t),n=0;n(ss("data-v-fc3ad318"),t=t(),os(),t),RVe={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},NVe={class:"flex flex-col text-center"},DVe={class:"flex flex-col text-center items-center"},LVe={class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},IVe=Ke(()=>c("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:sc,alt:"Logo"},null,-1)),PVe={class:"flex flex-col items-start"},FVe={class:"text-2xl"},BVe=Ke(()=>c("p",{class:"text-gray-400 text-base"},"One tool to rule them all",-1)),$Ve=Ke(()=>c("p",{class:"text-gray-400 text-base"},"by ParisNeo",-1)),zVe=Ke(()=>c("hr",{class:"mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"},null,-1)),jVe=Ke(()=>c("p",{class:"text-2xl"},"Welcome",-1)),UVe=Ke(()=>c("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"},[c("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"}),c("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)),qVe=Ke(()=>c("span",{class:"text-2xl font-bold ml-4"},"Loading ...",-1)),HVe=Ke(()=>c("i",{"data-feather":"chevron-right"},null,-1)),VVe=[HVe],GVe=Ke(()=>c("i",{"data-feather":"chevron-left"},null,-1)),KVe=[GVe],WVe={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},ZVe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},YVe={class:"flex-row p-4 flex items-center gap-3 flex-0"},JVe=Ke(()=>c("i",{"data-feather":"plus"},null,-1)),QVe=[JVe],XVe=Ke(()=>c("i",{"data-feather":"check-square"},null,-1)),eGe=[XVe],tGe=Ke(()=>c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[c("i",{"data-feather":"refresh-ccw"})],-1)),nGe=Ke(()=>c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[c("i",{"data-feather":"database"})],-1)),sGe=Ke(()=>c("i",{"data-feather":"log-in"},null,-1)),oGe=[sGe],rGe={key:0,class:"dropdown"},iGe=Ke(()=>c("i",{"data-feather":"search"},null,-1)),aGe=[iGe],lGe=Ke(()=>c("i",{"data-feather":"save"},null,-1)),cGe=[lGe],dGe={key:2,class:"flex gap-3 flex-1 items-center duration-75"},uGe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),hGe=[uGe],fGe=Ke(()=>c("i",{"data-feather":"check"},null,-1)),pGe=[fGe],gGe={key:3,title:"Loading..",class:"flex flex-row flex-grow justify-end"},mGe=Ke(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),_Ge=[mGe],bGe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},yGe={class:"p-4 pt-2"},vGe={class:"relative"},wGe=Ke(()=>c("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[c("div",{class:"scale-75"},[c("i",{"data-feather":"search"})])],-1)),xGe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},kGe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),EGe=[kGe],CGe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},AGe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},SGe={class:"flex flex-row flex-grow"},TGe={key:0},MGe={class:"flex flex-row"},OGe={key:0,class:"flex gap-3"},RGe=Ke(()=>c("i",{"data-feather":"trash"},null,-1)),NGe=[RGe],DGe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},LGe=Ke(()=>c("i",{"data-feather":"check"},null,-1)),IGe=[LGe],PGe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),FGe=[PGe],BGe={class:"flex gap-3"},$Ge=Ke(()=>c("i",{"data-feather":"log-out"},null,-1)),zGe=[$Ge],jGe=Ke(()=>c("i",{"data-feather":"list"},null,-1)),UGe=[jGe],qGe={class:"z-5"},HGe={class:"relative flex flex-row flex-grow mb-10 z-0"},VGe={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"},GGe=Ke(()=>c("p",{class:"px-3"},"No discussions are found",-1)),KGe=[GGe],WGe=Ke(()=>c("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)),ZGe={class:"z-20 h-max"},YGe={class:"container pt-4 pb-10 mb-28"},JGe=Ke(()=>c("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)),QGe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},XGe={setup(){},data(){return{msgTypes:{MSG_TYPE_CHUNK:0,MSG_TYPE_FULL:1,MSG_TYPE_FULL_INVISIBLE_TO_AI:2,MSG_TYPE_FULL_INVISIBLE_TO_USER:3,MSG_TYPE_EXCEPTION:4,MSG_TYPE_WARNING:5,MSG_TYPE_INFO:6,MSG_TYPE_STEP:7,MSG_TYPE_STEP_START:8,MSG_TYPE_STEP_PROGRESS:9,MSG_TYPE_STEP_END:10,MSG_TYPE_JSON_INFOS:11,MSG_TYPE_REF:12,MSG_TYPE_CODE:13,MSG_TYPE_UI:14,MSG_TYPE_NEW_MESSAGE:15,MSG_TYPE_FINISHED_MESSAGE:17},senderTypes:{SENDER_TYPES_USER:0,SENDER_TYPES_AI:1,SENDER_TYPES_SYSTEM:2},version:"5.0",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,panelCollapsed:!1,isOpen:!1}},methods:{save_configuration(){this.showConfirmation=!1,ye.post("/save_settings",{}).then(t=>{if(t)return t.status?this.$refs.toast.showToast("Settings saved!",4,!0):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}))},showToastMessage(t,e,n){console.log("sending",t),this.$refs.toast.showToast(t,e,n)},togglePanel(){this.panelCollapsed=!this.panelCollapsed},toggleDropdown(){this.isOpen=!this.isOpen},importChatGPT(){},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await ye.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},load_discussion(t,e){t&&(console.log("Loading discussion",t),this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading),Ee.on("discussion",n=>{this.loading=!1,this.setDiscussionLoading(t,this.loading),n&&(console.log("received discussion"),console.log(n),this.discussionArr=n.filter(s=>s.message_type==this.msgTypes.MSG_TYPE_CHUNK||s.message_type==this.msgTypes.MSG_TYPE_FULL||s.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI||s.message_type==this.msgTypes.MSG_TYPE_CODE||s.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS||s.message_type==this.msgTypes.MSG_TYPE_UI),console.log("this.discussionArr"),console.log(this.discussionArr),e&&e()),Ee.off("discussion")}),Ee.emit("load_discussion",{id:t}))},new_discussion(t){try{this.loading=!0,Ee.on("discussion_created",e=>{Ee.off("discussion_created"),this.list_discussions().then(()=>{const n=this.list.findIndex(o=>o.id==e.id),s=this.list[n];this.selectDiscussion(s),this.load_discussion(e.id,()=>{this.loading=!1,be(()=>{const o=document.getElementById("dis-"+e.id);this.scrollToElement(o),console.log("Scrolling tp "+o)})})})}),console.log("new_discussion ",t),Ee.emit("new_discussion",{title:t})}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 ye.post("/delete_discussion",{client_id:this.client_id,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 ye.post("/edit_title",{client_id:this.client_id,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 ye.get("/delete_message",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(Ee.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 ye.get("/message_rank_up",{params:{client_id:this.client_id,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 ye.get("/message_rank_down",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async edit_message(t,e){try{const n=await ye.get("/edit_message",{params:{client_id:this.client_id,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 ye.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 ye.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&&(console.log("this.currentDiscussion",this.currentDiscussion),this.currentDiscussion===void 0?(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),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)})):this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),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)})),be(()=>{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){try{const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})}catch{}},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,steps:[],html_js_s:[]};this.discussionArr.push(e),be(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_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_id,model:t.model,personality:t.personality,sender:t.user,steps:[]};e!==-1&&(this.discussionArr[e]=n)},socketIOConnected(){return console.log("socketIOConnected"),this.$store.state.isConnected=!0,!0},socketIODisconnected(){return console.log("socketIOConnected"),this.$store.state.isConnected=!1,!0},new_message(t){console.log("create bot",t);let e={sender:t.sender,message_type:t.message_type,sender_type:t.sender_type,content:t.content,id:t.id,parent_id:t.parent_id,binding:t.binding,model:t.model,personality:t.personality,created_at:t.created_at,finished_generating_at:t.finished_generating_at,rank:0,steps:[],parameters:t.parameters,metadata:t.metadata};console.log(e),this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)},talk(t){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ye.get("/get_generation_status",{}).then(e=>{e&&(e.data.status?console.log("Already generating"):(console.log("Generating message from ",e.data.status),Ee.emit("generate_msg_from",{id:-1}),this.discussionArr.length>0&&Number(this.discussionArr[this.discussionArr.length-1].id)+1))}).catch(e=>{console.log("Error: Could not get generation status",e)})},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),ye.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{Ee.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:this.$store.state.config.user_name,created_at:new Date().toLocaleString(),sender:this.$store.state.config.user_name,message_type:this.msgTypes.MSG_TYPE_FULL,sender_type:this.senderTypes.SENDER_TYPES_USER,content:t,id:n,parent_id:n,binding:"",model:"",personality:"",created_at:new Date().toLocaleString(),finished_generating_at:new Date().toLocaleString(),rank:0,steps:[],parameters:null,metadata:[]};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},notify(t){self.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),be(()=>{const e=document.getElementById("messages-list");this.scrollBottom(e)}),this.$refs.toast.showToast(t.content,5,t.status),this.chime.play()},streamMessageContent(t){const e=t.discussion_id;if(this.setDiscussionLoading(e,!0),this.currentDiscussion.id==e){this.isGenerating=!0;const n=this.discussionArr.findIndex(o=>o.id==t.id),s=this.discussionArr[n];if(s&&(t.message_type==this.msgTypes.MSG_TYPE_FULL||t.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI))s.content=t.content,s.finished_generating_at=t.finished_generating_at;else if(s&&t.message_type==this.msgTypes.MSG_TYPE_CHUNK)s.content+=t.content;else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_START)s.steps.push({message:t.content,done:!1,status:!0});else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_END){const o=s.steps.find(r=>r.message===t.content);if(o){o.done=!0;try{console.log(t.parameters);const r=t.parameters;o.status=r.status,console.log(r)}catch(r){console.error("Error parsing JSON:",r.message)}}}else t.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS?(console.log("JSON message"),console.log(t.metadata),s.metadata=t.metadata):t.message_type==this.msgTypes.MSG_TYPE_EXCEPTION&&this.$refs.toast.showToast(t.content,5,!1)}this.$nextTick(()=>{ve.replace()})},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.new_discussion(null)},loadLastUsedDiscussion(){console.log("Loading last discussion");const t=localStorage.getItem("selected_discussion");if(console.log("Last discussion id: ",t),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,console.log("List created")}},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.edit_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){be(()=>{ve.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ye.get("/get_generation_status",{}).then(n=>{n&&(console.log("--------------------"),console.log(t),n.data.status?console.log("Already generating"):(console.log("generate_msg_from"),Ee.emit("generate_msg_from",{prompt:e,id:t})))}).catch(n=>{console.log("Error: Could not get generation status",n)})},continueMessage(t,e){be(()=>{ve.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ye.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):Ee.emit("continue_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"),be(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t),t.parent_id;const e=t.discussion_id;if(this.currentDiscussion.id==e){const n=this.discussionArr.findIndex(s=>s.id==t.id);this.discussionArr[n].content=t.content,this.discussionArr[n].finished_generating_at=t.finished_generating_at}be(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)}),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),[[Oe,o.message]]),c("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...h)=>r.addFiles&&r.addFiles(...h)),multiple:""},null,544),c("button",{type:"button",onClick:e[6]||(e[6]=de(h=>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"},iHe)]),c("div",aHe,[c("button",{type:"button",onClick:e[7]||(e[7]=(...h)=>r.startSpeechRecognition&&r.startSpeechRecognition(...h)),class:Me([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},cHe,2),n.loading?P("",!0):(k(),C("button",{key:0,type:"button",onClick:e[8]||(e[8]=(...h)=>r.submit&&r.submit(...h)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},hHe)),n.loading?(k(),C("div",fHe,gHe)):P("",!0)])])])])])]),ue(u,{ref:"toast"},null,512)],64)}const Hg=qe(bqe,[["render",mHe],["__scopeId","data-v-f313470e"]]),_He={name:"WelcomeComponent",setup(){return{}}},bHe={class:"flex flex-col text-center"},yHe=rs('
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),vHe=[yHe];function wHe(t,e,n,s,o,r){return k(),C("div",bHe,vHe)}const Vg=qe(_He,[["render",wHe]]);const xHe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){be(()=>{ve.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)}),be(()=>{ve.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,be(()=>{ve.replace()})}}},kHe={class:"text-4xl text-center"};function EHe(t,e,n,s,o,r){return k(),tt(Ut,{name:"list",tag:"div"},{default:Ne(()=>[o.show?(k(),C("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]=de(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=de(i=>r.panelDrop(i),["stop","prevent"]))},[c("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"])},[c("div",kHe,[xr(t.$slots,"default",{},()=>[xe(" Drop your files here ")])])],2)],32)):P("",!0)]),_:3})}const bl=qe(xHe,[["render",EHe]]);var CHe=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}(),Nr=globalThis&&globalThis.__assign||function(){return Nr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=wt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function BHe(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];!Tt(r)||!Jt(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 $He(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,d){return l[d]="",l},{});!Tt(o)||!Jt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const zHe={name:"applyStyles",enabled:!0,phase:"write",fn:BHe,effect:$He,requires:["computeStyles"]};function Wt(t){return t.split("-")[0]}var Qn=Math.max,Pr=Math.min,Ps=Math.round;function yl(){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 nm(){return!/^((?!chrome|android).)*safari/i.test(yl())}function Fs(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Tt(t)&&(o=t.offsetWidth>0&&Ps(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Ps(s.height)/t.offsetHeight||1);var i=ts(t)?wt(t):window,a=i.visualViewport,l=!nm()&&n,d=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,h=s.width/o,f=s.height/r;return{width:h,height:f,top:u,right:d+h,bottom:u+f,left:d,x:d,y:u}}function Ac(t){var e=Fs(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 sm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Cc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function dn(t){return wt(t).getComputedStyle(t)}function jHe(t){return["table","td","th"].indexOf(Jt(t))>=0}function Ln(t){return((ts(t)?t.ownerDocument:t.document)||window.document).documentElement}function xi(t){return Jt(t)==="html"?t:t.assignedSlot||t.parentNode||(Cc(t)?t.host:null)||Ln(t)}function Dh(t){return!Tt(t)||dn(t).position==="fixed"?null:t.offsetParent}function UHe(t){var e=/firefox/i.test(yl()),n=/Trident/i.test(yl());if(n&&Tt(t)){var s=dn(t);if(s.position==="fixed")return null}var o=xi(t);for(Cc(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(Jt(o))<0;){var r=dn(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 zo(t){for(var e=wt(t),n=Dh(t);n&&jHe(n)&&dn(n).position==="static";)n=Dh(n);return n&&(Jt(n)==="html"||Jt(n)==="body"&&dn(n).position==="static")?e:n||UHe(t)||e}function Sc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function fo(t,e,n){return Qn(t,Pr(e,n))}function qHe(t,e,n){var s=fo(t,e,n);return s>n?n:s}function om(){return{top:0,right:0,bottom:0,left:0}}function rm(t){return Object.assign({},om(),t)}function im(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var HHe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,rm(typeof e!="number"?e:im(e,$o))};function VHe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Wt(n.placement),l=Sc(a),d=[mt,Rt].indexOf(a)>=0,u=d?"height":"width";if(!(!r||!i)){var h=HHe(o.padding,n),f=Ac(r),p=l==="y"?gt:mt,m=l==="y"?Ot:Rt,_=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],g=i[l]-n.rects.reference[l],b=zo(r),y=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,x=_/2-g/2,S=h[p],R=y-f[u]-h[m],O=y/2-f[u]/2+x,D=fo(S,O,R),v=l;n.modifiersData[s]=(e={},e[v]=D,e.centerOffset=D-O,e)}}function GHe(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)||sm(e.elements.popper,o)&&(e.elements.arrow=o))}const KHe={name:"arrow",enabled:!0,phase:"main",fn:VHe,effect:GHe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Bs(t){return t.split("-")[1]}var WHe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ZHe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Ps(n*o)/o||0,y:Ps(s*o)/o||0}}function Lh(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,h=t.isFixed,f=i.x,p=f===void 0?0:f,m=i.y,_=m===void 0?0:m,g=typeof u=="function"?u({x:p,y:_}):{x:p,y:_};p=g.x,_=g.y;var b=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),x=mt,S=gt,R=window;if(d){var O=zo(n),D="clientHeight",v="clientWidth";if(O===wt(n)&&(O=Ln(n),dn(O).position!=="static"&&a==="absolute"&&(D="scrollHeight",v="scrollWidth")),O=O,o===gt||(o===mt||o===Rt)&&r===Ro){S=Ot;var E=h&&O===R&&R.visualViewport?R.visualViewport.height:O[D];_-=E-s.height,_*=l?1:-1}if(o===mt||(o===gt||o===Ot)&&r===Ro){x=Rt;var M=h&&O===R&&R.visualViewport?R.visualViewport.width:O[v];p-=M-s.width,p*=l?1:-1}}var L=Object.assign({position:a},d&&WHe),B=u===!0?ZHe({x:p,y:_},wt(n)):{x:p,y:_};if(p=B.x,_=B.y,l){var J;return Object.assign({},L,(J={},J[S]=y?"0":"",J[x]=b?"0":"",J.transform=(R.devicePixelRatio||1)<=1?"translate("+p+"px, "+_+"px)":"translate3d("+p+"px, "+_+"px, 0)",J))}return Object.assign({},L,(e={},e[S]=y?_+"px":"",e[x]=b?p+"px":"",e.transform="",e))}function YHe(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,d={placement:Wt(e.placement),variation:Bs(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,Lh(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Lh(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const JHe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:YHe,data:{}};var Xo={passive:!0};function QHe(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=wt(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach(function(u){u.addEventListener("scroll",n.update,Xo)}),a&&l.addEventListener("resize",n.update,Xo),function(){r&&d.forEach(function(u){u.removeEventListener("scroll",n.update,Xo)}),a&&l.removeEventListener("resize",n.update,Xo)}}const XHe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:QHe,data:{}};var eVe={left:"right",right:"left",bottom:"top",top:"bottom"};function _r(t){return t.replace(/left|right|bottom|top/g,function(e){return eVe[e]})}var tVe={start:"end",end:"start"};function Ih(t){return t.replace(/start|end/g,function(e){return tVe[e]})}function Tc(t){var e=wt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Mc(t){return Fs(Ln(t)).left+Tc(t).scrollLeft}function nVe(t,e){var n=wt(t),s=Ln(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var d=nm();(d||!d&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+Mc(t),y:l}}function sVe(t){var e,n=Ln(t),s=Tc(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 dn(o||n).direction==="rtl"&&(a+=Qn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Oc(t){var e=dn(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function am(t){return["html","body","#document"].indexOf(Jt(t))>=0?t.ownerDocument.body:Tt(t)&&Oc(t)?t:am(xi(t))}function po(t,e){var n;e===void 0&&(e=[]);var s=am(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=wt(s),i=o?[r].concat(r.visualViewport||[],Oc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(po(xi(i)))}function vl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function oVe(t,e){var n=Fs(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 Ph(t,e,n){return e===em?vl(nVe(t,n)):ts(e)?oVe(e,n):vl(sVe(Ln(t)))}function rVe(t){var e=po(xi(t)),n=["absolute","fixed"].indexOf(dn(t).position)>=0,s=n&&Tt(t)?zo(t):t;return ts(s)?e.filter(function(o){return ts(o)&&sm(o,s)&&Jt(o)!=="body"}):[]}function iVe(t,e,n,s){var o=e==="clippingParents"?rVe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,d){var u=Ph(t,d,s);return l.top=Qn(u.top,l.top),l.right=Pr(u.right,l.right),l.bottom=Pr(u.bottom,l.bottom),l.left=Qn(u.left,l.left),l},Ph(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 lm(t){var e=t.reference,n=t.element,s=t.placement,o=s?Wt(s):null,r=s?Bs(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case gt:l={x:i,y:e.y-n.height};break;case Ot:l={x:i,y:e.y+e.height};break;case Rt:l={x:e.x+e.width,y:a};break;case mt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var d=o?Sc(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(r){case Is:l[d]=l[d]-(e[u]/2-n[u]/2);break;case Ro:l[d]=l[d]+(e[u]/2-n[u]/2);break}}return l}function No(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?AHe:a,d=n.rootBoundary,u=d===void 0?em:d,h=n.elementContext,f=h===void 0?no:h,p=n.altBoundary,m=p===void 0?!1:p,_=n.padding,g=_===void 0?0:_,b=rm(typeof g!="number"?g:im(g,$o)),y=f===no?SHe:no,x=t.rects.popper,S=t.elements[m?y:f],R=iVe(ts(S)?S:S.contextElement||Ln(t.elements.popper),l,u,i),O=Fs(t.elements.reference),D=lm({reference:O,element:x,strategy:"absolute",placement:o}),v=vl(Object.assign({},x,D)),E=f===no?v:O,M={top:R.top-E.top+b.top,bottom:E.bottom-R.bottom+b.bottom,left:R.left-E.left+b.left,right:E.right-R.right+b.right},L=t.modifiersData.offset;if(f===no&&L){var B=L[o];Object.keys(M).forEach(function(J){var I=[Rt,Ot].indexOf(J)>=0?1:-1,ce=[gt,Ot].indexOf(J)>=0?"y":"x";M[J]+=B[ce]*I})}return M}function aVe(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,d=l===void 0?tm:l,u=Bs(s),h=u?a?Nh:Nh.filter(function(m){return Bs(m)===u}):$o,f=h.filter(function(m){return d.indexOf(m)>=0});f.length===0&&(f=h);var p=f.reduce(function(m,_){return m[_]=No(t,{placement:_,boundary:o,rootBoundary:r,padding:i})[Wt(_)],m},{});return Object.keys(p).sort(function(m,_){return p[m]-p[_]})}function lVe(t){if(Wt(t)===Ec)return[];var e=_r(t);return[Ih(t),e,Ih(e)]}function cVe(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,d=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0?!0:p,_=n.allowedAutoPlacements,g=e.options.placement,b=Wt(g),y=b===g,x=l||(y||!m?[_r(g)]:lVe(g)),S=[g].concat(x).reduce(function(Se,N){return Se.concat(Wt(N)===Ec?aVe(e,{placement:N,boundary:u,rootBoundary:h,padding:d,flipVariations:m,allowedAutoPlacements:_}):N)},[]),R=e.rects.reference,O=e.rects.popper,D=new Map,v=!0,E=S[0],M=0;M=0,ce=I?"width":"height",Z=No(e,{placement:L,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),T=I?J?Rt:mt:J?Ot:gt;R[ce]>O[ce]&&(T=_r(T));var q=_r(T),G=[];if(r&&G.push(Z[B]<=0),a&&G.push(Z[T]<=0,Z[q]<=0),G.every(function(Se){return Se})){E=L,v=!1;break}D.set(L,G)}if(v)for(var we=m?3:1,_e=function(N){var Q=S.find(function(V){var te=D.get(V);if(te)return te.slice(0,N).every(function(X){return X})});if(Q)return E=Q,"break"},ee=we;ee>0;ee--){var ke=_e(ee);if(ke==="break")break}e.placement!==E&&(e.modifiersData[s]._skip=!0,e.placement=E,e.reset=!0)}}const dVe={name:"flip",enabled:!0,phase:"main",fn:cVe,requiresIfExists:["offset"],data:{_skip:!1}};function Fh(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 Bh(t){return[gt,Rt,Ot,mt].some(function(e){return t[e]>=0})}function uVe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=No(e,{elementContext:"reference"}),a=No(e,{altBoundary:!0}),l=Fh(i,s),d=Fh(a,o,r),u=Bh(l),h=Bh(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const hVe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:uVe};function fVe(t,e,n){var s=Wt(t),o=[mt,gt].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,[mt,Rt].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function pVe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=tm.reduce(function(u,h){return u[h]=fVe(h,e.rects,r),u},{}),a=i[e.placement],l=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=i}const gVe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pVe};function mVe(t){var e=t.state,n=t.name;e.modifiersData[n]=lm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const _Ve={name:"popperOffsets",enabled:!0,phase:"read",fn:mVe,data:{}};function bVe(t){return t==="x"?"y":"x"}function yVe(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,d=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,p=f===void 0?!0:f,m=n.tetherOffset,_=m===void 0?0:m,g=No(e,{boundary:l,rootBoundary:d,padding:h,altBoundary:u}),b=Wt(e.placement),y=Bs(e.placement),x=!y,S=Sc(b),R=bVe(S),O=e.modifiersData.popperOffsets,D=e.rects.reference,v=e.rects.popper,E=typeof _=="function"?_(Object.assign({},e.rects,{placement:e.placement})):_,M=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,B={x:0,y:0};if(O){if(r){var J,I=S==="y"?gt:mt,ce=S==="y"?Ot:Rt,Z=S==="y"?"height":"width",T=O[S],q=T+g[I],G=T-g[ce],we=p?-v[Z]/2:0,_e=y===Is?D[Z]:v[Z],ee=y===Is?-v[Z]:-D[Z],ke=e.elements.arrow,Se=p&&ke?Ac(ke):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:om(),Q=N[I],V=N[ce],te=fo(0,D[Z],Se[Z]),X=x?D[Z]/2-we-te-Q-M.mainAxis:_e-te-Q-M.mainAxis,ge=x?-D[Z]/2+we+te+V+M.mainAxis:ee+te+V+M.mainAxis,he=e.elements.arrow&&zo(e.elements.arrow),w=he?S==="y"?he.clientTop||0:he.clientLeft||0:0,A=(J=L==null?void 0:L[S])!=null?J:0,F=T+X-A-w,$=T+ge-A,z=fo(p?Pr(q,F):q,T,p?Qn(G,$):G);O[S]=z,B[S]=z-T}if(a){var ne,ae=S==="x"?gt:mt,j=S==="x"?Ot:Rt,oe=O[R],U=R==="y"?"height":"width",Y=oe+g[ae],le=oe-g[j],pe=[gt,mt].indexOf(b)!==-1,fe=(ne=L==null?void 0:L[R])!=null?ne:0,Ce=pe?Y:oe-D[U]-v[U]-fe+M.altAxis,W=pe?oe+D[U]+v[U]-fe-M.altAxis:le,re=p&&pe?qHe(Ce,oe,W):fo(p?Ce:Y,oe,p?W:le);O[R]=re,B[R]=re-oe}e.modifiersData[s]=B}}const vVe={name:"preventOverflow",enabled:!0,phase:"main",fn:yVe,requiresIfExists:["offset"]};function wVe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function xVe(t){return t===wt(t)||!Tt(t)?Tc(t):wVe(t)}function kVe(t){var e=t.getBoundingClientRect(),n=Ps(e.width)/t.offsetWidth||1,s=Ps(e.height)/t.offsetHeight||1;return n!==1||s!==1}function EVe(t,e,n){n===void 0&&(n=!1);var s=Tt(e),o=Tt(e)&&kVe(e),r=Ln(e),i=Fs(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Jt(e)!=="body"||Oc(r))&&(a=xVe(e)),Tt(e)?(l=Fs(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 CVe(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 AVe(t){var e=CVe(t);return FHe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function SVe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function TVe(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 $h={placement:"bottom",modifiers:[],strategy:"absolute"};function zh(){for(var t=arguments.length,e=new Array(t),n=0;n(ss("data-v-fc3ad318"),t=t(),os(),t),DVe={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},LVe={class:"flex flex-col text-center"},IVe={class:"flex flex-col text-center items-center"},PVe={class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},FVe=Ge(()=>c("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:sc,alt:"Logo"},null,-1)),BVe={class:"flex flex-col items-start"},$Ve={class:"text-2xl"},zVe=Ge(()=>c("p",{class:"text-gray-400 text-base"},"One tool to rule them all",-1)),jVe=Ge(()=>c("p",{class:"text-gray-400 text-base"},"by ParisNeo",-1)),UVe=Ge(()=>c("hr",{class:"mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"},null,-1)),qVe=Ge(()=>c("p",{class:"text-2xl"},"Welcome",-1)),HVe=Ge(()=>c("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"},[c("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"}),c("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)),VVe=Ge(()=>c("span",{class:"text-2xl font-bold ml-4"},"Loading ...",-1)),GVe=Ge(()=>c("i",{"data-feather":"chevron-right"},null,-1)),KVe=[GVe],WVe=Ge(()=>c("i",{"data-feather":"chevron-left"},null,-1)),ZVe=[WVe],YVe={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},JVe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},QVe={class:"flex-row p-4 flex items-center gap-3 flex-0"},XVe=Ge(()=>c("i",{"data-feather":"plus"},null,-1)),eGe=[XVe],tGe=Ge(()=>c("i",{"data-feather":"check-square"},null,-1)),nGe=[tGe],sGe=Ge(()=>c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[c("i",{"data-feather":"refresh-ccw"})],-1)),oGe=Ge(()=>c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[c("i",{"data-feather":"database"})],-1)),rGe=Ge(()=>c("i",{"data-feather":"log-in"},null,-1)),iGe=[rGe],aGe={key:0,class:"dropdown"},lGe=Ge(()=>c("i",{"data-feather":"search"},null,-1)),cGe=[lGe],dGe=Ge(()=>c("i",{"data-feather":"save"},null,-1)),uGe=[dGe],hGe={key:2,class:"flex gap-3 flex-1 items-center duration-75"},fGe=Ge(()=>c("i",{"data-feather":"x"},null,-1)),pGe=[fGe],gGe=Ge(()=>c("i",{"data-feather":"check"},null,-1)),mGe=[gGe],_Ge={key:3,title:"Loading..",class:"flex flex-row flex-grow justify-end"},bGe=Ge(()=>c("div",{role:"status"},[c("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"},[c("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"}),c("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"})]),c("span",{class:"sr-only"},"Loading...")],-1)),yGe=[bGe],vGe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},wGe={class:"p-4 pt-2"},xGe={class:"relative"},kGe=Ge(()=>c("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[c("div",{class:"scale-75"},[c("i",{"data-feather":"search"})])],-1)),EGe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},CGe=Ge(()=>c("i",{"data-feather":"x"},null,-1)),AGe=[CGe],SGe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},TGe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},MGe={class:"flex flex-row flex-grow"},OGe={key:0},RGe={class:"flex flex-row"},NGe={key:0,class:"flex gap-3"},DGe=Ge(()=>c("i",{"data-feather":"trash"},null,-1)),LGe=[DGe],IGe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},PGe=Ge(()=>c("i",{"data-feather":"check"},null,-1)),FGe=[PGe],BGe=Ge(()=>c("i",{"data-feather":"x"},null,-1)),$Ge=[BGe],zGe={class:"flex gap-3"},jGe=Ge(()=>c("i",{"data-feather":"log-out"},null,-1)),UGe=[jGe],qGe=Ge(()=>c("i",{"data-feather":"list"},null,-1)),HGe=[qGe],VGe={class:"z-5"},GGe={class:"relative flex flex-row flex-grow mb-10 z-0"},KGe={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"},WGe=Ge(()=>c("p",{class:"px-3"},"No discussions are found",-1)),ZGe=[WGe],YGe=Ge(()=>c("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)),JGe={class:"z-20 h-max"},QGe={class:"container pt-4 pb-10 mb-28"},XGe=Ge(()=>c("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)),eKe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},tKe={setup(){},data(){return{msgTypes:{MSG_TYPE_CHUNK:0,MSG_TYPE_FULL:1,MSG_TYPE_FULL_INVISIBLE_TO_AI:2,MSG_TYPE_FULL_INVISIBLE_TO_USER:3,MSG_TYPE_EXCEPTION:4,MSG_TYPE_WARNING:5,MSG_TYPE_INFO:6,MSG_TYPE_STEP:7,MSG_TYPE_STEP_START:8,MSG_TYPE_STEP_PROGRESS:9,MSG_TYPE_STEP_END:10,MSG_TYPE_JSON_INFOS:11,MSG_TYPE_REF:12,MSG_TYPE_CODE:13,MSG_TYPE_UI:14,MSG_TYPE_NEW_MESSAGE:15,MSG_TYPE_FINISHED_MESSAGE:17},senderTypes:{SENDER_TYPES_USER:0,SENDER_TYPES_AI:1,SENDER_TYPES_SYSTEM:2},version:"5.0",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,panelCollapsed:!1,isOpen:!1}},methods:{save_configuration(){this.showConfirmation=!1,ye.post("/save_settings",{}).then(t=>{if(t)return t.status?this.$refs.toast.showToast("Settings saved!",4,!0):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}))},showToastMessage(t,e,n){console.log("sending",t),this.$refs.toast.showToast(t,e,n)},togglePanel(){this.panelCollapsed=!this.panelCollapsed},toggleDropdown(){this.isOpen=!this.isOpen},importChatGPT(){},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await ye.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},load_discussion(t,e){t&&(console.log("Loading discussion",t),this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading),Ee.on("discussion",n=>{this.loading=!1,this.setDiscussionLoading(t,this.loading),n&&(console.log("received discussion"),console.log(n),this.discussionArr=n.filter(s=>s.message_type==this.msgTypes.MSG_TYPE_CHUNK||s.message_type==this.msgTypes.MSG_TYPE_FULL||s.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI||s.message_type==this.msgTypes.MSG_TYPE_CODE||s.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS||s.message_type==this.msgTypes.MSG_TYPE_UI),console.log("this.discussionArr"),console.log(this.discussionArr),e&&e()),Ee.off("discussion")}),Ee.emit("load_discussion",{id:t}))},new_discussion(t){try{this.loading=!0,Ee.on("discussion_created",e=>{Ee.off("discussion_created"),this.list_discussions().then(()=>{const n=this.list.findIndex(o=>o.id==e.id),s=this.list[n];this.selectDiscussion(s),this.load_discussion(e.id,()=>{this.loading=!1,be(()=>{const o=document.getElementById("dis-"+e.id);this.scrollToElement(o),console.log("Scrolling tp "+o)})})})}),console.log("new_discussion ",t),Ee.emit("new_discussion",{title:t})}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 ye.post("/delete_discussion",{client_id:this.client_id,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 ye.post("/edit_title",{client_id:this.client_id,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 ye.get("/delete_message",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(Ee.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 ye.get("/message_rank_up",{params:{client_id:this.client_id,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 ye.get("/message_rank_down",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async edit_message(t,e){try{const n=await ye.get("/edit_message",{params:{client_id:this.client_id,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 ye.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 ye.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&&(console.log("this.currentDiscussion",this.currentDiscussion),this.currentDiscussion===void 0?(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),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)})):this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),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)})),be(()=>{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){try{const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})}catch{}},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,steps:[],html_js_s:[]};this.discussionArr.push(e),be(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_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_id,model:t.model,personality:t.personality,sender:t.user,steps:[]};e!==-1&&(this.discussionArr[e]=n)},socketIOConnected(){return console.log("socketIOConnected"),this.$store.state.isConnected=!0,!0},socketIODisconnected(){return console.log("socketIOConnected"),this.$store.state.isConnected=!1,!0},new_message(t){console.log("create bot",t);let e={sender:t.sender,message_type:t.message_type,sender_type:t.sender_type,content:t.content,id:t.id,parent_id:t.parent_id,binding:t.binding,model:t.model,personality:t.personality,created_at:t.created_at,finished_generating_at:t.finished_generating_at,rank:0,steps:[],parameters:t.parameters,metadata:t.metadata};console.log(e),this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)},talk(t){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ye.get("/get_generation_status",{}).then(e=>{e&&(e.data.status?console.log("Already generating"):(console.log("Generating message from ",e.data.status),Ee.emit("generate_msg_from",{id:-1}),this.discussionArr.length>0&&Number(this.discussionArr[this.discussionArr.length-1].id)+1))}).catch(e=>{console.log("Error: Could not get generation status",e)})},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),ye.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{Ee.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:this.$store.state.config.user_name,created_at:new Date().toLocaleString(),sender:this.$store.state.config.user_name,message_type:this.msgTypes.MSG_TYPE_FULL,sender_type:this.senderTypes.SENDER_TYPES_USER,content:t,id:n,parent_id:n,binding:"",model:"",personality:"",created_at:new Date().toLocaleString(),finished_generating_at:new Date().toLocaleString(),rank:0,steps:[],parameters:null,metadata:[]};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},notify(t){self.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),be(()=>{const e=document.getElementById("messages-list");this.scrollBottom(e)}),this.$refs.toast.showToast(t.content,5,t.status),this.chime.play()},streamMessageContent(t){const e=t.discussion_id;if(this.setDiscussionLoading(e,!0),this.currentDiscussion.id==e){this.isGenerating=!0;const n=this.discussionArr.findIndex(o=>o.id==t.id),s=this.discussionArr[n];if(s&&(t.message_type==this.msgTypes.MSG_TYPE_FULL||t.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI))s.content=t.content,s.finished_generating_at=t.finished_generating_at;else if(s&&t.message_type==this.msgTypes.MSG_TYPE_CHUNK)s.content+=t.content;else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_START)s.steps.push({message:t.content,done:!1,status:!0});else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_END){const o=s.steps.find(r=>r.message===t.content);if(o){o.done=!0;try{console.log(t.parameters);const r=t.parameters;o.status=r.status,console.log(r)}catch(r){console.error("Error parsing JSON:",r.message)}}}else t.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS?(console.log("JSON message"),console.log(t.metadata),s.metadata=t.metadata):t.message_type==this.msgTypes.MSG_TYPE_EXCEPTION&&this.$refs.toast.showToast(t.content,5,!1)}this.$nextTick(()=>{ve.replace()})},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.new_discussion(null)},loadLastUsedDiscussion(){console.log("Loading last discussion");const t=localStorage.getItem("selected_discussion");if(console.log("Last discussion id: ",t),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,console.log("List created")}},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.edit_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){be(()=>{ve.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ye.get("/get_generation_status",{}).then(n=>{n&&(console.log("--------------------"),console.log(t),n.data.status?console.log("Already generating"):(console.log("generate_msg_from"),Ee.emit("generate_msg_from",{prompt:e,id:t})))}).catch(n=>{console.log("Error: Could not get generation status",n)})},continueMessage(t,e){be(()=>{ve.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ye.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):Ee.emit("continue_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"),be(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t),t.parent_id;const e=t.discussion_id;if(this.currentDiscussion.id==e){const n=this.discussionArr.findIndex(s=>s.id==t.id);this.discussionArr[n].content=t.content,this.discussionArr[n].finished_generating_at=t.finished_generating_at}be(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)}),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 d=`${t.message.sender}${n}${s} @@ -197,4 +197,4 @@ ${o} ${l}`;navigator.clipboard.writeText(d),be(()=>{ve.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"),d="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t);u?(this.saveJSONtoFile(u,d),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(){for(;this.$store.state.personalities===null;)await new Promise(e=>setTimeout(e,100));let t=this.$store.state.personalities;this.personalityAvatars=t.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(t){if(t.toLowerCase().trim()==this.$store.state.config.user_name.toLowerCase().trim())return"user_infos/"+this.$store.state.config.user_avatar;const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return console.log("Avatar",n.avatar),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(){for(this.$store.state.isConnected=!1,ye.get("/get_lollms_webui_version",{}).then(t=>{t&&(this.version=t.data.version)}).catch(t=>{console.log("Error: Could not get generation status",t)}),this.$nextTick(()=>{ve.replace()}),Ee.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason),this.socketIODisconnected()},Ee.onerror=t=>{console.log("WebSocket connection error:",t.code,t.reason),this.socketIODisconnected(),Ee.disconnect()},Ee.on("connected",this.socketIOConnected),Ee.on("disconnected",this.socketIODisconnected),console.log("Added events"),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));console.log("Setting title"),this.setPageTitle(),console.log("listing discussions"),await this.list_discussions(),console.log("loading last discussion"),this.loadLastUsedDiscussion(),console.log("Discussions view is ready"),Ee.on("notification",this.notify),Ee.on("new_message",this.new_message),Ee.on("update_message",this.streamMessageContent),Ee.on("close_message",this.finalMsgEvent),console.log("Setting events"),Ee.onopen=()=>{console.log("WebSocket connection established."),this.currentDiscussion!=null&&(this.setPageTitle(item),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(item.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)}))},this.isCreated=!0},mounted(){this.$nextTick(()=>{ve.replace()})},async activated(){await this.getPersonalityAvatars(),this.isCreated&&be(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Ug,Message:qg,ChatBox:Hg,WelcomeComponent:Vg,Toast:Ks,DragDrop:bl},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){be(()=>{ve.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){be(()=>{ve.replace()})},isSearch(){be(()=>{ve.replace()})}},computed:{client_id(){return Ee.id},isReady(){return console.log("verify ready",this.isCreated),this.isCreated},showPanel(){return this.$store.state.ready&&!this.panelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return be(()=>{ve.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},eKe=Object.assign(XGe,{__name:"DiscussionsView",setup(t){return Jr(()=>{MVe()}),ye.defaults.baseURL="/",(e,n)=>(k(),C(Re,null,[ue(Ts,{name:"fade-and-fly"},{default:Ne(()=>[e.isReady?I("",!0):(k(),C("div",RVe,[c("div",NVe,[c("div",DVe,[c("div",LVe,[IVe,c("div",PVe,[c("p",FVe,"Lord of Large Language Models v "+H(e.version),1),BVe,$Ve])]),zVe,jVe,UVe,qVe])])]))]),_:1}),e.isReady?(k(),C("button",{key:0,onClick:n[0]||(n[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-0 left-0 z-50 p-2 m-2 bg-white rounded-full shadow-md bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-primary-light dark:hover:bg-primary"},[se(c("div",null,VVe,512),[[Ye,e.panelCollapsed]]),se(c("div",null,KVe,512),[[Ye,!e.panelCollapsed]])])):I("",!0),ue(Ts,{name:"slide-right"},{default:Ne(()=>[e.showPanel?(k(),C("div",WVe,[c("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[19]||(n[19]=de(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[c("div",ZVe,[c("div",YVe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[1]||(n[1]=s=>e.createNewDiscussion())},QVe),c("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[2]||(n[2]=s=>e.isCheckbox=!e.isCheckbox)},eGe,2),tGe,nGe,c("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[3]||(n[3]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[4]||(n[4]=de(s=>e.$refs.fileDialog.click(),["stop"]))},oGe),e.isOpen?(k(),C("div",rGe,[c("button",{onClick:n[5]||(n[5]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),c("button",{onClick:n[6]||(n[6]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):I("",!0),c("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[7]||(n[7]=s=>e.isSearch=!e.isSearch)},aGe,2),e.showConfirmation?I("",!0):(k(),C("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:n[8]||(n[8]=s=>e.showConfirmation=!0)},cGe)),e.showConfirmation?(k(),C("div",dGe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:n[9]||(n[9]=de(s=>e.showConfirmation=!1,["stop"]))},hGe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:n[10]||(n[10]=de(s=>e.save_configuration(),["stop"]))},pGe)])):I("",!0),e.loading?(k(),C("div",gGe,_Ge)):I("",!0)]),e.isSearch?(k(),C("div",bGe,[c("div",yGe,[c("div",vGe,[wGe,c("div",xGe,[c("div",{class:Me(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[11]||(n[11]=s=>e.filterTitle="")},EGe,2)]),se(c("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[12]||(n[12]=s=>e.filterTitle=s),onInput:n[13]||(n[13]=s=>e.filterDiscussions())},null,544),[[Oe,e.filterTitle]])])])])):I("",!0),e.isCheckbox?(k(),C("hr",CGe)):I("",!0),e.isCheckbox?(k(),C("div",AGe,[c("div",SGe,[e.selectedDiscussions.length>0?(k(),C("p",TGe,"Selected: "+H(e.selectedDiscussions.length),1)):I("",!0)]),c("div",MGe,[e.selectedDiscussions.length>0?(k(),C("div",OGe,[e.showConfirmation?I("",!0):(k(),C("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[14]||(n[14]=de(s=>e.showConfirmation=!0,["stop"]))},NGe)),e.showConfirmation?(k(),C("div",DGe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[15]||(n[15]=de((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},IGe),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[16]||(n[16]=de(s=>e.showConfirmation=!1,["stop"]))},FGe)])):I("",!0)])):I("",!0),c("div",BGe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[17]||(n[17]=de((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},zGe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[18]||(n[18]=de((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},UGe)])])])):I("",!0)]),c("div",qGe,[ue(bl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Ne(()=>[xe("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),c("div",HGe,[c("div",{class:Me(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[c("div",{id:"dis-list",class:Me([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(k(),tt(Ut,{key:0,name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ge(e.list,(s,o)=>(k(),tt(Ug,{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})):I("",!0),e.list.length<1?(k(),C("div",VGe,KGe)):I("",!0),WGe],2)],2)])],32)])):I("",!0)]),_:1}),e.isReady?(k(),C("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[20]||(n[20]=de(s=>e.setDropZoneChat(),["stop","prevent"]))},[c("div",ZGe,[ue(bl,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),c("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":""])},[c("div",YGe,[e.discussionArr.length>0?(k(),tt(Ut,{key:0,name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ge(e.discussionArr,(s,o)=>(k(),tt(qg,{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,onContinueMessage:e.continueMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):I("",!0),e.currentDiscussion.id?I("",!0):(k(),tt(Vg,{key:1}))]),JGe,e.currentDiscussion.id?(k(),C("div",QGe,[ue(Hg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating","on-show-toast-message","on-talk"])])):I("",!0)],2)],32)):I("",!0),ue(Ks,{ref:"toast"},null,512),ue($g,{ref:"messageBox"},null,512)],64))}}),tKe=Ue(eKe,[["__scopeId","data-v-fc3ad318"]]),nKe=zy({history:oy("/"),routes:[{path:"/playground/",name:"playground",component:iMe},{path:"/extensions/",name:"extensions",component:mMe},{path:"/help/",name:"help",component:LMe},{path:"/settings/",name:"settings",component:J$e},{path:"/training/",name:"training",component:bze},{path:"/quantizing/",name:"quantizing",component:Sze},{path:"/",name:"discussions",component:tKe}]});const ki=X1(p2);console.log("Loaded main.js");const sKe=A0({state(){return{ready:!1,settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:null,bindingsArr:null,modelsArr:null,models_zoo:null,personalities:null,diskUsage:null,ramUsage:null,vramUsage:null,extensionsZoo:null}},mutations:{setIsConnected(t,e){t.isConnected=e},setConfig(t,e){t.config=e},setPersonalities(t,e){t.personalities=e},setMountedPers(t,e){t.mountedPers=e},setMountedPersArr(t,e){t.mountedPersArr=e},setBindingsArr(t,e){t.bindingsArr=e},setModelsArr(t,e){t.modelsArr=e},setDiskUsage(t,e){t.diskUsage=e},setRamUsage(t,e){t.ramUsage=e},setVramUsage(t,e){t.vramUsage=e},setExtensionsZoo(t,e){t.extensionsZoo=e},setModelsZoo(t,e){t.models_zoo=e}},getters:{getIsConnected(t){return t.isConnected},getConfig(t){return t.config},getPersonalities(t){return t.personalities},getMountedPersArr(t){return t.mountedPersArr},getMountedPers(t){return t.mountedPers},getbindingsArr(t){return t.bindingsArr},getModelsArr(t){return t.modelsArr},getDiskUsage(t){return t.diskUsage},getRamUsage(t){return t.ramUsage},getVramUsage(t){return t.vramUsage},getModelsZoo(t){return t.models_zoo},getExtensionsZoo(t){return t.extensionsZoo}},actions:{async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await bn("get_config");let n=e.personalities[e.active_personality_id].split("/");e.personality_category=n[0],e.personality_folder=n[1],console.log("Recovered config"),console.log(e),t("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshPersonalitiesArr({commit:t}){let e=[];const n=await bn("get_all_personalities"),s=Object.keys(n);console.log("Personalities recovered:"+this.state.config.personalities);for(let o=0;o{const d=this.state.config.personalities.includes(r+"/"+l.folder);let u={};return u=l,u.category=r,u.full_path=r+"/"+l.folder,u.isMounted=d,u});e.length==0?e=a:e=e.concat(a)}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){let e=[];for(let n=0;ni.full_path==s),r=this.state.personalities[o];r?e.push(r):e.push(this.state.personalities[this.state.personalities.findIndex(i=>i.full_path=="generic/lollms")])}console.log("Personalities list",this.state.personalities),t("setMountedPersArr",e),console.log("active_personality_id",this.state.config.active_personality_id),console.log("selected pers",this.state.config.personalities[this.state.config.active_personality_id]),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])],console.log("selected pers",this.state.mountedPers)},async refreshBindings({commit:t}){let e=await bn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await bn("list_models");t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=await bn("list_extensions");t("setExtensionsZoo",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await bn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await bn("ram_usage")},async refreshVramUsage({commit:t}){console.log("getting gpu data");const e=await bn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o{console.log("found models");let n=e.data;n.sort((s,o)=>s.title.localeCompare(o.title));for(let s=0;si.title==o)==-1){let i={};i.title=o,i.path=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}}n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.title==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),console.log("Models zoo loaded successfully")}).catch(e=>{console.log(e.message,"fetchModels")})},fetchCustomModels({commit:t}){ye.get("/list_models").then(e=>{}).catch(e=>{console.log(e.message,"fetchCustomModels")})}}});async function bn(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){throw console.log(e.message,"api_get_req"),e}}let jh=!1;ki.mixin({created(){jh||(jh=!0,console.log("Calling"),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities"),this.$store.dispatch("refreshBindings"),this.$store.dispatch("refreshModels"),this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage"),this.$store.dispatch("refreshVramUsage"),this.$store.dispatch("refreshModelsZoo"),this.$store.dispatch("refreshExtensionsZoo"),this.$store.state.ready=!0,console.log("done loading data")})}))},beforeMount(){}});ki.use(nKe);ki.use(sKe);ki.mount("#app"); +`+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(){for(this.$store.state.isConnected=!1,ye.get("/get_lollms_webui_version",{}).then(t=>{t&&(this.version=t.data.version)}).catch(t=>{console.log("Error: Could not get generation status",t)}),this.$nextTick(()=>{ve.replace()}),Ee.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason),this.socketIODisconnected()},Ee.onerror=t=>{console.log("WebSocket connection error:",t.code,t.reason),this.socketIODisconnected(),Ee.disconnect()},Ee.on("connected",this.socketIOConnected),Ee.on("disconnected",this.socketIODisconnected),console.log("Added events"),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));console.log("Setting title"),this.setPageTitle(),console.log("listing discussions"),await this.list_discussions(),console.log("loading last discussion"),this.loadLastUsedDiscussion(),console.log("Discussions view is ready"),Ee.on("notification",this.notify),Ee.on("new_message",this.new_message),Ee.on("update_message",this.streamMessageContent),Ee.on("close_message",this.finalMsgEvent),console.log("Setting events"),Ee.onopen=()=>{console.log("WebSocket connection established."),this.currentDiscussion!=null&&(this.setPageTitle(item),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(item.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)}))},this.isCreated=!0},mounted(){this.$nextTick(()=>{ve.replace()})},async activated(){await this.getPersonalityAvatars(),this.isCreated&&be(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Ug,Message:qg,ChatBox:Hg,WelcomeComponent:Vg,Toast:Ks,DragDrop:bl},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){be(()=>{ve.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){be(()=>{ve.replace()})},isSearch(){be(()=>{ve.replace()})}},computed:{client_id(){return Ee.id},isReady(){return console.log("verify ready",this.isCreated),this.isCreated},showPanel(){return this.$store.state.ready&&!this.panelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return be(()=>{ve.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},nKe=Object.assign(tKe,{__name:"DiscussionsView",setup(t){return Jr(()=>{RVe()}),ye.defaults.baseURL="/",(e,n)=>(k(),C(Re,null,[ue(Ts,{name:"fade-and-fly"},{default:Ne(()=>[e.isReady?P("",!0):(k(),C("div",DVe,[c("div",LVe,[c("div",IVe,[c("div",PVe,[FVe,c("div",BVe,[c("p",$Ve,"Lord of Large Language Models v "+H(e.version),1),zVe,jVe])]),UVe,qVe,HVe,VVe])])]))]),_:1}),e.isReady?(k(),C("button",{key:0,onClick:n[0]||(n[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-0 left-0 z-50 p-2 m-2 bg-white rounded-full shadow-md bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-primary-light dark:hover:bg-primary"},[ie(c("div",null,KVe,512),[[Ye,e.panelCollapsed]]),ie(c("div",null,ZVe,512),[[Ye,!e.panelCollapsed]])])):P("",!0),ue(Ts,{name:"slide-right"},{default:Ne(()=>[e.showPanel?(k(),C("div",YVe,[c("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[19]||(n[19]=de(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[c("div",JVe,[c("div",QVe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[1]||(n[1]=s=>e.createNewDiscussion())},eGe),c("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[2]||(n[2]=s=>e.isCheckbox=!e.isCheckbox)},nGe,2),sGe,oGe,c("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[3]||(n[3]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[4]||(n[4]=de(s=>e.$refs.fileDialog.click(),["stop"]))},iGe),e.isOpen?(k(),C("div",aGe,[c("button",{onClick:n[5]||(n[5]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),c("button",{onClick:n[6]||(n[6]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):P("",!0),c("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[7]||(n[7]=s=>e.isSearch=!e.isSearch)},cGe,2),e.showConfirmation?P("",!0):(k(),C("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:n[8]||(n[8]=s=>e.showConfirmation=!0)},uGe)),e.showConfirmation?(k(),C("div",hGe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:n[9]||(n[9]=de(s=>e.showConfirmation=!1,["stop"]))},pGe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:n[10]||(n[10]=de(s=>e.save_configuration(),["stop"]))},mGe)])):P("",!0),e.loading?(k(),C("div",_Ge,yGe)):P("",!0)]),e.isSearch?(k(),C("div",vGe,[c("div",wGe,[c("div",xGe,[kGe,c("div",EGe,[c("div",{class:Me(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[11]||(n[11]=s=>e.filterTitle="")},AGe,2)]),ie(c("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[12]||(n[12]=s=>e.filterTitle=s),onInput:n[13]||(n[13]=s=>e.filterDiscussions())},null,544),[[Oe,e.filterTitle]])])])])):P("",!0),e.isCheckbox?(k(),C("hr",SGe)):P("",!0),e.isCheckbox?(k(),C("div",TGe,[c("div",MGe,[e.selectedDiscussions.length>0?(k(),C("p",OGe,"Selected: "+H(e.selectedDiscussions.length),1)):P("",!0)]),c("div",RGe,[e.selectedDiscussions.length>0?(k(),C("div",NGe,[e.showConfirmation?P("",!0):(k(),C("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[14]||(n[14]=de(s=>e.showConfirmation=!0,["stop"]))},LGe)),e.showConfirmation?(k(),C("div",IGe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[15]||(n[15]=de((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},FGe),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[16]||(n[16]=de(s=>e.showConfirmation=!1,["stop"]))},$Ge)])):P("",!0)])):P("",!0),c("div",zGe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[17]||(n[17]=de((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},UGe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[18]||(n[18]=de((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},HGe)])])])):P("",!0)]),c("div",VGe,[ue(bl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Ne(()=>[xe("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),c("div",GGe,[c("div",{class:Me(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[c("div",{id:"dis-list",class:Me([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(k(),tt(Ut,{key:0,name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ke(e.list,(s,o)=>(k(),tt(Ug,{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})):P("",!0),e.list.length<1?(k(),C("div",KGe,ZGe)):P("",!0),YGe],2)],2)])],32)])):P("",!0)]),_:1}),e.isReady?(k(),C("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[20]||(n[20]=de(s=>e.setDropZoneChat(),["stop","prevent"]))},[c("div",JGe,[ue(bl,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),c("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":""])},[c("div",QGe,[e.discussionArr.length>0?(k(),tt(Ut,{key:0,name:"list"},{default:Ne(()=>[(k(!0),C(Re,null,Ke(e.discussionArr,(s,o)=>(k(),tt(qg,{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,onContinueMessage:e.continueMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):P("",!0),e.currentDiscussion.id?P("",!0):(k(),tt(Vg,{key:1}))]),XGe,e.currentDiscussion.id?(k(),C("div",eKe,[ue(Hg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating","on-show-toast-message","on-talk"])])):P("",!0)],2)],32)):P("",!0),ue(Ks,{ref:"toast"},null,512),ue(zg,{ref:"messageBox"},null,512)],64))}}),sKe=qe(nKe,[["__scopeId","data-v-fc3ad318"]]),oKe=zy({history:oy("/"),routes:[{path:"/playground/",name:"playground",component:iMe},{path:"/extensions/",name:"extensions",component:mMe},{path:"/help/",name:"help",component:LMe},{path:"/settings/",name:"settings",component:eze},{path:"/training/",name:"training",component:wze},{path:"/quantizing/",name:"quantizing",component:Oze},{path:"/",name:"discussions",component:sKe}]});const ki=X1(p2);console.log("Loaded main.js");const rKe=A0({state(){return{ready:!1,settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:null,bindingsArr:null,modelsArr:null,models_zoo:null,personalities:null,diskUsage:null,ramUsage:null,vramUsage:null,extensionsZoo:null}},mutations:{setIsConnected(t,e){t.isConnected=e},setConfig(t,e){t.config=e},setPersonalities(t,e){t.personalities=e},setMountedPers(t,e){t.mountedPers=e},setMountedPersArr(t,e){t.mountedPersArr=e},setBindingsArr(t,e){t.bindingsArr=e},setModelsArr(t,e){t.modelsArr=e},setDiskUsage(t,e){t.diskUsage=e},setRamUsage(t,e){t.ramUsage=e},setVramUsage(t,e){t.vramUsage=e},setExtensionsZoo(t,e){t.extensionsZoo=e},setModelsZoo(t,e){t.models_zoo=e}},getters:{getIsConnected(t){return t.isConnected},getConfig(t){return t.config},getPersonalities(t){return t.personalities},getMountedPersArr(t){return t.mountedPersArr},getMountedPers(t){return t.mountedPers},getbindingsArr(t){return t.bindingsArr},getModelsArr(t){return t.modelsArr},getDiskUsage(t){return t.diskUsage},getRamUsage(t){return t.ramUsage},getVramUsage(t){return t.vramUsage},getModelsZoo(t){return t.models_zoo},getExtensionsZoo(t){return t.extensionsZoo}},actions:{async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await _n("get_config");let n=e.personalities[e.active_personality_id].split("/");e.personality_category=n[0],e.personality_folder=n[1],console.log("Recovered config"),console.log(e),t("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshPersonalitiesArr({commit:t}){let e=[];const n=await _n("get_all_personalities"),s=Object.keys(n);console.log("Personalities recovered:"+this.state.config.personalities);for(let o=0;o{const d=this.state.config.personalities.includes(r+"/"+l.folder);let u={};return u=l,u.category=r,u.full_path=r+"/"+l.folder,u.isMounted=d,u});e.length==0?e=a:e=e.concat(a)}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){let e=[];for(let n=0;ni.full_path==s),r=this.state.personalities[o];r?e.push(r):e.push(this.state.personalities[this.state.personalities.findIndex(i=>i.full_path=="generic/lollms")])}console.log("Personalities list",this.state.personalities),t("setMountedPersArr",e),console.log("active_personality_id",this.state.config.active_personality_id),console.log("selected pers",this.state.config.personalities[this.state.config.active_personality_id]),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])],console.log("selected pers",this.state.mountedPers)},async refreshBindings({commit:t}){let e=await _n("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await _n("list_models");t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=await _n("list_extensions");t("setExtensionsZoo",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await _n("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await _n("ram_usage")},async refreshVramUsage({commit:t}){console.log("getting gpu data");const e=await _n("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o{console.log("found models");let n=e.data;n.sort((s,o)=>s.title.localeCompare(o.title));for(let s=0;si.title==o)==-1){let i={};i.title=o,i.path=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}}n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.title==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),console.log("Models zoo loaded successfully")}).catch(e=>{console.log(e.message,"fetchModels")})},fetchCustomModels({commit:t}){ye.get("/list_models").then(e=>{}).catch(e=>{console.log(e.message,"fetchCustomModels")})}}});async function _n(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){throw console.log(e.message,"api_get_req"),e}}let Uh=!1;ki.mixin({created(){Uh||(Uh=!0,console.log("Calling"),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities"),this.$store.dispatch("refreshBindings"),this.$store.dispatch("refreshModels"),this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage"),this.$store.dispatch("refreshVramUsage"),this.$store.dispatch("refreshModelsZoo"),this.$store.dispatch("refreshExtensionsZoo"),this.$store.state.ready=!0,console.log("done loading data")})}))},beforeMount(){}});ki.use(oKe);ki.use(rKe);ki.mount("#app"); diff --git a/web/dist/assets/index-489786d6.css b/web/dist/assets/index-5d272872.css similarity index 98% rename from web/dist/assets/index-489786d6.css rename to web/dist/assets/index-5d272872.css index a15cb934..320e3861 100644 --- a/web/dist/assets/index-489786d6.css +++ b/web/dist/assets/index-5d272872.css @@ -5,4 +5,4 @@ Author: (c) Henri Vandersleyen License: see project LICENSE Touched: 2022 -*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hovered{transition:transform .3s cubic-bezier(.175,.885,.32,1.275);transform:scale(1.1)}.active{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;pointer-events:all}select{width:200px}body{background-color:#fafafa;font-family:sans-serif}.container{margin:4px auto;width:800px}.settings{position:fixed;top:0;right:0;width:250px;background-color:#fff;z-index:1000;display:none}.settings-button{cursor:pointer;padding:10px;border:1px solid #ddd;border-radius:5px;color:#333;font-size:14px}.settings-button:hover{background-color:#eee}.settings-button:active{background-color:#ddd}.slider-container{margin-top:20px}.slider-value{display:inline-block;margin-left:10px;color:#6b7280;font-size:14px}.small-button{padding:.5rem .75rem;font-size:.875rem}.active-tab{font-weight:700}.scrollbar[data-v-6f1a11a2]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar{width:8px}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color)}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}.menu-ul{list-style:none;padding:0;margin:0}.menu-li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.selected-choice{background-color:#bde4ff}.list-move[data-v-fbe5ed87],.list-enter-active[data-v-fbe5ed87],.list-leave-active[data-v-fbe5ed87]{transition:all .5s ease}.list-enter-from[data-v-fbe5ed87]{transform:translatey(-30px)}.list-leave-to[data-v-fbe5ed87]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-fbe5ed87]{position:absolute}.bounce-enter-active[data-v-fbe5ed87]{animation:bounce-in-fbe5ed87 .5s}.bounce-leave-active[data-v-fbe5ed87]{animation:bounce-in-fbe5ed87 .5s reverse}@keyframes bounce-in-fbe5ed87{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-fbe5ed87]{background-color:#0ff}.hover[data-v-fbe5ed87]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-fbe5ed87]{font-weight:700}.collapsible-section{cursor:pointer;margin-bottom:10px;font-weight:700}.collapsible-section:hover{color:#1a202c}.collapsible-section .toggle-icon{margin-right:.25rem}.collapsible-section .toggle-icon i{color:#4a5568}.collapsible-section .toggle-icon i:hover{color:#1a202c}.json-viewer{max-height:300px;max-width:700px;flex:auto;overflow-y:auto;padding:10px;background-color:#f1f1f1;border:1px solid #ccc;border-radius:4px}.json-viewer .toggle-icon{cursor:pointer;margin-right:.25rem}.json-viewer .toggle-icon i{color:#4a5568}.json-viewer .toggle-icon i:hover{color:#1a202c}.expand-button{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.htmljs{background:none}.bounce-enter-active[data-v-d93302b0]{animation:bounce-in-d93302b0 .5s}.bounce-leave-active[data-v-d93302b0]{animation:bounce-in-d93302b0 .5s reverse}@keyframes bounce-in-d93302b0{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-52cfa09c]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-52cfa09c]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-52cfa09c]{top:calc(-100% - 2rem)}.list-move[data-v-5cc493ac],.list-enter-active[data-v-5cc493ac],.list-leave-active[data-v-5cc493ac]{transition:all .5s ease}.list-enter-from[data-v-5cc493ac]{transform:translatey(-30px)}.list-leave-to[data-v-5cc493ac]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-5cc493ac]{position:absolute}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0}.list-leave-active{position:absolute}.slide-right-enter-active[data-v-fc3ad318],.slide-right-leave-active[data-v-fc3ad318]{transition:transform .3s ease}.slide-right-enter[data-v-fc3ad318],.slide-right-leave-to[data-v-fc3ad318]{transform:translate(-100%)}.fade-and-fly-enter-active[data-v-fc3ad318]{animation:fade-and-fly-enter-fc3ad318 .5s ease}.fade-and-fly-leave-active[data-v-fc3ad318]{animation:fade-and-fly-leave-fc3ad318 .5s ease}@keyframes fade-and-fly-enter-fc3ad318{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-fc3ad318{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-fc3ad318],.list-enter-active[data-v-fc3ad318],.list-leave-active[data-v-fc3ad318]{transition:all .5s ease}.list-enter-from[data-v-fc3ad318]{transform:translatey(-30px)}.list-leave-to[data-v-fc3ad318]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-fc3ad318]{position:absolute}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;-webkit-margin-start:-1rem;margin-inline-start:-1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}*{scrollbar-color:initial;scrollbar-width:initial}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.inset-y-0{top:0px;bottom:0px}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.bottom-0{bottom:0px}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-5{bottom:1.25rem}.bottom-\[60px\]{bottom:60px}.left-0{left:0px}.left-1\/2{left:50%}.left-7{left:1.75rem}.right-0{right:0px}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.top-0{top:0px}.top-1\/2{top:50%}.top-3{top:.75rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.-my-5{margin-top:-1.25rem;margin-bottom:-1.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-full{min-height:100%}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-\[23rem\]{min-width:23rem}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[23rem\]{max-width:23rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[300px\]{max-width:300px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-0{--tw-translate-y: -0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-bg-dark{--tw-border-opacity: 1;border-color:rgb(19 46 89 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.border-primary-light{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(240 112 14 / var(--tw-bg-opacity))}.bg-bg-dark-tone-panel{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}.bg-bg-light{--tw-bg-opacity: 1;background-color:rgb(226 237 255 / var(--tw-bg-opacity))}.bg-bg-light-discussion{--tw-bg-opacity: 1;background-color:rgb(197 216 248 / var(--tw-bg-opacity))}.bg-bg-light-tone{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.bg-bg-light-tone-panel{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.bg-primary-light{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(15 217 116 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: #e2edff var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-bg-light-tone{--tw-gradient-from: #b9d2f7 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(185 210 247 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-via-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #e2edff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-100\%{--tw-gradient-to-position: 100%}.fill-blue-600{fill:#1c64f2}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:#0fd974}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale-0{--tw-grayscale: grayscale(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:auto}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: #e2edff !important}.scrollbar-track-bg-light-tone{--scrollbar-track: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: #8fb5ef !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}h1{font-size:36px;font-weight:700}h2{font-size:24px;font-weight:700}h3{font-size:18px;font-weight:700}h4{font-size:18px;font-style:italic}ul{list-style-type:disc;margin-left:5px}ol{list-style-type:decimal}.odd\:bg-bg-light-tone:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.even\:bg-bg-light-discussion-odd:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.even\:bg-bg-light-tone-panel:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.group\/avatar:hover .group-hover\/avatar\:visible,.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group\/avatar:hover .group-hover\/avatar\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:text-primary{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:h-8:hover{height:2rem}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-primary:hover{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.hover\:border-primary-light:hover{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.hover\:border-secondary:hover{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.hover\:bg-bg-light-tone:hover{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.hover\:bg-bg-light-tone-panel:hover{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.hover\:bg-primary-light:hover{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.hover\:fill-primary:hover{fill:#0e8ef0}.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-secondary:hover{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: #0e8ef0 !important}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: #0fd974 !important}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-bg-light){--tw-border-opacity: 1;border-color:rgb(226 237 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){--tw-bg-opacity: 1;background-color:rgb(19 46 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-discussion){--tw-bg-opacity: 1;background-color:rgb(67 94 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone-panel){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:from-bg-dark){--tw-gradient-from: #132e59 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: #25477d var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(37 71 125 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-via-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #132e59 var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:fill-white){fill:#fff}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-blue-800\/80){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-cyan-800\/80){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-800\/80){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-lime-800\/80){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-pink-800\/80){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-purple-800\/80){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-red-800\/80){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-teal-800\/80){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-offset-gray-700){--tw-ring-offset-color: #374151}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:scrollbar-track-bg-dark){--scrollbar-track: #132e59 !important}:is(.dark .dark\:scrollbar-track-bg-dark-tone){--scrollbar-track: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone){--scrollbar-thumb: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone-panel){--scrollbar-thumb: #4367a3 !important}:is(.dark .odd\:dark\:bg-bg-dark-tone):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(40 68 113 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-tone-panel:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}:is(.dark .dark\:hover\:border-gray-600:hover){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-primary:hover){--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-bg-dark-tone:hover){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone):hover{--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone-panel):hover{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:fill-primary:hover){fill:#0e8ef0}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-900:hover){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:scrollbar-thumb-primary){--scrollbar-thumb-hover: #0e8ef0 !important}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-gray-700:focus){--tw-ring-offset-color: #374151}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{inset:0px}.md\:order-2{order:2}.md\:my-2{margin-top:.5rem;margin-bottom:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/4{width:25%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}} +*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hovered{transition:transform .3s cubic-bezier(.175,.885,.32,1.275);transform:scale(1.1)}.active{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;pointer-events:all}select{width:200px}body{background-color:#fafafa;font-family:sans-serif}.container{margin:4px auto;width:800px}.settings{position:fixed;top:0;right:0;width:250px;background-color:#fff;z-index:1000;display:none}.settings-button{cursor:pointer;padding:10px;border:1px solid #ddd;border-radius:5px;color:#333;font-size:14px}.settings-button:hover{background-color:#eee}.settings-button:active{background-color:#ddd}.slider-container{margin-top:20px}.slider-value{display:inline-block;margin-left:10px;color:#6b7280;font-size:14px}.small-button{padding:.5rem .75rem;font-size:.875rem}.active-tab{font-weight:700}.scrollbar[data-v-6f1a11a2]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar{width:8px}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color)}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}.menu-ul{list-style:none;padding:0;margin:0}.menu-li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.selected-choice{background-color:#bde4ff}.list-move[data-v-95d9ca21],.list-enter-active[data-v-95d9ca21],.list-leave-active[data-v-95d9ca21]{transition:all .5s ease}.list-enter-from[data-v-95d9ca21]{transform:translatey(-30px)}.list-leave-to[data-v-95d9ca21]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-95d9ca21]{position:absolute}.bounce-enter-active[data-v-95d9ca21]{animation:bounce-in-95d9ca21 .5s}.bounce-leave-active[data-v-95d9ca21]{animation:bounce-in-95d9ca21 .5s reverse}@keyframes bounce-in-95d9ca21{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-95d9ca21]{background-color:#0ff}.hover[data-v-95d9ca21]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-95d9ca21]{font-weight:700}.collapsible-section{cursor:pointer;margin-bottom:10px;font-weight:700}.collapsible-section:hover{color:#1a202c}.collapsible-section .toggle-icon{margin-right:.25rem}.collapsible-section .toggle-icon i{color:#4a5568}.collapsible-section .toggle-icon i:hover{color:#1a202c}.json-viewer{max-height:300px;max-width:700px;flex:auto;overflow-y:auto;padding:10px;background-color:#f1f1f1;border:1px solid #ccc;border-radius:4px}.json-viewer .toggle-icon{cursor:pointer;margin-right:.25rem}.json-viewer .toggle-icon i{color:#4a5568}.json-viewer .toggle-icon i:hover{color:#1a202c}.expand-button{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.htmljs{background:none}.bounce-enter-active[data-v-d93302b0]{animation:bounce-in-d93302b0 .5s}.bounce-leave-active[data-v-d93302b0]{animation:bounce-in-d93302b0 .5s reverse}@keyframes bounce-in-d93302b0{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-52cfa09c]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-52cfa09c]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-52cfa09c]{top:calc(-100% - 2rem)}.list-move[data-v-f313470e],.list-enter-active[data-v-f313470e],.list-leave-active[data-v-f313470e]{transition:all .5s ease}.list-enter-from[data-v-f313470e]{transform:translatey(-30px)}.list-leave-to[data-v-f313470e]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-f313470e]{position:absolute}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0}.list-leave-active{position:absolute}.slide-right-enter-active[data-v-fc3ad318],.slide-right-leave-active[data-v-fc3ad318]{transition:transform .3s ease}.slide-right-enter[data-v-fc3ad318],.slide-right-leave-to[data-v-fc3ad318]{transform:translate(-100%)}.fade-and-fly-enter-active[data-v-fc3ad318]{animation:fade-and-fly-enter-fc3ad318 .5s ease}.fade-and-fly-leave-active[data-v-fc3ad318]{animation:fade-and-fly-leave-fc3ad318 .5s ease}@keyframes fade-and-fly-enter-fc3ad318{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-fc3ad318{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-fc3ad318],.list-enter-active[data-v-fc3ad318],.list-leave-active[data-v-fc3ad318]{transition:all .5s ease}.list-enter-from[data-v-fc3ad318]{transform:translatey(-30px)}.list-leave-to[data-v-fc3ad318]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-fc3ad318]{position:absolute}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;-webkit-margin-start:-1rem;margin-inline-start:-1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}*{scrollbar-color:initial;scrollbar-width:initial}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.inset-y-0{top:0px;bottom:0px}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.bottom-0{bottom:0px}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-5{bottom:1.25rem}.bottom-\[60px\]{bottom:60px}.left-0{left:0px}.left-1\/2{left:50%}.left-7{left:1.75rem}.right-0{right:0px}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.top-0{top:0px}.top-1\/2{top:50%}.top-3{top:.75rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.-my-5{margin-top:-1.25rem;margin-bottom:-1.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-full{min-height:100%}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-\[23rem\]{min-width:23rem}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[23rem\]{max-width:23rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[300px\]{max-width:300px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-0{--tw-translate-y: -0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-bg-dark{--tw-border-opacity: 1;border-color:rgb(19 46 89 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.border-primary-light{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(240 112 14 / var(--tw-bg-opacity))}.bg-bg-dark-tone-panel{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}.bg-bg-light{--tw-bg-opacity: 1;background-color:rgb(226 237 255 / var(--tw-bg-opacity))}.bg-bg-light-discussion{--tw-bg-opacity: 1;background-color:rgb(197 216 248 / var(--tw-bg-opacity))}.bg-bg-light-tone{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.bg-bg-light-tone-panel{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.bg-primary-light{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(15 217 116 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: #e2edff var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-bg-light-tone{--tw-gradient-from: #b9d2f7 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(185 210 247 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-via-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #e2edff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-100\%{--tw-gradient-to-position: 100%}.fill-blue-600{fill:#1c64f2}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:#0fd974}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale-0{--tw-grayscale: grayscale(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:auto}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: #e2edff !important}.scrollbar-track-bg-light-tone{--scrollbar-track: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: #8fb5ef !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}h1{font-size:36px;font-weight:700}h2{font-size:24px;font-weight:700}h3{font-size:18px;font-weight:700}h4{font-size:18px;font-style:italic}ul{list-style-type:disc;margin-left:5px}ol{list-style-type:decimal}.odd\:bg-bg-light-tone:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.even\:bg-bg-light-discussion-odd:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.even\:bg-bg-light-tone-panel:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.group\/avatar:hover .group-hover\/avatar\:visible,.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group\/avatar:hover .group-hover\/avatar\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:text-primary{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:h-8:hover{height:2rem}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-primary:hover{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.hover\:border-primary-light:hover{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.hover\:border-secondary:hover{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.hover\:bg-bg-light-tone:hover{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.hover\:bg-bg-light-tone-panel:hover{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.hover\:bg-primary-light:hover{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.hover\:fill-primary:hover{fill:#0e8ef0}.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-secondary:hover{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: #0e8ef0 !important}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: #0fd974 !important}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-bg-light){--tw-border-opacity: 1;border-color:rgb(226 237 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){--tw-bg-opacity: 1;background-color:rgb(19 46 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-discussion){--tw-bg-opacity: 1;background-color:rgb(67 94 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone-panel){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:from-bg-dark){--tw-gradient-from: #132e59 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: #25477d var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(37 71 125 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-via-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #132e59 var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:fill-white){fill:#fff}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-blue-800\/80){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-cyan-800\/80){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-800\/80){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-lime-800\/80){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-pink-800\/80){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-purple-800\/80){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-red-800\/80){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-teal-800\/80){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-offset-gray-700){--tw-ring-offset-color: #374151}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:scrollbar-track-bg-dark){--scrollbar-track: #132e59 !important}:is(.dark .dark\:scrollbar-track-bg-dark-tone){--scrollbar-track: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone){--scrollbar-thumb: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone-panel){--scrollbar-thumb: #4367a3 !important}:is(.dark .odd\:dark\:bg-bg-dark-tone):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(40 68 113 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-tone-panel:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}:is(.dark .dark\:hover\:border-gray-600:hover){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-primary:hover){--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-bg-dark-tone:hover){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone):hover{--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone-panel):hover{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:fill-primary:hover){fill:#0e8ef0}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-900:hover){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:scrollbar-thumb-primary){--scrollbar-thumb-hover: #0e8ef0 !important}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-gray-700:focus){--tw-ring-offset-color: #374151}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{inset:0px}.md\:order-2{order:2}.md\:my-2{margin-top:.5rem;margin-bottom:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/4{width:25%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}} diff --git a/web/dist/index.html b/web/dist/index.html index 09f0f600..100ff58e 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -6,8 +6,8 @@ LoLLMS WebUI - Welcome - - + +
diff --git a/web/src/components/ChatBox.vue b/web/src/components/ChatBox.vue index f7a706fb..6a48f252 100644 --- a/web/src/components/ChatBox.vue +++ b/web/src/components/ChatBox.vue @@ -122,11 +122,12 @@
- +
@@ -249,6 +250,7 @@ import filesize from '../plugins/filesize' import MountedPersonalities from '@/components/MountedPersonalities.vue' import MountedPersonalitiesList from '@/components/MountedPersonalitiesList.vue' import PersonalitiesCommands from '@/components/PersonalitiesCommands.vue'; +import InteractiveMenu from '@/components/InteractiveMenu.vue'; import { useStore } from 'vuex'; // Import the useStore function import { inject } from 'vue'; import socket from '@/services/websocket.js' @@ -268,7 +270,8 @@ export default { Toast, MountedPersonalities, MountedPersonalitiesList, - PersonalitiesCommands + PersonalitiesCommands, + InteractiveMenu }, setup() { @@ -288,6 +291,7 @@ export default { showFileList: true, showPersonalities: false, personalities_ready: false, + models_menu_icon:'#M' } }, computed: { @@ -314,15 +318,39 @@ export default { } }, - methods: { - setModel(){ + methods: { + showModels(event){ + // Prevent the default button behavior + event.preventDefault(); + + // Programmatically trigger the click event on the select element + const selectElement = this.$refs.modelsSelectionList; + console.log(selectElement) + + const event_ = new MouseEvent("click"); + + selectElement.dispatchEvent(event_); + }, + commandify(list_of_strings){ + let list_of_dicts=[] + for (var i = 0; i < list_of_strings.length; i++) { + let dict={} + dict["name"]=list_of_strings[i] + dict["value"]=list_of_strings[i] + list_of_dicts.push(dict) + } + return list_of_dicts + + }, + setModel(selectedModel){ this.selecting_model=true + this.selectedModel = selectedModel axios.post("/update_setting", { setting_name: "model_name", - setting_value: this.selectedModel + setting_value: selectedModel }).then((response) => { console.log(response); - this.$refs.toast.showToast(`Model changed to ${this.selectedModel}`,4,true) + this.$refs.toast.showToast(`Model changed to ${selectedModel}`,4,true) this.selecting_model=false }).catch(err=>{ this.$refs.toast.showToast(`Error ${err}`,4,true) diff --git a/web/src/components/InteractiveMenu.vue b/web/src/components/InteractiveMenu.vue index 71cc819e..81582058 100644 --- a/web/src/components/InteractiveMenu.vue +++ b/web/src/components/InteractiveMenu.vue @@ -1,15 +1,17 @@