lollms-webui/web/dist/assets/index-51328138.js
Saifeddine ALOUI 0d1dfaaf1d upgraded
2023-09-14 00:15:48 +02:00

202 lines
969 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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 El(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return e?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function yt(t){if(Se(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],o=Qe(s)?Am(s):yt(s);if(o)for(const r in o)e[r]=o[r]}return e}else{if(Qe(t))return t;if(Ze(t))return t}}const km=/;(?![^(]*\))/g,Em=/:([^]+)/,Cm=/\/\*.*?\*\//gs;function Am(t){const e={};return t.replace(Cm,"").split(km).forEach(n=>{if(n){const s=n.split(Em);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Ce(t){let e="";if(Qe(t))e=t;else if(Se(t))for(let n=0;n<t.length;n++){const s=Ce(t[n]);s&&(e+=s+" ")}else if(Ze(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const Sm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tm=El(Sm);function qh(t){return!!t||t===""}function Mm(t,e){if(t.length!==e.length)return!1;let n=!0;for(let s=0;n&&s<t.length;s++)n=ts(t[s],e[s]);return n}function ts(t,e){if(t===e)return!0;let n=Dc(t),s=Dc(e);if(n||s)return n&&s?t.getTime()===e.getTime():!1;if(n=vo(t),s=vo(e),n||s)return t===e;if(n=Se(t),s=Se(e),n||s)return n&&s?Mm(t,e):!1;if(n=Ze(t),s=Ze(e),n||s){if(!n||!s)return!1;const o=Object.keys(t).length,r=Object.keys(e).length;if(o!==r)return!1;for(const i in t){const a=t.hasOwnProperty(i),l=e.hasOwnProperty(i);if(a&&!l||!a&&l||!ts(t[i],e[i]))return!1}}return String(t)===String(e)}function Cl(t,e){return t.findIndex(n=>ts(n,e))}const U=t=>Qe(t)?t:t==null?"":Se(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):ws(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:js(e)?{[`Set(${e.size})`]:[...e.values()]}:Ze(e)&&!Se(e)&&!Kh(e)?String(e):e,Je={},vs=[],Pt=()=>{},Om=()=>!1,Rm=/^on[^a-z]/,Hr=t=>Rm.test(t),Al=t=>t.startsWith("onUpdate:"),it=Object.assign,Sl=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Nm=Object.prototype.hasOwnProperty,je=(t,e)=>Nm.call(t,e),Se=Array.isArray,ws=t=>Us(t)==="[object Map]",js=t=>Us(t)==="[object Set]",Dc=t=>Us(t)==="[object Date]",Dm=t=>Us(t)==="[object RegExp]",De=t=>typeof t=="function",Qe=t=>typeof t=="string",vo=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,Us=t=>Gh.call(t),Lm=t=>Us(t).slice(8,-1),Kh=t=>Us(t)==="[object Object]",Tl=t=>Qe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,lr=El(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Im=/-(\w)/g,Zt=Vr(t=>t.replace(Im,(e,n)=>n?n.toUpperCase():"")),Pm=/\B([A-Z])/g,rs=Vr(t=>t.replace(Pm,"-$1").toLowerCase()),Gr=Vr(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ci=Vr(t=>t?`on${Gr(t)}`:""),wo=(t,e)=>!Object.is(t,e),xs=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},wr=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},xr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Fm=t=>{const e=Qe(t)?Number(t):NaN;return isNaN(e)?t:e};let Lc;const Bm=()=>Lc||(Lc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Nt;class $m{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<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function zm(t,e=Nt){e&&e.active&&e.effects.push(t)}function jm(){return Nt}const Ml=t=>{const e=new Set(t);return e.w=0,e.n=0,e},Wh=t=>(t.w&Nn)>0,Zh=t=>(t.n&Nn)>0,Um=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=Nn},qm=t=>{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s<e.length;s++){const o=e[s];Wh(o)&&!Zh(o)?o.delete(t):e[n++]=o,o.w&=~Nn,o.n&=~Nn}e.length=n}},za=new WeakMap;let io=0,Nn=1;const ja=30;let Lt;const Yn=Symbol(""),Ua=Symbol("");class Ol{constructor(e,n=null,s){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,zm(this,s)}run(){if(!this.active)return this.fn();let e=Lt,n=On;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Lt,Lt=this,On=!0,Nn=1<<++io,io<=ja?Um(this):Ic(this),this.fn()}finally{io<=ja&&qm(this),Nn=1<<--io,Lt=this.parent,On=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Lt===this?this.deferStop=!0:this.active&&(Ic(this),this.onStop&&this.onStop(),this.active=!1)}}function Ic(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let On=!0;const Yh=[];function qs(){Yh.push(On),On=!1}function Hs(){const t=Yh.pop();On=t===void 0?!0:t}function _t(t,e,n){if(On&&Lt){let s=za.get(t);s||za.set(t,s=new Map);let o=s.get(n);o||s.set(n,o=Ml()),Jh(o)}}function Jh(t,e){let n=!1;io<=ja?Zh(t)||(t.n|=Nn,n=!Wh(t)):n=!t.has(Lt),n&&(t.add(Lt),Lt.deps.push(t))}function dn(t,e,n,s,o,r){const i=za.get(t);if(!i)return;let a=[];if(e==="clear")a=[...i.values()];else if(n==="length"&&Se(t)){const l=Number(s);i.forEach((d,u)=>{(u==="length"||u>=l)&&a.push(d)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":Se(t)?Tl(n)&&a.push(i.get("length")):(a.push(i.get(Yn)),ws(t)&&a.push(i.get(Ua)));break;case"delete":Se(t)||(a.push(i.get(Yn)),ws(t)&&a.push(i.get(Ua)));break;case"set":ws(t)&&a.push(i.get(Yn));break}if(a.length===1)a[0]&&qa(a[0]);else{const l=[];for(const d of a)d&&l.push(...d);qa(Ml(l))}}function qa(t,e){const n=Se(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 Hm=El("__proto__,__v_isRef,__isVue"),Qh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(vo)),Vm=Rl(),Gm=Rl(!1,!0),Km=Rl(!0),Fc=Wm();function Wm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=qe(this);for(let r=0,i=this.length;r<i;r++)_t(s,"get",r+"");const o=s[e](...n);return o===-1||o===!1?s[e](...n.map(qe)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){qs();const s=qe(this)[e].apply(this,n);return Hs(),s}}),t}function Zm(t){const e=qe(this);return _t(e,"has",t),e.hasOwnProperty(t)}function Rl(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?u1:sf:e?nf:tf).get(s))return s;const i=Se(s);if(!t){if(i&&je(Fc,o))return Reflect.get(Fc,o,r);if(o==="hasOwnProperty")return Zm}const a=Reflect.get(s,o,r);return(vo(o)?Qh.has(o):Hm(o))||(t||_t(s,"get",o),e)?a:ht(a)?i&&Tl(o)?a:a.value:Ze(a)?t?of(a):Vs(a):a}}const Ym=Xh(),Jm=Xh(!0);function Xh(t=!1){return function(n,s,o,r){let i=n[s];if(Ss(i)&&ht(i)&&!ht(o))return!1;if(!t&&(!kr(o)&&!Ss(o)&&(i=qe(i),o=qe(o)),!Se(n)&&ht(i)&&!ht(o)))return i.value=o,!0;const a=Se(n)&&Tl(s)?Number(s)<n.length:je(n,s),l=Reflect.set(n,s,o,r);return n===qe(r)&&(a?wo(o,i)&&dn(n,"set",s,o):dn(n,"add",s,o)),l}}function Qm(t,e){const n=je(t,e);t[e];const s=Reflect.deleteProperty(t,e);return s&&n&&dn(t,"delete",e,void 0),s}function Xm(t,e){const n=Reflect.has(t,e);return(!vo(e)||!Qh.has(e))&&_t(t,"has",e),n}function e1(t){return _t(t,"iterate",Se(t)?"length":Yn),Reflect.ownKeys(t)}const ef={get:Vm,set:Ym,deleteProperty:Qm,has:Xm,ownKeys:e1},t1={get:Km,set(t,e){return!0},deleteProperty(t,e){return!0}},n1=it({},ef,{get:Gm,set:Jm}),Nl=t=>t,Kr=t=>Reflect.getPrototypeOf(t);function Ho(t,e,n=!1,s=!1){t=t.__v_raw;const o=qe(t),r=qe(e);n||(e!==r&&_t(o,"get",e),_t(o,"get",r));const{has:i}=Kr(o),a=s?Nl:n?Il:xo;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 Vo(t,e=!1){const n=this.__v_raw,s=qe(n),o=qe(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 Go(t,e=!1){return t=t.__v_raw,!e&&_t(qe(t),"iterate",Yn),Reflect.get(t,"size",t)}function Bc(t){t=qe(t);const e=qe(this);return Kr(e).has.call(e,t)||(e.add(t),dn(e,"add",t,t)),this}function $c(t,e){e=qe(e);const n=qe(this),{has:s,get:o}=Kr(n);let r=s.call(n,t);r||(t=qe(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?wo(e,i)&&dn(n,"set",t,e):dn(n,"add",t,e),this}function zc(t){const e=qe(this),{has:n,get:s}=Kr(e);let o=n.call(e,t);o||(t=qe(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&dn(e,"delete",t,void 0),r}function jc(){const t=qe(this),e=t.size!==0,n=t.clear();return e&&dn(t,"clear",void 0,void 0),n}function Ko(t,e){return function(s,o){const r=this,i=r.__v_raw,a=qe(i),l=e?Nl:t?Il:xo;return!t&&_t(a,"iterate",Yn),i.forEach((d,u)=>s.call(o,l(d),l(u),r))}}function Wo(t,e,n){return function(...s){const o=this.__v_raw,r=qe(o),i=ws(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,d=o[t](...s),u=n?Nl:e?Il:xo;return!e&&_t(r,"iterate",l?Ua:Yn),{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 _n(t){return function(...e){return t==="delete"?!1:this}}function s1(){const t={get(r){return Ho(this,r)},get size(){return Go(this)},has:Vo,add:Bc,set:$c,delete:zc,clear:jc,forEach:Ko(!1,!1)},e={get(r){return Ho(this,r,!1,!0)},get size(){return Go(this)},has:Vo,add:Bc,set:$c,delete:zc,clear:jc,forEach:Ko(!1,!0)},n={get(r){return Ho(this,r,!0)},get size(){return Go(this,!0)},has(r){return Vo.call(this,r,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:Ko(!0,!1)},s={get(r){return Ho(this,r,!0,!0)},get size(){return Go(this,!0)},has(r){return Vo.call(this,r,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:Ko(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Wo(r,!1,!1),n[r]=Wo(r,!0,!1),e[r]=Wo(r,!1,!0),s[r]=Wo(r,!0,!0)}),[t,n,e,s]}const[o1,r1,i1,a1]=s1();function Dl(t,e){const n=e?t?a1:i1:t?r1:o1;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(je(n,o)&&o in s?n:s,o,r)}const l1={get:Dl(!1,!1)},c1={get:Dl(!1,!0)},d1={get:Dl(!0,!1)},tf=new WeakMap,nf=new WeakMap,sf=new WeakMap,u1=new WeakMap;function h1(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function f1(t){return t.__v_skip||!Object.isExtensible(t)?0:h1(Lm(t))}function Vs(t){return Ss(t)?t:Ll(t,!1,ef,l1,tf)}function p1(t){return Ll(t,!1,n1,c1,nf)}function of(t){return Ll(t,!0,t1,d1,sf)}function Ll(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=f1(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ks(t){return Ss(t)?ks(t.__v_raw):!!(t&&t.__v_isReactive)}function Ss(t){return!!(t&&t.__v_isReadonly)}function kr(t){return!!(t&&t.__v_isShallow)}function rf(t){return ks(t)||Ss(t)}function qe(t){const e=t&&t.__v_raw;return e?qe(e):t}function af(t){return wr(t,"__v_skip",!0),t}const xo=t=>Ze(t)?Vs(t):t,Il=t=>Ze(t)?of(t):t;function lf(t){On&&Lt&&(t=qe(t),Jh(t.dep||(t.dep=Ml())))}function cf(t,e){t=qe(t);const n=t.dep;n&&qa(n)}function ht(t){return!!(t&&t.__v_isRef===!0)}function g1(t){return df(t,!1)}function m1(t){return df(t,!0)}function df(t,e){return ht(t)?t:new _1(t,e)}class _1{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:qe(e),this._value=n?e:xo(e)}get value(){return lf(this),this._value}set value(e){const n=this.__v_isShallow||kr(e)||Ss(e);e=n?e:qe(e),wo(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:xo(e),cf(this))}}function dt(t){return ht(t)?t.value:t}const b1={get:(t,e,n)=>dt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ht(o)&&!ht(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function uf(t){return ks(t)?t:new Proxy(t,b1)}var hf;class y1{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 Ol(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=qe(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 v1(t,e,n=!1){let s,o;const r=De(t);return r?(s=t,o=Pt):(s=t.get,o=t.set),new y1(s,o,r||!o,n)}function Rn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Wr(r,e,n)}return o}function At(t,e,n,s){if(De(t)){const r=Rn(t,e,n,s);return r&&Vh(r)&&r.catch(i=>{Wr(i,e,n)}),r}const o=[];for(let r=0;r<t.length;r++)o.push(At(t[r],e,n,s));return o}function Wr(t,e,n,s=!0){const o=e?e.vnode:null;if(e){let r=e.parent;const i=e.proxy,a=n;for(;r;){const d=r.ec;if(d){for(let u=0;u<d.length;u++)if(d[u](t,i,a)===!1)return}r=r.parent}const l=e.appContext.config.errorHandler;if(l){Rn(l,null,10,[t,i,a]);return}}w1(t,n,o,s)}function w1(t,e,n,s=!0){console.error(t)}let ko=!1,Ha=!1;const ut=[];let jt=0;const Es=[];let sn=null,qn=0;const ff=Promise.resolve();let Pl=null;function be(t){const e=Pl||ff;return t?e.then(this?t.bind(this):t):e}function x1(t){let e=jt+1,n=ut.length;for(;e<n;){const s=e+n>>>1;Eo(ut[s])<t?e=s+1:n=s}return e}function Fl(t){(!ut.length||!ut.includes(t,ko&&t.allowRecurse?jt+1:jt))&&(t.id==null?ut.push(t):ut.splice(x1(t.id),0,t),pf())}function pf(){!ko&&!Ha&&(Ha=!0,Pl=ff.then(mf))}function k1(t){const e=ut.indexOf(t);e>jt&&ut.splice(e,1)}function E1(t){Se(t)?Es.push(...t):(!sn||!sn.includes(t,t.allowRecurse?qn+1:qn))&&Es.push(t),pf()}function Uc(t,e=ko?jt+1:0){for(;e<ut.length;e++){const n=ut[e];n&&n.pre&&(ut.splice(e,1),e--,n())}}function gf(t){if(Es.length){const e=[...new Set(Es)];if(Es.length=0,sn){sn.push(...e);return}for(sn=e,sn.sort((n,s)=>Eo(n)-Eo(s)),qn=0;qn<sn.length;qn++)sn[qn]();sn=null,qn=0}}const Eo=t=>t.id==null?1/0:t.id,C1=(t,e)=>{const n=Eo(t)-Eo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function mf(t){Ha=!1,ko=!0,ut.sort(C1);const e=Pt;try{for(jt=0;jt<ut.length;jt++){const n=ut[jt];n&&n.active!==!1&&Rn(n,null,14)}}finally{jt=0,ut.length=0,gf(),ko=!1,Pl=null,(ut.length||Es.length)&&mf()}}function A1(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Je;let o=n;const r=e.startsWith("update:"),i=r&&e.slice(7);if(i&&i in s){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:f}=s[u]||Je;f&&(o=n.map(g=>Qe(g)?g.trim():g)),h&&(o=n.map(xr))}let a,l=s[a=Ci(e)]||s[a=Ci(Zt(e))];!l&&r&&(l=s[a=Ci(rs(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):(Se(r)?r.forEach(l=>i[l]=null):it(i,r),Ze(t)&&s.set(t,i),i)}function Zr(t,e){return!t||!Hr(e)?!1:(e=e.slice(2).replace(/Once$/,""),je(t,e[0].toLowerCase()+e.slice(1))||je(t,rs(e))||je(t,e))}let lt=null,Yr=null;function Er(t){const e=lt;return lt=t,Yr=t&&t.type.__scopeId||null,e}function is(t){Yr=t}function as(){Yr=null}function Ne(t,e=lt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Qc(-1);const r=Er(e);let i;try{i=t(...o)}finally{Er(r),s._d&&Qc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ai(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 v,p;const b=Er(t);try{if(n.shapeFlag&4){const S=o||s;v=zt(u.call(S,S,h,r,g,f,m)),p=l}else{const S=e;v=zt(S.length>1?S(r,{attrs:l,slots:a,emit:d}):S(r,null)),p=e.props?l:S1(l)}}catch(S){uo.length=0,Wr(S,t,1),v=ae(St)}let x=v;if(p&&_!==!1){const S=Object.keys(p),{shapeFlag:R}=x;S.length&&R&7&&(i&&S.some(Al)&&(p=T1(p,i)),x=un(x,p))}return n.dirs&&(x=un(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),v=x,Er(b),v}const S1=t=>{let e;for(const n in t)(n==="class"||n==="style"||Hr(n))&&((e||(e={}))[n]=t[n]);return e},T1=(t,e)=>{const n={};for(const s in t)(!Al(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function M1(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;h<u.length;h++){const f=u[h];if(i[f]!==s[f]&&!Zr(d,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?qc(s,i,d):!0:!!i;return!1}function qc(t,e,n){const s=Object.keys(e);if(s.length!==Object.keys(t).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(e[r]!==t[r]&&!Zr(n,r))return!0}return!1}function O1({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const bf=t=>t.__isSuspense;function R1(t,e){e&&e.pendingBranch?Se(t)?e.effects.push(...t):e.effects.push(t):E1(t)}function cr(t,e){if(et){let n=et.provides;const s=et.parent&&et.parent.provides;s===n&&(n=et.provides=Object.create(s)),n[t]=e}}function ln(t,e,n=!1){const s=et||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 Zo={};function Jn(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=jm()===(et==null?void 0:et.scope)?et:null;let l,d=!1,u=!1;if(ht(t)?(l=()=>t.value,d=kr(t)):ks(t)?(l=()=>t,s=!0):Se(t)?(u=!0,d=t.some(x=>ks(x)||kr(x)),l=()=>t.map(x=>{if(ht(x))return x.value;if(ks(x))return Wn(x);if(De(x))return Rn(x,a,2)})):De(t)?e?l=()=>Rn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),At(t,a,3,[f])}:l=Pt,e&&s){const x=l;l=()=>Wn(x())}let h,f=x=>{h=p.onStop=()=>{Rn(x,a,4)}},g;if(To)if(f=Pt,e?n&&At(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=x_();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Pt;let m=u?new Array(t.length).fill(Zo):Zo;const _=()=>{if(p.active)if(e){const x=p.run();(s||d||(u?x.some((S,R)=>wo(S,m[R])):wo(x,m)))&&(h&&h(),At(e,a,3,[x,m===Zo?void 0:u&&m[0]===Zo?[]:m,f]),m=x)}else p.run()};_.allowRecurse=!!e;let v;o==="sync"?v=_:o==="post"?v=()=>at(_,a&&a.suspense):(_.pre=!0,a&&(_.id=a.uid),v=()=>Fl(_));const p=new Ol(l,v);e?n?_():m=p.run():o==="post"?at(p.run.bind(p),a&&a.suspense):p.run();const b=()=>{p.stop(),a&&a.scope&&Sl(a.scope.effects,p)};return g&&g.push(b),b}function N1(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=et;Ms(this);const a=yf(o,r.bind(s),n);return i?Ms(i):Qn(),a}function vf(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function Wn(t,e){if(!Ze(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),ht(t))Wn(t.value,e);else if(Se(t))for(let n=0;n<t.length;n++)Wn(t[n],e);else if(js(t)||ws(t))t.forEach(n=>{Wn(n,e)});else if(Kh(t))for(const n in t)Wn(t[n],e);return t}function wf(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xr(()=>{t.isMounted=!0}),zl(()=>{t.isUnmounting=!0}),t}const xt=[Function,Array],D1={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=Vl(),s=wf();let o;return()=>{const r=e.default&&Bl(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=qe(t),{mode:l}=a;if(s.isLeaving)return Si(i);const d=Hc(i);if(!d)return Si(i);const u=Co(d,a,s,n);Ts(d,u);const h=n.subTree,f=h&&Hc(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&&(!Tn(d,f)||g)){const _=Co(f,a,s,n);if(Ts(f,_),l==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Si(i);l==="in-out"&&d.type!==St&&(_.delayLeave=(v,p,b)=>{const x=kf(s,f);x[String(f.key)]=f,v._leaveCb=()=>{p(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=b})}return i}}},xf=D1;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 Co(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:v,onAfterAppear:p,onAppearCancelled:b}=e,x=String(t.key),S=kf(n,t),R=(y,E)=>{y&&At(y,s,9,E)},O=(y,E)=>{const M=E[1];R(y,E),Se(y)?y.every(L=>L.length<=1)&&M():y.length<=1&&M()},D={mode:r,persisted:i,beforeEnter(y){let E=a;if(!n.isMounted)if(o)E=_||a;else return;y._leaveCb&&y._leaveCb(!0);const M=S[x];M&&Tn(t,M)&&M.el._leaveCb&&M.el._leaveCb(),R(E,[y])},enter(y){let E=l,M=d,L=u;if(!n.isMounted)if(o)E=v||l,M=p||d,L=b||u;else return;let B=!1;const J=y._enterCb=P=>{B||(B=!0,P?R(L,[y]):R(M,[y]),D.delayedLeave&&D.delayedLeave(),y._enterCb=void 0)};E?O(E,[y,J]):J()},leave(y,E){const M=String(t.key);if(y._enterCb&&y._enterCb(!0),n.isUnmounting)return E();R(h,[y]);let L=!1;const B=y._leaveCb=J=>{L||(L=!0,E(),J?R(m,[y]):R(g,[y]),y._leaveCb=void 0,S[M]===t&&delete S[M])};S[M]=t,f?O(f,[y,B]):B()},clone(y){return Co(y,e,n,s)}};return D}function Si(t){if(Jr(t))return t=un(t),t.children=null,t}function Hc(t){return Jr(t)?t.children?t.children[0]:void 0:t}function Ts(t,e){t.shapeFlag&6&&t.component?Ts(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 Bl(t,e=!1,n){let s=[],o=0;for(let r=0;r<t.length;r++){let i=t[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===Oe?(i.patchFlag&128&&o++,s=s.concat(Bl(i.children,e,a))):(e||i.type!==St)&&s.push(a!=null?un(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Ef(t){return De(t)?{setup:t,name:t.name}:t}const Cs=t=>!!t.type.__asyncLoader,Jr=t=>t.type.__isKeepAlive,L1={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Vl(),s=n.ctx;if(!s.renderer)return()=>{const b=e.default&&e.default();return b&&b.length===1?b[0]:b};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(b,x,S,R,O)=>{const D=b.component;d(b,x,S,0,a),l(D.vnode,b,x,S,D,a,R,b.slotScopeIds,O),at(()=>{D.isDeactivated=!1,D.a&&xs(D.a);const y=b.props&&b.props.onVnodeMounted;y&&kt(y,D.parent,b)},a)},s.deactivate=b=>{const x=b.component;d(b,f,null,1,a),at(()=>{x.da&&xs(x.da);const S=b.props&&b.props.onVnodeUnmounted;S&&kt(S,x.parent,b),x.isDeactivated=!0},a)};function g(b){Ti(b),u(b,n,a,!0)}function m(b){o.forEach((x,S)=>{const R=Ya(x.type);R&&(!b||!b(R))&&_(S)})}function _(b){const x=o.get(b);!i||!Tn(x,i)?g(x):i&&Ti(i),o.delete(b),r.delete(b)}Jn(()=>[t.include,t.exclude],([b,x])=>{b&&m(S=>ao(b,S)),x&&m(S=>!ao(x,S))},{flush:"post",deep:!0});let v=null;const p=()=>{v!=null&&o.set(v,Mi(n.subTree))};return Xr(p),$l(p),zl(()=>{o.forEach(b=>{const{subTree:x,suspense:S}=n,R=Mi(x);if(b.type===R.type&&b.key===R.key){Ti(R);const O=R.component.da;O&&at(O,S);return}g(b)})}),()=>{if(v=null,!e.default)return null;const b=e.default(),x=b[0];if(b.length>1)return i=null,b;if(!So(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let S=Mi(x);const R=S.type,O=Ya(Cs(S)?S.type.__asyncResolved||{}:R),{include:D,exclude:y,max:E}=t;if(D&&(!O||!ao(D,O))||y&&O&&ao(y,O))return i=S,x;const M=S.key==null?R:S.key,L=o.get(M);return S.el&&(S=un(S),x.shapeFlag&128&&(x.ssContent=S)),v=M,L?(S.el=L.el,S.component=L.component,S.transition&&Ts(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}}},I1=L1;function ao(t,e){return Se(t)?t.some(n=>ao(n,e)):Qe(t)?t.split(",").includes(e):Dm(t)?t.test(e):!1}function P1(t,e){Cf(t,"a",e)}function F1(t,e){Cf(t,"da",e)}function Cf(t,e,n=et){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Qr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Jr(o.parent.vnode)&&B1(s,e,n,o),o=o.parent}}function B1(t,e,n,s){const o=Qr(e,t,s,!0);Af(()=>{Sl(s[e],o)},n)}function Ti(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Mi(t){return t.shapeFlag&128?t.ssContent:t}function Qr(t,e,n=et,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;qs(),Ms(n);const a=At(e,n,t,i);return Qn(),Hs(),a});return s?o.unshift(r):o.push(r),r}}const pn=t=>(e,n=et)=>(!To||t==="sp")&&Qr(t,(...s)=>e(...s),n),$1=pn("bm"),Xr=pn("m"),z1=pn("bu"),$l=pn("u"),zl=pn("bum"),Af=pn("um"),j1=pn("sp"),U1=pn("rtg"),q1=pn("rtc");function H1(t,e=et){Qr("ec",t,e)}function se(t,e){const n=lt;if(n===null)return t;const s=ni(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[i,a,l,d=Je]=e[r];i&&(De(i)&&(i={mounted:i,updated:i}),i.deep&&Wn(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:l,modifiers:d}))}return t}function Fn(t,e,n,s){const o=t.dirs,r=e&&e.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let l=a.dir[s];l&&(qs(),At(l,n,8,[t.el,a,t,e]),Hs())}}const jl="components";function Fe(t,e){return Tf(jl,t,!0,e)||t}const Sf=Symbol();function V1(t){return Qe(t)?Tf(jl,t,!1)||t:t||Sf}function Tf(t,e,n=!0,s=!1){const o=lt||et;if(o){const r=o.type;if(t===jl){const a=Ya(r,!1);if(a&&(a===e||a===Zt(e)||a===Gr(Zt(e))))return r}const i=Vc(o[t]||r[t],e)||Vc(o.appContext[t],e);return!i&&s?r:i}}function Vc(t,e){return t&&(t[e]||t[Zt(e)]||t[Gr(Zt(e))])}function Ve(t,e,n,s){let o;const r=n&&n[s];if(Se(t)||Qe(t)){o=new Array(t.length);for(let i=0,a=t.length;i<a;i++)o[i]=e(t[i],i,void 0,r&&r[i])}else if(typeof t=="number"){o=new Array(t);for(let i=0;i<t;i++)o[i]=e(i+1,i,void 0,r&&r[i])}else if(Ze(t))if(t[Symbol.iterator])o=Array.from(t,(i,a)=>e(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const d=i[a];o[a]=e(t[d],d,a,r&&r[a])}}else o=[];return n&&(n[s]=o),o}function Cr(t,e,n={},s,o){if(lt.isCE||lt.parent&&Cs(lt.parent)&&lt.parent.isCE)return e!=="default"&&(n.name=e),ae("slot",n,s&&s());let r=t[e];r&&r._c&&(r._d=!1),k();const i=r&&Mf(r(n)),a=nt(Oe,{key:n.key||i&&i.key||`_${e}`},i||(s?s():[]),i&&t._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Mf(t){return t.some(e=>So(e)?!(e.type===St||e.type===Oe&&!Mf(e.children)):!0)?t:null}const Va=t=>t?zf(t)?ni(t)||t.proxy:Va(t.parent):null,co=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=>Va(t.parent),$root:t=>Va(t.root),$emit:t=>t.emit,$options:t=>Ul(t),$forceUpdate:t=>t.f||(t.f=()=>Fl(t.update)),$nextTick:t=>t.n||(t.n=be.bind(t.proxy)),$watch:t=>N1.bind(t)}),Oi=(t,e)=>t!==Je&&!t.__isScriptSetup&&je(t,e),G1={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(Oi(s,e))return i[e]=1,s[e];if(o!==Je&&je(o,e))return i[e]=2,o[e];if((d=t.propsOptions[0])&&je(d,e))return i[e]=3,r[e];if(n!==Je&&je(n,e))return i[e]=4,n[e];Ga&&(i[e]=0)}}const u=co[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&&je(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,je(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Oi(o,e)?(o[e]=n,!0):s!==Je&&je(s,e)?(s[e]=n,!0):je(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&&je(t,i)||Oi(e,i)||(a=r[0])&&je(a,i)||je(s,i)||je(co,i)||je(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:je(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Ga=!0;function K1(t){const e=Ul(t),n=t.proxy,s=t.ctx;Ga=!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:g,updated:m,activated:_,deactivated:v,beforeDestroy:p,beforeUnmount:b,destroyed:x,unmounted:S,render:R,renderTracked:O,renderTriggered:D,errorCaptured:y,serverPrefetch:E,expose:M,inheritAttrs:L,components:B,directives:J,filters:P}=e;if(d&&W1(d,s,null,t.appContext.config.unwrapInjectedRef),i)for(const T in i){const H=i[T];De(H)&&(s[T]=H.bind(n))}if(o){const T=o.call(n,n);Ze(T)&&(t.data=Vs(T))}if(Ga=!0,r)for(const T in r){const H=r[T],G=De(H)?H.bind(n,n):De(H.get)?H.get.bind(n,n):Pt,we=!De(H)&&De(H.set)?H.set.bind(n):Pt,_e=Ct({get:G,set:we});Object.defineProperty(s,T,{enumerable:!0,configurable:!0,get:()=>_e.value,set:te=>_e.value=te})}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(H=>{cr(H,T[H])})}u&&Gc(u,t,"c");function Z(T,H){Se(H)?H.forEach(G=>T(G.bind(n))):H&&T(H.bind(n))}if(Z($1,h),Z(Xr,f),Z(z1,g),Z($l,m),Z(P1,_),Z(F1,v),Z(H1,y),Z(q1,O),Z(U1,D),Z(zl,b),Z(Af,S),Z(j1,E),Se(M))if(M.length){const T=t.exposed||(t.exposed={});M.forEach(H=>{Object.defineProperty(T,H,{get:()=>n[H],set:G=>n[H]=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 W1(t,e,n=Pt,s=!1){Se(t)&&(t=Ka(t));for(const o in t){const r=t[o];let i;Ze(r)?"default"in r?i=ln(r.from||o,r.default,!0):i=ln(r.from||o):i=ln(r),ht(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(Se(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)&&Jn(o,r)}else if(De(t))Jn(o,t.bind(n));else if(Ze(t))if(Se(t))t.forEach(r=>Of(r,e,n,s));else{const r=De(t.handler)?t.handler.bind(n):e[t.handler];De(r)&&Jn(o,r,t)}}function Ul(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=>Ar(l,d,i,!0)),Ar(l,e,i)),Ze(e)&&r.set(e,l),l}function Ar(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&Ar(t,r,n,!0),o&&o.forEach(i=>Ar(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=Z1[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const Z1={data:Kc,props:jn,emits:jn,methods:jn,computed:jn,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:jn,directives:jn,watch:J1,provide:Kc,inject:Y1};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 Y1(t,e){return jn(Ka(t),Ka(e))}function Ka(t){if(Se(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function pt(t,e){return t?[...new Set([].concat(t,e))]:e}function jn(t,e){return t?it(it(Object.create(null),t),e):e}function J1(t,e){if(!t)return e;if(!e)return t;const n=it(Object.create(null),t);for(const s in e)n[s]=pt(t[s],e[s]);return n}function Q1(t,e,n,s=!1){const o={},r={};wr(r,ti,1),t.propsDefaults=Object.create(null),Rf(t,e,o,r);for(const i in t.propsOptions[0])i in o||(o[i]=void 0);n?t.props=s?o:p1(o):t.type.props?t.props=o:t.props=r,t.attrs=r}function X1(t,e,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=t,a=qe(o),[l]=t.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let h=0;h<u.length;h++){let f=u[h];if(Zr(t.emitsOptions,f))continue;const g=e[f];if(l)if(je(r,f))g!==r[f]&&(r[f]=g,d=!0);else{const m=Zt(f);o[m]=Wa(l,a,m,g,t,!1)}else g!==r[f]&&(r[f]=g,d=!0)}}}else{Rf(t,e,o,r)&&(d=!0);let u;for(const h in a)(!e||!je(e,h)&&((u=rs(h))===h||!je(e,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=Wa(l,a,h,void 0,t,!0)):delete o[h]);if(r!==a)for(const h in r)(!e||!je(e,h))&&(delete r[h],d=!0)}d&&dn(t,"set","$attrs")}function Rf(t,e,n,s){const[o,r]=t.propsOptions;let i=!1,a;if(e)for(let l in e){if(lr(l))continue;const d=e[l];let u;o&&je(o,u=Zt(l))?!r||!r.includes(u)?n[u]=d:(a||(a={}))[u]=d:Zr(t.emitsOptions,l)||(!(l in s)||d!==s[l])&&(s[l]=d,i=!0)}if(r){const l=qe(n),d=a||Je;for(let u=0;u<r.length;u++){const h=r[u];n[h]=Wa(o,l,h,d[h],t,!je(d,h))}}return i}function Wa(t,e,n,s,o,r){const i=t[n];if(i!=null){const a=je(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&De(l)){const{propsDefaults:d}=o;n in d?s=d[n]:(Ms(o),s=d[n]=l.call(null,e),Qn())}else s=l}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===rs(n))&&(s=!0))}return s}function Nf(t,e,n=!1){const s=e.propsCache,o=s.get(t);if(o)return o;const r=t.props,i={},a=[];let l=!1;if(!De(t)){const u=h=>{l=!0;const[f,g]=Nf(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,vs),vs;if(Se(r))for(let u=0;u<r.length;u++){const h=Zt(r[u]);Wc(h)&&(i[h]=Je)}else if(r)for(const u in r){const h=Zt(u);if(Wc(h)){const f=r[u],g=i[h]=Se(f)||De(f)?{type:f}:Object.assign({},f);if(g){const m=Jc(Boolean,g.type),_=Jc(String,g.type);g[0]=m>-1,g[1]=_<0||m<_,(m>-1||je(g,"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 Se(e)?e.findIndex(n=>Yc(n,t)):De(e)&&Yc(e,t)?0:-1}const Df=t=>t[0]==="_"||t==="$stable",ql=t=>Se(t)?t.map(zt):[zt(t)],e_=(t,e,n)=>{if(e._n)return e;const s=Ne((...o)=>ql(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]=e_(o,r,s);else if(r!=null){const i=ql(r);e[o]=()=>i}}},If=(t,e)=>{const n=ql(e);t.slots.default=()=>n},t_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=qe(e),wr(e,"_",n)):Lf(e,t.slots={})}else t.slots={},e&&If(t,e);wr(t.slots,ti,1)},n_=(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:Om,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 s_=0;function o_(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:s_++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:k_,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=ae(s,o);return f.appContext=r,u&&e?e(f,d):t(f,d,h),a=!0,l._container=d,d.__vue_app__=l,ni(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 Za(t,e,n,s,o=!1){if(Se(t)){t.forEach((f,g)=>Za(f,e&&(Se(e)?e[g]:e),n,s,o));return}if(Cs(s)&&!o)return;const r=s.shapeFlag&4?ni(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,je(h,d)&&(h[d]=null)):ht(d)&&(d.value=null)),De(l))Rn(l,a,12,[i,u]);else{const f=Qe(l),g=ht(l);if(f||g){const m=()=>{if(t.f){const _=f?je(h,l)?h[l]:u[l]:l.value;o?Se(_)&&Sl(_,r):Se(_)?_.includes(r)||_.push(r):f?(u[l]=[r],je(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,je(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=R1;function r_(t){return i_(t)}function i_(t,e){const n=Bm();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,oe=null,le=!1,j=null,re=!!A.dynamicChildren)=>{if(w===A)return;w&&!Tn(w,A)&&($=V(w),te(w,z,oe,!0),w=null),A.patchFlag===-2&&(re=!1,A.dynamicChildren=null);const{type:q,ref:Y,shapeFlag:ce}=A;switch(q){case ei:v(w,A,F,$);break;case St:p(w,A,F,$);break;case dr:w==null&&b(A,F,$,le);break;case Oe:B(w,A,F,$,z,oe,le,j,re);break;default:ce&1?R(w,A,F,$,z,oe,le,j,re):ce&6?J(w,A,F,$,z,oe,le,j,re):(ce&64||ce&128)&&q.process(w,A,F,$,z,oe,le,j,re,X)}Y!=null&&z&&Za(Y,w&&w.ref,oe,A||w,!A)},v=(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)}},p=(w,A,F,$)=>{w==null?s(A.el=l(A.children||""),F,$):A.el=w.el},b=(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,oe,le,j,re)=>{le=le||A.type==="svg",w==null?O(A,F,$,z,oe,le,j,re):E(w,A,z,oe,le,j,re)},O=(w,A,F,$,z,oe,le,j)=>{let re,q;const{type:Y,props:ce,shapeFlag:pe,transition:fe,dirs:Ae}=w;if(re=w.el=i(w.type,oe,ce&&ce.is,ce),pe&8?u(re,w.children):pe&16&&y(w.children,re,null,$,z,oe&&Y!=="foreignObject",le,j),Ae&&Fn(w,null,$,"created"),D(re,w,w.scopeId,le,$),ce){for(const ie in ce)ie!=="value"&&!lr(ie)&&r(re,ie,null,ce[ie],oe,w.children,$,z,Q);"value"in ce&&r(re,"value",null,ce.value),(q=ce.onVnodeBeforeMount)&&kt(q,$,w)}Ae&&Fn(w,null,$,"beforeMount");const W=(!z||z&&!z.pendingBranch)&&fe&&!fe.persisted;W&&fe.beforeEnter(re),s(re,A,F),((q=ce&&ce.onVnodeMounted)||W||Ae)&&at(()=>{q&&kt(q,$,w),W&&fe.enter(re),Ae&&Fn(w,null,$,"mounted")},z)},D=(w,A,F,$,z)=>{if(F&&g(w,F),$)for(let oe=0;oe<$.length;oe++)g(w,$[oe]);if(z){let oe=z.subTree;if(A===oe){const le=z.vnode;D(w,le,le.scopeId,le.slotScopeIds,z.parent)}}},y=(w,A,F,$,z,oe,le,j,re=0)=>{for(let q=re;q<w.length;q++){const Y=w[q]=j?xn(w[q]):zt(w[q]);_(null,Y,A,F,$,z,oe,le,j)}},E=(w,A,F,$,z,oe,le)=>{const j=A.el=w.el;let{patchFlag:re,dynamicChildren:q,dirs:Y}=A;re|=w.patchFlag&16;const ce=w.props||Je,pe=A.props||Je;let fe;F&&Bn(F,!1),(fe=pe.onVnodeBeforeUpdate)&&kt(fe,F,A,w),Y&&Fn(A,w,F,"beforeUpdate"),F&&Bn(F,!0);const Ae=z&&A.type!=="foreignObject";if(q?M(w.dynamicChildren,q,j,F,$,Ae,oe):le||H(w,A,j,null,F,$,Ae,oe,!1),re>0){if(re&16)L(j,A,ce,pe,F,$,z);else if(re&2&&ce.class!==pe.class&&r(j,"class",null,pe.class,z),re&4&&r(j,"style",ce.style,pe.style,z),re&8){const W=A.dynamicProps;for(let ie=0;ie<W.length;ie++){const me=W[ie],Me=ce[me],$e=pe[me];($e!==Me||me==="value")&&r(j,me,Me,$e,z,w.children,F,$,Q)}}re&1&&w.children!==A.children&&u(j,A.children)}else!le&&q==null&&L(j,A,ce,pe,F,$,z);((fe=pe.onVnodeUpdated)||Y)&&at(()=>{fe&&kt(fe,F,A,w),Y&&Fn(A,w,F,"updated")},$)},M=(w,A,F,$,z,oe,le)=>{for(let j=0;j<A.length;j++){const re=w[j],q=A[j],Y=re.el&&(re.type===Oe||!Tn(re,q)||re.shapeFlag&70)?h(re.el):F;_(re,q,Y,null,$,z,oe,le,!0)}},L=(w,A,F,$,z,oe,le)=>{if(F!==$){if(F!==Je)for(const j in F)!lr(j)&&!(j in $)&&r(w,j,F[j],null,le,A.children,z,oe,Q);for(const j in $){if(lr(j))continue;const re=$[j],q=F[j];re!==q&&j!=="value"&&r(w,j,q,re,le,A.children,z,oe,Q)}"value"in $&&r(w,"value",F.value,$.value)}},B=(w,A,F,$,z,oe,le,j,re)=>{const q=A.el=w?w.el:a(""),Y=A.anchor=w?w.anchor:a("");let{patchFlag:ce,dynamicChildren:pe,slotScopeIds:fe}=A;fe&&(j=j?j.concat(fe):fe),w==null?(s(q,F,$),s(Y,F,$),y(A.children,F,Y,z,oe,le,j,re)):ce>0&&ce&64&&pe&&w.dynamicChildren?(M(w.dynamicChildren,pe,F,z,oe,le,j),(A.key!=null||z&&A===z.subTree)&&Ff(w,A,!0)):H(w,A,F,Y,z,oe,le,j,re)},J=(w,A,F,$,z,oe,le,j,re)=>{A.slotScopeIds=j,w==null?A.shapeFlag&512?z.ctx.activate(A,F,$,le,re):P(A,F,$,z,oe,le,re):ue(w,A,re)},P=(w,A,F,$,z,oe,le)=>{const j=w.component=g_(w,$,z);if(Jr(w)&&(j.ctx.renderer=X),m_(j),j.asyncDep){if(z&&z.registerDep(j,Z),!w.el){const re=j.subTree=ae(St);p(null,re,A,F)}return}Z(j,w,A,F,z,oe,le)},ue=(w,A,F)=>{const $=A.component=w.component;if(M1(w,A,F))if($.asyncDep&&!$.asyncResolved){T($,A,F);return}else $.next=A,k1($.update),$.update();else A.el=w.el,$.vnode=A},Z=(w,A,F,$,z,oe,le)=>{const j=()=>{if(w.isMounted){let{next:Y,bu:ce,u:pe,parent:fe,vnode:Ae}=w,W=Y,ie;Bn(w,!1),Y?(Y.el=Ae.el,T(w,Y,le)):Y=Ae,ce&&xs(ce),(ie=Y.props&&Y.props.onVnodeBeforeUpdate)&&kt(ie,fe,Y,Ae),Bn(w,!0);const me=Ai(w),Me=w.subTree;w.subTree=me,_(Me,me,h(Me.el),V(Me),w,z,oe),Y.el=me.el,W===null&&O1(w,me.el),pe&&at(pe,z),(ie=Y.props&&Y.props.onVnodeUpdated)&&at(()=>kt(ie,fe,Y,Ae),z)}else{let Y;const{el:ce,props:pe}=A,{bm:fe,m:Ae,parent:W}=w,ie=Cs(A);if(Bn(w,!1),fe&&xs(fe),!ie&&(Y=pe&&pe.onVnodeBeforeMount)&&kt(Y,W,A),Bn(w,!0),ce&&he){const me=()=>{w.subTree=Ai(w),he(ce,w.subTree,w,z,null)};ie?A.type.__asyncLoader().then(()=>!w.isUnmounted&&me()):me()}else{const me=w.subTree=Ai(w);_(null,me,F,$,w,z,oe),A.el=me.el}if(Ae&&at(Ae,z),!ie&&(Y=pe&&pe.onVnodeMounted)){const me=A;at(()=>kt(Y,W,me),z)}(A.shapeFlag&256||W&&Cs(W.vnode)&&W.vnode.shapeFlag&256)&&w.a&&at(w.a,z),w.isMounted=!0,A=F=$=null}},re=w.effect=new Ol(j,()=>Fl(q),w.scope),q=w.update=()=>re.run();q.id=w.uid,Bn(w,!0),q()},T=(w,A,F)=>{A.component=w;const $=w.vnode.props;w.vnode=A,w.next=null,X1(w,A.props,$,F),n_(w,A.children,F),qs(),Uc(),Hs()},H=(w,A,F,$,z,oe,le,j,re=!1)=>{const q=w&&w.children,Y=w?w.shapeFlag:0,ce=A.children,{patchFlag:pe,shapeFlag:fe}=A;if(pe>0){if(pe&128){we(q,ce,F,$,z,oe,le,j,re);return}else if(pe&256){G(q,ce,F,$,z,oe,le,j,re);return}}fe&8?(Y&16&&Q(q,z,oe),ce!==q&&u(F,ce)):Y&16?fe&16?we(q,ce,F,$,z,oe,le,j,re):Q(q,z,oe,!0):(Y&8&&u(F,""),fe&16&&y(ce,F,$,z,oe,le,j,re))},G=(w,A,F,$,z,oe,le,j,re)=>{w=w||vs,A=A||vs;const q=w.length,Y=A.length,ce=Math.min(q,Y);let pe;for(pe=0;pe<ce;pe++){const fe=A[pe]=re?xn(A[pe]):zt(A[pe]);_(w[pe],fe,F,null,z,oe,le,j,re)}q>Y?Q(w,z,oe,!0,!1,ce):y(A,F,$,z,oe,le,j,re,ce)},we=(w,A,F,$,z,oe,le,j,re)=>{let q=0;const Y=A.length;let ce=w.length-1,pe=Y-1;for(;q<=ce&&q<=pe;){const fe=w[q],Ae=A[q]=re?xn(A[q]):zt(A[q]);if(Tn(fe,Ae))_(fe,Ae,F,null,z,oe,le,j,re);else break;q++}for(;q<=ce&&q<=pe;){const fe=w[ce],Ae=A[pe]=re?xn(A[pe]):zt(A[pe]);if(Tn(fe,Ae))_(fe,Ae,F,null,z,oe,le,j,re);else break;ce--,pe--}if(q>ce){if(q<=pe){const fe=pe+1,Ae=fe<Y?A[fe].el:$;for(;q<=pe;)_(null,A[q]=re?xn(A[q]):zt(A[q]),F,Ae,z,oe,le,j,re),q++}}else if(q>pe)for(;q<=ce;)te(w[q],z,oe,!0),q++;else{const fe=q,Ae=q,W=new Map;for(q=Ae;q<=pe;q++){const ot=A[q]=re?xn(A[q]):zt(A[q]);ot.key!=null&&W.set(ot.key,q)}let ie,me=0;const Me=pe-Ae+1;let $e=!1,We=0;const Pe=new Array(Me);for(q=0;q<Me;q++)Pe[q]=0;for(q=fe;q<=ce;q++){const ot=w[q];if(me>=Me){te(ot,z,oe,!0);continue}let ct;if(ot.key!=null)ct=W.get(ot.key);else for(ie=Ae;ie<=pe;ie++)if(Pe[ie-Ae]===0&&Tn(ot,A[ie])){ct=ie;break}ct===void 0?te(ot,z,oe,!0):(Pe[ct-Ae]=q+1,ct>=We?We=ct:$e=!0,_(ot,A[ct],F,null,z,oe,le,j,re),me++)}const tt=$e?a_(Pe):vs;for(ie=tt.length-1,q=Me-1;q>=0;q--){const ot=Ae+q,ct=A[ot],Nc=ot+1<Y?A[ot+1].el:$;Pe[q]===0?_(null,ct,F,Nc,z,oe,le,j,re):$e&&(ie<0||q!==tt[ie]?_e(ct,F,Nc,2):ie--)}}},_e=(w,A,F,$,z=null)=>{const{el:oe,type:le,transition:j,children:re,shapeFlag:q}=w;if(q&6){_e(w.component.subTree,A,F,$);return}if(q&128){w.suspense.move(A,F,$);return}if(q&64){le.move(w,A,F,X);return}if(le===Oe){s(oe,A,F);for(let ce=0;ce<re.length;ce++)_e(re[ce],A,F,$);s(w.anchor,A,F);return}if(le===dr){x(w,A,F);return}if($!==2&&q&1&&j)if($===0)j.beforeEnter(oe),s(oe,A,F),at(()=>j.enter(oe),z);else{const{leave:ce,delayLeave:pe,afterLeave:fe}=j,Ae=()=>s(oe,A,F),W=()=>{ce(oe,()=>{Ae(),fe&&fe()})};pe?pe(oe,Ae,W):W()}else s(oe,A,F)},te=(w,A,F,$=!1,z=!1)=>{const{type:oe,props:le,ref:j,children:re,dynamicChildren:q,shapeFlag:Y,patchFlag:ce,dirs:pe}=w;if(j!=null&&Za(j,null,F,w,!0),Y&256){A.ctx.deactivate(w);return}const fe=Y&1&&pe,Ae=!Cs(w);let W;if(Ae&&(W=le&&le.onVnodeBeforeUnmount)&&kt(W,A,w),Y&6)N(w.component,F,$);else{if(Y&128){w.suspense.unmount(F,$);return}fe&&Fn(w,null,A,"beforeUnmount"),Y&64?w.type.remove(w,A,F,z,X,$):q&&(oe!==Oe||ce>0&&ce&64)?Q(q,A,F,!1,!0):(oe===Oe&&ce&384||!z&&Y&16)&&Q(re,A,F),$&&ke(w)}(Ae&&(W=le&&le.onVnodeUnmounted)||fe)&&at(()=>{W&&kt(W,A,w),fe&&Fn(w,null,A,"unmounted")},F)},ke=w=>{const{type:A,el:F,anchor:$,transition:z}=w;if(A===Oe){Te(F,$);return}if(A===dr){S(w);return}const oe=()=>{o(F),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(w.shapeFlag&1&&z&&!z.persisted){const{leave:le,delayLeave:j}=z,re=()=>le(F,oe);j?j(w.el,oe,re):re()}else oe()},Te=(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:oe,subTree:le,um:j}=w;$&&xs($),z.stop(),oe&&(oe.active=!1,te(le,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,oe=0)=>{for(let le=oe;le<w.length;le++)te(w[le],A,F,$,z)},V=w=>w.shapeFlag&6?V(w.component.subTree):w.shapeFlag&128?w.suspense.next():f(w.anchor||w.el),ne=(w,A,F)=>{w==null?A._vnode&&te(A._vnode,null,null,!0):_(A._vnode||null,w,A,null,null,null,F),Uc(),gf(),A._vnode=w},X={p:_,um:te,m:_e,r:ke,mt:P,mc:y,pc:H,pbc:M,n:V,o:t};let ge,he;return e&&([ge,he]=e(X)),{render:ne,hydrate:ge,createApp:o_(ne,ge)}}function Bn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Ff(t,e,n=!1){const s=t.children,o=e.children;if(Se(s)&&Se(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=xn(o[r]),a.el=i.el),n||Ff(i,a)),a.type===ei&&(a.el=i.el)}}function a_(t){const e=t.slice(),n=[0];let s,o,r,i,a;const l=t.length;for(s=0;s<l;s++){const d=t[s];if(d!==0){if(o=n[n.length-1],t[o]<d){e[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,t[n[a]]<d?r=a+1:i=a;d<t[n[r]]&&(r>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 l_=t=>t.__isTeleport,Oe=Symbol(void 0),ei=Symbol(void 0),St=Symbol(void 0),dr=Symbol(void 0),uo=[];let It=null;function k(t=!1){uo.push(It=t?null:[])}function c_(){uo.pop(),It=uo[uo.length-1]||null}let Ao=1;function Qc(t){Ao+=t}function Bf(t){return t.dynamicChildren=Ao>0?It||vs:null,c_(),Ao>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 nt(t,e,n,s,o){return Bf(ae(t,e,n,s,o,!0))}function So(t){return t?t.__v_isVNode===!0:!1}function Tn(t,e){return t.type===e.type&&t.key===e.key}const ti="__vInternal",$f=({key:t})=>t??null,ur=({ref:t,ref_key:e,ref_for:n})=>t!=null?Qe(t)||ht(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===Oe?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&$f(e),ref:e&&ur(e),scopeId:Yr,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?(Hl(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Qe(n)?8:16),Ao>0&&!i&&It&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&It.push(l),l}const ae=d_;function d_(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===Sf)&&(t=St),So(t)){const a=un(t,e,!0);return n&&Hl(a,n),Ao>0&&!r&&It&&(a.shapeFlag&6?It[It.indexOf(t)]=a:It.push(a)),a.patchFlag|=-2,a}if(v_(t)&&(t=t.__vccOpts),e){e=u_(e);let{class:a,style:l}=e;a&&!Qe(a)&&(e.class=Ce(a)),Ze(l)&&(rf(l)&&!Se(l)&&(l=it({},l)),e.style=yt(l))}const i=Qe(t)?1:bf(t)?128:l_(t)?64:Ze(t)?4:De(t)?2:0;return c(t,e,n,s,o,i,r,!0)}function u_(t){return t?rf(t)||ti in t?it({},t):t:null}function un(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?h_(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?Se(o)?o.concat(ur(e)):[o,ur(e)]:ur(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!==Oe?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&&un(t.ssContent),ssFallback:t.ssFallback&&un(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function xe(t=" ",e=0){return ae(ei,null,t,e)}function Gs(t,e){const n=ae(dr,null,t);return n.staticCount=e,n}function I(t="",e=!1){return e?(k(),nt(St,null,t)):ae(St,null,t)}function zt(t){return t==null||typeof t=="boolean"?ae(St):Se(t)?ae(Oe,null,t.slice()):typeof t=="object"?xn(t):ae(ei,null,String(t))}function xn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:un(t)}function Hl(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Se(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Hl(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(ti in e)?e._ctx=lt:o===3&&lt&&(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 h_(...t){const e={};for(let n=0;n<t.length;n++){const s=t[n];for(const o in s)if(o==="class")e.class!==s.class&&(e.class=Ce([e.class,s.class]));else if(o==="style")e.style=yt([e.style,s.style]);else if(Hr(o)){const r=e[o],i=s[o];i&&r!==i&&!(Se(r)&&r.includes(i))&&(e[o]=r?[].concat(r,i):i)}else o!==""&&(e[o]=s[o])}return e}function kt(t,e,n,s=null){At(t,e,7,[n,s])}const f_=Pf();let p_=0;function g_(t,e,n){const s=t.type,o=(e?e.appContext:t.appContext)||f_,r={uid:p_++,vnode:t,type:s,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new $m(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Nf(s,o),emitsOptions:_f(s,o),emit:null,emitted:null,propsDefaults:Je,inheritAttrs:s.inheritAttrs,ctx:Je,data:Je,props:Je,attrs:Je,slots:Je,refs:Je,setupState:Je,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=A1.bind(null,r),t.ce&&t.ce(r),r}let et=null;const Vl=()=>et||lt,Ms=t=>{et=t,t.scope.on()},Qn=()=>{et&&et.scope.off(),et=null};function zf(t){return t.vnode.shapeFlag&4}let To=!1;function m_(t,e=!1){To=e;const{props:n,children:s}=t.vnode,o=zf(t);Q1(t,n,o,e),t_(t,s);const r=o?__(t,e):void 0;return To=!1,r}function __(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=af(new Proxy(t.ctx,G1));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?y_(t):null;Ms(t),qs();const r=Rn(s,t,0,[t.props,o]);if(Hs(),Qn(),Vh(r)){if(r.then(Qn,Qn),e)return r.then(i=>{Xc(t,i,e)}).catch(i=>{Wr(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||Ul(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}Ms(t),qs(),K1(t),Hs(),Qn()}function b_(t){return new Proxy(t.attrs,{get(e,n){return _t(t,"get","$attrs"),e[n]}})}function y_(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=b_(t))},slots:t.slots,emit:t.emit,expose:e}}function ni(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 co)return co[n](t)},has(e,n){return n in e||n in co}}))}function Ya(t,e=!0){return De(t)?t.displayName||t.name:t.name||e&&t.__name}function v_(t){return De(t)&&"__vccOpts"in t}const Ct=(t,e)=>v1(t,e,To);function Gl(t,e,n){const s=arguments.length;return s===2?Ze(e)&&!Se(e)?So(e)?ae(t,null,[e]):ae(t,e):ae(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&So(n)&&(n=[n]),ae(t,e,n))}const w_=Symbol(""),x_=()=>ln(w_),k_="3.2.47",E_="http://www.w3.org/2000/svg",Hn=typeof document<"u"?document:null,td=Hn&&Hn.createElement("template"),C_={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?Hn.createElementNS(E_,t):Hn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Hn.createTextNode(t),createComment:t=>Hn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Hn.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?`<svg>${t}</svg>`: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 A_(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 S_(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&&Ja(s,r,"");for(const r in n)Ja(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 Ja(t,e,n){if(Se(n))n.forEach(s=>Ja(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=T_(t,e);nd.test(n)?t.setProperty(rs(s),n.replace(nd,""),"important"):t[s]=n}}const sd=["Webkit","Moz","ms"],Ri={};function T_(t,e){const n=Ri[e];if(n)return n;let s=Zt(e);if(s!=="filter"&&s in t)return Ri[e]=s;s=Gr(s);for(let o=0;o<sd.length;o++){const r=sd[o]+s;if(r in t)return Ri[e]=r}return e}const od="http://www.w3.org/1999/xlink";function M_(t,e,n,s,o){if(s&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(od,e.slice(6,e.length)):t.setAttributeNS(od,e,n);else{const r=Tm(e);n==null||r&&!qh(n)?t.removeAttribute(e):t.setAttribute(e,r?"":n)}}function O_(t,e,n,s,o,r,i){if(e==="innerHTML"||e==="textContent"){s&&i(s,o,r),t[e]=n??"";return}if(e==="value"&&t.tagName!=="PROGRESS"&&!t.tagName.includes("-")){t._value=n;const l=n??"";(t.value!==l||t.tagName==="OPTION")&&(t.value=l),n==null&&t.removeAttribute(e);return}let a=!1;if(n===""||n==null){const l=typeof t[e];l==="boolean"?n=qh(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{t[e]=n}catch{}a&&t.removeAttribute(e)}function rn(t,e,n,s){t.addEventListener(e,n,s)}function R_(t,e,n,s){t.removeEventListener(e,n,s)}function N_(t,e,n,s,o=null){const r=t._vei||(t._vei={}),i=r[e];if(s&&i)i.value=s;else{const[a,l]=D_(e);if(s){const d=r[e]=P_(s,o);rn(t,a,d,l)}else i&&(R_(t,a,i,l),r[e]=void 0)}}const rd=/(?:Once|Passive|Capture)$/;function D_(t){let e;if(rd.test(t)){e={};let s;for(;s=t.match(rd);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):rs(t.slice(2)),e]}let Ni=0;const L_=Promise.resolve(),I_=()=>Ni||(L_.then(()=>Ni=0),Ni=Date.now());function P_(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At(F_(s,n.value),e,5,[s])};return n.value=t,n.attached=I_(),n}function F_(t,e){if(Se(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]/,B_=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?A_(t,s,o):e==="style"?S_(t,n,s):Hr(e)?Al(e)||N_(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):$_(t,e,s,o))?O_(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),M_(t,e,s,o))};function $_(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 bn="transition",eo="animation",Os=(t,{slots:e})=>Gl(xf,qf(t),e);Os.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},z_=Os.props=it({},xf.props,Uf),$n=(t,e=[])=>{Se(t)?t.forEach(n=>n(...e)):t&&t(...e)},ad=t=>t?Se(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:g=`${n}-leave-to`}=t,m=j_(o),_=m&&m[0],v=m&&m[1],{onBeforeEnter:p,onEnter:b,onEnterCancelled:x,onLeave:S,onLeaveCancelled:R,onBeforeAppear:O=p,onAppear:D=b,onAppearCancelled:y=x}=e,E=(B,J,P)=>{wn(B,J?u:a),wn(B,J?d:i),P&&P()},M=(B,J)=>{B._isLeaving=!1,wn(B,h),wn(B,g),wn(B,f),J&&J()},L=B=>(J,P)=>{const ue=B?D:b,Z=()=>E(J,B,P);$n(ue,[J,Z]),ld(()=>{wn(J,B?l:r),nn(J,B?u:a),ad(ue)||cd(J,s,_,Z)})};return it(e,{onBeforeEnter(B){$n(p,[B]),nn(B,r),nn(B,i)},onBeforeAppear(B){$n(O,[B]),nn(B,l),nn(B,d)},onEnter:L(!1),onAppear:L(!0),onLeave(B,J){B._isLeaving=!0;const P=()=>M(B,J);nn(B,h),Vf(),nn(B,f),ld(()=>{B._isLeaving&&(wn(B,h),nn(B,g),ad(S)||cd(B,s,v,P))}),$n(S,[B,P])},onEnterCancelled(B){E(B,!1),$n(x,[B])},onAppearCancelled(B){E(B,!0),$n(y,[B])},onLeaveCancelled(B){M(B),$n(R,[B])}})}function j_(t){if(t==null)return null;if(Ze(t))return[Di(t.enter),Di(t.leave)];{const e=Di(t);return[e,e]}}function Di(t){return Fm(t)}function nn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function wn(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 U_=0;function cd(t,e,n,s){const o=t._endId=++U_,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=g=>{g.target===t&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),t.addEventListener(d,f)}function Hf(t,e){const n=window.getComputedStyle(t),s=m=>(n[m]||"").split(", "),o=s(`${bn}Delay`),r=s(`${bn}Duration`),i=dd(o,r),a=s(`${eo}Delay`),l=s(`${eo}Duration`),d=dd(a,l);let u=null,h=0,f=0;e===bn?i>0&&(u=bn,h=i,f=r.length):e===eo?d>0&&(u=eo,h=d,f=l.length):(h=Math.max(i,d),u=h>0?i>d?bn:eo:null,f=u?u===bn?r.length:l.length:0);const g=u===bn&&/\b(transform|all)(,|$)/.test(s(`${bn}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:g}}function dd(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>ud(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({},z_,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Vl(),s=wf();let o,r;return $l(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!K_(o[0].el,n.vnode.el,i))return;o.forEach(H_),o.forEach(V_);const a=o.filter(G_);Vf(),a.forEach(l=>{const d=l.el,u=d.style;nn(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,wn(d,i))};d.addEventListener("transitionend",h)})}),()=>{const i=qe(t),a=qf(i);let l=i.tag||Oe;o=r,r=e.default?Bl(e.default()):[];for(let d=0;d<r.length;d++){const u=r[d];u.key!=null&&Ts(u,Co(u,a,s,n))}if(o)for(let d=0;d<o.length;d++){const u=o[d];Ts(u,Co(u,a,s,n)),Gf.set(u,u.el.getBoundingClientRect())}return ae(l,null,r)}}},q_=t=>delete t.mode;Wf.props;const Ut=Wf;function H_(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function V_(t){Kf.set(t,t.el.getBoundingClientRect())}function G_(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 K_(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 Dn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Se(e)?n=>xs(e,n):e};function W_(t){t.target.composing=!0}function hd(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Re={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=Dn(o);const r=s||o.props&&o.props.type==="number";rn(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=xr(a)),t._assign(a)}),n&&rn(t,"change",()=>{t.value=t.value.trim()}),e||(rn(t,"compositionstart",W_),rn(t,"compositionend",hd),rn(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=Dn(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&xr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},Xe={deep:!0,created(t,e,n){t._assign=Dn(n),rn(t,"change",()=>{const s=t._modelValue,o=Rs(t),r=t.checked,i=t._assign;if(Se(s)){const a=Cl(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(js(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=Dn(n),fd(t,e,n)}};function fd(t,{value:e,oldValue:n},s){t._modelValue=e,Se(e)?t.checked=Cl(e,s.props.value)>-1:js(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=ts(e,Zf(t,!0)))}const Z_={created(t,{value:e},n){t.checked=ts(e,n.props.value),t._assign=Dn(n),rn(t,"change",()=>{t._assign(Rs(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t._assign=Dn(s),e!==n&&(t.checked=ts(e,s.props.value))}},an={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=js(e);rn(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?xr(Rs(i)):Rs(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=Dn(s)},mounted(t,{value:e}){pd(t,e)},beforeUpdate(t,e,n){t._assign=Dn(n)},updated(t,{value:e}){pd(t,e)}};function pd(t,e){const n=t.multiple;if(!(n&&!Se(e)&&!js(e))){for(let s=0,o=t.options.length;s<o;s++){const r=t.options[s],i=Rs(r);if(n)Se(e)?r.selected=Cl(e,i)>-1:r.selected=e.has(i);else if(ts(Rs(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Rs(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 Y_=["ctrl","shift","alt","meta"],J_={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)=>Y_.some(n=>t[`${n}Key`]&&!e.includes(n))},de=(t,e)=>(n,...s)=>{for(let o=0;o<e.length;o++){const r=J_[e[o]];if(r&&r(n,e))return}return t(n,...s)},Q_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Qa=(t,e)=>n=>{if(!("key"in n))return;const s=rs(n.key);if(e.some(o=>o===s||Q_[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):to(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),to(t,!0),s.enter(t)):s.leave(t,()=>{to(t,!1)}):to(t,e))},beforeUnmount(t,{value:e}){to(t,e)}};function to(t,e){t.style.display=e?t._vod:"none"}const X_=it({patchProp:B_},C_);let gd;function e0(){return gd||(gd=r_(X_))}const t0=(...t)=>{const e=e0().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=n0(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 n0(t){return Qe(t)?document.querySelector(t):t}function s0(){return Yf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Yf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const o0=typeof Proxy=="function",r0="devtools-plugin:setup",i0="plugin:settings:set";let us,Xa;function a0(){var t;return us!==void 0||(typeof window<"u"&&window.performance?(us=!0,Xa=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(us=!0,Xa=global.perf_hooks.performance):us=!1),us}function l0(){return a0()?Xa.now():Date.now()}class c0{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 l0()}},n&&n.on(i0,(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 d0(t,e){const n=t,s=Yf(),o=s0(),r=o0&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(r0,t,e);else{const i=r?new c0(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 u0="store";function Ks(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function h0(t){return t!==null&&typeof t=="object"}function f0(t){return t&&typeof t.then=="function"}function p0(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;si(t,n,[],t._modules.root,!0),Kl(t,n,e)}function Kl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Ks(o,function(i,a){r[a]=p0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Vs({data:e}),t.strict&&y0(t),s&&n&&t._withCommit(function(){s.data=null})}function si(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=Wl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var d=s.context=g0(t,i,n);s.forEachMutation(function(u,h){var f=i+h;m0(t,f,u,d)}),s.forEachAction(function(u,h){var f=u.root?h:i+h,g=u.handler||u;_0(t,f,g,d)}),s.forEachGetter(function(u,h){var f=i+h;b0(t,f,u,d)}),s.forEachChild(function(u,h){si(t,e,n.concat(h),u,o)})}function g0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=Sr(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=Sr(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 Wl(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 m0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function _0(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 f0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function b0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function y0(t){Jn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Wl(t,e){return e.reduce(function(n,s){return n[s]},t)}function Sr(t,e,n){return h0(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var v0="vuex bindings",md="vuex:mutations",Li="vuex:actions",hs="vuex",w0=0;function x0(t,e){d0({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:[v0]},function(n){n.addTimelineLayer({id:md,label:"Vuex Mutations",color:_d}),n.addTimelineLayer({id:Li,label:"Vuex Actions",color:_d}),n.addInspector({id:hs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===hs)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===hs){var o=s.nodeId;Xf(e,o),s.state=C0(S0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===hs){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(hs),n.sendInspectorState(hs),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=w0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Li,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:Li,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var _d=8702998,k0=6710886,E0=16777215,ep={label:"namespaced",textColor:E0,backgroundColor:k0};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 C0(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=A0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?tp(i):i,editable:!1,value:el(function(){return r[i]})}})}return o}function A0(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]=el(function(){return t[n]})}else e[n]=el(function(){return t[n]})}),e}function S0(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 el(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){Ks(this._children,e)};Bt.prototype.forEachGetter=function(e){this._rawModule.getters&&Ks(this._rawModule.getters,e)};Bt.prototype.forEachAction=function(e){this._rawModule.actions&&Ks(this._rawModule.actions,e)};Bt.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ks(this._rawModule.mutations,e)};Object.defineProperties(Bt.prototype,op);var ls=function(e){this.register([],e,!1)};ls.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};ls.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};ls.prototype.update=function(e){rp([],this.root,e)};ls.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&&Ks(n.modules,function(a,l){o.register(e.concat(l),a,s)})};ls.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)};ls.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 T0(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 ls(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;si(this,u,[],this._modules.root),Kl(this,u),s.forEach(function(h){return h(n)})},Zl={state:{configurable:!0}};bt.prototype.install=function(e,n){e.provide(n||u0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&x0(e,this)};Zl.state.get=function(){return this._state.data};Zl.state.set=function(t){};bt.prototype.commit=function(e,n,s){var o=this,r=Sr(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=Sr(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 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 Jn(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),si(this,this.state,e,this._modules.get(e),s.preserveState),Kl(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=Wl(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,Zl);function ip(t,e){return function(){return t.apply(e,arguments)}}const{toString:M0}=Object.prototype,{getPrototypeOf:Yl}=Object,oi=(t=>e=>{const n=M0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),gn=t=>(t=t.toLowerCase(),e=>oi(e)===t),ri=t=>e=>typeof e===t,{isArray:Ws}=Array,Mo=ri("undefined");function O0(t){return t!==null&&!Mo(t)&&t.constructor!==null&&!Mo(t.constructor)&&hn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ap=gn("ArrayBuffer");function R0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ap(t.buffer),e}const N0=ri("string"),hn=ri("function"),lp=ri("number"),Jl=t=>t!==null&&typeof t=="object",D0=t=>t===!0||t===!1,hr=t=>{if(oi(t)!=="object")return!1;const e=Yl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},L0=gn("Date"),I0=gn("File"),P0=gn("Blob"),F0=gn("FileList"),B0=t=>Jl(t)&&hn(t.pipe),$0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||hn(t.append)&&((e=oi(t))==="formdata"||e==="object"&&hn(t.toString)&&t.toString()==="[object FormData]"))},z0=gn("URLSearchParams"),j0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Po(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Ws(t))for(s=0,o=t.length;s<o;s++)e.call(null,t[s],s,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),i=r.length;let a;for(s=0;s<i;s++)a=r[s],e.call(null,t[a],a,t)}}function cp(t,e){e=e.toLowerCase();const n=Object.keys(t);let s=n.length,o;for(;s-- >0;)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=>!Mo(t)&&t!==dp;function tl(){const{caseless:t}=up(this)&&this||{},e={},n=(s,o)=>{const r=t&&cp(e,o)||o;hr(e[r])&&hr(s)?e[r]=tl(e[r],s):hr(s)?e[r]=tl({},s):Ws(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&Po(arguments[s],n);return e}const U0=(t,e,n,{allOwnKeys:s}={})=>(Po(e,(o,r)=>{n&&hn(o)?t[r]=ip(o,n):t[r]=o},{allOwnKeys:s}),t),q0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),H0=(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)},V0=(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&&Yl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},G0=(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},K0=t=>{if(!t)return null;if(Ws(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},W0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Yl(Uint8Array)),Z0=(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])}},Y0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},J0=gn("HTMLFormElement"),Q0=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),X0=gn("RegExp"),hp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Po(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},eb=t=>{hp(t,(e,n)=>{if(hn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(hn(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+"'")})}})},tb=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Ws(t)?s(t):s(String(t).split(e)),n},nb=()=>{},sb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ii="abcdefghijklmnopqrstuvwxyz",yd="0123456789",fp={DIGIT:yd,ALPHA:Ii,ALPHA_DIGIT:Ii+Ii.toUpperCase()+yd},ob=(t=16,e=fp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function rb(t){return!!(t&&hn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ib=t=>{const e=new Array(10),n=(s,o)=>{if(Jl(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Ws(s)?[]:{};return Po(s,(i,a)=>{const l=n(i,o+1);!Mo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},K={isArray:Ws,isArrayBuffer:ap,isBuffer:O0,isFormData:$0,isArrayBufferView:R0,isString:N0,isNumber:lp,isBoolean:D0,isObject:Jl,isPlainObject:hr,isUndefined:Mo,isDate:L0,isFile:I0,isBlob:P0,isRegExp:X0,isFunction:hn,isStream:B0,isURLSearchParams:z0,isTypedArray:W0,isFileList:F0,forEach:Po,merge:tl,extend:U0,trim:j0,stripBOM:q0,inherits:H0,toFlatObject:V0,kindOf:oi,kindOfTest:gn,endsWith:G0,toArray:K0,forEachEntry:Z0,matchAll:Y0,isHTMLForm:J0,hasOwnProperty:bd,hasOwnProp:bd,reduceDescriptors:hp,freezeMethods:eb,toObjectSet:tb,toCamelCase:Q0,noop:nb,toFiniteNumber:sb,findKey:cp,global:dp,isContextDefined:up,ALPHABET:fp,generateString:ob,isSpecCompliantForm:rb,toJSONObject:ib};function Ue(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(Ue,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=Ue.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(Ue,gp);Object.defineProperty(pp,"isAxiosError",{value:!0});Ue.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"),Ue.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const ab=null;function nl(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 lb(t){return K.isArray(t)&&!t.some(nl)}const cb=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function ii(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(_,v){return!K.isUndefined(v[_])});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 Ue("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,_,v){let p=m;if(m&&!v&&typeof m=="object"){if(K.endsWith(_,"{}"))_=s?_:_.slice(0,-2),m=JSON.stringify(m);else if(K.isArray(m)&&lb(m)||(K.isFileList(m)||K.endsWith(_,"[]"))&&(p=K.toArray(m)))return _=mp(_),p.forEach(function(x,S){!(K.isUndefined(x)||x===null)&&e.append(i===!0?vd([_],S,r):i===null?_:_+"[]",d(x))}),!1}return nl(m)?!0:(e.append(vd(v,_,r),d(m)),!1)}const h=[],f=Object.assign(cb,{defaultVisitor:u,convertValue:d,isVisitable:nl});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(p,b){(!(K.isUndefined(p)||p===null)&&o.call(e,p,K.isString(b)?b.trim():b,_,f))===!0&&g(p,_?_.concat(b):[b])}),h.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return g(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 Ql(t,e){this._pairs=[],t&&ii(t,this,e)}const _p=Ql.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 db(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||db,o=n&&n.serialize;let r;if(o?r=o(e,n):r=K.isURLSearchParams(e)?e.toString():new Ql(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class ub{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=ub,yp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hb=typeof URLSearchParams<"u"?URLSearchParams:Ql,fb=typeof FormData<"u"?FormData:null,pb=typeof Blob<"u"?Blob:null,gb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),mb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:hb,FormData:fb,Blob:pb},isStandardBrowserEnv:gb,isStandardBrowserWebWorkerEnv:mb,protocols:["http","https","file","blob","url","data"]};function _b(t,e){return ii(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 bb(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function yb(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s<o;s++)r=n[s],e[r]=t[r];return e}function vp(t){function e(n,s,o,r){let i=n[r++];const a=Number.isFinite(+i),l=r>=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]=yb(o[i])),!a)}if(K.isFormData(t)&&K.isFunction(t.entries)){const n={};return K.forEachEntry(t,(s,o)=>{e(bb(s),o,n,0)}),n}return null}const vb={"Content-Type":void 0};function wb(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 ai={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 _b(e,this.formSerializer).toString();if((a=K.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ii(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),wb(e)):e}],transformResponse:[function(e){const n=this.transitional||ai.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"?Ue.from(a,Ue.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){ai.headers[e]={}});K.forEach(["post","put","patch"],function(e){ai.headers[e]=K.merge(vb)});const Xl=ai,xb=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"]),kb=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]&&xb[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 no(t){return t&&String(t).trim().toLowerCase()}function fr(t){return t===!1||t==null?t:K.isArray(t)?t.map(fr):String(t)}function Eb(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 Cb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Pi(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 Ab(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Sb(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 li{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,d){const u=no(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]=fr(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())&&!Cb(e)?i(kb(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=no(e),e){const s=K.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return Eb(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=no(e),e){const s=K.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Pi(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=no(i),i){const a=K.findKey(s,i);a&&(!n||Pi(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||Pi(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]=fr(o),delete n[r];return}const a=e?Ab(r):String(r).trim();a!==r&&delete n[r],n[a]=fr(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=no(i);s[a]||(Sb(o,i),s[a]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}li.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.freezeMethods(li.prototype);K.freezeMethods(li);const cn=li;function Fi(t,e){const n=this||Xl,s=e||n,o=cn.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 Fo(t,e,n){Ue.call(this,t??"canceled",Ue.ERR_CANCELED,e,n),this.name="CanceledError"}K.inherits(Fo,Ue,{__CANCEL__:!0});function Tb(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Ue("Request failed with status code "+n.status,[Ue.ERR_BAD_REQUEST,Ue.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Mb=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 Ob(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Rb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function xp(t,e){return t&&!Ob(e)?Rb(t,e):e}const Nb=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 Db(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Lb(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<e)return;const g=u&&d-u;return g?Math.round(f*1e3/g):void 0}}function Ed(t,e){let n=0;const s=Lb(50,250);return o=>{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 Ib=typeof XMLHttpRequest<"u",Pb=Ib&&function(t){return new Promise(function(n,s){let o=t.data;const r=cn.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=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 g=cn.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};Tb(function(p){n(p),l()},function(p){s(p),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 Ue("Request aborted",Ue.ECONNABORTED,t,d)),d=null)},d.onerror=function(){s(new Ue("Network Error",Ue.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 Ue(m,_.clarifyTimeoutError?Ue.ETIMEDOUT:Ue.ECONNABORTED,t,d)),d=null},qt.isStandardBrowserEnv){const g=(t.withCredentials||Nb(u))&&t.xsrfCookieName&&Mb.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",Ed(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Ed(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{d&&(s(!g||g.type?new Fo(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=Db(u);if(f&&qt.protocols.indexOf(f)===-1){s(new Ue("Unsupported protocol "+f+":",Ue.ERR_BAD_REQUEST,t));return}d.send(o||null)})},pr={http:ab,xhr:Pb};K.forEach(pr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Fb={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;o<e&&(n=t[o],!(s=K.isString(n)?pr[n.toLowerCase()]:n));o++);if(!s)throw s===!1?new Ue(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(K.hasOwnProp(pr,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!K.isFunction(s))throw new TypeError("adapter is not a function");return s},adapters:pr};function Bi(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Fo(null,t)}function Cd(t){return Bi(t),t.headers=cn.from(t.headers),t.data=Fi.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Fb.getAdapter(t.adapter||Xl.adapter)(t).then(function(s){return Bi(t),s.data=Fi.call(t,t.transformResponse,s),s.headers=cn.from(s.headers),s},function(s){return wp(s)||(Bi(t),s&&s.response&&(s.response.data=Fi.call(t,t.transformResponse,s.response),s.response.headers=cn.from(s.response.headers))),Promise.reject(s)})}const Ad=t=>t instanceof cn?t.toJSON():t;function Ns(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",ec={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ec[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Sd={};ec.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 Ue(o(i," has been removed"+(n?" in "+n:"")),Ue.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 Bb(t,e,n){if(typeof t!="object")throw new Ue("options must be an object",Ue.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 Ue("option "+r+" must be "+l,Ue.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ue("Unknown option "+r,Ue.ERR_BAD_OPTION)}}const sl={assertOptions:Bb,validators:ec},yn=sl.validators;class Tr{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=Ns(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&sl.assertOptions(s,{silentJSONParsing:yn.transitional(yn.boolean),forcedJSONParsing:yn.transitional(yn.boolean),clarifyTimeoutError:yn.transitional(yn.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:sl.assertOptions(o,{encode:yn.function,serialize:yn.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=cn.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<f;)u=u.then(m[h++],m[h++]);return u}f=a.length;let g=n;for(h=0;h<f;){const m=a[h++],_=a[h++];try{g=m(g)}catch(v){_.call(this,v);break}}try{u=Cd.call(this,g)}catch(m){return Promise.reject(m)}for(h=0,f=d.length;h<f;)u=u.then(d[h++],d[h++]);return u}getUri(e){e=Ns(this.defaults,e);const n=xp(e.baseURL,e.url);return bp(n,e.params,e.paramsSerializer)}}K.forEach(["delete","get","head","options"],function(e){Tr.prototype[e]=function(n,s){return this.request(Ns(s||{},{method:e,url:n,data:(s||{}).data}))}});K.forEach(["post","put","patch"],function(e){function n(s){return function(r,i,a){return this.request(Ns(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Tr.prototype[e]=n(),Tr.prototype[e+"Form"]=n(!0)});const gr=Tr;class tc{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const s=this;this.promise.then(o=>{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 Fo(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 tc(function(o){e=o}),cancel:e}}}const $b=tc;function zb(t){return function(n){return t.apply(null,n)}}function jb(t){return K.isObject(t)&&t.isAxiosError===!0}const ol={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(ol).forEach(([t,e])=>{ol[e]=t});const Ub=ol;function Ep(t){const e=new gr(t),n=ip(gr.prototype.request,e);return K.extend(n,gr.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Ep(Ns(t,o))},n}const rt=Ep(Xl);rt.Axios=gr;rt.CanceledError=Fo;rt.CancelToken=$b;rt.isCancel=wp;rt.VERSION=kp;rt.toFormData=ii;rt.AxiosError=Ue;rt.Cancel=rt.CanceledError;rt.all=function(e){return Promise.all(e)};rt.spread=zb;rt.isAxiosError=jb;rt.mergeConfig=Ns;rt.AxiosHeaders=cn;rt.formToJSON=t=>vp(K.isHTMLForm(t)?new FormData(t):t);rt.HttpStatusCode=Ub;rt.default=rt;const ye=rt;/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const ms=typeof window<"u";function qb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ge=Object.assign;function $i(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 ho=()=>{},Ft=Array.isArray,Hb=/\/$/,Vb=t=>t.replace(Hb,"");function zi(t,e,n="/"){let s,o={},r="",i="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&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=Zb(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Gb(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 Kb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Ds(e.matched[s],n.matched[o])&&Cp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ds(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(!Wb(t[n],e[n]))return!1;return!0}function Wb(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 Zb(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;r<s.length;r++)if(i=s[r],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Oo;(function(t){t.pop="pop",t.push="push"})(Oo||(Oo={}));var fo;(function(t){t.back="back",t.forward="forward",t.unknown=""})(fo||(fo={}));function Yb(t){if(!t)if(ms){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Vb(t)}const Jb=/^[^#]+#/;function Qb(t,e){return t.replace(Jb,"#")+e}function Xb(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 ci=()=>({left:window.pageXOffset,top:window.pageYOffset});function ey(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=Xb(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 rl=new Map;function ty(t,e){rl.set(t,e)}function ny(t){const e=rl.get(t);return rl.delete(t),e}let sy=()=>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 oy(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const g=Ap(t,location),m=n.value,_=e.value;let v=0;if(f){if(n.value=g,e.value=f,i&&i===m){i=null;return}v=_?f.position-_.position:0}else s(g);o.forEach(p=>{p(n.value,m,{delta:v,type:Oo.pop,direction:v?v>0?fo.forward:fo.back:fo.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(Ge({},f.state,{scroll:ci()}),"")}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?ci():null}}function ry(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:sy()+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=Ge({},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=Ge({},o.value,e.state,{forward:l,scroll:ci()});r(u.current,u,!0);const h=Ge({},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 iy(t){t=Yb(t);const e=ry(t),n=oy(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ge({location:"",base:t,go:s,createHref:Qb.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 ay(t){return typeof t=="string"||t&&typeof t=="object"}function Sp(t){return typeof t=="string"||typeof t=="symbol"}const vn={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 Ls(t,e){return Ge(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="[^/]+?",ly={sensitive:!1,strict:!1,start:!0,end:!0},cy=/[.+*?^${}()[\]/\\]/g;function dy(t,e){const n=Ge({},ly,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;h<d.length;h++){const f=d[h];let g=40+(n.sensitive?.25:0);if(f.type===0)h||(o+="/"),o+=f.value.replace(cy,"\\$&"),g+=40;else if(f.type===1){const{value:m,repeatable:_,optional:v,regexp:p}=f;r.push({name:m,repeatable:_,optional:v});const b=p||Dd;if(b!==Dd){g+=10;try{new RegExp(`(${b})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${m}" (${b}): `+S.message)}}let x=_?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;h||(x=v&&d.length<2?`(?:/${x})`:"/"+x),v&&(x+="?"),o+=x,g+=20,v&&(g+=-8),_&&(g+=-20),b===".*"&&(g+=-50)}u.push(g)}s.push(u)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(d){const u=d.match(i),h={};if(!u)return null;for(let f=1;f<u.length;f++){const g=u[f]||"",m=r[f-1];h[m.name]=g&&m.repeatable?g.split("/"):g}return h}function l(d){let u="",h=!1;for(const f of t){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const g of f)if(g.type===0)u+=g.value;else if(g.type===1){const{value:m,repeatable:_,optional:v}=g,p=m in d?d[m]:"";if(Ft(p)&&!_)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const b=Ft(p)?p.join("/"):p;if(!b)if(v)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${m}"`);u+=b}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function uy(t,e){let n=0;for(;n<t.length&&n<e.length;){const s=e[n]-t[n];if(s)return s;n++}return t.length<e.length?t.length===1&&t[0]===40+40?-1:1:t.length>e.length?e.length===1&&e[0]===40+40?1:-1:0}function hy(t,e){let n=0;const s=t.score,o=e.score;for(;n<s.length&&n<o.length;){const r=uy(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(Ld(s))return 1;if(Ld(o))return-1}return o.length-s.length}function Ld(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const fy={type:0,value:""},py=/[a-zA-Z0-9_]/;function gy(t){if(!t)return[[]];if(t==="/")return[[fy]];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<t.length;){if(l=t[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(d&&h(),i()):l===":"?(h(),n=1):f();break;case 4:f(),n=s;break;case 1:l==="("?n=2:py.test(l)?f():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${d}"`),h(),i(),o}function my(t,e,n){const s=dy(gy(t.path),n),o=Ge(s,{record:t,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function _y(t,e){const n=[],s=new Map;e=Fd({strict:!1,end:!0,sensitive:!1},e);function o(u){return s.get(u)}function r(u,h,f){const g=!f,m=by(u);m.aliasOf=f&&f.record;const _=Fd(e,u),v=[m];if("alias"in u){const x=typeof u.alias=="string"?[u.alias]:u.alias;for(const S of x)v.push(Ge({},m,{components:f?f.record.components:m.components,path:S,aliasOf:f?f.record:m}))}let p,b;for(const x of v){const{path:S}=x;if(h&&S[0]!=="/"){const R=h.record.path,O=R[R.length-1]==="/"?"":"/";x.path=h.record.path+(S&&O+S)}if(p=my(x,h,_),f?f.alias.push(p):(b=b||p,b!==p&&b.alias.push(p),g&&u.name&&!Pd(p)&&i(u.name)),m.children){const R=m.children;for(let O=0;O<R.length;O++)r(R[O],p,f&&f.children[O])}f=f||p,(p.record.components&&Object.keys(p.record.components).length||p.record.name||p.record.redirect)&&l(p)}return b?()=>{i(b)}:ho}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<n.length&&hy(u,n[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,g={},m,_;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw Ls(1,{location:u});_=f.record.name,g=Ge(Id(h.params,f.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&Id(u.params,f.keys.map(b=>b.name))),m=f.stringify(g)}else if("path"in u)m=u.path,f=n.find(b=>b.re.test(m)),f&&(g=f.parse(m),_=f.record.name);else{if(f=h.name?s.get(h.name):n.find(b=>b.re.test(h.path)),!f)throw Ls(1,{location:u,currentLocation:h});_=f.record.name,g=Ge({},h.params,u.params),m=f.stringify(g)}const v=[];let p=f;for(;p;)v.unshift(p.record),p=p.parent;return{name:_,path:m,params:g,matched:v,meta:vy(v)}}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 by(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:yy(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 yy(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 vy(t){return t.reduce((e,n)=>Ge(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,wy=/&/g,xy=/\//g,ky=/=/g,Ey=/\?/g,Rp=/\+/g,Cy=/%5B/g,Ay=/%5D/g,Np=/%5E/g,Sy=/%60/g,Dp=/%7B/g,Ty=/%7C/g,Lp=/%7D/g,My=/%20/g;function nc(t){return encodeURI(""+t).replace(Ty,"|").replace(Cy,"[").replace(Ay,"]")}function Oy(t){return nc(t).replace(Dp,"{").replace(Lp,"}").replace(Np,"^")}function il(t){return nc(t).replace(Rp,"%2B").replace(My,"+").replace(Op,"%23").replace(wy,"%26").replace(Sy,"`").replace(Dp,"{").replace(Lp,"}").replace(Np,"^")}function Ry(t){return il(t).replace(ky,"%3D")}function Ny(t){return nc(t).replace(Op,"%23").replace(Ey,"%3F")}function Dy(t){return t==null?"":Ny(t).replace(xy,"%2F")}function Mr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Ly(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;o<s.length;++o){const r=s[o].replace(Rp," "),i=r.indexOf("="),a=Mr(i<0?r:r.slice(0,i)),l=i<0?null:Mr(r.slice(i+1));if(a in e){let d=e[a];Ft(d)||(d=e[a]=[d]),d.push(l)}else e[a]=l}return e}function Bd(t){let e="";for(let n in t){const s=t[n];if(n=Ry(n),s==null){s!==void 0&&(e+=(e.length?"&":"")+n);continue}(Ft(s)?s.map(r=>r&&il(r)):[s&&il(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function Iy(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 Py=Symbol(""),$d=Symbol(""),sc=Symbol(""),Ip=Symbol(""),al=Symbol("");function so(){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 kn(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(Ls(4,{from:n,to:e})):h instanceof Error?a(h):ay(h)?a(Ls(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 ji(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(Fy(a)){const d=(a.__vccOpts||a)[e];d&&o.push(kn(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=qb(d)?d.default:d;r.components[i]=u;const f=(u.__vccOpts||u)[e];return f&&kn(f,n,s,r,i)()}))}}return o}function Fy(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function zd(t){const e=ln(sc),n=ln(Ip),s=Ct(()=>e.resolve(dt(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(Ds.bind(null,u));if(f>-1)return f;const g=jd(l[d-2]);return d>1&&jd(u)===g&&h[h.length-1].path!==g?h.findIndex(Ds.bind(null,l[d-2])):f}),r=Ct(()=>o.value>-1&&zy(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 $y(l)?e[dt(t.replace)?"replace":"push"](dt(t.to)).catch(ho):Promise.resolve()}return{route:s,href:Ct(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const By=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=Vs(zd(t)),{options:s}=ln(sc),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:Gl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),on=By;function $y(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 zy(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,jy=Ef({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=ln(al),o=Ct(()=>t.route||s.value),r=ln($d,0),i=Ct(()=>{let d=dt(r);const{matched:u}=o.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=Ct(()=>o.value.matched[i.value]);cr($d,Ct(()=>i.value+1)),cr(Py,a),cr(al,o);const l=g1();return Jn(()=>[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||!Ds(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 qd(n.default,{Component:f,route:d});const g=h.props[u],m=g?g===!0?d.params:typeof g=="function"?g(d):g:null,v=Gl(f,Ge({},m,e,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return qd(n.default,{Component:v,route:d})||v}}});function qd(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Pp=jy;function Uy(t){const e=_y(t.routes,t),n=t.parseQuery||Ly,s=t.stringifyQuery||Bd,o=t.history,r=so(),i=so(),a=so(),l=m1(vn);let d=vn;ms&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$i.bind(null,N=>""+N),h=$i.bind(null,Dy),f=$i.bind(null,Mr);function g(N,Q){let V,ne;return Sp(N)?(V=e.getRecordMatcher(N),ne=Q):ne=N,e.addRoute(ne,V)}function m(N){const Q=e.getRecordMatcher(N);Q&&e.removeRoute(Q)}function _(){return e.getRoutes().map(N=>N.record)}function v(N){return!!e.getRecordMatcher(N)}function p(N,Q){if(Q=Ge({},Q||l.value),typeof N=="string"){const w=zi(n,N,Q.path),A=e.resolve({path:w.path},Q),F=o.createHref(w.fullPath);return Ge(w,A,{params:f(A.params),hash:Mr(w.hash),redirectedFrom:void 0,href:F})}let V;if("path"in N)V=Ge({},N,{path:zi(n,N.path,Q.path).path});else{const w=Ge({},N.params);for(const A in w)w[A]==null&&delete w[A];V=Ge({},N,{params:h(N.params)}),Q.params=h(Q.params)}const ne=e.resolve(V,Q),X=N.hash||"";ne.params=u(f(ne.params));const ge=Gb(s,Ge({},N,{hash:Oy(X),path:ne.path})),he=o.createHref(ge);return Ge({fullPath:ge,hash:X,query:s===Bd?Iy(N.query):N.query||{}},ne,{redirectedFrom:void 0,href:he})}function b(N){return typeof N=="string"?zi(n,N,l.value.path):Ge({},N)}function x(N,Q){if(d!==N)return Ls(8,{from:Q,to:N})}function S(N){return D(N)}function R(N){return S(Ge(b(N),{replace:!0}))}function O(N){const Q=N.matched[N.matched.length-1];if(Q&&Q.redirect){const{redirect:V}=Q;let ne=typeof V=="function"?V(N):V;return typeof ne=="string"&&(ne=ne.includes("?")||ne.includes("#")?ne=b(ne):{path:ne},ne.params={}),Ge({query:N.query,hash:N.hash,params:"path"in ne?{}:N.params},ne)}}function D(N,Q){const V=d=p(N),ne=l.value,X=N.state,ge=N.force,he=N.replace===!0,w=O(V);if(w)return D(Ge(b(w),{state:typeof w=="object"?Ge({},X,w.state):X,force:ge,replace:he}),Q||V);const A=V;A.redirectedFrom=Q;let F;return!ge&&Kb(s,ne,V)&&(F=Ls(16,{to:A,from:ne}),we(ne,ne,!0,!1)),(F?Promise.resolve(F):E(A,ne)).catch($=>en($)?en($,2)?$:G($):T($,A,ne)).then($=>{if($){if(en($,2))return D(Ge({replace:he},b($.to),{state:typeof $.to=="object"?Ge({},X,$.to.state):X,force:ge}),Q||A)}else $=L(A,ne,!0,he,X);return M(A,ne,$),$})}function y(N,Q){const V=x(N,Q);return V?Promise.reject(V):Promise.resolve()}function E(N,Q){let V;const[ne,X,ge]=qy(N,Q);V=ji(ne.reverse(),"beforeRouteLeave",N,Q);for(const w of ne)w.leaveGuards.forEach(A=>{V.push(kn(A,N,Q))});const he=y.bind(null,N,Q);return V.push(he),fs(V).then(()=>{V=[];for(const w of r.list())V.push(kn(w,N,Q));return V.push(he),fs(V)}).then(()=>{V=ji(X,"beforeRouteUpdate",N,Q);for(const w of X)w.updateGuards.forEach(A=>{V.push(kn(A,N,Q))});return V.push(he),fs(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(kn(A,N,Q));else V.push(kn(w.beforeEnter,N,Q));return V.push(he),fs(V)}).then(()=>(N.matched.forEach(w=>w.enterCallbacks={}),V=ji(ge,"beforeRouteEnter",N,Q),V.push(he),fs(V))).then(()=>{V=[];for(const w of i.list())V.push(kn(w,N,Q));return V.push(he),fs(V)}).catch(w=>en(w,8)?w:Promise.reject(w))}function M(N,Q,V){for(const ne of a.list())ne(N,Q,V)}function L(N,Q,V,ne,X){const ge=x(N,Q);if(ge)return ge;const he=Q===vn,w=ms?history.state:{};V&&(ne||he?o.replace(N.fullPath,Ge({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(!Te.listening)return;const ne=p(N),X=O(ne);if(X){D(Ge(X,{replace:!0}),ne).catch(ho);return}d=ne;const ge=l.value;ms&&ty(Od(ge.fullPath,V.delta),ci()),E(ne,ge).catch(he=>en(he,12)?he:en(he,2)?(D(he.to,ne).then(w=>{en(w,20)&&!V.delta&&V.type===Oo.pop&&o.go(-1,!1)}).catch(ho),Promise.reject()):(V.delta&&o.go(-V.delta,!1),T(he,ne,ge))).then(he=>{he=he||L(ne,ge,!1),he&&(V.delta&&!en(he,8)?o.go(-V.delta,!1):V.type===Oo.pop&&en(he,20)&&o.go(-1,!1)),M(ne,ge,he)}).catch(ho)}))}let P=so(),ue=so(),Z;function T(N,Q,V){G(N);const ne=ue.list();return ne.length?ne.forEach(X=>X(N,Q,V)):console.error(N),Promise.reject(N)}function H(){return Z&&l.value!==vn?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,ne){const{scrollBehavior:X}=t;if(!ms||!X)return Promise.resolve();const ge=!V&&ny(Od(N.fullPath,0))||(ne||!V)&&history.state&&history.state.scroll||null;return be().then(()=>X(N,Q,ge)).then(he=>he&&ey(he)).catch(he=>T(he,N,Q))}const _e=N=>o.go(N);let te;const ke=new Set,Te={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:v,getRoutes:_,resolve:p,options:t,push:S,replace:R,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ue.add,isReady:H,install(N){const Q=this;N.component("RouterLink",on),N.component("RouterView",Pp),N.config.globalProperties.$router=Q,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>dt(l)}),ms&&!te&&l.value===vn&&(te=!0,S(o.location).catch(X=>{}));const V={};for(const X in vn)V[X]=Ct(()=>l.value[X]);N.provide(sc,Q),N.provide(Ip,Vs(V)),N.provide(al,l);const ne=N.unmount;ke.add(N),N.unmount=function(){ke.delete(N),ke.size<1&&(d=vn,B&&B(),B=null,l.value=vn,te=!1,Z=!1),ne()}}};return Te}function fs(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function qy(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;i<r;i++){const a=e.matched[i];a&&(t.matched.find(d=>Ds(d,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(d=>Ds(d,l))||o.push(l))}return[n,s,o]}const Hy="modulepreload",Vy=function(t){return"/"+t},Hd={},Ui=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Vy(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":Hy,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())},oc="/assets/logo-023c77a1.png";var Fp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Gy(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:'<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline>',airplay:'<path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon>',"alert-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-octagon":'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-triangle":'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line>',"align-center":'<line x1="18" y1="10" x2="6" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="18" y1="18" x2="6" y2="18"></line>',"align-justify":'<line x1="21" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="3" y2="18"></line>',"align-left":'<line x1="17" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="17" y1="18" x2="3" y2="18"></line>',"align-right":'<line x1="21" y1="10" x2="7" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="7" y2="18"></line>',anchor:'<circle cx="12" cy="5" r="3"></circle><line x1="12" y1="22" x2="12" y2="8"></line><path d="M5 12H2a10 10 0 0 0 20 0h-3"></path>',aperture:'<circle cx="12" cy="12" r="10"></circle><line x1="14.31" y1="8" x2="20.05" y2="17.94"></line><line x1="9.69" y1="8" x2="21.17" y2="8"></line><line x1="7.38" y1="12" x2="13.12" y2="2.06"></line><line x1="9.69" y1="16" x2="3.95" y2="6.06"></line><line x1="14.31" y1="16" x2="2.83" y2="16"></line><line x1="16.62" y1="12" x2="10.88" y2="21.94"></line>',archive:'<polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line>',"arrow-down-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="8 12 12 16 16 12"></polyline><line x1="12" y1="8" x2="12" y2="16"></line>',"arrow-down-left":'<line x1="17" y1="7" x2="7" y2="17"></line><polyline points="17 17 7 17 7 7"></polyline>',"arrow-down-right":'<line x1="7" y1="7" x2="17" y2="17"></line><polyline points="17 7 17 17 7 17"></polyline>',"arrow-down":'<line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline>',"arrow-left-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="12 8 8 12 12 16"></polyline><line x1="16" y1="12" x2="8" y2="12"></line>',"arrow-left":'<line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline>',"arrow-right-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line>',"arrow-right":'<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>',"arrow-up-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="16 12 12 8 8 12"></polyline><line x1="12" y1="16" x2="12" y2="8"></line>',"arrow-up-left":'<line x1="17" y1="17" x2="7" y2="7"></line><polyline points="7 17 7 7 17 7"></polyline>',"arrow-up-right":'<line x1="7" y1="17" x2="17" y2="7"></line><polyline points="7 7 17 7 17 17"></polyline>',"arrow-up":'<line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline>',"at-sign":'<circle cx="12" cy="12" r="4"></circle><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path>',award:'<circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline>',"bar-chart-2":'<line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line>',"bar-chart":'<line x1="12" y1="20" x2="12" y2="10"></line><line x1="18" y1="20" x2="18" y2="4"></line><line x1="6" y1="20" x2="6" y2="16"></line>',"battery-charging":'<path d="M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19"></path><line x1="23" y1="13" x2="23" y2="11"></line><polyline points="11 6 7 12 13 12 9 18"></polyline>',battery:'<rect x="1" y="6" width="18" height="12" rx="2" ry="2"></rect><line x1="23" y1="13" x2="23" y2="11"></line>',"bell-off":'<path d="M13.73 21a2 2 0 0 1-3.46 0"></path><path d="M18.63 13A17.89 17.89 0 0 1 18 8"></path><path d="M6.26 6.26A5.86 5.86 0 0 0 6 8c0 7-3 9-3 9h14"></path><path d="M18 8a6 6 0 0 0-9.33-5"></path><line x1="1" y1="1" x2="23" y2="23"></line>',bell:'<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path>',bluetooth:'<polyline points="6.5 6.5 17.5 17.5 12 23 12 1 17.5 6.5 6.5 17.5"></polyline>',bold:'<path d="M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path><path d="M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path>',"book-open":'<path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path>',book:'<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>',bookmark:'<path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path>',box:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',briefcase:'<rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path>',calendar:'<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>',"camera-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.34m-7.72-2.06a4 4 0 1 1-5.56-5.56"></path>',camera:'<path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle>',cast:'<path d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"></path><line x1="2" y1="20" x2="2.01" y2="20"></line>',"check-circle":'<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline>',"check-square":'<polyline points="9 11 12 14 22 4"></polyline><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path>',check:'<polyline points="20 6 9 17 4 12"></polyline>',"chevron-down":'<polyline points="6 9 12 15 18 9"></polyline>',"chevron-left":'<polyline points="15 18 9 12 15 6"></polyline>',"chevron-right":'<polyline points="9 18 15 12 9 6"></polyline>',"chevron-up":'<polyline points="18 15 12 9 6 15"></polyline>',"chevrons-down":'<polyline points="7 13 12 18 17 13"></polyline><polyline points="7 6 12 11 17 6"></polyline>',"chevrons-left":'<polyline points="11 17 6 12 11 7"></polyline><polyline points="18 17 13 12 18 7"></polyline>',"chevrons-right":'<polyline points="13 17 18 12 13 7"></polyline><polyline points="6 17 11 12 6 7"></polyline>',"chevrons-up":'<polyline points="17 11 12 6 7 11"></polyline><polyline points="17 18 12 13 7 18"></polyline>',chrome:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="21.17" y1="8" x2="12" y2="8"></line><line x1="3.95" y1="6.06" x2="8.54" y2="14"></line><line x1="10.88" y1="21.94" x2="15.46" y2="14"></line>',circle:'<circle cx="12" cy="12" r="10"></circle>',clipboard:'<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect>',clock:'<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>',"cloud-drizzle":'<line x1="8" y1="19" x2="8" y2="21"></line><line x1="8" y1="13" x2="8" y2="15"></line><line x1="16" y1="19" x2="16" y2="21"></line><line x1="16" y1="13" x2="16" y2="15"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="12" y1="15" x2="12" y2="17"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path>',"cloud-lightning":'<path d="M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9"></path><polyline points="13 11 9 17 15 17 11 23"></polyline>',"cloud-off":'<path d="M22.61 16.95A5 5 0 0 0 18 10h-1.26a8 8 0 0 0-7.05-6M5 5a8 8 0 0 0 4 15h9a5 5 0 0 0 1.7-.3"></path><line x1="1" y1="1" x2="23" y2="23"></line>',"cloud-rain":'<line x1="16" y1="13" x2="16" y2="21"></line><line x1="8" y1="13" x2="8" y2="21"></line><line x1="12" y1="15" x2="12" y2="23"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path>',"cloud-snow":'<path d="M20 17.58A5 5 0 0 0 18 8h-1.26A8 8 0 1 0 4 16.25"></path><line x1="8" y1="16" x2="8.01" y2="16"></line><line x1="8" y1="20" x2="8.01" y2="20"></line><line x1="12" y1="18" x2="12.01" y2="18"></line><line x1="12" y1="22" x2="12.01" y2="22"></line><line x1="16" y1="16" x2="16.01" y2="16"></line><line x1="16" y1="20" x2="16.01" y2="20"></line>',cloud:'<path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"></path>',code:'<polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline>',codepen:'<polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"></polygon><line x1="12" y1="22" x2="12" y2="15.5"></line><polyline points="22 8.5 12 15.5 2 8.5"></polyline><polyline points="2 15.5 12 8.5 22 15.5"></polyline><line x1="12" y1="2" x2="12" y2="8.5"></line>',codesandbox:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="7.5 4.21 12 6.81 16.5 4.21"></polyline><polyline points="7.5 19.79 7.5 14.6 3 12"></polyline><polyline points="21 12 16.5 14.6 16.5 19.79"></polyline><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',coffee:'<path d="M18 8h1a4 4 0 0 1 0 8h-1"></path><path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path><line x1="6" y1="1" x2="6" y2="4"></line><line x1="10" y1="1" x2="10" y2="4"></line><line x1="14" y1="1" x2="14" y2="4"></line>',columns:'<path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"></path>',command:'<path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path>',compass:'<circle cx="12" cy="12" r="10"></circle><polygon points="16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"></polygon>',copy:'<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>',"corner-down-left":'<polyline points="9 10 4 15 9 20"></polyline><path d="M20 4v7a4 4 0 0 1-4 4H4"></path>',"corner-down-right":'<polyline points="15 10 20 15 15 20"></polyline><path d="M4 4v7a4 4 0 0 0 4 4h12"></path>',"corner-left-down":'<polyline points="14 15 9 20 4 15"></polyline><path d="M20 4h-7a4 4 0 0 0-4 4v12"></path>',"corner-left-up":'<polyline points="14 9 9 4 4 9"></polyline><path d="M20 20h-7a4 4 0 0 1-4-4V4"></path>',"corner-right-down":'<polyline points="10 15 15 20 20 15"></polyline><path d="M4 4h7a4 4 0 0 1 4 4v12"></path>',"corner-right-up":'<polyline points="10 9 15 4 20 9"></polyline><path d="M4 20h7a4 4 0 0 0 4-4V4"></path>',"corner-up-left":'<polyline points="9 14 4 9 9 4"></polyline><path d="M20 20v-7a4 4 0 0 0-4-4H4"></path>',"corner-up-right":'<polyline points="15 14 20 9 15 4"></polyline><path d="M4 20v-7a4 4 0 0 1 4-4h12"></path>',cpu:'<rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect><rect x="9" y="9" width="6" height="6"></rect><line x1="9" y1="1" x2="9" y2="4"></line><line x1="15" y1="1" x2="15" y2="4"></line><line x1="9" y1="20" x2="9" y2="23"></line><line x1="15" y1="20" x2="15" y2="23"></line><line x1="20" y1="9" x2="23" y2="9"></line><line x1="20" y1="14" x2="23" y2="14"></line><line x1="1" y1="9" x2="4" y2="9"></line><line x1="1" y1="14" x2="4" y2="14"></line>',"credit-card":'<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="1" y1="10" x2="23" y2="10"></line>',crop:'<path d="M6.13 1L6 16a2 2 0 0 0 2 2h15"></path><path d="M1 6.13L16 6a2 2 0 0 1 2 2v15"></path>',crosshair:'<circle cx="12" cy="12" r="10"></circle><line x1="22" y1="12" x2="18" y2="12"></line><line x1="6" y1="12" x2="2" y2="12"></line><line x1="12" y1="6" x2="12" y2="2"></line><line x1="12" y1="22" x2="12" y2="18"></line>',database:'<ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"></path><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path>',delete:'<path d="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"></path><line x1="18" y1="9" x2="12" y2="15"></line><line x1="12" y1="9" x2="18" y2="15"></line>',disc:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle>',"divide-circle":'<line x1="8" y1="12" x2="16" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line><line x1="12" y1="8" x2="12" y2="8"></line><circle cx="12" cy="12" r="10"></circle>',"divide-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="12" x2="16" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line><line x1="12" y1="8" x2="12" y2="8"></line>',divide:'<circle cx="12" cy="6" r="2"></circle><line x1="5" y1="12" x2="19" y2="12"></line><circle cx="12" cy="18" r="2"></circle>',"dollar-sign":'<line x1="12" y1="1" x2="12" y2="23"></line><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path>',"download-cloud":'<polyline points="8 17 12 21 16 17"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"></path>',download:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line>',dribbble:'<circle cx="12" cy="12" r="10"></circle><path d="M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"></path>',droplet:'<path d="M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"></path>',"edit-2":'<path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path>',"edit-3":'<path d="M12 20h9"></path><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"></path>',edit:'<path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path>',"external-link":'<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line>',"eye-off":'<path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line>',eye:'<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle>',facebook:'<path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path>',"fast-forward":'<polygon points="13 19 22 12 13 5 13 19"></polygon><polygon points="2 19 11 12 2 5 2 19"></polygon>',feather:'<path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z"></path><line x1="16" y1="8" x2="2" y2="22"></line><line x1="17.5" y1="15" x2="9" y2="15"></line>',figma:'<path d="M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z"></path><path d="M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z"></path><path d="M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z"></path><path d="M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z"></path><path d="M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z"></path>',"file-minus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="9" y1="15" x2="15" y2="15"></line>',"file-plus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="12" y1="18" x2="12" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line>',"file-text":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline>',file:'<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>',film:'<rect x="2" y="2" width="20" height="20" rx="2.18" ry="2.18"></rect><line x1="7" y1="2" x2="7" y2="22"></line><line x1="17" y1="2" x2="17" y2="22"></line><line x1="2" y1="12" x2="22" y2="12"></line><line x1="2" y1="7" x2="7" y2="7"></line><line x1="2" y1="17" x2="7" y2="17"></line><line x1="17" y1="17" x2="22" y2="17"></line><line x1="17" y1="7" x2="22" y2="7"></line>',filter:'<polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon>',flag:'<path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"></path><line x1="4" y1="22" x2="4" y2="15"></line>',"folder-minus":'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="9" y1="14" x2="15" y2="14"></line>',"folder-plus":'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="12" y1="11" x2="12" y2="17"></line><line x1="9" y1="14" x2="15" y2="14"></line>',folder:'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>',framer:'<path d="M5 16V9h14V2H5l14 14h-7m-7 0l7 7v-7m-7 0h7"></path>',frown:'<circle cx="12" cy="12" r="10"></circle><path d="M16 16s-1.5-2-4-2-4 2-4 2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',gift:'<polyline points="20 12 20 22 4 22 4 12"></polyline><rect x="2" y="7" width="20" height="5"></rect><line x1="12" y1="22" x2="12" y2="7"></line><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"></path><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path>',"git-branch":'<line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path>',"git-commit":'<circle cx="12" cy="12" r="4"></circle><line x1="1.05" y1="12" x2="7" y2="12"></line><line x1="17.01" y1="12" x2="22.96" y2="12"></line>',"git-merge":'<circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M6 21V9a9 9 0 0 0 9 9"></path>',"git-pull-request":'<circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M13 6h3a2 2 0 0 1 2 2v7"></path><line x1="6" y1="9" x2="6" y2="21"></line>',github:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>',gitlab:'<path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path>',globe:'<circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>',grid:'<rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect>',"hard-drive":'<line x1="22" y1="12" x2="2" y2="12"></line><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path><line x1="6" y1="16" x2="6.01" y2="16"></line><line x1="10" y1="16" x2="10.01" y2="16"></line>',hash:'<line x1="4" y1="9" x2="20" y2="9"></line><line x1="4" y1="15" x2="20" y2="15"></line><line x1="10" y1="3" x2="8" y2="21"></line><line x1="16" y1="3" x2="14" y2="21"></line>',headphones:'<path d="M3 18v-6a9 9 0 0 1 18 0v6"></path><path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"></path>',heart:'<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>',"help-circle":'<circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line>',hexagon:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path>',home:'<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline>',image:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline>',inbox:'<polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path>',info:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line>',instagram:'<rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line>',italic:'<line x1="19" y1="4" x2="10" y2="4"></line><line x1="14" y1="20" x2="5" y2="20"></line><line x1="15" y1="4" x2="9" y2="20"></line>',key:'<path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"></path>',layers:'<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline>',layout:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line>',"life-buoy":'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="4.93" y1="4.93" x2="9.17" y2="9.17"></line><line x1="14.83" y1="14.83" x2="19.07" y2="19.07"></line><line x1="14.83" y1="9.17" x2="19.07" y2="4.93"></line><line x1="14.83" y1="9.17" x2="18.36" y2="5.64"></line><line x1="4.93" y1="19.07" x2="9.17" y2="14.83"></line>',"link-2":'<path d="M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"></path><line x1="8" y1="12" x2="16" y2="12"></line>',link:'<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>',linkedin:'<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle>',list:'<line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line>',loader:'<line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line>',lock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path>',"log-in":'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"></path><polyline points="10 17 15 12 10 7"></polyline><line x1="15" y1="12" x2="3" y2="12"></line>',"log-out":'<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line>',mail:'<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline>',"map-pin":'<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle>',map:'<polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"></polygon><line x1="8" y1="2" x2="8" y2="18"></line><line x1="16" y1="6" x2="16" y2="22"></line>',"maximize-2":'<polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" y1="3" x2="14" y2="10"></line><line x1="3" y1="21" x2="10" y2="14"></line>',maximize:'<path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"></path>',meh:'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="15" x2="16" y2="15"></line><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',menu:'<line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line>',"message-circle":'<path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path>',"message-square":'<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>',"mic-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"></path><path d="M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line>',mic:'<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line>',"minimize-2":'<polyline points="4 14 10 14 10 20"></polyline><polyline points="20 10 14 10 14 4"></polyline><line x1="14" y1="10" x2="21" y2="3"></line><line x1="3" y1="21" x2="10" y2="14"></line>',minimize:'<path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"></path>',"minus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="12" x2="16" y2="12"></line>',"minus-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="12" x2="16" y2="12"></line>',minus:'<line x1="5" y1="12" x2="19" y2="12"></line>',monitor:'<rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line>',moon:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>',"more-horizontal":'<circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle>',"more-vertical":'<circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle>',"mouse-pointer":'<path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"></path><path d="M13 13l6 6"></path>',move:'<polyline points="5 9 2 12 5 15"></polyline><polyline points="9 5 12 2 15 5"></polyline><polyline points="15 19 12 22 9 19"></polyline><polyline points="19 9 22 12 19 15"></polyline><line x1="2" y1="12" x2="22" y2="12"></line><line x1="12" y1="2" x2="12" y2="22"></line>',music:'<path d="M9 18V5l12-2v13"></path><circle cx="6" cy="18" r="3"></circle><circle cx="18" cy="16" r="3"></circle>',"navigation-2":'<polygon points="12 2 19 21 12 17 5 21 12 2"></polygon>',navigation:'<polygon points="3 11 22 2 13 21 11 13 3 11"></polygon>',octagon:'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon>',package:'<line x1="16.5" y1="9.4" x2="7.5" y2="4.21"></line><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',paperclip:'<path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path>',"pause-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="10" y1="15" x2="10" y2="9"></line><line x1="14" y1="15" x2="14" y2="9"></line>',pause:'<rect x="6" y="4" width="4" height="16"></rect><rect x="14" y="4" width="4" height="16"></rect>',"pen-tool":'<path d="M12 19l7-7 3 3-7 7-3-3z"></path><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"></path><path d="M2 2l7.586 7.586"></path><circle cx="11" cy="11" r="2"></circle>',percent:'<line x1="19" y1="5" x2="5" y2="19"></line><circle cx="6.5" cy="6.5" r="2.5"></circle><circle cx="17.5" cy="17.5" r="2.5"></circle>',"phone-call":'<path d="M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-forwarded":'<polyline points="19 1 23 5 19 9"></polyline><line x1="15" y1="5" x2="23" y2="5"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-incoming":'<polyline points="16 2 16 8 22 8"></polyline><line x1="23" y1="1" x2="16" y2="8"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-missed":'<line x1="23" y1="1" x2="17" y2="7"></line><line x1="17" y1="1" x2="23" y2="7"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-off":'<path d="M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91"></path><line x1="23" y1="1" x2="1" y2="23"></line>',"phone-outgoing":'<polyline points="23 7 23 1 17 1"></polyline><line x1="16" y1="8" x2="23" y2="1"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',phone:'<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"pie-chart":'<path d="M21.21 15.89A10 10 0 1 1 8 2.83"></path><path d="M22 12A10 10 0 0 0 12 2v10z"></path>',"play-circle":'<circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon>',play:'<polygon points="5 3 19 12 5 21 5 3"></polygon>',"plus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',"plus-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',plus:'<line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>',pocket:'<path d="M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z"></path><polyline points="8 10 12 14 16 10"></polyline>',power:'<path d="M18.36 6.64a9 9 0 1 1-12.73 0"></path><line x1="12" y1="2" x2="12" y2="12"></line>',printer:'<polyline points="6 9 6 2 18 2 18 9"></polyline><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path><rect x="6" y="14" width="12" height="8"></rect>',radio:'<circle cx="12" cy="12" r="2"></circle><path d="M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14"></path>',"refresh-ccw":'<polyline points="1 4 1 10 7 10"></polyline><polyline points="23 20 23 14 17 14"></polyline><path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"></path>',"refresh-cw":'<polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path>',repeat:'<polyline points="17 1 21 5 17 9"></polyline><path d="M3 11V9a4 4 0 0 1 4-4h14"></path><polyline points="7 23 3 19 7 15"></polyline><path d="M21 13v2a4 4 0 0 1-4 4H3"></path>',rewind:'<polygon points="11 19 2 12 11 5 11 19"></polygon><polygon points="22 19 13 12 22 5 22 19"></polygon>',"rotate-ccw":'<polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path>',"rotate-cw":'<polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path>',rss:'<path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle>',save:'<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"></path><polyline points="17 21 17 13 7 13 7 21"></polyline><polyline points="7 3 7 8 15 8"></polyline>',scissors:'<circle cx="6" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><line x1="20" y1="4" x2="8.12" y2="15.88"></line><line x1="14.47" y1="14.48" x2="20" y2="20"></line><line x1="8.12" y1="8.12" x2="12" y2="12"></line>',search:'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line>',send:'<line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>',server:'<rect x="2" y="2" width="20" height="8" rx="2" ry="2"></rect><rect x="2" y="14" width="20" height="8" rx="2" ry="2"></rect><line x1="6" y1="6" x2="6.01" y2="6"></line><line x1="6" y1="18" x2="6.01" y2="18"></line>',settings:'<circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>',"share-2":'<circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line>',share:'<path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"></path><polyline points="16 6 12 2 8 6"></polyline><line x1="12" y1="2" x2="12" y2="15"></line>',"shield-off":'<path d="M19.69 14a6.9 6.9 0 0 0 .31-2V5l-8-3-3.16 1.18"></path><path d="M4.73 4.73L4 5v7c0 6 8 10 8 10a20.29 20.29 0 0 0 5.62-4.38"></path><line x1="1" y1="1" x2="23" y2="23"></line>',shield:'<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>',"shopping-bag":'<path d="M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"></path><line x1="3" y1="6" x2="21" y2="6"></line><path d="M16 10a4 4 0 0 1-8 0"></path>',"shopping-cart":'<circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>',shuffle:'<polyline points="16 3 21 3 21 8"></polyline><line x1="4" y1="20" x2="21" y2="3"></line><polyline points="21 16 21 21 16 21"></polyline><line x1="15" y1="15" x2="21" y2="21"></line><line x1="4" y1="4" x2="9" y2="9"></line>',sidebar:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="3" x2="9" y2="21"></line>',"skip-back":'<polygon points="19 20 9 12 19 4 19 20"></polygon><line x1="5" y1="19" x2="5" y2="5"></line>',"skip-forward":'<polygon points="5 4 15 12 5 20 5 4"></polygon><line x1="19" y1="5" x2="19" y2="19"></line>',slack:'<path d="M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z"></path><path d="M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path><path d="M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z"></path><path d="M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z"></path><path d="M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z"></path><path d="M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path><path d="M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z"></path><path d="M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z"></path>',slash:'<circle cx="12" cy="12" r="10"></circle><line x1="4.93" y1="4.93" x2="19.07" y2="19.07"></line>',sliders:'<line x1="4" y1="21" x2="4" y2="14"></line><line x1="4" y1="10" x2="4" y2="3"></line><line x1="12" y1="21" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="3"></line><line x1="20" y1="21" x2="20" y2="16"></line><line x1="20" y1="12" x2="20" y2="3"></line><line x1="1" y1="14" x2="7" y2="14"></line><line x1="9" y1="8" x2="15" y2="8"></line><line x1="17" y1="16" x2="23" y2="16"></line>',smartphone:'<rect x="5" y="2" width="14" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',smile:'<circle cx="12" cy="12" r="10"></circle><path d="M8 14s1.5 2 4 2 4-2 4-2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',speaker:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><circle cx="12" cy="14" r="4"></circle><line x1="12" y1="6" x2="12.01" y2="6"></line>',square:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>',star:'<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>',"stop-circle":'<circle cx="12" cy="12" r="10"></circle><rect x="9" y="9" width="6" height="6"></rect>',sun:'<circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>',sunrise:'<path d="M17 18a5 5 0 0 0-10 0"></path><line x1="12" y1="2" x2="12" y2="9"></line><line x1="4.22" y1="10.22" x2="5.64" y2="11.64"></line><line x1="1" y1="18" x2="3" y2="18"></line><line x1="21" y1="18" x2="23" y2="18"></line><line x1="18.36" y1="11.64" x2="19.78" y2="10.22"></line><line x1="23" y1="22" x2="1" y2="22"></line><polyline points="8 6 12 2 16 6"></polyline>',sunset:'<path d="M17 18a5 5 0 0 0-10 0"></path><line x1="12" y1="9" x2="12" y2="2"></line><line x1="4.22" y1="10.22" x2="5.64" y2="11.64"></line><line x1="1" y1="18" x2="3" y2="18"></line><line x1="21" y1="18" x2="23" y2="18"></line><line x1="18.36" y1="11.64" x2="19.78" y2="10.22"></line><line x1="23" y1="22" x2="1" y2="22"></line><polyline points="16 5 12 9 8 5"></polyline>',table:'<path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"></path>',tablet:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',tag:'<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>',target:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle>',terminal:'<polyline points="4 17 10 11 4 5"></polyline><line x1="12" y1="19" x2="20" y2="19"></line>',thermometer:'<path d="M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z"></path>',"thumbs-down":'<path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path>',"thumbs-up":'<path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path>',"toggle-left":'<rect x="1" y="5" width="22" height="14" rx="7" ry="7"></rect><circle cx="8" cy="12" r="3"></circle>',"toggle-right":'<rect x="1" y="5" width="22" height="14" rx="7" ry="7"></rect><circle cx="16" cy="12" r="3"></circle>',tool:'<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>',"trash-2":'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line>',trash:'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>',trello:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><rect x="7" y="7" width="3" height="9"></rect><rect x="14" y="7" width="3" height="5"></rect>',"trending-down":'<polyline points="23 18 13.5 8.5 8.5 13.5 1 6"></polyline><polyline points="17 18 23 18 23 12"></polyline>',"trending-up":'<polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline>',triangle:'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path>',truck:'<rect x="1" y="3" width="15" height="13"></rect><polygon points="16 8 20 8 23 11 23 16 16 16 16 8"></polygon><circle cx="5.5" cy="18.5" r="2.5"></circle><circle cx="18.5" cy="18.5" r="2.5"></circle>',tv:'<rect x="2" y="7" width="20" height="15" rx="2" ry="2"></rect><polyline points="17 2 12 7 7 2"></polyline>',twitch:'<path d="M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7"></path>',twitter:'<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>',type:'<polyline points="4 7 4 4 20 4 20 7"></polyline><line x1="9" y1="20" x2="15" y2="20"></line><line x1="12" y1="4" x2="12" y2="20"></line>',umbrella:'<path d="M23 12a11.05 11.05 0 0 0-22 0zm-5 7a3 3 0 0 1-6 0v-7"></path>',underline:'<path d="M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3"></path><line x1="4" y1="21" x2="20" y2="21"></line>',unlock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 9.9-1"></path>',"upload-cloud":'<polyline points="16 16 12 12 8 16"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path><polyline points="16 16 12 12 8 16"></polyline>',upload:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line>',"user-check":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><polyline points="17 11 19 13 23 9"></polyline>',"user-minus":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="23" y1="11" x2="17" y2="11"></line>',"user-plus":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line>',"user-x":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="18" y1="8" x2="23" y2="13"></line><line x1="23" y1="8" x2="18" y2="13"></line>',user:'<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle>',users:'<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path>',"video-off":'<path d="M16 16v1a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2m5.66 0H14a2 2 0 0 1 2 2v3.34l1 1L23 7v10"></path><line x1="1" y1="1" x2="23" y2="23"></line>',video:'<polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>',voicemail:'<circle cx="5.5" cy="11.5" r="4.5"></circle><circle cx="18.5" cy="11.5" r="4.5"></circle><line x1="5.5" y1="16" x2="18.5" y2="16"></line>',"volume-1":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path>',"volume-2":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path>',"volume-x":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="23" y1="9" x2="17" y2="15"></line><line x1="17" y1="9" x2="23" y2="15"></line>',volume:'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>',watch:'<circle cx="12" cy="12" r="7"></circle><polyline points="12 9 12 12 13.5 13.5"></polyline><path d="M16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83"></path>',"wifi-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M16.72 11.06A10.94 10.94 0 0 1 19 12.55"></path><path d="M5 12.55a10.94 10.94 0 0 1 5.17-2.39"></path><path d="M10.71 5.05A16 16 0 0 1 22.58 9"></path><path d="M1.42 9a15.91 15.91 0 0 1 4.7-2.88"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line>',wifi:'<path d="M5 12.55a11 11 0 0 1 14.08 0"></path><path d="M1.42 9a16 16 0 0 1 21.16 0"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line>',wind:'<path d="M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2"></path>',"x-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line>',"x-octagon":'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line>',"x-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="9" x2="15" y2="15"></line><line x1="15" y1="9" x2="9" y2="15"></line>',x:'<line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line>',youtube:'<path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon>',"zap-off":'<polyline points="12.41 6.75 13 2 10.57 4.92"></polyline><polyline points="18.57 12.91 21 10 15.66 10"></polyline><polyline points="8 8 3 14 12 14 11 22 16 16"></polyline><line x1="1" y1="1" x2="23" y2="23"></line>',zap:'<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon>',"zoom-in":'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="11" y1="8" x2="11" y2="14"></line><line x1="8" y1="11" x2="14" y2="11"></line>',"zoom-out":'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="8" y1="11" x2="14" y2="11"></line>'}},"./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(p,b){for(var x=b.length,S=0;S<x;++S)_(p,b[S])}var u={}.hasOwnProperty;function h(p,b){p[b]=!0}function f(p,b){for(var x in b)u.call(b,x)&&(p[x]=!!b[x])}var g=/\s+/;function m(p,b){for(var x=b.split(g),S=x.length,R=0;R<S;++R)p[x[R]]=!0}function _(p,b){if(b){var x=typeof b;x==="string"?m(p,b):Array.isArray(b)?d(p,b):x==="object"?f(p,b):x==="number"&&h(p,b)}}function v(){for(var p=arguments.length,b=Array(p),x=0;x<p;x++)b[x]=arguments[x];var S=new l;d(S,b);var R=[];for(var O in S)S[O]&&R.push(O);return R.join(" ")}return v}();typeof n<"u"&&n.exports?n.exports=a:(r=[],i=function(){return a}.apply(s,r),i!==void 0&&(n.exports=i))})()},"./node_modules/core-js/es/array/from.js":function(n,s,o){o("./node_modules/core-js/modules/es.string.iterator.js"),o("./node_modules/core-js/modules/es.array.from.js");var r=o("./node_modules/core-js/internals/path.js");n.exports=r.Array.from},"./node_modules/core-js/internals/a-function.js":function(n,s){n.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"./node_modules/core-js/internals/an-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i){if(!r(i))throw TypeError(String(i)+" is not an object");return i}},"./node_modules/core-js/internals/array-from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/bind-context.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),l=o("./node_modules/core-js/internals/is-array-iterator-method.js"),d=o("./node_modules/core-js/internals/to-length.js"),u=o("./node_modules/core-js/internals/create-property.js"),h=o("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(g){var m=i(g),_=typeof this=="function"?this:Array,v=arguments.length,p=v>1?arguments[1]:void 0,b=p!==void 0,x=0,S=h(m),R,O,D,y;if(b&&(p=r(p,v>2?arguments[2]:void 0,2)),S!=null&&!(_==Array&&l(S)))for(y=S.call(m),O=new _;!(D=y.next()).done;x++)u(O,x,b?a(y,p,[D.value,x],!0):D.value);else for(R=d(m.length),O=new _(R);R>x;x++)u(O,x,b?p(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<h.length;m++){var _=h[m];r(d,_)||f(d,_,g(u,_))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!r(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})},"./node_modules/core-js/internals/create-iterator-constructor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,i=o("./node_modules/core-js/internals/object-create.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/set-to-string-tag.js"),d=o("./node_modules/core-js/internals/iterators.js"),u=function(){return this};n.exports=function(h,f,g){var m=f+" Iterator";return h.prototype=i(r,{next:a(1,g)}),l(h,m,!1,!0),d[m]=u,h}},"./node_modules/core-js/internals/create-property-descriptor.js":function(n,s){n.exports=function(o,r){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:r}}},"./node_modules/core-js/internals/create-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-primitive.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=function(l,d,u){var h=r(d);h in l?i.f(l,h,a(0,u)):l[h]=u}},"./node_modules/core-js/internals/define-iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/create-iterator-constructor.js"),a=o("./node_modules/core-js/internals/object-get-prototype-of.js"),l=o("./node_modules/core-js/internals/object-set-prototype-of.js"),d=o("./node_modules/core-js/internals/set-to-string-tag.js"),u=o("./node_modules/core-js/internals/hide.js"),h=o("./node_modules/core-js/internals/redefine.js"),f=o("./node_modules/core-js/internals/well-known-symbol.js"),g=o("./node_modules/core-js/internals/is-pure.js"),m=o("./node_modules/core-js/internals/iterators.js"),_=o("./node_modules/core-js/internals/iterators-core.js"),v=_.IteratorPrototype,p=_.BUGGY_SAFARI_ITERATORS,b=f("iterator"),x="keys",S="values",R="entries",O=function(){return this};n.exports=function(D,y,E,M,L,B,J){i(E,y,M);var P=function(Te){if(Te===L&&G)return G;if(!p&&Te in T)return T[Te];switch(Te){case x:return function(){return new E(this,Te)};case S:return function(){return new E(this,Te)};case R:return function(){return new E(this,Te)}}return function(){return new E(this)}},ue=y+" Iterator",Z=!1,T=D.prototype,H=T[b]||T["@@iterator"]||L&&T[L],G=!p&&H||P(L),we=y=="Array"&&T.entries||H,_e,te,ke;if(we&&(_e=a(we.call(new D)),v!==Object.prototype&&_e.next&&(!g&&a(_e)!==v&&(l?l(_e,v):typeof _e[b]!="function"&&u(_e,b,O)),d(_e,ue,!0,!0),g&&(m[ue]=O))),L==S&&H&&H.name!==S&&(Z=!0,G=function(){return H.call(this)}),(!g||J)&&T[b]!==G&&u(T,b,G),m[y]=G,L)if(te={values:P(S),keys:B?G:P(x),entries:P(R)},J)for(ke in te)(p||Z||!(ke in T))&&h(T,ke,te[ke]);else r({target:y,proto:!0,forced:p||Z},te);return te}},"./node_modules/core-js/internals/descriptors.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!r(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/document-create-element.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/is-object.js"),a=r.document,l=i(a)&&i(a.createElement);n.exports=function(d){return l?a.createElement(d):{}}},"./node_modules/core-js/internals/enum-bug-keys.js":function(n,s){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.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-descriptor.js").f,a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/redefine.js"),d=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/copy-constructor-properties.js"),h=o("./node_modules/core-js/internals/is-forced.js");n.exports=function(f,g){var m=f.target,_=f.global,v=f.stat,p,b,x,S,R,O;if(_?b=r:v?b=r[m]||d(m,{}):b=(r[m]||{}).prototype,b)for(x in g){if(R=g[x],f.noTargetGet?(O=i(b,x),S=O&&O.value):S=b[x],p=h(_?x:m+(v?".":"#")+x,f.forced),!p&&S!==void 0){if(typeof R==typeof S)continue;u(R,S)}(f.sham||S&&S.sham)&&a(R,"sham",!0),l(b,x,R,f)}}},"./node_modules/core-js/internals/fails.js":function(n,s){n.exports=function(o){try{return!!o()}catch{return!0}}},"./node_modules/core-js/internals/function-to-string.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js");n.exports=r("native-function-to-string",Function.toString)},"./node_modules/core-js/internals/get-iterator-method.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof.js"),i=o("./node_modules/core-js/internals/iterators.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("iterator");n.exports=function(d){if(d!=null)return d[l]||d["@@iterator"]||i[r(d)]}},"./node_modules/core-js/internals/global.js":function(n,s,o){(function(r){var i="object",a=function(l){return l&&l.Math==Math&&l};n.exports=a(typeof globalThis==i&&globalThis)||a(typeof window==i&&window)||a(typeof self==i&&self)||a(typeof r==i&&r)||Function("return this")()}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/core-js/internals/has.js":function(n,s){var o={}.hasOwnProperty;n.exports=function(r,i){return o.call(r,i)}},"./node_modules/core-js/internals/hidden-keys.js":function(n,s){n.exports={}},"./node_modules/core-js/internals/hide.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/create-property-descriptor.js");n.exports=r?function(l,d,u){return i.f(l,d,a(1,u))}:function(l,d,u){return l[d]=u,l}},"./node_modules/core-js/internals/html.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=r.document;n.exports=i&&i.documentElement},"./node_modules/core-js/internals/ie8-dom-define.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/fails.js"),a=o("./node_modules/core-js/internals/document-create-element.js");n.exports=!r&&!i(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js"),i=o("./node_modules/core-js/internals/classof-raw.js"),a="".split;n.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(l){return i(l)=="String"?a.call(l,""):Object(l)}:Object},"./node_modules/core-js/internals/internal-state.js":function(n,s,o){var r=o("./node_modules/core-js/internals/native-weak-map.js"),i=o("./node_modules/core-js/internals/global.js"),a=o("./node_modules/core-js/internals/is-object.js"),l=o("./node_modules/core-js/internals/hide.js"),d=o("./node_modules/core-js/internals/has.js"),u=o("./node_modules/core-js/internals/shared-key.js"),h=o("./node_modules/core-js/internals/hidden-keys.js"),f=i.WeakMap,g,m,_,v=function(D){return _(D)?m(D):g(D,{})},p=function(D){return function(y){var E;if(!a(y)||(E=m(y)).type!==D)throw TypeError("Incompatible receiver, "+D+" required");return E}};if(r){var b=new f,x=b.get,S=b.has,R=b.set;g=function(D,y){return R.call(b,D,y),y},m=function(D){return x.call(b,D)||{}},_=function(D){return S.call(b,D)}}else{var O=u("state");h[O]=!0,g=function(D,y){return l(D,O,y),y},m=function(D){return d(D,O)?D[O]:{}},_=function(D){return d(D,O)}}n.exports={set:g,get:m,has:_,enforce:v,getterFor:p}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=o("./node_modules/core-js/internals/iterators.js"),a=r("iterator"),l=Array.prototype;n.exports=function(d){return d!==void 0&&(i.Array===d||l[a]===d)}},"./node_modules/core-js/internals/is-forced.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js"),i=/#|\.prototype\./,a=function(f,g){var m=d[l(f)];return m==h?!0:m==u?!1:typeof g=="function"?r(g):!!g},l=a.normalize=function(f){return String(f).replace(i,".").toLowerCase()},d=a.data={},u=a.NATIVE="N",h=a.POLYFILL="P";n.exports=a},"./node_modules/core-js/internals/is-object.js":function(n,s){n.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},"./node_modules/core-js/internals/is-pure.js":function(n,s){n.exports=!1},"./node_modules/core-js/internals/iterators-core.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-get-prototype-of.js"),i=o("./node_modules/core-js/internals/hide.js"),a=o("./node_modules/core-js/internals/has.js"),l=o("./node_modules/core-js/internals/well-known-symbol.js"),d=o("./node_modules/core-js/internals/is-pure.js"),u=l("iterator"),h=!1,f=function(){return this},g,m,_;[].keys&&(_=[].keys(),"next"in _?(m=r(r(_)),m!==Object.prototype&&(g=m)):h=!0),g==null&&(g={}),!d&&!a(g,u)&&i(g,u,f),n.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:h}},"./node_modules/core-js/internals/iterators.js":function(n,s){n.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"./node_modules/core-js/internals/native-weak-map.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/function-to-string.js"),a=r.WeakMap;n.exports=typeof a=="function"&&/native code/.test(i.call(a))},"./node_modules/core-js/internals/object-create.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js"),i=o("./node_modules/core-js/internals/object-define-properties.js"),a=o("./node_modules/core-js/internals/enum-bug-keys.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),d=o("./node_modules/core-js/internals/html.js"),u=o("./node_modules/core-js/internals/document-create-element.js"),h=o("./node_modules/core-js/internals/shared-key.js"),f=h("IE_PROTO"),g="prototype",m=function(){},_=function(){var v=u("iframe"),p=a.length,b="<",x="script",S=">",R="java"+x+":",O;for(v.style.display="none",d.appendChild(v),v.src=String(R),O=v.contentWindow.document,O.open(),O.write(b+x+S+"document.F=Object"+b+"/"+x+S),O.close(),_=O.F;p--;)delete _[g][a[p]];return _()};n.exports=Object.create||function(p,b){var x;return p!==null?(m[g]=r(p),x=new m,m[g]=null,x[f]=p):x=_(),b===void 0?x:i(x,b)},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(_,v,p,b){var x=b?!!b.unsafe:!1,S=b?!!b.enumerable:!1,R=b?!!b.noTargetGet:!1;if(typeof p=="function"&&(typeof v=="string"&&!l(p,"name")&&a(p,"name",v),g(p).source=m.join(typeof v=="string"?v:"")),_===r){S?_[v]=p:d(v,p);return}else x?!R&&_[v]&&(S=!0):delete _[v];S?_[v]=p:a(_,v,p)})(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 v=1;v<arguments.length;v++){var p=arguments[v];for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&(_[b]=p[b])}return _},i=function(){function _(v,p){for(var b=0;b<p.length;b++){var x=p[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(v,x.key,x)}}return function(v,p,b){return p&&_(v.prototype,p),b&&_(v,b),v}}(),a=o("./node_modules/classnames/dedupe.js"),l=h(a),d=o("./src/default-attrs.json"),u=h(d);function h(_){return _&&_.__esModule?_:{default:_}}function f(_,v){if(!(_ instanceof v))throw new TypeError("Cannot call a class as a function")}var g=function(){function _(v,p){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];f(this,_),this.name=v,this.contents=p,this.tags=b,this.attrs=r({},u.default,{class:"feather feather-"+v})}return i(_,[{key:"toSvg",value:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=r({},this.attrs,p,{class:(0,l.default)(this.attrs.class,p.class)});return"<svg "+m(b)+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),_}();function m(_){return Object.keys(_).map(function(v){return v+'="'+_[v]+'"'}).join(" ")}s.default=g},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=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;_<arguments.length;_++){var v=arguments[_];for(var p in v)Object.prototype.hasOwnProperty.call(v,p)&&(m[p]=v[p])}return m},i=o("./node_modules/classnames/dedupe.js"),a=u(i),l=o("./src/icons.js"),d=u(l);function u(m){return m&&m.__esModule?m:{default:m}}function h(){var m=arguments.length>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(v){return f(v,m)})}function f(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=g(m),p=v["data-feather"];delete v["data-feather"];var b=d.default[p].toSvg(r({},_,v,{class:(0,a.default)(_.class,v.class)})),x=new DOMParser().parseFromString(b,"image/svg+xml"),S=x.querySelector("svg");m.parentNode.replaceChild(S,m)}function g(m){return Array.from(m.attributes).reduce(function(_,v){return _[v.name]=v.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 Ky=Bp.exports;const ve=cs(Ky);const Wy={key:0,class:"container flex flex-col sm:flex-row items-center"},Zy={class:"w-full"},Yy={class:"flex flex-row font-medium nav-ul"},$p={__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(k(),C("div",Wy,[c("div",Zy,[c("div",Yy,[ae(dt(on),{to:{name:"discussions"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Discussions ")]),_:1}),ae(dt(on),{to:{name:"playground"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Playground ")]),_:1}),ae(dt(on),{to:{name:"settings"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Settings ")]),_:1}),ae(dt(on),{to:{name:"extensions"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Extensions ")]),_:1}),ae(dt(on),{to:{name:"training"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Training ")]),_:1}),ae(dt(on),{to:{name:"quantizing"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Quantizing ")]),_:1}),ae(dt(on),{to:{name:"help"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Help ")]),_:1})])])])):I("",!0)}};const Jy={class:"top-0 shadow-lg"},Qy={class:"container flex flex-col lg:flex-row item-center gap-2 pb-0"},Xy=c("div",{class:"flex items-center gap-3 flex-1"},[c("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:oc,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),e2={class:"flex gap-3 flex-1 items-center justify-end"},t2=Gs('<a href="https://github.com/ParisNeo/lollms-webui" target="_blank"><div class="text-2xl hover:text-primary duration-150" title="Visit repository page"><i data-feather="github"></i></div></a><a href="https://www.youtube.com/channel/UCJzrg0cyQV2Z30SQ1v2FdSQ" target="_blank"><div class="text-2xl hover:text-primary duration-150" title="Visit my youtube channel"><i data-feather="youtube"></i></div></a>',2),n2={href:"https://twitter.com/SpaceNerduino",target:"_blank"},s2={class:"text-2xl hover:fill-primary dark:fill-white dark:hover:fill-primary duration-150",title:"Follow me on my twitter acount"},o2={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"},r2=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),i2=[r2],a2=c("i",{"data-feather":"sun"},null,-1),l2=[a2],c2=c("i",{"data-feather":"moon"},null,-1),d2=[c2],u2=c("body",null,null,-1),h2={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(()=>{Ui(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}be(()=>{Ui(()=>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}Ui(()=>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}},f2=Object.assign(h2,{setup(t){return(e,n)=>(k(),C(Oe,null,[c("header",Jy,[c("nav",Qy,[ae(dt(on),{to:{name:"discussions"}},{default:Ne(()=>[Xy]),_:1}),c("div",e2,[c("div",{title:"Connection status",class:Ce(["dot",{"dot-green":e.isConnected,"dot-red":!e.isConnected}])},null,2),t2,c("a",n2,[c("div",s2,[(k(),C("svg",o2,i2))])]),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())},l2),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())},d2)])]),ae($p)]),u2],64))}}),p2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50 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"},g2={class:"flex overflow-hidden flex-grow"},m2={__name:"App",setup(t){return(e,n)=>(k(),C("div",p2,[ae(f2),c("div",g2,[ae(dt(Pp),null,{default:Ne(({Component:s})=>[(k(),nt(I1,null,[(k(),nt(V1(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 mr=Object.create(null);Object.keys(Yt).forEach(t=>{mr[Yt[t]]=t});const _2={type:"error",data:"parser error"},b2=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",y2=typeof ArrayBuffer=="function",v2=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,zp=({type:t,data:e},n,s)=>b2&&e instanceof Blob?n?s(e):Vd(e,s):y2&&(e instanceof ArrayBuffer||v2(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+/",lo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<Gd.length;t++)lo[Gd.charCodeAt(t)]=t;const w2=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<n;s+=4)r=lo[t.charCodeAt(s)],i=lo[t.charCodeAt(s+1)],a=lo[t.charCodeAt(s+2)],l=lo[t.charCodeAt(s+3)],u[o++]=r<<2|i>>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return d},x2=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:k2(t.substring(1),e)}:mr[n]?t.length>1?{type:mr[n],data:t.substring(1)}:{type:mr[n]}:_2},k2=(t,e)=>{if(x2){const n=w2(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),E2=(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))})})},C2=(t,e)=>{const n=t.split(qp),s=[];for(let o=0;o<n.length;o++){const r=jp(n[o],e);if(s.push(r),r.type==="error")break}return s},Hp=4;function st(t){if(t)return A2(t)}function A2(t){for(var e in st.prototype)t[e]=st.prototype[e];return t}st.prototype.on=st.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};st.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};st.prototype.off=st.prototype.removeListener=st.prototype.removeAllListeners=st.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var s,o=0;o<n.length;o++)if(s=n[o],s===e||s.fn===e){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+t],this};st.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(n){n=n.slice(0);for(var s=0,o=n.length;s<o;++s)n[s].apply(this,e)}return this};st.prototype.emitReserved=st.prototype.emit;st.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};st.prototype.hasListeners=function(t){return!!this.listeners(t).length};const Et=(()=>typeof 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 S2=Et.setTimeout,T2=Et.clearTimeout;function di(t,e){e.useNativeTimers?(t.setTimeoutFn=S2.bind(Et),t.clearTimeoutFn=T2.bind(Et)):(t.setTimeoutFn=Et.setTimeout.bind(Et),t.clearTimeoutFn=Et.clearTimeout.bind(Et))}const M2=1.33;function O2(t){return typeof t=="string"?R2(t):Math.ceil((t.byteLength||t.size)*M2)}function R2(t){let e=0,n=0;for(let s=0,o=t.length;s<o;s++)e=t.charCodeAt(s),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(s++,n+=4);return n}class N2 extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Gp extends st{constructor(e){super(),this.writable=!1,di(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new N2(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(""),ll=64,D2={};let Kd=0,Yo=0,Wd;function Zd(t){let e="";do e=Kp[t%ll]+e,t=Math.floor(t/ll);while(t>0);return e}function Wp(){const t=Zd(+new Date);return t!==Wd?(Kd=0,Wd=t):t+"."+Zd(Kd++)}for(;Yo<ll;Yo++)D2[Kp[Yo]]=Yo;function Zp(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function L2(t){let e={},n=t.split("&");for(let s=0,o=n.length;s<o;s++){let r=n[s].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}let Yp=!1;try{Yp=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const I2=Yp;function Jp(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||I2))return new XMLHttpRequest}catch{}if(!e)try{return new Et[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function P2(){}const F2=function(){return new Jp({xdomain:!1}).responseType!=null}();class B2 extends Gp{constructor(e){if(super(e),this.polling=!1,typeof location<"u"){const s=location.protocol==="https:";let o=location.port;o||(o=s?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||o!==e.port,this.xs=e.secure!==s}const n=e&&e.forceBase64;this.supportsBinary=F2&&!n}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const n=()=>{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)};C2(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,E2(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 st{constructor(e,n){super(),di(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=P2,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))(),Jo=Et.WebSocket||Et.MozWebSocket,Jd=!0,$2="arraybuffer",Qd=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class z2 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 Jo(e,n):new Jo(e):new Jo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||$2,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<e.length;n++){const s=e[n],o=n===e.length-1;zp(s,this.supportsBinary,r=>{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!!Jo}}const j2={websocket:z2,polling:B2},U2=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,q2=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function cl(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=U2.exec(t||""),r={},i=14;for(;i--;)r[q2[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=H2(r,r.path),r.queryKey=V2(r,r.query),r}function H2(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 V2(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Xp=class _s extends st{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=cl(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=cl(n.host).host),di(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=L2(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 j2[e](s)}open(){let e;if(this.opts.rememberUpgrade&&_s.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;_s.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;_s.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",_s.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<n;e++)this.probe(this.upgrades[e])}}onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const n=new Error("server error");n.code=e.data,this.onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{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;s<this.writeBuffer.length;s++){const o=this.writeBuffer[s].data;if(o&&(n+=O2(o)),s>0&&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){_s.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(;s<o;s++)~this.transports.indexOf(e[s])&&n.push(e[s]);return n}};Xp.protocol=Hp;function G2(t,e="",n){let s=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),s=cl(t)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const r=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+r+":"+s.port+e,s.href=s.protocol+"://"+r+(n&&n.port===s.port?"":":"+s.port),s}const K2=typeof ArrayBuffer=="function",W2=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,eg=Object.prototype.toString,Z2=typeof Blob=="function"||typeof Blob<"u"&&eg.call(Blob)==="[object BlobConstructor]",Y2=typeof File=="function"||typeof File<"u"&&eg.call(File)==="[object FileConstructor]";function rc(t){return K2&&(t instanceof ArrayBuffer||W2(t))||Z2&&t instanceof Blob||Y2&&t instanceof File}function _r(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n<s;n++)if(_r(t[n]))return!0;return!1}if(rc(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return _r(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&_r(t[n]))return!0;return!1}function J2(t){const e=[],n=t.data,s=t;return s.data=dl(n,e),s.attachments=e.length,{packet:s,buffers:e}}function dl(t,e){if(!t)return t;if(rc(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let s=0;s<t.length;s++)n[s]=dl(t[s],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n[s]=dl(t[s],e));return n}return t}function Q2(t,e){return t.data=ul(t.data,e),delete t.attachments,t}function ul(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=ul(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=ul(t[n],e));return t}const X2=5;var Be;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(Be||(Be={}));class ev{constructor(e){this.replacer=e}encode(e){return(e.type===Be.EVENT||e.type===Be.ACK)&&_r(e)?this.encodeAsBinary({type:e.type===Be.EVENT?Be.BINARY_EVENT:Be.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===Be.BINARY_EVENT||e.type===Be.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=J2(e),s=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(s),o}}class ic extends st{constructor(e){super(),this.reviver=e}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const s=n.type===Be.BINARY_EVENT;s||n.type===Be.BINARY_ACK?(n.type=s?Be.EVENT:Be.ACK,this.reconstructor=new tv(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(rc(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const s={type:Number(e.charAt(0))};if(Be[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===Be.BINARY_EVENT||s.type===Be.BINARY_ACK){const r=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const i=e.substring(r,n);if(i!=Number(i)||e.charAt(n)!=="-")throw new Error("Illegal attachments");s.attachments=Number(i)}if(e.charAt(n+1)==="/"){const r=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););s.nsp=e.substring(r,n)}else s.nsp="/";const o=e.charAt(n+1);if(o!==""&&Number(o)==o){const r=n+1;for(;++n;){const i=e.charAt(n);if(i==null||Number(i)!=i){--n;break}if(n===e.length)break}s.id=Number(e.substring(r,n+1))}if(e.charAt(++n)){const r=this.tryParse(e.substr(n));if(ic.isPayloadValid(s.type,r))s.data=r;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case Be.CONNECT:return typeof n=="object";case Be.DISCONNECT:return n===void 0;case Be.CONNECT_ERROR:return typeof n=="string"||typeof n=="object";case Be.EVENT:case Be.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="string"||typeof n[0]=="number");case Be.ACK:case Be.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class tv{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=Q2(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const nv=Object.freeze(Object.defineProperty({__proto__:null,Decoder:ic,Encoder:ev,get PacketType(){return Be},protocol:X2},Symbol.toStringTag,{value:"Module"}));function Dt(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const sv=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class tg extends st{constructor(e,n,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[Dt(e,"open",this.onopen.bind(this)),Dt(e,"packet",this.onpacket.bind(this)),Dt(e,"error",this.onerror.bind(this)),Dt(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){if(sv.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const s={type:Be.EVENT,data:n};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const i=this.ids++,a=n.pop();this._registerAckCallback(i,a),s.id=i}const o=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!o||!this.connected)||(this.connected?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(e,n){var s;const o=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(o===void 0){this.acks[e]=n;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let i=0;i<this.sendBuffer.length;i++)this.sendBuffer[i].id===e&&this.sendBuffer.splice(i,1);n.call(this,new Error("operation has timed out"))},o);this.acks[e]=(...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:Be.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 Be.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 Be.EVENT:case Be.BINARY_EVENT:this.onevent(e);break;case Be.ACK:case Be.BINARY_ACK:this.onack(e);break;case Be.DISCONNECT:this.ondisconnect();break;case Be.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:Be.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:Be.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;s<n.length;s++)if(e===n[s])return n.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let s=0;s<n.length;s++)if(e===n[s])return n.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const s of n)s.apply(this,e.data)}}}function Zs(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Zs.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};Zs.prototype.reset=function(){this.attempts=0};Zs.prototype.setMin=function(t){this.ms=t};Zs.prototype.setMax=function(t){this.max=t};Zs.prototype.setJitter=function(t){this.jitter=t};class hl extends st{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,di(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 Zs({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||nv;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;s<n.length;s++)this.engine.write(n[s],e.options)}cleanup(){this.subs.forEach(e=>e()),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 oo={};function br(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=G2(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=oo[o]&&r in oo[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new hl(s,e):(oo[o]||(oo[o]=new hl(s,e)),l=oo[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(br,{Manager:hl,Socket:tg,io:br,connect:br});const ov=void 0,Ee=new br(ov);const ze=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},rv={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:{}},Ln=t=>(is("data-v-3ffdabf3"),t=t(),as(),t),iv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},av={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"},lv={class:"flex flex-row flex-grow items-center"},cv={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"},dv=Ln(()=>c("i",{"data-feather":"check"},null,-1)),uv=Ln(()=>c("span",{class:"sr-only"},"Check icon",-1)),hv=[dv,uv],fv={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"},pv=Ln(()=>c("i",{"data-feather":"x"},null,-1)),gv=Ln(()=>c("span",{class:"sr-only"},"Cross icon",-1)),mv=[pv,gv],_v=["title"],bv={class:"flex"},yv=["onClick"],vv=Ln(()=>c("span",{class:"sr-only"},"Copy message",-1)),wv=Ln(()=>c("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),xv=[vv,wv],kv=["onClick"],Ev=Ln(()=>c("span",{class:"sr-only"},"Close",-1)),Cv=Ln(()=>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)),Av=[Ev,Cv];function Sv(t,e,n,s,o,r){return k(),C("div",iv,[ae(Ut,{name:"toastItem",tag:"div"},{default:Ne(()=>[(k(!0),C(Oe,null,Ve(o.toastArr,i=>(k(),C("div",{key:i.id,class:"relative"},[c("div",av,[c("div",lv,[Cr(t.$slots,"default",{},()=>[i.success?(k(),C("div",cv,hv)):I("",!0),i.success?I("",!0):(k(),C("div",fv,mv)),c("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},U(i.message),9,_v)],!0)]),c("div",bv,[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"},xv,8,yv),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"},Av,8,kv)])])]))),128))]),_:3})])}const Ys=ze(rv,[["render",Sv],["__scopeId","data-v-3ffdabf3"]]);var He={};const 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="",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="",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="fj",zC="",jC="",UC="",qC="ƒ",HC="𝔽",VC="𝕗",GC="",KC="",WC="",ZC="",YC="",JC="",QC="½",XC="",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="^",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="IJ",J7="ij",Q7="Ī",X7="ī",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="⩰̸",vD="≋̸",wD="ʼn",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="",HQ="",VQ={Aacute:Tv,aacute:Mv,Abreve:Ov,abreve:Rv,ac:Nv,acd:Dv,acE:Lv,Acirc:Iv,acirc:Pv,acute:Fv,Acy:Bv,acy:$v,AElig:zv,aelig:jv,af:Uv,Afr:qv,afr:Hv,Agrave:Vv,agrave:Gv,alefsym:Kv,aleph:Wv,Alpha:Zv,alpha:Yv,Amacr:Jv,amacr:Qv,amalg:Xv,amp:ew,AMP:tw,andand:nw,And:sw,and:ow,andd:rw,andslope:iw,andv:aw,ang:lw,ange:cw,angle:dw,angmsdaa:uw,angmsdab:hw,angmsdac:fw,angmsdad:pw,angmsdae:gw,angmsdaf:mw,angmsdag:_w,angmsdah:bw,angmsd:yw,angrt:vw,angrtvb:ww,angrtvbd:xw,angsph:kw,angst:Ew,angzarr:Cw,Aogon:Aw,aogon:Sw,Aopf:Tw,aopf:Mw,apacir:Ow,ap:Rw,apE:Nw,ape:Dw,apid:Lw,apos:Iw,ApplyFunction:Pw,approx:Fw,approxeq:Bw,Aring:$w,aring:zw,Ascr:jw,ascr:Uw,Assign:qw,ast:Hw,asymp:Vw,asympeq:Gw,Atilde:Kw,atilde:Ww,Auml:Zw,auml:Yw,awconint:Jw,awint:Qw,backcong:Xw,backepsilon:ex,backprime:tx,backsim:nx,backsimeq:sx,Backslash:ox,Barv:rx,barvee:ix,barwed:ax,Barwed:lx,barwedge:cx,bbrk:dx,bbrktbrk:ux,bcong:hx,Bcy:fx,bcy:px,bdquo:gx,becaus:mx,because:_x,Because:bx,bemptyv:yx,bepsi:vx,bernou:wx,Bernoullis:xx,Beta:kx,beta:Ex,beth:Cx,between:Ax,Bfr:Sx,bfr:Tx,bigcap:Mx,bigcirc:Ox,bigcup:Rx,bigodot:Nx,bigoplus:Dx,bigotimes:Lx,bigsqcup:Ix,bigstar:Px,bigtriangledown:Fx,bigtriangleup:Bx,biguplus:$x,bigvee:zx,bigwedge:jx,bkarow:Ux,blacklozenge:qx,blacksquare:Hx,blacktriangle:Vx,blacktriangledown:Gx,blacktriangleleft:Kx,blacktriangleright:Wx,blank:Zx,blk12:Yx,blk14:Jx,blk34:Qx,block:Xx,bne:ek,bnequiv:tk,bNot:nk,bnot:sk,Bopf:ok,bopf:rk,bot:ik,bottom:ak,bowtie:lk,boxbox:ck,boxdl:dk,boxdL:uk,boxDl:hk,boxDL:fk,boxdr:pk,boxdR:gk,boxDr:mk,boxDR:_k,boxh:bk,boxH:yk,boxhd:vk,boxHd:wk,boxhD:xk,boxHD:kk,boxhu:Ek,boxHu:Ck,boxhU:Ak,boxHU:Sk,boxminus:Tk,boxplus:Mk,boxtimes:Ok,boxul:Rk,boxuL:Nk,boxUl:Dk,boxUL:Lk,boxur:Ik,boxuR:Pk,boxUr:Fk,boxUR:Bk,boxv:$k,boxV:zk,boxvh:jk,boxvH:Uk,boxVh:qk,boxVH:Hk,boxvl:Vk,boxvL:Gk,boxVl:Kk,boxVL:Wk,boxvr:Zk,boxvR:Yk,boxVr:Jk,boxVR:Qk,bprime:Xk,breve:e5,Breve:t5,brvbar:n5,bscr:s5,Bscr:o5,bsemi:r5,bsim:i5,bsime:a5,bsolb:l5,bsol:c5,bsolhsub:d5,bull:u5,bullet:h5,bump:f5,bumpE:p5,bumpe:g5,Bumpeq:m5,bumpeq:_5,Cacute:b5,cacute:y5,capand:v5,capbrcup:w5,capcap:x5,cap:k5,Cap:E5,capcup:C5,capdot:A5,CapitalDifferentialD:S5,caps:T5,caret:M5,caron:O5,Cayleys:R5,ccaps:N5,Ccaron:D5,ccaron:L5,Ccedil:I5,ccedil:P5,Ccirc:F5,ccirc:B5,Cconint:$5,ccups:z5,ccupssm:j5,Cdot:U5,cdot:q5,cedil:H5,Cedilla:V5,cemptyv:G5,cent:K5,centerdot:W5,CenterDot:Z5,cfr:Y5,Cfr:J5,CHcy:Q5,chcy:X5,check:eE,checkmark:tE,Chi:nE,chi:sE,circ:oE,circeq:rE,circlearrowleft:iE,circlearrowright:aE,circledast:lE,circledcirc:cE,circleddash:dE,CircleDot:uE,circledR:hE,circledS:fE,CircleMinus:pE,CirclePlus:gE,CircleTimes:mE,cir:_E,cirE:bE,cire:yE,cirfnint:vE,cirmid:wE,cirscir:xE,ClockwiseContourIntegral:kE,CloseCurlyDoubleQuote:EE,CloseCurlyQuote:CE,clubs:AE,clubsuit:SE,colon:TE,Colon:ME,Colone:OE,colone:RE,coloneq:NE,comma:DE,commat:LE,comp:IE,compfn:PE,complement:FE,complexes:BE,cong:$E,congdot:zE,Congruent:jE,conint:UE,Conint:qE,ContourIntegral:HE,copf:VE,Copf:GE,coprod:KE,Coproduct:WE,copy:ZE,COPY:YE,copysr:JE,CounterClockwiseContourIntegral:QE,crarr:XE,cross:e4,Cross:t4,Cscr:n4,cscr:s4,csub:o4,csube:r4,csup:i4,csupe:a4,ctdot:l4,cudarrl:c4,cudarrr:d4,cuepr:u4,cuesc:h4,cularr:f4,cularrp:p4,cupbrcap:g4,cupcap:m4,CupCap:_4,cup:b4,Cup:y4,cupcup:v4,cupdot:w4,cupor:x4,cups:k4,curarr:E4,curarrm:C4,curlyeqprec:A4,curlyeqsucc:S4,curlyvee:T4,curlywedge:M4,curren:O4,curvearrowleft:R4,curvearrowright:N4,cuvee:D4,cuwed:L4,cwconint:I4,cwint:P4,cylcty:F4,dagger:B4,Dagger:$4,daleth:z4,darr:j4,Darr:U4,dArr:q4,dash:H4,Dashv:V4,dashv:G4,dbkarow:K4,dblac:W4,Dcaron:Z4,dcaron:Y4,Dcy:J4,dcy:Q4,ddagger:X4,ddarr:e9,DD:t9,dd:n9,DDotrahd:s9,ddotseq:o9,deg:r9,Del:i9,Delta:a9,delta:l9,demptyv:c9,dfisht:d9,Dfr:u9,dfr:h9,dHar:f9,dharl:p9,dharr:g9,DiacriticalAcute:m9,DiacriticalDot:_9,DiacriticalDoubleAcute:b9,DiacriticalGrave:y9,DiacriticalTilde:v9,diam:w9,diamond:x9,Diamond:k9,diamondsuit:E9,diams:C9,die:A9,DifferentialD:S9,digamma:T9,disin:M9,div:O9,divide:R9,divideontimes:N9,divonx:D9,DJcy:L9,djcy:I9,dlcorn:P9,dlcrop:F9,dollar:B9,Dopf:$9,dopf:z9,Dot:j9,dot:U9,DotDot:q9,doteq:H9,doteqdot:V9,DotEqual:G9,dotminus:K9,dotplus:W9,dotsquare:Z9,doublebarwedge:Y9,DoubleContourIntegral:J9,DoubleDot:Q9,DoubleDownArrow:X9,DoubleLeftArrow:e8,DoubleLeftRightArrow:t8,DoubleLeftTee:n8,DoubleLongLeftArrow:s8,DoubleLongLeftRightArrow:o8,DoubleLongRightArrow:r8,DoubleRightArrow:i8,DoubleRightTee:a8,DoubleUpArrow:l8,DoubleUpDownArrow:c8,DoubleVerticalBar:d8,DownArrowBar:u8,downarrow:h8,DownArrow:f8,Downarrow:p8,DownArrowUpArrow:g8,DownBreve:m8,downdownarrows:_8,downharpoonleft:b8,downharpoonright:y8,DownLeftRightVector:v8,DownLeftTeeVector:w8,DownLeftVectorBar:x8,DownLeftVector:k8,DownRightTeeVector:E8,DownRightVectorBar:C8,DownRightVector:A8,DownTeeArrow:S8,DownTee:T8,drbkarow:M8,drcorn:O8,drcrop:R8,Dscr:N8,dscr:D8,DScy:L8,dscy:I8,dsol:P8,Dstrok:F8,dstrok:B8,dtdot:$8,dtri:z8,dtrif:j8,duarr:U8,duhar:q8,dwangle:H8,DZcy:V8,dzcy:G8,dzigrarr:K8,Eacute:W8,eacute:Z8,easter:Y8,Ecaron:J8,ecaron:Q8,Ecirc:X8,ecirc:e3,ecir:t3,ecolon:n3,Ecy:s3,ecy:o3,eDDot:r3,Edot:i3,edot:a3,eDot:l3,ee:c3,efDot:d3,Efr:u3,efr:h3,eg:f3,Egrave:p3,egrave:g3,egs:m3,egsdot:_3,el:b3,Element:y3,elinters:v3,ell:w3,els:x3,elsdot:k3,Emacr:E3,emacr:C3,empty:A3,emptyset:S3,EmptySmallSquare:T3,emptyv:M3,EmptyVerySmallSquare:O3,emsp13:R3,emsp14:N3,emsp:D3,ENG:L3,eng:I3,ensp:P3,Eogon:F3,eogon:B3,Eopf:$3,eopf:z3,epar:j3,eparsl:U3,eplus:q3,epsi:H3,Epsilon:V3,epsilon:G3,epsiv:K3,eqcirc:W3,eqcolon:Z3,eqsim:Y3,eqslantgtr:J3,eqslantless:Q3,Equal:X3,equals:eC,EqualTilde:tC,equest:nC,Equilibrium:sC,equiv:oC,equivDD:rC,eqvparsl:iC,erarr:aC,erDot:lC,escr:cC,Escr:dC,esdot:uC,Esim:hC,esim:fC,Eta:pC,eta:gC,ETH:mC,eth:_C,Euml:bC,euml:yC,euro:vC,excl:wC,exist:xC,Exists:kC,expectation:EC,exponentiale:CC,ExponentialE:AC,fallingdotseq:SC,Fcy:TC,fcy:MC,female:OC,ffilig:RC,fflig:NC,ffllig:DC,Ffr:LC,ffr:IC,filig:PC,FilledSmallSquare:FC,FilledVerySmallSquare:BC,fjlig:$C,flat:zC,fllig:jC,fltns:UC,fnof:qC,Fopf:HC,fopf:VC,forall:GC,ForAll:KC,fork:WC,forkv:ZC,Fouriertrf:YC,fpartint:JC,frac12:QC,frac13:XC,frac14:e6,frac15:t6,frac16:n6,frac18:s6,frac23:o6,frac25:r6,frac34:i6,frac35:a6,frac38:l6,frac45:c6,frac56:d6,frac58:u6,frac78:h6,frasl:f6,frown:p6,fscr:g6,Fscr:m6,gacute:_6,Gamma:b6,gamma:y6,Gammad:v6,gammad:w6,gap:x6,Gbreve:k6,gbreve:E6,Gcedil:C6,Gcirc:A6,gcirc:S6,Gcy:T6,gcy:M6,Gdot:O6,gdot:R6,ge:N6,gE:D6,gEl:L6,gel:I6,geq:P6,geqq:F6,geqslant:B6,gescc:$6,ges:z6,gesdot:j6,gesdoto:U6,gesdotol:q6,gesl:H6,gesles:V6,Gfr:G6,gfr:K6,gg:W6,Gg:Z6,ggg:Y6,gimel:J6,GJcy:Q6,gjcy:X6,gla:eA,gl:tA,glE:nA,glj:sA,gnap:oA,gnapprox:rA,gne:iA,gnE:aA,gneq:lA,gneqq:cA,gnsim:dA,Gopf:uA,gopf:hA,grave:fA,GreaterEqual:pA,GreaterEqualLess:gA,GreaterFullEqual:mA,GreaterGreater:_A,GreaterLess:bA,GreaterSlantEqual:yA,GreaterTilde:vA,Gscr:wA,gscr:xA,gsim:kA,gsime:EA,gsiml:CA,gtcc:AA,gtcir:SA,gt:TA,GT:MA,Gt:OA,gtdot:RA,gtlPar:NA,gtquest:DA,gtrapprox:LA,gtrarr:IA,gtrdot:PA,gtreqless:FA,gtreqqless:BA,gtrless:$A,gtrsim:zA,gvertneqq:jA,gvnE:UA,Hacek:qA,hairsp:HA,half:VA,hamilt:GA,HARDcy:KA,hardcy:WA,harrcir:ZA,harr:YA,hArr:JA,harrw:QA,Hat:XA,hbar:e7,Hcirc:t7,hcirc:n7,hearts:s7,heartsuit:o7,hellip:r7,hercon:i7,hfr:a7,Hfr:l7,HilbertSpace:c7,hksearow:d7,hkswarow:u7,hoarr:h7,homtht:f7,hookleftarrow:p7,hookrightarrow:g7,hopf:m7,Hopf:_7,horbar:b7,HorizontalLine:y7,hscr:v7,Hscr:w7,hslash:x7,Hstrok:k7,hstrok:E7,HumpDownHump:C7,HumpEqual:A7,hybull:S7,hyphen:T7,Iacute:M7,iacute:O7,ic:R7,Icirc:N7,icirc:D7,Icy:L7,icy:I7,Idot:P7,IEcy:F7,iecy:B7,iexcl:$7,iff:z7,ifr:j7,Ifr:U7,Igrave:q7,igrave:H7,ii:V7,iiiint:G7,iiint:K7,iinfin:W7,iiota:Z7,IJlig:Y7,ijlig:J7,Imacr:Q7,imacr:X7,image:eS,ImaginaryI:tS,imagline:nS,imagpart:sS,imath:oS,Im:rS,imof:iS,imped:aS,Implies:lS,incare:cS,in:"∈",infin:dS,infintie:uS,inodot:hS,intcal:fS,int:pS,Int:gS,integers:mS,Integral:_S,intercal:bS,Intersection:yS,intlarhk:vS,intprod:wS,InvisibleComma:xS,InvisibleTimes:kS,IOcy:ES,iocy:CS,Iogon:AS,iogon:SS,Iopf:TS,iopf:MS,Iota:OS,iota:RS,iprod:NS,iquest:DS,iscr:LS,Iscr:IS,isin:PS,isindot:FS,isinE:BS,isins:$S,isinsv:zS,isinv:jS,it:US,Itilde:qS,itilde:HS,Iukcy:VS,iukcy:GS,Iuml:KS,iuml:WS,Jcirc:ZS,jcirc:YS,Jcy:JS,jcy:QS,Jfr:XS,jfr:eT,jmath:tT,Jopf:nT,jopf:sT,Jscr:oT,jscr:rT,Jsercy:iT,jsercy:aT,Jukcy:lT,jukcy:cT,Kappa:dT,kappa:uT,kappav:hT,Kcedil:fT,kcedil:pT,Kcy:gT,kcy:mT,Kfr:_T,kfr:bT,kgreen:yT,KHcy:vT,khcy:wT,KJcy:xT,kjcy:kT,Kopf:ET,kopf:CT,Kscr:AT,kscr:ST,lAarr:TT,Lacute:MT,lacute:OT,laemptyv:RT,lagran:NT,Lambda:DT,lambda:LT,lang:IT,Lang:PT,langd:FT,langle:BT,lap:$T,Laplacetrf:zT,laquo:jT,larrb:UT,larrbfs:qT,larr:HT,Larr:VT,lArr:GT,larrfs:KT,larrhk:WT,larrlp:ZT,larrpl:YT,larrsim:JT,larrtl:QT,latail:XT,lAtail:eM,lat:tM,late:nM,lates:sM,lbarr:oM,lBarr:rM,lbbrk:iM,lbrace:aM,lbrack:lM,lbrke:cM,lbrksld:dM,lbrkslu:uM,Lcaron:hM,lcaron:fM,Lcedil:pM,lcedil:gM,lceil:mM,lcub:_M,Lcy:bM,lcy:yM,ldca:vM,ldquo:wM,ldquor:xM,ldrdhar:kM,ldrushar:EM,ldsh:CM,le:AM,lE:SM,LeftAngleBracket:TM,LeftArrowBar:MM,leftarrow:OM,LeftArrow:RM,Leftarrow:NM,LeftArrowRightArrow:DM,leftarrowtail:LM,LeftCeiling:IM,LeftDoubleBracket:PM,LeftDownTeeVector:FM,LeftDownVectorBar:BM,LeftDownVector:$M,LeftFloor:zM,leftharpoondown:jM,leftharpoonup:UM,leftleftarrows:qM,leftrightarrow:HM,LeftRightArrow:VM,Leftrightarrow:GM,leftrightarrows:KM,leftrightharpoons:WM,leftrightsquigarrow:ZM,LeftRightVector:YM,LeftTeeArrow:JM,LeftTee:QM,LeftTeeVector:XM,leftthreetimes:eO,LeftTriangleBar:tO,LeftTriangle:nO,LeftTriangleEqual:sO,LeftUpDownVector:oO,LeftUpTeeVector:rO,LeftUpVectorBar:iO,LeftUpVector:aO,LeftVectorBar:lO,LeftVector:cO,lEg:dO,leg:uO,leq:hO,leqq:fO,leqslant:pO,lescc:gO,les:mO,lesdot:_O,lesdoto:bO,lesdotor:yO,lesg:vO,lesges:wO,lessapprox:xO,lessdot:kO,lesseqgtr:EO,lesseqqgtr:CO,LessEqualGreater:AO,LessFullEqual:SO,LessGreater:TO,lessgtr:MO,LessLess:OO,lesssim:RO,LessSlantEqual:NO,LessTilde:DO,lfisht:LO,lfloor:IO,Lfr:PO,lfr:FO,lg:BO,lgE:$O,lHar:zO,lhard:jO,lharu:UO,lharul:qO,lhblk:HO,LJcy:VO,ljcy:GO,llarr:KO,ll:WO,Ll:ZO,llcorner:YO,Lleftarrow:JO,llhard:QO,lltri:XO,Lmidot:eR,lmidot:tR,lmoustache:nR,lmoust:sR,lnap:oR,lnapprox:rR,lne:iR,lnE:aR,lneq:lR,lneqq:cR,lnsim:dR,loang:uR,loarr:hR,lobrk:fR,longleftarrow:pR,LongLeftArrow:gR,Longleftarrow:mR,longleftrightarrow:_R,LongLeftRightArrow:bR,Longleftrightarrow:yR,longmapsto:vR,longrightarrow:wR,LongRightArrow:xR,Longrightarrow:kR,looparrowleft:ER,looparrowright:CR,lopar:AR,Lopf:SR,lopf:TR,loplus:MR,lotimes:OR,lowast:RR,lowbar:NR,LowerLeftArrow:DR,LowerRightArrow:LR,loz:IR,lozenge:PR,lozf:FR,lpar:BR,lparlt:$R,lrarr:zR,lrcorner:jR,lrhar:UR,lrhard:qR,lrm:HR,lrtri:VR,lsaquo:GR,lscr:KR,Lscr:WR,lsh:ZR,Lsh:YR,lsim:JR,lsime:QR,lsimg:XR,lsqb:eN,lsquo:tN,lsquor:nN,Lstrok:sN,lstrok:oN,ltcc:rN,ltcir:iN,lt:aN,LT:lN,Lt:cN,ltdot:dN,lthree:uN,ltimes:hN,ltlarr:fN,ltquest:pN,ltri:gN,ltrie:mN,ltrif:_N,ltrPar:bN,lurdshar:yN,luruhar:vN,lvertneqq:wN,lvnE:xN,macr:kN,male:EN,malt:CN,maltese:AN,Map:"⤅",map:SN,mapsto:TN,mapstodown:MN,mapstoleft:ON,mapstoup:RN,marker:NN,mcomma:DN,Mcy:LN,mcy:IN,mdash:PN,mDDot:FN,measuredangle:BN,MediumSpace:$N,Mellintrf:zN,Mfr:jN,mfr:UN,mho:qN,micro:HN,midast:VN,midcir:GN,mid:KN,middot:WN,minusb:ZN,minus:YN,minusd:JN,minusdu:QN,MinusPlus:XN,mlcp:eD,mldr:tD,mnplus:nD,models:sD,Mopf:oD,mopf:rD,mp:iD,mscr:aD,Mscr:lD,mstpos:cD,Mu:dD,mu:uD,multimap:hD,mumap:fD,nabla:pD,Nacute:gD,nacute:mD,nang:_D,nap:bD,napE:yD,napid:vD,napos:wD,napprox:xD,natural:kD,naturals:ED,natur:CD,nbsp:AD,nbump:SD,nbumpe:TD,ncap:MD,Ncaron:OD,ncaron:RD,Ncedil:ND,ncedil:DD,ncong:LD,ncongdot:ID,ncup:PD,Ncy:FD,ncy:BD,ndash:$D,nearhk:zD,nearr:jD,neArr:UD,nearrow:qD,ne:HD,nedot:VD,NegativeMediumSpace:GD,NegativeThickSpace:KD,NegativeThinSpace:WD,NegativeVeryThinSpace:ZD,nequiv:YD,nesear:JD,nesim:QD,NestedGreaterGreater:XD,NestedLessLess:eL,NewLine:tL,nexist:nL,nexists:sL,Nfr:oL,nfr:rL,ngE:iL,nge:aL,ngeq:lL,ngeqq:cL,ngeqslant:dL,nges:uL,nGg:hL,ngsim:fL,nGt:pL,ngt:gL,ngtr:mL,nGtv:_L,nharr:bL,nhArr:yL,nhpar:vL,ni:wL,nis:xL,nisd:kL,niv:EL,NJcy:CL,njcy:AL,nlarr:SL,nlArr:TL,nldr:ML,nlE:OL,nle:RL,nleftarrow:NL,nLeftarrow:DL,nleftrightarrow:LL,nLeftrightarrow:IL,nleq:PL,nleqq:FL,nleqslant:BL,nles:$L,nless:zL,nLl:jL,nlsim:UL,nLt:qL,nlt:HL,nltri:VL,nltrie:GL,nLtv:KL,nmid:WL,NoBreak:ZL,NonBreakingSpace:YL,nopf:JL,Nopf:QL,Not:XL,not:eI,NotCongruent:tI,NotCupCap:nI,NotDoubleVerticalBar:sI,NotElement:oI,NotEqual:rI,NotEqualTilde:iI,NotExists:aI,NotGreater:lI,NotGreaterEqual:cI,NotGreaterFullEqual:dI,NotGreaterGreater:uI,NotGreaterLess:hI,NotGreaterSlantEqual:fI,NotGreaterTilde:pI,NotHumpDownHump:gI,NotHumpEqual:mI,notin:_I,notindot:bI,notinE:yI,notinva:vI,notinvb:wI,notinvc:xI,NotLeftTriangleBar:kI,NotLeftTriangle:EI,NotLeftTriangleEqual:CI,NotLess:AI,NotLessEqual:SI,NotLessGreater:TI,NotLessLess:MI,NotLessSlantEqual:OI,NotLessTilde:RI,NotNestedGreaterGreater:NI,NotNestedLessLess:DI,notni:LI,notniva:II,notnivb:PI,notnivc:FI,NotPrecedes:BI,NotPrecedesEqual:$I,NotPrecedesSlantEqual:zI,NotReverseElement:jI,NotRightTriangleBar:UI,NotRightTriangle:qI,NotRightTriangleEqual:HI,NotSquareSubset:VI,NotSquareSubsetEqual:GI,NotSquareSuperset:KI,NotSquareSupersetEqual:WI,NotSubset:ZI,NotSubsetEqual:YI,NotSucceeds:JI,NotSucceedsEqual:QI,NotSucceedsSlantEqual:XI,NotSucceedsTilde:eP,NotSuperset:tP,NotSupersetEqual:nP,NotTilde:sP,NotTildeEqual:oP,NotTildeFullEqual:rP,NotTildeTilde:iP,NotVerticalBar:aP,nparallel:lP,npar:cP,nparsl:dP,npart:uP,npolint:hP,npr:fP,nprcue:pP,nprec:gP,npreceq:mP,npre:_P,nrarrc:bP,nrarr:yP,nrArr:vP,nrarrw:wP,nrightarrow:xP,nRightarrow:kP,nrtri:EP,nrtrie:CP,nsc:AP,nsccue:SP,nsce:TP,Nscr:MP,nscr:OP,nshortmid:RP,nshortparallel:NP,nsim:DP,nsime:LP,nsimeq:IP,nsmid:PP,nspar:FP,nsqsube:BP,nsqsupe:$P,nsub:zP,nsubE:jP,nsube:UP,nsubset:qP,nsubseteq:HP,nsubseteqq:VP,nsucc:GP,nsucceq:KP,nsup:WP,nsupE:ZP,nsupe:YP,nsupset:JP,nsupseteq:QP,nsupseteqq:XP,ntgl:eF,Ntilde:tF,ntilde:nF,ntlg:sF,ntriangleleft:oF,ntrianglelefteq:rF,ntriangleright:iF,ntrianglerighteq:aF,Nu:lF,nu:cF,num:dF,numero:uF,numsp:hF,nvap:fF,nvdash:pF,nvDash:gF,nVdash:mF,nVDash:_F,nvge:bF,nvgt:yF,nvHarr:vF,nvinfin:wF,nvlArr:xF,nvle:kF,nvlt:EF,nvltrie:CF,nvrArr:AF,nvrtrie:SF,nvsim:TF,nwarhk:MF,nwarr:OF,nwArr:RF,nwarrow:NF,nwnear:DF,Oacute:LF,oacute:IF,oast:PF,Ocirc:FF,ocirc:BF,ocir:$F,Ocy:zF,ocy:jF,odash:UF,Odblac:qF,odblac:HF,odiv:VF,odot:GF,odsold:KF,OElig:WF,oelig:ZF,ofcir:YF,Ofr:JF,ofr:QF,ogon:XF,Ograve:eB,ograve:tB,ogt:nB,ohbar:sB,ohm:oB,oint:rB,olarr:iB,olcir:aB,olcross:lB,oline:cB,olt:dB,Omacr:uB,omacr:hB,Omega:fB,omega:pB,Omicron:gB,omicron:mB,omid:_B,ominus:bB,Oopf:yB,oopf:vB,opar:wB,OpenCurlyDoubleQuote:xB,OpenCurlyQuote:kB,operp:EB,oplus:CB,orarr:AB,Or:SB,or:TB,ord:MB,order:OB,orderof:RB,ordf:NB,ordm:DB,origof:LB,oror:IB,orslope:PB,orv:FB,oS:BB,Oscr:$B,oscr:zB,Oslash:jB,oslash:UB,osol:qB,Otilde:HB,otilde:VB,otimesas:GB,Otimes:KB,otimes:WB,Ouml:ZB,ouml:YB,ovbar:JB,OverBar:QB,OverBrace:XB,OverBracket:e$,OverParenthesis:t$,para:n$,parallel:s$,par:o$,parsim:r$,parsl:i$,part:a$,PartialD:l$,Pcy:c$,pcy:d$,percnt:u$,period:h$,permil:f$,perp:p$,pertenk:g$,Pfr:m$,pfr:_$,Phi:b$,phi:y$,phiv:v$,phmmat:w$,phone:x$,Pi:k$,pi:E$,pitchfork:C$,piv:A$,planck:S$,planckh:T$,plankv:M$,plusacir:O$,plusb:R$,pluscir:N$,plus:D$,plusdo:L$,plusdu:I$,pluse:P$,PlusMinus:F$,plusmn:B$,plussim:$$,plustwo:z$,pm:j$,Poincareplane:U$,pointint:q$,popf:H$,Popf:V$,pound:G$,prap:K$,Pr:W$,pr:Z$,prcue:Y$,precapprox:J$,prec:Q$,preccurlyeq:X$,Precedes:ez,PrecedesEqual:tz,PrecedesSlantEqual:nz,PrecedesTilde:sz,preceq:oz,precnapprox:rz,precneqq:iz,precnsim:az,pre:lz,prE:cz,precsim:dz,prime:uz,Prime:hz,primes:fz,prnap:pz,prnE:gz,prnsim:mz,prod:_z,Product:bz,profalar:yz,profline:vz,profsurf:wz,prop:xz,Proportional:kz,Proportion:Ez,propto:Cz,prsim:Az,prurel:Sz,Pscr:Tz,pscr:Mz,Psi:Oz,psi:Rz,puncsp:Nz,Qfr:Dz,qfr:Lz,qint:Iz,qopf:Pz,Qopf:Fz,qprime:Bz,Qscr:$z,qscr:zz,quaternions:jz,quatint:Uz,quest:qz,questeq:Hz,quot:Vz,QUOT:Gz,rAarr:Kz,race:Wz,Racute:Zz,racute:Yz,radic:Jz,raemptyv:Qz,rang:Xz,Rang:ej,rangd:tj,range:nj,rangle:sj,raquo:oj,rarrap:rj,rarrb:ij,rarrbfs:aj,rarrc:lj,rarr:cj,Rarr:dj,rArr:uj,rarrfs:hj,rarrhk:fj,rarrlp:pj,rarrpl:gj,rarrsim:mj,Rarrtl:_j,rarrtl:bj,rarrw:yj,ratail:vj,rAtail:wj,ratio:xj,rationals:kj,rbarr:Ej,rBarr:Cj,RBarr:Aj,rbbrk:Sj,rbrace:Tj,rbrack:Mj,rbrke:Oj,rbrksld:Rj,rbrkslu:Nj,Rcaron:Dj,rcaron:Lj,Rcedil:Ij,rcedil:Pj,rceil:Fj,rcub:Bj,Rcy:$j,rcy:zj,rdca:jj,rdldhar:Uj,rdquo:qj,rdquor:Hj,rdsh:Vj,real:Gj,realine:Kj,realpart:Wj,reals:Zj,Re:Yj,rect:Jj,reg:Qj,REG:Xj,ReverseElement:eU,ReverseEquilibrium:tU,ReverseUpEquilibrium:nU,rfisht:sU,rfloor:oU,rfr:rU,Rfr:iU,rHar:aU,rhard:lU,rharu:cU,rharul:dU,Rho:uU,rho:hU,rhov:fU,RightAngleBracket:pU,RightArrowBar:gU,rightarrow:mU,RightArrow:_U,Rightarrow:bU,RightArrowLeftArrow:yU,rightarrowtail:vU,RightCeiling:wU,RightDoubleBracket:xU,RightDownTeeVector:kU,RightDownVectorBar:EU,RightDownVector:CU,RightFloor:AU,rightharpoondown:SU,rightharpoonup:TU,rightleftarrows:MU,rightleftharpoons:OU,rightrightarrows:RU,rightsquigarrow:NU,RightTeeArrow:DU,RightTee:LU,RightTeeVector:IU,rightthreetimes:PU,RightTriangleBar:FU,RightTriangle:BU,RightTriangleEqual:$U,RightUpDownVector:zU,RightUpTeeVector:jU,RightUpVectorBar:UU,RightUpVector:qU,RightVectorBar:HU,RightVector:VU,ring:GU,risingdotseq:KU,rlarr:WU,rlhar:ZU,rlm:YU,rmoustache:JU,rmoust:QU,rnmid:XU,roang:eq,roarr:tq,robrk:nq,ropar:sq,ropf:oq,Ropf:rq,roplus:iq,rotimes:aq,RoundImplies:lq,rpar:cq,rpargt:dq,rppolint:uq,rrarr:hq,Rrightarrow:fq,rsaquo:pq,rscr:gq,Rscr:mq,rsh:_q,Rsh:bq,rsqb:yq,rsquo:vq,rsquor:wq,rthree:xq,rtimes:kq,rtri:Eq,rtrie:Cq,rtrif:Aq,rtriltri:Sq,RuleDelayed:Tq,ruluhar:Mq,rx:Oq,Sacute:Rq,sacute:Nq,sbquo:Dq,scap:Lq,Scaron:Iq,scaron:Pq,Sc:Fq,sc:Bq,sccue:$q,sce:zq,scE:jq,Scedil:Uq,scedil:qq,Scirc:Hq,scirc:Vq,scnap:Gq,scnE:Kq,scnsim:Wq,scpolint:Zq,scsim:Yq,Scy:Jq,scy:Qq,sdotb:Xq,sdot:eH,sdote:tH,searhk:nH,searr:sH,seArr:oH,searrow:rH,sect:iH,semi:aH,seswar:lH,setminus:cH,setmn:dH,sext:uH,Sfr:hH,sfr:fH,sfrown:pH,sharp:gH,SHCHcy:mH,shchcy:_H,SHcy:bH,shcy:yH,ShortDownArrow:vH,ShortLeftArrow:wH,shortmid:xH,shortparallel:kH,ShortRightArrow:EH,ShortUpArrow:CH,shy:AH,Sigma:SH,sigma:TH,sigmaf:MH,sigmav:OH,sim:RH,simdot:NH,sime:DH,simeq:LH,simg:IH,simgE:PH,siml:FH,simlE:BH,simne:$H,simplus:zH,simrarr:jH,slarr:UH,SmallCircle:qH,smallsetminus:HH,smashp:VH,smeparsl:GH,smid:KH,smile:WH,smt:ZH,smte:YH,smtes:JH,SOFTcy:QH,softcy:XH,solbar:eV,solb:tV,sol:nV,Sopf:sV,sopf:oV,spades:rV,spadesuit:iV,spar:aV,sqcap:lV,sqcaps:cV,sqcup:dV,sqcups:uV,Sqrt:hV,sqsub:fV,sqsube:pV,sqsubset:gV,sqsubseteq:mV,sqsup:_V,sqsupe:bV,sqsupset:yV,sqsupseteq:vV,square:wV,Square:xV,SquareIntersection:kV,SquareSubset:EV,SquareSubsetEqual:CV,SquareSuperset:AV,SquareSupersetEqual:SV,SquareUnion:TV,squarf:MV,squ:OV,squf:RV,srarr:NV,Sscr:DV,sscr:LV,ssetmn:IV,ssmile:PV,sstarf:FV,Star:BV,star:$V,starf:zV,straightepsilon:jV,straightphi:UV,strns:qV,sub:HV,Sub:VV,subdot:GV,subE:KV,sube:WV,subedot:ZV,submult:YV,subnE:JV,subne:QV,subplus:XV,subrarr:eG,subset:tG,Subset:nG,subseteq:sG,subseteqq:oG,SubsetEqual:rG,subsetneq:iG,subsetneqq:aG,subsim:lG,subsub:cG,subsup:dG,succapprox:uG,succ:hG,succcurlyeq:fG,Succeeds:pG,SucceedsEqual:gG,SucceedsSlantEqual:mG,SucceedsTilde:_G,succeq:bG,succnapprox:yG,succneqq:vG,succnsim:wG,succsim:xG,SuchThat:kG,sum:EG,Sum:CG,sung:AG,sup1:SG,sup2:TG,sup3:MG,sup:OG,Sup:RG,supdot:NG,supdsub:DG,supE:LG,supe:IG,supedot:PG,Superset:FG,SupersetEqual:BG,suphsol:$G,suphsub:zG,suplarr:jG,supmult:UG,supnE:qG,supne:HG,supplus:VG,supset:GG,Supset:KG,supseteq:WG,supseteqq:ZG,supsetneq:YG,supsetneqq:JG,supsim:QG,supsub:XG,supsup:eK,swarhk:tK,swarr:nK,swArr:sK,swarrow:oK,swnwar:rK,szlig:iK,Tab:aK,target:lK,Tau:cK,tau:dK,tbrk:uK,Tcaron:hK,tcaron:fK,Tcedil:pK,tcedil:gK,Tcy:mK,tcy:_K,tdot:bK,telrec:yK,Tfr:vK,tfr:wK,there4:xK,therefore:kK,Therefore:EK,Theta:CK,theta:AK,thetasym:SK,thetav:TK,thickapprox:MK,thicksim:OK,ThickSpace:RK,ThinSpace:NK,thinsp:DK,thkap:LK,thksim:IK,THORN:PK,thorn:FK,tilde:BK,Tilde:$K,TildeEqual:zK,TildeFullEqual:jK,TildeTilde:UK,timesbar:qK,timesb:HK,times:VK,timesd:GK,tint:KK,toea:WK,topbot:ZK,topcir:YK,top:JK,Topf:QK,topf:XK,topfork:eW,tosa:tW,tprime:nW,trade:sW,TRADE:oW,triangle:rW,triangledown:iW,triangleleft:aW,trianglelefteq:lW,triangleq:cW,triangleright:dW,trianglerighteq:uW,tridot:hW,trie:fW,triminus:pW,TripleDot:gW,triplus:mW,trisb:_W,tritime:bW,trpezium:yW,Tscr:vW,tscr:wW,TScy:xW,tscy:kW,TSHcy:EW,tshcy:CW,Tstrok:AW,tstrok:SW,twixt:TW,twoheadleftarrow:MW,twoheadrightarrow:OW,Uacute:RW,uacute:NW,uarr:DW,Uarr:LW,uArr:IW,Uarrocir:PW,Ubrcy:FW,ubrcy:BW,Ubreve:$W,ubreve:zW,Ucirc:jW,ucirc:UW,Ucy:qW,ucy:HW,udarr:VW,Udblac:GW,udblac:KW,udhar:WW,ufisht:ZW,Ufr:YW,ufr:JW,Ugrave:QW,ugrave:XW,uHar:eZ,uharl:tZ,uharr:nZ,uhblk:sZ,ulcorn:oZ,ulcorner:rZ,ulcrop:iZ,ultri:aZ,Umacr:lZ,umacr:cZ,uml:dZ,UnderBar:uZ,UnderBrace:hZ,UnderBracket:fZ,UnderParenthesis:pZ,Union:gZ,UnionPlus:mZ,Uogon:_Z,uogon:bZ,Uopf:yZ,uopf:vZ,UpArrowBar:wZ,uparrow:xZ,UpArrow:kZ,Uparrow:EZ,UpArrowDownArrow:CZ,updownarrow:AZ,UpDownArrow:SZ,Updownarrow:TZ,UpEquilibrium:MZ,upharpoonleft:OZ,upharpoonright:RZ,uplus:NZ,UpperLeftArrow:DZ,UpperRightArrow:LZ,upsi:IZ,Upsi:PZ,upsih:FZ,Upsilon:BZ,upsilon:$Z,UpTeeArrow:zZ,UpTee:jZ,upuparrows:UZ,urcorn:qZ,urcorner:HZ,urcrop:VZ,Uring:GZ,uring:KZ,urtri:WZ,Uscr:ZZ,uscr:YZ,utdot:JZ,Utilde:QZ,utilde:XZ,utri:eY,utrif:tY,uuarr:nY,Uuml:sY,uuml:oY,uwangle:rY,vangrt:iY,varepsilon:aY,varkappa:lY,varnothing:cY,varphi:dY,varpi:uY,varpropto:hY,varr:fY,vArr:pY,varrho:gY,varsigma:mY,varsubsetneq:_Y,varsubsetneqq:bY,varsupsetneq:yY,varsupsetneqq:vY,vartheta:wY,vartriangleleft:xY,vartriangleright:kY,vBar:EY,Vbar:CY,vBarv:AY,Vcy:SY,vcy:TY,vdash:MY,vDash:OY,Vdash:RY,VDash:NY,Vdashl:DY,veebar:LY,vee:IY,Vee:PY,veeeq:FY,vellip:BY,verbar:$Y,Verbar:zY,vert:jY,Vert:UY,VerticalBar:qY,VerticalLine:HY,VerticalSeparator:VY,VerticalTilde:GY,VeryThinSpace:KY,Vfr:WY,vfr:ZY,vltri:YY,vnsub:JY,vnsup:QY,Vopf:XY,vopf:eJ,vprop:tJ,vrtri:nJ,Vscr:sJ,vscr:oJ,vsubnE:rJ,vsubne:iJ,vsupnE:aJ,vsupne:lJ,Vvdash:cJ,vzigzag:dJ,Wcirc:uJ,wcirc:hJ,wedbar:fJ,wedge:pJ,Wedge:gJ,wedgeq:mJ,weierp:_J,Wfr:bJ,wfr:yJ,Wopf:vJ,wopf:wJ,wp:xJ,wr:kJ,wreath:EJ,Wscr:CJ,wscr:AJ,xcap:SJ,xcirc:TJ,xcup:MJ,xdtri:OJ,Xfr:RJ,xfr:NJ,xharr:DJ,xhArr:LJ,Xi:IJ,xi:PJ,xlarr:FJ,xlArr:BJ,xmap:$J,xnis:zJ,xodot:jJ,Xopf:UJ,xopf:qJ,xoplus:HJ,xotime:VJ,xrarr:GJ,xrArr:KJ,Xscr:WJ,xscr:ZJ,xsqcup:YJ,xuplus:JJ,xutri:QJ,xvee:XJ,xwedge:eQ,Yacute:tQ,yacute:nQ,YAcy:sQ,yacy:oQ,Ycirc:rQ,ycirc:iQ,Ycy:aQ,ycy:lQ,yen:cQ,Yfr:dQ,yfr:uQ,YIcy:hQ,yicy:fQ,Yopf:pQ,yopf:gQ,Yscr:mQ,yscr:_Q,YUcy:bQ,yucy:yQ,yuml:vQ,Yuml:wQ,Zacute:xQ,zacute:kQ,Zcaron:EQ,zcaron:CQ,Zcy:AQ,zcy:SQ,Zdot:TQ,zdot:MQ,zeetrf:OQ,ZeroWidthSpace:RQ,Zeta:NQ,zeta:DQ,zfr:LQ,Zfr:IQ,ZHcy:PQ,zhcy:FQ,zigrarr:BQ,zopf:$Q,Zopf:zQ,Zscr:jQ,zscr:UQ,zwj:qQ,zwnj:HQ};var ng=VQ,ac=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Js={},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),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)s[t.charCodeAt(e)]=t[e];return s}function ui(t,e,n){var s,o,r,i,a,l="";for(typeof e!="string"&&(n=e,e=ui.defaultChars),typeof n>"u"&&(n=!0),a=GQ(e),s=0,o=t.length;s<o;s++){if(r=t.charCodeAt(s),n&&r===37&&s+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(s+1,s+3))){l+=t.slice(s,s+3),s+=2;continue}if(r<128){l+=a[r];continue}if(r>=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1<o&&(i=t.charCodeAt(s+1),i>=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}ui.defaultChars=";/?:@&=+$,-_.!~*'()#";ui.componentChars="-_.!~*'()";var KQ=ui,eu={};function WQ(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<t.length;e++)n=t.charCodeAt(e),s[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return s}function hi(t,e){var n;return typeof e!="string"&&(e=hi.defaultChars),n=WQ(e),t.replace(/(%[a-f0-9]{2})+/gi,function(s){var o,r,i,a,l,d,u,h="";for(o=0,r=s.length;o<r;o+=3){if(i=parseInt(s.slice(o+1,o+3),16),i<128){h+=n[i];continue}if((i&224)===192&&o+3<r&&(a=parseInt(s.slice(o+4,o+6),16),(a&192)===128)){u=i<<6&1984|a&63,u<128?h+="<22><>":h+=String.fromCharCode(u),o+=3;continue}if((i&240)===224&&o+6<r&&(a=parseInt(s.slice(o+4,o+6),16),l=parseInt(s.slice(o+7,o+9),16),(a&192)===128&&(l&192)===128)){u=i<<12&61440|a<<6&4032|l&63,u<2048||u>=55296&&u<=57343?h+="<22><><EFBFBD>":h+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+9<r&&(a=parseInt(s.slice(o+4,o+6),16),l=parseInt(s.slice(o+7,o+9),16),d=parseInt(s.slice(o+10,o+12),16),(a&192)===128&&(l&192)===128&&(d&192)===128)){u=i<<18&1835008|a<<12&258048|l<<6&4032|d&63,u<65536||u>1114111?h+="<22><><EFBFBD><EFBFBD>":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}h+="<22>"}return h})}hi.defaultChars=";/?:@&=+$,#";hi.componentChars="";var ZQ=hi,YQ=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 Or(){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 JQ=/^([a-z0-9.+-]+:)/i,QQ=/:[0-9]*$/,XQ=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,eX=["<",">",'"',"`"," ","\r",`
`," "],tX=["{","}","|","\\","^","`"].concat(eX),nX=["'"].concat(tX),tu=["%","/","?",";","#"].concat(nX),nu=["/","?","#"],sX=255,su=/^[+a-z0-9A-Z_-]{0,63}$/,oX=/^([+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 rX(t,e){if(t&&t instanceof Or)return t;var n=new Or;return n.parse(t,e),n}Or.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=XQ.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var d=JQ.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;n<nu.length;n++)r=a.indexOf(nu[n]),r!==-1&&(u===-1||r<u)&&(u=r);var h,f;for(u===-1?f=a.lastIndexOf("@"):f=a.lastIndexOf("@",u),f!==-1&&(h=a.slice(0,f),a=a.slice(f+1),this.auth=h),u=-1,n=0;n<tu.length;n++)r=a.indexOf(tu[n]),r!==-1&&(u===-1||r<u)&&(u=r);u===-1&&(u=a.length),a[u-1]===":"&&u--;var g=a.slice(0,u);a=a.slice(u),this.parseHost(g),this.hostname=this.hostname||"";var m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){var _=this.hostname.split(/\./);for(n=0,s=_.length;n<s;n++){var v=_[n];if(v&&!v.match(su)){for(var p="",b=0,x=v.length;b<x;b++)v.charCodeAt(b)>127?p+="x":p+=v[b];if(!p.match(su)){var S=_.slice(0,n),R=_.slice(n+1),O=v.match(oX);O&&(S.push(O[1]),R.unshift(O[2])),R.length&&(a=R.join(".")+a),this.hostname=S.join(".");break}}}}this.hostname.length>sX&&(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 y=a.indexOf("?");return y!==-1&&(this.search=a.substr(y),a=a.slice(0,y)),a&&(this.pathname=a),ru[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Or.prototype.parseHost=function(t){var e=QQ.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 iX=rX;Js.encode=KQ;Js.decode=ZQ;Js.format=YQ;Js.parse=iX;var zn={},qi,iu;function sg(){return iu||(iu=1,qi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),qi}var Hi,au;function og(){return au||(au=1,Hi=/[\0-\x1F\x7F-\x9F]/),Hi}var Vi,lu;function aX(){return lu||(lu=1,Vi=/[\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]/),Vi}var Gi,cu;function rg(){return cu||(cu=1,Gi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Gi}var du;function lX(){return du||(du=1,zn.Any=sg(),zn.Cc=og(),zn.Cf=aX(),zn.P=ac,zn.Z=rg()),zn}(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,ue){return s.call(P,ue)}function r(P){var ue=Array.prototype.slice.call(arguments,1);return ue.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,ue,Z){return[].concat(P.slice(0,ue),Z,P.slice(ue+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 ue=55296+(P>>10),Z=56320+(P&1023);return String.fromCharCode(ue,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=ng;function m(P,ue){var Z=0;return o(g,ue)?g[ue]:ue.charCodeAt(0)===35&&f.test(ue)&&(Z=ue[1].toLowerCase()==="x"?parseInt(ue.slice(2),16):parseInt(ue.slice(1),10),a(Z))?l(Z):P}function _(P){return P.indexOf("\\")<0?P:P.replace(d,"$1")}function v(P){return P.indexOf("\\")<0&&P.indexOf("&")<0?P:P.replace(h,function(ue,Z,T){return Z||m(ue,T)})}var p=/[&<>"]/,b=/[&<>"]/g,x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function S(P){return x[P]}function R(P){return p.test(P)?P.replace(b,S):P}var O=/[.?*+^$[\]\\(){}|-]/g;function D(P){return P.replace(O,"\\$&")}function y(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=ac;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=Js,t.lib.ucmicro=lX(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=_,t.unescapeAll=v,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=y,t.isWhiteSpace=E,t.isMdAsciiPunct=B,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=J})(He);var fi={},cX=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.pos<d;){if(i=e.src.charCodeAt(e.pos),i===93&&(o--,o===0)){r=!0;break}if(a=e.pos,e.md.inline.skipToken(e),i===91){if(a===e.pos-1)o++;else if(s)return e.pos=u,-1}}return r&&(l=e.pos),e.pos=u,l},uu=He.unescapeAll,dX=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(n)===60){for(n++;n<s;){if(o=e.charCodeAt(n),o===10||o===60)return l;if(o===62)return l.pos=n+1,l.str=uu(e.slice(a+1,n)),l.ok=!0,l;if(o===92&&n+1<s){n+=2;continue}n++}return l}for(r=0;n<s&&(o=e.charCodeAt(n),!(o===32||o<32||o===127));){if(o===92&&n+1<s){if(e.charCodeAt(n+1)===32)break;n+=2;continue}if(o===40&&(r++,r>32))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},uX=He.unescapeAll,hX=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<s;){if(o=e.charCodeAt(n),o===r)return l.pos=n+1,l.lines=i,l.str=uX(e.slice(a+1,n)),l.ok=!0,l;if(o===40&&r===41)return l;o===10?i++:o===92&&n+1<s&&(n++,e.charCodeAt(n)===10&&i++),n++}return l};fi.parseLinkLabel=cX;fi.parseLinkDestination=dX;fi.parseLinkTitle=hX;var fX=He.assign,pX=He.unescapeAll,ns=He.escapeHtml,Qt={};Qt.code_inline=function(t,e,n,s,o){var r=t[e];return"<code"+o.renderAttrs(r)+">"+ns(t[e].content)+"</code>"};Qt.code_block=function(t,e,n,s,o){var r=t[e];return"<pre"+o.renderAttrs(r)+"><code>"+ns(t[e].content)+`</code></pre>
`};Qt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?pX(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)||ns(r.content):d=ns(r.content),d.indexOf("<pre")===0?d+`
`:i?(u=r.attrIndex("class"),f=r.attrs?r.attrs.slice():[],u<0?f.push(["class",n.langPrefix+a]):(f[u]=f[u].slice(),f[u][1]+=" "+n.langPrefix+a),g={attrs:f},"<pre><code"+o.renderAttrs(g)+">"+d+`</code></pre>
`):"<pre><code"+o.renderAttrs(r)+">"+d+`</code></pre>
`};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?`<br />
`:`<br>
`};Qt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`};Qt.text=function(t,e){return ns(t[e].content)};Qt.html_block=function(t,e){return t[e].content};Qt.html_inline=function(t,e){return t[e].content};function Qs(){this.rules=fX({},Qt)}Qs.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n<s;n++)o+=" "+ns(e.attrs[n][0])+'="'+ns(e.attrs[n][1])+'"';return o};Qs.prototype.renderToken=function(e,n,s){var o,r="",i=!1,a=e[n];return a.hidden?"":(a.block&&a.nesting!==-1&&n&&e[n-1].hidden&&(r+=`
`),r+=(a.nesting===-1?"</":"<")+a.tag,r+=this.renderAttrs(a),a.nesting===0&&s.xhtmlOut&&(r+=" /"),a.block&&(i=!0,a.nesting===1&&n+1<e.length&&(o=e[n+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===a.tag)&&(i=!1))),r+=i?`>
`:">",r)};Qs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i<a;i++)s=t[i].type,typeof r[s]<"u"?o+=r[s](t,i,e,n,this):o+=this.renderToken(t,i,e);return o};Qs.prototype.renderInlineAsText=function(t,e,n){for(var s="",o=0,r=t.length;o<r;o++)t[o].type==="text"?s+=t[o].content:t[o].type==="image"?s+=this.renderInlineAsText(t[o].children,e,n):t[o].type==="softbreak"&&(s+=`
`);return s};Qs.prototype.render=function(t,e,n){var s,o,r,i="",a=this.rules;for(s=0,o=t.length;s<o;s++)r=t[s].type,r==="inline"?i+=this.renderInline(t[s].children,e,n):typeof a[r]<"u"?i+=a[t[s].type](t,s,e,n,this):i+=this.renderToken(t,s,e,n);return i};var gX=Qs;function $t(){this.__rules__=[],this.__cache__=null}$t.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};$t.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(s){e.indexOf(s)<0&&e.push(s)})}),t.__cache__={},e.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(s){s.enabled&&(n&&s.alt.indexOf(n)<0||t.__cache__[n].push(s.fn))})})};$t.prototype.at=function(t,e,n){var s=this.__find__(t),o=n||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__[s].fn=e,this.__rules__[s].alt=o.alt||[],this.__cache__=null};$t.prototype.before=function(t,e,n,s){var o=this.__find__(t),r=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null};$t.prototype.after=function(t,e,n,s){var o=this.__find__(t),r=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null};$t.prototype.push=function(t,e,n){var s=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:s.alt||[]}),this.__cache__=null};$t.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!0,n.push(s)},this),this.__cache__=null,n};$t.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)};$t.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!1,n.push(s)},this),this.__cache__=null,n};$t.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var lc=$t,mX=/\r\n?|\n/g,_X=/\0/g,bX=function(e){var n;n=e.src.replace(mX,`
`),n=n.replace(_X,"<22>"),e.src=n},yX=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)},vX=function(e){var n=e.tokens,s,o,r;for(o=0,r=n.length;o<r;o++)s=n[o],s.type==="inline"&&e.md.inline.parse(s.content,e.md,e.env,s.children)},wX=He.arrayReplaceAt;function xX(t){return/^<a[>\s]/i.test(t)}function kX(t){return/^<\/a\s*>/i.test(t)}var EX=function(e){var n,s,o,r,i,a,l,d,u,h,f,g,m,_,v,p,b=e.tokens,x;if(e.md.options.linkify){for(s=0,o=b.length;s<o;s++)if(!(b[s].type!=="inline"||!e.md.linkify.pretest(b[s].content)))for(r=b[s].children,m=0,n=r.length-1;n>=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"&&(xX(a.content)&&m>0&&m--,kX(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;d<x.length;d++)_=x[d].url,v=e.md.normalizeLink(_),e.md.validateLink(v)&&(p=x[d].text,x[d].schema?x[d].schema==="mailto:"&&!/^mailto:/i.test(p)?p=e.md.normalizeLinkText("mailto:"+p).replace(/^mailto:/,""):p=e.md.normalizeLinkText(p):p=e.md.normalizeLinkText("http://"+p).replace(/^http:\/\//,""),h=x[d].index,h>f&&(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",v]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=p,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<u.length&&(i=new e.Token("text","",0),i.content=u.slice(f),i.level=g,l.push(i)),b[s].children=r=wX(r,n,l)}}}},ig=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,CX=/\((c|tm|r)\)/i,AX=/\((c|tm|r)\)/ig,SX={c:"©",r:"®",tm:"™"};function TX(t,e){return SX[e.toLowerCase()]}function MX(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(AX,TX)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function OX(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 RX=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(CX.test(e.tokens[n].content)&&MX(e.tokens[n].children),ig.test(e.tokens[n].content)&&OX(e.tokens[n].children))},hu=He.isWhiteSpace,fu=He.isPunctChar,pu=He.isMdAsciiPunct,NX=/['"]/,gu=/['"]/g,mu="";function Qo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function DX(t,e){var n,s,o,r,i,a,l,d,u,h,f,g,m,_,v,p,b,x,S,R,O;for(S=[],n=0;n<t.length;n++){for(s=t[n],l=t[n].level,b=S.length-1;b>=0&&!(S[b].level<=l);b--);if(S.length=b+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i<a&&(gu.lastIndex=i,r=gu.exec(o),!!r);){if(v=p=!0,i=r.index+1,x=r[0]==="'",u=32,r.index-1>=0)u=o.charCodeAt(r.index-1);else for(b=n-1;b>=0&&!(t[b].type==="softbreak"||t[b].type==="hardbreak");b--)if(t[b].content){u=t[b].content.charCodeAt(t[b].content.length-1);break}if(h=32,i<a)h=o.charCodeAt(i);else for(b=n+1;b<t.length&&!(t[b].type==="softbreak"||t[b].type==="hardbreak");b++)if(t[b].content){h=t[b].content.charCodeAt(0);break}if(f=pu(u)||fu(String.fromCharCode(u)),g=pu(h)||fu(String.fromCharCode(h)),m=hu(u),_=hu(h),_?v=!1:g&&(m||f||(v=!1)),m?p=!1:f&&(_||g||(p=!1)),h===34&&r[0]==='"'&&u>=48&&u<=57&&(p=v=!1),v&&p&&(v=f,p=g),!v&&!p){x&&(s.content=Qo(s.content,r.index,mu));continue}if(p){for(b=S.length-1;b>=0&&(d=S[b],!(S[b].level<l));b--)if(d.single===x&&S[b].level===l){d=S[b],x?(R=e.md.options.quotes[2],O=e.md.options.quotes[3]):(R=e.md.options.quotes[0],O=e.md.options.quotes[1]),s.content=Qo(s.content,r.index,O),t[d.token].content=Qo(t[d.token].content,d.pos,R),i+=O.length-1,d.token===n&&(i+=R.length-1),o=s.content,a=o.length,S.length=b;continue e}}v?S.push({token:n,pos:r.index,single:x,level:l}):p&&x&&(s.content=Qo(s.content,r.index,mu))}}}}var LX=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!NX.test(e.tokens[n].content)||DX(e.tokens[n].children,e)},IX=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n<s;n++)if(l[n].type==="inline"){for(o=l[n].children,i=o.length,r=0;r<i;r++)o[r].type==="text_special"&&(o[r].type="text");for(r=a=0;r<i;r++)o[r].type==="text"&&r+1<i&&o[r+1].type==="text"?o[r+1].content=o[r].content+o[r+1].content:(r!==a&&(o[a]=o[r]),a++);r!==a&&(o.length=a)}};function Xs(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Xs.prototype.attrIndex=function(e){var n,s,o;if(!this.attrs)return-1;for(n=this.attrs,s=0,o=n.length;s<o;s++)if(n[s][0]===e)return s;return-1};Xs.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};Xs.prototype.attrSet=function(e,n){var s=this.attrIndex(e),o=[e,n];s<0?this.attrPush(o):this.attrs[s]=o};Xs.prototype.attrGet=function(e){var n=this.attrIndex(e),s=null;return n>=0&&(s=this.attrs[n][1]),s};Xs.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 cc=Xs,PX=cc;function ag(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}ag.prototype.Token=PX;var FX=ag,BX=lc,Ki=[["normalize",bX],["block",yX],["inline",vX],["linkify",EX],["replacements",RX],["smartquotes",LX],["text_join",IX]];function dc(){this.ruler=new BX;for(var t=0;t<Ki.length;t++)this.ruler.push(Ki[t][0],Ki[t][1])}dc.prototype.process=function(t){var e,n,s;for(s=this.ruler.getRules(""),e=0,n=s.length;e<n;e++)s[e](t)};dc.prototype.State=FX;var $X=dc,Wi=He.isSpace;function Zi(t,e){var n=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];return t.src.slice(n,s)}function _u(t){var e=[],n=0,s=t.length,o,r=!1,i=0,a="";for(o=t.charCodeAt(n);n<s;)o===124&&(r?(a+=t.substring(i,n-1),i=n):(e.push(a+t.substring(i,n)),a="",i=n+1)),r=o===92,n++,o=t.charCodeAt(n);return e.push(a+t.substring(i)),e}var zX=function(e,n,s,o){var r,i,a,l,d,u,h,f,g,m,_,v,p,b,x,S,R,O;if(n+2>s||(u=n+1,e.sCount[u]<e.blkIndent)||e.sCount[u]-e.blkIndent>=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&&!Wi(O))||R===45&&Wi(O))return!1;for(;a<e.eMarks[u];){if(r=e.src.charCodeAt(a),r!==124&&r!==45&&r!==58&&!Wi(r))return!1;a++}for(i=Zi(e,n+1),h=i.split("|"),m=[],l=0;l<h.length;l++){if(_=h[l].trim(),!_){if(l===0||l===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(_))return!1;_.charCodeAt(_.length-1)===58?m.push(_.charCodeAt(0)===58?"center":"right"):_.charCodeAt(0)===58?m.push("left"):m.push("")}if(i=Zi(e,n).trim(),i.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=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(b=e.parentType,e.parentType="table",S=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=v=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l<h.length;l++)g=e.push("th_open","th",1),m[l]&&(g.attrs=[["style","text-align:"+m[l]]]),g=e.push("inline","",0),g.content=h[l].trim(),g.children=[],g=e.push("th_close","th",-1);for(g=e.push("tr_close","tr",-1),g=e.push("thead_close","thead",-1),u=n+2;u<s&&!(e.sCount[u]<e.blkIndent);u++){for(x=!1,l=0,d=S.length;l<d;l++)if(S[l](e,u,s,!0)){x=!0;break}if(x||(i=Zi(e,u).trim(),!i)||e.sCount[u]-e.blkIndent>=4)break;for(h=_u(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=p=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[u,u+1],l=0;l<f;l++)g=e.push("td_open","td",1),m[l]&&(g.attrs=[["style","text-align:"+m[l]]]),g=e.push("inline","",0),g.content=h[l]?h[l].trim():"",g.children=[],g=e.push("td_close","td",-1);g=e.push("tr_close","tr",-1)}return p&&(g=e.push("tbody_close","tbody",-1),p[1]=u),g=e.push("table_close","table",-1),v[1]=u,e.parentType=b,e.line=u,!0},jX=function(e,n,s){var o,r,i;if(e.sCount[n]-e.blkIndent<4)return!1;for(r=o=n+1;o<s;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=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},UX=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<m&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(g)===r&&!(e.sCount[l]-e.blkIndent>=4)&&(g=e.skipChars(g,r),!(g-d<i)&&(g=e.skipSpaces(g),!(g<m)))){f=!0;break}return i=e.sCount[n],e.line=l+(f?1:0),u=e.push("fence","code",0),u.info=a,u.content=e.getLines(n+1,l,i,!0),u.markup=h,u.map=[n,e.line],!0},bu=He.isSpace,qX=function(e,n,s,o){var r,i,a,l,d,u,h,f,g,m,_,v,p,b,x,S,R,O,D,y,E=e.lineMax,M=e.bMarks[n]+e.tShift[n],L=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=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&&(i=e.src.charCodeAt(M),bu(i));){i===9?g+=4-(g+e.bsCount[n]+(r?1:0))%4:g++;M++}for(_=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(S?1:0),u=M>=L,b=[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"),p=e.parentType,e.parentType="blockquote",f=n+1;f<s&&(y=e.sCount[f]<e.blkIndent,M=e.bMarks[f]+e.tShift[f],L=e.eMarks[f],!(M>=L));f++){if(e.src.charCodeAt(M++)===62&&!y){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&&(i=e.src.charCodeAt(M),bu(i));){i===9?g+=4-(g+e.bsCount[f]+(r?1:0))%4:g++;M++}u=M>=L,_.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(S?1:0),b.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;a++)if(O[a](e,f,s,!0)){R=!0;break}if(R){e.lineMax=f,e.blkIndent!==0&&(m.push(e.bMarks[f]),_.push(e.bsCount[f]),x.push(e.tShift[f]),b.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}m.push(e.bMarks[f]),_.push(e.bsCount[f]),x.push(e.tShift[f]),b.push(e.sCount[f]),e.sCount[f]=-1}for(v=e.blkIndent,e.blkIndent=0,D=e.push("blockquote_open","blockquote",1),D.markup=">",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=p,h[1]=e.line,a=0;a<x.length;a++)e.bMarks[a+n]=m[a],e.tShift[a+n]=x[a],e.sCount[a+n]=b[a],e.bsCount[a+n]=_[a];return e.blkIndent=v,!0},HX=He.isSpace,VX=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||(r=e.src.charCodeAt(d++),r!==42&&r!==45&&r!==95))return!1;for(i=1;d<u;){if(a=e.src.charCodeAt(d++),a!==r&&!HX(a))return!1;a===r&&i++}return i<3?!1:(o||(e.line=n+1,l=e.push("hr","hr",0),l.map=[n,e.line],l.markup=Array(i+1).join(String.fromCharCode(r))),!0)},lg=He.isSpace;function yu(t,e){var n,s,o,r;return s=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],n=t.src.charCodeAt(s++),n!==42&&n!==45&&n!==43||s<o&&(r=t.src.charCodeAt(s),!lg(r))?-1:s}function vu(t,e){var n,s=t.bMarks[e]+t.tShift[e],o=s,r=t.eMarks[e];if(o+1>=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<r&&(n=t.src.charCodeAt(o),!lg(n))?-1:o}function GX(t,e){var n,s,o=t.level+2;for(n=e+2,s=t.tokens.length-2;n<s;n++)t.tokens[n].level===o&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var KX=function(e,n,s,o){var r,i,a,l,d,u,h,f,g,m,_,v,p,b,x,S,R,O,D,y,E,M,L,B,J,P,ue,Z,T=!1,H=!0;if(e.sCount[n]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[n]>=e.blkIndent&&(T=!0),(L=vu(e,n))>=0){if(h=!0,J=e.bMarks[n]+e.tShift[n],p=Number(e.src.slice(J,L-1)),T&&p!==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(v=e.src.charCodeAt(L-1),o)return!0;for(_=e.tokens.length,h?(Z=e.push("ordered_list_open","ol",1),p!==1&&(Z.attrs=[["start",p]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[n,0],Z.markup=String.fromCharCode(v),x=n,B=!1,ue=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x<s;){for(M=L,b=e.eMarks[x],u=S=e.sCount[x]+L-(e.bMarks[n]+e.tShift[n]);M<b;){if(r=e.src.charCodeAt(M),r===9)S+=4-(S+e.bsCount[x])%4;else if(r===32)S++;else break;M++}if(i=M,i>=b?d=1:d=S-u,d>4&&(d=1),l=u+d,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(v),Z.map=f=[n,0],h&&(Z.info=e.src.slice(J,L-1)),E=e.tight,y=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>=b&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||B)&&(H=!1),B=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=y,e.sCount[n]=D,e.tight=E,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(v),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]<e.blkIndent||e.sCount[n]-e.blkIndent>=4)break;for(P=!1,a=0,g=ue.length;a<g;a++)if(ue[a](e,x,s,!0)){P=!0;break}if(P)break;if(h){if(L=vu(e,x),L<0)break;J=e.bMarks[x]+e.tShift[x]}else if(L=yu(e,x),L<0)break;if(v!==e.src.charCodeAt(L-1))break}return h?Z=e.push("ordered_list_close","ol",-1):Z=e.push("bullet_list_close","ul",-1),Z.markup=String.fromCharCode(v),m[1]=x,e.line=x,e.parentType=O,H&&GX(e,_),!0},WX=He.normalizeReference,Xo=He.isSpace,ZX=function(e,n,s,o){var r,i,a,l,d,u,h,f,g,m,_,v,p,b,x,S,R=0,O=e.bMarks[n]+e.tShift[n],D=e.eMarks[n],y=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(O)!==91)return!1;for(;++O<D;)if(e.src.charCodeAt(O)===93&&e.src.charCodeAt(O-1)!==92){if(O+1===D||e.src.charCodeAt(O+1)!==58)return!1;break}for(l=e.lineMax,x=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";y<l&&!e.isEmpty(y);y++)if(!(e.sCount[y]-e.blkIndent>3)&&!(e.sCount[y]<0)){for(b=!1,u=0,h=x.length;u<h;u++)if(x[u](e,y,l,!0)){b=!0;break}if(b)break}for(p=e.getLines(n,y,e.blkIndent,!1).trim(),D=p.length,O=1;O<D;O++){if(r=p.charCodeAt(O),r===91)return!1;if(r===93){g=O;break}else r===10?R++:r===92&&(O++,O<D&&p.charCodeAt(O)===10&&R++)}if(g<0||p.charCodeAt(g+1)!==58)return!1;for(O=g+2;O<D;O++)if(r=p.charCodeAt(O),r===10)R++;else if(!Xo(r))break;if(_=e.md.helpers.parseLinkDestination(p,O,D),!_.ok||(d=e.md.normalizeLink(_.str),!e.md.validateLink(d)))return!1;for(O=_.pos,R+=_.lines,i=O,a=R,v=O;O<D;O++)if(r=p.charCodeAt(O),r===10)R++;else if(!Xo(r))break;for(_=e.md.helpers.parseLinkTitle(p,O,D),O<D&&v!==O&&_.ok?(S=_.str,O=_.pos,R+=_.lines):(S="",O=i,R=a);O<D&&(r=p.charCodeAt(O),!!Xo(r));)O++;if(O<D&&p.charCodeAt(O)!==10&&S)for(S="",O=i,R=a;O<D&&(r=p.charCodeAt(O),!!Xo(r));)O++;return O<D&&p.charCodeAt(O)!==10||(f=WX(p.slice(1,g)),!f)?!1:(o||(typeof e.env.references>"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)},YX=["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"],pi={},JX="[a-zA-Z_:][a-zA-Z0-9:._-]*",QX="[^\"'=<>`\\x00-\\x20]+",XX="'[^']*'",eee='"[^"]*"',tee="(?:"+QX+"|"+XX+"|"+eee+")",nee="(?:\\s+"+JX+"(?:\\s*=\\s*"+tee+")?)",cg="<[A-Za-z][A-Za-z0-9\\-]*"+nee+"*\\s*\\/?>",dg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",see="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",oee="<[?][\\s\\S]*?[?]>",ree="<![A-Z]+\\s+[^>]*>",iee="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",aee=new RegExp("^(?:"+cg+"|"+dg+"|"+see+"|"+oee+"|"+ree+"|"+iee+")"),lee=new RegExp("^(?:"+cg+"|"+dg+")");pi.HTML_TAG_RE=aee;pi.HTML_OPEN_CLOSE_TAG_RE=lee;var cee=YX,dee=pi.HTML_OPEN_CLOSE_TAG_RE,ps=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+cee.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(dee.source+"\\s*$"),/^$/,!1]],uee=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<ps.length&&!ps[r][0].test(l);r++);if(r===ps.length)return!1;if(o)return ps[r][2];if(i=n+1,!ps[r][1].test(l)){for(;i<s&&!(e.sCount[i]<e.blkIndent);i++)if(d=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(d,u),ps[r][1].test(l)){l.length!==0&&i++;break}}return e.line=i,a=e.push("html_block","",0),a.map=[n,i],a.content=e.getLines(n,i,e.blkIndent,!0),!0},wu=He.isSpace,hee=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||(r=e.src.charCodeAt(d),r!==35||d>=u))return!1;for(i=1,r=e.src.charCodeAt(++d);r===35&&d<u&&i<=6;)i++,r=e.src.charCodeAt(++d);return i>6||d<u&&!wu(r)?!1:(o||(u=e.skipSpacesBack(u,d),a=e.skipCharsBack(u,35,d),a>d&&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)},fee=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";g<s&&!e.isEmpty(g);g++)if(!(e.sCount[g]-e.blkIndent>3)){if(e.sCount[g]>=e.blkIndent&&(d=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],d<u&&(f=e.src.charCodeAt(d),(f===45||f===61)&&(d=e.skipChars(d,f),d=e.skipSpaces(d),d>=u)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=_.length;i<a;i++)if(_[i](e,g,s,!0)){r=!0;break}if(r)break}}return h?(o=e.getLines(n,g,e.blkIndent,!1).trim(),e.line=g+1,l=e.push("heading_open","h"+String(h),1),l.markup=String.fromCharCode(f),l.map=[n,e.line],l=e.push("inline","",0),l.content=o,l.map=[n,e.line-1],l.children=[],l=e.push("heading_close","h"+String(h),-1),l.markup=String.fromCharCode(f),e.parentType=m,!0):!1},pee=function(e,n){var s,o,r,i,a,l,d=n+1,u=e.md.block.ruler.getRules("paragraph"),h=e.lineMax;for(l=e.parentType,e.parentType="paragraph";d<h&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)&&!(e.sCount[d]<0)){for(o=!1,r=0,i=u.length;r<i;r++)if(u[r](e,d,h,!0)){o=!0;break}if(o)break}return s=e.getLines(n,d,e.blkIndent,!1).trim(),e.line=d,a=e.push("paragraph_open","p",1),a.map=[n,e.line],a=e.push("inline","",0),a.content=s,a.map=[n,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=l,!0},ug=cc,gi=He.isSpace;function Xt(t,e,n,s){var o,r,i,a,l,d,u,h;for(this.src=t,this.md=e,this.env=n,this.tokens=s,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",r=this.src,h=!1,i=a=d=u=0,l=r.length;a<l;a++){if(o=r.charCodeAt(a),!h)if(gi(o)){d++,o===9?u+=4-u%4:u++;continue}else h=!0;(o===10||a===l-1)&&(o!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(d),this.sCount.push(u),this.bsCount.push(0),h=!1,d=0,u=0,i=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Xt.prototype.push=function(t,e,n){var s=new ug(t,e,n);return s.block=!0,n<0&&this.level--,s.level=this.level,n>0&&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;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Xt.prototype.skipSpaces=function(e){for(var n,s=this.src.length;e<s&&(n=this.src.charCodeAt(e),!!gi(n));e++);return e};Xt.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!gi(this.src.charCodeAt(--e)))return e+1;return e};Xt.prototype.skipChars=function(e,n){for(var s=this.src.length;e<s&&this.src.charCodeAt(e)===n;e++);return e};Xt.prototype.skipCharsBack=function(e,n,s){if(e<=s)return e;for(;e>s;)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;f<n;f++,r++){for(i=0,h=l=this.bMarks[f],f+1<n||o?d=this.eMarks[f]+1:d=this.eMarks[f];l<d&&i<s;){if(a=this.src.charCodeAt(l),gi(a))a===9?i+=4-(i+this.bsCount[f])%4:i++;else if(l-h<this.tShift[f])i++;else break;l++}i>s?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 gee=Xt,mee=lc,er=[["table",zX,["paragraph","reference"]],["code",jX],["fence",UX,["paragraph","reference","blockquote","list"]],["blockquote",qX,["paragraph","reference","blockquote","list"]],["hr",VX,["paragraph","reference","blockquote","list"]],["list",KX,["paragraph","reference","blockquote"]],["reference",ZX],["html_block",uee,["paragraph","reference","blockquote"]],["heading",hee,["paragraph","reference","blockquote"]],["lheading",fee],["paragraph",pee]];function mi(){this.ruler=new mee;for(var t=0;t<er.length;t++)this.ruler.push(er[t][0],er[t][1],{alt:(er[t][2]||[]).slice()})}mi.prototype.tokenize=function(t,e,n){for(var s,o,r=this.ruler.getRules(""),i=r.length,a=e,l=!1,d=t.md.options.maxNesting;a<n&&(t.line=a=t.skipEmptyLines(a),!(a>=n||t.sCount[a]<t.blkIndent));){if(t.level>=d){t.line=n;break}for(o=0;o<i&&(s=r[o](t,a,n,!1),!s);o++);t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),a=t.line,a<n&&t.isEmpty(a)&&(l=!0,a++,t.line=a)}};mi.prototype.parse=function(t,e,n,s){var o;t&&(o=new this.State(t,e,n,s),this.tokenize(o,o.line,o.lineMax))};mi.prototype.State=gee;var _ee=mi;function bee(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}var yee=function(e,n){for(var s=e.pos;s<e.posMax&&!bee(e.src.charCodeAt(s));)s++;return s===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,s)),e.pos=s,!0)},vee=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,wee=function(e,n){var s,o,r,i,a,l,d,u;return!e.md.options.linkify||e.linkLevel>0||(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(vee),!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)},xee=He.isSpace,kee=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<o&&xee(e.src.charCodeAt(i));)i++;return e.pos=i,!0},Eee=He.isSpace,uc=[];for(var xu=0;xu<256;xu++)uc.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){uc[t.charCodeAt(0)]=1});var Cee=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<d&&(s=e.src.charCodeAt(l),!!Eee(s));)l++;return e.pos=l,!0}return i=e.src[l],s>=55296&&s<=56319&&l+1<d&&(o=e.src.charCodeAt(l+1),o>=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&uc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Aee=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<o&&e.src.charCodeAt(h)===96;)h++;if(r=e.src.slice(s,h),d=r.length,e.backticksScanned&&(e.backticks[d]||0)<=s)return n||(e.pending+=r),e.pos+=d,!0;for(a=l=h;(a=e.src.indexOf("`",l))!==-1;){for(l=a+1;l<o&&e.src.charCodeAt(l)===96;)l++;if(u=l-a,u===d)return n||(i=e.push("code_inline","code",0),i.markup=r,i.content=e.src.slice(h,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=l,!0;e.backticks[u]=a}return e.backticksScanned=!0,n||(e.pending+=r),e.pos+=d,!0},_i={};_i.tokenize=function(e,n){var s,o,r,i,a,l=e.pos,d=e.src.charCodeAt(l);if(n||d!==126||(o=e.scanDelims(e.pos,!0),i=o.length,a=String.fromCharCode(d),i<2))return!1;for(i%2&&(r=e.push("text","",0),r.content=a,i--),s=0;s<i;s+=2)r=e.push("text","",0),r.content=a+a,e.delimiters.push({marker:d,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function ku(t,e){var n,s,o,r,i,a=[],l=e.length;for(n=0;n<l;n++)o=e[n],o.marker===126&&o.end!==-1&&(r=e[o.end],i=t.tokens[o.token],i.type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",i=t.tokens[r.token],i.type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="",t.tokens[r.token-1].type==="text"&&t.tokens[r.token-1].content==="~"&&a.push(r.token-1));for(;a.length;){for(n=a.pop(),s=n+1;s<t.tokens.length&&t.tokens[s].type==="s_close";)s++;s--,n!==s&&(i=t.tokens[s],t.tokens[s]=t.tokens[n],t.tokens[n]=i)}}_i.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(ku(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&ku(e,s[n].delimiters)};var bi={};bi.tokenize=function(e,n){var s,o,r,i=e.pos,a=e.src.charCodeAt(i);if(n||a!==95&&a!==42)return!1;for(o=e.scanDelims(e.pos,a===42),s=0;s<o.length;s++)r=e.push("text","",0),r.content=String.fromCharCode(a),e.delimiters.push({marker:a,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function Eu(t,e){var n,s,o,r,i,a,l=e.length;for(n=l-1;n>=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--))}bi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Eu(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&Eu(e,s[n].delimiters)};var See=He.normalizeReference,Yi=He.isSpace,Tee=function(e,n){var s,o,r,i,a,l,d,u,h,f="",g="",m=e.pos,_=e.posMax,v=e.pos,p=!0;if(e.src.charCodeAt(e.pos)!==91||(a=e.pos+1,i=e.md.helpers.parseLinkLabel(e,e.pos,!0),i<0))return!1;if(l=i+1,l<_&&e.src.charCodeAt(l)===40){for(p=!1,l++;l<_&&(o=e.src.charCodeAt(l),!(!Yi(o)&&o!==10));l++);if(l>=_)return!1;if(v=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="",v=l;l<_&&(o=e.src.charCodeAt(l),!(!Yi(o)&&o!==10));l++);if(d=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&v!==l&&d.ok)for(g=d.str,l=d.pos;l<_&&(o=e.src.charCodeAt(l),!(!Yi(o)&&o!==10));l++);}(l>=_||e.src.charCodeAt(l)!==41)&&(p=!0),l++}if(p){if(typeof e.env.references>"u")return!1;if(l<_&&e.src.charCodeAt(l)===91?(v=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(v,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[See(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},Mee=He.normalizeReference,Ji=He.isSpace,Oee=function(e,n){var s,o,r,i,a,l,d,u,h,f,g,m,_,v="",p=e.pos,b=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(d=a+1,d<b&&e.src.charCodeAt(d)===40){for(d++;d<b&&(o=e.src.charCodeAt(d),!(!Ji(o)&&o!==10));d++);if(d>=b)return!1;for(_=d,h=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),h.ok&&(v=e.md.normalizeLink(h.str),e.md.validateLink(v)?d=h.pos:v=""),_=d;d<b&&(o=e.src.charCodeAt(d),!(!Ji(o)&&o!==10));d++);if(h=e.md.helpers.parseLinkTitle(e.src,d,e.posMax),d<b&&_!==d&&h.ok)for(f=h.str,d=h.pos;d<b&&(o=e.src.charCodeAt(d),!(!Ji(o)&&o!==10));d++);else f="";if(d>=b||e.src.charCodeAt(d)!==41)return e.pos=p,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d<b&&e.src.charCodeAt(d)===91?(_=d+1,d=e.md.helpers.parseLinkLabel(e,d),d>=0?i=e.src.slice(_,d++):d=a+1):d=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[Mee(i)],!u)return e.pos=p,!1;v=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",v],["alt",""]],g.children=m,g.content=r,f&&s.push(["title",f])),e.pos=d,e.posMax=b,!0},Ree=/^([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])?)*)$/,Nee=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Dee=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),Nee.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):Ree.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},Lee=pi.HTML_TAG_RE;function Iee(t){return/^<a[>\s]/i.test(t)}function Pee(t){return/^<\/a\s*>/i.test(t)}function Fee(t){var e=t|32;return e>=97&&e<=122}var Bee=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&&!Fee(s))||(o=e.src.slice(a).match(Lee),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Iee(i.content)&&e.linkLevel++,Pee(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},Cu=ng,$ee=He.has,zee=He.isValidEntityCode,Au=He.fromCodePoint,jee=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Uee=/^&([a-z][a-z0-9]{1,31});/i,qee=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(jee),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=zee(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(Uee),r&&$ee(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,g=-2,m=[];for(n=0;n<h;n++)if(o=e[n],m.push(0),(e[f].marker!==o.marker||g!==o.token-1)&&(f=n),g=o.token,o.length=o.length||0,!!o.close){for(u.hasOwnProperty(o.marker)||(u[o.marker]=[-1,-1,-1,-1,-1,-1]),i=u[o.marker][(o.open?3:0)+o.length%3],s=f-m[f]-1,a=s;s>i;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 Hee=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Su(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&Su(e,s[n].delimiters)},Vee=function(e){var n,s,o=0,r=e.tokens,i=e.tokens.length;for(n=s=0;n<i;n++)r[n].nesting<0&&o--,r[n].level=o,r[n].nesting>0&&o++,r[n].type==="text"&&n+1<i&&r[n+1].type==="text"?r[n+1].content=r[n].content+r[n+1].content:(n!==s&&(r[s]=r[n]),s++);n!==s&&(r.length=s)},hc=cc,Tu=He.isWhiteSpace,Mu=He.isPunctChar,Ou=He.isMdAsciiPunct;function Bo(t,e,n,s){this.src=t,this.env=n,this.md=e,this.tokens=s,this.tokens_meta=Array(s.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Bo.prototype.pushPending=function(){var t=new hc("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};Bo.prototype.push=function(t,e,n){this.pending&&this.pushPending();var s=new hc(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),s.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Bo.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<m&&this.src.charCodeAt(n)===_;)n++;return r=n-t,o=n<m?this.src.charCodeAt(n):32,d=Ou(s)||Mu(String.fromCharCode(s)),h=Ou(o)||Mu(String.fromCharCode(o)),l=Tu(s),u=Tu(o),u?f=!1:h&&(l||d||(f=!1)),l?g=!1:d&&(u||h||(g=!1)),e?(i=f,a=g):(i=f&&(!g||d),a=g&&(!f||h)),{can_open:i,can_close:a,length:r}};Bo.prototype.Token=hc;var Gee=Bo,Ru=lc,Qi=[["text",yee],["linkify",wee],["newline",kee],["escape",Cee],["backticks",Aee],["strikethrough",_i.tokenize],["emphasis",bi.tokenize],["link",Tee],["image",Oee],["autolink",Dee],["html_inline",Bee],["entity",qee]],Xi=[["balance_pairs",Hee],["strikethrough",_i.postProcess],["emphasis",bi.postProcess],["fragments_join",Vee]];function $o(){var t;for(this.ruler=new Ru,t=0;t<Qi.length;t++)this.ruler.push(Qi[t][0],Qi[t][1]);for(this.ruler2=new Ru,t=0;t<Xi.length;t++)this.ruler2.push(Xi[t][0],Xi[t][1])}$o.prototype.skipToken=function(t){var e,n,s=t.pos,o=this.ruler.getRules(""),r=o.length,i=t.md.options.maxNesting,a=t.cache;if(typeof a[s]<"u"){t.pos=a[s];return}if(t.level<i)for(n=0;n<r&&(t.level++,e=o[n](t,!0),t.level--,!e);n++);else t.pos=t.posMax;e||t.pos++,a[s]=t.pos};$o.prototype.tokenize=function(t){for(var e,n,s=this.ruler.getRules(""),o=s.length,r=t.posMax,i=t.md.options.maxNesting;t.pos<r;){if(t.level<i)for(n=0;n<o&&(e=s[n](t,!1),!e);n++);if(e){if(t.pos>=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};$o.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<i;o++)r[o](a)};$o.prototype.State=Gee;var Kee=$o,ea,Nu;function Wee(){return Nu||(Nu=1,ea=function(t){var e={};t=t||{},e.src_Any=sg().source,e.src_Cc=og().source,e.src_Z=rg().source,e.src_P=ac.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var n="[><]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+e.src_ZPCc+"))((?![$+<=>^`|])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+e.src_ZPCc+"))((?![$+<=>^`|])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),ea}function fl(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 yi(t){return Object.prototype.toString.call(t)}function Zee(t){return yi(t)==="[object String]"}function Yee(t){return yi(t)==="[object Object]"}function Jee(t){return yi(t)==="[object RegExp]"}function Du(t){return yi(t)==="[object Function]"}function Qee(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var hg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Xee(t){return Object.keys(t||{}).reduce(function(e,n){return e||hg.hasOwnProperty(n)},!1)}var ete={"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}}},tte="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]",nte="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ste(t){t.__index__=-1,t.__text_cache__=""}function ote(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 Rr(t){var e=t.re=Wee()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(tte),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,Yee(l)){Jee(l.validate)?d.validate=ote(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(Zee(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(Qee).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"),ste(t)}function rte(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 pl(t,e){var n=new rte(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||Xee(t)&&(e=t,t={}),this.__opts__=fl({},hg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fl({},ete,t),this.__compiled__={},this.__tlds__=nte,this.__tlds_replaced__=!1,this.re={},Rr(this)}vt.prototype.add=function(e,n){return this.__schemas__[e]=n,Rr(this),this};vt.prototype.set=function(e){return this.__opts__=fl(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<this.__index__)&&(s=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(i=s.index+s[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=s.index+s[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__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(pl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(pl(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,pl(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(),Rr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Rr(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 ite=vt;const As=2147483647,Ht=36,fc=1,Ro=26,ate=38,lte=700,fg=72,pg=128,gg="-",cte=/^xn--/,dte=/[^\0-\x7F]/,ute=/[\x2E\u3002\uFF0E\uFF61]/g,hte={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ta=Ht-fc,Vt=Math.floor,na=String.fromCharCode;function En(t){throw new RangeError(hte[t])}function fte(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(ute,".");const o=t.split("."),r=fte(o,e).join(".");return s+r}function pc(t){const e=[];let n=0;const s=t.length;for(;n<s;){const o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<s){const r=t.charCodeAt(n++);(r&64512)==56320?e.push(((o&1023)<<10)+(r&1023)+65536):(e.push(o),n--)}else e.push(o)}return e}const _g=t=>String.fromCodePoint(...t),pte=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/lte):t>>1,t+=Vt(t/e);t>ta*Ro>>1;s+=Ht)t=Vt(t/ta);return Vt(s+(ta+1)*t/(t+ate))},gc=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<i;++a)t.charCodeAt(a)>=128&&En("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a<n;){const l=s;for(let u=1,h=Ht;;h+=Ht){a>=n&&En("invalid-input");const f=pte(t.charCodeAt(a++));f>=Ht&&En("invalid-input"),f>Vt((As-s)/u)&&En("overflow"),s+=f*u;const g=h<=r?fc:h>=r+Ro?Ro:h-r;if(f<g)break;const m=Ht-g;u>Vt(As/m)&&En("overflow"),u*=m}const d=e.length+1;r=bg(s-l,d,l==0),Vt(s/d)>As-o&&En("overflow"),o+=Vt(s/d),s%=d,e.splice(s++,0,o)}return String.fromCodePoint(...e)},mc=function(t){const e=[];t=pc(t);const n=t.length;let s=pg,o=0,r=fg;for(const l of t)l<128&&e.push(na(l));const i=e.length;let a=i;for(i&&e.push(gg);a<n;){let l=As;for(const u of t)u>=s&&u<l&&(l=u);const d=a+1;l-s>Vt((As-o)/d)&&En("overflow"),o+=(l-s)*d,s=l;for(const u of t)if(u<s&&++o>As&&En("overflow"),u===s){let h=o;for(let f=Ht;;f+=Ht){const g=f<=r?fc:f>=r+Ro?Ro:f-r;if(h<g)break;const m=h-g,_=Ht-g;e.push(na(Iu(g+m%_,0))),h=Vt(m/_)}e.push(na(Iu(h,0))),r=bg(o,d,a===i),o=0,++a}++o,++s}return e.join("")},yg=function(t){return mg(t,function(e){return cte.test(e)?gc(e.slice(4).toLowerCase()):e})},vg=function(t){return mg(t,function(e){return dte.test(e)?"xn--"+mc(e):e})},gte={version:"2.1.0",ucs2:{decode:pc,encode:_g},decode:gc,encode:mc,toASCII:vg,toUnicode:yg},mte=Object.freeze(Object.defineProperty({__proto__:null,decode:gc,default:gte,encode:mc,toASCII:vg,toUnicode:yg,ucs2decode:pc,ucs2encode:_g},Symbol.toStringTag,{value:"Module"})),_te=Gy(mte);var bte={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},yte={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},vte={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},po=He,wte=fi,xte=gX,kte=$X,Ete=_ee,Cte=Kee,Ate=ite,Zn=Js,wg=_te,Ste={default:bte,zero:yte,commonmark:vte},Tte=/^(vbscript|javascript|file|data):/,Mte=/^data:image\/(gif|png|jpeg|webp);/;function Ote(t){var e=t.trim().toLowerCase();return Tte.test(e)?!!Mte.test(e):!0}var xg=["http:","https:","mailto:"];function Rte(t){var e=Zn.parse(t,!0);if(e.hostname&&(!e.protocol||xg.indexOf(e.protocol)>=0))try{e.hostname=wg.toASCII(e.hostname)}catch{}return Zn.encode(Zn.format(e))}function Nte(t){var e=Zn.parse(t,!0);if(e.hostname&&(!e.protocol||xg.indexOf(e.protocol)>=0))try{e.hostname=wg.toUnicode(e.hostname)}catch{}return Zn.decode(Zn.format(e),Zn.decode.defaultChars+"%")}function Mt(t,e){if(!(this instanceof Mt))return new Mt(t,e);e||po.isString(t)||(e=t||{},t="default"),this.inline=new Cte,this.block=new Ete,this.core=new kte,this.renderer=new xte,this.linkify=new Ate,this.validateLink=Ote,this.normalizeLink=Rte,this.normalizeLinkText=Nte,this.utils=po,this.helpers=po.assign({},wte),this.options={},this.configure(t),e&&this.set(e)}Mt.prototype.set=function(t){return po.assign(this.options,t),this};Mt.prototype.configure=function(t){var e=this,n;if(po.isString(t)&&(n=t,t=Ste[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 Dte=Mt,Lte=Dte;const Ite=cs(Lte),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="🏪",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="🚗",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="⏰",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="#️⃣",r4e="*️⃣",i4e="0⃣",a4e="1⃣",l4e="2⃣",c4e="3⃣",d4e="4⃣",u4e="5⃣",h4e="6⃣",f4e="7⃣",p4e="8⃣",g4e="9⃣",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="🇧🇫",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="🇰🇷",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="🇵🇬",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="🏴󠁧󠁢󠁳󠁣󠁴󠁿",EAe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",CAe={100:"💯",1234:"🔢",grinning:Pte,smiley:Fte,smile:Bte,grin:$te,laughing:zte,satisfied:jte,sweat_smile:Ute,rofl:qte,joy:Hte,slightly_smiling_face:Vte,upside_down_face:Gte,wink:Kte,blush:Wte,innocent:Zte,smiling_face_with_three_hearts:Yte,heart_eyes:Jte,star_struck:Qte,kissing_heart:Xte,kissing:ene,relaxed:tne,kissing_closed_eyes:nne,kissing_smiling_eyes:sne,smiling_face_with_tear:one,yum:rne,stuck_out_tongue:ine,stuck_out_tongue_winking_eye:ane,zany_face:lne,stuck_out_tongue_closed_eyes:cne,money_mouth_face:dne,hugs:une,hand_over_mouth:hne,shushing_face:fne,thinking:pne,zipper_mouth_face:gne,raised_eyebrow:mne,neutral_face:_ne,expressionless:bne,no_mouth:yne,smirk:vne,unamused:wne,roll_eyes:xne,grimacing:kne,lying_face:Ene,relieved:Cne,pensive:Ane,sleepy:Sne,drooling_face:Tne,sleeping:Mne,mask:One,face_with_thermometer:Rne,face_with_head_bandage:Nne,nauseated_face:Dne,vomiting_face:Lne,sneezing_face:Ine,hot_face:Pne,cold_face:Fne,woozy_face:Bne,dizzy_face:$ne,exploding_head:zne,cowboy_hat_face:jne,partying_face:Une,disguised_face:qne,sunglasses:Hne,nerd_face:Vne,monocle_face:Gne,confused:Kne,worried:Wne,slightly_frowning_face:Zne,frowning_face:Yne,open_mouth:Jne,hushed:Qne,astonished:Xne,flushed:ese,pleading_face:tse,frowning:nse,anguished:sse,fearful:ose,cold_sweat:rse,disappointed_relieved:ise,cry:ase,sob:lse,scream:cse,confounded:dse,persevere:use,disappointed:hse,sweat:fse,weary:pse,tired_face:gse,yawning_face:mse,triumph:_se,rage:bse,pout:yse,angry:vse,cursing_face:wse,smiling_imp:xse,imp:kse,skull:Ese,skull_and_crossbones:Cse,hankey:Ase,poop:Sse,shit:Tse,clown_face:Mse,japanese_ogre:Ose,japanese_goblin:Rse,ghost:Nse,alien:Dse,space_invader:Lse,robot:Ise,smiley_cat:Pse,smile_cat:Fse,joy_cat:Bse,heart_eyes_cat:$se,smirk_cat:zse,kissing_cat:jse,scream_cat:Use,crying_cat_face:qse,pouting_cat:Hse,see_no_evil:Vse,hear_no_evil:Gse,speak_no_evil:Kse,kiss:Wse,love_letter:Zse,cupid:Yse,gift_heart:Jse,sparkling_heart:Qse,heartpulse:Xse,heartbeat:eoe,revolving_hearts:toe,two_hearts:noe,heart_decoration:soe,heavy_heart_exclamation:ooe,broken_heart:roe,heart:ioe,orange_heart:aoe,yellow_heart:loe,green_heart:coe,blue_heart:doe,purple_heart:uoe,brown_heart:hoe,black_heart:foe,white_heart:poe,anger:goe,boom:moe,collision:_oe,dizzy:boe,sweat_drops:yoe,dash:voe,hole:woe,bomb:xoe,speech_balloon:koe,eye_speech_bubble:Eoe,left_speech_bubble:Coe,right_anger_bubble:Aoe,thought_balloon:Soe,zzz:Toe,wave:Moe,raised_back_of_hand:Ooe,raised_hand_with_fingers_splayed:Roe,hand:Noe,raised_hand:Doe,vulcan_salute:Loe,ok_hand:Ioe,pinched_fingers:Poe,pinching_hand:Foe,v:Boe,crossed_fingers:$oe,love_you_gesture:zoe,metal:joe,call_me_hand:Uoe,point_left:qoe,point_right:Hoe,point_up_2:Voe,middle_finger:Goe,fu:Koe,point_down:Woe,point_up:Zoe,"+1":"👍",thumbsup:Yoe,"-1":"👎",thumbsdown:Joe,fist_raised:Qoe,fist:Xoe,fist_oncoming:ere,facepunch:tre,punch:nre,fist_left:sre,fist_right:ore,clap:rre,raised_hands:ire,open_hands:are,palms_up_together:lre,handshake:cre,pray:dre,writing_hand:ure,nail_care:hre,selfie:fre,muscle:pre,mechanical_arm:gre,mechanical_leg:mre,leg:_re,foot:bre,ear:yre,ear_with_hearing_aid:vre,nose:wre,brain:xre,anatomical_heart:kre,lungs:Ere,tooth:Cre,bone:Are,eyes:Sre,eye:Tre,tongue:Mre,lips:Ore,baby:Rre,child:Nre,boy:Dre,girl:Lre,adult:Ire,blond_haired_person:Pre,man:Fre,bearded_person:Bre,red_haired_man:$re,curly_haired_man:zre,white_haired_man:jre,bald_man:Ure,woman:qre,red_haired_woman:Hre,person_red_hair:Vre,curly_haired_woman:Gre,person_curly_hair:Kre,white_haired_woman:Wre,person_white_hair:Zre,bald_woman:Yre,person_bald:Jre,blond_haired_woman:Qre,blonde_woman:Xre,blond_haired_man:eie,older_adult:tie,older_man:nie,older_woman:sie,frowning_person:oie,frowning_man:rie,frowning_woman:iie,pouting_face:aie,pouting_man:lie,pouting_woman:cie,no_good:die,no_good_man:uie,ng_man:hie,no_good_woman:fie,ng_woman:pie,ok_person:gie,ok_man:mie,ok_woman:_ie,tipping_hand_person:bie,information_desk_person:yie,tipping_hand_man:vie,sassy_man:wie,tipping_hand_woman:xie,sassy_woman:kie,raising_hand:Eie,raising_hand_man:Cie,raising_hand_woman:Aie,deaf_person:Sie,deaf_man:Tie,deaf_woman:Mie,bow:Oie,bowing_man:Rie,bowing_woman:Nie,facepalm:Die,man_facepalming:Lie,woman_facepalming:Iie,shrug:Pie,man_shrugging:Fie,woman_shrugging:Bie,health_worker:$ie,man_health_worker:zie,woman_health_worker:jie,student:Uie,man_student:qie,woman_student:Hie,teacher:Vie,man_teacher:Gie,woman_teacher:Kie,judge:Wie,man_judge:Zie,woman_judge:Yie,farmer:Jie,man_farmer:Qie,woman_farmer:Xie,cook:eae,man_cook:tae,woman_cook:nae,mechanic:sae,man_mechanic:oae,woman_mechanic:rae,factory_worker:iae,man_factory_worker:aae,woman_factory_worker:lae,office_worker:cae,man_office_worker:dae,woman_office_worker:uae,scientist:hae,man_scientist:fae,woman_scientist:pae,technologist:gae,man_technologist:mae,woman_technologist:_ae,singer:bae,man_singer:yae,woman_singer:vae,artist:wae,man_artist:xae,woman_artist:kae,pilot:Eae,man_pilot:Cae,woman_pilot:Aae,astronaut:Sae,man_astronaut:Tae,woman_astronaut:Mae,firefighter:Oae,man_firefighter:Rae,woman_firefighter:Nae,police_officer:Dae,cop:Lae,policeman:Iae,policewoman:Pae,detective:Fae,male_detective:Bae,female_detective:$ae,guard:zae,guardsman:jae,guardswoman:Uae,ninja:qae,construction_worker:Hae,construction_worker_man:Vae,construction_worker_woman:Gae,prince:Kae,princess:Wae,person_with_turban:Zae,man_with_turban:Yae,woman_with_turban:Jae,man_with_gua_pi_mao:Qae,woman_with_headscarf:Xae,person_in_tuxedo:ele,man_in_tuxedo:tle,woman_in_tuxedo:nle,person_with_veil:sle,man_with_veil:ole,woman_with_veil:rle,bride_with_veil:ile,pregnant_woman:ale,breast_feeding:lle,woman_feeding_baby:cle,man_feeding_baby:dle,person_feeding_baby:ule,angel:hle,santa:fle,mrs_claus:ple,mx_claus:gle,superhero:mle,superhero_man:_le,superhero_woman:ble,supervillain:yle,supervillain_man:vle,supervillain_woman:wle,mage:xle,mage_man:kle,mage_woman:Ele,fairy:Cle,fairy_man:Ale,fairy_woman:Sle,vampire:Tle,vampire_man:Mle,vampire_woman:Ole,merperson:Rle,merman:Nle,mermaid:Dle,elf:Lle,elf_man:Ile,elf_woman:Ple,genie:Fle,genie_man:Ble,genie_woman:$le,zombie:zle,zombie_man:jle,zombie_woman:Ule,massage:qle,massage_man:Hle,massage_woman:Vle,haircut:Gle,haircut_man:Kle,haircut_woman:Wle,walking:Zle,walking_man:Yle,walking_woman:Jle,standing_person:Qle,standing_man:Xle,standing_woman:ece,kneeling_person:tce,kneeling_man:nce,kneeling_woman:sce,person_with_probing_cane:oce,man_with_probing_cane:rce,woman_with_probing_cane:ice,person_in_motorized_wheelchair:ace,man_in_motorized_wheelchair:lce,woman_in_motorized_wheelchair:cce,person_in_manual_wheelchair:dce,man_in_manual_wheelchair:uce,woman_in_manual_wheelchair:hce,runner:fce,running:pce,running_man:gce,running_woman:mce,woman_dancing:_ce,dancer:bce,man_dancing:yce,business_suit_levitating:vce,dancers:wce,dancing_men:xce,dancing_women:kce,sauna_person:Ece,sauna_man:Cce,sauna_woman:Ace,climbing:Sce,climbing_man:Tce,climbing_woman:Mce,person_fencing:Oce,horse_racing:Rce,skier:Nce,snowboarder:Dce,golfing:Lce,golfing_man:Ice,golfing_woman:Pce,surfer:Fce,surfing_man:Bce,surfing_woman:$ce,rowboat:zce,rowing_man:jce,rowing_woman:Uce,swimmer:qce,swimming_man:Hce,swimming_woman:Vce,bouncing_ball_person:Gce,bouncing_ball_man:Kce,basketball_man:Wce,bouncing_ball_woman:Zce,basketball_woman:Yce,weight_lifting:Jce,weight_lifting_man:Qce,weight_lifting_woman:Xce,bicyclist:ede,biking_man:tde,biking_woman:nde,mountain_bicyclist:sde,mountain_biking_man:ode,mountain_biking_woman:rde,cartwheeling:ide,man_cartwheeling:ade,woman_cartwheeling:lde,wrestling:cde,men_wrestling:dde,women_wrestling:ude,water_polo:hde,man_playing_water_polo:fde,woman_playing_water_polo:pde,handball_person:gde,man_playing_handball:mde,woman_playing_handball:_de,juggling_person:bde,man_juggling:yde,woman_juggling:vde,lotus_position:wde,lotus_position_man:xde,lotus_position_woman:kde,bath:Ede,sleeping_bed:Cde,people_holding_hands:Ade,two_women_holding_hands:Sde,couple:Tde,two_men_holding_hands:Mde,couplekiss:Ode,couplekiss_man_woman:Rde,couplekiss_man_man:Nde,couplekiss_woman_woman:Dde,couple_with_heart:Lde,couple_with_heart_woman_man:Ide,couple_with_heart_man_man:Pde,couple_with_heart_woman_woman:Fde,family:Bde,family_man_woman_boy:$de,family_man_woman_girl:zde,family_man_woman_girl_boy:jde,family_man_woman_boy_boy:Ude,family_man_woman_girl_girl:qde,family_man_man_boy:Hde,family_man_man_girl:Vde,family_man_man_girl_boy:Gde,family_man_man_boy_boy:Kde,family_man_man_girl_girl:Wde,family_woman_woman_boy:Zde,family_woman_woman_girl:Yde,family_woman_woman_girl_boy:Jde,family_woman_woman_boy_boy:Qde,family_woman_woman_girl_girl:Xde,family_man_boy:eue,family_man_boy_boy:tue,family_man_girl:nue,family_man_girl_boy:sue,family_man_girl_girl:oue,family_woman_boy:rue,family_woman_boy_boy:iue,family_woman_girl:aue,family_woman_girl_boy:lue,family_woman_girl_girl:cue,speaking_head:due,bust_in_silhouette:uue,busts_in_silhouette:hue,people_hugging:fue,footprints:pue,monkey_face:gue,monkey:mue,gorilla:_ue,orangutan:bue,dog:yue,dog2:vue,guide_dog:wue,service_dog:xue,poodle:kue,wolf:Eue,fox_face:Cue,raccoon:Aue,cat:Sue,cat2:Tue,black_cat:Mue,lion:Oue,tiger:Rue,tiger2:Nue,leopard:Due,horse:Lue,racehorse:Iue,unicorn:Pue,zebra:Fue,deer:Bue,bison:$ue,cow:zue,ox:jue,water_buffalo:Uue,cow2:que,pig:Hue,pig2:Vue,boar:Gue,pig_nose:Kue,ram:Wue,sheep:Zue,goat:Yue,dromedary_camel:Jue,camel:Que,llama:Xue,giraffe:ehe,elephant:the,mammoth:nhe,rhinoceros:she,hippopotamus:ohe,mouse:rhe,mouse2:ihe,rat:ahe,hamster:lhe,rabbit:che,rabbit2:dhe,chipmunk:uhe,beaver:hhe,hedgehog:fhe,bat:phe,bear:ghe,polar_bear:mhe,koala:_he,panda_face:bhe,sloth:yhe,otter:vhe,skunk:whe,kangaroo:xhe,badger:khe,feet:Ehe,paw_prints:Che,turkey:Ahe,chicken:She,rooster:The,hatching_chick:Mhe,baby_chick:Ohe,hatched_chick:Rhe,bird:Nhe,penguin:Dhe,dove:Lhe,eagle:Ihe,duck:Phe,swan:Fhe,owl:Bhe,dodo:$he,feather:zhe,flamingo:jhe,peacock:Uhe,parrot:qhe,frog:Hhe,crocodile:Vhe,turtle:Ghe,lizard:Khe,snake:Whe,dragon_face:Zhe,dragon:Yhe,sauropod:Jhe,"t-rex":"🦖",whale:Qhe,whale2:Xhe,dolphin:efe,flipper:tfe,seal:nfe,fish:sfe,tropical_fish:ofe,blowfish:rfe,shark:ife,octopus:afe,shell:lfe,snail:cfe,butterfly:dfe,bug:ufe,ant:hfe,bee:ffe,honeybee:pfe,beetle:gfe,lady_beetle:mfe,cricket:_fe,cockroach:bfe,spider:yfe,spider_web:vfe,scorpion:wfe,mosquito:xfe,fly:kfe,worm:Efe,microbe:Cfe,bouquet:Afe,cherry_blossom:Sfe,white_flower:Tfe,rosette:Mfe,rose:Ofe,wilted_flower:Rfe,hibiscus:Nfe,sunflower:Dfe,blossom:Lfe,tulip:Ife,seedling:Pfe,potted_plant:Ffe,evergreen_tree:Bfe,deciduous_tree:$fe,palm_tree:zfe,cactus:jfe,ear_of_rice:Ufe,herb:qfe,shamrock:Hfe,four_leaf_clover:Vfe,maple_leaf:Gfe,fallen_leaf:Kfe,leaves:Wfe,grapes:Zfe,melon:Yfe,watermelon:Jfe,tangerine:Qfe,orange:Xfe,mandarin:epe,lemon:tpe,banana:npe,pineapple:spe,mango:ope,apple:rpe,green_apple:ipe,pear:ape,peach:lpe,cherries:cpe,strawberry:dpe,blueberries:upe,kiwi_fruit:hpe,tomato:fpe,olive:ppe,coconut:gpe,avocado:mpe,eggplant:_pe,potato:bpe,carrot:ype,corn:vpe,hot_pepper:wpe,bell_pepper:xpe,cucumber:kpe,leafy_green:Epe,broccoli:Cpe,garlic:Ape,onion:Spe,mushroom:Tpe,peanuts:Mpe,chestnut:Ope,bread:Rpe,croissant:Npe,baguette_bread:Dpe,flatbread:Lpe,pretzel:Ipe,bagel:Ppe,pancakes:Fpe,waffle:Bpe,cheese:$pe,meat_on_bone:zpe,poultry_leg:jpe,cut_of_meat:Upe,bacon:qpe,hamburger:Hpe,fries:Vpe,pizza:Gpe,hotdog:Kpe,sandwich:Wpe,taco:Zpe,burrito:Ype,tamale:Jpe,stuffed_flatbread:Qpe,falafel:Xpe,egg:ege,fried_egg:tge,shallow_pan_of_food:nge,stew:sge,fondue:oge,bowl_with_spoon:rge,green_salad:ige,popcorn:age,butter:lge,salt:cge,canned_food:dge,bento:uge,rice_cracker:hge,rice_ball:fge,rice:pge,curry:gge,ramen:mge,spaghetti:_ge,sweet_potato:bge,oden:yge,sushi:vge,fried_shrimp:wge,fish_cake:xge,moon_cake:kge,dango:Ege,dumpling:Cge,fortune_cookie:Age,takeout_box:Sge,crab:Tge,lobster:Mge,shrimp:Oge,squid:Rge,oyster:Nge,icecream:Dge,shaved_ice:Lge,ice_cream:Ige,doughnut:Pge,cookie:Fge,birthday:Bge,cake:$ge,cupcake:zge,pie:jge,chocolate_bar:Uge,candy:qge,lollipop:Hge,custard:Vge,honey_pot:Gge,baby_bottle:Kge,milk_glass:Wge,coffee:Zge,teapot:Yge,tea:Jge,sake:Qge,champagne:Xge,wine_glass:eme,cocktail:tme,tropical_drink:nme,beer:sme,beers:ome,clinking_glasses:rme,tumbler_glass:ime,cup_with_straw:ame,bubble_tea:lme,beverage_box:cme,mate:dme,ice_cube:ume,chopsticks:hme,plate_with_cutlery:fme,fork_and_knife:pme,spoon:gme,hocho:mme,knife:_me,amphora:bme,earth_africa:yme,earth_americas:vme,earth_asia:wme,globe_with_meridians:xme,world_map:kme,japan:Eme,compass:Cme,mountain_snow:Ame,mountain:Sme,volcano:Tme,mount_fuji:Mme,camping:Ome,beach_umbrella:Rme,desert:Nme,desert_island:Dme,national_park:Lme,stadium:Ime,classical_building:Pme,building_construction:Fme,bricks:Bme,rock:$me,wood:zme,hut:jme,houses:Ume,derelict_house:qme,house:Hme,house_with_garden:Vme,office:Gme,post_office:Kme,european_post_office:Wme,hospital:Zme,bank:Yme,hotel:Jme,love_hotel:Qme,convenience_store:Xme,school:e1e,department_store:t1e,factory:n1e,japanese_castle:s1e,european_castle:o1e,wedding:r1e,tokyo_tower:i1e,statue_of_liberty:a1e,church:l1e,mosque:c1e,hindu_temple:d1e,synagogue:u1e,shinto_shrine:h1e,kaaba:f1e,fountain:p1e,tent:g1e,foggy:m1e,night_with_stars:_1e,cityscape:b1e,sunrise_over_mountains:y1e,sunrise:v1e,city_sunset:w1e,city_sunrise:x1e,bridge_at_night:k1e,hotsprings:E1e,carousel_horse:C1e,ferris_wheel:A1e,roller_coaster:S1e,barber:T1e,circus_tent:M1e,steam_locomotive:O1e,railway_car:R1e,bullettrain_side:N1e,bullettrain_front:D1e,train2:L1e,metro:I1e,light_rail:P1e,station:F1e,tram:B1e,monorail:$1e,mountain_railway:z1e,train:j1e,bus:U1e,oncoming_bus:q1e,trolleybus:H1e,minibus:V1e,ambulance:G1e,fire_engine:K1e,police_car:W1e,oncoming_police_car:Z1e,taxi:Y1e,oncoming_taxi:J1e,car:Q1e,red_car:X1e,oncoming_automobile:e_e,blue_car:t_e,pickup_truck:n_e,truck:s_e,articulated_lorry:o_e,tractor:r_e,racing_car:i_e,motorcycle:a_e,motor_scooter:l_e,manual_wheelchair:c_e,motorized_wheelchair:d_e,auto_rickshaw:u_e,bike:h_e,kick_scooter:f_e,skateboard:p_e,roller_skate:g_e,busstop:m_e,motorway:__e,railway_track:b_e,oil_drum:y_e,fuelpump:v_e,rotating_light:w_e,traffic_light:x_e,vertical_traffic_light:k_e,stop_sign:E_e,construction:C_e,anchor:A_e,boat:S_e,sailboat:T_e,canoe:M_e,speedboat:O_e,passenger_ship:R_e,ferry:N_e,motor_boat:D_e,ship:L_e,airplane:I_e,small_airplane:P_e,flight_departure:F_e,flight_arrival:B_e,parachute:$_e,seat:z_e,helicopter:j_e,suspension_railway:U_e,mountain_cableway:q_e,aerial_tramway:H_e,artificial_satellite:V_e,rocket:G_e,flying_saucer:K_e,bellhop_bell:W_e,luggage:Z_e,hourglass:Y_e,hourglass_flowing_sand:J_e,watch:Q_e,alarm_clock:X_e,stopwatch:e0e,timer_clock:t0e,mantelpiece_clock:n0e,clock12:s0e,clock1230:o0e,clock1:r0e,clock130:i0e,clock2:a0e,clock230:l0e,clock3:c0e,clock330:d0e,clock4:u0e,clock430:h0e,clock5:f0e,clock530:p0e,clock6:g0e,clock630:m0e,clock7:_0e,clock730:b0e,clock8:y0e,clock830:v0e,clock9:w0e,clock930:x0e,clock10:k0e,clock1030:E0e,clock11:C0e,clock1130:A0e,new_moon:S0e,waxing_crescent_moon:T0e,first_quarter_moon:M0e,moon:O0e,waxing_gibbous_moon:R0e,full_moon:N0e,waning_gibbous_moon:D0e,last_quarter_moon:L0e,waning_crescent_moon:I0e,crescent_moon:P0e,new_moon_with_face:F0e,first_quarter_moon_with_face:B0e,last_quarter_moon_with_face:$0e,thermometer:z0e,sunny:j0e,full_moon_with_face:U0e,sun_with_face:q0e,ringed_planet:H0e,star:V0e,star2:G0e,stars:K0e,milky_way:W0e,cloud:Z0e,partly_sunny:Y0e,cloud_with_lightning_and_rain:J0e,sun_behind_small_cloud:Q0e,sun_behind_large_cloud:X0e,sun_behind_rain_cloud:ebe,cloud_with_rain:tbe,cloud_with_snow:nbe,cloud_with_lightning:sbe,tornado:obe,fog:rbe,wind_face:ibe,cyclone:abe,rainbow:lbe,closed_umbrella:cbe,open_umbrella:dbe,umbrella:ube,parasol_on_ground:hbe,zap:fbe,snowflake:pbe,snowman_with_snow:gbe,snowman:mbe,comet:_be,fire:bbe,droplet:ybe,ocean:vbe,jack_o_lantern:wbe,christmas_tree:xbe,fireworks:kbe,sparkler:Ebe,firecracker:Cbe,sparkles:Abe,balloon:Sbe,tada:Tbe,confetti_ball:Mbe,tanabata_tree:Obe,bamboo:Rbe,dolls:Nbe,flags:Dbe,wind_chime:Lbe,rice_scene:Ibe,red_envelope:Pbe,ribbon:Fbe,gift:Bbe,reminder_ribbon:$be,tickets:zbe,ticket:jbe,medal_military:Ube,trophy:qbe,medal_sports:Hbe,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:Vbe,baseball:Gbe,softball:Kbe,basketball:Wbe,volleyball:Zbe,football:Ybe,rugby_football:Jbe,tennis:Qbe,flying_disc:Xbe,bowling:eye,cricket_game:tye,field_hockey:nye,ice_hockey:sye,lacrosse:oye,ping_pong:rye,badminton:iye,boxing_glove:aye,martial_arts_uniform:lye,goal_net:cye,golf:dye,ice_skate:uye,fishing_pole_and_fish:hye,diving_mask:fye,running_shirt_with_sash:pye,ski:gye,sled:mye,curling_stone:_ye,dart:bye,yo_yo:yye,kite:vye,"8ball":"🎱",crystal_ball:wye,magic_wand:xye,nazar_amulet:kye,video_game:Eye,joystick:Cye,slot_machine:Aye,game_die:Sye,jigsaw:Tye,teddy_bear:Mye,pinata:Oye,nesting_dolls:Rye,spades:Nye,hearts:Dye,diamonds:Lye,clubs:Iye,chess_pawn:Pye,black_joker:Fye,mahjong:Bye,flower_playing_cards:$ye,performing_arts:zye,framed_picture:jye,art:Uye,thread:qye,sewing_needle:Hye,yarn:Vye,knot:Gye,eyeglasses:Kye,dark_sunglasses:Wye,goggles:Zye,lab_coat:Yye,safety_vest:Jye,necktie:Qye,shirt:Xye,tshirt:e2e,jeans:t2e,scarf:n2e,gloves:s2e,coat:o2e,socks:r2e,dress:i2e,kimono:a2e,sari:l2e,one_piece_swimsuit:c2e,swim_brief:d2e,shorts:u2e,bikini:h2e,womans_clothes:f2e,purse:p2e,handbag:g2e,pouch:m2e,shopping:_2e,school_satchel:b2e,thong_sandal:y2e,mans_shoe:v2e,shoe:w2e,athletic_shoe:x2e,hiking_boot:k2e,flat_shoe:E2e,high_heel:C2e,sandal:A2e,ballet_shoes:S2e,boot:T2e,crown:M2e,womans_hat:O2e,tophat:R2e,mortar_board:N2e,billed_cap:D2e,military_helmet:L2e,rescue_worker_helmet:I2e,prayer_beads:P2e,lipstick:F2e,ring:B2e,gem:$2e,mute:z2e,speaker:j2e,sound:U2e,loud_sound:q2e,loudspeaker:H2e,mega:V2e,postal_horn:G2e,bell:K2e,no_bell:W2e,musical_score:Z2e,musical_note:Y2e,notes:J2e,studio_microphone:Q2e,level_slider:X2e,control_knobs:eve,microphone:tve,headphones:nve,radio:sve,saxophone:ove,accordion:rve,guitar:ive,musical_keyboard:ave,trumpet:lve,violin:cve,banjo:dve,drum:uve,long_drum:hve,iphone:fve,calling:pve,phone:gve,telephone:mve,telephone_receiver:_ve,pager:bve,fax:yve,battery:vve,electric_plug:wve,computer:xve,desktop_computer:kve,printer:Eve,keyboard:Cve,computer_mouse:Ave,trackball:Sve,minidisc:Tve,floppy_disk:Mve,cd:Ove,dvd:Rve,abacus:Nve,movie_camera:Dve,film_strip:Lve,film_projector:Ive,clapper:Pve,tv:Fve,camera:Bve,camera_flash:$ve,video_camera:zve,vhs:jve,mag:Uve,mag_right:qve,candle:Hve,bulb:Vve,flashlight:Gve,izakaya_lantern:Kve,lantern:Wve,diya_lamp:Zve,notebook_with_decorative_cover:Yve,closed_book:Jve,book:Qve,open_book:Xve,green_book:ewe,blue_book:twe,orange_book:nwe,books:swe,notebook:owe,ledger:rwe,page_with_curl:iwe,scroll:awe,page_facing_up:lwe,newspaper:cwe,newspaper_roll:dwe,bookmark_tabs:uwe,bookmark:hwe,label:fwe,moneybag:pwe,coin:gwe,yen:mwe,dollar:_we,euro:bwe,pound:ywe,money_with_wings:vwe,credit_card:wwe,receipt:xwe,chart:kwe,envelope:Ewe,email:Cwe,"e-mail":"📧",incoming_envelope:Awe,envelope_with_arrow:Swe,outbox_tray:Twe,inbox_tray:Mwe,package:"📦",mailbox:Owe,mailbox_closed:Rwe,mailbox_with_mail:Nwe,mailbox_with_no_mail:Dwe,postbox:Lwe,ballot_box:Iwe,pencil2:Pwe,black_nib:Fwe,fountain_pen:Bwe,pen:$we,paintbrush:zwe,crayon:jwe,memo:Uwe,pencil:qwe,briefcase:Hwe,file_folder:Vwe,open_file_folder:Gwe,card_index_dividers:Kwe,date:Wwe,calendar:Zwe,spiral_notepad:Ywe,spiral_calendar:Jwe,card_index:Qwe,chart_with_upwards_trend:Xwe,chart_with_downwards_trend:exe,bar_chart:txe,clipboard:nxe,pushpin:sxe,round_pushpin:oxe,paperclip:rxe,paperclips:ixe,straight_ruler:axe,triangular_ruler:lxe,scissors:cxe,card_file_box:dxe,file_cabinet:uxe,wastebasket:hxe,lock:fxe,unlock:pxe,lock_with_ink_pen:gxe,closed_lock_with_key:mxe,key:_xe,old_key:bxe,hammer:yxe,axe:vxe,pick:wxe,hammer_and_pick:xxe,hammer_and_wrench:kxe,dagger:Exe,crossed_swords:Cxe,gun:Axe,boomerang:Sxe,bow_and_arrow:Txe,shield:Mxe,carpentry_saw:Oxe,wrench:Rxe,screwdriver:Nxe,nut_and_bolt:Dxe,gear:Lxe,clamp:Ixe,balance_scale:Pxe,probing_cane:Fxe,link:Bxe,chains:$xe,hook:zxe,toolbox:jxe,magnet:Uxe,ladder:qxe,alembic:Hxe,test_tube:Vxe,petri_dish:Gxe,dna:Kxe,microscope:Wxe,telescope:Zxe,satellite:Yxe,syringe:Jxe,drop_of_blood:Qxe,pill:Xxe,adhesive_bandage:eke,stethoscope:tke,door:nke,elevator:ske,mirror:oke,window:rke,bed:ike,couch_and_lamp:ake,chair:lke,toilet:cke,plunger:dke,shower:uke,bathtub:hke,mouse_trap:fke,razor:pke,lotion_bottle:gke,safety_pin:mke,broom:_ke,basket:bke,roll_of_paper:yke,bucket:vke,soap:wke,toothbrush:xke,sponge:kke,fire_extinguisher:Eke,shopping_cart:Cke,smoking:Ake,coffin:Ske,headstone:Tke,funeral_urn:Mke,moyai:Oke,placard:Rke,atm:Nke,put_litter_in_its_place:Dke,potable_water:Lke,wheelchair:Ike,mens:Pke,womens:Fke,restroom:Bke,baby_symbol:$ke,wc:zke,passport_control:jke,customs:Uke,baggage_claim:qke,left_luggage:Hke,warning:Vke,children_crossing:Gke,no_entry:Kke,no_entry_sign:Wke,no_bicycles:Zke,no_smoking:Yke,do_not_litter:Jke,"non-potable_water":"🚱",no_pedestrians:Qke,no_mobile_phones:Xke,underage:e5e,radioactive:t5e,biohazard:n5e,arrow_up:s5e,arrow_upper_right:o5e,arrow_right:r5e,arrow_lower_right:i5e,arrow_down:a5e,arrow_lower_left:l5e,arrow_left:c5e,arrow_upper_left:d5e,arrow_up_down:u5e,left_right_arrow:h5e,leftwards_arrow_with_hook:f5e,arrow_right_hook:p5e,arrow_heading_up:g5e,arrow_heading_down:m5e,arrows_clockwise:_5e,arrows_counterclockwise:b5e,back:y5e,end:v5e,on:w5e,soon:x5e,top:k5e,place_of_worship:E5e,atom_symbol:C5e,om:A5e,star_of_david:S5e,wheel_of_dharma:T5e,yin_yang:M5e,latin_cross:O5e,orthodox_cross:R5e,star_and_crescent:N5e,peace_symbol:D5e,menorah:L5e,six_pointed_star:I5e,aries:P5e,taurus:F5e,gemini:B5e,cancer:$5e,leo:z5e,virgo:j5e,libra:U5e,scorpius:q5e,sagittarius:H5e,capricorn:V5e,aquarius:G5e,pisces:K5e,ophiuchus:W5e,twisted_rightwards_arrows:Z5e,repeat:Y5e,repeat_one:J5e,arrow_forward:Q5e,fast_forward:X5e,next_track_button:eEe,play_or_pause_button:tEe,arrow_backward:nEe,rewind:sEe,previous_track_button:oEe,arrow_up_small:rEe,arrow_double_up:iEe,arrow_down_small:aEe,arrow_double_down:lEe,pause_button:cEe,stop_button:dEe,record_button:uEe,eject_button:hEe,cinema:fEe,low_brightness:pEe,high_brightness:gEe,signal_strength:mEe,vibration_mode:_Ee,mobile_phone_off:bEe,female_sign:yEe,male_sign:vEe,transgender_symbol:wEe,heavy_multiplication_x:xEe,heavy_plus_sign:kEe,heavy_minus_sign:EEe,heavy_division_sign:CEe,infinity:AEe,bangbang:SEe,interrobang:TEe,question:MEe,grey_question:OEe,grey_exclamation:REe,exclamation:NEe,heavy_exclamation_mark:DEe,wavy_dash:LEe,currency_exchange:IEe,heavy_dollar_sign:PEe,medical_symbol:FEe,recycle:BEe,fleur_de_lis:$Ee,trident:zEe,name_badge:jEe,beginner:UEe,o:qEe,white_check_mark:HEe,ballot_box_with_check:VEe,heavy_check_mark:GEe,x:KEe,negative_squared_cross_mark:WEe,curly_loop:ZEe,loop:YEe,part_alternation_mark:JEe,eight_spoked_asterisk:QEe,eight_pointed_black_star:XEe,sparkle:e4e,copyright:t4e,registered:n4e,tm:s4e,hash:o4e,asterisk:r4e,zero:i4e,one:a4e,two:l4e,three:c4e,four:d4e,five:u4e,six:h4e,seven:f4e,eight:p4e,nine:g4e,keycap_ten:m4e,capital_abcd:_4e,abcd:b4e,symbols:y4e,abc:v4e,a:w4e,ab:x4e,b:k4e,cl:E4e,cool:C4e,free:A4e,information_source:S4e,id:T4e,m:M4e,new:"🆕",ng:O4e,o2:R4e,ok:N4e,parking:D4e,sos:L4e,up:I4e,vs:P4e,koko:F4e,sa:B4e,ideograph_advantage:$4e,accept:z4e,congratulations:j4e,secret:U4e,u6e80:q4e,red_circle:H4e,orange_circle:V4e,yellow_circle:G4e,green_circle:K4e,large_blue_circle:W4e,purple_circle:Z4e,brown_circle:Y4e,black_circle:J4e,white_circle:Q4e,red_square:X4e,orange_square:e9e,yellow_square:t9e,green_square:n9e,blue_square:s9e,purple_square:o9e,brown_square:r9e,black_large_square:i9e,white_large_square:a9e,black_medium_square:l9e,white_medium_square:c9e,black_medium_small_square:d9e,white_medium_small_square:u9e,black_small_square:h9e,white_small_square:f9e,large_orange_diamond:p9e,large_blue_diamond:g9e,small_orange_diamond:m9e,small_blue_diamond:_9e,small_red_triangle:b9e,small_red_triangle_down:y9e,diamond_shape_with_a_dot_inside:v9e,radio_button:w9e,white_square_button:x9e,black_square_button:k9e,checkered_flag:E9e,triangular_flag_on_post:C9e,crossed_flags:A9e,black_flag:S9e,white_flag:T9e,rainbow_flag:M9e,transgender_flag:O9e,pirate_flag:R9e,ascension_island:N9e,andorra:D9e,united_arab_emirates:L9e,afghanistan:I9e,antigua_barbuda:P9e,anguilla:F9e,albania:B9e,armenia:$9e,angola:z9e,antarctica:j9e,argentina:U9e,american_samoa:q9e,austria:H9e,australia:V9e,aruba:G9e,aland_islands:K9e,azerbaijan:W9e,bosnia_herzegovina:Z9e,barbados:Y9e,bangladesh:J9e,belgium:Q9e,burkina_faso:X9e,bulgaria:e8e,bahrain:t8e,burundi:n8e,benin:s8e,st_barthelemy:o8e,bermuda:r8e,brunei:i8e,bolivia:a8e,caribbean_netherlands:l8e,brazil:c8e,bahamas:d8e,bhutan:u8e,bouvet_island:h8e,botswana:f8e,belarus:p8e,belize:g8e,canada:m8e,cocos_islands:_8e,congo_kinshasa:b8e,central_african_republic:y8e,congo_brazzaville:v8e,switzerland:w8e,cote_divoire:x8e,cook_islands:k8e,chile:E8e,cameroon:C8e,cn:A8e,colombia:S8e,clipperton_island:T8e,costa_rica:M8e,cuba:O8e,cape_verde:R8e,curacao:N8e,christmas_island:D8e,cyprus:L8e,czech_republic:I8e,de:P8e,diego_garcia:F8e,djibouti:B8e,denmark:$8e,dominica:z8e,dominican_republic:j8e,algeria:U8e,ceuta_melilla:q8e,ecuador:H8e,estonia:V8e,egypt:G8e,western_sahara:K8e,eritrea:W8e,es:Z8e,ethiopia:Y8e,eu:J8e,european_union:Q8e,finland:X8e,fiji:e3e,falkland_islands:t3e,micronesia:n3e,faroe_islands:s3e,fr:o3e,gabon:r3e,gb:i3e,uk:a3e,grenada:l3e,georgia:c3e,french_guiana:d3e,guernsey:u3e,ghana:h3e,gibraltar:f3e,greenland:p3e,gambia:g3e,guinea:m3e,guadeloupe:_3e,equatorial_guinea:b3e,greece:y3e,south_georgia_south_sandwich_islands:v3e,guatemala:w3e,guam:x3e,guinea_bissau:k3e,guyana:E3e,hong_kong:C3e,heard_mcdonald_islands:A3e,honduras:S3e,croatia:T3e,haiti:M3e,hungary:O3e,canary_islands:R3e,indonesia:N3e,ireland:D3e,israel:L3e,isle_of_man:I3e,india:P3e,british_indian_ocean_territory:F3e,iraq:B3e,iran:$3e,iceland:z3e,it:j3e,jersey:U3e,jamaica:q3e,jordan:H3e,jp:V3e,kenya:G3e,kyrgyzstan:K3e,cambodia:W3e,kiribati:Z3e,comoros:Y3e,st_kitts_nevis:J3e,north_korea:Q3e,kr:X3e,kuwait:eCe,cayman_islands:tCe,kazakhstan:nCe,laos:sCe,lebanon:oCe,st_lucia:rCe,liechtenstein:iCe,sri_lanka:aCe,liberia:lCe,lesotho:cCe,lithuania:dCe,luxembourg:uCe,latvia:hCe,libya:fCe,morocco:pCe,monaco:gCe,moldova:mCe,montenegro:_Ce,st_martin:bCe,madagascar:yCe,marshall_islands:vCe,macedonia:wCe,mali:xCe,myanmar:kCe,mongolia:ECe,macau:CCe,northern_mariana_islands:ACe,martinique:SCe,mauritania:TCe,montserrat:MCe,malta:OCe,mauritius:RCe,maldives:NCe,malawi:DCe,mexico:LCe,malaysia:ICe,mozambique:PCe,namibia:FCe,new_caledonia:BCe,niger:$Ce,norfolk_island:zCe,nigeria:jCe,nicaragua:UCe,netherlands:qCe,norway:HCe,nepal:VCe,nauru:GCe,niue:KCe,new_zealand:WCe,oman:ZCe,panama:YCe,peru:JCe,french_polynesia:QCe,papua_new_guinea:XCe,philippines:e6e,pakistan:t6e,poland:n6e,st_pierre_miquelon:s6e,pitcairn_islands:o6e,puerto_rico:r6e,palestinian_territories:i6e,portugal:a6e,palau:l6e,paraguay:c6e,qatar:d6e,reunion:u6e,romania:h6e,serbia:f6e,ru:p6e,rwanda:g6e,saudi_arabia:m6e,solomon_islands:_6e,seychelles:b6e,sudan:y6e,sweden:v6e,singapore:w6e,st_helena:x6e,slovenia:k6e,svalbard_jan_mayen:E6e,slovakia:C6e,sierra_leone:A6e,san_marino:S6e,senegal:T6e,somalia:M6e,suriname:O6e,south_sudan:R6e,sao_tome_principe:N6e,el_salvador:D6e,sint_maarten:L6e,syria:I6e,swaziland:P6e,tristan_da_cunha:F6e,turks_caicos_islands:B6e,chad:$6e,french_southern_territories:z6e,togo:j6e,thailand:U6e,tajikistan:q6e,tokelau:H6e,timor_leste:V6e,turkmenistan:G6e,tunisia:K6e,tonga:W6e,tr:Z6e,trinidad_tobago:Y6e,tuvalu:J6e,taiwan:Q6e,tanzania:X6e,ukraine:eAe,uganda:tAe,us_outlying_islands:nAe,united_nations:sAe,us:oAe,uruguay:rAe,uzbekistan:iAe,vatican_city:aAe,st_vincent_grenadines:lAe,venezuela:cAe,british_virgin_islands:dAe,us_virgin_islands:uAe,vietnam:hAe,vanuatu:fAe,wallis_futuna:pAe,samoa:gAe,kosovo:mAe,yemen:_Ae,mayotte:bAe,south_africa:yAe,zambia:vAe,zimbabwe:wAe,england:xAe,scotland:kAe,wales:EAe};var AAe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]},SAe=function(e,n){return e[n].content},TAe=function(e,n,s,o,r){var i=e.utils.arrayReplaceAt,a=e.utils.lib.ucmicro,l=new RegExp([a.Z.source,a.P.source,a.Cc.source].join("|"));function d(u,h,f){var g,m=0,_=[];return u.replace(r,function(v,p,b){var x;if(s.hasOwnProperty(v)){if(x=s[v],p>0&&!l.test(b[p-1])||p+v.length<b.length&&!l.test(b[p+v.length]))return}else x=v.slice(1,-1);p>m&&(g=new f("text","",0),g.content=u.slice(m,p),_.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],_.push(g),m=p+v.length}),m<u.length&&(g=new f("text","",0),g.content=u.slice(m),_.push(g)),_}return function(h){var f,g,m,_,v,p=h.tokens,b=0;for(g=0,m=p.length;g<m;g++)if(p[g].type==="inline")for(_=p[g].children,f=_.length-1;f>=0;f--)v=_[f],(v.type==="link_open"||v.type==="link_close")&&v.info==="auto"&&(b-=v.nesting),v.type==="text"&&b===0&&o.test(v.content)&&(p[g].children=_=i(_,f,d(v.content,v.level,h.Token)))}};function MAe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var OAe=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 MAe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},RAe=SAe,NAe=TAe,DAe=OAe,LAe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=DAe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=RAe,e.core.ruler.after("linkify","emoji",NAe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},IAe=CAe,PAe=AAe,FAe=LAe,BAe=function(e,n){var s={defs:IAe,shortcuts:PAe,enabled:[]},o=e.utils.assign({},s,n||{});FAe(e,o)};const $Ae=cs(BAe);var Pu=!1,Is={false:"push",true:"unshift",after:"push",before:"unshift"},Nr={isPermalinkSymbol:!0};function gl(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:Nr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Is[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Is[e.permalinkBefore]].apply(o,i)}function kg(t){return"#"+t}function Eg(t){return{}}var zAe={class:"header-anchor",symbol:"#",renderHref:kg,renderAttrs:Eg};function zo(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({},zAe),e.renderPermalinkImpl=t,e}var vi=zo(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:Nr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Is[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Is[e.placement]].apply(r,i)});Object.assign(vi.defaults,{space:!0,placement:"after",ariaHidden:!1});var Un=zo(vi.renderPermalinkImpl);Un.defaults=Object.assign({},vi.defaults,{ariaHidden:!0});var Cg=zo(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=zo(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[Is[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:d}))}a[Is[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:Nr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Nr}));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 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 bs(t,e){e=Object.assign({},bs.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;a<r.length;a++){var l=r[a];if(l.type==="heading_open"&&i(Number(l.tag.substr(1)))){var d=e.getTokensText(r[a+1].children),u=l.attrGet("id");u=u==null?Bu(e.slugify(d),o,!1,e.uniqueSlugStartIndex):Bu(u,o,!0,e.uniqueSlugStartIndex),l.attrSet("id",u),e.tabIndex!==!1&&l.attrSet("tabindex",""+e.tabIndex),typeof e.permalink=="function"?e.permalink(u,e,n,a):(e.permalink||e.renderPermalink&&e.renderPermalink!==gl)&&e.renderPermalink(u,e,n,a),a=r.indexOf(l),e.callback&&e.callback(l,{slug:u,title:d})}}})}Object.assign(Fu.defaults,{style:"visually-hidden",space:!0,placement:"after",wrapper:null}),bs.permalink={__proto__:null,legacy:gl,renderHref:kg,renderAttrs:Eg,makePermalink:zo,linkInsideHeader:vi,ariaHidden:Un,headerLink:Cg,linkAfterHeader:Fu},bs.defaults={level:1,slugify:function(t){return encodeURIComponent(String(t).trim().toLowerCase().replace(/\s+/g,"-"))},uniqueSlugStartIndex:1,tabIndex:"-1",getTokensText:function(t){return t.filter(function(e){return["text","code_inline"].includes(e.type)}).map(function(e){return e.content}).join("")},permalink:!1,renderPermalink:gl,permalinkClass:Un.defaults.class,permalinkSpace:Un.defaults.space,permalinkSymbol:"¶",permalinkBefore:Un.defaults.placement==="before",permalinkHref:Un.defaults.renderHref,permalinkAttrs:Un.defaults.renderAttrs},bs.default=bs;var jAe=function(e,n){n=n||{};function s(o){for(var r=1,i=1,a=o.tokens.length;i<a-1;++i){var l=o.tokens[i];if(l.type==="inline"&&!(!l.children||l.children.length!==1&&l.children.length!==3)&&!(l.children.length===1&&l.children[0].type!=="image")&&!(l.children.length===3&&(l.children[0].type!=="link_open"||l.children[1].type!=="image"||l.children[2].type!=="link_close"))&&!(i!==0&&o.tokens[i-1].type!=="paragraph_open")&&!(i!==a-1&&o.tokens[i+1].type!=="paragraph_close")){var d=o.tokens[i-1];d.type="figure_open",d.tag="figure",o.tokens[i+1].type="figure_close",o.tokens[i+1].tag="figure",n.dataType==!0&&o.tokens[i-1].attrPush(["data-type","image"]);var u;if(n.link==!0&&l.children.length===1&&(u=l.children[0],l.children.unshift(new o.Token("link_open","a",1)),l.children[0].attrPush(["href",u.attrGet("src")]),l.children.push(new o.Token("link_close","a",-1))),u=l.children.length===1?l.children[0]:l.children[1],n.figcaption==!0&&u.children&&u.children.length&&(l.children.push(new o.Token("figcaption_open","figcaption",1)),l.children.splice(l.children.length,0,...u.children),l.children.push(new o.Token("figcaption_close","figcaption",-1)),u.children.length=0),n.copyAttrs&&u.attrs){const h=n.copyAttrs===!0?"":n.copyAttrs;d.attrs=u.attrs.filter(([f,g])=>f.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 UAe=cs(jAe);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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Mn(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 qAe="</span>",zu=t=>!!t.scope,HAe=(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 VAe{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=HAe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){zu(e)&&(this.buffer+=qAe)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const ju=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class _c{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=>{_c._collapse(n)}))}}class GAe extends _c{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 VAe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function No(t){return t?typeof t=="string"?t:t.source:null}function Tg(t){return ds("(?=",t,")")}function KAe(t){return ds("(?:",t,")*")}function WAe(t){return ds("(?:",t,")?")}function ds(...t){return t.map(n=>No(n)).join("")}function ZAe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function bc(...t){return"("+(ZAe(t).capture?"":"?:")+t.map(s=>No(s)).join("|")+")"}function Mg(t){return new RegExp(t.toString()+"|").exec("").length-1}function YAe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const JAe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function yc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=No(s),i="";for(;r.length>0;){const a=JAe.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 QAe=/\b\B/,Og="[a-zA-Z]\\w*",vc="[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]+)",XAe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e7e=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ds(e,/.*\b/,t.binary,/\b.*/)),Mn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Do={begin:"\\\\[\\s\\S]",relevance:0},t7e={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Do]},n7e={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Do]},s7e={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/},wi=function(t,e,n={}){const s=Mn({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=bc("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:ds(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},o7e=wi("//","$"),r7e=wi("/\\*","\\*/"),i7e=wi("#","$"),a7e={scope:"number",begin:Rg,relevance:0},l7e={scope:"number",begin:Ng,relevance:0},c7e={scope:"number",begin:Dg,relevance:0},d7e={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Do,{begin:/\[/,end:/\]/,relevance:0,contains:[Do]}]}]},u7e={scope:"title",begin:Og,relevance:0},h7e={scope:"title",begin:vc,relevance:0},f7e={begin:"\\.\\s*"+vc,relevance:0},p7e=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 tr=Object.freeze({__proto__:null,MATCH_NOTHING_RE:QAe,IDENT_RE:Og,UNDERSCORE_IDENT_RE:vc,NUMBER_RE:Rg,C_NUMBER_RE:Ng,BINARY_NUMBER_RE:Dg,RE_STARTERS_RE:XAe,SHEBANG:e7e,BACKSLASH_ESCAPE:Do,APOS_STRING_MODE:t7e,QUOTE_STRING_MODE:n7e,PHRASAL_WORDS_MODE:s7e,COMMENT:wi,C_LINE_COMMENT_MODE:o7e,C_BLOCK_COMMENT_MODE:r7e,HASH_COMMENT_MODE:i7e,NUMBER_MODE:a7e,C_NUMBER_MODE:l7e,BINARY_NUMBER_MODE:c7e,REGEXP_MODE:d7e,TITLE_MODE:u7e,UNDERSCORE_TITLE_MODE:h7e,METHOD_GUARD:f7e,END_SAME_AS_BEGIN:p7e});function g7e(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function m7e(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function _7e(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=g7e,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function b7e(t,e){Array.isArray(t.illegal)&&(t.illegal=bc(...t.illegal))}function y7e(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 v7e(t,e){t.relevance===void 0&&(t.relevance=1)}const w7e=(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=ds(n.beforeMatch,Tg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},x7e=["of","and","for","in","not","or","if","then","parent","list","value"],k7e="keyword";function Lg(t,e,n=k7e){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,E7e(l[0],l[1])]})}}function E7e(t,e){return e?Number(e):C7e(t)?0:1}function C7e(t){return x7e.includes(t.toLowerCase())}const Uu={},Xn=t=>{console.error(t)},qu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},gs=(t,e)=>{Uu[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Uu[`${t}/${e}`]=!0)},Dr=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 A7e(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Xn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Dr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Xn("beginScope must be object"),Dr;Ig(t,t.begin,{key:"beginScope"}),t.begin=yc(t.begin,{joinWith:""})}}function S7e(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Xn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Dr;if(typeof t.endScope!="object"||t.endScope===null)throw Xn("endScope must be object"),Dr;Ig(t,t.end,{key:"endScope"}),t.end=yc(t.end,{joinWith:""})}}function T7e(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function M7e(t){T7e(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),A7e(t),S7e(t)}function O7e(t){function e(i,a){return new RegExp(No(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(yc(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;[m7e,y7e,M7e,w7e].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[_7e,b7e,v7e].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=No(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 R7e(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=Mn(t.classNameAliases||{}),r(t)}function Pg(t){return t?t.endsWithParent||Pg(t.starts):!1}function R7e(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Mn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Pg(t)?Mn(t,{starts:t.starts?Mn(t.starts):null}):Object.isFrozen(t)?Mn(t):t}var N7e="11.8.0";class D7e extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const sa=Sg,Hu=Mn,Vu=Symbol("nomatch"),L7e=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:GAe};function l(T){return a.noHighlightRe.test(T)}function d(T){let H=T.className+" ";H+=T.parentNode?T.parentNode.className:"";const G=a.languageDetectRe.exec(H);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 H.split(/\s+/).find(we=>l(we)||E(we))}function u(T,H,G){let we="",_e="";typeof H=="object"?(we=T,G=H.ignoreIllegals,_e=H.language):(gs("10.7.0","highlight(lang, code, ...args) has been deprecated."),gs("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),_e=T,we=H),G===void 0&&(G=!0);const te={code:we,language:_e};ue("before:highlight",te);const ke=te.result?te.result:h(te.language,te.code,G);return ke.code=te.code,ue("after:highlight",ke),ke}function h(T,H,G,we){const _e=Object.create(null);function te(W,ie){return W.keywords[ie]}function ke(){if(!j.keywords){q.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 Me=z.case_insensitive?ie[0].toLowerCase():ie[0],$e=te(j,Me);if($e){const[We,Pe]=$e;if(q.addText(me),me="",_e[Me]=(_e[Me]||0)+1,_e[Me]<=L7e&&(ce+=Pe),We.startsWith("_"))me+=ie[0];else{const tt=z.classNameAliases[We]||We;Q(ie[0],tt)}}else me+=ie[0];W=j.keywordPatternRe.lastIndex,ie=j.keywordPatternRe.exec(Y)}me+=Y.substring(W),q.addText(me)}function Te(){if(Y==="")return;let W=null;if(typeof j.subLanguage=="string"){if(!e[j.subLanguage]){q.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&&(ce+=W.relevance),q.__addSublanguage(W._emitter,W.language)}function N(){j.subLanguage!=null?Te():ke(),Y=""}function Q(W,ie){W!==""&&(q.startScope(ie),q.addText(W),q.endScope())}function V(W,ie){let me=1;const Me=ie.length-1;for(;me<=Me;){if(!W._emit[me]){me++;continue}const $e=z.classNameAliases[W[me]]||W[me],We=ie[me];$e?Q(We,$e):(Y=We,ke(),Y=""),me++}}function ne(W,ie){return W.scope&&typeof W.scope=="string"&&q.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 Me=YAe(W.endRe,me);if(Me){if(W["on:end"]){const $e=new $u(W);W["on:end"](ie,$e),$e.isMatchIgnored&&(Me=!1)}if(Me){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):(Ae=!0,0)}function he(W){const ie=W[0],me=W.rule,Me=new $u(me),$e=[me.__beforeBegin,me["on:begin"]];for(const We of $e)if(We&&(We(W,Me),Me.isMatchIgnored))return ge(ie);return me.skip?Y+=ie:(me.excludeBegin&&(Y+=ie),N(),!me.returnBegin&&!me.excludeBegin&&(Y=ie)),ne(me,W),me.returnBegin?0:ie.length}function w(W){const ie=W[0],me=H.substring(W.index),Me=X(j,W,me);if(!Me)return Vu;const $e=j;j.endScope&&j.endScope._wrap?(N(),Q(ie,j.endScope._wrap)):j.endScope&&j.endScope._multi?(N(),V(j.endScope,W)):$e.skip?Y+=ie:($e.returnEnd||$e.excludeEnd||(Y+=ie),N(),$e.excludeEnd&&(Y=ie));do j.scope&&q.closeNode(),!j.skip&&!j.subLanguage&&(ce+=j.relevance),j=j.parent;while(j!==Me.parent);return Me.starts&&ne(Me.starts,W),$e.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=>q.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+=H.slice(ie.index,ie.index+1),!o){const Me=new Error(`0 width match regex (${T})`);throw Me.languageName=T,Me.badRule=F.rule,Me}return 1}if(F=ie,ie.type==="begin")return he(ie);if(ie.type==="illegal"&&!G){const Me=new Error('Illegal lexeme "'+me+'" for mode "'+(j.scope||"<unnamed>")+'"');throw Me.mode=j,Me}else if(ie.type==="end"){const Me=w(ie);if(Me!==Vu)return Me}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 Xn(r.replace("{}",T)),new Error('Unknown language: "'+T+'"');const oe=O7e(z);let le="",j=we||oe;const re={},q=new a.__emitter(a);A();let Y="",ce=0,pe=0,fe=0,Ae=!1;try{if(z.__emitTokens)z.__emitTokens(H,q);else{for(j.matcher.considerAll();;){fe++,Ae?Ae=!1:j.matcher.considerAll(),j.matcher.lastIndex=pe;const W=j.matcher.exec(H);if(!W)break;const ie=H.substring(pe,W.index),me=$(ie,W);pe=W.index+me}$(H.substring(pe))}return q.finalize(),le=q.toHTML(),{language:T,value:le,relevance:ce,illegal:!1,_emitter:q,_top:j}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:T,value:sa(H),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:pe,context:H.slice(pe-100,pe+100),mode:W.mode,resultSoFar:le},_emitter:q};if(o)return{language:T,value:sa(H),illegal:!1,relevance:0,errorRaised:W,_emitter:q,_top:j};throw W}}function f(T){const H={value:sa(T),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return H._emitter.addText(T),H}function g(T,H){H=H||a.languages||Object.keys(e);const G=f(T),we=H.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}),[te,ke]=_e,Te=te;return Te.secondBest=ke,Te}function m(T,H,G){const we=H&&n[H]||G;T.classList.add("hljs"),T.classList.add(`language-${we}`)}function _(T){let H=null;const G=d(T);if(l(G))return;if(ue("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 D7e("One of your code blocks includes unescaped HTML.",T.innerHTML);H=T;const we=H.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}),ue("after:highlightElement",{el:T,result:_e,text:we})}function v(T){a=Hu(a,T)}const p=()=>{S(),gs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){S(),gs("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,H){let G=null;try{G=H(t)}catch(we){if(Xn("Language definition for '{}' could not be registered.".replace("{}",T)),o)Xn(we);else throw we;G=i}G.name||(G.name=T),e[T]=G,G.rawDefinition=H.bind(null,t),G.aliases&&M(G.aliases,{languageName:T})}function D(T){delete e[T];for(const H of Object.keys(n))n[H]===T&&delete n[H]}function y(){return Object.keys(e)}function E(T){return T=(T||"").toLowerCase(),e[T]||e[n[T]]}function M(T,{languageName:H}){typeof T=="string"&&(T=[T]),T.forEach(G=>{n[G.toLowerCase()]=H})}function L(T){const H=E(T);return H&&!H.disableAutodetect}function B(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=H=>{T["before:highlightBlock"](Object.assign({block:H.el},H))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=H=>{T["after:highlightBlock"](Object.assign({block:H.el},H))})}function J(T){B(T),s.push(T)}function P(T){const H=s.indexOf(T);H!==-1&&s.splice(H,1)}function ue(T,H){const G=T;s.forEach(function(we){we[G]&&we[G](H)})}function Z(T){return gs("10.7.0","highlightBlock will be removed entirely in v12.0"),gs("10.7.0","Please use highlightElement now."),_(T)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:S,highlightElement:_,highlightBlock:Z,configure:v,initHighlighting:p,initHighlightingOnLoad:b,registerLanguage:O,unregisterLanguage:D,listLanguages:y,getLanguage:E,registerAliases:M,autoDetection:L,inherit:Hu,addPlugin:J,removePlugin:P}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=N7e,t.regex={concat:ds,lookahead:Tg,either:bc,optional:WAe,anyNumberOfTimes:KAe};for(const T in tr)typeof tr[T]=="object"&&Ag(tr[T]);return Object.assign(t,tr),t},Ps=Fg({});Ps.newInstance=()=>Fg({});var I7e=Ps;Ps.HighlightJS=Ps;Ps.default=Ps;var oa,Gu;function P7e(){if(Gu)return oa;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:/</,relevance:0,contains:[{className:"attr",begin:o,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,d,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,a,d,l]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[d]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(s,n.either(/\/>/,/>/,/\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 oa=t,oa}var ra,Ku;function F7e(){if(Ku)return ra;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}),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"],v={match:/(\/[a-z._-]+)+/},p=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],b=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],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:[...p,...b,"set","shopt",...x,...S]},contains:[f,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,v,a,l,d,s]}}return ra=t,ra}var ia,Wu;function B7e(){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="("+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*\\(",p={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},b=[f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:b.concat([{begin:/\(/,end:/\)/,keywords:p,contains:b.concat(["self"]),relevance:0}]),relevance:0},S={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:p,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:p,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:p,disableAutodetect:!0,illegal:"</",contains:[].concat(x,S,b,[f,{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:u,keywords:p}}}return ia=t,ia}var aa,Zu;function $7e(){if(Zu)return aa;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]},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"],v=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],p=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],R={type:v,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:p},O={className:"function.dispatch",relevance:0,keywords:{_hint:b},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],y={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:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(y,E,O,D,[f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",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 aa=t,aa}var la,Yu;function z7e(){if(Yu)return la;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},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]},v=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=[v,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const p={variants:[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",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:"</?",end:">"}]}]}),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"}},p,d,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,b],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[p,d,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},S]}}return la=t,la}var ca,Ju;function j7e(){if(Ju)return ca;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+)*/,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 ca=i,ca}var da,Qu;function U7e(){if(Qu)return da;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:[]}),g=e.inherit(h,{contains:[]});u.contains.push(g),h.contains.push(f);let m=[s,d];return[u,h,f,g].forEach(p=>{p.contains=p.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 da=t,da}var ua,Xu;function q7e(){if(Xu)return ua;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 ua=t,ua}var ha,eh;function H7e(){if(eh)return ha;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]?</,end:/>/},{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"}]},v={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:[v]},{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,v.contains=D;const y="[>?]>",E="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+y+"|"+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 ha=t,ha}var fa,th;function V7e(){if(th)return fa;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:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,illegal:/["']/}]}]}}return fa=t,fa}var pa,nh;function G7e(){if(nh)return pa;nh=1;function t(e){const n=e.regex,s=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:n.concat(s,n.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return pa=t,pa}var ga,sh;function K7e(){if(sh)return ga;sh=1;function t(e){const n=e.regex,s={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},o=e.COMMENT();o.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[o,i,r,a,s,"self"],relevance:0},d=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,h=/'[^']*'/,f=n.either(d,u,h),g=n.concat(f,"(\\s*\\.\\s*",f,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[o,{className:"section",begin:/\[+/,end:/\]+/},{begin:g,className:"attr",starts:{end:/$/,contains:[o,l,i,r,a,s]}}]}}return ga=t,ga}var ma,oh;function W7e(){if(oh)return ma;oh=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(i,a,l){return l===-1?"":i.replace(a,d=>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"]}]},v={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:[v,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 ma=r,ma}var _a,rh;function Z7e(){if(rh)return _a;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:ne})=>{const X="</"+V[0].slice(1);return V.input.indexOf(X,ne)!==-1},f=t,g={begin:"<>",end:"</>"},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,ne)=>{const X=V[0].length+V.index,ge=V.input[X];if(ge==="<"||ge===","){ne.ignoreMatch();return}ge===">"&&(h(V,{after:X})||ne.ignoreMatch());let he;const w=V.input.substring(X);if(he=w.match(/^\s*=/)){ne.ignoreMatch();return}if((he=w.match(/^\s+extends\s+/))&&he.index===0){ne.ignoreMatch();return}}},v={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},p="[0-9](_?[0-9])*",b=`\\.(${p})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",S={className:"number",variants:[{begin:`(\\b(${x})((${b})|\\.)?|(${b}))[eE][+-]?(${p})\\b`},{begin:`\\b(${x})\\b((${b})\\b|\\.)?|(${b})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:v,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"}},y={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,y,E,{match:/\$\d+/},S];R.contains=B.concat({begin:/\{/,end:/\}/,keywords:v,contains:["self"].concat(B)});const J=[].concat(L,R.contains),P=J.concat([{begin:/\(/,end:/\)/,keywords:v,contains:["self"].concat(J)}]),ue={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,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]}},H={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:[ue],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 te={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},Te={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ue]},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:[ue]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:v,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),H,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,D,y,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:v,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:[ue,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:[ue]},te,we,Z,Te,{match:/\$[(.]/}]}}return _a=l,_a}var ba,ih;function Y7e(){if(ih)return ba;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 ba=t,ba}var ya,ah;function J7e(){if(ah)return ya;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+")?"},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]}),v={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=v;return p.variants[1].contains=[v],v.variants[1].contains=[p],{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:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[v,r.C_LINE_COMMENT_MODE,_],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:/</,end:/>/,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 ya=o,ya}var va,lh;function Q7e(){if(lh)return va;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-]+",g="("+f+"|@\\{"+f+"\\})",m=[],_=[],v=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},p=function(L,B,J){return{className:L,begin:B,relevance:J}},b={$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:_,keywords:b,relevance:0};_.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v("'"),v('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,x,p("variable","@@?"+f,10),p("variable","@\\{"+f+"\\}"),p("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:b,returnEnd:!0,contains:_,relevance:0}},y={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,p("keyword","all\\b"),p("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,p("selector-tag",g,0),p("selector-id","#"+g),p("selector-class","\\."+g,0),p("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,y,M,O,E,R,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return va=a,va}var wa,ch;function X7e(){if(ch)return wa;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 wa=t,wa}var xa,dh;function eSe(){if(dh)return xa;dh=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n]},o={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[n]},r={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[n]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,n,s,o,r,i,a]}}return xa=t,xa}var ka,uh;function tSe(){if(uh)return ka;uh=1;function t(e){const n=e.regex,s=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:s.join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={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,_,v="\\1")=>{const p=v==="\\1"?v:n.concat(v,_);return n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,p,/(?:\\.|[^\\\/])*?/,v,o)},f=(m,_,v)=>n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,v,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 ka=t,ka}var Ea,hh;function nSe(){if(hh)return Ea;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:"</",contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,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 Ea=t,Ea}var Ca,fh;function sSe(){if(fh)return Ca;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":(P,ue)=>{ue.data._beginMatch=P[1]||P[2]},"on:end":(P,ue)=>{ue.data._beginMatch!==P[1]&&ue.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},v=["false","null","true"],p=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],S={keyword:p,literal:(P=>{const ue=[];return P.forEach(Z=>{ue.push(Z),Z.toLowerCase()===Z?ue.push(Z.toUpperCase()):ue.push(Z.toLowerCase())}),ue})(v),built_in:b},R=P=>P.map(ue=>ue.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",R(b).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),y={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},E={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:S,contains:[E,i,y,e.C_BLOCK_COMMENT_MODE,m,_,O]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(p).join("\\b|"),"|",R(b).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(L);const B=[E,y,e.C_BLOCK_COMMENT_MODE,m,_,O],J={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...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,y,{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,y,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 Ca=t,Ca}var Aa,ph;function oSe(){if(ph)return Aa;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 Aa=t,Aa}var Sa,gh;function rSe(){if(gh)return Sa;gh=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Sa=t,Sa}var Ta,mh;function iSe(){if(mh)return Ta;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]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,_=`\\b|${o.join("|")}`,v={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](?=${_})`}]},p={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",d,v,f,e.HASH_COMMENT_MODE]}]};return u.contains=[f,v,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[d,v,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[v,b,f]}]}}return Ta=t,Ta}var Ma,_h;function aSe(){if(_h)return Ma;_h=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Ma=t,Ma}var Oa,bh;function lSe(){if(bh)return Oa;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 Oa=t,Oa}var Ra,yh;function cSe(){if(yh)return Ra;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:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+o},{begin:"\\b0o([0-7_]+)"+o},{begin:"\\b0x([A-Fa-f0-9_]+)"+o},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+o}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:a,type:l}},{className:"punctuation",begin:"->"},s]}}return Ra=t,Ra}var Na,vh;function dSe(){if(vh)return Na;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 Na=i,Na}var Da,wh;function uSe(){if(wh)return Da;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 Da=t,Da}var La,xh;function hSe(){if(xh)return La;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"],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)),v={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},p={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={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(y=>y.match(/\|\d+$/)||R.includes(y)?y:D(y)?`${y}|0`:y)}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)},b,v,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,p]}}return La=t,La}var Ia,kh;function fSe(){if(kh)return Ia;kh=1;function t(y){return y?typeof y=="string"?y:y.source:null}function e(y){return n("(?=",y,")")}function n(...y){return y.map(M=>t(M)).join("")}function s(y){const E=y[y.length-1];return typeof E=="object"&&E.constructor===Object?(y.splice(y.length-1,1),E):{}}function o(...y){return"("+(s(y).capture?"":"?:")+y.map(L=>t(L)).join("|")+")"}const r=y=>n(/\b/,y,/\w$/.test(y)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],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]/),v=n(m,_,"*"),p=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),b=o(p,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(p,b,"*"),S=n(/[A-Z]/,b,"*"),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(y){const E={match:/\s+/,relevance:0},M=y.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[y.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"]),ue=d.filter(Pe=>typeof Pe!="string").concat(l).map(r),Z={variants:[{className:"keyword",match:o(...ue,...a)}]},T={$pattern:o(/\b\w+/,/#\w+/),keyword:P.concat(f),literal:u},H=[B,J,Z],G={match:n(/\./,o(...g)),relevance:0},we={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},_e=[G,we],te={match:/->/,relevance:0},ke={className:"operator",relevance:0,variants:[{match:v},{match:`\\.(\\.|${_})+`}]},Te=[te,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/}]},ne=(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:[ne(Pe),X(Pe),ge(Pe)]}),w=(Pe="")=>({begin:n(Pe,/"/),end:n(/"/,Pe),contains:[ne(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:`\\$${b}+`},oe=[F,$,z],le={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[...Te,V,A]}]}},j={className:"keyword",match:n(/@/,o(...R))},re={className:"meta",match:n(/@/,x)},q=[le,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)/,b,"+")},{className:"type",match:S,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(S)),relevance:0}]},ce={begin:/</,end:/>/,keywords:T,contains:[...L,...H,...q,te,Y]};Y.contains.push(ce);const pe={match:n(x,/\s*:/),keywords:"_|0",relevance:0},fe={begin:/\(/,end:/\)/,relevance:0,keywords:T,contains:["self",pe,...L,...H,..._e,...Te,V,A,...oe,...q,Y]},Ae={begin:/</,end:/>/,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,...H,...Te,V,A,...q,Y,fe],endsParent:!0,illegal:/["']/},me={match:[/func/,/\s+/,o(F.match,x,v)],className:{1:"keyword",3:"title.function"},contains:[Ae,ie,E],illegal:[/\[/,/%/]},Me={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ae,ie,E],illegal:/\[|%/},$e={match:[/operator/,/\s+/,v],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 tt=Pe.contains.find(ct=>ct.label==="interpol");tt.keywords=T;const ot=[...H,..._e,...Te,V,A,...oe];tt.contains=[...ot,{begin:/\(/,end:/\)/,contains:["self",...ot]}]}return{name:"Swift",keywords:T,contains:[...L,me,Me,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:T,contains:[y.inherit(y.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...H]},$e,We,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...H,..._e,...Te,V,A,...oe,...q,Y,fe]}}return Ia=D,Ia}var Pa,Eh;function pSe(){if(Eh)return Pa;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"},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},v=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,_,i],p=[...v];return p.pop(),p.push(a),g.contains=p,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return Pa=t,Pa}var Fa,Ch;function gSe(){if(Ch)return Fa;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=(ne,{after:X})=>{const ge="</"+ne[0].slice(1);return ne.input.indexOf(ge,X)!==-1},g=t,m={begin:"<>",end:"</>"},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ne,X)=>{const ge=ne[0].length+ne.index,he=ne.input[ge];if(he==="<"||he===","){X.ignoreMatch();return}he===">"&&(f(ne,{after:ge})||X.ignoreMatch());let w;const A=ne.input.substring(ge);if(w=A.match(/^\s*=/)){X.ignoreMatch();return}if((w=A.match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},p={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",x=`\\.(${b})`,S="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${S})((${x})|\\.)?|(${x}))[eE][+-]?(${b})\\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:p,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},y={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,y,E,M,{match:/\$\d+/},R];O.contains=J.concat({begin:/\{/,end:/\}/,keywords:p,contains:["self"].concat(J)});const P=[].concat(B,O.contains),ue=P.concat([{begin:/\(/,end:/\)/,keywords:p,contains:["self"].concat(P)}]),Z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:ue},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"}}]},H={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 te(ne){return h.concat("(?!",ne.join("|"),")")}const ke={match:h.concat(/\b/,te([...r,"super","import"]),g,h.lookahead(/\(/)),className:"title.function",relevance:0},Te={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:p,exports:{PARAMS_CONTAINS:ue,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,E,M,B,{match:/\$\d+/},R,H,{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:p,contains:ue}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:_},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.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},Te,{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]},v={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},p=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],b={$pattern:t,keyword:e.concat(p),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+f},S=(O,D,y)=>{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,y)};Object.assign(h.keywords,b),h.exports.PARAMS_CONTAINS.push(x),h.contains=h.contains.concat([x,m,_]),S(h,"shebang",u.SHEBANG()),S(h,"use_strict",v);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 Fa=d,Fa}var Ba,Ah;function mSe(){if(Ah)return Ba;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:/>/}]}),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 Ba=t,Ba}var $a,Sh;function _Se(){if(Sh)return $a;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 $a=t,$a}var Le=I7e;Le.registerLanguage("xml",P7e());Le.registerLanguage("bash",F7e());Le.registerLanguage("c",B7e());Le.registerLanguage("cpp",$7e());Le.registerLanguage("csharp",z7e());Le.registerLanguage("css",j7e());Le.registerLanguage("markdown",U7e());Le.registerLanguage("diff",q7e());Le.registerLanguage("ruby",H7e());Le.registerLanguage("go",V7e());Le.registerLanguage("graphql",G7e());Le.registerLanguage("ini",K7e());Le.registerLanguage("java",W7e());Le.registerLanguage("javascript",Z7e());Le.registerLanguage("json",Y7e());Le.registerLanguage("kotlin",J7e());Le.registerLanguage("less",Q7e());Le.registerLanguage("lua",X7e());Le.registerLanguage("makefile",eSe());Le.registerLanguage("perl",tSe());Le.registerLanguage("objectivec",nSe());Le.registerLanguage("php",sSe());Le.registerLanguage("php-template",oSe());Le.registerLanguage("plaintext",rSe());Le.registerLanguage("python",iSe());Le.registerLanguage("python-repl",aSe());Le.registerLanguage("r",lSe());Le.registerLanguage("rust",cSe());Le.registerLanguage("scss",dSe());Le.registerLanguage("shell",uSe());Le.registerLanguage("sql",hSe());Le.registerLanguage("swift",fSe());Le.registerLanguage("yaml",pSe());Le.registerLanguage("typescript",gSe());Le.registerLanguage("vbnet",mSe());Le.registerLanguage("wasm",_Se());Le.HighlightJS=Le;Le.default=Le;var bSe=Le;const go=cs(bSe);var In={};In.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<t.length;g++){if(t.slice(g,g+n.rightDelimiter.length)===n.rightDelimiter){d!==""&&l.push([d,u]);break}const m=t.charAt(g);if(m===r&&h){h=!1;continue}if(m===i&&d===""){t.charAt(g+1)===i?(d="css-module",g+=1):d="class",h=!1;continue}if(m===a&&d===""){d="id",h=!1;continue}if(m==='"'&&u===""&&!f){f=!0;continue}if(m==='"'&&f){f=!1;continue}if(m===o&&!f){if(d==="")continue;l.push([d,u]),d="",u="",h=!0;continue}if(!(h&&m.search(s)===-1)){if(h){d+=m;continue}u+=m}}if(n.allowedAttributes&&n.allowedAttributes.length){const g=n.allowedAttributes;return l.filter(function(m){const _=m[0];function v(p){return _===p||p instanceof RegExp&&p.test(_)}return g.some(v)})}return l};In.addAttrs=function(t,e){for(let n=0,s=t.length;n<s;++n){const o=t[n][0];o==="class"?e.attrJoin("class",t[n][1]):o==="css-module"?e.attrJoin("css-module",t[n][1]):e.attrPush(t[n])}return e};In.hasDelimiters=function(t,e){if(!t)throw new Error('Parameter `where` not passed. Should be "start", "end" or "only".');return function(n){const s=e.leftDelimiter.length+1+e.rightDelimiter.length;if(!n||typeof n!="string"||n.length<s)return!1;function o(u){const h=u.charAt(e.leftDelimiter.length)===".",f=u.charAt(e.leftDelimiter.length)==="#";return h||f?u.length>=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))}};In.removeDelimiter=function(t,e){const n=ml(e.leftDelimiter),s=ml(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function ml(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}In.escapeRegExp=ml;In.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 ySe=/[&<>"]/,vSe=/[&<>"]/g,wSe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function xSe(t){return wSe[t]}In.escapeHtml=function(t){return ySe.test(t)?t.replace(vSe,xSe):t};const Ie=In;var kSe=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 ESe=kSe,CSe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var ASe=function(e,n){let s=Object.assign({},CSe);s=Object.assign(s,n);const o=ESe(s);function r(i){const a=i.tokens;for(let l=0;l<a.length;l++)for(let d=0;d<o.length;d++){const u=o[d];let h=null;u.tests.every(g=>{const m=_l(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 _l(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=MSe(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"&&SSe(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=>_l(d,u.position,u).match),a){const u=OSe(l).position;s.j=u>=0?u:d.length+u}}else for(let u=0;u<d.length;u++)if(a=l.every(h=>_l(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(TSe(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 SSe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function TSe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function MSe(t,e){return e>=0?t[e]:t[t.length+e]}function OSe(t){return t.slice(-1)[0]||{}}const RSe=cs(ASe);function NSe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const bl=new Ite("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=NSe();if(e&&go.getLanguage(e))try{const r=go.highlight(e,t).value;return'<div class="bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm">'+e+'<button class="px-2 py-1 ml-10 mb-2 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 text-white text-xs transition-colors duration-200"><span class="mr-1" id="copy-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copy</span><span class="hidden text-xs text-green-500" id="copyed-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copied!</span></button><button class="px-2 py-1 ml-10 mb-2 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 text-white text-xs transition-colors duration-200"><span class="mr-1" id="exec-btn_'+n+'" onclick="executeCode('+n+')">Execute</span></button><pre class="hljs p-1 rounded-md break-all grid grid-cols-1"><code id="code_'+n+'" class="overflow-x-auto break-all 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">'+r+'</code></pre><pre id="pre_exec_'+n+'" class="hljs p-1 hidden rounded-md break-all grid grid-cols-1 mt-2">Execution output:<br><code id="code_exec_'+n+'" class="overflow-x-auto break-all 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"></code></pre></div>'}catch(r){console.error(`Syntax highlighting failed for language '${e}':`,r)}let s=e=="python"?'<button class="px-2 py-1 ml-10 mb-2 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 text-white text-xs transition-colors duration-200"><span class="mr-1" id="exec-btn_'+n+'" onclick="executeCode('+n+')">Execute</span></button>':"";return'<div class="bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm">'+e+'<button class="px-2 py-1 ml-10 mb-2 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 text-white text-xs transition-colors duration-200"><span class="mr-1" id="copy-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copy</span><span class="hidden text-xs text-green-500" id="copyed-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copied!</span></button>'+s+'<pre class="hljs p-1 rounded-md break-all grid grid-cols-1"><code id="code_'+n+'" class="overflow-x-auto break-all 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">'+go.highlightAuto(t).value+'</code><code id="code_exec_'+n+'" class="overflow-x-auto mt-2 hidden break-all 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"></code></pre></div>'},bulletListMarker:"-"}).use(RSe).use(bs).use(UAe).use($Ae);go.configure({languages:[]});go.configure({languages:["javascript"]});bl.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 DSe={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) {
console.log("copied");
const codeElement = document.getElementById('code_' + id);
const copybtnElement = document.getElementById('copy-btn_' + id);
const copyedbtnElement = document.getElementById('copyed-btn_' + id);
copybtnElement.classList.add('hidden');
copyedbtnElement.classList.remove('hidden');
const range = document.createRange();
range.selectNode(codeElement);
window.getSelection().removeAllRanges();
window.getSelection().addRange(range);
document.execCommand('copy');
window.getSelection().removeAllRanges();
}
function executeCode(id) {
const codeElement = document.getElementById('code_' + id);
const codeExecElement = document.getElementById('code_exec_' + id);
const preExecElement = document.getElementById('pre_exec_' + id);
const code = codeElement.innerText
const json = JSON.stringify({ 'code': code })
console.log(json)
fetch('http://localhost:9600/execute_python_code', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: json
}).then(response=>{
// Parse the JSON data from the response body
return response.json();
})
.then(jsonData => {
// Now you can work with the JSON data
console.log(jsonData);
preExecElement.classList.remove('hidden');
codeExecElement.innerHTML = jsonData.output
})
.catch(error => {
// Handle any errors that occurred during the fetch process
console.error('Fetch error:', error);
});
}
`,t.async=!0,document.body.appendChild(t),this.markdownText?this.renderedMarkdown=bl.render(this.markdownText):this.renderedMarkdown="",be(()=>{ve.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=bl.render(t),be(()=>{ve.replace()})}}},LSe={class:"break-all"},ISe=["innerHTML"];function PSe(t,e,n,s,o,r){return k(),C("div",LSe,[c("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,ISe)])}const Bg=ze(DSe,[["render",PSe]]);const FSe={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)}}},BSe={class:"flex items-center space-x-2"},$Se=["value","type","placeholder"],zSe=["value","min","max"],jSe=c("i",{"data-feather":"clipboard"},null,-1),USe=[jSe],qSe=c("i",{"data-feather":"upload"},null,-1),HSe=[qSe],VSe=["accept"];function GSe(t,e,n,s,o,r){return k(),C("div",BSe,[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,zSe)):(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,$Se)),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"},USe),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"},HSe)):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,VSe)):I("",!0)])}const wc=ze(FSe,[["render",GSe]]);const KSe={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)}}},WSe={key:1,class:"flex flex-wrap"},ZSe={key:2,class:"mb-2"};function YSe(t,e,n,s,o,r){return k(),C(Oe,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:Ce(["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:Ce([{"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"])},U(n.title),3)):I("",!0),n.isHorizontal?(k(),C("div",WSe,[Cr(t.$slots,"default")])):(k(),C("div",ZSe,[Cr(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"},U(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 jo=ze(KSe,[["render",YSe]]);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=`
<div class="bg-white p-6 rounded-md shadow-md w-80">
<h2 class="text-lg font-semibold mb-3">${t}</h2>
<textarea id="replacementInput" class="w-full h-32 border rounded p-2 mb-3">${e}</textarea>
<div class="flex justify-end">
<button id="cancelButton" class="mr-2 px-4 py-2 border rounded">Cancel</button>
<button id="okButton" class="px-4 py-2 bg-blue-500 text-white rounded">OK</button>
</div>
</div>
`:r.innerHTML=`
<div class="bg-white p-6 rounded-md shadow-md w-80">
<h2 class="text-lg font-semibold mb-3">${t}</h2>
<select id="options_selector" class="form-control w-full h-25 border rounded p-2 mb-3">
${n.map(l=>`<option value="${l}">${l}</option>`)}
</select>
<div class="flex justify-end">
<button id="cancelButton" class="mr-2 px-4 py-2 border rounded">Cancel</button>
<button id="okButton" class="px-4 py-2 bg-blue-500 text-white rounded">OK</button>
</div>
</div>
`,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 JSe(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(([v,p])=>{console.log(`Key: ${v}, Value: ${p}`);function b(R){return R.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const x=b(v),S=new RegExp(x,"g");d=d.replace(S,p)});let h=d.split(":"),f=h[0],g=h[1]||"",m=[];h.length>2&&(m=h.slice(1));let _=await Mh(f,g,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(g){return g.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const h=u(l),f=new RegExp(h,"g");t=t.replace(f,d)}),e(t)})}const QSe={name:"PlayGroundView",data(){return{selecting_model:!1,tab_id:"source",generating:!1,isSpeaking:!1,voices:[],isLesteningToVoice:!1,presets:[],selectedPreset:"",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:Ys,MarkdownRenderer:Bg,ClipBoardTextInput:wc,Card:jo},mounted(){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:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}},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<this.text.length-2?setTimeout(()=>{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("@<generation_placeholder>@");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=JSe(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<t.results.length;e++)this.generated+=t.results[e][0].transcript;this.text=this.pre_text+this.generated+this.post_text,this.cursorPosition=this.pre_text.length+this.generated.length,clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{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.")}}},XSe={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"},eTe={class:"container flex flex-row m-2"},tTe={class:"flex-grow m-2"},nTe={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"},sTe=c("i",{"data-feather":"pen-tool"},null,-1),oTe=[sTe],rTe=c("i",{"data-feather":"archive"},null,-1),iTe=[rTe],aTe=c("span",{class:"w-80"},null,-1),lTe=c("i",{"data-feather":"x"},null,-1),cTe=[lTe],dTe=c("i",{"data-feather":"mic"},null,-1),uTe=[dTe],hTe=c("i",{"data-feather":"volume-2"},null,-1),fTe=[hTe],pTe=c("i",{"data-feather":"upload"},null,-1),gTe=[pTe],mTe=c("i",{"data-feather":"download"},null,-1),_Te=[mTe],bTe={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},yTe=c("input",{type:"file",id:"import-input",class:"hidden"},null,-1),vTe={key:0},wTe={key:1},xTe=["value"],kTe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},ETe=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),CTe=[ETe],ATe=["value"],STe=c("br",null,null,-1),TTe=c("i",{"data-feather":"check"},null,-1),MTe=[TTe],OTe=c("i",{"data-feather":"plus"},null,-1),RTe=[OTe],NTe=c("i",{"data-feather":"x"},null,-1),DTe=[NTe],LTe=c("i",{"data-feather":"refresh-ccw"},null,-1),ITe=[LTe],PTe={class:"slider-container ml-2 mr-2"},FTe=c("h3",{class:"text-gray-600"},"Temperature",-1),BTe={class:"slider-value text-gray-500"},$Te={class:"slider-container ml-2 mr-2"},zTe=c("h3",{class:"text-gray-600"},"Top K",-1),jTe={class:"slider-value text-gray-500"},UTe={class:"slider-container ml-2 mr-2"},qTe=c("h3",{class:"text-gray-600"},"Top P",-1),HTe={class:"slider-value text-gray-500"},VTe={class:"slider-container ml-2 mr-2"},GTe=c("h3",{class:"text-gray-600"},"Repeat Penalty",-1),KTe={class:"slider-value text-gray-500"},WTe={class:"slider-container ml-2 mr-2"},ZTe=c("h3",{class:"text-gray-600"},"Repeat Last N",-1),YTe={class:"slider-value text-gray-500"},JTe={class:"slider-container ml-2 mr-2"},QTe=c("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),XTe={class:"slider-value text-gray-500"},eMe={class:"slider-container ml-2 mr-2"},tMe=c("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),nMe={class:"slider-value text-gray-500"},sMe={class:"slider-container ml-2 mr-2"},oMe=c("h3",{class:"text-gray-600"},"Seed",-1),rMe={class:"slider-value text-gray-500"};function iMe(t,e,n,s,o,r){const i=Fe("MarkdownRenderer"),a=Fe("Card"),l=Fe("Toast");return k(),C(Oe,null,[c("div",XSe,[c("div",eTe,[c("div",tTe,[c("div",nTe,[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"},oTe,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"},iTe,512),[[Ye,!o.generating]]),aTe,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"},cTe,512),[[Ye,o.generating]]),c("button",{type:"button",onClick:e[3]||(e[3]=(...d)=>r.startSpeechRecognition&&r.startSpeechRecognition(...d)),class:Ce([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},uTe,2),c("button",{title:"speak",onClick:e[4]||(e[4]=de(d=>r.speak(),["stop"])),class:Ce([{"text-red-500":r.isTalking},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},fTe,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"},gTe,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"},_Te,512),[[Ye,!o.generating]]),c("div",bTe,[c("button",{class:Ce(["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:Ce(["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)]),yTe]),c("div",{class:Ce(["flex-grow m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4",{"border-red-500":o.generating}])},[o.tab_id==="source"?(k(),C("div",vTe,[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),[[Re,o.text]]),c("span",null,"Cursor position "+U(o.cursorPosition),1)])):I("",!0),o.tab_id==="render"?(k(),C("div",wTe,[ae(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)],2)]),ae(a,{title:"settings",class:"slider-container ml-0 mr-0 max-width",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ae(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=>r.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(Oe,null,Ve(r.models,d=>(k(),C("option",{key:d,value:d},U(d),9,xTe))),128))],544),[[an,r.selectedModel]]),o.selecting_model?(k(),C("div",kTe,CTe)):I("",!0)]),_:1}),ae(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(Oe,null,Ve(o.presets,d=>(k(),C("option",{key:d,value:d},U(d.name),9,ATe))),128))],512),[[an,o.selectedPreset]]),STe,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"},MTe),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"},RTe),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"},DTe),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"},ITe)]),_:1}),ae(a,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[c("div",PTe,[FTe,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),[[Re,o.temperature]]),c("span",BTe,"Current value: "+U(o.temperature),1)]),c("div",$Te,[zTe,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),[[Re,o.top_k]]),c("span",jTe,"Current value: "+U(o.top_k),1)]),c("div",UTe,[qTe,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),[[Re,o.top_p]]),c("span",HTe,"Current value: "+U(o.top_p),1)]),c("div",VTe,[GTe,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),[[Re,o.repeat_penalty]]),c("span",KTe,"Current value: "+U(o.repeat_penalty),1)]),c("div",WTe,[ZTe,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),[[Re,o.repeat_last_n]]),c("span",YTe,"Current value: "+U(o.repeat_last_n),1)]),c("div",JTe,[QTe,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),[[Re,o.n_crop]]),c("span",XTe,"Current value: "+U(o.n_crop),1)]),c("div",eMe,[tMe,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),[[Re,o.n_predicts]]),c("span",nMe,"Current value: "+U(o.n_predicts),1)]),c("div",sMe,[oMe,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),[[Re,o.seed]]),c("span",rMe,"Current value: "+U(o.seed),1)])]),_:1})]),_:1})])]),ae(l,{ref:"toast"},null,512)],64)}const aMe=ze(QSe,[["render",iMe]]);const lMe={data(){return{activeExtension:null}},computed:{activeExtensions(){return this.$store.state.extensionsZoo.filter(t=>t.is_active)}},methods:{showExtensionPage(t){this.activeExtension=t}}},cMe={key:0},dMe=["onClick"],uMe={key:0},hMe=["src"],fMe={key:1},pMe=c("p",null,"No extension is active. Please install and activate an extension.",-1),gMe=[pMe];function mMe(t,e,n,s,o,r){return k(),C("div",null,[r.activeExtensions.length>0?(k(),C("div",cMe,[(k(!0),C(Oe,null,Ve(r.activeExtensions,i=>(k(),C("div",{key:i.name,onClick:a=>r.showExtensionPage(i)},[c("div",{class:Ce({"active-tab":i===o.activeExtension})},U(i.name),3)],8,dMe))),128)),o.activeExtension?(k(),C("div",uMe,[c("iframe",{src:o.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,hMe)])):I("",!0)])):(k(),C("div",fMe,gMe))])}const _Me=ze(lMe,[["render",mMe]]);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()})(Fp,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},o=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,i={},a=0,l={parse:function(y,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=(ue=s.URL||s.webkitURL||null,Z=n.toString(),l.BLOB_URL||(l.BLOB_URL=ue.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),ue,Z;return P.onmessage=b,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:y,config:E,workerId:L.id})}var B=null;return l.NODE_STREAM_INPUT,typeof y=="string"?(y=function(J){return J.charCodeAt(0)===65279?J.slice(1):J}(y),B=E.download?new h(E):new g(E)):y.readable===!0&&D(y.read)&&D(y.on)?B=new m(E):(s.File&&y instanceof File||y instanceof Object)&&(B=new f(E)),B.stream(y)},unparse:function(y,E){var M=!1,L=!0,B=",",J=`\r
`,P='"',ue=P+P,Z=!1,T=null,H=!1;(function(){if(typeof E=="object"){if(typeof E.delimiter!="string"||l.BAD_DELIMITERS.filter(function(te){return E.delimiter.indexOf(te)!==-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&&(ue=E.escapeChar+P),(typeof E.escapeFormulae=="boolean"||E.escapeFormulae instanceof RegExp)&&(H=E.escapeFormulae instanceof RegExp?E.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var G=new RegExp(v(P),"g");if(typeof y=="string"&&(y=JSON.parse(y)),Array.isArray(y)){if(!y.length||Array.isArray(y[0]))return we(null,y,Z);if(typeof y[0]=="object")return we(T||Object.keys(y[0]),y,Z)}else if(typeof y=="object")return typeof y.data=="string"&&(y.data=JSON.parse(y.data)),Array.isArray(y.data)&&(y.fields||(y.fields=y.meta&&y.meta.fields||T),y.fields||(y.fields=Array.isArray(y.data[0])?y.fields:typeof y.data[0]=="object"?Object.keys(y.data[0]):[]),Array.isArray(y.data[0])||typeof y.data[0]=="object"||(y.data=[y.data])),we(y.fields||[],y.data||[],Z);throw new Error("Unable to serialize unrecognized input");function we(te,ke,Te){var N="";typeof te=="string"&&(te=JSON.parse(te)),typeof ke=="string"&&(ke=JSON.parse(ke));var Q=Array.isArray(te)&&0<te.length,V=!Array.isArray(ke[0]);if(Q&&L){for(var ne=0;ne<te.length;ne++)0<ne&&(N+=B),N+=_e(te[ne],ne);0<ke.length&&(N+=J)}for(var X=0;X<ke.length;X++){var ge=Q?te.length:ke[X].length,he=!1,w=Q?Object.keys(ke[X]).length===0:ke[X].length===0;if(Te&&!Q&&(he=Te==="greedy"?ke[X].join("").trim()==="":ke[X].length===1&&ke[X][0].length===0),Te==="greedy"&&Q){for(var A=[],F=0;F<ge;F++){var $=V?te[F]:F;A.push(ke[X][$])}he=A.join("").trim()===""}if(!he){for(var z=0;z<ge;z++){0<z&&!w&&(N+=B);var oe=Q&&V?te[z]:z;N+=_e(ke[X][oe],z)}X<ke.length-1&&(!Te||0<ge&&!w)&&(N+=J)}}return N}function _e(te,ke){if(te==null)return"";if(te.constructor===Date)return JSON.stringify(te).slice(1,25);var Te=!1;H&&typeof te=="string"&&H.test(te)&&(te="'"+te,Te=!0);var N=te.toString().replace(G,ue);return(Te=Te||M===!0||typeof M=="function"&&M(te,ke)||Array.isArray(M)&&M[ke]||function(Q,V){for(var ne=0;ne<V.length;ne++)if(-1<Q.indexOf(V[ne]))return!0;return!1}(N,l.BAD_DELIMITERS)||-1<N.indexOf(B)||N.charAt(0)===" "||N.charAt(N.length-1)===" ")?P+N+P:N}}};if(l.RECORD_SEP=String.fromCharCode(30),l.UNIT_SEP=String.fromCharCode(31),l.BYTE_ORDER_MARK="\uFEFF",l.BAD_DELIMITERS=["\r",`
`,'"',l.BYTE_ORDER_MARK],l.WORKERS_SUPPORTED=!o&&!!s.Worker,l.NODE_STREAM_INPUT=1,l.LocalChunkSize=10485760,l.RemoteChunkSize=5242880,l.DefaultDelimiter=",",l.Parser=p,l.ParserHandle=_,l.NetworkStreamer=h,l.FileStreamer=f,l.StringStreamer=g,l.ReadableStreamStreamer=m,s.jQuery){var d=s.jQuery;d.fn.parse=function(y){var E=y.config||{},M=[];return this.each(function(J){if(!(d(this).prop("tagName").toUpperCase()==="INPUT"&&d(this).attr("type").toLowerCase()==="file"&&s.FileReader)||!this.files||this.files.length===0)return!0;for(var P=0;P<this.files.length;P++)M.push({file:this.files[P],inputElem:this,instanceConfig:d.extend({},E)})}),L(),this;function L(){if(M.length!==0){var J,P,ue,Z,T=M[0];if(D(y.before)){var H=y.before(T.file,T.inputElem);if(typeof H=="object"){if(H.action==="abort")return J="AbortError",P=T.file,ue=T.inputElem,Z=H.reason,void(D(y.error)&&y.error({name:J},P,ue,Z));if(H.action==="skip")return void B();typeof H.config=="object"&&(T.instanceConfig=d.extend(T.instanceConfig,H.config))}else if(H==="skip")return void B()}var G=T.instanceConfig.complete;T.instanceConfig.complete=function(we){D(G)&&G(we,T.file,T.inputElem),B()},l.parse(T.file,T.instanceConfig)}else D(y.complete)&&y.complete()}function B(){M.splice(0,1),L()}}}function u(y){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(E){var M=R(E);M.chunkSize=parseInt(M.chunkSize),E.step||E.chunk||(M.chunkSize=null),this._handle=new _(M),(this._handle.streamer=this)._config=M}.call(this,y),this.parseChunk=function(E,M){if(this.isFirstChunk&&D(this._config.beforeFirstChunk)){var L=this._config.beforeFirstChunk(E);L!==void 0&&(E=L)}this.isFirstChunk=!1,this._halted=!1;var B=this._partialLine+E;this._partialLine="";var J=this._handle.parse(B,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var P=J.meta.cursor;this._finished||(this._partialLine=B.substring(P-this._baseIndex),this._baseIndex=P),J&&J.data&&(this._rowCount+=J.data.length);var ue=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)s.postMessage({results:J,workerId:l.WORKER_ID,finished:ue});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||!ue||!D(this._config.complete)||J&&J.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ue||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(y){var E;(y=y||{}).chunkSize||(y.chunkSize=l.RemoteChunkSize),u.call(this,y),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(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(y){var E,M;(y=y||{}).chunkSize||(y.chunkSize=l.LocalChunkSize),u.call(this,y);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._config.preview)||this._readChunk()},this._readChunk=function(){var B=this._input;if(this._config.chunkSize){var J=Math.min(this._start+this._config.chunkSize,this._input.size);B=M.call(B,this._start,J)}var P=E.readAsText(B,this._config.encoding);L||this._chunkLoaded({target:{result:P}})},this._chunkLoaded=function(B){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(B.target.result)},this._chunkError=function(){this._sendError(E.error)}}function g(y){var E;u.call(this,y=y||{}),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(y){u.call(this,y=y||{});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 _(y){var E,M,L,B=Math.pow(2,53),J=-B,P=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ue=/^((\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,H=0,G=!1,we=!1,_e=[],te={data:[],errors:[],meta:{}};if(D(y.step)){var ke=y.step;y.step=function(X){if(te=X,Q())N();else{if(N(),te.data.length===0)return;T+=X.data.length,y.preview&&T>y.preview?M.abort():(te.data=te.data[0],ke(te,Z))}}}function Te(X){return y.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function N(){return te&&L&&(ne("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),L=!1),y.skipEmptyLines&&(te.data=te.data.filter(function(X){return!Te(X)})),Q()&&function(){if(!te)return;function X(he,w){D(y.transformHeader)&&(he=y.transformHeader(he,w)),_e.push(he)}if(Array.isArray(te.data[0])){for(var ge=0;Q()&&ge<te.data.length;ge++)te.data[ge].forEach(X);te.data.splice(0,1)}else te.data.forEach(X)}(),function(){if(!te||!y.header&&!y.dynamicTyping&&!y.transform)return te;function X(he,w){var A,F=y.header?{}:[];for(A=0;A<he.length;A++){var $=A,z=he[A];y.header&&($=A>=_e.length?"__parsed_extra":_e[A]),y.transform&&(z=y.transform(z,$)),z=V($,z),$==="__parsed_extra"?(F[$]=F[$]||[],F[$].push(z)):F[$]=z}return y.header&&(A>_e.length?ne("FieldMismatch","TooManyFields","Too many fields: expected "+_e.length+" fields but parsed "+A,H+w):A<_e.length&&ne("FieldMismatch","TooFewFields","Too few fields: expected "+_e.length+" fields but parsed "+A,H+w)),F}var ge=1;return!te.data.length||Array.isArray(te.data[0])?(te.data=te.data.map(X),ge=te.data.length):te.data=X(te.data,0),y.header&&te.meta&&(te.meta.fields=_e),H+=ge,te}()}function Q(){return y.header&&_e.length===0}function V(X,ge){return he=X,y.dynamicTypingFunction&&y.dynamicTyping[he]===void 0&&(y.dynamicTyping[he]=y.dynamicTypingFunction(he)),(y.dynamicTyping[he]||y.dynamicTyping)===!0?ge==="true"||ge==="TRUE"||ge!=="false"&&ge!=="FALSE"&&(function(w){if(P.test(w)){var A=parseFloat(w);if(J<A&&A<B)return!0}return!1}(ge)?parseFloat(ge):ue.test(ge)?new Date(ge):ge===""?null:ge):ge;var he}function ne(X,ge,he,w){var A={type:X,code:ge,message:he};w!==void 0&&(A.row=w),te.errors.push(A)}this.parse=function(X,ge,he){var w=y.quoteChar||'"';if(y.newline||(y.newline=function($,z){$=$.substring(0,1048576);var oe=new RegExp(v(z)+"([^]*?)"+v(z),"gm"),le=($=$.replace(oe,"")).split("\r"),j=$.split(`
`),re=1<j.length&&j[0].length<le[0].length;if(le.length===1||re)return`
`;for(var q=0,Y=0;Y<le.length;Y++)le[Y][0]===`
`&&q++;return q>=le.length/2?`\r
`:"\r"}(X,w)),L=!1,y.delimiter)D(y.delimiter)&&(y.delimiter=y.delimiter(X),te.meta.delimiter=y.delimiter);else{var A=function($,z,oe,le,j){var re,q,Y,ce;j=j||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var pe=0;pe<j.length;pe++){var fe=j[pe],Ae=0,W=0,ie=0;Y=void 0;for(var me=new p({comments:le,delimiter:fe,newline:z,preview:10}).parse($),Me=0;Me<me.data.length;Me++)if(oe&&Te(me.data[Me]))ie++;else{var $e=me.data[Me].length;W+=$e,Y!==void 0?0<$e&&(Ae+=Math.abs($e-Y),Y=$e):Y=$e}0<me.data.length&&(W/=me.data.length-ie),(q===void 0||Ae<=q)&&(ce===void 0||ce<W)&&1.99<W&&(q=Ae,re=fe,ce=W)}return{successful:!!(y.delimiter=re),bestDelimiter:re}}(X,y.newline,y.skipEmptyLines,y.comments,y.delimitersToGuess);A.successful?y.delimiter=A.bestDelimiter:(L=!0,y.delimiter=l.DefaultDelimiter),te.meta.delimiter=y.delimiter}var F=R(y);return y.preview&&y.header&&F.preview++,E=X,M=new p(F),te=M.parse(E,ge,he),N(),G?{meta:{paused:!0}}:te||{meta:{paused:!1}}},this.paused=function(){return G},this.pause=function(){G=!0,M.abort(),E=D(y.chunk)?"":E.substring(M.getCharIndex())},this.resume=function(){Z.streamer._halted?(G=!1,Z.streamer.parseChunk(E,!0)):setTimeout(Z.resume,3)},this.aborted=function(){return we},this.abort=function(){we=!0,M.abort(),te.meta.aborted=!0,D(y.complete)&&y.complete(te),E=""}}function v(y){return y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(y){var E,M=(y=y||{}).delimiter,L=y.newline,B=y.comments,J=y.step,P=y.preview,ue=y.fastMode,Z=E=y.quoteChar===void 0||y.quoteChar===null?'"':y.quoteChar;if(y.escapeChar!==void 0&&(Z=y.escapeChar),(typeof M!="string"||-1<l.BAD_DELIMITERS.indexOf(M))&&(M=","),B===M)throw new Error("Comment character same as delimiter");B===!0?B="#":(typeof B!="string"||-1<l.BAD_DELIMITERS.indexOf(B))&&(B=!1),L!==`
`&&L!=="\r"&&L!==`\r
`&&(L=`
`);var T=0,H=!1;this.parse=function(G,we,_e){if(typeof G!="string")throw new Error("Input must be a string");var te=G.length,ke=M.length,Te=L.length,N=B.length,Q=D(J),V=[],ne=[],X=[],ge=T=0;if(!G)return We();if(y.header&&!we){var he=G.split(L)[0].split(M),w=[],A={},F=!1;for(var $ in he){var z=he[$];D(y.transformHeader)&&(z=y.transformHeader(z,$));var oe=z,le=A[z]||0;for(0<le&&(F=!0,oe=z+"_"+le),A[z]=le+1;w.includes(oe);)oe=oe+"_"+le;w.push(oe)}if(F){var j=G.split(L);j[0]=w.join(M),G=j.join(L)}}if(ue||ue!==!1&&G.indexOf(E)===-1){for(var re=G.split(L),q=0;q<re.length;q++){if(X=re[q],T+=X.length,q!==re.length-1)T+=L.length;else if(_e)return We();if(!B||X.substring(0,N)!==B){if(Q){if(V=[],ie(X.split(M)),Pe(),H)return We()}else ie(X.split(M));if(P&&P<=q)return V=V.slice(0,P),We(!0)}}return We()}for(var Y=G.indexOf(M,T),ce=G.indexOf(L,T),pe=new RegExp(v(Z)+v(E),"g"),fe=G.indexOf(E,T);;)if(G[T]!==E)if(B&&X.length===0&&G.substring(T,T+N)===B){if(ce===-1)return We();T=ce+Te,ce=G.indexOf(L,T),Y=G.indexOf(M,T)}else if(Y!==-1&&(Y<ce||ce===-1))X.push(G.substring(T,Y)),T=Y+ke,Y=G.indexOf(M,T);else{if(ce===-1)break;if(X.push(G.substring(T,ce)),$e(ce+Te),Q&&(Pe(),H))return We();if(P&&V.length>=P)return We(!0)}else for(fe=T,T++;;){if((fe=G.indexOf(E,fe+1))===-1)return _e||ne.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:V.length,index:T}),Me();if(fe===te-1)return Me(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<fe+1&&(Y=G.indexOf(M,fe+1)),ce!==-1&&ce<fe+1&&(ce=G.indexOf(L,fe+1));var Ae=me(ce===-1?Y:Math.min(Y,ce));if(G.substr(fe+1+Ae,ke)===M){X.push(G.substring(T,fe).replace(pe,E)),G[T=fe+1+Ae+ke]!==E&&(fe=G.indexOf(E,T)),Y=G.indexOf(M,T),ce=G.indexOf(L,T);break}var W=me(ce);if(G.substring(fe+1+W,fe+1+W+Te)===L){if(X.push(G.substring(T,fe).replace(pe,E)),$e(fe+1+W+Te),Y=G.indexOf(M,T),fe=G.indexOf(E,T),Q&&(Pe(),H))return We();if(P&&V.length>=P)return We(!0);break}ne.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:V.length,index:T}),fe++}}else fe++}return Me();function ie(tt){V.push(tt),ge=T}function me(tt){var ot=0;if(tt!==-1){var ct=G.substring(fe+1,tt);ct&&ct.trim()===""&&(ot=ct.length)}return ot}function Me(tt){return _e||(tt===void 0&&(tt=G.substring(T)),X.push(tt),T=te,ie(X),Q&&Pe()),We()}function $e(tt){T=tt,ie(X),X=[],ce=G.indexOf(L,T)}function We(tt){return{data:V,errors:ne,meta:{delimiter:M,linebreak:L,aborted:H,truncated:!!tt,cursor:ge+(we||0)}}}function Pe(){J(We()),V=[],ne=[]}},this.abort=function(){H=!0},this.getCharIndex=function(){return T}}function b(y){var E=y.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<E.results.data.length&&(M.userStep({data:E.results.data[J],errors:E.results.errors,meta:E.results.meta},B),!L);J++);delete E.results}else D(M.userChunk)&&(M.userChunk(E.results,B,E.file),delete E.results)}E.finished&&!L&&x(E.workerId,E.results)}function x(y,E){var M=i[y];D(M.userComplete)&&M.userComplete(E),M.terminate(),delete i[y]}function S(){throw new Error("Not implemented.")}function R(y){if(typeof y!="object"||y===null)return y;var E=Array.isArray(y)?[]:{};for(var M in y)E[M]=R(y[M]);return E}function O(y,E){return function(){y.apply(E,arguments)}}function D(y){return typeof y=="function"}return r&&(s.onmessage=function(y){var E=y.data;if(l.WORKER_ID===void 0&&E&&(l.WORKER_ID=E.workerId),typeof E.input=="string")s.postMessage({workerId:l.WORKER_ID,results:l.parse(E.input,E.config),finished:!0});else if(s.File&&E.input instanceof File||E.input instanceof Object){var M=l.parse(E.input,E.config);M&&s.postMessage({workerId:l.WORKER_ID,results:M,finished:!0})}}),(h.prototype=Object.create(u.prototype)).constructor=h,(f.prototype=Object.create(u.prototype)).constructor=f,(g.prototype=Object.create(g.prototype)).constructor=g,(m.prototype=Object.create(u.prototype)).constructor=m,l})})($g);var bMe=$g.exports;const yMe=cs(bMe);const vMe={components:{Card:jo},name:"HelpPage",data(){return{lollmsVersion:"unknown",faqs:[],githubLink:"https://github.com/ParisNeo/lollms-webui"}},mounted(){this.loadFAQs()},computed:{version:{get(){return this.$store.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}=yMe.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,"<br>")}}},mn=t=>(is("data-v-c8c43118"),t=t(),as(),t),wMe={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},xMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),kMe={class:"mb-4"},EMe=mn(()=>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)),CMe=mn(()=>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=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Contact Us",-1)),OMe=mn(()=>c("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me.",-1)),RMe=mn(()=>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)),NMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Credits",-1)),DMe=mn(()=>c("p",{class:"mb-4"},[xe("This project is developed by "),c("span",{class:"font-bold"},"ParisNeo"),xe(" With help from the community.")],-1)),LMe=mn(()=>c("p",{class:"mb-4"},[c("span",{class:"font-bold"},[c("a",{href:"https://github.com/ParisNeo/lollms-webui/graphs/contributors"},"Check out the full list of developers here and show them some love.")])],-1)),IMe=["href"];function PMe(t,e,n,s,o,r){const i=Fe("Card");return k(),C("div",wMe,[ae(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[xMe,c("p",kMe," Lollms version "+U(r.version),1),EMe]),_:1}),ae(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[CMe,c("ul",AMe,[(k(!0),C(Oe,null,Ve(o.faqs,(a,l)=>(k(),C("li",{key:l},[c("h3",SMe,U(a.question),1),c("p",{class:"mb-4",innerHTML:r.parseMultiline(a.answer)},null,8,TMe)]))),128))])]),_:1}),ae(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[MMe,OMe,RMe]),_:1}),ae(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[NMe,DMe,LMe,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,IMe),xe(".")])]),_:1})])}const FMe=ze(vMe,[["render",PMe],["__scopeId","data-v-c8c43118"]]);function Gt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)<s)return t+" B";const o=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let r=-1;const i=10**n;do t/=s,++r;while(Math.round(Math.abs(t)*i)/i>=s&&r<o.length-1);return t.toFixed(n)+" "+o[r]}const BMe={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},$Me={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},zMe={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},jMe={class:"text-lg font-medium"},UMe={class:"mt-4 flex justify-center"};function qMe(t,e,n,s,o,r){return o.show?(k(),C("div",$Me,[c("div",zMe,[c("h3",jMe,U(o.message),1),c("div",UMe,[c("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):I("",!0)}const zg=ze(BMe,[["render",qMe]]),HMe={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})}}},VMe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},GMe={class:"relative w-full max-w-md max-h-full"},KMe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},WMe=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),ZMe=c("span",{class:"sr-only"},"Close modal",-1),YMe=[WMe,ZMe],JMe={class:"p-4 text-center"},QMe=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),XMe={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function eOe(t,e,n,s,o,r){return o.show?(k(),C("div",VMe,[c("div",GMe,[c("div",KMe,[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"},YMe),c("div",JMe,[QMe,c("h3",XMe,U(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"},U(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"},U(o.DenyButtonText),1)])])])])):I("",!0)}const tOe=ze(HMe,[["render",eOe]]),mo="/assets/default_model-9e24e852.png";const nOe={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"}},sOe={class:"menu-container"},oOe=["title"],rOe=["src"],iOe=["data-feather"],aOe={key:2,class:"w-5 h-5"},lOe={key:3,"data-feather":"menu"},cOe={class:"flex-grow menu-ul"},dOe=["onClick"],uOe={key:0,"data-feather":"check"},hOe=["src","alt"],fOe=["data-feather"],pOe={key:3,class:"menu-icon"};function gOe(t,e,n,s,o,r){return k(),C("div",sOe,[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 flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 w-8 h-8 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,rOe)):n.icon&&n.icon.includes("feather")?(k(),C("i",{key:1,"data-feather":n.icon.split(":")[1],class:"w-5 h-5"},null,8,iOe)):n.icon&&n.icon.includes("#")?(k(),C("p",aOe,U(n.icon.split("#")[1]),1)):(k(),C("i",lOe))],8,oOe),ae(Os,{name:"slide"},{default:Ne(()=>[o.isMenuOpen?(k(),C("div",{key:0,class:"menu-list flex-grow",style:yt(o.menuPosition),ref:"menu"},[c("ul",cOe,[(k(!0),C(Oe,null,Ve(n.commands,(i,a)=>(k(),C("li",{key:a,onClick:de(l=>r.executeCommand(i),["prevent"]),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[n.selected_entry==i.name?(k(),C("i",uOe)):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,hOe)):I("",!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,fOe)):(k(),C("span",pOe)),c("span",null,U(i.name),1)],8,dOe))),128))])],4)):I("",!0)]),_:1})])}const xi=ze(nOe,[["render",gOe]]),mOe={components:{InteractiveMenu:xi},props:{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)},getImgUrl(){return this.model.icon==null||this.model.icon==="/images/default_model.png"?mo:this.model.icon},defaultImg(t){t.target.src=mo},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(t=!1){this.onSelected(this,t)},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:{computed_classes(){return this.model.isInstalled?this.selected?"border-4 border-gray-200 bg-primary":"border-0 border-primary bg-primary":"border-transparent"},commandsList(){let t=[{name:this.model.isInstalled?"Uninstall":"Install",icon:"feather:settings",is_file:!1,value:this.toggleInstall},{name:"Copy model info to clipboard",icon:"feather:settings",is_file:!1,value:this.toggleCopy}];return this.selected&&t.push({name:"Reload",icon:"feather:refresh-ccw",is_file:!1,value:this.toggleSelected}),t},selected_computed(){return this.selected},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()})}}},_Oe=["title"],bOe={key:0,class:"flex flex-row"},yOe={class:"max-w-[300px] overflow-x-auto"},vOe={class:"flex gap-3 items-center grow"},wOe=["href"],xOe=["src"],kOe={class:"flex-1 overflow-hidden"},EOe={class:"font-bold font-large text-lg truncate"},COe={key:1,class:"flex items-center flex-row gap-2 my-1"},AOe={class:"flex grow items-center"},SOe=c("i",{"data-feather":"box",class:"w-5"},null,-1),TOe=c("span",{class:"sr-only"},"Custom model / local model",-1),MOe=[SOe,TOe],OOe=c("span",{class:"sr-only"},"Select",-1),ROe=c("span",{class:"sr-only"},"Remove",-1),NOe={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"},DOe={class:"relative flex flex-col items-center justify-center flex-grow h-full"},LOe=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),IOe={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},POe={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},FOe={class:"flex justify-between mb-1"},BOe=c("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),$Oe={class:"text-sm font-medium text-blue-700 dark:text-white"},zOe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},jOe={class:"flex justify-between mb-1"},UOe={class:"text-base font-medium text-blue-700 dark:text-white"},qOe={class:"text-sm font-medium text-blue-700 dark:text-white"},HOe={class:"flex flex-grow"},VOe={class:"flex flex-row flex-grow gap-3"},GOe={class:"p-2 text-center grow"},KOe={key:3},WOe={class:"flex flex-row items-center gap-3"},ZOe=["src"],YOe={class:"font-bold font-large text-lg truncate"},JOe=c("div",{class:"grow"},null,-1),QOe=c("span",{class:"sr-only"},"Select",-1),XOe={class:"flex items-center flex-row-reverse gap-2 my-1"},eRe={class:"flex flex-row items-center"},tRe={key:0,class:"text-base text-red-600 flex items-center mt-1"},nRe=c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),sRe=["title"],oRe={class:""},rRe={class:"flex flex-row items-center"},iRe=c("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),aRe=c("b",null,"Card: ",-1),lRe=["href","title"],cRe=c("div",{class:"grow"},null,-1),dRe=c("i",{"data-feather":"clipboard",class:"w-5"},null,-1),uRe=[dRe],hRe={class:"flex items-center"},fRe=c("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),pRe=c("b",null,"File size: ",-1),gRe={class:"flex items-center"},mRe=c("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),_Re=c("b",null,"License: ",-1),bRe={class:"flex items-center"},yRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),vRe=c("b",null,"quantizer: ",-1),wRe=["href"],xRe={class:"flex items-center"},kRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),ERe=c("b",null,"Model creator: ",-1),CRe=["href"],ARe={class:"flex items-center"},SRe=c("i",{"data-feather":"clock",class:"w-5 m-1"},null,-1),TRe=c("b",null,"Release date: ",-1),MRe={class:"flex items-center"},ORe=c("i",{"data-feather":"grid",class:"w-5 m-1"},null,-1),RRe=c("b",null,"Category: ",-1),NRe=["href"],DRe={class:"flex items-center"},LRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),IRe=c("b",null,"Hugging face rank: ",-1);function PRe(t,e,n,s,o,r){const i=Fe("InteractiveMenu");return k(),C("div",{class:Ce(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",r.computed_classes]),title:n.model.name},[n.model.isCustomModel?(k(),C("div",bOe,[c("div",yOe,[c("div",vOe,[c("a",{href:n.model.model_creator_link,target:"_blank"},[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-lg object-fill"},null,40,xOe)],8,wOe),c("div",kOe,[c("h3",EOe,U(n.model.name),1)])])])])):I("",!0),n.model.isCustomModel?(k(),C("div",COe,[c("div",AOe,[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"]))},MOe),xe(" Custom model ")]),n.model.isInstalled?(k(),C("button",{key:0,type:"button",title:"Select",onClick:[e[2]||(e[2]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),e[3]||(e[3]=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"},[c("i",{"data-feather":"check",class:Ce(n.selected?"border-2 border-blue-300 rounded bg-green-300 w-5":"border-2 border-blue-300 rounded bg-gray-100 w-5")},null,2),OOe])):I("",!0),c("div",null,[n.model.isInstalled?(k(),C("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[4]||(e[4]=de((...a)=>r.toggleInstall&&r.toggleInstall(...a),["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 "),ROe])):I("",!0)])])):I("",!0),o.installing?(k(),C("div",NOe,[c("div",DOe,[LOe,c("div",IOe,[c("div",POe,[c("div",FOe,[BOe,c("span",$Oe,U(Math.floor(o.progress))+"%",1)]),c("div",zOe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.progress+"%"})},null,4)]),c("div",jOe,[c("span",UOe,"Download speed: "+U(r.speed_computed)+"/s",1),c("span",qOe,U(r.downloaded_size_computed)+"/"+U(r.total_size_computed),1)])])]),c("div",HOe,[c("div",VOe,[c("div",GOe,[c("button",{onClick:e[5]||(e[5]=de((...a)=>r.toggleCancelInstall&&r.toggleCancelInstall(...a),["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",KOe,[c("div",WOe,[c("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[6]||(e[6]=a=>r.defaultImg(a)),class:Ce(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,ZOe),c("h3",YOe,U(n.model.name),1),JOe,n.model.isInstalled?(k(),C("button",{key:0,type:"button",title:"Select",onClick:[e[7]||(e[7]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),e[8]||(e[8]=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"},[c("i",{"data-feather":"check",class:Ce(n.selected?"border-2 border-blue-300 rounded bg-green-300 w-5":"border-2 border-blue-300 rounded bg-gray-100 w-5")},null,2),QOe])):I("",!0),ae(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),c("div",XOe,[c("div",eRe,[o.linkNotValid?(k(),C("div",tRe,[nRe,xe(" Link is not valid ")])):I("",!0)])]),c("div",{class:"",title:n.model.isInstalled?n.model.name:"Not installed"},[c("div",oRe,[c("div",rRe,[iRe,aRe,c("a",{href:"https://huggingface.co/"+n.model.quantizer+"/"+n.model.name,target:"_blank",onClick:e[9]||(e[9]=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/<current binding> folder then refresh"}," View full model card ",8,lRe),cRe,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[10]||(e[10]=de(a=>r.toggleCopyLink(),["stop"]))},uRe)]),c("div",hRe,[c("div",{class:Ce(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[fRe,pRe,xe(" "+U(r.fileSize),1)],2)]),c("div",gRe,[mRe,_Re,xe(" "+U(n.model.license),1)]),c("div",bRe,[yRe,vRe,c("a",{href:"https://huggingface.co/"+n.model.quantizer,target:"_blank",rel:"noopener noreferrer",onClick:e[11]||(e[11]=de(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},U(n.model.quantizer),9,wRe)]),c("div",xRe,[kRe,ERe,c("a",{href:n.model.model_creator_link,target:"_blank",rel:"noopener noreferrer",onClick:e[12]||(e[12]=de(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},U(n.model.model_creator),9,CRe)]),c("div",ARe,[SRe,TRe,xe(" "+U(n.model.last_commit_time),1)]),c("div",MRe,[ORe,RRe,c("a",{href:"https://huggingface.co/"+n.model.model_creator,target:"_blank",rel:"noopener noreferrer",onClick:e[13]||(e[13]=de(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},U(n.model.category),9,NRe)]),c("div",DRe,[LRe,IRe,c("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",rel:"noopener noreferrer",onClick:e[14]||(e[14]=de(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},U(n.model.rank),1)])])],8,sRe)]))],10,_Oe)}const FRe=ze(mOe,[["render",PRe]]),BRe={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}}},$Re={class:"p-4"},zRe={class:"flex items-center mb-4"},jRe=["src"],URe={class:"text-lg font-semibold"},qRe=c("strong",null,"Author:",-1),HRe=c("strong",null,"Description:",-1),VRe=c("strong",null,"Category:",-1),GRe={key:0},KRe=c("strong",null,"Disclaimer:",-1),WRe=c("strong",null,"Conditioning Text:",-1),ZRe=c("strong",null,"AI Prefix:",-1),YRe=c("strong",null,"User Prefix:",-1),JRe=c("strong",null,"Antiprompts:",-1);function QRe(t,e,n,s,o,r){return k(),C("div",$Re,[c("div",zRe,[c("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,jRe),c("h2",URe,U(o.personalityName),1)]),c("p",null,[qRe,xe(" "+U(o.personalityAuthor),1)]),c("p",null,[HRe,xe(" "+U(o.personalityDescription),1)]),c("p",null,[VRe,xe(" "+U(o.personalityCategory),1)]),o.disclaimer?(k(),C("p",GRe,[KRe,xe(" "+U(o.disclaimer),1)])):I("",!0),c("p",null,[WRe,xe(" "+U(o.conditioningText),1)]),c("p",null,[ZRe,xe(" "+U(o.aiPrefix),1)]),c("p",null,[YRe,xe(" "+U(o.userPrefix),1)]),c("div",null,[JRe,c("ul",null,[(k(!0),C(Oe,null,Ve(o.antipromptsList,i=>(k(),C("li",{key:i.id},U(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 XRe=ze(BRe,[["render",QRe]]),ss="/assets/logo-9d653710.svg",eNe="/",tNe={props:{personality:{},selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMounted:Function,onRemount:Function,onReinstall:Function,onSettings:Function},components:{InteractiveMenu:xi},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.personality.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 eNe+this.personality.avatar},defaultImg(t){t.target.src=ss},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()})}}},nNe=["title"],sNe={class:"flex flex-row items-center flex-shrink-0 gap-3"},oNe=["src"],rNe=c("span",{class:"sr-only"},"Select",-1),iNe=c("i",{"data-feather":"send",class:"w-5"},null,-1),aNe=c("span",{class:"sr-only"},"Talk",-1),lNe=[iNe,aNe],cNe={class:""},dNe={class:""},uNe={class:"flex items-center"},hNe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),fNe=c("b",null,"Author: ",-1),pNe={key:0,class:"flex items-center"},gNe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),mNe=c("b",null,"Languages: ",-1),_Ne=["selected"],bNe={class:"flex items-center"},yNe=c("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),vNe=c("b",null,"Category: ",-1),wNe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),xNe=["title"];function kNe(t,e,n,s,o,r){const i=Fe("InteractiveMenu");return k(),C("div",{class:Ce(["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:Ce(n.personality.installed?"":"opacity-50")},[c("div",sNe,[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,oNe),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"},U(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"},[c("i",{"data-feather":"check",class:Ce(n.selected?"border-2 border-blue-300 rounded bg-green-300 w-5":"border-2 border-blue-300 rounded bg-gray-100 w-5")},null,2),rNe])):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"},lNe)):I("",!0),ae(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),c("div",cNe,[c("div",dNe,[c("div",uNe,[hNe,fNe,xe(" "+U(n.personality.author),1)]),n.personality.languages?(k(),C("div",pNe,[gNe,mNe,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(Oe,null,Ve(n.personality.languages,(a,l)=>(k(),C("option",{key:l,selected:a==n.personality.languages[0]},U(a),9,_Ne))),128))],512),[[an,n.personality.lang]])])):I("",!0),c("div",bNe,[yNe,vNe,xe(" "+U(n.personality.category),1)])]),wNe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},U(n.personality.description),9,xNe)])],2)],10,nNe)}const jg=ze(tNe,[["render",kNe]]),ENe="/",CNe={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 ENe+this.binding.icon},defaultImg(t){t.target.src=ss},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()})}}},ANe=["title"],SNe={class:"flex flex-row items-center gap-3"},TNe=["src"],MNe={class:"font-bold font-large text-lg truncate"},ONe=c("div",{class:"grow"},null,-1),RNe={class:"flex-none gap-1"},NNe=c("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),DNe=c("span",{class:"sr-only"},"Help",-1),LNe=[NNe,DNe],INe={class:"flex items-center flex-row-reverse gap-2 my-1"},PNe=c("span",{class:"sr-only"},"Click to install",-1),FNe=c("span",{class:"sr-only"},"Reinstall binding",-1),BNe=c("span",{class:"sr-only"},"Settings",-1),$Ne={class:""},zNe={class:""},jNe={class:"flex items-center"},UNe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),qNe=c("b",null,"Author: ",-1),HNe={class:"flex items-center"},VNe=c("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),GNe=c("b",null,"Folder: ",-1),KNe={class:"flex items-center"},WNe=c("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),ZNe=c("b",null,"Version: ",-1),YNe={class:"flex items-center"},JNe=c("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),QNe=c("b",null,"Link: ",-1),XNe=["href"],eDe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),tDe=["title"];function nDe(t,e,n,s,o,r){return k(),C("div",{class:Ce(["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",SNe,[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,TNe),c("h3",MNe,U(n.binding.name),1),ONe,c("div",RNe,[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"},LNe)):I("",!0)])]),c("div",INe,[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 "),PNe])),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 "),FNe])):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 "),BNe])):I("",!0)]),c("div",$Ne,[c("div",zNe,[c("div",jNe,[UNe,qNe,xe(" "+U(n.binding.author),1)]),c("div",HNe,[VNe,GNe,xe(" "+U(n.binding.folder),1)]),c("div",KNe,[WNe,ZNe,xe(" "+U(n.binding.version),1)]),c("div",YNe,[JNe,QNe,c("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},U(n.binding.link),9,XNe)])]),eDe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},U(n.binding.description),9,tDe)])])],10,ANe)}const sDe=ze(CNe,[["render",nDe]]),oDe={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})}}},rDe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},iDe={class:"relative w-full max-w-md max-h-full"},aDe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},lDe=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),cDe=c("span",{class:"sr-only"},"Close modal",-1),dDe=[lDe,cDe],uDe={class:"p-4 text-center"},hDe=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),fDe={class:"p-4 text-center mx-auto mb-4"},pDe=c("label",{class:"mr-2"},"Model path",-1);function gDe(t,e,n,s,o,r){return o.show?(k(),C("div",rDe,[c("div",iDe,[c("div",aDe,[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"},dDe),c("div",uDe,[hDe,c("div",fDe,[pDe,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),[[Re,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 mDe=ze(oDe,[["render",gDe]]),_De={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<t.length;o++)t[o].isHelp=!1;return new Promise(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()})}}},bDe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},yDe={class:"relative w-full max-w-md"},vDe={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},wDe={class:"flex flex-row flex-grow items-center m-2 p-1"},xDe={class:"grow flex items-center"},kDe=c("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),EDe={class:"text-lg font-semibold select-none mr-2"},CDe={class:"items-end"},ADe=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),SDe=c("span",{class:"sr-only"},"Close form modal",-1),TDe=[ADe,SDe],MDe={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},ODe={class:"px-2"},RDe={key:0},NDe={key:0},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={key:1},zDe={class:"text-base font-semibold"},jDe={key:0,class:"relative inline-flex"},UDe=["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),HDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},VDe=["onUpdate:modelValue"],GDe=["value","selected"],KDe={key:1},WDe={class:"text-base font-semibold"},ZDe={key:0,class:"relative inline-flex"},YDe=["onUpdate:modelValue"],JDe=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),QDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},XDe=["onUpdate:modelValue"],eLe=["onUpdate:modelValue","min","max"],tLe={key:2},nLe={class:"mb-2 relative flex items-center gap-2"},sLe={for:"default-checkbox",class:"text-base font-semibold"},oLe=["onUpdate:modelValue"],rLe={key:0,class:"relative inline-flex"},iLe=["onUpdate:modelValue"],aLe=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),lLe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},cLe={key:3},dLe={class:"text-base font-semibold"},uLe={key:0,class:"relative inline-flex"},hLe=["onUpdate:modelValue"],fLe=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),pLe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},gLe=["onUpdate:modelValue"],mLe=c("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),_Le={class:"flex flex-row flex-grow gap-3"},bLe={class:"p-2 text-center grow"};function yLe(t,e,n,s,o,r){return o.show?(k(),C("div",bDe,[c("div",yDe,[c("div",vDe,[c("div",wDe,[c("div",xDe,[kDe,c("h3",EDe,U(o.title),1)]),c("div",CDe,[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"},TDe)])]),c("div",MDe,[(k(!0),C(Oe,null,Ve(o.controls_array,(i,a)=>(k(),C("div",ODe,[i.type=="str"?(k(),C("div",RDe,[i.options?I("",!0):(k(),C("div",NDe,[c("label",{class:Ce(["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,U(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),[[Xe,i.isHelp]]),PDe])):I("",!0)],2),i.isHelp?(k(),C("p",FDe,U(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,BDe),[[Re,i.value]])])),i.options?(k(),C("div",$De,[c("label",{class:Ce(["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,U(i.name)+": ",1),i.help?(k(),C("label",jDe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,UDe),[[Xe,i.isHelp]]),qDe])):I("",!0)],2),i.isHelp?(k(),C("p",HDe,U(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(Oe,null,Ve(i.options,l=>(k(),C("option",{value:l,selected:i.value===l},U(l),9,GDe))),256))],8,VDe),[[an,i.value]])])):I("",!0)])):I("",!0),i.type=="int"||i.type=="float"?(k(),C("div",KDe,[c("label",{class:Ce(["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,U(i.name)+": ",1),i.help?(k(),C("label",ZDe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,YDe),[[Xe,i.isHelp]]),JDe])):I("",!0)],2),i.isHelp?(k(),C("p",QDe,U(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,XDe),[[Re,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,eLe)),[[Re,i.value]]):I("",!0)])):I("",!0),i.type=="bool"?(k(),C("div",tLe,[c("div",nLe,[c("label",sLe,U(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,oLe),[[Xe,i.value]]),i.help?(k(),C("label",rLe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,iLe),[[Xe,i.isHelp]]),aLe])):I("",!0)]),i.isHelp?(k(),C("p",lLe,U(i.help),1)):I("",!0)])):I("",!0),i.type=="list"?(k(),C("div",cLe,[c("label",{class:Ce(["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",dLe,U(i.name)+": ",1),i.help?(k(),C("label",uLe,[se(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,hLe),[[Xe,i.isHelp]]),fLe])):I("",!0)],2),i.isHelp?(k(),C("p",pLe,U(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,gLe),[[Re,i.value]])])):I("",!0),mLe]))),256)),c("div",_Le,[c("div",bLe,[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"},U(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"},U(o.DenyButtonText),1)])])])])])])):I("",!0)}const xc=ze(_De,[["render",yLe]]);const vLe={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"}}},wLe={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},xLe={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},kLe={class:"text-xl font-semibold mb-4"},ELe={class:"h-48 overflow-y-auto"},CLe=["onClick"],ALe={class:"font-bold"},SLe=c("br",null,null,-1),TLe={class:"text-xs text-gray-500"},MLe={class:"flex justify-end mt-4"},OLe=["disabled"];function RLe(t,e,n,s,o,r){return k(),nt(Os,{name:"fade"},{default:Ne(()=>[n.show?(k(),C("div",wLe,[c("div",xLe,[c("h2",kLe,U(n.title),1),c("div",ELe,[c("ul",null,[(k(!0),C(Oe,null,Ve(n.choices,(i,a)=>(k(),C("li",{key:a,onClick:l=>r.selectChoice(i),class:Ce([{"selected-choice":i===o.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[c("span",ALe,U(i.name),1),SLe,c("span",TLe,U(this.formatSize(i.size)),1)],10,CLe))),128))])]),c("div",MLe,[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:Ce([{"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,OLe)])])])):I("",!0)]),_:1})}const NLe=ze(vLe,[["render",RLe]]),DLe={props:{radioOptions:{type:Array,required:!0},defaultValue:{type:String,default:0}},data(){return{selectedValue:this.defaultValue}},methods:{handleRadioChange(t){this.selectedValue!==null&&this.$emit("radio-selected",this.selectedValue,t)}}},LLe={class:"flex space-x-4"},ILe=["value","onChange"],PLe={class:"text-gray-700"};function FLe(t,e,n,s,o,r){return k(),C("div",LLe,[(k(!0),C(Oe,null,Ve(n.radioOptions,(i,a)=>(k(),C("label",{key:i.value,class:"flex items-center space-x-2"},[se(c("input",{type:"radio",value:i.value,"onUpdate:modelValue":e[0]||(e[0]=l=>o.selectedValue=l),onChange:l=>r.handleRadioChange(a),class:"text-blue-500 focus:ring-2 focus:ring-blue-200"},null,40,ILe),[[Z_,o.selectedValue]]),c("span",PLe,U(i.label),1)]))),128))])}const BLe=ze(DLe,[["render",FLe]]);const $Le="/";ye.defaults.baseURL="/";const zLe={components:{AddModelDialog:mDe,MessageBox:zg,YesNoDialog:tOe,ModelEntry:FRe,PersonalityViewer:XRe,Toast:Ys,PersonalityEntry:jg,BindingEntry:sDe,UniversalForm:xc,ChoiceDialog:NLe,Card:jo,RadioOptions:BLe},data(){return{sortOptions:[{label:"Sort by Date",value:0},{label:"Sort by Rank",value:1},{label:"Sort by Name",value:2},{label:"Sort by Maker",value:3},{label:"Sort by Quantizer",value:4}],show_only_installed_models:!1,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:$Le,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:{async selectSortOption(t){this.$store.state.sort_type=t,this.$store.dispatch("refreshModelsZoo"),this.modelsFiltered=this.models,console.log(`Selected sorting:${t}`)},handleRadioSelected(t){this.isLoading=!0,this.selectSortOption(t).then(()=>{this.isLoading=!1})},filter_installed(t){return console.log("filtering"),t.filter(e=>e.isInstalled===!0)},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="https://huggingface.co/"+t.model.quantizer+"/"+t.model.name+"/resolve/main/"+this.selected_variant.name;this.showProgress=!0,this.progress=0,this.addModel={model_name:this.selected_variant.name,binding_folder:this.configFile.binding_name,model_url:e},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.name===t.model.name);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.model.name+`
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.model.name+`
failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage");console.log("Here")};Ee.on("install_progress",n),Ee.emit("install_model",{path:e,type:t.model.type}),console.log("Started installation, please wait")},uploadAvatar(t){const e=t.target.files[0],n=new FormData;n.append("avatar",e),console.log("Uploading avatar"),ye.post("/upload_avatar",n).then(s=>{console.log("Avatar uploaded successfully"),this.$refs.toast.showToast("Avatar uploaded successfully!",4,!0);const o=s.data.fileName;console.log("response",s),this.user_avatar=o,this.update_setting("user_avatar",o,()=>{}).then(()=>{})}).catch(s=>{console.error("Error uploading avatar:",s)})},async update_software(){console.log("Posting");const t=await this.api_get_req("update_software");console.log("Posting done"),t.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Failure!",4,!1)},on_loading_text(t){console.log("Loading text",t),this.loading_text=t},async constructor(){for(console.log("Constructing"),this.isLoading=!0,be(()=>{ve.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.configFile.model_name&&(this.isModelSelected=!0),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities?category="+this.configFile.personality_category),this.personality_category=this.configFile.personality_category,this.personalitiesFiltered=this.personalities.filter(t=>t.category===this.configFile.personality_category),this.modelsFiltered=this.models,this.isLoading=!1,this.isMounted=!0},async open_mzl(){this.mzl_collapsed=!this.mzl_collapsed,console.log("Fetching models")},async getVramUsage(){await this.api_get_req("vram_usage")},async progressListener(t){if(console.log("received something"),t.status==="progress"){if(this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.name==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(console.log("model entry",n),n.installing=!0,n.progress=t.progress,console.log(`Progress = ${t.progress}`),t.progress>=100&&(n.installing=!1,n.isInstalled=!0))}}else if(t.status==="succeeded"){if(console.log("Received succeeded"),console.log("Installed successfully"),this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.name==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!0)}this.$refs.toast.showToast(`Model:
`+model_object.name+`
installed!`,4,!0),this.$store.dispatch("refreshDiskUsage")}else if(t.status==="failed"&&(console.log("Install failed"),this.$refs.modelZoo)){const e=this.$refs.modelZoo.findIndex(s=>s.model.name==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!1),console.error("Installation failed:",t.error),this.$refs.toast.showToast(`Model:
`+model_object.name+`
failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage")}},showAddModelDialog(){this.$refs.addmodeldialog.showDialog("").then(()=>{console.log(this.$refs.addmodeldialog.model_path);const t=this.$refs.addmodeldialog.model_path;Ee.emit("install_model",{path:t,type:this.$store.state.models_zoo[0].type},e=>{console.log("Model installation successful:",e)}),console.log(this.$refs.addmodeldialog.model_path)})},closeAddModelDialog(){this.addModelDialogVisibility=!1},collapseAll(t){this.minconf_collapsed=t,this.bec_collapsed=t,this.mzc_collapsed=t,this.pzc_collapsed=t,this.bzc_collapsed=t,this.pc_collapsed=t,this.mc_collapsed=t,this.sc_collapsed=t,this.mzdc_collapsed=t},fetchPersonalities(){this.api_get_req("list_personalities_categories").then(t=>{this.persCatgArr=t,this.persCatgArr.sort()}),this.api_get_req("list_personalities").then(t=>{this.persArr=t,this.persArr.sort(),console.log(`Listed personalities:
${t}`)})},fetchHardwareInfos(){this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage")},async onRemount(t){if(t=t.personality,!t)return{status:!1,error:"no personality - unmount_personality"};console.log(`Remounting ${t.category}/${t.folder}`);const e={category:t.category,folder:t.folder,language:t.lang};try{const n=await ye.post("/unmount_personality",e)}catch(n){console.log(n.message,"unmount_personality - settings");return}await ye.post("/mount_personality",e)},async onPersonalitySelected(t){if(console.log("on pers",t),this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}if(t.isMounted&&this.configFile.personalities.includes(t.full_path)){const e=await this.select_personality(t);console.log("pers is mounted",e),e&&e.status&&e.active_personality_id>-1?this.$refs.toast.showToast(`Selected personality:
`+t.name,4,!0):this.$refs.toast.showToast(`Error on select personality:
`+t.name,4,!1),this.isLoading=!1}else console.log("mounting pers"),this.onPersonalityMounted(t);be(()=>{ve.replace()})}},onSelected(t,e=!1){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?(this.configFile.model_name!=t.model.name||e)&&this.update_model(t.model.name).then(n=>{console.log("update_model",n),this.configFile.model_name=t.model.name,n.status?this.$refs.toast.showToast(`Selected model:
`+t.name,4,!0):this.$refs.toast.showToast(`Couldn't select model:
`+t.name,4,!1),this.settingsChanged=!0,this.isModelSelected=!0}):this.$refs.toast.showToast(`Model:
`+t.model.name+`
is not installed`,4,!1),be(()=>{ve.replace()}))},onCopy(t){let e;t.model.isCustomModel?e=`Model name: ${t.name}
File size: ${t.fileSize}
Manually downloaded model `:e=`Model name: ${t.name}
File size: ${t.fileSize}
Download: ${"https://huggingface.co/"+t.quantizer+"/"+t.name}
License: ${t.license}
Owner: ${t.quantizer}
Website: ${"https://huggingface.co/"+t.quantizer}
Description: ${t.description}`,this.$refs.toast.showToast("Copied model info to clipboard!",4,!0),navigator.clipboard.writeText(e.trim())},onCopyLink(t){this.$refs.toast.showToast("Copied link to clipboard!",4,!0),navigator.clipboard.writeText("https://huggingface.co/"+t.model.quantizer+"/"+t.model.name)},onCancelInstall(){const t=this.addModel;console.log("cancel install",t),this.modelDownlaodInProgress=!1,this.addModel={},this.$refs.toast.showToast("Model installation aborted",4,!1),Ee.emit("cancel_install",{model_name:t.model_name,binding_folder:t.binding_folder,model_url:t.model_url,patreon:model.patreon?model.patreon:"None"})},onInstall(t){this.variant_choices=t.model.variants,this.currenModelToInstall=t,console.log("variant_choices"),console.log(this.variant_choices),console.log(t),this.variantSelectionDialogVisible=!0},onCreateReference(){ye.post("/add_reference_to_local_model",{path:this.reference_path}).then(t=>{t.status?(this.$refs.toast.showToast("Reference created",4,!0),this.$store.dispatch("refreshModels")):this.$refs.toast.showToast("Couldn't create reference",4,!1)})},onInstallAddModel(){if(!this.addModel.url){this.$refs.toast.showToast("Link is empty",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),Ee.off("install_progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model:
`+this.addModel.model_name+`
installed!`,4,!0),this.$store.dispatch("refreshDiskUsage"))):(Ee.off("install_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("install_progress",e),Ee.emit("install_model",{path:t,type:this.$store.state.models_zoo[0].type}),console.log("Started installation, please wait")},uploadLocalModel(){if(this.uploadData.length==0){this.$refs.toast.showToast("No files to upload",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),Ee.off("progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model:
`+this.addModel.model_name+`
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.name+"]","Yes","Cancel").then(e=>{if(e){console.log("uninstalling model...");const n=s=>{console.log("uninstalling res",s),s.status?(console.log("uninstalling success",s),t.uninstalling=!1,Ee.off("install_progress",n),this.showProgress=!1,this.$store.dispatch("refreshModelsZoo"),this.modelsFiltered=this.models,this.$refs.toast.showToast(`Model:
`+t.model.name+`
was uninstalled!`,4,!0),this.$store.dispatch("refreshDiskUsage")):(console.log("uninstalling failed",s),t.uninstalling=!1,this.showProgress=!1,Ee.off("uninstall_progress",n),console.error("Uninstallation failed:",s.error),this.$refs.toast.showToast(`Model:
`+t.model.name+`
failed to uninstall!`,4,!1),this.$store.dispatch("refreshDiskUsage"))};Ee.on("uninstall_progress",n),self.selected_variant!=null?Ee.emit("uninstall_model",{path:"https://huggingface.co/"+t.model.quantizer+"/"+t.model.name+"/resolve/main/"+this.selected_variant.name,type:t.model.type}):Ee.emit("uninstall_model",{path:"https://huggingface.co/"+t.model.quantizer+"/"+t.model.name,type:t.model.type})}})},onSelectedBinding(t){if(console.log("Binding selected"),!t.binding.installed){this.$refs.toast.showToast(`Binding is not installed:
`+t.binding.name,4,!1);return}this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onInstallBinding(t){this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onReinstallBinding(t){this.isLoading=!0,ye.post("/reinstall_binding",{name:t.binding.folder}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_binding",e),e.data.status?this.$refs.toast.showToast("Reinstalled binding successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall binding",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall binding
`+e.message,4,!1),{status:!1}))},upgrade2GPU(){this.isLoading=!0;try{ye.get("/upgrade_to_gpu").then(t=>{this.isLoading=!1,t&&(t.status?(this.$refs.toast.showToast("Upgraded to GPU",4,!0),this.configFile.enable_gpu=!0):this.$refs.toast.showToast("Could not upgrade to GPU. Endpoint error: "+t.error,4,!1))})}catch(t){this.isLoading=!1,this.$refs.toast.showToast("Could not open binding settings. Endpoint error: "+t.message,4,!1)}},onSettingsBinding(t){try{this.isLoading=!0,ye.get("/get_active_binding_settings").then(e=>{this.isLoading=!1,e&&(console.log("binding sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Binding settings - "+t.binding.name,"Save changes","Cancel").then(n=>{try{ye.post("/set_active_binding_settings",n).then(s=>{s&&s.data?(console.log("binding set with new settings",s.data),this.$refs.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get binding settings responses.
`+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get binding settings responses.
Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Binding has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open binding settings. Endpoint error: "+e.message,4,!1)}},onReloadBinding(t){this.isLoading=!0,ye.post("/reload_binding",{name:t.binding.folder}).then(e=>{if(e)return this.isLoading=!1,console.log("reload_binding",e),e.data.status?this.$refs.toast.showToast("Binding reloaded successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall binding",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall binding
`+e.message,4,!1),{status:!1}))},onSettingsPersonality(t){try{this.isLoading=!0,ye.get("/get_active_personality_settings").then(e=>{this.isLoading=!1,e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{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),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses.
Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Personality has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},onMessageBoxOk(){console.log("OK button clicked")},update_personality_category(t,e){this.personality_category=t,e()},refresh(){console.log("Refreshing"),this.$store.dispatch("refreshConfig").then(()=>{console.log(this.personality_category),this.api_get_req("list_personalities_categories").then(t=>{console.log("cats",t),this.persCatgArr=t,this.personalitiesFiltered=this.personalities.filter(e=>e.category===this.personality_category),this.personalitiesFiltered.sort()})})},toggleAccordion(){this.showAccordion=!this.showAccordion},async update_setting(t,e,n){console.log("Updating setting",t,":",e),this.isLoading=!0;const s={setting_name:t,setting_value:e};let o=await ye.post("/update_setting",s);if(o)return this.isLoading=!1,console.log("update_setting",o),o.status?this.$refs.toast.showToast(`Setting updated successfully.
Don't forget to save to keep the setting permanently.`,4,!0):this.$refs.toast.showToast(`Setting update failed.
Please view the console for more details.`,4,!1),n!==void 0&&n(o),o.data;this.isLoading=!1},update_binding(t){this.isLoading=!0,console.log("updating binding_name"),this.update_setting("binding_name",t,e=>{console.log("updated binding_name"),this.$store.dispatch("refreshModels");const n=this.bindingsArr.findIndex(o=>o.folder==t),s=this.bindingsArr[n];s&&(s.installed=!0),this.settingsChanged=!0,this.isLoading=!1,console.log("updating model"),this.update_model(null).then(()=>{console.log("updated model"),this.configFile.model_name=null,this.$store.dispatch("refreshConfig"),this.$store.dispatch("refreshModelsZoo"),this.$refs.toast.showToast("Binding changed.",4,!0),this.$forceUpdate()}),be(()=>{ve.replace()})})},async update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0;let e=await this.update_setting("model_name",t);return this.isLoading=!1,e},applyConfiguration(){this.isLoading=!0,ye.post("/apply_settings",{config:this.configFile}).then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),be(()=>{ve.replace()})})},save_configuration(){this.showConfirmation=!1,ye.post("/save_settings",{}).then(t=>{if(t)return t.status||this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion(`Are you sure?
This will delete all your configurations and get back to default configuration.`).then(t=>{t&&ye.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=this.$store.state.config,n=Object.keys(t);for(let s=0;s<n.length;s++){const o=n[s],i=catdictionary[o].map(a=>{const l=e.personalities.includes(o+"/"+a.folder);let d={};return d=a,d.category=o,d.language=langkey,d.full_path=o+"/"+a.folder,d.isMounted=l,d});this.personalities.length==0?this.personalities=i:this.personalities=this.personalities.concat(i)}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},async filterModels(){if(!this.searchModel){console.log("Searching model"),this.modelsFiltered=this.models,this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase();this.isModelsLoading=!0,console.log("filtering models");const e=this.models.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.category&&n.category.toLowerCase().includes(t))return n});this.isModelsLoading=!1,e.length>0?this.modelsFiltered=e:this.modelsFiltered=this.models,this.searchModelInProgress=!1},computedFileSize(t){return Gt(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder,language:t.lang},n=await ye.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await ye.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await ye.post("/select_personality",n);if(s)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),s.data}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+t.personality.name,4,!0),this.$store.dispatch("refreshMountedPersonalities")):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
Error: `+e.error+`
Response:
`+e,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.$store.dispatch("refreshMountedPersonalities");const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
Error: `+e.error,4,!1);this.isLoading=!1},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=ss},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:{isModelsLoading:{get(){return this.$store.state.isModelsLoading},set(t){this.$store.state.isModelsLoading=t}},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)}},installed_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 mo}},imgModel(){if(this.isMounted)try{let t=this.$refs.modelZoo.findIndex(e=>e.model.name==this.configFile.model_name);if(t==-1)for(let e of this.$refs.modelZoo){let n=e.model.variants;if(console.log(e.model),n!=null&&(t=n.findIndex(s=>s.name==this.configFile.model_name),t!=-1))break}return this.$refs.modelZoo[t].$refs.imgElement.src}catch{return mo}},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}},ee=t=>(is("data-v-11b8a490"),t=t(),as(),t),jLe={class:"container overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 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"},ULe={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"},qLe={key:0,class:"flex gap-3 flex-1 items-center duration-75"},HLe=ee(()=>c("i",{"data-feather":"x"},null,-1)),VLe=[HLe],GLe=ee(()=>c("i",{"data-feather":"check"},null,-1)),KLe=[GLe],WLe={key:1,class:"flex gap-3 flex-1 items-center"},ZLe=ee(()=>c("i",{"data-feather":"save"},null,-1)),YLe=[ZLe],JLe=ee(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),QLe=[JLe],XLe=ee(()=>c("i",{"data-feather":"list"},null,-1)),eIe=[XLe],tIe={class:"flex gap-3 flex-1 items-center justify-end"},nIe=ee(()=>c("i",{"data-feather":"trash-2"},null,-1)),sIe=[nIe],oIe=ee(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),rIe=[oIe],iIe=ee(()=>c("i",{"data-feather":"arrow-up-circle"},null,-1)),aIe={key:0},lIe=ee(()=>c("i",{"data-feather":"alert-circle"},null,-1)),cIe=[lIe],dIe={class:"flex gap-3 items-center"},uIe={key:0,class:"flex gap-3 items-center"},hIe=ee(()=>c("i",{"data-feather":"check"},null,-1)),fIe=[hIe],pIe={key:1,role:"status"},gIe=ee(()=>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)),mIe=ee(()=>c("span",{class:"sr-only"},"Loading...",-1)),_Ie={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"},bIe={class:"flex flex-row p-3"},yIe=ee(()=>c("i",{"data-feather":"chevron-right"},null,-1)),vIe=[yIe],wIe=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),xIe=[wIe],kIe=ee(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),EIe=ee(()=>c("div",{class:"mr-2"},"|",-1)),CIe={class:"text-base font-semibold cursor-pointer select-none items-center"},AIe={class:"flex gap-2 items-center"},SIe={key:0},TIe={class:"flex gap-2 items-center"},MIe=["title"],OIe=Gs('<path d="M 5.9133057,14.000286 H 70.974329 a 8.9999999,8.9999999 0 0 1 8.999987,8.999998 V 47.889121 H 5.9133057 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1116" data-v-11b8a490></path><path d="m 5.9133057,28.634282 h -2.244251 v -9.367697 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1118" data-v-11b8a490></path><path d="M 5.9133057,42.648417 H 3.6690547 V 33.28072 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1120" data-v-11b8a490></path><path d="m 5.9133057,47.889121 v 4.42369" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1122" data-v-11b8a490></path><path d="M 5.9133057,14.000286 H 2.3482707" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1124" data-v-11b8a490></path><path d="M 2.3482707,14.000286 V 10.006515" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1126" data-v-11b8a490></path><path d="m 74.31472,30.942798 a 11.594069,11.594069 0 0 0 -23.188136,0 11.594069,11.594069 0 0 0 23.188136,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1128" data-v-11b8a490></path><path d="m 54.568046,22.699178 a 8.1531184,8.1531184 0 0 0 8.154326,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1130" data-v-11b8a490></path><path d="M 73.935201,28.000658 A 8.1531184,8.1531184 0 0 0 62.721525,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1132" data-v-11b8a490></path><path d="m 70.873258,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1134" data-v-11b8a490></path><path d="M 59.657782,42.124981 A 8.1531184,8.1531184 0 0 0 62.719435,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1136" data-v-11b8a490></path><path d="M 51.50515,33.881361 A 8.1531184,8.1531184 0 0 0 62.720652,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1138" data-v-11b8a490></path><path d="M 65.783521,19.760615 A 8.1531184,8.1531184 0 0 0 62.721869,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1140" data-v-11b8a490></path><path d="m 62.720652,22.789678 a 8.1531184,8.1531184 0 0 0 -3.06287,-3.029063" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1142" data-v-11b8a490></path><path d="m 69.782328,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1144" data-v-11b8a490></path><path d="m 69.781455,35.019358 a 8.1531184,8.1531184 0 0 0 4.154699,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1146" data-v-11b8a490></path><path d="m 62.722372,39.09293 a 8.1531184,8.1531184 0 0 0 3.064668,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1148" data-v-11b8a490></path><path d="m 55.659849,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091803,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1150" data-v-11b8a490></path><path d="M 55.659849,26.866238 A 8.1531184,8.1531184 0 0 0 51.50515,28.004235" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1152" data-v-11b8a490></path><path d="m 22.744016,47.889121 h 38.934945 v 4.42369 H 22.744016 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1154" data-v-11b8a490></path><path d="m 20.54627,47.889121 h -4.395478 v 4.42369 h 4.395478 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1156" data-v-11b8a490></path><path d="m 40.205007,30.942798 a 11.594071,11.594071 0 0 0 -23.188141,0 11.594071,11.594071 0 0 0 23.188141,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1158" data-v-11b8a490></path><path d="m 20.458317,22.699178 a 8.1531184,8.1531184 0 0 0 8.154342,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1160" data-v-11b8a490></path><path d="m 35.672615,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1162" data-v-11b8a490></path><path d="M 39.825489,28.000658 A 8.1531184,8.1531184 0 0 0 28.611786,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1164" data-v-11b8a490></path><path d="m 28.612659,39.09293 a 8.1531184,8.1531184 0 0 0 3.064669,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1166" data-v-11b8a490></path><path d="m 36.763545,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1168" data-v-11b8a490></path><path d="m 21.550126,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091809,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1170" data-v-11b8a490></path><path d="M 25.54807,42.124981 A 8.1531184,8.1531184 0 0 0 28.609722,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1172" data-v-11b8a490></path><path d="m 21.550126,26.866238 a 8.1531184,8.1531184 0 0 0 -4.154684,1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1174" data-v-11b8a490></path><path d="M 17.395442,33.881361 A 8.1531184,8.1531184 0 0 0 28.610939,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1176" data-v-11b8a490></path><path d="M 28.610939,22.789678 A 8.1531184,8.1531184 0 0 0 25.54807,19.760615" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1178" data-v-11b8a490></path><path d="M 31.673809,19.760615 A 8.1531184,8.1531184 0 0 0 28.612156,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1180" data-v-11b8a490></path><path d="m 35.671742,35.019358 a 8.1531184,8.1531184 0 0 0 4.154673,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1182" data-v-11b8a490></path>',34),RIe=[OIe],NIe={class:"font-bold font-large text-lg"},DIe={key:1},LIe={class:"flex gap-2 items-center"},IIe=Gs('<svg aria-hidden="true" class="w-10 h-10 fill-secondary" viewBox="0 -3 82 66" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-11b8a490><path d="M 5.9133057,14.000286 H 70.974329 a 8.9999999,8.9999999 0 0 1 8.999987,8.999998 V 47.889121 H 5.9133057 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1116" data-v-11b8a490></path><path d="m 5.9133057,28.634282 h -2.244251 v -9.367697 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1118" data-v-11b8a490></path><path d="M 5.9133057,42.648417 H 3.6690547 V 33.28072 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1120" data-v-11b8a490></path><path d="m 5.9133057,47.889121 v 4.42369" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1122" data-v-11b8a490></path><path d="M 5.9133057,14.000286 H 2.3482707" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1124" data-v-11b8a490></path><path d="M 2.3482707,14.000286 V 10.006515" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1126" data-v-11b8a490></path><path d="m 74.31472,30.942798 a 11.594069,11.594069 0 0 0 -23.188136,0 11.594069,11.594069 0 0 0 23.188136,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1128" data-v-11b8a490></path><path d="m 54.568046,22.699178 a 8.1531184,8.1531184 0 0 0 8.154326,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1130" data-v-11b8a490></path><path d="M 73.935201,28.000658 A 8.1531184,8.1531184 0 0 0 62.721525,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1132" data-v-11b8a490></path><path d="m 70.873258,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1134" data-v-11b8a490></path><path d="M 59.657782,42.124981 A 8.1531184,8.1531184 0 0 0 62.719435,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1136" data-v-11b8a490></path><path d="M 51.50515,33.881361 A 8.1531184,8.1531184 0 0 0 62.720652,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1138" data-v-11b8a490></path><path d="M 65.783521,19.760615 A 8.1531184,8.1531184 0 0 0 62.721869,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1140" data-v-11b8a490></path><path d="m 62.720652,22.789678 a 8.1531184,8.1531184 0 0 0 -3.06287,-3.029063" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1142" data-v-11b8a490></path><path d="m 69.782328,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1144" data-v-11b8a490></path><path d="m 69.781455,35.019358 a 8.1531184,8.1531184 0 0 0 4.154699,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1146" data-v-11b8a490></path><path d="m 62.722372,39.09293 a 8.1531184,8.1531184 0 0 0 3.064668,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1148" data-v-11b8a490></path><path d="m 55.659849,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091803,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1150" data-v-11b8a490></path><path d="M 55.659849,26.866238 A 8.1531184,8.1531184 0 0 0 51.50515,28.004235" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1152" data-v-11b8a490></path><path d="m 22.744016,47.889121 h 38.934945 v 4.42369 H 22.744016 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1154" data-v-11b8a490></path><path d="m 20.54627,47.889121 h -4.395478 v 4.42369 h 4.395478 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1156" data-v-11b8a490></path><path d="m 40.205007,30.942798 a 11.594071,11.594071 0 0 0 -23.188141,0 11.594071,11.594071 0 0 0 23.188141,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1158" data-v-11b8a490></path><path d="m 20.458317,22.699178 a 8.1531184,8.1531184 0 0 0 8.154342,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1160" data-v-11b8a490></path><path d="m 35.672615,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1162" data-v-11b8a490></path><path d="M 39.825489,28.000658 A 8.1531184,8.1531184 0 0 0 28.611786,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1164" data-v-11b8a490></path><path d="m 28.612659,39.09293 a 8.1531184,8.1531184 0 0 0 3.064669,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1166" data-v-11b8a490></path><path d="m 36.763545,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1168" data-v-11b8a490></path><path d="m 21.550126,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091809,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1170" data-v-11b8a490></path><path d="M 25.54807,42.124981 A 8.1531184,8.1531184 0 0 0 28.609722,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1172" data-v-11b8a490></path><path d="m 21.550126,26.866238 a 8.1531184,8.1531184 0 0 0 -4.154684,1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1174" data-v-11b8a490></path><path d="M 17.395442,33.881361 A 8.1531184,8.1531184 0 0 0 28.610939,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1176" data-v-11b8a490></path><path d="M 28.610939,22.789678 A 8.1531184,8.1531184 0 0 0 25.54807,19.760615" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1178" data-v-11b8a490></path><path d="M 31.673809,19.760615 A 8.1531184,8.1531184 0 0 0 28.612156,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1180" data-v-11b8a490></path><path d="m 35.671742,35.019358 a 8.1531184,8.1531184 0 0 0 4.154673,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1182" data-v-11b8a490></path></svg>',1),PIe={class:"font-bold font-large text-lg"},FIe=ee(()=>c("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),BIe={class:"font-bold font-large text-lg"},$Ie=ee(()=>c("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),zIe={class:"font-bold font-large text-lg"},jIe={class:"mb-2"},UIe=ee(()=>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)),qIe={class:"flex flex-col mx-2"},HIe=ee(()=>c("b",null,"Avaliable ram: ",-1)),VIe=ee(()=>c("b",null,"Ram usage: ",-1)),GIe={class:"p-2"},KIe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},WIe={class:"mb-2"},ZIe=ee(()=>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)),YIe={class:"flex flex-col mx-2"},JIe=ee(()=>c("b",null,"Avaliable disk space: ",-1)),QIe=ee(()=>c("b",null,"Disk usage: ",-1)),XIe={class:"p-2"},ePe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},tPe={class:"mb-2"},nPe=Gs('<label class="flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white" data-v-11b8a490><svg aria-hidden="true" class="w-10 h-10 -my-5 fill-secondary" viewBox="0 -3 82 66" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-11b8a490><path d="M 5.9133057,14.000286 H 70.974329 a 8.9999999,8.9999999 0 0 1 8.999987,8.999998 V 47.889121 H 5.9133057 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1116" data-v-11b8a490></path><path d="m 5.9133057,28.634282 h -2.244251 v -9.367697 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1118" data-v-11b8a490></path><path d="M 5.9133057,42.648417 H 3.6690547 V 33.28072 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1120" data-v-11b8a490></path><path d="m 5.9133057,47.889121 v 4.42369" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1122" data-v-11b8a490></path><path d="M 5.9133057,14.000286 H 2.3482707" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1124" data-v-11b8a490></path><path d="M 2.3482707,14.000286 V 10.006515" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1126" data-v-11b8a490></path><path d="m 74.31472,30.942798 a 11.594069,11.594069 0 0 0 -23.188136,0 11.594069,11.594069 0 0 0 23.188136,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1128" data-v-11b8a490></path><path d="m 54.568046,22.699178 a 8.1531184,8.1531184 0 0 0 8.154326,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1130" data-v-11b8a490></path><path d="M 73.935201,28.000658 A 8.1531184,8.1531184 0 0 0 62.721525,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1132" data-v-11b8a490></path><path d="m 70.873258,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1134" data-v-11b8a490></path><path d="M 59.657782,42.124981 A 8.1531184,8.1531184 0 0 0 62.719435,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1136" data-v-11b8a490></path><path d="M 51.50515,33.881361 A 8.1531184,8.1531184 0 0 0 62.720652,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1138" data-v-11b8a490></path><path d="M 65.783521,19.760615 A 8.1531184,8.1531184 0 0 0 62.721869,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1140" data-v-11b8a490></path><path d="m 62.720652,22.789678 a 8.1531184,8.1531184 0 0 0 -3.06287,-3.029063" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1142" data-v-11b8a490></path><path d="m 69.782328,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1144" data-v-11b8a490></path><path d="m 69.781455,35.019358 a 8.1531184,8.1531184 0 0 0 4.154699,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1146" data-v-11b8a490></path><path d="m 62.722372,39.09293 a 8.1531184,8.1531184 0 0 0 3.064668,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1148" data-v-11b8a490></path><path d="m 55.659849,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091803,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1150" data-v-11b8a490></path><path d="M 55.659849,26.866238 A 8.1531184,8.1531184 0 0 0 51.50515,28.004235" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1152" data-v-11b8a490></path><path d="m 22.744016,47.889121 h 38.934945 v 4.42369 H 22.744016 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1154" data-v-11b8a490></path><path d="m 20.54627,47.889121 h -4.395478 v 4.42369 h 4.395478 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1156" data-v-11b8a490></path><path d="m 40.205007,30.942798 a 11.594071,11.594071 0 0 0 -23.188141,0 11.594071,11.594071 0 0 0 23.188141,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1158" data-v-11b8a490></path><path d="m 20.458317,22.699178 a 8.1531184,8.1531184 0 0 0 8.154342,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1160" data-v-11b8a490></path><path d="m 35.672615,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1162" data-v-11b8a490></path><path d="M 39.825489,28.000658 A 8.1531184,8.1531184 0 0 0 28.611786,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1164" data-v-11b8a490></path><path d="m 28.612659,39.09293 a 8.1531184,8.1531184 0 0 0 3.064669,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1166" data-v-11b8a490></path><path d="m 36.763545,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1168" data-v-11b8a490></path><path d="m 21.550126,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091809,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1170" data-v-11b8a490></path><path d="M 25.54807,42.124981 A 8.1531184,8.1531184 0 0 0 28.609722,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1172" data-v-11b8a490></path><path d="m 21.550126,26.866238 a 8.1531184,8.1531184 0 0 0 -4.154684,1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1174" data-v-11b8a490></path><path d="M 17.395442,33.881361 A 8.1531184,8.1531184 0 0 0 28.610939,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1176" data-v-11b8a490></path><path d="M 28.610939,22.789678 A 8.1531184,8.1531184 0 0 0 25.54807,19.760615" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1178" data-v-11b8a490></path><path d="M 31.673809,19.760615 A 8.1531184,8.1531184 0 0 0 28.612156,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1180" data-v-11b8a490></path><path d="m 35.671742,35.019358 a 8.1531184,8.1531184 0 0 0 4.154673,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1182" data-v-11b8a490></path></svg> GPU usage: </label>',1),sPe={class:"flex flex-col mx-2"},oPe=ee(()=>c("b",null,"Model: ",-1)),rPe=ee(()=>c("b",null,"Avaliable vram: ",-1)),iPe=ee(()=>c("b",null,"GPU usage: ",-1)),aPe={class:"p-2"},lPe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},cPe={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"},dPe={class:"flex flex-row p-3"},uPe=ee(()=>c("i",{"data-feather":"chevron-right"},null,-1)),hPe=[uPe],fPe=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),pPe=[fPe],gPe=ee(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),mPe={class:"flex flex-col mb-2 px-3 pb-2"},_Pe={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"},bPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),yPe={style:{width:"100%"}},vPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),wPe={style:{width:"100%"}},xPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),kPe={style:{width:"100%"}},EPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_show_browser",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto show browser:")],-1)),CPe={class:"flex flex-row"},APe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),SPe={class:"text-center items-center"},TPe={class:"flex flex-row"},MPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),OPe={class:"flex flex-row"},RPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),NPe={class:"flex flex-row"},DPe={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"},LPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),IPe={style:{width:"100%"}},PPe=ee(()=>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%"}},BPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use user description in discussion:")],-1)),$Pe={style:{width:"100%"}},zPe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),jPe={style:{width:"100%"}},UPe={for:"avatar-upload"},qPe=["src"],HPe=ee(()=>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)),VPe={class:"flex flex-row"},GPe={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"},KPe=ee(()=>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={class:"flex flex-row"},ZPe=ee(()=>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={class:"flex flex-row"},JPe=ee(()=>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)),QPe={class:"flex flex-row"},XPe=ee(()=>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)),eFe=ee(()=>c("option",{value:"ftidf_vectorizer"},"ftidf Vectorizer",-1)),tFe=ee(()=>c("option",{value:"model_embedding"},"Model Embedding",-1)),nFe=[eFe,tFe],sFe=ee(()=>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)),oFe=ee(()=>c("option",{value:"PCA"},"PCA",-1)),rFe=ee(()=>c("option",{value:"TSNE"},"TSNE",-1)),iFe=[oFe,rFe],aFe=ee(()=>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)),lFe={class:"flex flex-row"},cFe=ee(()=>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)),dFe=ee(()=>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)),uFe=ee(()=>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)),hFe={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"},fFe=ee(()=>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)),pFe={class:"flex flex-row"},gFe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),mFe={class:"flex flex-row"},_Fe=ee(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),bFe=ee(()=>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)),yFe=ee(()=>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)),vFe=["value"],wFe=ee(()=>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)),xFe=["value"],kFe={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"},EFe={class:"flex flex-row p-3"},CFe=ee(()=>c("i",{"data-feather":"chevron-right"},null,-1)),AFe=[CFe],SFe=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),TFe=[SFe],MFe=ee(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),OFe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},RFe=ee(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),NFe={key:1,class:"mr-2"},DFe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},LFe={class:"flex gap-1 items-center"},IFe=["src"],PFe={class:"font-bold font-large text-lg line-clamp-1"},FFe={key:0,class:"mb-2"},BFe={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},$Fe=ee(()=>c("i",{"data-feather":"chevron-up"},null,-1)),zFe=[$Fe],jFe=ee(()=>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=ee(()=>c("i",{"data-feather":"chevron-right"},null,-1)),GFe=[VFe],KFe=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),WFe=[KFe],ZFe=ee(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),YFe={class:"flex flex-row items-center"},JFe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},QFe=ee(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),XFe={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},eBe=ee(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),tBe={key:2,class:"mr-2"},nBe={key:3,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={key:4,role:"status"},aBe=ee(()=>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)),lBe=ee(()=>c("span",{class:"sr-only"},"Loading...",-1)),cBe={class:"mx-2 mb-4"},dBe={class:"relative"},uBe={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},hBe={key:0},fBe=ee(()=>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)),pBe=[fBe],gBe={key:1},mBe=ee(()=>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)),_Be=[mBe],bBe=ee(()=>c("label",{for:"only_installed"},"Show only installed models",-1)),yBe={key:0},vBe={key:0,class:"mb-2"},wBe={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},xBe={key:1},kBe={key:0,class:"mb-2"},EBe={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},CBe=ee(()=>c("i",{"data-feather":"chevron-up"},null,-1)),ABe=[CBe],SBe=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),TBe=[SBe],MBe={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"},OBe={class:"flex flex-row p-3"},RBe=ee(()=>c("i",{"data-feather":"chevron-right"},null,-1)),NBe=[RBe],DBe=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),LBe=[DBe],IBe=ee(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),PBe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},FBe=ee(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),BBe={key:1,class:"mr-2"},$Be={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},zBe={class:"flex gap-1 items-center"},jBe=["src"],UBe={class:"font-bold font-large text-lg line-clamp-1"},qBe={class:"mb-2"},HBe={class:"p-2"},VBe={class:"mb-3"},GBe=ee(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),KBe={key:0},WBe={class:"mb-3"},ZBe=ee(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),YBe={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},JBe=ee(()=>c("div",{role:"status",class:"justify-center"},null,-1)),QBe={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},XBe={class:"w-full p-2"},e$e={class:"flex justify-between mb-1"},t$e=Gs('<span class="flex flex-row items-center gap-2 text-base font-medium text-blue-700 dark:text-white" data-v-11b8a490> Downloading <svg aria-hidden="true" class="w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-secondary" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-11b8a490><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" data-v-11b8a490></path><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" data-v-11b8a490></path></svg><span class="sr-only" data-v-11b8a490>Loading...</span></span>',1),n$e={class:"text-sm font-medium text-blue-700 dark:text-white"},s$e=["title"],o$e={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},r$e={class:"flex justify-between mb-1"},i$e={class:"text-base font-medium text-blue-700 dark:text-white"},a$e={class:"text-sm font-medium text-blue-700 dark:text-white"},l$e={class:"flex flex-grow"},c$e={class:"flex flex-row flex-grow gap-3"},d$e={class:"p-2 text-center grow"},u$e={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"},h$e={class:"flex flex-row p-3 items-center"},f$e=ee(()=>c("i",{"data-feather":"chevron-right"},null,-1)),p$e=[f$e],g$e=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),m$e=[g$e],_$e=ee(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),b$e={key:0,class:"mr-2"},y$e={class:"mr-2 font-bold font-large text-lg line-clamp-1"},v$e={key:1,class:"mr-2"},w$e={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},x$e={key:0,class:"flex -space-x-4 items-center"},k$e={class:"group items-center flex flex-row"},E$e=["onClick"],C$e=["src","title"],A$e=["onClick"],S$e=ee(()=>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)),T$e=[S$e],M$e={class:"mx-2 mb-4"},O$e=ee(()=>c("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),R$e={class:"relative"},N$e={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},D$e={key:0},L$e=ee(()=>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)),I$e=[L$e],P$e={key:1},F$e=ee(()=>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)),B$e=[F$e],$$e={key:0,class:"mx-2 mb-4"},z$e={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},j$e=["selected"],U$e={key:0,class:"mb-2"},q$e={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},H$e=ee(()=>c("i",{"data-feather":"chevron-up"},null,-1)),V$e=[H$e],G$e=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),K$e=[G$e],W$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"},Z$e={class:"flex flex-row"},Y$e=ee(()=>c("i",{"data-feather":"chevron-right"},null,-1)),J$e=[Y$e],Q$e=ee(()=>c("i",{"data-feather":"chevron-down"},null,-1)),X$e=[Q$e],eze=ee(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),tze={class:"m-2"},nze={class:"flex flex-row gap-2 items-center"},sze=ee(()=>c("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),oze={class:"m-2"},rze=ee(()=>c("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),ize={class:"m-2"},aze={class:"flex flex-col align-bottom"},lze={class:"relative"},cze=ee(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),dze={class:"absolute right-0"},uze={class:"m-2"},hze={class:"flex flex-col align-bottom"},fze={class:"relative"},pze=ee(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),gze={class:"absolute right-0"},mze={class:"m-2"},_ze={class:"flex flex-col align-bottom"},bze={class:"relative"},yze=ee(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),vze={class:"absolute right-0"},wze={class:"m-2"},xze={class:"flex flex-col align-bottom"},kze={class:"relative"},Eze=ee(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),Cze={class:"absolute right-0"},Aze={class:"m-2"},Sze={class:"flex flex-col align-bottom"},Tze={class:"relative"},Mze=ee(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),Oze={class:"absolute right-0"},Rze={class:"m-2"},Nze={class:"flex flex-col align-bottom"},Dze={class:"relative"},Lze=ee(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),Ize={class:"absolute right-0"};function Pze(t,e,n,s,o,r){const i=Fe("Card"),a=Fe("BindingEntry"),l=Fe("RadioOptions"),d=Fe("model-entry"),u=Fe("personality-entry"),h=Fe("Toast"),f=Fe("YesNoDialog"),g=Fe("AddModelDialog"),m=Fe("MessageBox"),_=Fe("UniversalForm"),v=Fe("ChoiceDialog");return k(),C(Oe,null,[c("div",jLe,[c("div",ULe,[o.showConfirmation?(k(),C("div",qLe,[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"]))},VLe),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"]))},KLe)])):I("",!0),o.showConfirmation?I("",!0):(k(),C("div",WLe,[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)},YLe),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())},QLe),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"]))},eIe)])),c("div",tIe,[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)}))},sIe),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)}))},rIe),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)}))},[iIe,o.has_updates?(k(),C("div",aIe,cIe)):I("",!0)]),c("div",dIe,[o.settingsChanged?(k(),C("div",uIe,[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"]))},fIe))])):I("",!0),o.isLoading?(k(),C("div",pIe,[c("p",null,U(o.loading_text),1),gIe,mIe])):I("",!0)])])]),c("div",{class:Ce(o.isLoading?"pointer-events-none opacity-30":"")},[c("div",_Ie,[c("div",bIe,[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,vIe,512),[[Ye,o.sc_collapsed]]),se(c("div",null,xIe,512),[[Ye,!o.sc_collapsed]]),kIe,EIe,c("div",CIe,[c("div",AIe,[c("div",null,[r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(k(),C("div",SIe,[(k(!0),C(Oe,null,Ve(r.vramUsage.gpus,p=>(k(),C("div",TIe,[(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"},RIe,8,MIe)),c("h3",NIe,[c("div",null,U(r.computedFileSize(p.used_vram))+" / "+U(r.computedFileSize(p.total_vram))+" ("+U(p.percentage)+"%) ",1)])]))),256))])):I("",!0),r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(k(),C("div",DIe,[c("div",LIe,[IIe,c("h3",PIe,[c("div",null,U(r.vramUsage.gpus.length)+"x ",1)])])])):I("",!0)]),FIe,c("h3",BIe,[c("div",null,U(r.ram_usage)+" / "+U(r.ram_total_space)+" ("+U(r.ram_percent_usage)+"%)",1)]),$Ie,c("h3",zIe,[c("div",null,U(r.disk_binding_models_usage)+" / "+U(r.disk_total_space)+" ("+U(r.disk_percent_usage)+"%)",1)])])])])]),c("div",{class:Ce([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",jIe,[UIe,c("div",qIe,[c("div",null,[HIe,xe(U(r.ram_available_space),1)]),c("div",null,[VIe,xe(" "+U(r.ram_usage)+" / "+U(r.ram_total_space)+" ("+U(r.ram_percent_usage)+")% ",1)])]),c("div",GIe,[c("div",KIe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),c("div",WIe,[ZIe,c("div",YIe,[c("div",null,[JIe,xe(U(r.disk_available_space),1)]),c("div",null,[QIe,xe(" "+U(r.disk_binding_models_usage)+" / "+U(r.disk_total_space)+" ("+U(r.disk_percent_usage)+"%)",1)])]),c("div",XIe,[c("div",ePe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(k(!0),C(Oe,null,Ve(r.vramUsage.gpus,p=>(k(),C("div",tPe,[nPe,c("div",sPe,[c("div",null,[oPe,xe(U(p.gpu_model),1)]),c("div",null,[rPe,xe(U(this.computedFileSize(p.available_space)),1)]),c("div",null,[iPe,xe(" "+U(this.computedFileSize(p.used_vram))+" / "+U(this.computedFileSize(p.total_vram))+" ("+U(p.percentage)+"%)",1)])]),c("div",aPe,[c("div",lPe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),c("div",cPe,[c("div",dPe,[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,hPe,512),[[Ye,o.minconf_collapsed]]),se(c("div",null,pPe,512),[[Ye,!o.minconf_collapsed]]),gPe])]),c("div",{class:Ce([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",mPe,[ae(i,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:Ne(()=>[c("table",_Pe,[c("tr",null,[bPe,c("td",yPe,[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),[[Re,r.configFile.host]])])]),c("tr",null,[vPe,c("td",wPe,[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),[[Re,r.configFile.port]])])]),c("tr",null,[xPe,c("td",kPe,[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),[[Re,r.configFile.db_path]])])]),c("tr",null,[EPe,c("td",null,[c("div",CPe,[se(c("input",{type:"checkbox",id:"auto_show_browser",required:"","onUpdate:modelValue":e[17]||(e[17]=p=>r.configFile.auto_show_browser=p),onChange:e[18]||(e[18]=p=>o.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.auto_show_browser]])])])]),c("tr",null,[APe,c("td",SPe,[c("div",TPe,[se(c("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[19]||(e[19]=p=>r.configFile.enable_gpu=p),onChange:e[20]||(e[20]=p=>o.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.enable_gpu]]),r.configFile.enable_gpu?I("",!0):(k(),C("button",{key:0,onClick:e[21]||(e[21]=de((...p)=>r.upgrade2GPU&&r.upgrade2GPU(...p),["prevent"])),class:"w-100 text-center rounded m-2 bg-blue-300 hover:bg-blue-200 text-l hover:text-primary p-2 m-2 text-left flex flex-row"}," Upgrade from CPU to GPU "))])])]),c("tr",null,[MPe,c("td",null,[c("div",OPe,[se(c("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[22]||(e[22]=p=>r.configFile.auto_save=p),onChange:e[23]||(e[23]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.auto_save]])])])]),c("tr",null,[RPe,c("td",null,[c("div",NPe,[se(c("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[24]||(e[24]=p=>r.configFile.auto_update=p),onChange:e[25]||(e[25]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.auto_update]])])])])])]),_:1}),ae(i,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:Ne(()=>[c("table",DPe,[c("tr",null,[LPe,c("td",IPe,[se(c("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[26]||(e[26]=p=>r.configFile.user_name=p),onChange:e[27]||(e[27]=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),[[Re,r.configFile.user_name]])])]),c("tr",null,[PPe,c("td",FPe,[se(c("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[28]||(e[28]=p=>r.configFile.user_description=p),onChange:e[29]||(e[29]=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),[[Re,r.configFile.user_description]])])]),c("tr",null,[BPe,c("td",$Pe,[se(c("input",{type:"checkbox",id:"override_personality_model_parameters",required:"","onUpdate:modelValue":e[30]||(e[30]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[31]||(e[31]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.override_personality_model_parameters]])])]),c("tr",null,[zPe,c("td",jPe,[c("label",UPe,[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,qPe)]),c("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[32]||(e[32]=(...p)=>r.uploadAvatar&&r.uploadAvatar(...p))},null,32)])]),c("tr",null,[HPe,c("td",null,[c("div",VPe,[se(c("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[33]||(e[33]=p=>r.configFile.use_user_name_in_discussions=p),onChange:e[34]||(e[34]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.use_user_name_in_discussions]])])])])])]),_:1}),ae(i,{title:"Files Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:Ne(()=>[c("table",GPe,[c("tr",null,[KPe,c("td",null,[c("div",WPe,[se(c("input",{type:"checkbox",id:"use_files",required:"","onUpdate:modelValue":e[35]||(e[35]=p=>r.configFile.use_files=p),onChange:e[36]||(e[36]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.use_files]])])])]),c("tr",null,[ZPe,c("td",null,[c("div",YPe,[se(c("input",{type:"checkbox",id:"data_vectorization_activate",required:"","onUpdate:modelValue":e[37]||(e[37]=p=>r.configFile.data_vectorization_activate=p),onChange:e[38]||(e[38]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.data_vectorization_activate]])])])]),c("tr",null,[JPe,c("td",null,[c("div",QPe,[se(c("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[39]||(e[39]=p=>r.configFile.data_vectorization_build_keys_words=p),onChange:e[40]||(e[40]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.data_vectorization_build_keys_words]])])])]),c("tr",null,[XPe,c("td",null,[se(c("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[41]||(e[41]=p=>r.configFile.data_vectorization_method=p),onChange:e[42]||(e[42]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},nFe,544),[[an,r.configFile.data_vectorization_method]])])]),c("tr",null,[sFe,c("td",null,[se(c("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[43]||(e[43]=p=>r.configFile.data_visualization_method=p),onChange:e[44]||(e[44]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},iFe,544),[[an,r.configFile.data_visualization_method]])])]),c("tr",null,[aFe,c("td",null,[c("div",lFe,[se(c("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[45]||(e[45]=p=>r.configFile.data_vectorization_save_db=p),onChange:e[46]||(e[46]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.data_vectorization_save_db]])])])]),c("tr",null,[cFe,c("td",null,[se(c("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[47]||(e[47]=p=>r.configFile.data_vectorization_chunk_size=p),onChange:e[48]||(e[48]=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),[[Re,r.configFile.data_vectorization_chunk_size]]),se(c("input",{"onUpdate:modelValue":e[49]||(e[49]=p=>r.configFile.data_vectorization_chunk_size=p),type:"number",onChange:e[50]||(e[50]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_chunk_size]])])]),c("tr",null,[dFe,c("td",null,[se(c("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[51]||(e[51]=p=>r.configFile.data_vectorization_overlap_size=p),onChange:e[52]||(e[52]=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),[[Re,r.configFile.data_vectorization_overlap_size]]),se(c("input",{"onUpdate:modelValue":e[53]||(e[53]=p=>r.configFile.data_vectorization_overlap_size=p),type:"number",onChange:e[54]||(e[54]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_overlap_size]])])]),c("tr",null,[uFe,c("td",null,[se(c("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[55]||(e[55]=p=>r.configFile.data_vectorization_nb_chunks=p),onChange:e[56]||(e[56]=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),[[Re,r.configFile.data_vectorization_nb_chunks]]),se(c("input",{"onUpdate:modelValue":e[57]||(e[57]=p=>r.configFile.data_vectorization_nb_chunks=p),type:"number",onChange:e[58]||(e[58]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_nb_chunks]])])])])]),_:1}),ae(i,{title:"Audio",is_subcard:!0,class:"pb-2 m-2"},{default:Ne(()=>[c("table",hFe,[c("tr",null,[fFe,c("td",null,[c("div",pFe,[se(c("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[59]||(e[59]=p=>r.configFile.audio_auto_send_input=p),onChange:e[60]||(e[60]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.audio_auto_send_input]])])])]),c("tr",null,[gFe,c("td",null,[c("div",mFe,[se(c("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[61]||(e[61]=p=>r.configFile.auto_speak=p),onChange:e[62]||(e[62]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Xe,r.configFile.auto_speak]])])])]),c("tr",null,[_Fe,c("td",null,[se(c("input",{id:"audio_pitch","onUpdate:modelValue":e[63]||(e[63]=p=>r.configFile.audio_pitch=p),onChange:e[64]||(e[64]=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),[[Re,r.configFile.audio_pitch]]),se(c("input",{"onUpdate:modelValue":e[65]||(e[65]=p=>r.configFile.audio_pitch=p),onChange:e[66]||(e[66]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.audio_pitch]])])]),c("tr",null,[bFe,c("td",null,[se(c("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[67]||(e[67]=p=>r.configFile.audio_silenceTimer=p),onChange:e[68]||(e[68]=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),[[Re,r.configFile.audio_silenceTimer]]),se(c("input",{"onUpdate:modelValue":e[69]||(e[69]=p=>r.configFile.audio_silenceTimer=p),onChange:e[70]||(e[70]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.audio_silenceTimer]])])]),c("tr",null,[yFe,c("td",null,[se(c("select",{id:"audio_in_language","onUpdate:modelValue":e[71]||(e[71]=p=>r.configFile.audio_in_language=p),onChange:e[72]||(e[72]=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(Oe,null,Ve(r.audioLanguages,p=>(k(),C("option",{key:p.code,value:p.code},U(p.name),9,vFe))),128))],544),[[an,r.configFile.audio_in_language]])])]),c("tr",null,[wFe,c("td",null,[se(c("select",{id:"audio_out_voice","onUpdate:modelValue":e[73]||(e[73]=p=>r.configFile.audio_out_voice=p),onChange:e[74]||(e[74]=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(Oe,null,Ve(o.audioVoices,p=>(k(),C("option",{key:p.name,value:p.name},U(p.name),9,xFe))),128))],544),[[an,r.configFile.audio_out_voice]])])])])]),_:1})])],2)]),c("div",kFe,[c("div",EFe,[c("button",{onClick:e[75]||(e[75]=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,AFe,512),[[Ye,o.bzc_collapsed]]),se(c("div",null,TFe,512),[[Ye,!o.bzc_collapsed]]),MFe,r.configFile.binding_name?I("",!0):(k(),C("div",OFe,[RFe,xe(" No binding selected! ")])),r.configFile.binding_name?(k(),C("div",NFe,"|")):I("",!0),r.configFile.binding_name?(k(),C("div",DFe,[c("div",LFe,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,IFe),c("h3",PFe,U(r.binding_name),1)])])):I("",!0)])]),c("div",{class:Ce([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr&&r.bindingsArr.length>0?(k(),C("div",FFe,[c("label",BFe," Bindings: ("+U(r.bindingsArr.length)+") ",1),c("div",{class:Ce(["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"])},[ae(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Oe,null,Ve(r.bindingsArr,(p,b)=>(k(),nt(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[76]||(e[76]=p=>o.bzl_collapsed=!o.bzl_collapsed)},zFe)):(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[77]||(e[77]=p=>o.bzl_collapsed=!o.bzl_collapsed)},UFe))],2)]),c("div",qFe,[c("div",HFe,[c("button",{onClick:e[78]||(e[78]=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,GFe,512),[[Ye,o.mzc_collapsed]]),se(c("div",null,WFe,512),[[Ye,!o.mzc_collapsed]]),ZFe,c("div",YFe,[r.configFile.binding_name?I("",!0):(k(),C("div",JFe,[QFe,xe(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(k(),C("div",XFe,[eBe,xe(" No model selected! ")])):I("",!0),r.configFile.model_name?(k(),C("div",tBe,"|")):I("",!0),r.configFile.model_name?(k(),C("div",nBe,[c("div",sBe,[c("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,oBe),c("h3",rBe,U(r.model_name),1)])])):I("",!0),r.isModelsLoading?(k(),C("div",iBe,[c("p",null,U(o.loading_text),1),aBe,lBe])):I("",!0)])])]),c("div",{class:Ce([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",cBe,[c("div",dBe,[c("div",uBe,[o.searchModelInProgress?(k(),C("div",hBe,pBe)):I("",!0),o.searchModelInProgress?I("",!0):(k(),C("div",gBe,_Be))]),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[79]||(e[79]=p=>o.searchModel=p),onKeyup:e[80]||(e[80]=de((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[Re,o.searchModel]]),o.searchModel?(k(),C("button",{key:0,onClick:e[81]||(e[81]=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)])]),c("div",null,[se(c("input",{"onUpdate:modelValue":e[82]||(e[82]=p=>o.show_only_installed_models=p),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[Xe,o.show_only_installed_models]]),bBe]),c("div",null,[ae(l,{radioOptions:o.sortOptions,onRadioSelected:r.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),o.searchModel?(k(),C("div",yBe,[o.modelsFiltered.length>0?(k(),C("div",vBe,[c("label",wBe," Search results: ("+U(o.modelsFiltered.length)+") ",1),c("div",{class:Ce(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 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",o.mzl_collapsed?"":"max-h-96"])},[ae(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Oe,null,Ve(o.show_only_installed_models?r.filter_installed(o.modelsFiltered):o.modelsFiltered,(p,b)=>(k(),nt(d,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.name,model:p,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.name===r.configFile.model_name,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):I("",!0)])):I("",!0),o.searchModel?I("",!0):(k(),C("div",xBe,[r.models&&r.models.length>0?(k(),C("div",kBe,[c("label",EBe," Models: ("+U(r.models.length)+") ",1),c("div",{class:Ce(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 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",o.mzl_collapsed?"":"max-h-96"])},[ae(Ut,{name:"list"},{default:Ne(()=>[(k(!0),C(Oe,null,Ve(o.show_only_installed_models?r.filter_installed(r.models):r.models,(p,b)=>(k(),nt(d,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.name,model:p,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.name===r.configFile.model_name,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","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[83]||(e[83]=(...p)=>r.open_mzl&&r.open_mzl(...p))},ABe)):(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[84]||(e[84]=(...p)=>r.open_mzl&&r.open_mzl(...p))},TBe))],2)]),c("div",MBe,[c("div",OBe,[c("button",{onClick:e[85]||(e[85]=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,NBe,512),[[Ye,o.mzdc_collapsed]]),se(c("div",null,LBe,512),[[Ye,!o.mzdc_collapsed]]),IBe,r.binding_name?I("",!0):(k(),C("div",PBe,[FBe,xe(" No binding selected! ")])),r.configFile.binding_name?(k(),C("div",BBe,"|")):I("",!0),r.configFile.binding_name?(k(),C("div",$Be,[c("div",zBe,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,jBe),c("h3",UBe,U(r.binding_name),1)])])):I("",!0)])]),c("div",{class:Ce([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",qBe,[c("div",HBe,[c("div",null,[c("div",VBe,[GBe,se(c("input",{type:"text","onUpdate:modelValue":e[86]||(e[86]=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),[[Re,o.reference_path]])]),c("button",{type:"button",onClick:e[87]||(e[87]=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",KBe,[c("div",WBe,[ZBe,se(c("input",{type:"text","onUpdate:modelValue":e[88]||(e[88]=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),[[Re,o.addModel.url]])]),c("button",{type:"button",onClick:e[89]||(e[89]=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",YBe,[JBe,c("div",QBe,[c("div",XBe,[c("div",e$e,[t$e,c("span",n$e,U(Math.floor(o.addModel.progress))+"%",1)]),c("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},U(o.addModel.url),9,s$e),c("div",o$e,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.addModel.progress+"%"})},null,4)]),c("div",r$e,[c("span",i$e,"Download speed: "+U(r.speed_computed)+"/s",1),c("span",a$e,U(r.downloaded_size_computed)+"/"+U(r.total_size_computed),1)])])]),c("div",l$e,[c("div",c$e,[c("div",d$e,[c("button",{onClick:e[90]||(e[90]=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",u$e,[c("div",h$e,[c("button",{onClick:e[92]||(e[92]=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,p$e,512),[[Ye,o.pzc_collapsed]]),se(c("div",null,m$e,512),[[Ye,!o.pzc_collapsed]]),_$e,r.configFile.personalities?(k(),C("div",b$e,"|")):I("",!0),c("div",y$e,U(r.active_pesonality),1),r.configFile.personalities?(k(),C("div",v$e,"|")):I("",!0),r.configFile.personalities?(k(),C("div",w$e,[r.mountedPersArr.length>0?(k(),C("div",x$e,[(k(!0),C(Oe,null,Ve(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",k$e,[c("button",{onClick:de(x=>r.onPersonalitySelected(p),["stop"])},[c("img",{src:o.bUrl+p.avatar,onError:e[91]||(e[91]=(...x)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...x)),class:Ce(["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,C$e)],8,E$e),c("button",{onClick:de(x=>r.onPersonalityMounted(p),["stop"])},T$e,8,A$e)])]))),128))])):I("",!0)])):I("",!0)])]),c("div",{class:Ce([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",M$e,[O$e,c("div",R$e,[c("div",N$e,[o.searchPersonalityInProgress?(k(),C("div",D$e,I$e)):I("",!0),o.searchPersonalityInProgress?I("",!0):(k(),C("div",P$e,B$e))]),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[93]||(e[93]=p=>o.searchPersonality=p),onKeyup:e[94]||(e[94]=de((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Re,o.searchPersonality]]),o.searchPersonality?(k(),C("button",{key:0,onClick:e[95]||(e[95]=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",$$e,[c("label",z$e," Personalities Category: ("+U(o.persCatgArr.length)+") ",1),c("select",{id:"persCat",onChange:e[96]||(e[96]=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(Oe,null,Ve(o.persCatgArr,(p,b)=>(k(),C("option",{key:b,selected:p==this.configFile.personality_category},U(p),9,j$e))),128))],32)])),c("div",null,[o.personalitiesFiltered.length>0?(k(),C("div",U$e,[c("label",q$e,U(o.searchPersonality?"Search results":"Personalities")+": ("+U(o.personalitiesFiltered.length)+") ",1),c("div",{class:Ce(["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"])},[ae(Ut,{name:"bounce"},{default:Ne(()=>[(k(!0),C(Oe,null,Ve(o.personalitiesFiltered,(p,b)=>(k(),nt(u,{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(x=>x===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[97]||(e[97]=p=>o.pzl_collapsed=!o.pzl_collapsed)},V$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[98]||(e[98]=p=>o.pzl_collapsed=!o.pzl_collapsed)},K$e))],2)]),c("div",W$e,[c("div",Z$e,[c("button",{onClick:e[99]||(e[99]=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,J$e,512),[[Ye,o.mc_collapsed]]),se(c("div",null,X$e,512),[[Ye,!o.mc_collapsed]]),eze])]),c("div",{class:Ce([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[c("div",tze,[c("div",nze,[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[100]||(e[100]=de(()=>{},["stop"])),"onUpdate:modelValue":e[101]||(e[101]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[102]||(e[102]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[Xe,r.configFile.override_personality_model_parameters]]),sze])]),c("div",{class:Ce(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[c("div",oze,[rze,se(c("input",{type:"text",id:"seed","onUpdate:modelValue":e[103]||(e[103]=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),[[Re,r.configFile.seed]])]),c("div",ize,[c("div",aze,[c("div",lze,[cze,c("p",dze,[se(c("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[104]||(e[104]=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),[[Re,r.configFile.temperature]])])]),se(c("input",{id:"temperature",type:"range","onUpdate:modelValue":e[105]||(e[105]=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),[[Re,r.configFile.temperature]])])]),c("div",uze,[c("div",hze,[c("div",fze,[pze,c("p",gze,[se(c("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[106]||(e[106]=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),[[Re,r.configFile.n_predict]])])]),se(c("input",{id:"predict",type:"range","onUpdate:modelValue":e[107]||(e[107]=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),[[Re,r.configFile.n_predict]])])]),c("div",mze,[c("div",_ze,[c("div",bze,[yze,c("p",vze,[se(c("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[108]||(e[108]=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),[[Re,r.configFile.top_k]])])]),se(c("input",{id:"top_k",type:"range","onUpdate:modelValue":e[109]||(e[109]=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),[[Re,r.configFile.top_k]])])]),c("div",wze,[c("div",xze,[c("div",kze,[Eze,c("p",Cze,[se(c("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[110]||(e[110]=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),[[Re,r.configFile.top_p]])])]),se(c("input",{id:"top_p",type:"range","onUpdate:modelValue":e[111]||(e[111]=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),[[Re,r.configFile.top_p]])])]),c("div",Aze,[c("div",Sze,[c("div",Tze,[Mze,c("p",Oze,[se(c("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[112]||(e[112]=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),[[Re,r.configFile.repeat_penalty]])])]),se(c("input",{id:"repeat_penalty",type:"range","onUpdate:modelValue":e[113]||(e[113]=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),[[Re,r.configFile.repeat_penalty]])])]),c("div",Rze,[c("div",Nze,[c("div",Dze,[Lze,c("p",Ize,[se(c("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[114]||(e[114]=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),[[Re,r.configFile.repeat_last_n]])])]),se(c("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[115]||(e[115]=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),[[Re,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),ae(h,{ref:"toast"},null,512),ae(f,{ref:"yesNoDialog",class:"z-20"},null,512),ae(g,{ref:"addmodeldialog"},null,512),ae(m,{ref:"messageBox"},null,512),ae(_,{ref:"universalForm",class:"z-20"},null,512),ae(v,{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 Fze=ze(zLe,[["render",Pze],["__scopeId","data-v-11b8a490"]]),Bze={components:{ClipBoardTextInput:wc,Card:jo},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.selectedModel,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])}},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},$ze={key:0,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"},zze={class:"mb-4"},jze=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),Uze=["value"],qze={class:"mb-4"},Hze=c("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),Vze={class:"mb-4"},Gze=c("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),Kze={class:"mb-4"},Wze=c("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),Zze={class:"mb-4"},Yze=c("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),Jze={class:"mb-4"},Qze=c("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),Xze={class:"mb-4"},eje=c("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),tje=c("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1),nje={key:1};function sje(t,e,n,s,o,r){const i=Fe("Card"),a=Fe("ClipBoardTextInput");return r.selectedModel!==null&&r.selectedModel.toLowerCase().includes("gptq")?(k(),C("div",$ze,[c("form",{onSubmit:e[2]||(e[2]=de((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:""},[ae(i,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ae(i,{title:"Model",class:"",isHorizontal:!1},{default:Ne(()=>[c("div",zze,[jze,se(c("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>r.selectedModel=l),onChange:e[1]||(e[1]=(...l)=>t.setModel&&t.setModel(...l)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(k(!0),C(Oe,null,Ve(r.models,l=>(k(),C("option",{key:l,value:l},U(l),9,Uze))),128))],544),[[an,r.selectedModel]])])]),_:1}),ae(i,{title:"Data",isHorizontal:!1},{default:Ne(()=>[c("div",qze,[Hze,ae(a,{id:"model_path",inputType:"file",value:o.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),ae(i,{title:"Training",isHorizontal:!1},{default:Ne(()=>[c("div",Vze,[Gze,ae(a,{id:"model_path",inputType:"integer",value:o.lr},null,8,["value"])]),c("div",Kze,[Wze,ae(a,{id:"model_path",inputType:"integer",value:o.num_epochs},null,8,["value"])]),c("div",Zze,[Yze,ae(a,{id:"model_path",inputType:"integer",value:o.max_length},null,8,["value"])]),c("div",Jze,[Qze,ae(a,{id:"model_path",inputType:"integer",value:o.batch_size},null,8,["value"])])]),_:1}),ae(i,{title:"Output",isHorizontal:!1},{default:Ne(()=>[c("div",Xze,[eje,ae(a,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),ae(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[tje]),_:1})],32)])):(k(),C("div",nje,[ae(i,{title:"Info",class:"",isHorizontal:!1},{default:Ne(()=>[xe(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")]),_:1})]))}const oje=ze(Bze,[["render",sje]]),rje={components:{ClipBoardTextInput:wc,Card:jo},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)}}},ije={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"},aje={class:"mb-4"},lje=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),cje={class:"mb-4"},dje=c("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),uje=c("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function hje(t,e,n,s,o,r){const i=Fe("ClipBoardTextInput"),a=Fe("Card");return k(),C("div",ije,[c("form",{onSubmit:e[0]||(e[0]=de((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[ae(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[ae(a,{title:"Model",class:"",isHorizontal:!1},{default:Ne(()=>[c("div",aje,[lje,ae(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),c("div",cje,[dje,ae(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),ae(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[uje]),_:1})],32)])}const fje=ze(rje,[["render",hje]]),pje={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}}},gje=["id"],mje={class:"flex flex-row items-center gap-2"},_je={key:0},bje=["title"],yje=["value"],vje={class:"flex items-center flex-1 max-h-6"},wje={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},xje=c("i",{"data-feather":"check"},null,-1),kje=[xje],Eje=c("i",{"data-feather":"x"},null,-1),Cje=[Eje],Aje={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},Sje=c("i",{"data-feather":"x"},null,-1),Tje=[Sje],Mje=c("i",{"data-feather":"check"},null,-1),Oje=[Mje],Rje={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},Nje=c("i",{"data-feather":"edit-2"},null,-1),Dje=[Nje],Lje=c("i",{"data-feather":"trash"},null,-1),Ije=[Lje];function Pje(t,e,n,s,o,r){return k(),C("div",{class:Ce([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",mje,[n.isCheckbox?(k(),C("div",_je,[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),[[Xe,o.checkBoxValue_local]])])):I("",!0),n.selected?(k(),C("div",{key:1,class:Ce(["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:Ce(["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"},U(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,bje)),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]=Qa(de(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Qa(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,yje)):I("",!0),c("div",vje,[o.showConfirmation&&!o.editTitleMode?(k(),C("div",wje,[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"]))},kje),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"]))},Cje)])):I("",!0),o.showConfirmation&&o.editTitleMode?(k(),C("div",Aje,[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"]))},Tje),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"]))},Oje)])):I("",!0),o.showConfirmation?I("",!0):(k(),C("div",Rje,[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"]))},Dje),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"]))},Ije)]))])],10,gje)}const Ug=ze(pje,[["render",Pje]]),Fje={props:{htmlContent:{type:String,required:!0}}},Bje=["innerHTML"];function $je(t,e,n,s,o,r){return k(),C("div",null,[c("div",{innerHTML:n.htmlContent},null,8,Bje)])}const zje=ze(Fje,[["render",$je]]);const jje={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,"<br>");return console.log(t),console.log(this.jsonFormText),t}else{let t=JSON.stringify(this.jsonData,null," ").replace(/\n/g,"<br>");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}}},Uje={key:0},qje={class:"toggle-icon mr-1"},Hje={key:0,class:"fas fa-plus-circle text-gray-600"},Vje={key:1,class:"fas fa-minus-circle text-gray-600"},Gje={class:"json-viewer max-h-64 overflow-auto p-4 bg-gray-100 border border-gray-300 rounded dark:bg-gray-600"},Kje={key:0,class:"fas fa-plus-circle text-gray-600"},Wje={key:1,class:"fas fa-minus-circle text-gray-600"},Zje=["innerHTML"];function Yje(t,e,n,s,o,r){return r.isContentPresent?(k(),C("div",Uje,[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",qje,[o.collapsed?(k(),C("i",Hje)):(k(),C("i",Vje))]),xe(" "+U(n.jsonFormText),1)]),se(c("div",null,[c("div",Gje,[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",Kje)):(k(),C("i",Wje))])):I("",!0),c("pre",{innerHTML:r.formattedJson},null,8,Zje)])],512),[[Ye,!o.collapsed]])])):I("",!0)}const Jje=ze(jje,[["render",Yje]]),Qje={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0},status:{type:Boolean,required:!0}}},Xje={class:"step flex items-center mb-4"},eUe={class:"flex items-center justify-center w-6 h-6 mr-2"},tUe={key:0},nUe=c("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),sUe=[nUe],oUe={key:1},rUe=c("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),iUe=[rUe],aUe={key:2},lUe=c("i",{"data-feather":"x-square",class:"text-red-500 w-4 h-4"},null,-1),cUe=[lUe],dUe={key:0,role:"status"},uUe=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),hUe=[uUe];function fUe(t,e,n,s,o,r){return k(),C("div",Xje,[c("div",eUe,[n.done?I("",!0):(k(),C("div",tUe,sUe)),n.done&&n.status?(k(),C("div",oUe,iUe)):I("",!0),n.done&&!n.status?(k(),C("div",aUe,cUe)):I("",!0)]),n.done?I("",!0):(k(),C("div",dUe,hUe)),c("div",{class:Ce(["content flex-1 px-2",{"text-green-500":n.done,"text-yellow-500":!n.done}])},U(n.message),3)])}const pUe=ze(Qje,[["render",fUe]]);const gUe={props:{code:String},data(){return{evaluatedCode:""}},watch:{code:{handler(t){this.evaluateScriptTags(t)},immediate:!0}},methods:{evaluateScriptTags(t){const e=document.createElement("div");e.innerHTML=t,e.querySelectorAll("script").forEach(s=>{const o=document.createElement("script");o.textContent=s.textContent,document.body.appendChild(o),document.body.removeChild(o)}),this.evaluatedCode=e.innerHTML}}},mUe=["innerHTML"];function _Ue(t,e,n,s,o,r){return k(),C("div",{innerHTML:o.evaluatedCode},null,8,mUe)}const bUe=ze(gUe,[["render",_Ue]]);const yUe="/",vUe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:Bg,Step:pUe,RenderHTMLJS:zje,JsonViewer:Jje,DynamicUIRenderer:bUe},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<this.message.content.length-2?setTimeout(()=>{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?yUe+this.avatar:ss},defaultImg(t){t.target.src=ss},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:{message_ui:{get(){return this.message.ui}},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"}}},wUe={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"},xUe={class:"flex flex-row gap-2"},kUe={class:"flex-shrink-0"},EUe={class:"group/avatar"},CUe=["src","data-popover-target"],AUe={class:"flex flex-col w-full flex-grow-0"},SUe={class:"flex flex-row flex-grow items-start"},TUe={class:"flex flex-col mb-2"},MUe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},OUe=["title"],RUe=c("div",{class:"flex-grow"},null,-1),NUe={class:"flex-row justify-end mx-2"},DUe={class:"invisible group-hover:visible flex flex-row"},LUe={key:0,class:"flex items-center duration-75"},IUe=c("i",{"data-feather":"x"},null,-1),PUe=[IUe],FUe=c("i",{"data-feather":"check"},null,-1),BUe=[FUe],$Ue=c("i",{"data-feather":"edit"},null,-1),zUe=[$Ue],jUe=c("i",{"data-feather":"copy"},null,-1),UUe=[jUe],qUe=c("i",{"data-feather":"refresh-cw"},null,-1),HUe=[qUe],VUe=c("i",{"data-feather":"fast-forward"},null,-1),GUe=[VUe],KUe={key:4,class:"flex items-center duration-75"},WUe=c("i",{"data-feather":"x"},null,-1),ZUe=[WUe],YUe=c("i",{"data-feather":"check"},null,-1),JUe=[YUe],QUe=c("i",{"data-feather":"trash"},null,-1),XUe=[QUe],eqe=c("i",{"data-feather":"thumbs-up"},null,-1),tqe=[eqe],nqe={class:"flex flex-row items-center"},sqe=c("i",{"data-feather":"thumbs-down"},null,-1),oqe=[sqe],rqe={class:"flex flex-row items-center"},iqe=c("i",{"data-feather":"volume-2"},null,-1),aqe=[iqe],lqe={class:"overflow-x-auto w-full"},cqe={class:"flex flex-col items-start w-full"},dqe={class:"flex flex-col items-start w-full"},uqe={key:2},hqe={class:"text-sm text-gray-400 mt-2"},fqe={class:"flex flex-row items-center gap-2"},pqe={key:0},gqe={class:"font-thin"},mqe={key:1},_qe={class:"font-thin"},bqe={key:2},yqe={class:"font-thin"},vqe={key:3},wqe=["title"];function xqe(t,e,n,s,o,r){const i=Fe("Step"),a=Fe("RenderHTMLJS"),l=Fe("MarkdownRenderer"),d=Fe("JsonViewer"),u=Fe("DynamicUIRenderer");return k(),C("div",wUe,[c("div",xUe,[c("div",kUe,[c("div",EUe,[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,CUe)])]),c("div",AUe,[c("div",SUe,[c("div",TUe,[c("div",MUe,U(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},U(r.created_at),9,OUe)):I("",!0)]),RUe,c("div",NUe,[c("div",DUe,[o.editMsgMode?(k(),C("div",LUe,[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"]))},PUe),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"]))},BUe)])):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"]))},zUe)),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"]))},UUe),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"]))},HUe)):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"]))},GUe)):I("",!0),o.deleteMsgMode?(k(),C("div",KUe,[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"]))},ZUe),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"]))},JUe)])):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)},XUe)),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"]))},tqe),c("div",nqe,[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"]))},oqe),n.message.rank!=0?(k(),C("div",{key:0,class:Ce(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},U(n.message.rank),3)):I("",!0)]),c("div",rqe,[c("div",{class:Ce(["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"]))},aqe,2)])])])]),c("div",lqe,[c("div",cqe,[(k(!0),C(Oe,null,Ve(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"})},[ae(i,{done:h.done,message:h.message,status:h.status},null,8,["done","message","status"])],4))),128))]),c("div",dqe,[(k(!0),C(Oe,null,Ve(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"})},[ae(a,{htmlContent:h},null,8,["htmlContent"])],4))),128))]),o.editMsgMode?I("",!0):(k(),nt(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=>n.message.content=h)},null,4)),[[Re,n.message.content]]):I("",!0),n.message.metadata!==null?(k(),C("div",uqe,[(k(!0),C(Oe,null,Ve(n.message.metadata,(h,f)=>(k(),C("div",{key:"json-"+n.message.id+"-"+f,class:"json font-bold"},[ae(d,{jsonFormText:h.title,jsonData:h.content},null,8,["jsonFormText","jsonData"])]))),128))])):I("",!0),n.message.ui!==null&&n.message.ui!==void 0&&n.message.ui!==""?(k(),nt(u,{key:3,class:"w-full h-full",code:r.message_ui},null,8,["code"])):I("",!0)]),c("div",hqe,[c("div",fqe,[n.message.binding?(k(),C("p",pqe,[xe("Binding: "),c("span",gqe,U(n.message.binding),1)])):I("",!0),n.message.model?(k(),C("p",mqe,[xe("Model: "),c("span",_qe,U(n.message.model),1)])):I("",!0),n.message.seed?(k(),C("p",bqe,[xe("Seed: "),c("span",yqe,U(n.message.seed),1)])):I("",!0),r.time_spent?(k(),C("p",vqe,[xe("Time spent: "),c("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},U(r.time_spent),9,wqe)])):I("",!0)])])])])])}const qg=ze(vUe,[["render",xqe]]),kqe="/";ye.defaults.baseURL="/";const Eqe={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{UniversalForm:xc},data(){return{bUrl:kqe,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=ss}}},Cqe={class:"w-fit select-none"},Aqe={key:0,class:"flex -space-x-4"},Sqe=["src","title"],Tqe={key:1,class:"flex -space-x-4"},Mqe=["src","title"],Oqe={key:2,title:"Loading personalities"},Rqe=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),Nqe=[Rqe];function Dqe(t,e,n,s,o,r){const i=Fe("UniversalForm");return k(),C(Oe,null,[c("div",Cqe,[r.mountedPersArr.length>1?(k(),C("div",Aqe,[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,Sqe),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"},"+"+U(r.mountedPersArr.length-1),1)])):I("",!0),r.mountedPersArr.length==1?(k(),C("div",Tqe,[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,Mqe)])):I("",!0),r.mountedPersArr.length==0?(k(),C("div",Oqe,Nqe)):I("",!0)]),ae(i,{ref:"universalForm",class:"z-20"},null,512)],64)}const Lqe=ze(Eqe,[["render",Dqe]]);const Iqe="/";ye.defaults.baseURL="/";const Pqe={props:{onTalk:Function,onMountUnmount:Function,onRemount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:jg,Toast:Ys,UniversalForm:xc},name:"MountedPersonalitiesList",data(){return{bUrl:Iqe,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=ss},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.
`+s,4,!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses.
Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={category:t.category,folder:t.folder,language:t.lang},n=await ye.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async remount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={category:t.category,folder:t.folder,language:t.lang},n=await ye.post("/remount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"remount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={category:t.category,folder:t.folder};try{const n=await ye.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await ye.post("/select_personality",n);if(s)return this.toggleMountUnmount(),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),s.data}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,this.toggleMountUnmount(),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
Error: `+e.error,4,!1))},async reMountPersonality(t){if(console.log("remount pers",t),!t)return;if(!this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality not mounted",4,!1);return}const e=await this.remount_personality(t.personality);console.log("remount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality remounted",4,!0),t.isMounted=!0,this.toggleMountUnmount(),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.toggleMountUnmount(),console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.configFile.personalities[this.configFile.active_personality_id];console.log();const s=this.personalities.findIndex(a=>a.full_path==n),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[s]);const r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[o].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&this.$refs.toast.showToast(`Selected personality:
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;e<this.configFile.personalities.length;e++){const n=this.configFile.personalities[e],s=this.personalities.findIndex(r=>r.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;e<this.discussionPersonalities.length;e++){const n=this.discussionPersonalities[e];console.log("discussionPersonalities - per",n);const s=this.mountedPersArr.findIndex(o=>o.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=>(is("data-v-d93302b0"),t=t(),as(),t),Fqe={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"},Bqe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},$qe=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)),zqe=kc(()=>c("span",{class:"sr-only"},"Loading...",-1)),jqe=[$qe,zqe],Uqe=kc(()=>c("i",{"data-feather":"chevron-down"},null,-1)),qqe=[Uqe],Hqe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},Vqe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function Gqe(t,e,n,s,o,r){const i=Fe("personality-entry"),a=Fe("Toast"),l=Fe("UniversalForm");return k(),C("div",Fqe,[o.isLoading?(k(),C("div",Bqe,jqe)):I("",!0),c("div",null,[r.mountedPersArr.length>0?(k(),C("div",{key:0,class:Ce(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"]))},qqe),c("label",Hqe," Mounted Personalities: ("+U(r.mountedPersArr.length)+") ",1),c("div",Vqe,[ae(Ut,{name:"bounce"},{default:Ne(()=>[(k(!0),C(Oe,null,Ve(this.$store.state.mountedPersArr,(d,u)=>(k(),nt(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)]),ae(a,{ref:"toast"},null,512),ae(l,{ref:"universalForm",class:"z-20"},null,512)])}const Kqe=ze(Pqe,[["render",Gqe],["__scopeId","data-v-d93302b0"]]);const Wqe={components:{InteractiveMenu:xi},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)}},Zqe=t=>(is("data-v-52cfa09c"),t=t(),as(),t),Yqe={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Jqe=Zqe(()=>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)),Qqe=[Jqe];function Xqe(t,e,n,s,o,r){const i=Fe("InteractiveMenu");return o.loading?(k(),C("div",Yqe,Qqe)):(k(),nt(i,{key:1,commands:n.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const eHe=ze(Wqe,[["render",Xqe],["__scopeId","data-v-52cfa09c"]]);const tHe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{Toast:Ys,MountedPersonalities:Lqe,MountedPersonalitiesList:Kqe,PersonalitiesCommands:eHe,InteractiveMenu:xi},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<this.discussionList.length;e++)!t.includes(this.discussionList[e].personality)&&!this.discussionList[e].personality==""&&t.push(this.discussionList[e].personality);return console.log("conputer pers",t),console.log("dis conputer pers",this.discussionList),t}}},methods:{showModels(t){t.preventDefault();const e=this.$refs.modelsSelectionList;console.log(e);const n=new MouseEvent("click");e.dispatchEvent(n)},commandify(t){let e=[];for(var n=0;n<t.length;n++){let s={};s.name=t[n],s.value=t[n],e.push(s)}return e},setModel(t){console.log("Setting model to "+t),this.selecting_model=!0,this.selectedModel=t,ye.post("/update_setting",{setting_name:"model_name",setting_value:t.value}).then(e=>{console.log(e),this.$refs.toast.showToast(`Model changed to ${t.value}`,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);try{this.fileList.removeItem(t)}catch{}}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<t.results.length;n++)e+=t.results[n][0].transcript;this.message=e,clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{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){console.log("Adding file"),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<t.length;s++)n=n+parseInt(t[s].size);this.totalSize=Gt(n,!0)},deep:!0},discussionList(t){console.log("discussion arr",t)}},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)}),be(()=>{ve.replace()})},activated(){be(()=>{ve.replace()})}},ft=t=>(is("data-v-b9213601"),t=t(),as(),t),nHe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},sHe={key:0,class:"flex items-center justify-center w-full"},oHe={class:"flex flex-row p-2 rounded-t-lg"},rHe=ft(()=>c("label",{for:"chat",class:"sr-only"},"Send message",-1)),iHe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},aHe={class:"flex flex-col gap-2"},lHe={class:"flex"},cHe=["title"],dHe=ft(()=>c("i",{"data-feather":"list"},null,-1)),uHe=[dHe],hHe={key:0},fHe={key:0,class:"flex flex-col max-h-64"},pHe=["title"],gHe={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"},mHe={key:0,fileList:"",role:"status"},_He=ft(()=>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)),bHe=ft(()=>c("span",{class:"sr-only"},"Loading...",-1)),yHe=[_He,bHe],vHe=ft(()=>c("div",null,[c("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),wHe={class:"line-clamp-1 w-3/5"},xHe=ft(()=>c("div",{class:"grow"},null,-1)),kHe={class:"flex flex-row items-center"},EHe={class:"whitespace-nowrap"},CHe=["onClick"],AHe=ft(()=>c("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),SHe=[AHe],THe={key:1,class:"flex items-center mx-1"},MHe={class:"whitespace-nowrap flex flex-row gap-2"},OHe=ft(()=>c("p",{class:"font-bold"}," Total size: ",-1)),RHe=ft(()=>c("div",{class:"grow"},null,-1)),NHe=ft(()=>c("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),DHe=[NHe],LHe={key:2,class:"mx-1"},IHe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},PHe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},FHe=ft(()=>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)),BHe=[FHe],$He={class:"w-fit"},zHe={class:"w-fit"},jHe={class:"relative grow"},UHe=ft(()=>c("i",{"data-feather":"file-plus"},null,-1)),qHe=[UHe],HHe={class:"inline-flex justify-center rounded-full"},VHe=ft(()=>c("i",{"data-feather":"mic"},null,-1)),GHe=[VHe],KHe=ft(()=>c("i",{"data-feather":"send"},null,-1)),WHe=ft(()=>c("span",{class:"sr-only"},"Send message",-1)),ZHe=[KHe,WHe],YHe={key:1,title:"Waiting for reply"},JHe=ft(()=>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)),QHe=[JHe];function XHe(t,e,n,s,o,r){const i=Fe("MountedPersonalitiesList"),a=Fe("InteractiveMenu"),l=Fe("MountedPersonalities"),d=Fe("PersonalitiesCommands"),u=Fe("Toast");return k(),C(Oe,null,[c("div",nHe,[n.loading?(k(),C("div",sHe,[c("div",oHe,[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 ")])])):I("",!0),c("form",null,[rHe,c("div",iHe,[c("div",aHe,[c("div",lHe,[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"]))},uHe,8,cHe)):I("",!0)]),o.fileList.length>0&&o.showFileList==!0?(k(),C("div",hHe,[o.fileList.length>0?(k(),C("div",fHe,[ae(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(Oe,null,Ve(o.fileList,(h,f)=>(k(),C("div",{key:f+"-"+h.name},[c("div",{class:"m-1",title:h.name},[c("div",gHe,[o.isFileSentList[f]?I("",!0):(k(),C("div",mHe,yHe)),vHe,c("div",wHe,U(h.name),1),xHe,c("div",kHe,[c("p",EHe,U(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:g=>r.removeItem(h)},SHe,8,CHe)])])],8,pHe)]))),128))]),_:1})])):I("",!0)])):I("",!0),o.fileList.length>0?(k(),C("div",THe,[c("div",MHe,[OHe,xe(" "+U(o.totalSize)+" ("+U(o.fileList.length)+") ",1)]),RHe,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))},DHe)])):I("",!0),o.showPersonalities?(k(),C("div",LHe,[ae(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",IHe,[ae(a,{title:o.selectedModel,execute_cmd:r.setModel,icon:o.models_menu_icon,commands:r.commandify(o.models),selected_entry:o.selectedModel},null,8,["title","execute_cmd","icon","commands","selected_entry"]),o.selecting_model?(k(),C("div",PHe,BHe)):I("",!0),c("div",$He,[ae(l,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),c("div",zHe,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(k(),nt(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"])):I("",!0)]),c("div",jHe,[se(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]=Qa(de(h=>r.submitOnEnter(h),["exact"]),["enter"]))},`\r
\r
\r
`,544),[[Re,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"},qHe)]),c("div",HHe,[c("button",{type:"button",onClick:e[7]||(e[7]=(...h)=>r.startSpeechRecognition&&r.startSpeechRecognition(...h)),class:Ce([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},GHe,2),n.loading?I("",!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"},ZHe)),n.loading?(k(),C("div",YHe,QHe)):I("",!0)])])])])])]),ae(u,{ref:"toast"},null,512)],64)}const Hg=ze(tHe,[["render",XHe],["__scopeId","data-v-b9213601"]]),eVe={name:"WelcomeComponent",setup(){return{}}},tVe={class:"flex flex-col text-center"},nVe=Gs('<div class="flex flex-col text-center items-center"><div class="flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"><img class="w-24 animate-bounce" title="LoLLMS WebUI" src="'+oc+'" alt="Logo"><div class="flex flex-col items-start"><p class="text-2xl">Lord of Large Language Models</p><p class="text-gray-400 text-base">One tool to rule them all</p></div></div><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"><p class="text-2xl">Welcome</p><p class="text-lg">Please create a new discussion or select existing one to start</p></div>',1),sVe=[nVe];function oVe(t,e,n,s,o,r){return k(),C("div",tVe,sVe)}const Vg=ze(eVe,[["render",oVe]]);const rVe={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()})}}},iVe={class:"text-4xl text-center"};function aVe(t,e,n,s,o,r){return k(),nt(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:Ce(["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",iVe,[Cr(t.$slots,"default",{},()=>[xe(" Drop your files here ")])])],2)],32)):I("",!0)]),_:3})}const yl=ze(rVe,[["render",aVe]]);var lVe=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}(),Lr=globalThis&&globalThis.__assign||function(){return Lr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Lr.apply(this,arguments)},Ir={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},Gg=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=Ir),this._items=e,this._options=Lr(Lr({},Ir),n),this._init()}return t.prototype._init=function(){var e=this;this._items.length&&this._items.map(function(n){n.active&&e.open(n.id),n.triggerEl.addEventListener("click",function(){e.toggle(n.id)})})},t.prototype.getItem=function(e){return this._items.filter(function(n){return n.id===e})[0]},t.prototype.open=function(e){var n,s,o=this,r=this.getItem(e);this._options.alwaysOpen||this._items.map(function(i){var a,l;i!==r&&((a=i.triggerEl.classList).remove.apply(a,o._options.activeClasses.split(" ")),(l=i.triggerEl.classList).add.apply(l,o._options.inactiveClasses.split(" ")),i.targetEl.classList.add("hidden"),i.triggerEl.setAttribute("aria-expanded","false"),i.active=!1,i.iconEl&&i.iconEl.classList.remove("rotate-180"))}),(n=r.triggerEl.classList).add.apply(n,this._options.activeClasses.split(" ")),(s=r.triggerEl.classList).remove.apply(s,this._options.inactiveClasses.split(" ")),r.triggerEl.setAttribute("aria-expanded","true"),r.targetEl.classList.remove("hidden"),r.active=!0,r.iconEl&&r.iconEl.classList.add("rotate-180"),this._options.onOpen(this,r)},t.prototype.toggle=function(e){var n=this.getItem(e);n.active?this.close(e):this.open(e),this._options.onToggle(this,n)},t.prototype.close=function(e){var n,s,o=this.getItem(e);(n=o.triggerEl.classList).remove.apply(n,this._options.activeClasses.split(" ")),(s=o.triggerEl.classList).add.apply(s,this._options.inactiveClasses.split(" ")),o.targetEl.classList.add("hidden"),o.triggerEl.setAttribute("aria-expanded","false"),o.active=!1,o.iconEl&&o.iconEl.classList.remove("rotate-180"),this._options.onClose(this,o)},t}();typeof window<"u"&&(window.Accordion=Gg);function Kg(){document.querySelectorAll("[data-accordion]").forEach(function(t){var e=t.getAttribute("data-accordion"),n=t.getAttribute("data-active-classes"),s=t.getAttribute("data-inactive-classes"),o=[];t.querySelectorAll("[data-accordion-target]").forEach(function(r){var i={id:r.getAttribute("data-accordion-target"),triggerEl:r,targetEl:document.querySelector(r.getAttribute("data-accordion-target")),iconEl:r.querySelector("[data-accordion-icon]"),active:r.getAttribute("aria-expanded")==="true"};o.push(i)}),new Gg(o,{alwaysOpen:e==="open",activeClasses:n||Ir.activeClasses,inactiveClasses:s||Ir.inactiveClasses})})}var Pr=globalThis&&globalThis.__assign||function(){return Pr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Pr.apply(this,arguments)},Oh={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},Wg=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Oh),this._targetEl=e,this._triggerEl=n,this._options=Pr(Pr({},Oh),s),this._visible=!1,this._init()}return t.prototype._init=function(){var e=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){e.toggle()}))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();typeof window<"u"&&(window.Collapse=Wg);function Zg(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var e=t.getAttribute("data-collapse-toggle"),n=document.getElementById(e);n?new Wg(n,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))})}var Vn=globalThis&&globalThis.__assign||function(){return Vn=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Vn.apply(this,arguments)},yr={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},Yg=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=yr),this._items=e,this._options=Vn(Vn(Vn({},yr),n),{indicators:Vn(Vn({},yr.indicators),n.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return t.prototype._init=function(){var e=this;this._items.map(function(n){n.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(n,s){n.el.addEventListener("click",function(){e.slideTo(s)})})},t.prototype.getItem=function(e){return this._items[e]},t.prototype.slideTo=function(e){var n=this._items[e],s={left:n.position===0?this._items[this._items.length-1]:this._items[n.position-1],middle:n,right:n.position===this._items.length-1?this._items[0]:this._items[n.position+1]};this._rotate(s),this._setActiveItem(n),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var e=this._getActiveItem(),n=null;e.position===this._items.length-1?n=this._items[0]:n=this._items[e.position+1],this.slideTo(n.position),this._options.onNext(this)},t.prototype.prev=function(){var e=this._getActiveItem(),n=null;e.position===0?n=this._items[this._items.length-1]:n=this._items[e.position-1],this.slideTo(n.position),this._options.onPrev(this)},t.prototype._rotate=function(e){this._items.map(function(n){n.el.classList.add("hidden")}),e.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),e.left.el.classList.add("-translate-x-full","z-10"),e.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),e.middle.el.classList.add("translate-x-0","z-20"),e.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),e.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var e=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){e.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(e){var n,s,o=this;this._activeItem=e;var r=e.position;this._indicators.length&&(this._indicators.map(function(i){var a,l;i.el.setAttribute("aria-current","false"),(a=i.el.classList).remove.apply(a,o._options.indicators.activeClasses.split(" ")),(l=i.el.classList).add.apply(l,o._options.indicators.inactiveClasses.split(" "))}),(n=this._indicators[r].el.classList).add.apply(n,this._options.indicators.activeClasses.split(" ")),(s=this._indicators[r].el.classList).remove.apply(s,this._options.indicators.inactiveClasses.split(" ")),this._indicators[r].el.setAttribute("aria-current","true"))},t}();typeof window<"u"&&(window.Carousel=Yg);function Jg(){document.querySelectorAll("[data-carousel]").forEach(function(t){var e=t.getAttribute("data-carousel-interval"),n=t.getAttribute("data-carousel")==="slide",s=[],o=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(d,u){s.push({position:u,el:d}),d.getAttribute("data-carousel-item")==="active"&&(o=u)});var r=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(d){r.push({position:parseInt(d.getAttribute("data-carousel-slide-to")),el:d})});var i=new Yg(s,{defaultPosition:o,indicators:{items:r},interval:e||yr.interval});n&&i.cycle();var a=t.querySelector("[data-carousel-next]"),l=t.querySelector("[data-carousel-prev]");a&&a.addEventListener("click",function(){i.next()}),l&&l.addEventListener("click",function(){i.prev()})})}var Fr=globalThis&&globalThis.__assign||function(){return Fr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Fr.apply(this,arguments)},Rh={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},Qg=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Rh),this._targetEl=e,this._triggerEl=n,this._options=Fr(Fr({},Rh),s),this._init()}return t.prototype._init=function(){var e=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){e.hide()})},t.prototype.hide=function(){var e=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){e._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();typeof window<"u"&&(window.Dismiss=Qg);function Xg(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var e=t.getAttribute("data-dismiss-target"),n=document.querySelector(e);n?new Qg(n,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))})}var gt="top",Ot="bottom",Rt="right",mt="left",Ec="auto",Uo=[gt,Ot,Rt,mt],Fs="start",Lo="end",cVe="clippingParents",em="viewport",ro="popper",dVe="reference",Nh=Uo.reduce(function(t,e){return t.concat([e+"-"+Fs,e+"-"+Lo])},[]),tm=[].concat(Uo,[Ec]).reduce(function(t,e){return t.concat([e,e+"-"+Fs,e+"-"+Lo])},[]),uVe="beforeRead",hVe="read",fVe="afterRead",pVe="beforeMain",gVe="main",mVe="afterMain",_Ve="beforeWrite",bVe="write",yVe="afterWrite",vVe=[uVe,hVe,fVe,pVe,gVe,mVe,_Ve,bVe,yVe];function Jt(t){return t?(t.nodeName||"").toLowerCase():null}function wt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function os(t){var e=wt(t).Element;return t instanceof e||t instanceof Element}function Tt(t){var e=wt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Cc(t){if(typeof ShadowRoot>"u")return!1;var e=wt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function wVe(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 xVe(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 kVe={name:"applyStyles",enabled:!0,phase:"write",fn:wVe,effect:xVe,requires:["computeStyles"]};function Wt(t){return t.split("-")[0]}var es=Math.max,Br=Math.min,Bs=Math.round;function vl(){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(vl())}function $s(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&&Bs(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Bs(s.height)/t.offsetHeight||1);var i=os(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=$s(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 fn(t){return wt(t).getComputedStyle(t)}function EVe(t){return["table","td","th"].indexOf(Jt(t))>=0}function Pn(t){return((os(t)?t.ownerDocument:t.document)||window.document).documentElement}function ki(t){return Jt(t)==="html"?t:t.assignedSlot||t.parentNode||(Cc(t)?t.host:null)||Pn(t)}function Dh(t){return!Tt(t)||fn(t).position==="fixed"?null:t.offsetParent}function CVe(t){var e=/firefox/i.test(vl()),n=/Trident/i.test(vl());if(n&&Tt(t)){var s=fn(t);if(s.position==="fixed")return null}var o=ki(t);for(Cc(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(Jt(o))<0;){var r=fn(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 qo(t){for(var e=wt(t),n=Dh(t);n&&EVe(n)&&fn(n).position==="static";)n=Dh(n);return n&&(Jt(n)==="html"||Jt(n)==="body"&&fn(n).position==="static")?e:n||CVe(t)||e}function Sc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _o(t,e,n){return es(t,Br(e,n))}function AVe(t,e,n){var s=_o(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 SVe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,rm(typeof e!="number"?e:im(e,Uo))};function TVe(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=SVe(o.padding,n),f=Ac(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],v=i[l]-n.rects.reference[l],p=qo(r),b=p?l==="y"?p.clientHeight||0:p.clientWidth||0:0,x=_/2-v/2,S=h[g],R=b-f[u]-h[m],O=b/2-f[u]/2+x,D=_o(S,O,R),y=l;n.modifiersData[s]=(e={},e[y]=D,e.centerOffset=D-O,e)}}function MVe(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 OVe={name:"arrow",enabled:!0,phase:"main",fn:TVe,effect:MVe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function zs(t){return t.split("-")[1]}var RVe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function NVe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Bs(n*o)/o||0,y:Bs(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,g=f===void 0?0:f,m=i.y,_=m===void 0?0:m,v=typeof u=="function"?u({x:g,y:_}):{x:g,y:_};g=v.x,_=v.y;var p=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),x=mt,S=gt,R=window;if(d){var O=qo(n),D="clientHeight",y="clientWidth";if(O===wt(n)&&(O=Pn(n),fn(O).position!=="static"&&a==="absolute"&&(D="scrollHeight",y="scrollWidth")),O=O,o===gt||(o===mt||o===Rt)&&r===Lo){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===Lo){x=Rt;var M=h&&O===R&&R.visualViewport?R.visualViewport.width:O[y];g-=M-s.width,g*=l?1:-1}}var L=Object.assign({position:a},d&&RVe),B=u===!0?NVe({x:g,y:_},wt(n)):{x:g,y:_};if(g=B.x,_=B.y,l){var J;return Object.assign({},L,(J={},J[S]=b?"0":"",J[x]=p?"0":"",J.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",J))}return Object.assign({},L,(e={},e[S]=b?_+"px":"",e[x]=p?g+"px":"",e.transform="",e))}function DVe(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:zs(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 LVe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:DVe,data:{}};var nr={passive:!0};function IVe(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,nr)}),a&&l.addEventListener("resize",n.update,nr),function(){r&&d.forEach(function(u){u.removeEventListener("scroll",n.update,nr)}),a&&l.removeEventListener("resize",n.update,nr)}}const PVe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:IVe,data:{}};var FVe={left:"right",right:"left",bottom:"top",top:"bottom"};function vr(t){return t.replace(/left|right|bottom|top/g,function(e){return FVe[e]})}var BVe={start:"end",end:"start"};function Ih(t){return t.replace(/start|end/g,function(e){return BVe[e]})}function Tc(t){var e=wt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Mc(t){return $s(Pn(t)).left+Tc(t).scrollLeft}function $Ve(t,e){var n=wt(t),s=Pn(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 zVe(t){var e,n=Pn(t),s=Tc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=es(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=es(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+Mc(t),l=-s.scrollTop;return fn(o||n).direction==="rtl"&&(a+=es(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Oc(t){var e=fn(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(ki(t))}function bo(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(bo(ki(i)))}function wl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function jVe(t,e){var n=$s(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?wl($Ve(t,n)):os(e)?jVe(e,n):wl(zVe(Pn(t)))}function UVe(t){var e=bo(ki(t)),n=["absolute","fixed"].indexOf(fn(t).position)>=0,s=n&&Tt(t)?qo(t):t;return os(s)?e.filter(function(o){return os(o)&&sm(o,s)&&Jt(o)!=="body"}):[]}function qVe(t,e,n,s){var o=e==="clippingParents"?UVe(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=es(u.top,l.top),l.right=Br(u.right,l.right),l.bottom=Br(u.bottom,l.bottom),l.left=es(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?zs(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 Fs:l[d]=l[d]-(e[u]/2-n[u]/2);break;case Lo:l[d]=l[d]+(e[u]/2-n[u]/2);break}}return l}function Io(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?cVe:a,d=n.rootBoundary,u=d===void 0?em:d,h=n.elementContext,f=h===void 0?ro:h,g=n.altBoundary,m=g===void 0?!1:g,_=n.padding,v=_===void 0?0:_,p=rm(typeof v!="number"?v:im(v,Uo)),b=f===ro?dVe:ro,x=t.rects.popper,S=t.elements[m?b:f],R=qVe(os(S)?S:S.contextElement||Pn(t.elements.popper),l,u,i),O=$s(t.elements.reference),D=lm({reference:O,element:x,strategy:"absolute",placement:o}),y=wl(Object.assign({},x,D)),E=f===ro?y:O,M={top:R.top-E.top+p.top,bottom:E.bottom-R.bottom+p.bottom,left:R.left-E.left+p.left,right:E.right-R.right+p.right},L=t.modifiersData.offset;if(f===ro&&L){var B=L[o];Object.keys(M).forEach(function(J){var P=[Rt,Ot].indexOf(J)>=0?1:-1,ue=[gt,Ot].indexOf(J)>=0?"y":"x";M[J]+=B[ue]*P})}return M}function HVe(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=zs(s),h=u?a?Nh:Nh.filter(function(m){return zs(m)===u}):Uo,f=h.filter(function(m){return d.indexOf(m)>=0});f.length===0&&(f=h);var g=f.reduce(function(m,_){return m[_]=Io(t,{placement:_,boundary:o,rootBoundary:r,padding:i})[Wt(_)],m},{});return Object.keys(g).sort(function(m,_){return g[m]-g[_]})}function VVe(t){if(Wt(t)===Ec)return[];var e=vr(t);return[Ih(t),e,Ih(e)]}function GVe(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,v=e.options.placement,p=Wt(v),b=p===v,x=l||(b||!m?[vr(v)]:VVe(v)),S=[v].concat(x).reduce(function(Te,N){return Te.concat(Wt(N)===Ec?HVe(e,{placement:N,boundary:u,rootBoundary:h,padding:d,flipVariations:m,allowedAutoPlacements:_}):N)},[]),R=e.rects.reference,O=e.rects.popper,D=new Map,y=!0,E=S[0],M=0;M<S.length;M++){var L=S[M],B=Wt(L),J=zs(L)===Fs,P=[gt,Ot].indexOf(B)>=0,ue=P?"width":"height",Z=Io(e,{placement:L,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),T=P?J?Rt:mt:J?Ot:gt;R[ue]>O[ue]&&(T=vr(T));var H=vr(T),G=[];if(r&&G.push(Z[B]<=0),a&&G.push(Z[T]<=0,Z[H]<=0),G.every(function(Te){return Te})){E=L,y=!1;break}D.set(L,G)}if(y)for(var we=m?3:1,_e=function(N){var Q=S.find(function(V){var ne=D.get(V);if(ne)return ne.slice(0,N).every(function(X){return X})});if(Q)return E=Q,"break"},te=we;te>0;te--){var ke=_e(te);if(ke==="break")break}e.placement!==E&&(e.modifiersData[s]._skip=!0,e.placement=E,e.reset=!0)}}const KVe={name:"flip",enabled:!0,phase:"main",fn:GVe,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 WVe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Io(e,{elementContext:"reference"}),a=Io(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 ZVe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:WVe};function YVe(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 JVe(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]=YVe(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 QVe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:JVe};function XVe(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 eGe={name:"popperOffsets",enabled:!0,phase:"read",fn:XVe,data:{}};function tGe(t){return t==="x"?"y":"x"}function nGe(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,v=Io(e,{boundary:l,rootBoundary:d,padding:h,altBoundary:u}),p=Wt(e.placement),b=zs(e.placement),x=!b,S=Sc(p),R=tGe(S),O=e.modifiersData.popperOffsets,D=e.rects.reference,y=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,ue=S==="y"?Ot:Rt,Z=S==="y"?"height":"width",T=O[S],H=T+v[P],G=T-v[ue],we=g?-y[Z]/2:0,_e=b===Fs?D[Z]:y[Z],te=b===Fs?-y[Z]:-D[Z],ke=e.elements.arrow,Te=g&&ke?Ac(ke):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:om(),Q=N[P],V=N[ue],ne=_o(0,D[Z],Te[Z]),X=x?D[Z]/2-we-ne-Q-M.mainAxis:_e-ne-Q-M.mainAxis,ge=x?-D[Z]/2+we+ne+V+M.mainAxis:te+ne+V+M.mainAxis,he=e.elements.arrow&&qo(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=_o(g?Br(H,F):H,T,g?es(G,$):G);O[S]=z,B[S]=z-T}if(a){var oe,le=S==="x"?gt:mt,j=S==="x"?Ot:Rt,re=O[R],q=R==="y"?"height":"width",Y=re+v[le],ce=re-v[j],pe=[gt,mt].indexOf(p)!==-1,fe=(oe=L==null?void 0:L[R])!=null?oe:0,Ae=pe?Y:re-D[q]-y[q]-fe+M.altAxis,W=pe?re+D[q]+y[q]-fe-M.altAxis:ce,ie=g&&pe?AVe(Ae,re,W):_o(g?Ae:Y,re,g?W:ce);O[R]=ie,B[R]=ie-re}e.modifiersData[s]=B}}const sGe={name:"preventOverflow",enabled:!0,phase:"main",fn:nGe,requiresIfExists:["offset"]};function oGe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function rGe(t){return t===wt(t)||!Tt(t)?Tc(t):oGe(t)}function iGe(t){var e=t.getBoundingClientRect(),n=Bs(e.width)/t.offsetWidth||1,s=Bs(e.height)/t.offsetHeight||1;return n!==1||s!==1}function aGe(t,e,n){n===void 0&&(n=!1);var s=Tt(e),o=Tt(e)&&iGe(e),r=Pn(e),i=$s(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Jt(e)!=="body"||Oc(r))&&(a=rGe(e)),Tt(e)?(l=$s(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 lGe(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 cGe(t){var e=lGe(t);return vVe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function dGe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function uGe(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<t;n++)e[n]=arguments[n];return!e.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}function hGe(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,s=n===void 0?[]:n,o=e.defaultOptions,r=o===void 0?$h:o;return function(a,l,d){d===void 0&&(d=r);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},$h,r),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},h=[],f=!1,g={state:u,setOptions:function(p){var b=typeof p=="function"?p(u.options):p;_(),u.options=Object.assign({},r,u.options,b),u.scrollParents={reference:os(a)?bo(a):a.contextElement?bo(a.contextElement):[],popper:bo(l)};var x=cGe(uGe([].concat(s,u.options.modifiers)));return u.orderedModifiers=x.filter(function(S){return S.enabled}),m(),g.update()},forceUpdate:function(){if(!f){var p=u.elements,b=p.reference,x=p.popper;if(zh(b,x)){u.rects={reference:aGe(b,qo(x),u.options.strategy==="fixed"),popper:Ac(x)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(M){return u.modifiersData[M.name]=Object.assign({},M.data)});for(var S=0;S<u.orderedModifiers.length;S++){if(u.reset===!0){u.reset=!1,S=-1;continue}var R=u.orderedModifiers[S],O=R.fn,D=R.options,y=D===void 0?{}:D,E=R.name;typeof O=="function"&&(u=O({state:u,options:y,name:E,instance:g})||u)}}}},update:dGe(function(){return new Promise(function(v){g.forceUpdate(),v(u)})}),destroy:function(){_(),f=!0}};if(!zh(a,l))return g;g.setOptions(d).then(function(v){!f&&d.onFirstUpdate&&d.onFirstUpdate(v)});function m(){u.orderedModifiers.forEach(function(v){var p=v.name,b=v.options,x=b===void 0?{}:b,S=v.effect;if(typeof S=="function"){var R=S({state:u,name:p,instance:g,options:x}),O=function(){};h.push(R||O)}})}function _(){h.forEach(function(v){return v()}),h=[]}return g}}var fGe=[PVe,eGe,LVe,kVe,QVe,KVe,sGe,OVe,ZVe],Rc=hGe({defaultModifiers:fGe}),Cn=globalThis&&globalThis.__assign||function(){return Cn=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Cn.apply(this,arguments)},sr=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var s=0,o=e.length,r;s<o;s++)(r||!(s in e))&&(r||(r=Array.prototype.slice.call(e,0,s)),r[s]=e[s]);return t.concat(r||Array.prototype.slice.call(e))},Gn={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},cm=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Gn),this._targetEl=e,this._triggerEl=n,this._options=Cn(Cn({},Gn),s),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var e=this,n=this._getTriggerEvents();this._options.triggerType==="click"&&n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.toggle()})}),this._options.triggerType==="hover"&&(n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){s==="click"?e.toggle():setTimeout(function(){e.show()},e._options.delay)}),e._targetEl.addEventListener(s,function(){e.show()})}),n.hideEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){setTimeout(function(){e._targetEl.matches(":hover")||e.hide()},e._options.delay)}),e._targetEl.addEventListener(s,function(){setTimeout(function(){e._triggerEl.matches(":hover")||e.hide()},e._options.delay)})}))},t.prototype._createPopperInstance=function(){return Rc(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(n){e._handleClickOutside(n,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(e,n){var s=e.target;s!==n&&!n.contains(s)&&!this._triggerEl.contains(s)&&this.isVisible()&&this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(e){return Cn(Cn({},e),{modifiers:sr(sr([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(e){return Cn(Cn({},e),{modifiers:sr(sr([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();typeof window<"u"&&(window.Dropdown=cm);function dm(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var e=t.getAttribute("data-dropdown-toggle"),n=document.getElementById(e);if(n){var s=t.getAttribute("data-dropdown-placement"),o=t.getAttribute("data-dropdown-offset-skidding"),r=t.getAttribute("data-dropdown-offset-distance"),i=t.getAttribute("data-dropdown-trigger"),a=t.getAttribute("data-dropdown-delay");new cm(n,t,{placement:s||Gn.placement,triggerType:i||Gn.triggerType,offsetSkidding:o?parseInt(o):Gn.offsetSkidding,offsetDistance:r?parseInt(r):Gn.offsetDistance,delay:a?parseInt(a):Gn.delay})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}var $r=globalThis&&globalThis.__assign||function(){return $r=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},$r.apply(this,arguments)},ys={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},xl=function(){function t(e,n){e===void 0&&(e=null),n===void 0&&(n=ys),this._targetEl=e,this._options=$r($r({},ys),n),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var e=this;this._targetEl&&this._getPlacementClasses().map(function(n){e._targetEl.classList.add(n)})},t.prototype._createBackdrop=function(){var e;if(this._isHidden){var n=document.createElement("div");n.setAttribute("modal-backdrop",""),(e=n.classList).add.apply(e,this._options.backdropClasses.split(" ")),document.querySelector("body").append(n),this._backdropEl=n}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var e=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(n){e._handleOutsideClick(n.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(n){n.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(e){(e===this._targetEl||e===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}();typeof window<"u"&&(window.Modal=xl);var or=function(t,e){return e.some(function(n){return n.id===t})?e.find(function(n){return n.id===t}):null};function um(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(e){var n=e.getAttribute("data-modal-target"),s=document.getElementById(n);if(s){var o=s.getAttribute("data-modal-placement"),r=s.getAttribute("data-modal-backdrop");or(n,t)||t.push({id:n,object:new xl(s,{placement:o||ys.placement,backdrop:r||ys.backdrop})})}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(e){var n=e.getAttribute("data-modal-toggle"),s=document.getElementById(n);if(s){var o=s.getAttribute("data-modal-placement"),r=s.getAttribute("data-modal-backdrop"),i=or(n,t);i||(i={id:n,object:new xl(s,{placement:o||ys.placement,backdrop:r||ys.backdrop})},t.push(i)),e.addEventListener("click",function(){i.object.toggle()})}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(e){var n=e.getAttribute("data-modal-show"),s=document.getElementById(n);if(s){var o=or(n,t);o?e.addEventListener("click",function(){o.object.isHidden&&o.object.show()}):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(e){var n=e.getAttribute("data-modal-hide"),s=document.getElementById(n);if(s){var o=or(n,t);o?e.addEventListener("click",function(){o.object.isVisible&&o.object.hide()}):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}var zr=globalThis&&globalThis.__assign||function(){return zr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},zr.apply(this,arguments)},Kn={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},hm=function(){function t(e,n){e===void 0&&(e=null),n===void 0&&(n=Kn),this._targetEl=e,this._options=zr(zr({},Kn),n),this._visible=!1,this._init()}return t.prototype._init=function(){var e=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(n){e._targetEl.classList.add(n)}),document.addEventListener("keydown",function(n){n.key==="Escape"&&e.isVisible()&&e.hide()})},t.prototype.hide=function(){var e=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){e._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){e._targetEl.classList.add(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){e._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){e._targetEl.classList.add(n)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var e=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){e._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){e._targetEl.classList.remove(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){e._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){e._targetEl.classList.remove(n)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var e,n=this;if(!this._visible){var s=document.createElement("div");s.setAttribute("drawer-backdrop",""),(e=s.classList).add.apply(e,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),s.addEventListener("click",function(){n.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(e){switch(e){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}();typeof window<"u"&&(window.Drawer=hm);var rr=function(t,e){if(e.some(function(n){return n.id===t}))return e.find(function(n){return n.id===t})};function fm(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(e){var n=e.getAttribute("data-drawer-target"),s=document.getElementById(n);if(s){var o=e.getAttribute("data-drawer-placement"),r=e.getAttribute("data-drawer-body-scrolling"),i=e.getAttribute("data-drawer-backdrop"),a=e.getAttribute("data-drawer-edge"),l=e.getAttribute("data-drawer-edge-offset");rr(n,t)||t.push({id:n,object:new hm(s,{placement:o||Kn.placement,bodyScrolling:r?r==="true":Kn.bodyScrolling,backdrop:i?i==="true":Kn.backdrop,edge:a?a==="true":Kn.edge,edgeOffset:l||Kn.edgeOffset})})}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(e){var n=e.getAttribute("data-drawer-toggle"),s=document.getElementById(n);if(s){var o=rr(n,t);o?e.addEventListener("click",function(){o.object.toggle()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(e){var n=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide"),s=document.getElementById(n);if(s){var o=rr(n,t);o?e.addEventListener("click",function(){o.object.hide()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(e){var n=e.getAttribute("data-drawer-show"),s=document.getElementById(n);if(s){var o=rr(n,t);o?e.addEventListener("click",function(){o.object.show()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}var jr=globalThis&&globalThis.__assign||function(){return jr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},jr.apply(this,arguments)},jh={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},pm=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=jh),this._items=e,this._activeTab=n?this.getTab(n.defaultTabId):null,this._options=jr(jr({},jh),n),this._init()}return t.prototype._init=function(){var e=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(n){n.triggerEl.addEventListener("click",function(){e.show(n.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(e){this._activeTab=e},t.prototype.getTab=function(e){return this._items.filter(function(n){return n.id===e})[0]},t.prototype.show=function(e,n){var s,o,r=this;n===void 0&&(n=!1);var i=this.getTab(e);i===this._activeTab&&!n||(this._items.map(function(a){var l,d;a!==i&&((l=a.triggerEl.classList).remove.apply(l,r._options.activeClasses.split(" ")),(d=a.triggerEl.classList).add.apply(d,r._options.inactiveClasses.split(" ")),a.targetEl.classList.add("hidden"),a.triggerEl.setAttribute("aria-selected","false"))}),(s=i.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(o=i.triggerEl.classList).remove.apply(o,this._options.inactiveClasses.split(" ")),i.triggerEl.setAttribute("aria-selected","true"),i.targetEl.classList.remove("hidden"),this._setActiveTab(i),this._options.onShow(this,i))},t}();typeof window<"u"&&(window.Tabs=pm);function gm(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var e=[],n=null;t.querySelectorAll('[role="tab"]').forEach(function(s){var o=s.getAttribute("aria-selected")==="true",r={id:s.getAttribute("data-tabs-target"),triggerEl:s,targetEl:document.querySelector(s.getAttribute("data-tabs-target"))};e.push(r),o&&(n=r.id)}),new pm(e,{defaultTabId:n})})}var An=globalThis&&globalThis.__assign||function(){return An=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},An.apply(this,arguments)},ir=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var s=0,o=e.length,r;s<o;s++)(r||!(s in e))&&(r||(r=Array.prototype.slice.call(e,0,s)),r[s]=e[s]);return t.concat(r||Array.prototype.slice.call(e))},Ur={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},mm=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Ur),this._targetEl=e,this._triggerEl=n,this._options=An(An({},Ur),s),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var e=this,n=this._getTriggerEvents();n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.show()})}),n.hideEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.hide()})})},t.prototype._createPopperInstance=function(){return Rc(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var e=this;this._keydownEventListener=function(n){n.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(n){e._handleClickOutside(n,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(e,n){var s=e.target;s!==n&&!n.contains(s)&&!this._triggerEl.contains(s)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(e){return An(An({},e),{modifiers:ir(ir([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(e){return An(An({},e),{modifiers:ir(ir([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();typeof window<"u"&&(window.Tooltip=mm);function _m(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var e=t.getAttribute("data-tooltip-target"),n=document.getElementById(e);if(n){var s=t.getAttribute("data-tooltip-trigger"),o=t.getAttribute("data-tooltip-placement");new mm(n,t,{placement:o||Ur.placement,triggerType:s||Ur.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))})}var Sn=globalThis&&globalThis.__assign||function(){return Sn=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Sn.apply(this,arguments)},ar=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var s=0,o=e.length,r;s<o;s++)(r||!(s in e))&&(r||(r=Array.prototype.slice.call(e,0,s)),r[s]=e[s]);return t.concat(r||Array.prototype.slice.call(e))},yo={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},bm=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=yo),this._targetEl=e,this._triggerEl=n,this._options=Sn(Sn({},yo),s),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var e=this,n=this._getTriggerEvents();n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.show()}),e._targetEl.addEventListener(s,function(){e.show()})}),n.hideEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){setTimeout(function(){e._targetEl.matches(":hover")||e.hide()},100)}),e._targetEl.addEventListener(s,function(){setTimeout(function(){e._triggerEl.matches(":hover")||e.hide()},100)})})},t.prototype._createPopperInstance=function(){return Rc(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var e=this;this._keydownEventListener=function(n){n.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(n){e._handleClickOutside(n,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(e,n){var s=e.target;s!==n&&!n.contains(s)&&!this._triggerEl.contains(s)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(e){return Sn(Sn({},e),{modifiers:ar(ar([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(e){return Sn(Sn({},e),{modifiers:ar(ar([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();typeof window<"u"&&(window.Popover=bm);function ym(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var e=t.getAttribute("data-popover-target"),n=document.getElementById(e);if(n){var s=t.getAttribute("data-popover-trigger"),o=t.getAttribute("data-popover-placement"),r=t.getAttribute("data-popover-offset");new bm(n,t,{placement:o||yo.placement,offset:r?parseInt(r):yo.offset,triggerType:s||yo.triggerType})}else console.error('The popover element with id "'.concat(e,'" does not exist. Please check the data-popover-target attribute.'))})}var qr=globalThis&&globalThis.__assign||function(){return qr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},qr.apply(this,arguments)},kl={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},vm=function(){function t(e,n,s,o){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=null),o===void 0&&(o=kl),this._parentEl=e,this._triggerEl=n,this._targetEl=s,this._options=qr(qr({},kl),o),this._visible=!1,this._init()}return t.prototype._init=function(){var e=this;if(this._triggerEl){var n=this._getTriggerEventTypes(this._options.triggerType);n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.show()}),e._targetEl.addEventListener(s,function(){e.show()})}),n.hideEvents.forEach(function(s){e._parentEl.addEventListener(s,function(){e._parentEl.matches(":hover")||e.hide()})})}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(e){switch(e){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t}();typeof window<"u"&&(window.Dial=vm);function wm(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var e=t.querySelector("[data-dial-toggle]");if(e){var n=e.getAttribute("data-dial-toggle"),s=document.getElementById(n);if(s){var o=e.getAttribute("data-dial-trigger");new vm(t,e,s,{triggerType:o||kl.triggerType})}else console.error("Dial with id ".concat(n," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}function pGe(){Kg(),Zg(),Jg(),Xg(),dm(),um(),fm(),gm(),_m(),ym(),wm()}var gGe=new lVe("load",[Kg,Zg,Jg,Xg,dm,um,fm,gm,_m,ym,wm]);gGe.init();const Ke=t=>(is("data-v-fb5a4993"),t=t(),as(),t),mGe={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},_Ge={class:"flex flex-col text-center"},bGe={class:"flex flex-col text-center items-center"},yGe={class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},vGe=Ke(()=>c("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:oc,alt:"Logo"},null,-1)),wGe={class:"flex flex-col items-start"},xGe={class:"text-2xl"},kGe=Ke(()=>c("p",{class:"text-gray-400 text-base"},"One tool to rule them all",-1)),EGe=Ke(()=>c("p",{class:"text-gray-400 text-base"},"by ParisNeo",-1)),CGe=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)),AGe=Ke(()=>c("p",{class:"text-2xl"},"Welcome",-1)),SGe=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)),TGe=Ke(()=>c("span",{class:"text-2xl font-bold ml-4"},"Loading ...",-1)),MGe=Ke(()=>c("i",{"data-feather":"chevron-right"},null,-1)),OGe=[MGe],RGe=Ke(()=>c("i",{"data-feather":"chevron-left"},null,-1)),NGe=[RGe],DGe={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"},LGe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},IGe={class:"flex-row p-4 flex items-center gap-3 flex-0"},PGe=Ke(()=>c("i",{"data-feather":"plus"},null,-1)),FGe=[PGe],BGe=Ke(()=>c("i",{"data-feather":"check-square"},null,-1)),$Ge=[BGe],zGe=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)),jGe=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)),UGe=Ke(()=>c("i",{"data-feather":"log-in"},null,-1)),qGe=[UGe],HGe={key:0,class:"dropdown"},VGe=Ke(()=>c("i",{"data-feather":"search"},null,-1)),GGe=[VGe],KGe=Ke(()=>c("i",{"data-feather":"save"},null,-1)),WGe=[KGe],ZGe={key:2,class:"flex gap-3 flex-1 items-center duration-75"},YGe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),JGe=[YGe],QGe=Ke(()=>c("i",{"data-feather":"check"},null,-1)),XGe=[QGe],eKe={key:3,title:"Loading..",class:"flex flex-row flex-grow justify-end"},tKe=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)),nKe=[tKe],sKe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},oKe={class:"p-4 pt-2"},rKe={class:"relative"},iKe=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)),aKe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},lKe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),cKe=[lKe],dKe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},uKe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},hKe={class:"flex flex-row flex-grow"},fKe={key:0},pKe={class:"flex flex-row"},gKe={key:0,class:"flex gap-3"},mKe=Ke(()=>c("i",{"data-feather":"trash"},null,-1)),_Ke=[mKe],bKe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},yKe=Ke(()=>c("i",{"data-feather":"check"},null,-1)),vKe=[yKe],wKe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),xKe=[wKe],kKe={class:"flex gap-3"},EKe=Ke(()=>c("i",{"data-feather":"log-out"},null,-1)),CKe=[EKe],AKe=Ke(()=>c("i",{"data-feather":"list"},null,-1)),SKe=[AKe],TKe={class:"z-5"},MKe={class:"relative flex flex-row flex-grow mb-10 z-0"},OKe={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"},RKe=Ke(()=>c("p",{class:"px-3"},"No discussions are found",-1)),NKe=[RKe],DKe=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)),LKe={class:"z-20 h-max"},IKe={class:"container pt-4 pb-10 mb-28"},PKe=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)),FKe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},BKe={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},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&&(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.currentDiscussion=null,this.$store.dispatch("refreshModels"),this.$store.state.isConnected=!1,!0},new_message(t){console.log("Making a new message"),console.log("New message",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,ui:t.ui,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:[],ui:null};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_UI?(console.log("UI message"),s.ui=t.ui,console.log(s.ui)):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;e<t.length;e++){const n=t[e];await this.delete_discussion(n.id),this.currentDiscussion.id==n.id&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(s=>s.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<this.tempList.length;t++)this.tempList[t].checkBoxValue=!this.isSelectAll;this.tempList=this.list,this.isSelectAll=!this.isSelectAll},createDiscussionList(t){if(t){const e=t.map(n=>({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.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&&(n.data.status?console.log("Already generating"):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&&(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}
${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.$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));this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),Ee.on("notification",this.notify),Ee.on("new_message",this.new_message),Ee.on("update_message",this.streamMessageContent),Ee.on("close_message",this.finalMsgEvent),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:Ys,DragDrop:yl},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)}}},$Ke=Object.assign(BKe,{__name:"DiscussionsView",setup(t){return Xr(()=>{pGe()}),ye.defaults.baseURL="/",(e,n)=>(k(),C(Oe,null,[ae(Os,{name:"fade-and-fly"},{default:Ne(()=>[e.isReady?I("",!0):(k(),C("div",mGe,[c("div",_Ge,[c("div",bGe,[c("div",yGe,[vGe,c("div",wGe,[c("p",xGe,"Lord of Large Language Models v "+U(dt(xm).state.version),1),kGe,EGe])]),CGe,AGe,SGe,TGe])])]))]),_: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,OGe,512),[[Ye,e.panelCollapsed]]),se(c("div",null,NGe,512),[[Ye,!e.panelCollapsed]])])):I("",!0),ae(Os,{name:"slide-right"},{default:Ne(()=>[e.showPanel?(k(),C("div",DGe,[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",LGe,[c("div",IGe,[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())},FGe),c("button",{class:Ce(["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)},$Ge,2),zGe,jGe,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"]))},qGe),e.isOpen?(k(),C("div",HGe,[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:Ce(["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)},GGe,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)},WGe)),e.showConfirmation?(k(),C("div",ZGe,[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"]))},JGe),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"]))},XGe)])):I("",!0),e.loading?(k(),C("div",eKe,nKe)):I("",!0)]),e.isSearch?(k(),C("div",sKe,[c("div",oKe,[c("div",rKe,[iKe,c("div",aKe,[c("div",{class:Ce(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[11]||(n[11]=s=>e.filterTitle="")},cKe,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),[[Re,e.filterTitle]])])])])):I("",!0),e.isCheckbox?(k(),C("hr",dKe)):I("",!0),e.isCheckbox?(k(),C("div",uKe,[c("div",hKe,[e.selectedDiscussions.length>0?(k(),C("p",fKe,"Selected: "+U(e.selectedDiscussions.length),1)):I("",!0)]),c("div",pKe,[e.selectedDiscussions.length>0?(k(),C("div",gKe,[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"]))},_Ke)),e.showConfirmation?(k(),C("div",bKe,[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"]))},vKe),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"]))},xKe)])):I("",!0)])):I("",!0),c("div",kKe,[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"]))},CKe),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"]))},SKe)])])])):I("",!0)]),c("div",TKe,[ae(yl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Ne(()=>[xe("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),c("div",MKe,[c("div",{class:Ce(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[c("div",{id:"dis-list",class:Ce([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(k(),nt(Ut,{key:0,name:"list"},{default:Ne(()=>[(k(!0),C(Oe,null,Ve(e.list,(s,o)=>(k(),nt(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",OKe,NKe)):I("",!0),DKe],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",LKe,[ae(yl,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),c("div",{id:"messages-list",class:Ce(["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",IKe,[e.discussionArr.length>0?(k(),nt(Ut,{key:0,name:"list"},{default:Ne(()=>[(k(!0),C(Oe,null,Ve(e.discussionArr,(s,o)=>(k(),nt(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(),nt(Vg,{key:1}))]),PKe,e.currentDiscussion.id?(k(),C("div",FKe,[ae(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),ae(Ys,{ref:"toast"},null,512),ae(zg,{ref:"messageBox"},null,512)],64))}}),zKe=ze($Ke,[["__scopeId","data-v-fb5a4993"]]),jKe=Uy({history:iy("/"),routes:[{path:"/playground/",name:"playground",component:aMe},{path:"/extensions/",name:"extensions",component:_Me},{path:"/help/",name:"help",component:FMe},{path:"/settings/",name:"settings",component:Fze},{path:"/training/",name:"training",component:oje},{path:"/quantizing/",name:"quantizing",component:fje},{path:"/",name:"discussions",component:zKe}]});const Ei=t0(m2);console.log("Loaded main.js");const xm=T0({state(){return{ready:!1,version:"unknown",sort_type:0,refreshingModelsList:!1,settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:null,bindingsArr:null,modelsArr:null,models_zoo:null,selectedModel: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},setselectedModel(t,e){t.selectedModel=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 getVersion(){let t=await ye.get("/get_lollms_webui_version",{});t&&(this.state.version=t.data.version)},async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await tn("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 tn("get_all_personalities"),s=Object.keys(n);console.log("Personalities recovered:"+this.state.config.personalities);for(let o=0;o<s.length;o++){const r=s[o],a=n[r].map(l=>{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;n<this.state.config.personalities.length;n++){const s=this.state.config.personalities[n],o=this.state.personalities.findIndex(i=>i.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")])}t("setMountedPersArr",e),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])]},async refreshBindings({commit:t}){let e=await tn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await tn("list_models"),n=await tn("get_active_model");n!=null&&t("setselectedModel",n.model),t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=await tn("list_extensions");t("setExtensionsZoo",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await tn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await tn("ram_usage")},async refreshVramUsage({commit:t}){const e=await tn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o<e.nb_gpus;o++){const r=e[`gpu_${o}_total_vram`],i=e[`gpu_${o}_used_vram`],a=e[`gpu_${o}_model`],l=i/r*100,d=r-i;n.push({total_vram:r,used_vram:i,gpu_index:o,gpu_model:a,percentage:l.toFixed(2),available_space:d})}const s={nb_gpus:e.nb_gpus,gpus:n};console.log("gpu usage: ",s),this.state.vramUsage=s}else{const s={nb_gpus:0,gpus:[]};console.log("gpu usage: ",s),this.state.vramUsage=s}},async refreshModelsZoo({commit:t}){console.log(`REFRESHING models using sorting ${this.state.sort_type}`),this.state.refreshingModelsList=!0,ye.get("/get_available_models").then(e=>{let n=e.data;n=n.filter(s=>s.variants&&s.variants.length>0),this.state.sort_type==0?n.sort((s,o)=>{const r=new Date(s.last_commit_time);return new Date(o.last_commit_time)-r}):this.state.sort_type==1?n.sort((s,o)=>o.rank-s.rank):this.state.sort_type==2?n.sort((s,o)=>s.name.localeCompare(o.name)):this.state.sort_type==3&&n.sort((s,o)=>s.name.localeCompare(o.name));for(let s=0;s<this.state.modelsArr.length;s++){const o=this.state.modelsArr[s];let r=n.findIndex(i=>i.name==o);if(r==-1)for(let i=0;i<n.length;i++){let a=n[i].variants;if(a!=null&&(r=a.findIndex(l=>l.name==o),r!=-1)){console.log("Found");break}}if(r==-1){let i={};i.name=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}else n[r].isInstalled=!0}console.log("models_zoo"),n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.name==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),this.state.refreshingModelsList=!1}).catch(e=>{console.log(e.message,"fetchModels"),this.state.refreshingModelsList=!1})},fetchCustomModels({commit:t}){ye.get("/list_models").then(e=>{}).catch(e=>{console.log(e.message,"fetchCustomModels")})}}});async function tn(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;Ei.mixin({created(){Uh||(Uh=!0,console.log("Calling"),this.$store.dispatch("refreshConfig").then(async()=>{console.log("recovered config"),await this.$store.dispatch("getVersion"),console.log("recovered version"),await this.$store.dispatch("refreshPersonalitiesArr"),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(){}});Ei.use(jKe);Ei.use(xm);Ei.mount("#app");