mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-30 00:58:50 +00:00
126 lines
696 KiB
JavaScript
126 lines
696 KiB
JavaScript
(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 wa(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 xn(t){if(_e(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],o=He(s)?Lp(s):xn(s);if(o)for(const r in o)e[r]=o[r]}return e}else{if(He(t))return t;if(ze(t))return t}}const Dp=/;(?![^(]*\))/g,Mp=/:([^]+)/,Op=/\/\*.*?\*\//gs;function Lp(t){const e={};return t.replace(Op,"").split(Dp).forEach(n=>{if(n){const s=n.split(Mp);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Ae(t){let e="";if(He(t))e=t;else if(_e(t))for(let n=0;n<t.length;n++){const s=Ae(t[n]);s&&(e+=s+" ")}else if(ze(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const jp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Rp=wa(jp);function Qu(t){return!!t||t===""}function Pp(t,e){if(t.length!==e.length)return!1;let n=!0;for(let s=0;n&&s<t.length;s++)n=bo(t[s],e[s]);return n}function bo(t,e){if(t===e)return!0;let n=Tl(t),s=Tl(e);if(n||s)return n&&s?t.getTime()===e.getTime():!1;if(n=to(t),s=to(e),n||s)return t===e;if(n=_e(t),s=_e(e),n||s)return n&&s?Pp(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||!bo(t[i],e[i]))return!1}}return String(t)===String(e)}function ka(t,e){return t.findIndex(n=>bo(n,e))}const ne=t=>He(t)?t:t==null?"":_e(t)||ze(t)&&(t.toString===td||!Ee(t.toString))?JSON.stringify(t,Xu,2):String(t),Xu=(t,e)=>e&&e.__v_isRef?Xu(t,e.value):ls(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ss(e)?{[`Set(${e.size})`]:[...e.values()]}:ze(e)&&!_e(e)&&!nd(e)?String(e):e,Ne={},as=[],Mt=()=>{},Ip=()=>!1,Fp=/^on[^a-z]/,Sr=t=>Fp.test(t),Ca=t=>t.startsWith("onUpdate:"),Ze=Object.assign,Ea=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},$p=Object.prototype.hasOwnProperty,Le=(t,e)=>$p.call(t,e),_e=Array.isArray,ls=t=>Ts(t)==="[object Map]",Ss=t=>Ts(t)==="[object Set]",Tl=t=>Ts(t)==="[object Date]",qp=t=>Ts(t)==="[object RegExp]",Ee=t=>typeof t=="function",He=t=>typeof t=="string",to=t=>typeof t=="symbol",ze=t=>t!==null&&typeof t=="object",ed=t=>ze(t)&&Ee(t.then)&&Ee(t.catch),td=Object.prototype.toString,Ts=t=>td.call(t),zp=t=>Ts(t).slice(8,-1),nd=t=>Ts(t)==="[object Object]",Aa=t=>He(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ko=wa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Bp=/-(\w)/g,Nt=Tr(t=>t.replace(Bp,(e,n)=>n?n.toUpperCase():"")),Np=/\B([A-Z])/g,Jn=Tr(t=>t.replace(Np,"-$1").toLowerCase()),Dr=Tr(t=>t.charAt(0).toUpperCase()+t.slice(1)),ri=Tr(t=>t?`on${Dr(t)}`:""),no=(t,e)=>!Object.is(t,e),cs=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},ir=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},ar=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Up=t=>{const e=He(t)?Number(t):NaN;return isNaN(e)?t:e};let Dl;const Hp=()=>Dl||(Dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let At;class Vp{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=At,!e&&At&&(this.index=(At.scopes||(At.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=At;try{return At=this,e()}finally{At=n}}}on(){At=this}off(){At=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 Gp(t,e=At){e&&e.active&&e.effects.push(t)}function Kp(){return At}const Sa=t=>{const e=new Set(t);return e.w=0,e.n=0,e},sd=t=>(t.w&En)>0,od=t=>(t.n&En)>0,Wp=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=En},Zp=t=>{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s<e.length;s++){const o=e[s];sd(o)&&!od(o)?o.delete(t):e[n++]=o,o.w&=~En,o.n&=~En}e.length=n}},$i=new WeakMap;let Hs=0,En=1;const qi=30;let Tt;const Un=Symbol(""),zi=Symbol("");class Ta{constructor(e,n=null,s){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Gp(this,s)}run(){if(!this.active)return this.fn();let e=Tt,n=wn;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Tt,Tt=this,wn=!0,En=1<<++Hs,Hs<=qi?Wp(this):Ml(this),this.fn()}finally{Hs<=qi&&Zp(this),En=1<<--Hs,Tt=this.parent,wn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Tt===this?this.deferStop=!0:this.active&&(Ml(this),this.onStop&&this.onStop(),this.active=!1)}}function Ml(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let wn=!0;const rd=[];function Ds(){rd.push(wn),wn=!1}function Ms(){const t=rd.pop();wn=t===void 0?!0:t}function ut(t,e,n){if(wn&&Tt){let s=$i.get(t);s||$i.set(t,s=new Map);let o=s.get(n);o||s.set(n,o=Sa()),id(o)}}function id(t,e){let n=!1;Hs<=qi?od(t)||(t.n|=En,n=!sd(t)):n=!t.has(Tt),n&&(t.add(Tt),Tt.deps.push(t))}function Xt(t,e,n,s,o,r){const i=$i.get(t);if(!i)return;let a=[];if(e==="clear")a=[...i.values()];else if(n==="length"&&_e(t)){const l=Number(s);i.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":_e(t)?Aa(n)&&a.push(i.get("length")):(a.push(i.get(Un)),ls(t)&&a.push(i.get(zi)));break;case"delete":_e(t)||(a.push(i.get(Un)),ls(t)&&a.push(i.get(zi)));break;case"set":ls(t)&&a.push(i.get(Un));break}if(a.length===1)a[0]&&Bi(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Bi(Sa(l))}}function Bi(t,e){const n=_e(t)?t:[...t];for(const s of n)s.computed&&Ol(s);for(const s of n)s.computed||Ol(s)}function Ol(t,e){(t!==Tt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Jp=wa("__proto__,__v_isRef,__isVue"),ad=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(to)),Yp=Da(),Qp=Da(!1,!0),Xp=Da(!0),Ll=eg();function eg(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Re(this);for(let r=0,i=this.length;r<i;r++)ut(s,"get",r+"");const o=s[e](...n);return o===-1||o===!1?s[e](...n.map(Re)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Ds();const s=Re(this)[e].apply(this,n);return Ms(),s}}),t}function tg(t){const e=Re(this);return ut(e,"has",t),e.hasOwnProperty(t)}function Da(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?_g:hd:e?dd:ud).get(s))return s;const i=_e(s);if(!t){if(i&&Le(Ll,o))return Reflect.get(Ll,o,r);if(o==="hasOwnProperty")return tg}const a=Reflect.get(s,o,r);return(to(o)?ad.has(o):Jp(o))||(t||ut(s,"get",o),e)?a:st(a)?i&&Aa(o)?a:a.value:ze(a)?t?fd(a):Os(a):a}}const ng=ld(),sg=ld(!0);function ld(t=!1){return function(n,s,o,r){let i=n[s];if(ps(i)&&st(i)&&!st(o))return!1;if(!t&&(!lr(o)&&!ps(o)&&(i=Re(i),o=Re(o)),!_e(n)&&st(i)&&!st(o)))return i.value=o,!0;const a=_e(n)&&Aa(s)?Number(s)<n.length:Le(n,s),l=Reflect.set(n,s,o,r);return n===Re(r)&&(a?no(o,i)&&Xt(n,"set",s,o):Xt(n,"add",s,o)),l}}function og(t,e){const n=Le(t,e);t[e];const s=Reflect.deleteProperty(t,e);return s&&n&&Xt(t,"delete",e,void 0),s}function rg(t,e){const n=Reflect.has(t,e);return(!to(e)||!ad.has(e))&&ut(t,"has",e),n}function ig(t){return ut(t,"iterate",_e(t)?"length":Un),Reflect.ownKeys(t)}const cd={get:Yp,set:ng,deleteProperty:og,has:rg,ownKeys:ig},ag={get:Xp,set(t,e){return!0},deleteProperty(t,e){return!0}},lg=Ze({},cd,{get:Qp,set:sg}),Ma=t=>t,Mr=t=>Reflect.getPrototypeOf(t);function Do(t,e,n=!1,s=!1){t=t.__v_raw;const o=Re(t),r=Re(e);n||(e!==r&&ut(o,"get",e),ut(o,"get",r));const{has:i}=Mr(o),a=s?Ma:n?ja:so;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 Mo(t,e=!1){const n=this.__v_raw,s=Re(n),o=Re(t);return e||(t!==o&&ut(s,"has",t),ut(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Oo(t,e=!1){return t=t.__v_raw,!e&&ut(Re(t),"iterate",Un),Reflect.get(t,"size",t)}function jl(t){t=Re(t);const e=Re(this);return Mr(e).has.call(e,t)||(e.add(t),Xt(e,"add",t,t)),this}function Rl(t,e){e=Re(e);const n=Re(this),{has:s,get:o}=Mr(n);let r=s.call(n,t);r||(t=Re(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?no(e,i)&&Xt(n,"set",t,e):Xt(n,"add",t,e),this}function Pl(t){const e=Re(this),{has:n,get:s}=Mr(e);let o=n.call(e,t);o||(t=Re(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&Xt(e,"delete",t,void 0),r}function Il(){const t=Re(this),e=t.size!==0,n=t.clear();return e&&Xt(t,"clear",void 0,void 0),n}function Lo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Re(i),l=e?Ma:t?ja:so;return!t&&ut(a,"iterate",Un),i.forEach((c,u)=>s.call(o,l(c),l(u),r))}}function jo(t,e,n){return function(...s){const o=this.__v_raw,r=Re(o),i=ls(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),u=n?Ma:e?ja:so;return!e&&ut(r,"iterate",l?zi:Un),{next(){const{value:h,done:f}=c.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function rn(t){return function(...e){return t==="delete"?!1:this}}function cg(){const t={get(r){return Do(this,r)},get size(){return Oo(this)},has:Mo,add:jl,set:Rl,delete:Pl,clear:Il,forEach:Lo(!1,!1)},e={get(r){return Do(this,r,!1,!0)},get size(){return Oo(this)},has:Mo,add:jl,set:Rl,delete:Pl,clear:Il,forEach:Lo(!1,!0)},n={get(r){return Do(this,r,!0)},get size(){return Oo(this,!0)},has(r){return Mo.call(this,r,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:Lo(!0,!1)},s={get(r){return Do(this,r,!0,!0)},get size(){return Oo(this,!0)},has(r){return Mo.call(this,r,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:Lo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=jo(r,!1,!1),n[r]=jo(r,!0,!1),e[r]=jo(r,!1,!0),s[r]=jo(r,!0,!0)}),[t,n,e,s]}const[ug,dg,hg,fg]=cg();function Oa(t,e){const n=e?t?fg:hg:t?dg:ug;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(Le(n,o)&&o in s?n:s,o,r)}const pg={get:Oa(!1,!1)},gg={get:Oa(!1,!0)},mg={get:Oa(!0,!1)},ud=new WeakMap,dd=new WeakMap,hd=new WeakMap,_g=new WeakMap;function yg(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bg(t){return t.__v_skip||!Object.isExtensible(t)?0:yg(zp(t))}function Os(t){return ps(t)?t:La(t,!1,cd,pg,ud)}function vg(t){return La(t,!1,lg,gg,dd)}function fd(t){return La(t,!0,ag,mg,hd)}function La(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=bg(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function us(t){return ps(t)?us(t.__v_raw):!!(t&&t.__v_isReactive)}function ps(t){return!!(t&&t.__v_isReadonly)}function lr(t){return!!(t&&t.__v_isShallow)}function pd(t){return us(t)||ps(t)}function Re(t){const e=t&&t.__v_raw;return e?Re(e):t}function gd(t){return ir(t,"__v_skip",!0),t}const so=t=>ze(t)?Os(t):t,ja=t=>ze(t)?fd(t):t;function md(t){wn&&Tt&&(t=Re(t),id(t.dep||(t.dep=Sa())))}function _d(t,e){t=Re(t);const n=t.dep;n&&Bi(n)}function st(t){return!!(t&&t.__v_isRef===!0)}function xg(t){return yd(t,!1)}function wg(t){return yd(t,!0)}function yd(t,e){return st(t)?t:new kg(t,e)}class kg{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Re(e),this._value=n?e:so(e)}get value(){return md(this),this._value}set value(e){const n=this.__v_isShallow||lr(e)||ps(e);e=n?e:Re(e),no(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:so(e),_d(this))}}function ht(t){return st(t)?t.value:t}const Cg={get:(t,e,n)=>ht(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return st(o)&&!st(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function bd(t){return us(t)?t:new Proxy(t,Cg)}var vd;class Eg{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[vd]=!1,this._dirty=!0,this.effect=new Ta(e,()=>{this._dirty||(this._dirty=!0,_d(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Re(this);return md(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}vd="__v_isReadonly";function Ag(t,e,n=!1){let s,o;const r=Ee(t);return r?(s=t,o=Mt):(s=t.get,o=t.set),new Eg(s,o,r||!o,n)}function kn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Or(r,e,n)}return o}function vt(t,e,n,s){if(Ee(t)){const r=kn(t,e,n,s);return r&&ed(r)&&r.catch(i=>{Or(i,e,n)}),r}const o=[];for(let r=0;r<t.length;r++)o.push(vt(t[r],e,n,s));return o}function Or(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 c=r.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](t,i,a)===!1)return}r=r.parent}const l=e.appContext.config.errorHandler;if(l){kn(l,null,10,[t,i,a]);return}}Sg(t,n,o,s)}function Sg(t,e,n,s=!0){console.error(t)}let oo=!1,Ni=!1;const nt=[];let It=0;const ds=[];let Jt=null,Rn=0;const xd=Promise.resolve();let Ra=null;function fe(t){const e=Ra||xd;return t?e.then(this?t.bind(this):t):e}function Tg(t){let e=It+1,n=nt.length;for(;e<n;){const s=e+n>>>1;ro(nt[s])<t?e=s+1:n=s}return e}function Pa(t){(!nt.length||!nt.includes(t,oo&&t.allowRecurse?It+1:It))&&(t.id==null?nt.push(t):nt.splice(Tg(t.id),0,t),wd())}function wd(){!oo&&!Ni&&(Ni=!0,Ra=xd.then(Cd))}function Dg(t){const e=nt.indexOf(t);e>It&&nt.splice(e,1)}function Mg(t){_e(t)?ds.push(...t):(!Jt||!Jt.includes(t,t.allowRecurse?Rn+1:Rn))&&ds.push(t),wd()}function Fl(t,e=oo?It+1:0){for(;e<nt.length;e++){const n=nt[e];n&&n.pre&&(nt.splice(e,1),e--,n())}}function kd(t){if(ds.length){const e=[...new Set(ds)];if(ds.length=0,Jt){Jt.push(...e);return}for(Jt=e,Jt.sort((n,s)=>ro(n)-ro(s)),Rn=0;Rn<Jt.length;Rn++)Jt[Rn]();Jt=null,Rn=0}}const ro=t=>t.id==null?1/0:t.id,Og=(t,e)=>{const n=ro(t)-ro(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Cd(t){Ni=!1,oo=!0,nt.sort(Og);const e=Mt;try{for(It=0;It<nt.length;It++){const n=nt[It];n&&n.active!==!1&&kn(n,null,14)}}finally{It=0,nt.length=0,kd(),oo=!1,Ra=null,(nt.length||ds.length)&&Cd()}}function Lg(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Ne;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]||Ne;f&&(o=n.map(p=>He(p)?p.trim():p)),h&&(o=n.map(ar))}let a,l=s[a=ri(e)]||s[a=ri(Nt(e))];!l&&r&&(l=s[a=ri(Jn(e))]),l&&vt(l,t,6,o);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,vt(c,t,6,o)}}function Ed(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(!Ee(t)){const l=c=>{const u=Ed(c,e,!0);u&&(a=!0,Ze(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):(_e(r)?r.forEach(l=>i[l]=null):Ze(i,r),ze(t)&&s.set(t,i),i)}function Lr(t,e){return!t||!Sr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Le(t,e[0].toLowerCase()+e.slice(1))||Le(t,Jn(e))||Le(t,e))}let Xe=null,jr=null;function cr(t){const e=Xe;return Xe=t,jr=t&&t.type.__scopeId||null,e}function vo(t){jr=t}function xo(){jr=null}function Qe(t,e=Xe,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Kl(-1);const r=cr(e);let i;try{i=t(...o)}finally{cr(r),s._d&&Kl(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ii(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:h,data:f,setupState:p,ctx:g,inheritAttrs:m}=t;let w,v;const y=cr(t);try{if(n.shapeFlag&4){const E=o||s;w=Pt(u.call(E,E,h,r,p,f,g)),v=l}else{const E=e;w=Pt(E.length>1?E(r,{attrs:l,slots:a,emit:c}):E(r,null)),v=e.props?l:jg(l)}}catch(E){Ws.length=0,Or(E,t,1),w=Se(xt)}let x=w;if(v&&m!==!1){const E=Object.keys(v),{shapeFlag:$}=x;E.length&&$&7&&(i&&E.some(Ca)&&(v=Rg(v,i)),x=en(x,v))}return n.dirs&&(x=en(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),w=x,cr(y),w}const jg=t=>{let e;for(const n in t)(n==="class"||n==="style"||Sr(n))&&((e||(e={}))[n]=t[n]);return e},Rg=(t,e)=>{const n={};for(const s in t)(!Ca(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function Pg(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?$l(s,i,c):!!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]&&!Lr(c,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?$l(s,i,c):!0:!!i;return!1}function $l(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]&&!Lr(n,r))return!0}return!1}function Ig({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const Ad=t=>t.__isSuspense;function Fg(t,e){e&&e.pendingBranch?_e(t)?e.effects.push(...t):e.effects.push(t):Mg(t)}function Wo(t,e){if(Ve){let n=Ve.provides;const s=Ve.parent&&Ve.parent.provides;s===n&&(n=Ve.provides=Object.create(s)),n[t]=e}}function Yt(t,e,n=!1){const s=Ve||Xe;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&&Ee(e)?e.call(s.proxy):e}}const Ro={};function Hn(t,e,n){return Sd(t,e,n)}function Sd(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ne){const a=Kp()===(Ve==null?void 0:Ve.scope)?Ve:null;let l,c=!1,u=!1;if(st(t)?(l=()=>t.value,c=lr(t)):us(t)?(l=()=>t,s=!0):_e(t)?(u=!0,c=t.some(x=>us(x)||lr(x)),l=()=>t.map(x=>{if(st(x))return x.value;if(us(x))return zn(x);if(Ee(x))return kn(x,a,2)})):Ee(t)?e?l=()=>kn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),vt(t,a,3,[f])}:l=Mt,e&&s){const x=l;l=()=>zn(x())}let h,f=x=>{h=v.onStop=()=>{kn(x,a,4)}},p;if(co)if(f=Mt,e?n&&vt(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=D1();p=x.__watcherHandles||(x.__watcherHandles=[])}else return Mt;let g=u?new Array(t.length).fill(Ro):Ro;const m=()=>{if(v.active)if(e){const x=v.run();(s||c||(u?x.some((E,$)=>no(E,g[$])):no(x,g)))&&(h&&h(),vt(e,a,3,[x,g===Ro?void 0:u&&g[0]===Ro?[]:g,f]),g=x)}else v.run()};m.allowRecurse=!!e;let w;o==="sync"?w=m:o==="post"?w=()=>Ye(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),w=()=>Pa(m));const v=new Ta(l,w);e?n?m():g=v.run():o==="post"?Ye(v.run.bind(v),a&&a.suspense):v.run();const y=()=>{v.stop(),a&&a.scope&&Ea(a.scope.effects,v)};return p&&p.push(y),y}function $g(t,e,n){const s=this.proxy,o=He(t)?t.includes(".")?Td(s,t):()=>s[t]:t.bind(s,s);let r;Ee(e)?r=e:(r=e.handler,n=e);const i=Ve;ms(this);const a=Sd(o,r.bind(s),n);return i?ms(i):Vn(),a}function Td(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 zn(t,e){if(!ze(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),st(t))zn(t.value,e);else if(_e(t))for(let n=0;n<t.length;n++)zn(t[n],e);else if(Ss(t)||ls(t))t.forEach(n=>{zn(n,e)});else if(nd(t))for(const n in t)zn(t[n],e);return t}function Dd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ir(()=>{t.isMounted=!0}),$a(()=>{t.isUnmounting=!0}),t}const mt=[Function,Array],qg={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mt,onEnter:mt,onAfterEnter:mt,onEnterCancelled:mt,onBeforeLeave:mt,onLeave:mt,onAfterLeave:mt,onLeaveCancelled:mt,onBeforeAppear:mt,onAppear:mt,onAfterAppear:mt,onAppearCancelled:mt},setup(t,{slots:e}){const n=Ua(),s=Dd();let o;return()=>{const r=e.default&&Ia(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==xt){i=m;break}}const a=Re(t),{mode:l}=a;if(s.isLeaving)return ai(i);const c=ql(i);if(!c)return ai(i);const u=io(c,a,s,n);gs(c,u);const h=n.subTree,f=h&&ql(h);let p=!1;const{getTransitionKey:g}=c.type;if(g){const m=g();o===void 0?o=m:m!==o&&(o=m,p=!0)}if(f&&f.type!==xt&&(!yn(c,f)||p)){const m=io(f,a,s,n);if(gs(f,m),l==="out-in")return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ai(i);l==="in-out"&&c.type!==xt&&(m.delayLeave=(w,v,y)=>{const x=Md(s,f);x[String(f.key)]=f,w._leaveCb=()=>{v(),w._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},zg=qg;function Md(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 io(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:w,onAfterAppear:v,onAppearCancelled:y}=e,x=String(t.key),E=Md(n,t),$=(b,k)=>{b&&vt(b,s,9,k)},T=(b,k)=>{const S=k[1];$(b,k),_e(b)?b.every(z=>z.length<=1)&&S():b.length<=1&&S()},q={mode:r,persisted:i,beforeEnter(b){let k=a;if(!n.isMounted)if(o)k=m||a;else return;b._leaveCb&&b._leaveCb(!0);const S=E[x];S&&yn(t,S)&&S.el._leaveCb&&S.el._leaveCb(),$(k,[b])},enter(b){let k=l,S=c,z=u;if(!n.isMounted)if(o)k=w||l,S=v||c,z=y||u;else return;let F=!1;const Y=b._enterCb=I=>{F||(F=!0,I?$(z,[b]):$(S,[b]),q.delayedLeave&&q.delayedLeave(),b._enterCb=void 0)};k?T(k,[b,Y]):Y()},leave(b,k){const S=String(t.key);if(b._enterCb&&b._enterCb(!0),n.isUnmounting)return k();$(h,[b]);let z=!1;const F=b._leaveCb=Y=>{z||(z=!0,k(),Y?$(g,[b]):$(p,[b]),b._leaveCb=void 0,E[S]===t&&delete E[S])};E[S]=t,f?T(f,[b,F]):F()},clone(b){return io(b,e,n,s)}};return q}function ai(t){if(Rr(t))return t=en(t),t.children=null,t}function ql(t){return Rr(t)?t.children?t.children[0]:void 0:t}function gs(t,e){t.shapeFlag&6&&t.component?gs(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 Ia(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===Ie?(i.patchFlag&128&&o++,s=s.concat(Ia(i.children,e,a))):(e||i.type!==xt)&&s.push(a!=null?en(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Od(t){return Ee(t)?{setup:t,name:t.name}:t}const hs=t=>!!t.type.__asyncLoader,Rr=t=>t.type.__isKeepAlive,Bg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Ua(),s=n.ctx;if(!s.renderer)return()=>{const y=e.default&&e.default();return y&&y.length===1?y[0]:y};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(y,x,E,$,T)=>{const q=y.component;c(y,x,E,0,a),l(q.vnode,y,x,E,q,a,$,y.slotScopeIds,T),Ye(()=>{q.isDeactivated=!1,q.a&&cs(q.a);const b=y.props&&y.props.onVnodeMounted;b&&_t(b,q.parent,y)},a)},s.deactivate=y=>{const x=y.component;c(y,f,null,1,a),Ye(()=>{x.da&&cs(x.da);const E=y.props&&y.props.onVnodeUnmounted;E&&_t(E,x.parent,y),x.isDeactivated=!0},a)};function p(y){li(y),u(y,n,a,!0)}function g(y){o.forEach((x,E)=>{const $=Wi(x.type);$&&(!y||!y($))&&m(E)})}function m(y){const x=o.get(y);!i||!yn(x,i)?p(x):i&&li(i),o.delete(y),r.delete(y)}Hn(()=>[t.include,t.exclude],([y,x])=>{y&&g(E=>Vs(y,E)),x&&g(E=>!Vs(x,E))},{flush:"post",deep:!0});let w=null;const v=()=>{w!=null&&o.set(w,ci(n.subTree))};return Ir(v),Fa(v),$a(()=>{o.forEach(y=>{const{subTree:x,suspense:E}=n,$=ci(x);if(y.type===$.type&&y.key===$.key){li($);const T=$.component.da;T&&Ye(T,E);return}p(y)})}),()=>{if(w=null,!e.default)return null;const y=e.default(),x=y[0];if(y.length>1)return i=null,y;if(!lo(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let E=ci(x);const $=E.type,T=Wi(hs(E)?E.type.__asyncResolved||{}:$),{include:q,exclude:b,max:k}=t;if(q&&(!T||!Vs(q,T))||b&&T&&Vs(b,T))return i=E,x;const S=E.key==null?$:E.key,z=o.get(S);return E.el&&(E=en(E),x.shapeFlag&128&&(x.ssContent=E)),w=S,z?(E.el=z.el,E.component=z.component,E.transition&&gs(E,E.transition),E.shapeFlag|=512,r.delete(S),r.add(S)):(r.add(S),k&&r.size>parseInt(k,10)&&m(r.values().next().value)),E.shapeFlag|=256,i=E,Ad(x.type)?x:E}}},Ng=Bg;function Vs(t,e){return _e(t)?t.some(n=>Vs(n,e)):He(t)?t.split(",").includes(e):qp(t)?t.test(e):!1}function Ug(t,e){Ld(t,"a",e)}function Hg(t,e){Ld(t,"da",e)}function Ld(t,e,n=Ve){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Pr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Rr(o.parent.vnode)&&Vg(s,e,n,o),o=o.parent}}function Vg(t,e,n,s){const o=Pr(e,t,s,!0);jd(()=>{Ea(s[e],o)},n)}function li(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function ci(t){return t.shapeFlag&128?t.ssContent:t}function Pr(t,e,n=Ve,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Ds(),ms(n);const a=vt(e,n,t,i);return Vn(),Ms(),a});return s?o.unshift(r):o.push(r),r}}const sn=t=>(e,n=Ve)=>(!co||t==="sp")&&Pr(t,(...s)=>e(...s),n),Gg=sn("bm"),Ir=sn("m"),Kg=sn("bu"),Fa=sn("u"),$a=sn("bum"),jd=sn("um"),Wg=sn("sp"),Zg=sn("rtg"),Jg=sn("rtc");function Yg(t,e=Ve){Pr("ec",t,e)}function Te(t,e){const n=Xe;if(n===null)return t;const s=qr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[i,a,l,c=Ne]=e[r];i&&(Ee(i)&&(i={mounted:i,updated:i}),i.deep&&zn(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return t}function Dn(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&&(Ds(),vt(l,n,8,[t.el,a,t,e]),Ms())}}const qa="components";function Wt(t,e){return Pd(qa,t,!0,e)||t}const Rd=Symbol();function Qg(t){return He(t)?Pd(qa,t,!1)||t:t||Rd}function Pd(t,e,n=!0,s=!1){const o=Xe||Ve;if(o){const r=o.type;if(t===qa){const a=Wi(r,!1);if(a&&(a===e||a===Nt(e)||a===Dr(Nt(e))))return r}const i=zl(o[t]||r[t],e)||zl(o.appContext[t],e);return!i&&s?r:i}}function zl(t,e){return t&&(t[e]||t[Nt(e)]||t[Dr(Nt(e))])}function rt(t,e,n,s){let o;const r=n&&n[s];if(_e(t)||He(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 c=i[a];o[a]=e(t[c],c,a,r&&r[a])}}else o=[];return n&&(n[s]=o),o}function Id(t,e,n={},s,o){if(Xe.isCE||Xe.parent&&hs(Xe.parent)&&Xe.parent.isCE)return e!=="default"&&(n.name=e),Se("slot",n,s&&s());let r=t[e];r&&r._c&&(r._d=!1),D();const i=r&&Fd(r(n)),a=at(Ie,{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 Fd(t){return t.some(e=>lo(e)?!(e.type===xt||e.type===Ie&&!Fd(e.children)):!0)?t:null}const Ui=t=>t?Wd(t)?qr(t)||t.proxy:Ui(t.parent):null,Ks=Ze(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=>Ui(t.parent),$root:t=>Ui(t.root),$emit:t=>t.emit,$options:t=>za(t),$forceUpdate:t=>t.f||(t.f=()=>Pa(t.update)),$nextTick:t=>t.n||(t.n=fe.bind(t.proxy)),$watch:t=>$g.bind(t)}),ui=(t,e)=>t!==Ne&&!t.__isScriptSetup&&Le(t,e),Xg={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const p=i[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(ui(s,e))return i[e]=1,s[e];if(o!==Ne&&Le(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&Le(c,e))return i[e]=3,r[e];if(n!==Ne&&Le(n,e))return i[e]=4,n[e];Hi&&(i[e]=0)}}const u=Ks[e];let h,f;if(u)return e==="$attrs"&&ut(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Ne&&Le(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,Le(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return ui(o,e)?(o[e]=n,!0):s!==Ne&&Le(s,e)?(s[e]=n,!0):Le(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!==Ne&&Le(t,i)||ui(e,i)||(a=r[0])&&Le(a,i)||Le(s,i)||Le(Ks,i)||Le(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Le(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Hi=!0;function e1(t){const e=za(t),n=t.proxy,s=t.ctx;Hi=!1,e.beforeCreate&&Bl(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:f,beforeUpdate:p,updated:g,activated:m,deactivated:w,beforeDestroy:v,beforeUnmount:y,destroyed:x,unmounted:E,render:$,renderTracked:T,renderTriggered:q,errorCaptured:b,serverPrefetch:k,expose:S,inheritAttrs:z,components:F,directives:Y,filters:I}=e;if(c&&t1(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const A in i){const N=i[A];Ee(N)&&(s[A]=N.bind(n))}if(o){const A=o.call(n,n);ze(A)&&(t.data=Os(A))}if(Hi=!0,r)for(const A in r){const N=r[A],V=Ee(N)?N.bind(n,n):Ee(N.get)?N.get.bind(n,n):Mt,me=!Ee(N)&&Ee(N.set)?N.set.bind(n):Mt,pe=bt({get:V,set:me});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>pe.value,set:X=>pe.value=X})}if(a)for(const A in a)$d(a[A],s,n,A);if(l){const A=Ee(l)?l.call(n):l;Reflect.ownKeys(A).forEach(N=>{Wo(N,A[N])})}u&&Bl(u,t,"c");function Q(A,N){_e(N)?N.forEach(V=>A(V.bind(n))):N&&A(N.bind(n))}if(Q(Gg,h),Q(Ir,f),Q(Kg,p),Q(Fa,g),Q(Ug,m),Q(Hg,w),Q(Yg,b),Q(Jg,T),Q(Zg,q),Q($a,y),Q(jd,E),Q(Wg,k),_e(S))if(S.length){const A=t.exposed||(t.exposed={});S.forEach(N=>{Object.defineProperty(A,N,{get:()=>n[N],set:V=>n[N]=V})})}else t.exposed||(t.exposed={});$&&t.render===Mt&&(t.render=$),z!=null&&(t.inheritAttrs=z),F&&(t.components=F),Y&&(t.directives=Y)}function t1(t,e,n=Mt,s=!1){_e(t)&&(t=Vi(t));for(const o in t){const r=t[o];let i;ze(r)?"default"in r?i=Yt(r.from||o,r.default,!0):i=Yt(r.from||o):i=Yt(r),st(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Bl(t,e,n){vt(_e(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function $d(t,e,n,s){const o=s.includes(".")?Td(n,s):()=>n[s];if(He(t)){const r=e[t];Ee(r)&&Hn(o,r)}else if(Ee(t))Hn(o,t.bind(n));else if(ze(t))if(_e(t))t.forEach(r=>$d(r,e,n,s));else{const r=Ee(t.handler)?t.handler.bind(n):e[t.handler];Ee(r)&&Hn(o,r,t)}}function za(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=t.appContext,a=r.get(e);let l;return a?l=a:!o.length&&!n&&!s?l=e:(l={},o.length&&o.forEach(c=>ur(l,c,i,!0)),ur(l,e,i)),ze(e)&&r.set(e,l),l}function ur(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&ur(t,r,n,!0),o&&o.forEach(i=>ur(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=n1[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const n1={data:Nl,props:jn,emits:jn,methods:jn,computed:jn,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:jn,directives:jn,watch:o1,provide:Nl,inject:s1};function Nl(t,e){return e?t?function(){return Ze(Ee(t)?t.call(this,this):t,Ee(e)?e.call(this,this):e)}:e:t}function s1(t,e){return jn(Vi(t),Vi(e))}function Vi(t){if(_e(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function ot(t,e){return t?[...new Set([].concat(t,e))]:e}function jn(t,e){return t?Ze(Ze(Object.create(null),t),e):e}function o1(t,e){if(!t)return e;if(!e)return t;const n=Ze(Object.create(null),t);for(const s in e)n[s]=ot(t[s],e[s]);return n}function r1(t,e,n,s=!1){const o={},r={};ir(r,$r,1),t.propsDefaults=Object.create(null),qd(t,e,o,r);for(const i in t.propsOptions[0])i in o||(o[i]=void 0);n?t.props=s?o:vg(o):t.type.props?t.props=o:t.props=r,t.attrs=r}function i1(t,e,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=t,a=Re(o),[l]=t.propsOptions;let c=!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(Lr(t.emitsOptions,f))continue;const p=e[f];if(l)if(Le(r,f))p!==r[f]&&(r[f]=p,c=!0);else{const g=Nt(f);o[g]=Gi(l,a,g,p,t,!1)}else p!==r[f]&&(r[f]=p,c=!0)}}}else{qd(t,e,o,r)&&(c=!0);let u;for(const h in a)(!e||!Le(e,h)&&((u=Jn(h))===h||!Le(e,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=Gi(l,a,h,void 0,t,!0)):delete o[h]);if(r!==a)for(const h in r)(!e||!Le(e,h))&&(delete r[h],c=!0)}c&&Xt(t,"set","$attrs")}function qd(t,e,n,s){const[o,r]=t.propsOptions;let i=!1,a;if(e)for(let l in e){if(Ko(l))continue;const c=e[l];let u;o&&Le(o,u=Nt(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:Lr(t.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,i=!0)}if(r){const l=Re(n),c=a||Ne;for(let u=0;u<r.length;u++){const h=r[u];n[h]=Gi(o,l,h,c[h],t,!Le(c,h))}}return i}function Gi(t,e,n,s,o,r){const i=t[n];if(i!=null){const a=Le(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&Ee(l)){const{propsDefaults:c}=o;n in c?s=c[n]:(ms(o),s=c[n]=l.call(null,e),Vn())}else s=l}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Jn(n))&&(s=!0))}return s}function zd(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(!Ee(t)){const u=h=>{l=!0;const[f,p]=zd(h,e,!0);Ze(i,f),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return ze(t)&&s.set(t,as),as;if(_e(r))for(let u=0;u<r.length;u++){const h=Nt(r[u]);Ul(h)&&(i[h]=Ne)}else if(r)for(const u in r){const h=Nt(u);if(Ul(h)){const f=r[u],p=i[h]=_e(f)||Ee(f)?{type:f}:Object.assign({},f);if(p){const g=Gl(Boolean,p.type),m=Gl(String,p.type);p[0]=g>-1,p[1]=m<0||g<m,(g>-1||Le(p,"default"))&&a.push(h)}}}const c=[i,a];return ze(t)&&s.set(t,c),c}function Ul(t){return t[0]!=="$"}function Hl(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Vl(t,e){return Hl(t)===Hl(e)}function Gl(t,e){return _e(e)?e.findIndex(n=>Vl(n,t)):Ee(e)&&Vl(e,t)?0:-1}const Bd=t=>t[0]==="_"||t==="$stable",Ba=t=>_e(t)?t.map(Pt):[Pt(t)],a1=(t,e,n)=>{if(e._n)return e;const s=Qe((...o)=>Ba(e(...o)),n);return s._c=!1,s},Nd=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Bd(o))continue;const r=t[o];if(Ee(r))e[o]=a1(o,r,s);else if(r!=null){const i=Ba(r);e[o]=()=>i}}},Ud=(t,e)=>{const n=Ba(e);t.slots.default=()=>n},l1=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Re(e),ir(e,"_",n)):Nd(e,t.slots={})}else t.slots={},e&&Ud(t,e);ir(t.slots,$r,1)},c1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ne;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(Ze(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Nd(e,o)),i=e}else e&&(Ud(t,e),i={default:1});if(r)for(const a in o)!Bd(a)&&!(a in i)&&delete o[a]};function Hd(){return{app:null,config:{isNativeTag:Ip,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 u1=0;function d1(t,e){return function(s,o=null){Ee(s)||(s=Object.assign({},s)),o!=null&&!ze(o)&&(o=null);const r=Hd(),i=new Set;let a=!1;const l=r.app={_uid:u1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:M1,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&Ee(c.install)?(i.add(c),c.install(l,...u)):Ee(c)&&(i.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,h){if(!a){const f=Se(s,o);return f.appContext=r,u&&e?e(f,c):t(f,c,h),a=!0,l._container=c,c.__vue_app__=l,qr(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function Ki(t,e,n,s,o=!1){if(_e(t)){t.forEach((f,p)=>Ki(f,e&&(_e(e)?e[p]:e),n,s,o));return}if(hs(s)&&!o)return;const r=s.shapeFlag&4?qr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ne?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(He(c)?(u[c]=null,Le(h,c)&&(h[c]=null)):st(c)&&(c.value=null)),Ee(l))kn(l,a,12,[i,u]);else{const f=He(l),p=st(l);if(f||p){const g=()=>{if(t.f){const m=f?Le(h,l)?h[l]:u[l]:l.value;o?_e(m)&&Ea(m,r):_e(m)?m.includes(r)||m.push(r):f?(u[l]=[r],Le(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,Le(h,l)&&(h[l]=i)):p&&(l.value=i,t.k&&(u[t.k]=i))};i?(g.id=-1,Ye(g,n)):g()}}}const Ye=Fg;function h1(t){return f1(t)}function f1(t,e){const n=Hp();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:f,setScopeId:p=Mt,insertStaticContent:g}=t,m=(_,C,O,j=null,R=null,J=null,oe=!1,P=null,ee=!!C.dynamicChildren)=>{if(_===C)return;_&&!yn(_,C)&&(j=Z(_),X(_,R,J,!0),_=null),C.patchFlag===-2&&(ee=!1,C.dynamicChildren=null);const{type:B,ref:G,shapeFlag:re}=C;switch(B){case Fr:w(_,C,O,j);break;case xt:v(_,C,O,j);break;case Zo:_==null&&y(C,O,j,oe);break;case Ie:F(_,C,O,j,R,J,oe,P,ee);break;default:re&1?$(_,C,O,j,R,J,oe,P,ee):re&6?Y(_,C,O,j,R,J,oe,P,ee):(re&64||re&128)&&B.process(_,C,O,j,R,J,oe,P,ee,se)}G!=null&&R&&Ki(G,_&&_.ref,J,C||_,!C)},w=(_,C,O,j)=>{if(_==null)s(C.el=a(C.children),O,j);else{const R=C.el=_.el;C.children!==_.children&&c(R,C.children)}},v=(_,C,O,j)=>{_==null?s(C.el=l(C.children||""),O,j):C.el=_.el},y=(_,C,O,j)=>{[_.el,_.anchor]=g(_.children,C,O,j,_.el,_.anchor)},x=({el:_,anchor:C},O,j)=>{let R;for(;_&&_!==C;)R=f(_),s(_,O,j),_=R;s(C,O,j)},E=({el:_,anchor:C})=>{let O;for(;_&&_!==C;)O=f(_),o(_),_=O;o(C)},$=(_,C,O,j,R,J,oe,P,ee)=>{oe=oe||C.type==="svg",_==null?T(C,O,j,R,J,oe,P,ee):k(_,C,R,J,oe,P,ee)},T=(_,C,O,j,R,J,oe,P)=>{let ee,B;const{type:G,props:re,shapeFlag:le,transition:ae,dirs:be}=_;if(ee=_.el=i(_.type,J,re&&re.is,re),le&8?u(ee,_.children):le&16&&b(_.children,ee,null,j,R,J&&G!=="foreignObject",oe,P),be&&Dn(_,null,j,"created"),q(ee,_,_.scopeId,oe,j),re){for(const te in re)te!=="value"&&!Ko(te)&&r(ee,te,null,re[te],J,_.children,j,R,W);"value"in re&&r(ee,"value",null,re.value),(B=re.onVnodeBeforeMount)&&_t(B,j,_)}be&&Dn(_,null,j,"beforeMount");const H=(!R||R&&!R.pendingBranch)&&ae&&!ae.persisted;H&&ae.beforeEnter(ee),s(ee,C,O),((B=re&&re.onVnodeMounted)||H||be)&&Ye(()=>{B&&_t(B,j,_),H&&ae.enter(ee),be&&Dn(_,null,j,"mounted")},R)},q=(_,C,O,j,R)=>{if(O&&p(_,O),j)for(let J=0;J<j.length;J++)p(_,j[J]);if(R){let J=R.subTree;if(C===J){const oe=R.vnode;q(_,oe,oe.scopeId,oe.slotScopeIds,R.parent)}}},b=(_,C,O,j,R,J,oe,P,ee=0)=>{for(let B=ee;B<_.length;B++){const G=_[B]=P?dn(_[B]):Pt(_[B]);m(null,G,C,O,j,R,J,oe,P)}},k=(_,C,O,j,R,J,oe)=>{const P=C.el=_.el;let{patchFlag:ee,dynamicChildren:B,dirs:G}=C;ee|=_.patchFlag&16;const re=_.props||Ne,le=C.props||Ne;let ae;O&&Mn(O,!1),(ae=le.onVnodeBeforeUpdate)&&_t(ae,O,C,_),G&&Dn(C,_,O,"beforeUpdate"),O&&Mn(O,!0);const be=R&&C.type!=="foreignObject";if(B?S(_.dynamicChildren,B,P,O,j,be,J):oe||N(_,C,P,null,O,j,be,J,!1),ee>0){if(ee&16)z(P,C,re,le,O,j,R);else if(ee&2&&re.class!==le.class&&r(P,"class",null,le.class,R),ee&4&&r(P,"style",re.style,le.style,R),ee&8){const H=C.dynamicProps;for(let te=0;te<H.length;te++){const ue=H[te],ve=re[ue],Pe=le[ue];(Pe!==ve||ue==="value")&&r(P,ue,ve,Pe,R,_.children,O,j,W)}}ee&1&&_.children!==C.children&&u(P,C.children)}else!oe&&B==null&&z(P,C,re,le,O,j,R);((ae=le.onVnodeUpdated)||G)&&Ye(()=>{ae&&_t(ae,O,C,_),G&&Dn(C,_,O,"updated")},j)},S=(_,C,O,j,R,J,oe)=>{for(let P=0;P<C.length;P++){const ee=_[P],B=C[P],G=ee.el&&(ee.type===Ie||!yn(ee,B)||ee.shapeFlag&70)?h(ee.el):O;m(ee,B,G,null,j,R,J,oe,!0)}},z=(_,C,O,j,R,J,oe)=>{if(O!==j){if(O!==Ne)for(const P in O)!Ko(P)&&!(P in j)&&r(_,P,O[P],null,oe,C.children,R,J,W);for(const P in j){if(Ko(P))continue;const ee=j[P],B=O[P];ee!==B&&P!=="value"&&r(_,P,B,ee,oe,C.children,R,J,W)}"value"in j&&r(_,"value",O.value,j.value)}},F=(_,C,O,j,R,J,oe,P,ee)=>{const B=C.el=_?_.el:a(""),G=C.anchor=_?_.anchor:a("");let{patchFlag:re,dynamicChildren:le,slotScopeIds:ae}=C;ae&&(P=P?P.concat(ae):ae),_==null?(s(B,O,j),s(G,O,j),b(C.children,O,G,R,J,oe,P,ee)):re>0&&re&64&&le&&_.dynamicChildren?(S(_.dynamicChildren,le,O,R,J,oe,P),(C.key!=null||R&&C===R.subTree)&&Vd(_,C,!0)):N(_,C,O,G,R,J,oe,P,ee)},Y=(_,C,O,j,R,J,oe,P,ee)=>{C.slotScopeIds=P,_==null?C.shapeFlag&512?R.ctx.activate(C,O,j,oe,ee):I(C,O,j,R,J,oe,ee):he(_,C,ee)},I=(_,C,O,j,R,J,oe)=>{const P=_.component=w1(_,j,R);if(Rr(_)&&(P.ctx.renderer=se),k1(P),P.asyncDep){if(R&&R.registerDep(P,Q),!_.el){const ee=P.subTree=Se(xt);v(null,ee,C,O)}return}Q(P,_,C,O,R,J,oe)},he=(_,C,O)=>{const j=C.component=_.component;if(Pg(_,C,O))if(j.asyncDep&&!j.asyncResolved){A(j,C,O);return}else j.next=C,Dg(j.update),j.update();else C.el=_.el,j.vnode=C},Q=(_,C,O,j,R,J,oe)=>{const P=()=>{if(_.isMounted){let{next:G,bu:re,u:le,parent:ae,vnode:be}=_,H=G,te;Mn(_,!1),G?(G.el=be.el,A(_,G,oe)):G=be,re&&cs(re),(te=G.props&&G.props.onVnodeBeforeUpdate)&&_t(te,ae,G,be),Mn(_,!0);const ue=ii(_),ve=_.subTree;_.subTree=ue,m(ve,ue,h(ve.el),Z(ve),_,R,J),G.el=ue.el,H===null&&Ig(_,ue.el),le&&Ye(le,R),(te=G.props&&G.props.onVnodeUpdated)&&Ye(()=>_t(te,ae,G,be),R)}else{let G;const{el:re,props:le}=C,{bm:ae,m:be,parent:H}=_,te=hs(C);if(Mn(_,!1),ae&&cs(ae),!te&&(G=le&&le.onVnodeBeforeMount)&&_t(G,H,C),Mn(_,!0),re&&de){const ue=()=>{_.subTree=ii(_),de(re,_.subTree,_,R,null)};te?C.type.__asyncLoader().then(()=>!_.isUnmounted&&ue()):ue()}else{const ue=_.subTree=ii(_);m(null,ue,O,j,_,R,J),C.el=ue.el}if(be&&Ye(be,R),!te&&(G=le&&le.onVnodeMounted)){const ue=C;Ye(()=>_t(G,H,ue),R)}(C.shapeFlag&256||H&&hs(H.vnode)&&H.vnode.shapeFlag&256)&&_.a&&Ye(_.a,R),_.isMounted=!0,C=O=j=null}},ee=_.effect=new Ta(P,()=>Pa(B),_.scope),B=_.update=()=>ee.run();B.id=_.uid,Mn(_,!0),B()},A=(_,C,O)=>{C.component=_;const j=_.vnode.props;_.vnode=C,_.next=null,i1(_,C.props,j,O),c1(_,C.children,O),Ds(),Fl(),Ms()},N=(_,C,O,j,R,J,oe,P,ee=!1)=>{const B=_&&_.children,G=_?_.shapeFlag:0,re=C.children,{patchFlag:le,shapeFlag:ae}=C;if(le>0){if(le&128){me(B,re,O,j,R,J,oe,P,ee);return}else if(le&256){V(B,re,O,j,R,J,oe,P,ee);return}}ae&8?(G&16&&W(B,R,J),re!==B&&u(O,re)):G&16?ae&16?me(B,re,O,j,R,J,oe,P,ee):W(B,R,J,!0):(G&8&&u(O,""),ae&16&&b(re,O,j,R,J,oe,P,ee))},V=(_,C,O,j,R,J,oe,P,ee)=>{_=_||as,C=C||as;const B=_.length,G=C.length,re=Math.min(B,G);let le;for(le=0;le<re;le++){const ae=C[le]=ee?dn(C[le]):Pt(C[le]);m(_[le],ae,O,null,R,J,oe,P,ee)}B>G?W(_,R,J,!0,!1,re):b(C,O,j,R,J,oe,P,ee,re)},me=(_,C,O,j,R,J,oe,P,ee)=>{let B=0;const G=C.length;let re=_.length-1,le=G-1;for(;B<=re&&B<=le;){const ae=_[B],be=C[B]=ee?dn(C[B]):Pt(C[B]);if(yn(ae,be))m(ae,be,O,null,R,J,oe,P,ee);else break;B++}for(;B<=re&&B<=le;){const ae=_[re],be=C[le]=ee?dn(C[le]):Pt(C[le]);if(yn(ae,be))m(ae,be,O,null,R,J,oe,P,ee);else break;re--,le--}if(B>re){if(B<=le){const ae=le+1,be=ae<G?C[ae].el:j;for(;B<=le;)m(null,C[B]=ee?dn(C[B]):Pt(C[B]),O,be,R,J,oe,P,ee),B++}}else if(B>le)for(;B<=re;)X(_[B],R,J,!0),B++;else{const ae=B,be=B,H=new Map;for(B=be;B<=le;B++){const tt=C[B]=ee?dn(C[B]):Pt(C[B]);tt.key!=null&&H.set(tt.key,B)}let te,ue=0;const ve=le-be+1;let Pe=!1,Be=0;const gt=new Array(ve);for(B=0;B<ve;B++)gt[B]=0;for(B=ae;B<=re;B++){const tt=_[B];if(ue>=ve){X(tt,R,J,!0);continue}let it;if(tt.key!=null)it=H.get(tt.key);else for(te=be;te<=le;te++)if(gt[te-be]===0&&yn(tt,C[te])){it=te;break}it===void 0?X(tt,R,J,!0):(gt[it-be]=B+1,it>=Be?Be=it:Pe=!0,m(tt,C[it],O,null,R,J,oe,P,ee),ue++)}const Je=Pe?p1(gt):as;for(te=Je.length-1,B=ve-1;B>=0;B--){const tt=be+B,it=C[tt],Sl=tt+1<G?C[tt+1].el:j;gt[B]===0?m(null,it,O,Sl,R,J,oe,P,ee):Pe&&(te<0||B!==Je[te]?pe(it,O,Sl,2):te--)}}},pe=(_,C,O,j,R=null)=>{const{el:J,type:oe,transition:P,children:ee,shapeFlag:B}=_;if(B&6){pe(_.component.subTree,C,O,j);return}if(B&128){_.suspense.move(C,O,j);return}if(B&64){oe.move(_,C,O,se);return}if(oe===Ie){s(J,C,O);for(let re=0;re<ee.length;re++)pe(ee[re],C,O,j);s(_.anchor,C,O);return}if(oe===Zo){x(_,C,O);return}if(j!==2&&B&1&&P)if(j===0)P.beforeEnter(J),s(J,C,O),Ye(()=>P.enter(J),R);else{const{leave:re,delayLeave:le,afterLeave:ae}=P,be=()=>s(J,C,O),H=()=>{re(J,()=>{be(),ae&&ae()})};le?le(J,be,H):H()}else s(J,C,O)},X=(_,C,O,j=!1,R=!1)=>{const{type:J,props:oe,ref:P,children:ee,dynamicChildren:B,shapeFlag:G,patchFlag:re,dirs:le}=_;if(P!=null&&Ki(P,null,O,_,!0),G&256){C.ctx.deactivate(_);return}const ae=G&1&&le,be=!hs(_);let H;if(be&&(H=oe&&oe.onVnodeBeforeUnmount)&&_t(H,C,_),G&6)M(_.component,O,j);else{if(G&128){_.suspense.unmount(O,j);return}ae&&Dn(_,null,C,"beforeUnmount"),G&64?_.type.remove(_,C,O,R,se,j):B&&(J!==Ie||re>0&&re&64)?W(B,C,O,!1,!0):(J===Ie&&re&384||!R&&G&16)&&W(ee,C,O),j&&ye(_)}(be&&(H=oe&&oe.onVnodeUnmounted)||ae)&&Ye(()=>{H&&_t(H,C,_),ae&&Dn(_,null,C,"unmounted")},O)},ye=_=>{const{type:C,el:O,anchor:j,transition:R}=_;if(C===Ie){ke(O,j);return}if(C===Zo){E(_);return}const J=()=>{o(O),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(_.shapeFlag&1&&R&&!R.persisted){const{leave:oe,delayLeave:P}=R,ee=()=>oe(O,J);P?P(_.el,J,ee):ee()}else J()},ke=(_,C)=>{let O;for(;_!==C;)O=f(_),o(_),_=O;o(C)},M=(_,C,O)=>{const{bum:j,scope:R,update:J,subTree:oe,um:P}=_;j&&cs(j),R.stop(),J&&(J.active=!1,X(oe,_,C,O)),P&&Ye(P,C),Ye(()=>{_.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},W=(_,C,O,j=!1,R=!1,J=0)=>{for(let oe=J;oe<_.length;oe++)X(_[oe],C,O,j,R)},Z=_=>_.shapeFlag&6?Z(_.component.subTree):_.shapeFlag&128?_.suspense.next():f(_.anchor||_.el),ie=(_,C,O)=>{_==null?C._vnode&&X(C._vnode,null,null,!0):m(C._vnode||null,_,C,null,null,null,O),Fl(),kd(),C._vnode=_},se={p:m,um:X,m:pe,r:ye,mt:I,mc:b,pc:N,pbc:S,n:Z,o:t};let ge,de;return e&&([ge,de]=e(se)),{render:ie,hydrate:ge,createApp:d1(ie,ge)}}function Mn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Vd(t,e,n=!1){const s=t.children,o=e.children;if(_e(s)&&_e(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]=dn(o[r]),a.el=i.el),n||Vd(i,a)),a.type===Fr&&(a.el=i.el)}}function p1(t){const e=t.slice(),n=[0];let s,o,r,i,a;const l=t.length;for(s=0;s<l;s++){const c=t[s];if(c!==0){if(o=n[n.length-1],t[o]<c){e[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,t[n[a]]<c?r=a+1:i=a;c<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 g1=t=>t.__isTeleport,Ie=Symbol(void 0),Fr=Symbol(void 0),xt=Symbol(void 0),Zo=Symbol(void 0),Ws=[];let Dt=null;function D(t=!1){Ws.push(Dt=t?null:[])}function m1(){Ws.pop(),Dt=Ws[Ws.length-1]||null}let ao=1;function Kl(t){ao+=t}function Gd(t){return t.dynamicChildren=ao>0?Dt||as:null,m1(),ao>0&&Dt&&Dt.push(t),t}function L(t,e,n,s,o,r){return Gd(d(t,e,n,s,o,r,!0))}function at(t,e,n,s,o){return Gd(Se(t,e,n,s,o,!0))}function lo(t){return t?t.__v_isVNode===!0:!1}function yn(t,e){return t.type===e.type&&t.key===e.key}const $r="__vInternal",Kd=({key:t})=>t??null,Jo=({ref:t,ref_key:e,ref_for:n})=>t!=null?He(t)||st(t)||Ee(t)?{i:Xe,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===Ie?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Kd(e),ref:e&&Jo(e),scopeId:jr,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:Xe};return a?(Na(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=He(n)?8:16),ao>0&&!i&&Dt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Dt.push(l),l}const Se=_1;function _1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===Rd)&&(t=xt),lo(t)){const a=en(t,e,!0);return n&&Na(a,n),ao>0&&!r&&Dt&&(a.shapeFlag&6?Dt[Dt.indexOf(t)]=a:Dt.push(a)),a.patchFlag|=-2,a}if(S1(t)&&(t=t.__vccOpts),e){e=y1(e);let{class:a,style:l}=e;a&&!He(a)&&(e.class=Ae(a)),ze(l)&&(pd(l)&&!_e(l)&&(l=Ze({},l)),e.style=xn(l))}const i=He(t)?1:Ad(t)?128:g1(t)?64:ze(t)?4:Ee(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function y1(t){return t?pd(t)||$r in t?Ze({},t):t:null}function en(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?b1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Kd(a),ref:e&&e.ref?n&&o?_e(o)?o.concat(Jo(e)):[o,Jo(e)]:Jo(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!==Ie?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&&en(t.ssContent),ssFallback:t.ssFallback&&en(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Ce(t=" ",e=0){return Se(Fr,null,t,e)}function wo(t,e){const n=Se(Zo,null,t);return n.staticCount=e,n}function K(t="",e=!1){return e?(D(),at(xt,null,t)):Se(xt,null,t)}function Pt(t){return t==null||typeof t=="boolean"?Se(xt):_e(t)?Se(Ie,null,t.slice()):typeof t=="object"?dn(t):Se(Fr,null,String(t))}function dn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:en(t)}function Na(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(_e(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Na(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!($r in e)?e._ctx=Xe:o===3&&Xe&&(Xe.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ee(e)?(e={default:e,_ctx:Xe},n=32):(e=String(e),s&64?(n=16,e=[Ce(e)]):n=8);t.children=e,t.shapeFlag|=n}function b1(...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=Ae([e.class,s.class]));else if(o==="style")e.style=xn([e.style,s.style]);else if(Sr(o)){const r=e[o],i=s[o];i&&r!==i&&!(_e(r)&&r.includes(i))&&(e[o]=r?[].concat(r,i):i)}else o!==""&&(e[o]=s[o])}return e}function _t(t,e,n,s=null){vt(t,e,7,[n,s])}const v1=Hd();let x1=0;function w1(t,e,n){const s=t.type,o=(e?e.appContext:t.appContext)||v1,r={uid:x1++,vnode:t,type:s,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Vp(!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:zd(s,o),emitsOptions:Ed(s,o),emit:null,emitted:null,propsDefaults:Ne,inheritAttrs:s.inheritAttrs,ctx:Ne,data:Ne,props:Ne,attrs:Ne,slots:Ne,refs:Ne,setupState:Ne,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=Lg.bind(null,r),t.ce&&t.ce(r),r}let Ve=null;const Ua=()=>Ve||Xe,ms=t=>{Ve=t,t.scope.on()},Vn=()=>{Ve&&Ve.scope.off(),Ve=null};function Wd(t){return t.vnode.shapeFlag&4}let co=!1;function k1(t,e=!1){co=e;const{props:n,children:s}=t.vnode,o=Wd(t);r1(t,n,o,e),l1(t,s);const r=o?C1(t,e):void 0;return co=!1,r}function C1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=gd(new Proxy(t.ctx,Xg));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?A1(t):null;ms(t),Ds();const r=kn(s,t,0,[t.props,o]);if(Ms(),Vn(),ed(r)){if(r.then(Vn,Vn),e)return r.then(i=>{Wl(t,i,e)}).catch(i=>{Or(i,t,0)});t.asyncDep=r}else Wl(t,r,e)}else Zd(t,e)}function Wl(t,e,n){Ee(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ze(e)&&(t.setupState=bd(e)),Zd(t,n)}let Zl;function Zd(t,e,n){const s=t.type;if(!t.render){if(!e&&Zl&&!s.render){const o=s.template||za(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Ze(Ze({isCustomElement:r,delimiters:a},i),l);s.render=Zl(o,c)}}t.render=s.render||Mt}ms(t),Ds(),e1(t),Ms(),Vn()}function E1(t){return new Proxy(t.attrs,{get(e,n){return ut(t,"get","$attrs"),e[n]}})}function A1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=E1(t))},slots:t.slots,emit:t.emit,expose:e}}function qr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(bd(gd(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Ks)return Ks[n](t)},has(e,n){return n in e||n in Ks}}))}function Wi(t,e=!0){return Ee(t)?t.displayName||t.name:t.name||e&&t.__name}function S1(t){return Ee(t)&&"__vccOpts"in t}const bt=(t,e)=>Ag(t,e,co);function Jd(t,e,n){const s=arguments.length;return s===2?ze(e)&&!_e(e)?lo(e)?Se(t,null,[e]):Se(t,e):Se(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&lo(n)&&(n=[n]),Se(t,e,n))}const T1=Symbol(""),D1=()=>Yt(T1),M1="3.2.47",O1="http://www.w3.org/2000/svg",Pn=typeof document<"u"?document:null,Jl=Pn&&Pn.createElement("template"),L1={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?Pn.createElementNS(O1,t):Pn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Pn.createTextNode(t),createComment:t=>Pn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Pn.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{Jl.innerHTML=s?`<svg>${t}</svg>`:t;const a=Jl.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 j1(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 R1(t,e,n){const s=t.style,o=He(n);if(n&&!o){if(e&&!He(e))for(const r in e)n[r]==null&&Zi(s,r,"");for(const r in n)Zi(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 Yl=/\s*!important$/;function Zi(t,e,n){if(_e(n))n.forEach(s=>Zi(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=P1(t,e);Yl.test(n)?t.setProperty(Jn(s),n.replace(Yl,""),"important"):t[s]=n}}const Ql=["Webkit","Moz","ms"],di={};function P1(t,e){const n=di[e];if(n)return n;let s=Nt(e);if(s!=="filter"&&s in t)return di[e]=s;s=Dr(s);for(let o=0;o<Ql.length;o++){const r=Ql[o]+s;if(r in t)return di[e]=r}return e}const Xl="http://www.w3.org/1999/xlink";function I1(t,e,n,s,o){if(s&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Xl,e.slice(6,e.length)):t.setAttributeNS(Xl,e,n);else{const r=Rp(e);n==null||r&&!Qu(n)?t.removeAttribute(e):t.setAttribute(e,r?"":n)}}function F1(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=Qu(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{t[e]=n}catch{}a&&t.removeAttribute(e)}function bn(t,e,n,s){t.addEventListener(e,n,s)}function $1(t,e,n,s){t.removeEventListener(e,n,s)}function q1(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]=z1(e);if(s){const c=r[e]=U1(s,o);bn(t,a,c,l)}else i&&($1(t,a,i,l),r[e]=void 0)}}const ec=/(?:Once|Passive|Capture)$/;function z1(t){let e;if(ec.test(t)){e={};let s;for(;s=t.match(ec);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Jn(t.slice(2)),e]}let hi=0;const B1=Promise.resolve(),N1=()=>hi||(B1.then(()=>hi=0),hi=Date.now());function U1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;vt(H1(s,n.value),e,5,[s])};return n.value=t,n.attached=N1(),n}function H1(t,e){if(_e(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 tc=/^on[a-z]/,V1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?j1(t,s,o):e==="style"?R1(t,n,s):Sr(e)?Ca(e)||q1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):G1(t,e,s,o))?F1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),I1(t,e,s,o))};function G1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&tc.test(e)&&Ee(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||tc.test(e)&&He(n)?!1:e in t}const an="transition",qs="animation",Yd={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},K1=Ze({},zg.props,Yd),On=(t,e=[])=>{_e(t)?t.forEach(n=>n(...e)):t&&t(...e)},nc=t=>t?_e(t)?t.some(e=>e.length>1):t.length>1:!1;function W1(t){const e={};for(const F in t)F in Yd||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,g=Z1(o),m=g&&g[0],w=g&&g[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:x,onLeave:E,onLeaveCancelled:$,onBeforeAppear:T=v,onAppear:q=y,onAppearCancelled:b=x}=e,k=(F,Y,I)=>{un(F,Y?u:a),un(F,Y?c:i),I&&I()},S=(F,Y)=>{F._isLeaving=!1,un(F,h),un(F,p),un(F,f),Y&&Y()},z=F=>(Y,I)=>{const he=F?q:y,Q=()=>k(Y,F,I);On(he,[Y,Q]),sc(()=>{un(Y,F?l:r),Zt(Y,F?u:a),nc(he)||oc(Y,s,m,Q)})};return Ze(e,{onBeforeEnter(F){On(v,[F]),Zt(F,r),Zt(F,i)},onBeforeAppear(F){On(T,[F]),Zt(F,l),Zt(F,c)},onEnter:z(!1),onAppear:z(!0),onLeave(F,Y){F._isLeaving=!0;const I=()=>S(F,Y);Zt(F,h),Xd(),Zt(F,f),sc(()=>{F._isLeaving&&(un(F,h),Zt(F,p),nc(E)||oc(F,s,w,I))}),On(E,[F,I])},onEnterCancelled(F){k(F,!1),On(x,[F])},onAppearCancelled(F){k(F,!0),On(b,[F])},onLeaveCancelled(F){S(F),On($,[F])}})}function Z1(t){if(t==null)return null;if(ze(t))return[fi(t.enter),fi(t.leave)];{const e=fi(t);return[e,e]}}function fi(t){return Up(t)}function Zt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function un(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 sc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let J1=0;function oc(t,e,n,s){const o=t._endId=++J1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Qd(t,e);if(!i)return s();const c=i+"end";let u=0;const h=()=>{t.removeEventListener(c,f),r()},f=p=>{p.target===t&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),t.addEventListener(c,f)}function Qd(t,e){const n=window.getComputedStyle(t),s=g=>(n[g]||"").split(", "),o=s(`${an}Delay`),r=s(`${an}Duration`),i=rc(o,r),a=s(`${qs}Delay`),l=s(`${qs}Duration`),c=rc(a,l);let u=null,h=0,f=0;e===an?i>0&&(u=an,h=i,f=r.length):e===qs?c>0&&(u=qs,h=c,f=l.length):(h=Math.max(i,c),u=h>0?i>c?an:qs:null,f=u?u===an?r.length:l.length:0);const p=u===an&&/\b(transform|all)(,|$)/.test(s(`${an}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:p}}function rc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>ic(n)+ic(t[s])))}function ic(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Xd(){return document.body.offsetHeight}const eh=new WeakMap,th=new WeakMap,nh={name:"TransitionGroup",props:Ze({},K1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Ua(),s=Dd();let o,r;return Fa(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!tm(o[0].el,n.vnode.el,i))return;o.forEach(Q1),o.forEach(X1);const a=o.filter(em);Xd(),a.forEach(l=>{const c=l.el,u=c.style;Zt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const h=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",h),c._moveCb=null,un(c,i))};c.addEventListener("transitionend",h)})}),()=>{const i=Re(t),a=W1(i);let l=i.tag||Ie;o=r,r=e.default?Ia(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&gs(u,io(u,a,s,n))}if(o)for(let c=0;c<o.length;c++){const u=o[c];gs(u,io(u,a,s,n)),eh.set(u,u.el.getBoundingClientRect())}return Se(l,null,r)}}},Y1=t=>delete t.mode;nh.props;const Cn=nh;function Q1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function X1(t){th.set(t,t.el.getBoundingClientRect())}function em(t){const e=eh.get(t),n=th.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 tm(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}=Qd(s);return o.removeChild(s),r}const _s=t=>{const e=t.props["onUpdate:modelValue"]||!1;return _e(e)?n=>cs(e,n):e};function nm(t){t.target.composing=!0}function ac(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const qe={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=_s(o);const r=s||o.props&&o.props.type==="number";bn(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=ar(a)),t._assign(a)}),n&&bn(t,"change",()=>{t.value=t.value.trim()}),e||(bn(t,"compositionstart",nm),bn(t,"compositionend",ac),bn(t,"change",ac))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=_s(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&ar(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},hn={deep:!0,created(t,e,n){t._assign=_s(n),bn(t,"change",()=>{const s=t._modelValue,o=uo(t),r=t.checked,i=t._assign;if(_e(s)){const a=ka(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const c=[...s];c.splice(a,1),i(c)}}else if(Ss(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(sh(t,r))})},mounted:lc,beforeUpdate(t,e,n){t._assign=_s(n),lc(t,e,n)}};function lc(t,{value:e,oldValue:n},s){t._modelValue=e,_e(e)?t.checked=ka(e,s.props.value)>-1:Ss(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=bo(e,sh(t,!0)))}const sm={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Ss(e);bn(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?ar(uo(i)):uo(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=_s(s)},mounted(t,{value:e}){cc(t,e)},beforeUpdate(t,e,n){t._assign=_s(n)},updated(t,{value:e}){cc(t,e)}};function cc(t,e){const n=t.multiple;if(!(n&&!_e(e)&&!Ss(e))){for(let s=0,o=t.options.length;s<o;s++){const r=t.options[s],i=uo(r);if(n)_e(e)?r.selected=ka(e,i)>-1:r.selected=e.has(i);else if(bo(uo(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function uo(t){return"_value"in t?t._value:t.value}function sh(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const om=["ctrl","shift","alt","meta"],rm={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)=>om.some(n=>t[`${n}Key`]&&!e.includes(n))},ce=(t,e)=>(n,...s)=>{for(let o=0;o<e.length;o++){const r=rm[e[o]];if(r&&r(n,e))return}return t(n,...s)},im={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ji=(t,e)=>n=>{if(!("key"in n))return;const s=Jn(n.key);if(e.some(o=>o===s||im[o]===s))return t(n)},am=Ze({patchProp:V1},L1);let uc;function lm(){return uc||(uc=h1(am))}const oh=(...t)=>{const e=lm().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=cm(s);if(!o)return;const r=e._component;!Ee(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 cm(t){return He(t)?document.querySelector(t):t}function um(){return rh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function rh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const dm=typeof Proxy=="function",hm="devtools-plugin:setup",fm="plugin:settings:set";let Xn,Yi;function pm(){var t;return Xn!==void 0||(typeof window<"u"&&window.performance?(Xn=!0,Yi=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(Xn=!0,Yi=global.perf_hooks.performance):Xn=!1),Xn}function gm(){return pm()?Yi.now():Date.now()}class mm{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 gm()}},n&&n.on(fm,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function _m(t,e){const n=t,s=rh(),o=um(),r=dm&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(hm,t,e);else{const i=r?new mm(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 ym="store";function Ls(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function bm(t){return t!==null&&typeof t=="object"}function vm(t){return t&&typeof t.then=="function"}function xm(t,e){return function(){return t(e)}}function ih(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 ah(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;zr(t,n,[],t._modules.root,!0),Ha(t,n,e)}function Ha(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Ls(o,function(i,a){r[a]=xm(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Os({data:e}),t.strict&&Am(t),s&&n&&t._withCommit(function(){s.data=null})}function zr(t,e,n,s,o){var r=!n.length,i=t._modules.getNamespace(n);if(s.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=s),!r&&!o){var a=Va(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var c=s.context=wm(t,i,n);s.forEachMutation(function(u,h){var f=i+h;km(t,f,u,c)}),s.forEachAction(function(u,h){var f=u.root?h:i+h,p=u.handler||u;Cm(t,f,p,c)}),s.forEachGetter(function(u,h){var f=i+h;Em(t,f,u,c)}),s.forEachChild(function(u,h){zr(t,e,n.concat(h),u,o)})}function wm(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=dr(r,i,a),c=l.payload,u=l.options,h=l.type;return(!u||!u.root)&&(h=e+h),t.dispatch(h,c)},commit:s?t.commit:function(r,i,a){var l=dr(r,i,a),c=l.payload,u=l.options,h=l.type;(!u||!u.root)&&(h=e+h),t.commit(h,c,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return lh(t,e)}},state:{get:function(){return Va(t.state,n)}}}),o}function lh(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 km(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function Cm(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 vm(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function Em(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function Am(t){Hn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Va(t,e){return e.reduce(function(n,s){return n[s]},t)}function dr(t,e,n){return bm(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var Sm="vuex bindings",dc="vuex:mutations",pi="vuex:actions",es="vuex",Tm=0;function Dm(t,e){_m({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:[Sm]},function(n){n.addTimelineLayer({id:dc,label:"Vuex Mutations",color:hc}),n.addTimelineLayer({id:pi,label:"Vuex Actions",color:hc}),n.addInspector({id:es,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===es)if(s.filter){var o=[];hh(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[dh(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===es){var o=s.nodeId;lh(e,o),s.state=Lm(Rm(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===es){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(es),n.sendInspectorState(es),n.addTimelineEvent({layerId:dc,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=Tm++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:pi,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:pi,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var hc=8702998,Mm=6710886,Om=16777215,ch={label:"namespaced",textColor:Om,backgroundColor:Mm};function uh(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function dh(t,e){return{id:e||"root",label:uh(e),tags:t.namespaced?[ch]:[],children:Object.keys(t._children).map(function(n){return dh(t._children[n],e+n+"/")})}}function hh(t,e,n,s){s.includes(n)&&t.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[ch]:[]}),Object.keys(e._children).forEach(function(o){hh(t,e._children[o],n,s+o+"/")})}function Lm(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=jm(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?uh(i):i,editable:!1,value:Qi(function(){return r[i]})}})}return o}function jm(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]=Qi(function(){return t[n]})}else e[n]=Qi(function(){return t[n]})}),e}function Rm(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 Qi(t){try{return t()}catch(e){return e}}var Lt=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)||{}},fh={namespaced:{configurable:!0}};fh.namespaced.get=function(){return!!this._rawModule.namespaced};Lt.prototype.addChild=function(e,n){this._children[e]=n};Lt.prototype.removeChild=function(e){delete this._children[e]};Lt.prototype.getChild=function(e){return this._children[e]};Lt.prototype.hasChild=function(e){return e in this._children};Lt.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)};Lt.prototype.forEachChild=function(e){Ls(this._children,e)};Lt.prototype.forEachGetter=function(e){this._rawModule.getters&&Ls(this._rawModule.getters,e)};Lt.prototype.forEachAction=function(e){this._rawModule.actions&&Ls(this._rawModule.actions,e)};Lt.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ls(this._rawModule.mutations,e)};Object.defineProperties(Lt.prototype,fh);var Yn=function(e){this.register([],e,!1)};Yn.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};Yn.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};Yn.prototype.update=function(e){ph([],this.root,e)};Yn.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Lt(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&&Ls(n.modules,function(a,l){o.register(e.concat(l),a,s)})};Yn.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)};Yn.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function ph(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;ph(t.concat(s),e.getChild(s),n.modules[s])}}function Pm(t){return new dt(t)}var dt=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 Yn(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(f,p){return l.call(i,f,p)},this.commit=function(f,p,g){return c.call(i,f,p,g)},this.strict=o;var u=this._modules.root.state;zr(this,u,[],this._modules.root),Ha(this,u),s.forEach(function(h){return h(n)})},Ga={state:{configurable:!0}};dt.prototype.install=function(e,n){e.provide(n||ym,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&Dm(e,this)};Ga.state.get=function(){return this._state.data};Ga.state.set=function(t){};dt.prototype.commit=function(e,n,s){var o=this,r=dr(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};dt.prototype.dispatch=function(e,n){var s=this,o=dr(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,h){c.then(function(f){try{s._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,s.state,f)})}catch{}h(f)})})}};dt.prototype.subscribe=function(e,n){return ih(e,this._subscribers,n)};dt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return ih(s,this._actionSubscribers,n)};dt.prototype.watch=function(e,n,s){var o=this;return Hn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};dt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};dt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),zr(this,this.state,e,this._modules.get(e),s.preserveState),Ha(this,this.state)};dt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Va(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),ah(this)};dt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};dt.prototype.hotUpdate=function(e){this._modules.update(e),ah(this,!0)};dt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(dt.prototype,Ga);/*!
|
||
* vue-router v4.1.6
|
||
* (c) 2022 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const os=typeof window<"u";function Im(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const $e=Object.assign;function gi(t,e){const n={};for(const s in e){const o=e[s];n[s]=Ot(o)?o.map(t):t(o)}return n}const Zs=()=>{},Ot=Array.isArray,Fm=/\/$/,$m=t=>t.replace(Fm,"");function mi(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=Nm(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function qm(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function fc(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function zm(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&ys(e.matched[s],n.matched[o])&&gh(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function ys(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function gh(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Bm(t[n],e[n]))return!1;return!0}function Bm(t,e){return Ot(t)?pc(t,e):Ot(e)?pc(e,t):t===e}function pc(t,e){return Ot(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Nm(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 ho;(function(t){t.pop="pop",t.push="push"})(ho||(ho={}));var Js;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Js||(Js={}));function Um(t){if(!t)if(os){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),$m(t)}const Hm=/^[^#]+#/;function Vm(t,e){return t.replace(Hm,"#")+e}function Gm(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 Br=()=>({left:window.pageXOffset,top:window.pageYOffset});function Km(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=Gm(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 gc(t,e){return(history.state?history.state.position-e:-1)+t}const Xi=new Map;function Wm(t,e){Xi.set(t,e)}function Zm(t){const e=Xi.get(t);return Xi.delete(t),e}let Jm=()=>location.protocol+"//"+location.host;function mh(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),fc(l,"")}return fc(n,t)+s+o}function Ym(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const p=mh(t,location),g=n.value,m=e.value;let w=0;if(f){if(n.value=p,e.value=f,i&&i===g){i=null;return}w=m?f.position-m.position:0}else s(p);o.forEach(v=>{v(n.value,g,{delta:w,type:ho.pop,direction:w?w>0?Js.forward:Js.back:Js.unknown})})};function l(){i=n.value}function c(f){o.push(f);const p=()=>{const g=o.indexOf(f);g>-1&&o.splice(g,1)};return r.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState($e({},f.state,{scroll:Br()}),"")}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:c,destroy:h}}function mc(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?Br():null}}function Qm(t){const{history:e,location:n}=window,s={value:mh(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:Jm()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function i(l,c){const u=$e({},e.state,mc(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=$e({},o.value,e.state,{forward:l,scroll:Br()});r(u.current,u,!0);const h=$e({},mc(s.value,l,null),{position:u.position+1},c);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function Xm(t){t=Um(t);const e=Qm(t),n=Ym(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=$e({location:"",base:t,go:s,createHref:Vm.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 e_(t){return typeof t=="string"||t&&typeof t=="object"}function _h(t){return typeof t=="string"||typeof t=="symbol"}const ln={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},yh=Symbol("");var _c;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(_c||(_c={}));function bs(t,e){return $e(new Error,{type:t,[yh]:!0},e)}function Kt(t,e){return t instanceof Error&&yh in t&&(e==null||!!(t.type&e))}const yc="[^/]+?",t_={sensitive:!1,strict:!1,start:!0,end:!0},n_=/[.+*?^${}()[\]/\\]/g;function s_(t,e){const n=$e({},t_,e),s=[];let o=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let h=0;h<c.length;h++){const f=c[h];let p=40+(n.sensitive?.25:0);if(f.type===0)h||(o+="/"),o+=f.value.replace(n_,"\\$&"),p+=40;else if(f.type===1){const{value:g,repeatable:m,optional:w,regexp:v}=f;r.push({name:g,repeatable:m,optional:w});const y=v||yc;if(y!==yc){p+=10;try{new RegExp(`(${y})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${g}" (${y}): `+E.message)}}let x=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;h||(x=w&&c.length<2?`(?:/${x})`:"/"+x),w&&(x+="?"),o+=x,p+=20,w&&(p+=-8),m&&(p+=-20),y===".*"&&(p+=-50)}u.push(p)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(i),h={};if(!u)return null;for(let f=1;f<u.length;f++){const p=u[f]||"",g=r[f-1];h[g.name]=p&&g.repeatable?p.split("/"):p}return h}function l(c){let u="",h=!1;for(const f of t){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const p of f)if(p.type===0)u+=p.value;else if(p.type===1){const{value:g,repeatable:m,optional:w}=p,v=g in c?c[g]:"";if(Ot(v)&&!m)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const y=Ot(v)?v.join("/"):v;if(!y)if(w)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${g}"`);u+=y}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function o_(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 r_(t,e){let n=0;const s=t.score,o=e.score;for(;n<s.length&&n<o.length;){const r=o_(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(bc(s))return 1;if(bc(o))return-1}return o.length-s.length}function bc(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const i_={type:0,value:""},a_=/[a-zA-Z0-9_]/;function l_(t){if(!t)return[[]];if(t==="/")return[[i_]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,c="",u="";function h(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<t.length;){if(l=t[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(c&&h(),i()):l===":"?(h(),n=1):f();break;case 4:f(),n=s;break;case 1:l==="("?n=2:a_.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 "${c}"`),h(),i(),o}function c_(t,e,n){const s=s_(l_(t.path),n),o=$e(s,{record:t,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function u_(t,e){const n=[],s=new Map;e=wc({strict:!1,end:!0,sensitive:!1},e);function o(u){return s.get(u)}function r(u,h,f){const p=!f,g=d_(u);g.aliasOf=f&&f.record;const m=wc(e,u),w=[g];if("alias"in u){const x=typeof u.alias=="string"?[u.alias]:u.alias;for(const E of x)w.push($e({},g,{components:f?f.record.components:g.components,path:E,aliasOf:f?f.record:g}))}let v,y;for(const x of w){const{path:E}=x;if(h&&E[0]!=="/"){const $=h.record.path,T=$[$.length-1]==="/"?"":"/";x.path=h.record.path+(E&&T+E)}if(v=c_(x,h,m),f?f.alias.push(v):(y=y||v,y!==v&&y.alias.push(v),p&&u.name&&!xc(v)&&i(u.name)),g.children){const $=g.children;for(let T=0;T<$.length;T++)r($[T],v,f&&f.children[T])}f=f||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return y?()=>{i(y)}:Zs}function i(u){if(_h(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&&r_(u,n[h])>=0&&(u.record.path!==n[h].record.path||!bh(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!xc(u)&&s.set(u.record.name,u)}function c(u,h){let f,p={},g,m;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw bs(1,{location:u});m=f.record.name,p=$e(vc(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&vc(u.params,f.keys.map(y=>y.name))),g=f.stringify(p)}else if("path"in u)g=u.path,f=n.find(y=>y.re.test(g)),f&&(p=f.parse(g),m=f.record.name);else{if(f=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!f)throw bs(1,{location:u,currentLocation:h});m=f.record.name,p=$e({},h.params,u.params),g=f.stringify(p)}const w=[];let v=f;for(;v;)w.unshift(v.record),v=v.parent;return{name:m,path:g,params:p,matched:w,meta:f_(w)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function vc(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function d_(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:h_(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 h_(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 xc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function f_(t){return t.reduce((e,n)=>$e(e,n.meta),{})}function wc(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function bh(t,e){return e.children.some(n=>n===t||bh(t,n))}const vh=/#/g,p_=/&/g,g_=/\//g,m_=/=/g,__=/\?/g,xh=/\+/g,y_=/%5B/g,b_=/%5D/g,wh=/%5E/g,v_=/%60/g,kh=/%7B/g,x_=/%7C/g,Ch=/%7D/g,w_=/%20/g;function Ka(t){return encodeURI(""+t).replace(x_,"|").replace(y_,"[").replace(b_,"]")}function k_(t){return Ka(t).replace(kh,"{").replace(Ch,"}").replace(wh,"^")}function ea(t){return Ka(t).replace(xh,"%2B").replace(w_,"+").replace(vh,"%23").replace(p_,"%26").replace(v_,"`").replace(kh,"{").replace(Ch,"}").replace(wh,"^")}function C_(t){return ea(t).replace(m_,"%3D")}function E_(t){return Ka(t).replace(vh,"%23").replace(__,"%3F")}function A_(t){return t==null?"":E_(t).replace(g_,"%2F")}function hr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function S_(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(xh," "),i=r.indexOf("="),a=hr(i<0?r:r.slice(0,i)),l=i<0?null:hr(r.slice(i+1));if(a in e){let c=e[a];Ot(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function kc(t){let e="";for(let n in t){const s=t[n];if(n=C_(n),s==null){s!==void 0&&(e+=(e.length?"&":"")+n);continue}(Ot(s)?s.map(r=>r&&ea(r)):[s&&ea(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function T_(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Ot(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const D_=Symbol(""),Cc=Symbol(""),Wa=Symbol(""),Eh=Symbol(""),ta=Symbol("");function zs(){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 fn(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(bs(4,{from:n,to:e})):h instanceof Error?a(h):e_(h)?a(bs(2,{from:e,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),i())},c=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(h=>a(h))})}function _i(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(M_(a)){const c=(a.__vccOpts||a)[e];c&&o.push(fn(c,n,s,r,i))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=Im(c)?c.default:c;r.components[i]=u;const f=(u.__vccOpts||u)[e];return f&&fn(f,n,s,r,i)()}))}}return o}function M_(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Ec(t){const e=Yt(Wa),n=Yt(Eh),s=bt(()=>e.resolve(ht(t.to))),o=bt(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(ys.bind(null,u));if(f>-1)return f;const p=Ac(l[c-2]);return c>1&&Ac(u)===p&&h[h.length-1].path!==p?h.findIndex(ys.bind(null,l[c-2])):f}),r=bt(()=>o.value>-1&&j_(n.params,s.value.params)),i=bt(()=>o.value>-1&&o.value===n.matched.length-1&&gh(n.params,s.value.params));function a(l={}){return L_(l)?e[ht(t.replace)?"replace":"push"](ht(t.to)).catch(Zs):Promise.resolve()}return{route:s,href:bt(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const O_=Od({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:Ec,setup(t,{slots:e}){const n=Os(Ec(t)),{options:s}=Yt(Wa),o=bt(()=>({[Sc(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Sc(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Jd("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),In=O_;function L_(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 j_(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(!Ot(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Ac(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Sc=(t,e,n)=>t??e??n,R_=Od({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=Yt(ta),o=bt(()=>t.route||s.value),r=Yt(Cc,0),i=bt(()=>{let c=ht(r);const{matched:u}=o.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),a=bt(()=>o.value.matched[i.value]);Wo(Cc,bt(()=>i.value+1)),Wo(D_,a),Wo(ta,o);const l=xg();return Hn(()=>[l.value,a.value,t.name],([c,u,h],[f,p,g])=>{u&&(u.instances[h]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!ys(u,p)||!f)&&(u.enterCallbacks[h]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=t.name,h=a.value,f=h&&h.components[u];if(!f)return Tc(n.default,{Component:f,route:c});const p=h.props[u],g=p?p===!0?c.params:typeof p=="function"?p(c):p:null,w=Jd(f,$e({},g,e,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Tc(n.default,{Component:w,route:c})||w}}});function Tc(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Ah=R_;function P_(t){const e=u_(t.routes,t),n=t.parseQuery||S_,s=t.stringifyQuery||kc,o=t.history,r=zs(),i=zs(),a=zs(),l=wg(ln);let c=ln;os&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=gi.bind(null,M=>""+M),h=gi.bind(null,A_),f=gi.bind(null,hr);function p(M,W){let Z,ie;return _h(M)?(Z=e.getRecordMatcher(M),ie=W):ie=M,e.addRoute(ie,Z)}function g(M){const W=e.getRecordMatcher(M);W&&e.removeRoute(W)}function m(){return e.getRoutes().map(M=>M.record)}function w(M){return!!e.getRecordMatcher(M)}function v(M,W){if(W=$e({},W||l.value),typeof M=="string"){const _=mi(n,M,W.path),C=e.resolve({path:_.path},W),O=o.createHref(_.fullPath);return $e(_,C,{params:f(C.params),hash:hr(_.hash),redirectedFrom:void 0,href:O})}let Z;if("path"in M)Z=$e({},M,{path:mi(n,M.path,W.path).path});else{const _=$e({},M.params);for(const C in _)_[C]==null&&delete _[C];Z=$e({},M,{params:h(M.params)}),W.params=h(W.params)}const ie=e.resolve(Z,W),se=M.hash||"";ie.params=u(f(ie.params));const ge=qm(s,$e({},M,{hash:k_(se),path:ie.path})),de=o.createHref(ge);return $e({fullPath:ge,hash:se,query:s===kc?T_(M.query):M.query||{}},ie,{redirectedFrom:void 0,href:de})}function y(M){return typeof M=="string"?mi(n,M,l.value.path):$e({},M)}function x(M,W){if(c!==M)return bs(8,{from:W,to:M})}function E(M){return q(M)}function $(M){return E($e(y(M),{replace:!0}))}function T(M){const W=M.matched[M.matched.length-1];if(W&&W.redirect){const{redirect:Z}=W;let ie=typeof Z=="function"?Z(M):Z;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=y(ie):{path:ie},ie.params={}),$e({query:M.query,hash:M.hash,params:"path"in ie?{}:M.params},ie)}}function q(M,W){const Z=c=v(M),ie=l.value,se=M.state,ge=M.force,de=M.replace===!0,_=T(Z);if(_)return q($e(y(_),{state:typeof _=="object"?$e({},se,_.state):se,force:ge,replace:de}),W||Z);const C=Z;C.redirectedFrom=W;let O;return!ge&&zm(s,ie,Z)&&(O=bs(16,{to:C,from:ie}),me(ie,ie,!0,!1)),(O?Promise.resolve(O):k(C,ie)).catch(j=>Kt(j)?Kt(j,2)?j:V(j):A(j,C,ie)).then(j=>{if(j){if(Kt(j,2))return q($e({replace:de},y(j.to),{state:typeof j.to=="object"?$e({},se,j.to.state):se,force:ge}),W||C)}else j=z(C,ie,!0,de,se);return S(C,ie,j),j})}function b(M,W){const Z=x(M,W);return Z?Promise.reject(Z):Promise.resolve()}function k(M,W){let Z;const[ie,se,ge]=I_(M,W);Z=_i(ie.reverse(),"beforeRouteLeave",M,W);for(const _ of ie)_.leaveGuards.forEach(C=>{Z.push(fn(C,M,W))});const de=b.bind(null,M,W);return Z.push(de),ts(Z).then(()=>{Z=[];for(const _ of r.list())Z.push(fn(_,M,W));return Z.push(de),ts(Z)}).then(()=>{Z=_i(se,"beforeRouteUpdate",M,W);for(const _ of se)_.updateGuards.forEach(C=>{Z.push(fn(C,M,W))});return Z.push(de),ts(Z)}).then(()=>{Z=[];for(const _ of M.matched)if(_.beforeEnter&&!W.matched.includes(_))if(Ot(_.beforeEnter))for(const C of _.beforeEnter)Z.push(fn(C,M,W));else Z.push(fn(_.beforeEnter,M,W));return Z.push(de),ts(Z)}).then(()=>(M.matched.forEach(_=>_.enterCallbacks={}),Z=_i(ge,"beforeRouteEnter",M,W),Z.push(de),ts(Z))).then(()=>{Z=[];for(const _ of i.list())Z.push(fn(_,M,W));return Z.push(de),ts(Z)}).catch(_=>Kt(_,8)?_:Promise.reject(_))}function S(M,W,Z){for(const ie of a.list())ie(M,W,Z)}function z(M,W,Z,ie,se){const ge=x(M,W);if(ge)return ge;const de=W===ln,_=os?history.state:{};Z&&(ie||de?o.replace(M.fullPath,$e({scroll:de&&_&&_.scroll},se)):o.push(M.fullPath,se)),l.value=M,me(M,W,Z,de),V()}let F;function Y(){F||(F=o.listen((M,W,Z)=>{if(!ke.listening)return;const ie=v(M),se=T(ie);if(se){q($e(se,{replace:!0}),ie).catch(Zs);return}c=ie;const ge=l.value;os&&Wm(gc(ge.fullPath,Z.delta),Br()),k(ie,ge).catch(de=>Kt(de,12)?de:Kt(de,2)?(q(de.to,ie).then(_=>{Kt(_,20)&&!Z.delta&&Z.type===ho.pop&&o.go(-1,!1)}).catch(Zs),Promise.reject()):(Z.delta&&o.go(-Z.delta,!1),A(de,ie,ge))).then(de=>{de=de||z(ie,ge,!1),de&&(Z.delta&&!Kt(de,8)?o.go(-Z.delta,!1):Z.type===ho.pop&&Kt(de,20)&&o.go(-1,!1)),S(ie,ge,de)}).catch(Zs)}))}let I=zs(),he=zs(),Q;function A(M,W,Z){V(M);const ie=he.list();return ie.length?ie.forEach(se=>se(M,W,Z)):console.error(M),Promise.reject(M)}function N(){return Q&&l.value!==ln?Promise.resolve():new Promise((M,W)=>{I.add([M,W])})}function V(M){return Q||(Q=!M,Y(),I.list().forEach(([W,Z])=>M?Z(M):W()),I.reset()),M}function me(M,W,Z,ie){const{scrollBehavior:se}=t;if(!os||!se)return Promise.resolve();const ge=!Z&&Zm(gc(M.fullPath,0))||(ie||!Z)&&history.state&&history.state.scroll||null;return fe().then(()=>se(M,W,ge)).then(de=>de&&Km(de)).catch(de=>A(de,M,W))}const pe=M=>o.go(M);let X;const ye=new Set,ke={currentRoute:l,listening:!0,addRoute:p,removeRoute:g,hasRoute:w,getRoutes:m,resolve:v,options:t,push:E,replace:$,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:he.add,isReady:N,install(M){const W=this;M.component("RouterLink",In),M.component("RouterView",Ah),M.config.globalProperties.$router=W,Object.defineProperty(M.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),os&&!X&&l.value===ln&&(X=!0,E(o.location).catch(se=>{}));const Z={};for(const se in ln)Z[se]=bt(()=>l.value[se]);M.provide(Wa,W),M.provide(Eh,Os(Z)),M.provide(ta,l);const ie=M.unmount;ye.add(M),M.unmount=function(){ye.delete(M),ye.size<1&&(c=ln,F&&F(),F=null,l.value=ln,X=!1,Q=!1),ie()}}};return ke}function ts(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function I_(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(c=>ys(c,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(c=>ys(c,l))||o.push(l))}return[n,s,o]}const F_="modulepreload",$_=function(t){return"/"+t},Dc={},yi=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=$_(r),r in Dc)return;Dc[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 c=document.createElement("link");if(c.rel=i?"stylesheet":F_,i||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),i)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},Sh="/assets/logo-023c77a1.png";var Th=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function js(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function q_(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 Dh={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Th,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 c(v,y){for(var x=y.length,E=0;E<x;++E)m(v,y[E])}var u={}.hasOwnProperty;function h(v,y){v[y]=!0}function f(v,y){for(var x in y)u.call(y,x)&&(v[x]=!!y[x])}var p=/\s+/;function g(v,y){for(var x=y.split(p),E=x.length,$=0;$<E;++$)v[x[$]]=!0}function m(v,y){if(y){var x=typeof y;x==="string"?g(v,y):Array.isArray(y)?c(v,y):x==="object"?f(v,y):x==="number"&&h(v,y)}}function w(){for(var v=arguments.length,y=Array(v),x=0;x<v;x++)y[x]=arguments[x];var E=new l;c(E,y);var $=[];for(var T in E)E[T]&&$.push(T);return $.join(" ")}return w}();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"),c=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(p){var g=i(p),m=typeof this=="function"?this:Array,w=arguments.length,v=w>1?arguments[1]:void 0,y=v!==void 0,x=0,E=h(g),$,T,q,b;if(y&&(v=r(v,w>2?arguments[2]:void 0,2)),E!=null&&!(m==Array&&l(E)))for(b=E.call(g),T=new m;!(q=b.next()).done;x++)u(T,x,y?a(b,v,[q.value,x],!0):q.value);else for($=c(g.length),T=new m($);$>x;x++)u(T,x,y?v(g[x],x):g[x]);return T.length=x,T}},"./node_modules/core-js/internals/array-includes.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),i=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(c,u,h){var f=r(c),p=i(f.length),g=a(h,p),m;if(l&&u!=u){for(;p>g;)if(m=f[g++],m!=m)return!0}else for(;p>g;g++)if((l||g in f)&&f[g]===u)return l||g||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(c){return i.call(a,c)};case 2:return function(c,u){return i.call(a,c,u)};case 3:return function(c,u,h){return i.call(a,c,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,c){try{return c?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,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,h){if(!h&&!a)return!1;var f=!1;try{var p={};p[i]=function(){return{next:function(){return{done:f=!0}}}},u(p)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",c=function(u,h){try{return u[h]}catch{}};n.exports=function(u){var h,f,p;return u===void 0?"Undefined":u===null?"Null":typeof(f=c(h=Object(u),a))=="string"?f:l?r(h):(p=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var h=i(u),f=l.f,p=a.f,g=0;g<h.length;g++){var m=h[g];r(c,m)||f(c,m,p(u,m))}}},"./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"),c=o("./node_modules/core-js/internals/iterators.js"),u=function(){return this};n.exports=function(h,f,p){var g=f+" Iterator";return h.prototype=i(r,{next:a(1,p)}),l(h,g,!1,!0),c[g]=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,c,u){var h=r(c);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"),c=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"),p=o("./node_modules/core-js/internals/is-pure.js"),g=o("./node_modules/core-js/internals/iterators.js"),m=o("./node_modules/core-js/internals/iterators-core.js"),w=m.IteratorPrototype,v=m.BUGGY_SAFARI_ITERATORS,y=f("iterator"),x="keys",E="values",$="entries",T=function(){return this};n.exports=function(q,b,k,S,z,F,Y){i(k,b,S);var I=function(ke){if(ke===z&&V)return V;if(!v&&ke in A)return A[ke];switch(ke){case x:return function(){return new k(this,ke)};case E:return function(){return new k(this,ke)};case $:return function(){return new k(this,ke)}}return function(){return new k(this)}},he=b+" Iterator",Q=!1,A=q.prototype,N=A[y]||A["@@iterator"]||z&&A[z],V=!v&&N||I(z),me=b=="Array"&&A.entries||N,pe,X,ye;if(me&&(pe=a(me.call(new q)),w!==Object.prototype&&pe.next&&(!p&&a(pe)!==w&&(l?l(pe,w):typeof pe[y]!="function"&&u(pe,y,T)),c(pe,he,!0,!0),p&&(g[he]=T))),z==E&&N&&N.name!==E&&(Q=!0,V=function(){return N.call(this)}),(!p||Y)&&A[y]!==V&&u(A,y,V),g[b]=V,z)if(X={values:I(E),keys:F?V:I(x),entries:I($)},Y)for(ye in X)(v||Q||!(ye in A))&&h(A,ye,X[ye]);else r({target:b,proto:!0,forced:v||Q},X);return X}},"./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(c){return l?a.createElement(c):{}}},"./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"),c=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,p){var g=f.target,m=f.global,w=f.stat,v,y,x,E,$,T;if(m?y=r:w?y=r[g]||c(g,{}):y=(r[g]||{}).prototype,y)for(x in p){if($=p[x],f.noTargetGet?(T=i(y,x),E=T&&T.value):E=y[x],v=h(m?x:g+(w?".":"#")+x,f.forced),!v&&E!==void 0){if(typeof $==typeof E)continue;u($,E)}(f.sham||E&&E.sham)&&a($,"sham",!0),l(y,x,$,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(c){if(c!=null)return c[l]||c["@@iterator"]||i[r(c)]}},"./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,c,u){return i.f(l,c,a(1,u))}:function(l,c,u){return l[c]=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"),c=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,p,g,m,w=function(q){return m(q)?g(q):p(q,{})},v=function(q){return function(b){var k;if(!a(b)||(k=g(b)).type!==q)throw TypeError("Incompatible receiver, "+q+" required");return k}};if(r){var y=new f,x=y.get,E=y.has,$=y.set;p=function(q,b){return $.call(y,q,b),b},g=function(q){return x.call(y,q)||{}},m=function(q){return E.call(y,q)}}else{var T=u("state");h[T]=!0,p=function(q,b){return l(q,T,b),b},g=function(q){return c(q,T)?q[T]:{}},m=function(q){return c(q,T)}}n.exports={set:p,get:g,has:m,enforce:w,getterFor:v}},"./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(c){return c!==void 0&&(i.Array===c||l[a]===c)}},"./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,p){var g=c[l(f)];return g==h?!0:g==u?!1:typeof p=="function"?r(p):!!p},l=a.normalize=function(f){return String(f).replace(i,".").toLowerCase()},c=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"),c=o("./node_modules/core-js/internals/is-pure.js"),u=l("iterator"),h=!1,f=function(){return this},p,g,m;[].keys&&(m=[].keys(),"next"in m?(g=r(r(m)),g!==Object.prototype&&(p=g)):h=!0),p==null&&(p={}),!c&&!a(p,u)&&i(p,u,f),n.exports={IteratorPrototype:p,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"),c=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"),p="prototype",g=function(){},m=function(){var w=u("iframe"),v=a.length,y="<",x="script",E=">",$="java"+x+":",T;for(w.style.display="none",c.appendChild(w),w.src=String($),T=w.contentWindow.document,T.open(),T.write(y+x+E+"document.F=Object"+y+"/"+x+E),T.close(),m=T.F;v--;)delete m[p][a[v]];return m()};n.exports=Object.create||function(v,y){var x;return v!==null?(g[p]=r(v),x=new g,g[p]=null,x[f]=v):x=m(),y===void 0?x:i(x,y)},l[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(u,h){a(u);for(var f=l(h),p=f.length,g=0,m;p>g;)i.f(u,m=f[g++],h[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;s.f=r?c:function(h,f,p){if(a(h),f=l(f,!0),a(p),i)try{return c(h,f,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(h[f]=p.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),c=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(g,m){if(g=l(g),m=c(m,!0),h)try{return f(g,m)}catch{}if(u(g,m))return a(!i.f.call(g,m),g[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return r(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(h){return h=i(h),r(h,c)?h[c]: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"),c=a(!1);n.exports=function(u,h){var f=i(u),p=0,g=[],m;for(m in f)!r(l,m)&&r(f,m)&&g.push(m);for(;h.length>p;)r(f,m=h[p++])&&(~c(g,m)||g.push(m));return g}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(c){var u=i(this,c);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(u,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"),c=r.Reflect;n.exports=c&&c.ownKeys||function(h){var f=i.f(l(h)),p=a.f;return p?f.concat(p(h)):f}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),c=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),h=o("./node_modules/core-js/internals/internal-state.js"),f=h.get,p=h.enforce,g=String(u).split("toString");i("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,w,v,y){var x=y?!!y.unsafe:!1,E=y?!!y.enumerable:!1,$=y?!!y.noTargetGet:!1;if(typeof v=="function"&&(typeof w=="string"&&!l(v,"name")&&a(v,"name",w),p(v).source=g.join(typeof w=="string"?w:"")),m===r){E?m[w]=v:c(w,v);return}else x?!$&&m[w]&&(E=!0):delete m[w];E?m[w]=v:a(m,w,v)})(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(c,u,h){c&&!i(c=h?c:c.prototype,l)&&r(c,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=r[l]||i(l,{});(n.exports=function(u,h){return c[u]||(c[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,c){var u=String(i(a)),h=r(l),f=u.length,p,g;return h<0||h>=f?c?"":void 0:(p=u.charCodeAt(h),p<55296||p>56319||h+1===f||(g=u.charCodeAt(h+1))<56320||g>57343?c?u.charAt(h):p:c?u.slice(h,h+2):(p-55296<<10)+(g-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,c){var u=r(l);return u<0?i(u+c,0):a(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,c;if(a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(c=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),c=r.Symbol,u=i("wks");n.exports=function(h){return u[h]||(u[h]=l&&c[h]||(l?c: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(c){Array.from(c)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",function(h){c(this,{type:l,string:String(h),index:0})},function(){var f=u(this),p=f.string,g=f.index,m;return g>=p.length?{value:void 0,done:!0}:(m=r(p,g,!0),f.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var w=1;w<arguments.length;w++){var v=arguments[w];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(m[y]=v[y])}return m},i=function(){function m(w,v){for(var y=0;y<v.length;y++){var x=v[y];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(w,x.key,x)}}return function(w,v,y){return v&&m(w.prototype,v),y&&m(w,y),w}}(),a=o("./node_modules/classnames/dedupe.js"),l=h(a),c=o("./src/default-attrs.json"),u=h(c);function h(m){return m&&m.__esModule?m:{default:m}}function f(m,w){if(!(m instanceof w))throw new TypeError("Cannot call a class as a function")}var p=function(){function m(w,v){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];f(this,m),this.name=w,this.contents=v,this.tags=y,this.attrs=r({},u.default,{class:"feather feather-"+w})}return i(m,[{key:"toSvg",value:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,v,{class:(0,l.default)(this.attrs.class,v.class)});return"<svg "+g(y)+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),m}();function g(m){return Object.keys(m).map(function(w){return w+'="'+m[w]+'"'}).join(" ")}s.default=p},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=h(r),a=o("./dist/icons.json"),l=h(a),c=o("./src/tags.json"),u=h(c);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(l.default).map(function(f){return new i.default(f,l.default[f],u.default[f])}).reduce(function(f,p){return f[p.name]=p,f},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=h(r),a=o("./src/to-svg.js"),l=h(a),c=o("./src/replace.js"),u=h(c);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(g){for(var m=1;m<arguments.length;m++){var w=arguments[m];for(var v in w)Object.prototype.hasOwnProperty.call(w,v)&&(g[v]=w[v])}return g},i=o("./node_modules/classnames/dedupe.js"),a=u(i),l=o("./src/icons.js"),c=u(l);function u(g){return g&&g.__esModule?g:{default:g}}function h(){var g=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 m=document.querySelectorAll("[data-feather]");Array.from(m).forEach(function(w){return f(w,g)})}function f(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=p(g),v=w["data-feather"];delete w["data-feather"];var y=c.default[v].toSvg(r({},m,w,{class:(0,a.default)(m.class,w.class)})),x=new DOMParser().parseFromString(y,"image/svg+xml"),E=x.querySelector("svg");g.parentNode.replaceChild(E,g)}function p(g){return Array.from(g.attributes).reduce(function(m,w){return m[w.name]=w.value,m},{})}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(c){return c&&c.__esModule?c:{default:c}}function l(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return i.default[c].toSvg(u)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(Dh);var z_=Dh.exports;const xe=js(z_),B_={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},N_={class:"items-center justify-between hidden w-full md:flex md:w-auto md:order-1"},U_={class:"flex flex-col font-medium p-4 md:p-0 mt-4 md:flex-row md:space-x-8 md:mt-0"},H_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),V_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),G_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),K_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),W_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),Z_={data(){return{}},activated(){},methods:{}},Mh=Object.assign(Z_,{__name:"Navigation",setup(t){return(e,n)=>(D(),L("div",B_,[d("div",N_,[d("ul",U_,[d("li",null,[Se(ht(In),{to:{name:"discussions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Qe(()=>[H_]),_:1})]),d("li",null,[Se(ht(In),{to:{name:"settings"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Qe(()=>[V_]),_:1})]),d("li",null,[Se(ht(In),{to:{name:"extensions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Qe(()=>[G_]),_:1})]),d("li",null,[Se(ht(In),{to:{name:"training"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Qe(()=>[K_]),_:1})]),d("li",null,[Se(ht(In),{to:{name:"help"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Qe(()=>[W_]),_:1})])])])]))}}),J_={class:"top-0 shadow-lg"},Y_={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},Q_=d("div",{class:"flex items-center gap-3 flex-1"},[d("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:Sh,alt:"Logo"}),d("div",{class:"flex flex-col"},[d("p",{class:"text-2xl"},"Lord of Large Language Models"),d("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),X_={class:"flex gap-3 flex-1 items-center justify-end"},e0=d("a",{href:"https://github.com/ParisNeo/lollms-webui",target:"_blank"},[d("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[d("i",{"data-feather":"github"})])],-1),t0=d("i",{"data-feather":"sun"},null,-1),n0=[t0],s0=d("i",{"data-feather":"moon"},null,-1),o0=[s0],r0=d("body",null,null,-1),i0={name:"TopBar",data(){return{codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),fe(()=>{xe.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"),fe(()=>{yi(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}fe(()=>{yi(()=>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}yi(()=>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:Mh}},a0=Object.assign(i0,{setup(t){return(e,n)=>(D(),L(Ie,null,[d("header",J_,[d("nav",Y_,[Se(ht(In),{to:{name:"discussions"}},{default:Qe(()=>[Q_]),_:1}),d("div",X_,[e0,d("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=s=>e.themeSwitch())},n0),d("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=s=>e.themeSwitch())},o0)])]),Se(Mh)]),r0],64))}}),Ge=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},l0={class:"flex flex-col h-screen max-h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},c0={class:"flex overflow-hidden flex-grow"},u0={__name:"App",setup(t){return(e,n)=>(D(),L("div",l0,[Se(a0),d("div",c0,[Se(ht(Ah),null,{default:Qe(({Component:s})=>[(D(),at(Ng,null,[(D(),at(Qg(s)))],1024))]),_:1})])]))}},d0={setup(){return{}}};function h0(t,e,n,s,o,r){return D(),L("div",null," Extensions ")}const f0=Ge(d0,[["render",h0]]);var Oh={exports:{}};/* @license
|
||
Papa Parse
|
||
v5.4.1
|
||
https://github.com/mholt/PapaParse
|
||
License: MIT
|
||
*/(function(t,e){(function(n,s){t.exports=s()})(Th,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(b,k){var S=(k=k||{}).dynamicTyping||!1;if(q(S)&&(k.dynamicTypingFunction=S,S={}),k.dynamicTyping=S,k.transform=!!q(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var z=function(){if(!l.WORKERS_SUPPORTED)return!1;var Y=(he=s.URL||s.webkitURL||null,Q=n.toString(),l.BLOB_URL||(l.BLOB_URL=he.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; ","(",Q,")();"],{type:"text/javascript"})))),I=new s.Worker(Y),he,Q;return I.onmessage=y,I.id=a++,i[I.id]=I}();return z.userStep=k.step,z.userChunk=k.chunk,z.userComplete=k.complete,z.userError=k.error,k.step=q(k.step),k.chunk=q(k.chunk),k.complete=q(k.complete),k.error=q(k.error),delete k.worker,void z.postMessage({input:b,config:k,workerId:z.id})}var F=null;return l.NODE_STREAM_INPUT,typeof b=="string"?(b=function(Y){return Y.charCodeAt(0)===65279?Y.slice(1):Y}(b),F=k.download?new h(k):new p(k)):b.readable===!0&&q(b.read)&&q(b.on)?F=new g(k):(s.File&&b instanceof File||b instanceof Object)&&(F=new f(k)),F.stream(b)},unparse:function(b,k){var S=!1,z=!0,F=",",Y=`\r
|
||
`,I='"',he=I+I,Q=!1,A=null,N=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(X){return k.delimiter.indexOf(X)!==-1}).length||(F=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(S=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(Q=k.skipEmptyLines),typeof k.newline=="string"&&(Y=k.newline),typeof k.quoteChar=="string"&&(I=k.quoteChar),typeof k.header=="boolean"&&(z=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");A=k.columns}k.escapeChar!==void 0&&(he=k.escapeChar+I),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(N=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var V=new RegExp(w(I),"g");if(typeof b=="string"&&(b=JSON.parse(b)),Array.isArray(b)){if(!b.length||Array.isArray(b[0]))return me(null,b,Q);if(typeof b[0]=="object")return me(A||Object.keys(b[0]),b,Q)}else if(typeof b=="object")return typeof b.data=="string"&&(b.data=JSON.parse(b.data)),Array.isArray(b.data)&&(b.fields||(b.fields=b.meta&&b.meta.fields||A),b.fields||(b.fields=Array.isArray(b.data[0])?b.fields:typeof b.data[0]=="object"?Object.keys(b.data[0]):[]),Array.isArray(b.data[0])||typeof b.data[0]=="object"||(b.data=[b.data])),me(b.fields||[],b.data||[],Q);throw new Error("Unable to serialize unrecognized input");function me(X,ye,ke){var M="";typeof X=="string"&&(X=JSON.parse(X)),typeof ye=="string"&&(ye=JSON.parse(ye));var W=Array.isArray(X)&&0<X.length,Z=!Array.isArray(ye[0]);if(W&&z){for(var ie=0;ie<X.length;ie++)0<ie&&(M+=F),M+=pe(X[ie],ie);0<ye.length&&(M+=Y)}for(var se=0;se<ye.length;se++){var ge=W?X.length:ye[se].length,de=!1,_=W?Object.keys(ye[se]).length===0:ye[se].length===0;if(ke&&!W&&(de=ke==="greedy"?ye[se].join("").trim()==="":ye[se].length===1&&ye[se][0].length===0),ke==="greedy"&&W){for(var C=[],O=0;O<ge;O++){var j=Z?X[O]:O;C.push(ye[se][j])}de=C.join("").trim()===""}if(!de){for(var R=0;R<ge;R++){0<R&&!_&&(M+=F);var J=W&&Z?X[R]:R;M+=pe(ye[se][J],R)}se<ye.length-1&&(!ke||0<ge&&!_)&&(M+=Y)}}return M}function pe(X,ye){if(X==null)return"";if(X.constructor===Date)return JSON.stringify(X).slice(1,25);var ke=!1;N&&typeof X=="string"&&N.test(X)&&(X="'"+X,ke=!0);var M=X.toString().replace(V,he);return(ke=ke||S===!0||typeof S=="function"&&S(X,ye)||Array.isArray(S)&&S[ye]||function(W,Z){for(var ie=0;ie<Z.length;ie++)if(-1<W.indexOf(Z[ie]))return!0;return!1}(M,l.BAD_DELIMITERS)||-1<M.indexOf(F)||M.charAt(0)===" "||M.charAt(M.length-1)===" ")?I+M+I:M}}};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=v,l.ParserHandle=m,l.NetworkStreamer=h,l.FileStreamer=f,l.StringStreamer=p,l.ReadableStreamStreamer=g,s.jQuery){var c=s.jQuery;c.fn.parse=function(b){var k=b.config||{},S=[];return this.each(function(Y){if(!(c(this).prop("tagName").toUpperCase()==="INPUT"&&c(this).attr("type").toLowerCase()==="file"&&s.FileReader)||!this.files||this.files.length===0)return!0;for(var I=0;I<this.files.length;I++)S.push({file:this.files[I],inputElem:this,instanceConfig:c.extend({},k)})}),z(),this;function z(){if(S.length!==0){var Y,I,he,Q,A=S[0];if(q(b.before)){var N=b.before(A.file,A.inputElem);if(typeof N=="object"){if(N.action==="abort")return Y="AbortError",I=A.file,he=A.inputElem,Q=N.reason,void(q(b.error)&&b.error({name:Y},I,he,Q));if(N.action==="skip")return void F();typeof N.config=="object"&&(A.instanceConfig=c.extend(A.instanceConfig,N.config))}else if(N==="skip")return void F()}var V=A.instanceConfig.complete;A.instanceConfig.complete=function(me){q(V)&&V(me,A.file,A.inputElem),F()},l.parse(A.file,A.instanceConfig)}else q(b.complete)&&b.complete()}function F(){S.splice(0,1),z()}}}function u(b){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(k){var S=$(k);S.chunkSize=parseInt(S.chunkSize),k.step||k.chunk||(S.chunkSize=null),this._handle=new m(S),(this._handle.streamer=this)._config=S}.call(this,b),this.parseChunk=function(k,S){if(this.isFirstChunk&&q(this._config.beforeFirstChunk)){var z=this._config.beforeFirstChunk(k);z!==void 0&&(k=z)}this.isFirstChunk=!1,this._halted=!1;var F=this._partialLine+k;this._partialLine="";var Y=this._handle.parse(F,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var I=Y.meta.cursor;this._finished||(this._partialLine=F.substring(I-this._baseIndex),this._baseIndex=I),Y&&Y.data&&(this._rowCount+=Y.data.length);var he=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)s.postMessage({results:Y,workerId:l.WORKER_ID,finished:he});else if(q(this._config.chunk)&&!S){if(this._config.chunk(Y,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);Y=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Y.data),this._completeResults.errors=this._completeResults.errors.concat(Y.errors),this._completeResults.meta=Y.meta),this._completed||!he||!q(this._config.complete)||Y&&Y.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),he||Y&&Y.meta.paused||this._nextChunk(),Y}this._halted=!0},this._sendError=function(k){q(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function h(b){var k;(b=b||{}).chunkSize||(b.chunkSize=l.RemoteChunkSize),u.call(this,b),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(S){this._input=S,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(k=new XMLHttpRequest,this._config.withCredentials&&(k.withCredentials=this._config.withCredentials),o||(k.onload=T(this._chunkLoaded,this),k.onerror=T(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var S=this._config.downloadRequestHeaders;for(var z in S)k.setRequestHeader(z,S[z])}if(this._config.chunkSize){var F=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+F)}try{k.send(this._config.downloadRequestBody)}catch(Y){this._chunkError(Y.message)}o&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(S){var z=S.getResponseHeader("Content-Range");return z===null?-1:parseInt(z.substring(z.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(S){var z=k.statusText||S;this._sendError(new Error(z))}}function f(b){var k,S;(b=b||{}).chunkSize||(b.chunkSize=l.LocalChunkSize),u.call(this,b);var z=typeof FileReader<"u";this.stream=function(F){this._input=F,S=F.slice||F.webkitSlice||F.mozSlice,z?((k=new FileReader).onload=T(this._chunkLoaded,this),k.onerror=T(this._chunkError,this)):k=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var F=this._input;if(this._config.chunkSize){var Y=Math.min(this._start+this._config.chunkSize,this._input.size);F=S.call(F,this._start,Y)}var I=k.readAsText(F,this._config.encoding);z||this._chunkLoaded({target:{result:I}})},this._chunkLoaded=function(F){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(F.target.result)},this._chunkError=function(){this._sendError(k.error)}}function p(b){var k;u.call(this,b=b||{}),this.stream=function(S){return k=S,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var S,z=this._config.chunkSize;return z?(S=k.substring(0,z),k=k.substring(z)):(S=k,k=""),this._finished=!k,this.parseChunk(S)}}}function g(b){u.call(this,b=b||{});var k=[],S=!0,z=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(F){this._input=F,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){z&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):S=!0},this._streamData=T(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),S&&(S=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(Y){this._streamError(Y)}},this),this._streamError=T(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=T(function(){this._streamCleanUp(),z=!0,this._streamData("")},this),this._streamCleanUp=T(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(b){var k,S,z,F=Math.pow(2,53),Y=-F,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,he=/^((\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)))$/,Q=this,A=0,N=0,V=!1,me=!1,pe=[],X={data:[],errors:[],meta:{}};if(q(b.step)){var ye=b.step;b.step=function(se){if(X=se,W())M();else{if(M(),X.data.length===0)return;A+=se.data.length,b.preview&&A>b.preview?S.abort():(X.data=X.data[0],ye(X,Q))}}}function ke(se){return b.skipEmptyLines==="greedy"?se.join("").trim()==="":se.length===1&&se[0].length===0}function M(){return X&&z&&(ie("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),z=!1),b.skipEmptyLines&&(X.data=X.data.filter(function(se){return!ke(se)})),W()&&function(){if(!X)return;function se(de,_){q(b.transformHeader)&&(de=b.transformHeader(de,_)),pe.push(de)}if(Array.isArray(X.data[0])){for(var ge=0;W()&&ge<X.data.length;ge++)X.data[ge].forEach(se);X.data.splice(0,1)}else X.data.forEach(se)}(),function(){if(!X||!b.header&&!b.dynamicTyping&&!b.transform)return X;function se(de,_){var C,O=b.header?{}:[];for(C=0;C<de.length;C++){var j=C,R=de[C];b.header&&(j=C>=pe.length?"__parsed_extra":pe[C]),b.transform&&(R=b.transform(R,j)),R=Z(j,R),j==="__parsed_extra"?(O[j]=O[j]||[],O[j].push(R)):O[j]=R}return b.header&&(C>pe.length?ie("FieldMismatch","TooManyFields","Too many fields: expected "+pe.length+" fields but parsed "+C,N+_):C<pe.length&&ie("FieldMismatch","TooFewFields","Too few fields: expected "+pe.length+" fields but parsed "+C,N+_)),O}var ge=1;return!X.data.length||Array.isArray(X.data[0])?(X.data=X.data.map(se),ge=X.data.length):X.data=se(X.data,0),b.header&&X.meta&&(X.meta.fields=pe),N+=ge,X}()}function W(){return b.header&&pe.length===0}function Z(se,ge){return de=se,b.dynamicTypingFunction&&b.dynamicTyping[de]===void 0&&(b.dynamicTyping[de]=b.dynamicTypingFunction(de)),(b.dynamicTyping[de]||b.dynamicTyping)===!0?ge==="true"||ge==="TRUE"||ge!=="false"&&ge!=="FALSE"&&(function(_){if(I.test(_)){var C=parseFloat(_);if(Y<C&&C<F)return!0}return!1}(ge)?parseFloat(ge):he.test(ge)?new Date(ge):ge===""?null:ge):ge;var de}function ie(se,ge,de,_){var C={type:se,code:ge,message:de};_!==void 0&&(C.row=_),X.errors.push(C)}this.parse=function(se,ge,de){var _=b.quoteChar||'"';if(b.newline||(b.newline=function(j,R){j=j.substring(0,1048576);var J=new RegExp(w(R)+"([^]*?)"+w(R),"gm"),oe=(j=j.replace(J,"")).split("\r"),P=j.split(`
|
||
`),ee=1<P.length&&P[0].length<oe[0].length;if(oe.length===1||ee)return`
|
||
`;for(var B=0,G=0;G<oe.length;G++)oe[G][0]===`
|
||
`&&B++;return B>=oe.length/2?`\r
|
||
`:"\r"}(se,_)),z=!1,b.delimiter)q(b.delimiter)&&(b.delimiter=b.delimiter(se),X.meta.delimiter=b.delimiter);else{var C=function(j,R,J,oe,P){var ee,B,G,re;P=P||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var le=0;le<P.length;le++){var ae=P[le],be=0,H=0,te=0;G=void 0;for(var ue=new v({comments:oe,delimiter:ae,newline:R,preview:10}).parse(j),ve=0;ve<ue.data.length;ve++)if(J&&ke(ue.data[ve]))te++;else{var Pe=ue.data[ve].length;H+=Pe,G!==void 0?0<Pe&&(be+=Math.abs(Pe-G),G=Pe):G=Pe}0<ue.data.length&&(H/=ue.data.length-te),(B===void 0||be<=B)&&(re===void 0||re<H)&&1.99<H&&(B=be,ee=ae,re=H)}return{successful:!!(b.delimiter=ee),bestDelimiter:ee}}(se,b.newline,b.skipEmptyLines,b.comments,b.delimitersToGuess);C.successful?b.delimiter=C.bestDelimiter:(z=!0,b.delimiter=l.DefaultDelimiter),X.meta.delimiter=b.delimiter}var O=$(b);return b.preview&&b.header&&O.preview++,k=se,S=new v(O),X=S.parse(k,ge,de),M(),V?{meta:{paused:!0}}:X||{meta:{paused:!1}}},this.paused=function(){return V},this.pause=function(){V=!0,S.abort(),k=q(b.chunk)?"":k.substring(S.getCharIndex())},this.resume=function(){Q.streamer._halted?(V=!1,Q.streamer.parseChunk(k,!0)):setTimeout(Q.resume,3)},this.aborted=function(){return me},this.abort=function(){me=!0,S.abort(),X.meta.aborted=!0,q(b.complete)&&b.complete(X),k=""}}function w(b){return b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function v(b){var k,S=(b=b||{}).delimiter,z=b.newline,F=b.comments,Y=b.step,I=b.preview,he=b.fastMode,Q=k=b.quoteChar===void 0||b.quoteChar===null?'"':b.quoteChar;if(b.escapeChar!==void 0&&(Q=b.escapeChar),(typeof S!="string"||-1<l.BAD_DELIMITERS.indexOf(S))&&(S=","),F===S)throw new Error("Comment character same as delimiter");F===!0?F="#":(typeof F!="string"||-1<l.BAD_DELIMITERS.indexOf(F))&&(F=!1),z!==`
|
||
`&&z!=="\r"&&z!==`\r
|
||
`&&(z=`
|
||
`);var A=0,N=!1;this.parse=function(V,me,pe){if(typeof V!="string")throw new Error("Input must be a string");var X=V.length,ye=S.length,ke=z.length,M=F.length,W=q(Y),Z=[],ie=[],se=[],ge=A=0;if(!V)return Be();if(b.header&&!me){var de=V.split(z)[0].split(S),_=[],C={},O=!1;for(var j in de){var R=de[j];q(b.transformHeader)&&(R=b.transformHeader(R,j));var J=R,oe=C[R]||0;for(0<oe&&(O=!0,J=R+"_"+oe),C[R]=oe+1;_.includes(J);)J=J+"_"+oe;_.push(J)}if(O){var P=V.split(z);P[0]=_.join(S),V=P.join(z)}}if(he||he!==!1&&V.indexOf(k)===-1){for(var ee=V.split(z),B=0;B<ee.length;B++){if(se=ee[B],A+=se.length,B!==ee.length-1)A+=z.length;else if(pe)return Be();if(!F||se.substring(0,M)!==F){if(W){if(Z=[],te(se.split(S)),gt(),N)return Be()}else te(se.split(S));if(I&&I<=B)return Z=Z.slice(0,I),Be(!0)}}return Be()}for(var G=V.indexOf(S,A),re=V.indexOf(z,A),le=new RegExp(w(Q)+w(k),"g"),ae=V.indexOf(k,A);;)if(V[A]!==k)if(F&&se.length===0&&V.substring(A,A+M)===F){if(re===-1)return Be();A=re+ke,re=V.indexOf(z,A),G=V.indexOf(S,A)}else if(G!==-1&&(G<re||re===-1))se.push(V.substring(A,G)),A=G+ye,G=V.indexOf(S,A);else{if(re===-1)break;if(se.push(V.substring(A,re)),Pe(re+ke),W&&(gt(),N))return Be();if(I&&Z.length>=I)return Be(!0)}else for(ae=A,A++;;){if((ae=V.indexOf(k,ae+1))===-1)return pe||ie.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:Z.length,index:A}),ve();if(ae===X-1)return ve(V.substring(A,ae).replace(le,k));if(k!==Q||V[ae+1]!==Q){if(k===Q||ae===0||V[ae-1]!==Q){G!==-1&&G<ae+1&&(G=V.indexOf(S,ae+1)),re!==-1&&re<ae+1&&(re=V.indexOf(z,ae+1));var be=ue(re===-1?G:Math.min(G,re));if(V.substr(ae+1+be,ye)===S){se.push(V.substring(A,ae).replace(le,k)),V[A=ae+1+be+ye]!==k&&(ae=V.indexOf(k,A)),G=V.indexOf(S,A),re=V.indexOf(z,A);break}var H=ue(re);if(V.substring(ae+1+H,ae+1+H+ke)===z){if(se.push(V.substring(A,ae).replace(le,k)),Pe(ae+1+H+ke),G=V.indexOf(S,A),ae=V.indexOf(k,A),W&&(gt(),N))return Be();if(I&&Z.length>=I)return Be(!0);break}ie.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Z.length,index:A}),ae++}}else ae++}return ve();function te(Je){Z.push(Je),ge=A}function ue(Je){var tt=0;if(Je!==-1){var it=V.substring(ae+1,Je);it&&it.trim()===""&&(tt=it.length)}return tt}function ve(Je){return pe||(Je===void 0&&(Je=V.substring(A)),se.push(Je),A=X,te(se),W&>()),Be()}function Pe(Je){A=Je,te(se),se=[],re=V.indexOf(z,A)}function Be(Je){return{data:Z,errors:ie,meta:{delimiter:S,linebreak:z,aborted:N,truncated:!!Je,cursor:ge+(me||0)}}}function gt(){Y(Be()),Z=[],ie=[]}},this.abort=function(){N=!0},this.getCharIndex=function(){return A}}function y(b){var k=b.data,S=i[k.workerId],z=!1;if(k.error)S.userError(k.error,k.file);else if(k.results&&k.results.data){var F={abort:function(){z=!0,x(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:E,resume:E};if(q(S.userStep)){for(var Y=0;Y<k.results.data.length&&(S.userStep({data:k.results.data[Y],errors:k.results.errors,meta:k.results.meta},F),!z);Y++);delete k.results}else q(S.userChunk)&&(S.userChunk(k.results,F,k.file),delete k.results)}k.finished&&!z&&x(k.workerId,k.results)}function x(b,k){var S=i[b];q(S.userComplete)&&S.userComplete(k),S.terminate(),delete i[b]}function E(){throw new Error("Not implemented.")}function $(b){if(typeof b!="object"||b===null)return b;var k=Array.isArray(b)?[]:{};for(var S in b)k[S]=$(b[S]);return k}function T(b,k){return function(){b.apply(k,arguments)}}function q(b){return typeof b=="function"}return r&&(s.onmessage=function(b){var k=b.data;if(l.WORKER_ID===void 0&&k&&(l.WORKER_ID=k.workerId),typeof k.input=="string")s.postMessage({workerId:l.WORKER_ID,results:l.parse(k.input,k.config),finished:!0});else if(s.File&&k.input instanceof File||k.input instanceof Object){var S=l.parse(k.input,k.config);S&&s.postMessage({workerId:l.WORKER_ID,results:S,finished:!0})}}),(h.prototype=Object.create(u.prototype)).constructor=h,(f.prototype=Object.create(u.prototype)).constructor=f,(p.prototype=Object.create(p.prototype)).constructor=p,(g.prototype=Object.create(u.prototype)).constructor=g,l})})(Oh);var p0=Oh.exports;const g0=js(p0);const m0={name:"HelpPage",data(){return{faqs:[],githubLink:"https://github.com/ParisNeo/lollms-webui"}},mounted(){this.loadFAQs()},methods:{loadFAQs(){fetch("/help/faqs.csv").then(t=>t.text()).then(t=>{const{data:e}=g0.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>")}}},Lh=t=>(vo("data-v-3cb88319"),t=t(),xo(),t),_0={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},y0={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},b0=Lh(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),v0={class:"list-disc pl-4"},x0={class:"text-xl font-bold mb-1"},w0=["innerHTML"],k0=Lh(()=>d("div",null,[d("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),d("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to us."),d("p",null,[Ce("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),C0={class:"mt-8"},E0=wo('<h2 class="text-2xl font-bold mb-2" data-v-3cb88319>Credits</h2><p class="mb-4" data-v-3cb88319>This project is developed by <span class="font-bold" data-v-3cb88319>ParisNeo</span> With help from the community.</p><p class="mb-4" data-v-3cb88319><span class="font-bold" data-v-3cb88319><a href="https://github.com/ParisNeo/lollms-webui/graphs/contributors" data-v-3cb88319>Check out the full list of developers here and show them some love.</a></span></p>',3),A0=["href"];function S0(t,e,n,s,o,r){return D(),L("div",_0,[d("div",y0,[b0,d("ul",v0,[(D(!0),L(Ie,null,rt(o.faqs,(i,a)=>(D(),L("li",{key:a},[d("h3",x0,ne(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,w0)]))),128))])]),k0,d("div",C0,[E0,d("p",null,[Ce("Check out the project on "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,A0),Ce(".")])])])}const T0=Ge(m0,[["render",S0],["__scopeId","data-v-3cb88319"]]);function Bn(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]}function jh(t,e){return function(){return t.apply(e,arguments)}}const{toString:D0}=Object.prototype,{getPrototypeOf:Za}=Object,Nr=(t=>e=>{const n=D0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),on=t=>(t=t.toLowerCase(),e=>Nr(e)===t),Ur=t=>e=>typeof e===t,{isArray:Rs}=Array,fo=Ur("undefined");function M0(t){return t!==null&&!fo(t)&&t.constructor!==null&&!fo(t.constructor)&&tn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Rh=on("ArrayBuffer");function O0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Rh(t.buffer),e}const L0=Ur("string"),tn=Ur("function"),Ph=Ur("number"),Ja=t=>t!==null&&typeof t=="object",j0=t=>t===!0||t===!1,Yo=t=>{if(Nr(t)!=="object")return!1;const e=Za(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},R0=on("Date"),P0=on("File"),I0=on("Blob"),F0=on("FileList"),$0=t=>Ja(t)&&tn(t.pipe),q0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||tn(t.append)&&((e=Nr(t))==="formdata"||e==="object"&&tn(t.toString)&&t.toString()==="[object FormData]"))},z0=on("URLSearchParams"),B0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ko(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Rs(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 Ih(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 Fh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),$h=t=>!fo(t)&&t!==Fh;function na(){const{caseless:t}=$h(this)&&this||{},e={},n=(s,o)=>{const r=t&&Ih(e,o)||o;Yo(e[r])&&Yo(s)?e[r]=na(e[r],s):Yo(s)?e[r]=na({},s):Rs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&ko(arguments[s],n);return e}const N0=(t,e,n,{allOwnKeys:s}={})=>(ko(e,(o,r)=>{n&&tn(o)?t[r]=jh(o,n):t[r]=o},{allOwnKeys:s}),t),U0=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&&Za(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(Rs(t))return t;let e=t.length;if(!Ph(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"&&Za(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])}},J0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Y0=on("HTMLFormElement"),Q0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),Mc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),X0=on("RegExp"),qh=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};ko(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},ey=t=>{qh(t,(e,n)=>{if(tn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(tn(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+"'")})}})},ty=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Rs(t)?s(t):s(String(t).split(e)),n},ny=()=>{},sy=(t,e)=>(t=+t,Number.isFinite(t)?t:e),bi="abcdefghijklmnopqrstuvwxyz",Oc="0123456789",zh={DIGIT:Oc,ALPHA:bi,ALPHA_DIGIT:bi+bi.toUpperCase()+Oc},oy=(t=16,e=zh.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function ry(t){return!!(t&&tn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const iy=t=>{const e=new Array(10),n=(s,o)=>{if(Ja(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Rs(s)?[]:{};return ko(s,(i,a)=>{const l=n(i,o+1);!fo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},U={isArray:Rs,isArrayBuffer:Rh,isBuffer:M0,isFormData:q0,isArrayBufferView:O0,isString:L0,isNumber:Ph,isBoolean:j0,isObject:Ja,isPlainObject:Yo,isUndefined:fo,isDate:R0,isFile:P0,isBlob:I0,isRegExp:X0,isFunction:tn,isStream:$0,isURLSearchParams:z0,isTypedArray:W0,isFileList:F0,forEach:ko,merge:na,extend:N0,trim:B0,stripBOM:U0,inherits:H0,toFlatObject:V0,kindOf:Nr,kindOfTest:on,endsWith:G0,toArray:K0,forEachEntry:Z0,matchAll:J0,isHTMLForm:Y0,hasOwnProperty:Mc,hasOwnProp:Mc,reduceDescriptors:qh,freezeMethods:ey,toObjectSet:ty,toCamelCase:Q0,noop:ny,toFiniteNumber:sy,findKey:Ih,global:Fh,isContextDefined:$h,ALPHABET:zh,generateString:oy,isSpecCompliantForm:ry,toJSONObject:iy};function je(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}U.inherits(je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:U.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Bh=je.prototype,Nh={};["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=>{Nh[t]={value:t}});Object.defineProperties(je,Nh);Object.defineProperty(Bh,"isAxiosError",{value:!0});je.from=(t,e,n,s,o,r)=>{const i=Object.create(Bh);return U.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),je.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const ay=null;function sa(t){return U.isPlainObject(t)||U.isArray(t)}function Uh(t){return U.endsWith(t,"[]")?t.slice(0,-2):t}function Lc(t,e,n){return t?t.concat(e).map(function(o,r){return o=Uh(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function ly(t){return U.isArray(t)&&!t.some(sa)}const cy=U.toFlatObject(U,{},null,function(e){return/^is[A-Z]/.test(e)});function Hr(t,e,n){if(!U.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,w){return!U.isUndefined(w[m])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&U.isSpecCompliantForm(e);if(!U.isFunction(o))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(U.isDate(g))return g.toISOString();if(!l&&U.isBlob(g))throw new je("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(g)||U.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,m,w){let v=g;if(g&&!w&&typeof g=="object"){if(U.endsWith(m,"{}"))m=s?m:m.slice(0,-2),g=JSON.stringify(g);else if(U.isArray(g)&&ly(g)||(U.isFileList(g)||U.endsWith(m,"[]"))&&(v=U.toArray(g)))return m=Uh(m),v.forEach(function(x,E){!(U.isUndefined(x)||x===null)&&e.append(i===!0?Lc([m],E,r):i===null?m:m+"[]",c(x))}),!1}return sa(g)?!0:(e.append(Lc(w,m,r),c(g)),!1)}const h=[],f=Object.assign(cy,{defaultVisitor:u,convertValue:c,isVisitable:sa});function p(g,m){if(!U.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));h.push(g),U.forEach(g,function(v,y){(!(U.isUndefined(v)||v===null)&&o.call(e,v,U.isString(y)?y.trim():y,m,f))===!0&&p(v,m?m.concat(y):[y])}),h.pop()}}if(!U.isObject(t))throw new TypeError("data must be an object");return p(t),e}function jc(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Ya(t,e){this._pairs=[],t&&Hr(t,this,e)}const Hh=Ya.prototype;Hh.append=function(e,n){this._pairs.push([e,n])};Hh.toString=function(e){const n=e?function(s){return e.call(this,s,jc)}:jc;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function uy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Vh(t,e,n){if(!e)return t;const s=n&&n.encode||uy,o=n&&n.serialize;let r;if(o?r=o(e,n):r=U.isURLSearchParams(e)?e.toString():new Ya(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class dy{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){U.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Rc=dy,Gh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hy=typeof URLSearchParams<"u"?URLSearchParams:Ya,fy=typeof FormData<"u"?FormData:null,py=typeof Blob<"u"?Blob:null,gy=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),my=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ft={isBrowser:!0,classes:{URLSearchParams:hy,FormData:fy,Blob:py},isStandardBrowserEnv:gy,isStandardBrowserWebWorkerEnv:my,protocols:["http","https","file","blob","url","data"]};function _y(t,e){return Hr(t,new Ft.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return Ft.isNode&&U.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function yy(t){return U.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function by(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 Kh(t){function e(n,s,o,r){let i=n[r++];const a=Number.isFinite(+i),l=r>=n.length;return i=!i&&U.isArray(o)?o.length:i,l?(U.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!U.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&U.isArray(o[i])&&(o[i]=by(o[i])),!a)}if(U.isFormData(t)&&U.isFunction(t.entries)){const n={};return U.forEachEntry(t,(s,o)=>{e(yy(s),o,n,0)}),n}return null}const vy={"Content-Type":void 0};function xy(t,e,n){if(U.isString(t))try{return(e||JSON.parse)(t),U.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const Vr={transitional:Gh,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=U.isObject(e);if(r&&U.isHTMLForm(e)&&(e=new FormData(e)),U.isFormData(e))return o&&o?JSON.stringify(Kh(e)):e;if(U.isArrayBuffer(e)||U.isBuffer(e)||U.isStream(e)||U.isFile(e)||U.isBlob(e))return e;if(U.isArrayBufferView(e))return e.buffer;if(U.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 _y(e,this.formSerializer).toString();if((a=U.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Hr(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),xy(e)):e}],transformResponse:[function(e){const n=this.transitional||Vr.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&U.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?je.from(a,je.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ft.classes.FormData,Blob:Ft.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};U.forEach(["delete","get","head"],function(e){Vr.headers[e]={}});U.forEach(["post","put","patch"],function(e){Vr.headers[e]=U.merge(vy)});const Qa=Vr,wy=U.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"]),ky=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]&&wy[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Pc=Symbol("internals");function Bs(t){return t&&String(t).trim().toLowerCase()}function Qo(t){return t===!1||t==null?t:U.isArray(t)?t.map(Qo):String(t)}function Cy(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 Ey=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function vi(t,e,n,s,o){if(U.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!U.isString(e)){if(U.isString(s))return e.indexOf(s)!==-1;if(U.isRegExp(s))return s.test(e)}}function Ay(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Sy(t,e){const n=U.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 Gr{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const u=Bs(l);if(!u)throw new Error("header name must be a non-empty string");const h=U.findKey(o,u);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||l]=Qo(a))}const i=(a,l)=>U.forEach(a,(c,u)=>r(c,u,l));return U.isPlainObject(e)||e instanceof this.constructor?i(e,n):U.isString(e)&&(e=e.trim())&&!Ey(e)?i(ky(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Bs(e),e){const s=U.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return Cy(o);if(U.isFunction(n))return n.call(this,o,s);if(U.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Bs(e),e){const s=U.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||vi(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Bs(i),i){const a=U.findKey(s,i);a&&(!n||vi(s,s[a],a,n))&&(delete s[a],o=!0)}}return U.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||vi(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return U.forEach(this,(o,r)=>{const i=U.findKey(s,r);if(i){n[i]=Qo(o),delete n[r];return}const a=e?Ay(r):String(r).trim();a!==r&&delete n[r],n[a]=Qo(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return U.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&U.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[Pc]=this[Pc]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Bs(i);s[a]||(Sy(o,i),s[a]=!0)}return U.isArray(e)?e.forEach(r):r(e),this}}Gr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);U.freezeMethods(Gr.prototype);U.freezeMethods(Gr);const Qt=Gr;function xi(t,e){const n=this||Qa,s=e||n,o=Qt.from(s.headers);let r=s.data;return U.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function Wh(t){return!!(t&&t.__CANCEL__)}function Co(t,e,n){je.call(this,t??"canceled",je.ERR_CANCELED,e,n),this.name="CanceledError"}U.inherits(Co,je,{__CANCEL__:!0});function Ty(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Dy=Ft.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),U.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),U.isString(r)&&l.push("path="+r),U.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 My(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Oy(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Zh(t,e){return t&&!My(e)?Oy(t,e):e}const Ly=Ft.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=U.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function jy(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Ry(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];i||(i=c),n[o]=l,s[o]=c;let h=r,f=0;for(;h!==o;)f+=n[h++],h=h%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-i<e)return;const p=u&&c-u;return p?Math.round(f*1e3/p):void 0}}function Ic(t,e){let n=0;const s=Ry(50,250);return o=>{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),c=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const Py=typeof XMLHttpRequest<"u",Iy=Py&&function(t){return new Promise(function(n,s){let o=t.data;const r=Qt.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}U.isFormData(o)&&(Ft.isStandardBrowserEnv||Ft.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(p+":"+g))}const u=Zh(t.baseURL,t.url);c.open(t.method.toUpperCase(),Vh(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function h(){if(!c)return;const p=Qt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:t,request:c};Ty(function(v){n(v),l()},function(v){s(v),l()},m),c=null}if("onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(h)},c.onabort=function(){c&&(s(new je("Request aborted",je.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new je("Network Error",je.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||Gh;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),s(new je(g,m.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,t,c)),c=null},Ft.isStandardBrowserEnv){const p=(t.withCredentials||Ly(u))&&t.xsrfCookieName&&Dy.read(t.xsrfCookieName);p&&r.set(t.xsrfHeaderName,p)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&U.forEach(r.toJSON(),function(g,m){c.setRequestHeader(m,g)}),U.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",Ic(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Ic(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=p=>{c&&(s(!p||p.type?new Co(null,t,c):p),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=jy(u);if(f&&Ft.protocols.indexOf(f)===-1){s(new je("Unsupported protocol "+f+":",je.ERR_BAD_REQUEST,t));return}c.send(o||null)})},Xo={http:ay,xhr:Iy};U.forEach(Xo,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Fy={getAdapter:t=>{t=U.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;o<e&&(n=t[o],!(s=U.isString(n)?Xo[n.toLowerCase()]:n));o++);if(!s)throw s===!1?new je(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(U.hasOwnProp(Xo,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!U.isFunction(s))throw new TypeError("adapter is not a function");return s},adapters:Xo};function wi(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Co(null,t)}function Fc(t){return wi(t),t.headers=Qt.from(t.headers),t.data=xi.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Fy.getAdapter(t.adapter||Qa.adapter)(t).then(function(s){return wi(t),s.data=xi.call(t,t.transformResponse,s),s.headers=Qt.from(s.headers),s},function(s){return Wh(s)||(wi(t),s&&s.response&&(s.response.data=xi.call(t,t.transformResponse,s.response),s.response.headers=Qt.from(s.response.headers))),Promise.reject(s)})}const $c=t=>t instanceof Qt?t.toJSON():t;function vs(t,e){e=e||{};const n={};function s(c,u,h){return U.isPlainObject(c)&&U.isPlainObject(u)?U.merge.call({caseless:h},c,u):U.isPlainObject(u)?U.merge({},u):U.isArray(u)?u.slice():u}function o(c,u,h){if(U.isUndefined(u)){if(!U.isUndefined(c))return s(void 0,c,h)}else return s(c,u,h)}function r(c,u){if(!U.isUndefined(u))return s(void 0,u)}function i(c,u){if(U.isUndefined(u)){if(!U.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,h){if(h in e)return s(c,u);if(h in t)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u)=>o($c(c),$c(u),!0)};return U.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const h=l[u]||o,f=h(t[u],e[u],u);U.isUndefined(f)&&h!==a||(n[u]=f)}),n}const Jh="1.3.6",Xa={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Xa[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const qc={};Xa.transitional=function(e,n,s){function o(r,i){return"[Axios v"+Jh+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new je(o(i," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!qc[i]&&(qc[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 $y(t,e,n){if(typeof t!="object")throw new je("options must be an object",je.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let o=s.length;for(;o-- >0;){const r=s[o],i=e[r];if(i){const a=t[r],l=a===void 0||i(a,r,t);if(l!==!0)throw new je("option "+r+" must be "+l,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+r,je.ERR_BAD_OPTION)}}const oa={assertOptions:$y,validators:Xa},cn=oa.validators;class fr{constructor(e){this.defaults=e,this.interceptors={request:new Rc,response:new Rc}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=vs(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&oa.assertOptions(s,{silentJSONParsing:cn.transitional(cn.boolean),forcedJSONParsing:cn.transitional(cn.boolean),clarifyTimeoutError:cn.transitional(cn.boolean)},!1),o!=null&&(U.isFunction(o)?n.paramsSerializer={serialize:o}:oa.assertOptions(o,{encode:cn.function,serialize:cn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&U.merge(r.common,r[n.method]),i&&U.forEach(["delete","get","head","post","put","patch","common"],g=>{delete r[g]}),n.headers=Qt.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,h=0,f;if(!l){const g=[Fc.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,c),f=g.length,u=Promise.resolve(n);h<f;)u=u.then(g[h++],g[h++]);return u}f=a.length;let p=n;for(h=0;h<f;){const g=a[h++],m=a[h++];try{p=g(p)}catch(w){m.call(this,w);break}}try{u=Fc.call(this,p)}catch(g){return Promise.reject(g)}for(h=0,f=c.length;h<f;)u=u.then(c[h++],c[h++]);return u}getUri(e){e=vs(this.defaults,e);const n=Zh(e.baseURL,e.url);return Vh(n,e.params,e.paramsSerializer)}}U.forEach(["delete","get","head","options"],function(e){fr.prototype[e]=function(n,s){return this.request(vs(s||{},{method:e,url:n,data:(s||{}).data}))}});U.forEach(["post","put","patch"],function(e){function n(s){return function(r,i,a){return this.request(vs(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}fr.prototype[e]=n(),fr.prototype[e+"Form"]=n(!0)});const er=fr;class el{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 Co(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 el(function(o){e=o}),cancel:e}}}const qy=el;function zy(t){return function(n){return t.apply(null,n)}}function By(t){return U.isObject(t)&&t.isAxiosError===!0}const ra={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(ra).forEach(([t,e])=>{ra[e]=t});const Ny=ra;function Yh(t){const e=new er(t),n=jh(er.prototype.request,e);return U.extend(n,er.prototype,e,{allOwnKeys:!0}),U.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Yh(vs(t,o))},n}const We=Yh(Qa);We.Axios=er;We.CanceledError=Co;We.CancelToken=qy;We.isCancel=Wh;We.VERSION=Jh;We.toFormData=Hr;We.AxiosError=je;We.Cancel=We.CanceledError;We.all=function(e){return Promise.all(e)};We.spread=zy;We.isAxiosError=By;We.mergeConfig=vs;We.AxiosHeaders=Qt;We.formToJSON=t=>Kh(U.isHTMLForm(t)?new FormData(t):t);We.HttpStatusCode=Ny;We.default=We;const Me=We,Uy={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},Hy={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Vy={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},Gy={class:"text-lg font-medium"},Ky={class:"mt-4 flex justify-center"};function Wy(t,e,n,s,o,r){return o.show?(D(),L("div",Hy,[d("div",Vy,[d("h3",Gy,ne(o.message),1),d("div",Ky,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):K("",!0)}const Zy=Ge(Uy,[["render",Wy]]),Jy={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})}}},Yy={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Qy={class:"relative w-full max-w-md max-h-full"},Xy={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},eb=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),tb=d("span",{class:"sr-only"},"Close modal",-1),nb=[eb,tb],sb={class:"p-4 text-center"},ob=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),rb={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function ib(t,e,n,s,o,r){return o.show?(D(),L("div",Yy,[d("div",Qy,[d("div",Xy,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},nb),d("div",sb,[ob,d("h3",rb,ne(o.message),1),d("button",{onClick:e[1]||(e[1]=i=>r.hide(!0)),type:"button",class:"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"},ne(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},ne(o.DenyButtonText),1)])])])])):K("",!0)}const ab=Ge(Jy,[["render",ib]]);const lb={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),fe(()=>{xe.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),fe(()=>{xe.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},An=t=>(vo("data-v-3ffdabf3"),t=t(),xo(),t),cb={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},ub={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"},db={class:"flex flex-row flex-grow items-center"},hb={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"},fb=An(()=>d("i",{"data-feather":"check"},null,-1)),pb=An(()=>d("span",{class:"sr-only"},"Check icon",-1)),gb=[fb,pb],mb={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"},_b=An(()=>d("i",{"data-feather":"x"},null,-1)),yb=An(()=>d("span",{class:"sr-only"},"Cross icon",-1)),bb=[_b,yb],vb=["title"],xb={class:"flex"},wb=["onClick"],kb=An(()=>d("span",{class:"sr-only"},"Copy message",-1)),Cb=An(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),Eb=[kb,Cb],Ab=["onClick"],Sb=An(()=>d("span",{class:"sr-only"},"Close",-1)),Tb=An(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),Db=[Sb,Tb];function Mb(t,e,n,s,o,r){return D(),L("div",cb,[Se(Cn,{name:"toastItem",tag:"div"},{default:Qe(()=>[(D(!0),L(Ie,null,rt(o.toastArr,i=>(D(),L("div",{key:i.id,class:"relative"},[d("div",ub,[d("div",db,[Id(t.$slots,"default",{},()=>[i.success?(D(),L("div",hb,gb)):K("",!0),i.success?K("",!0):(D(),L("div",mb,bb)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},ne(i.message),9,vb)],!0)]),d("div",xb,[d("button",{type:"button",onClick:ce(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"},Eb,8,wb),d("button",{type:"button",onClick:a=>r.close(i.id),title:"Close",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},Db,8,Ab)])])]))),128))]),_:3})])}const tl=Ge(lb,[["render",Mb],["__scopeId","data-v-3ffdabf3"]]),ia="/assets/default_model-9e24e852.png",Ob={props:{title:String,icon:String,path:String,owner:String,owner_link:String,license:String,description:String,isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,fileSize:"",linkNotValid:!1}},async mounted(){this.fileSize=await this.getFileSize(this.model.path),fe(()=>{xe.replace()})},methods:{computedFileSize(t){return Bn(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Me.head(t);return e?e.headers["content-length"]?this.computedFileSize(e.headers["content-length"]):this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined":this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined"}catch(e){return console.log(e.message,"getFileSize"),this.linkNotValid=!0,"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?ia:this.icon},defaultImg(t){t.target.src=ia},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):(this.installing=!0,this.onInstall(this))},toggleSelected(){this.onSelected(this)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){console.log("asdasdas"),this.$emit("copy","this.message.content")}},computed:{speed_computed(){return Bn(this.speed)},total_size_computed(){return Bn(this.total_size)},downloaded_size_computed(){return Bn(this.downloaded_size)}},watch:{linkNotValid(){fe(()=>{xe.replace()})}}},Lb=["title"],jb={key:0,class:"flex flex-row"},Rb={class:"flex gap-3 items-center grow"},Pb=["src"],Ib={class:"font-bold font-large text-lg truncate"},Fb=d("i",{"data-feather":"box",class:"w-5"},null,-1),$b=d("span",{class:"sr-only"},"Custom model / local model",-1),qb=[Fb,$b],zb=d("i",{"data-feather":"trash",class:"w-5"},null,-1),Bb=[zb],Nb={key:1,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"},Ub={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Hb=d("div",{role:"status",class:"justify-center"},[d("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1),Vb={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Gb={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Kb={class:"flex justify-between mb-1"},Wb=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Zb={class:"text-sm font-medium text-blue-700 dark:text-white"},Jb={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Yb={class:"flex justify-between mb-1"},Qb={class:"text-base font-medium text-blue-700 dark:text-white"},Xb={class:"text-sm font-medium text-blue-700 dark:text-white"},e2={class:"flex flex-grow"},t2={class:"flex flex-row flex-grow gap-3"},n2={class:"p-2 text-center grow"},s2={class:"flex flex-row items-center gap-3"},o2=["src"],r2={class:"font-bold font-large text-lg truncate"},i2=d("div",{class:"grow"},null,-1),a2={class:"flex-none gap-1"},l2=d("i",{"data-feather":"slash",class:"w-5"},null,-1),c2=d("span",{class:"sr-only"},"Not installed",-1),u2=[l2,c2],d2=d("i",{"data-feather":"plus-square",class:"w-5"},null,-1),h2=d("span",{class:"sr-only"},"Install",-1),f2=[d2,h2],p2=d("i",{"data-feather":"trash",class:"w-5"},null,-1),g2=[p2],m2=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),_2=[m2],y2=["title"],b2={class:""},v2={class:"flex flex-row items-center"},x2={key:0,class:"text-base text-red-600 flex items-center mt-1"},w2=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),k2={class:"flex flex-row items-center"},C2=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),E2=d("b",null,"Manual download: ",-1),A2=["href","title"],S2=d("i",{"data-feather":"copy",class:"w-5"},null,-1),T2=[S2],D2={class:"flex items-center"},M2=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),O2=d("b",null,"File size: ",-1),L2={class:"flex items-center"},j2=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),R2=d("b",null,"License: ",-1),P2={class:"flex items-center"},I2=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),F2=d("b",null,"Owner: ",-1),$2=["href"],q2=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),z2=["title"];function B2(t,e,n,s,o,r){return D(),L("div",{class:Ae(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary-light":"border-transparent"]),onClick:e[12]||(e[12]=ce((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(D(),L("div",jb,[d("div",Rb,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,Pb),d("h3",Ib,ne(n.title),1)]),d("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ce(()=>{},["stop"]))},qb),d("button",{class:"hover:text-red-600 duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ce((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"]))},Bb)])):K("",!0),o.installing?(D(),L("div",Nb,[d("div",Ub,[Hb,d("div",Vb,[d("div",Gb,[d("div",Kb,[Wb,d("span",Zb,ne(Math.floor(o.progress))+"%",1)]),d("div",Jb,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:xn({width:o.progress+"%"})},null,4)]),d("div",Yb,[d("span",Qb,"Download speed: "+ne(r.speed_computed)+"/s",1),d("span",Xb,ne(r.downloaded_size_computed)+"/"+ne(r.total_size_computed),1)])])]),d("div",e2,[d("div",t2,[d("div",n2,[d("button",{onClick:e[3]||(e[3]=ce((...i)=>r.toggleCancelInstall&&r.toggleCancelInstall(...i),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):K("",!0),n.model.isCustomModel?K("",!0):(D(),L("div",{key:2,class:Ae(n.model.isInstalled?"":"opacity-50")},[d("div",s2,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Ae(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,o2),d("h3",r2,ne(n.title),1),i2,d("div",a2,[n.model.isInstalled?K("",!0):(D(),L("button",{key:0,type:"button",title:"Not installed",class:"hover:text-red-600 duration-75 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[5]||(e[5]=ce(()=>{},["stop"]))},u2)),n.model.isInstalled?K("",!0):(D(),L("button",{key:1,type:"button",title:"Click to install model",class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[6]||(e[6]=ce((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"]))},f2)),n.model.isInstalled?(D(),L("button",{key:2,class:"hover:text-red-600 duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ce((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"]))},g2)):K("",!0),d("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy model info to clipboard",onClick:e[8]||(e[8]=ce(i=>r.toggleCopy(),["stop"]))},_2)])]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",b2,[d("div",v2,[o.linkNotValid?(D(),L("div",x2,[w2,Ce(" Link is not valid ")])):K("",!0)]),d("div",k2,[C2,E2,d("a",{href:n.path,onClick:e[9]||(e[9]=ce(()=>{},["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"}," Click here to download ",8,A2),d("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[10]||(e[10]=ce(i=>r.toggleCopyLink(),["stop"]))},T2)]),d("div",D2,[d("div",{class:Ae(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[M2,O2,Ce(" "+ne(o.fileSize),1)],2)]),d("div",L2,[j2,R2,Ce(" "+ne(n.license),1)]),d("div",P2,[I2,F2,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[11]||(e[11]=ce(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},ne(n.owner),9,$2)])]),q2,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},ne(n.description),9,z2)],8,y2)],2))],10,Lb)}const N2=Ge(Ob,[["render",B2]]),U2={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",personalityLanguage:"English",personalityCategory:"Category",disclaimer:"Disclaimer text",conditioningText:"Conditioning Text",aiPrefix:"AI Prefix",userPrefix:"User Prefix",antipromptsList:[{id:1,text:"Antiprompt 1"},{id:2,text:"Antiprompt 2"},{id:3,text:"Antiprompt 3"}]}},methods:{commitChanges(){console.log("Personality changes committed"),this.editMode=!1}}},H2={class:"p-4"},V2={class:"flex items-center mb-4"},G2=["src"],K2={class:"text-lg font-semibold"},W2=d("strong",null,"Author:",-1),Z2=d("strong",null,"Description:",-1),J2=d("strong",null,"Language:",-1),Y2=d("strong",null,"Category:",-1),Q2={key:0},X2=d("strong",null,"Disclaimer:",-1),ev=d("strong",null,"Conditioning Text:",-1),tv=d("strong",null,"AI Prefix:",-1),nv=d("strong",null,"User Prefix:",-1),sv=d("strong",null,"Antiprompts:",-1);function ov(t,e,n,s,o,r){return D(),L("div",H2,[d("div",V2,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,G2),d("h2",K2,ne(o.personalityName),1)]),d("p",null,[W2,Ce(" "+ne(o.personalityAuthor),1)]),d("p",null,[Z2,Ce(" "+ne(o.personalityDescription),1)]),d("p",null,[J2,Ce(" "+ne(o.personalityLanguage),1)]),d("p",null,[Y2,Ce(" "+ne(o.personalityCategory),1)]),o.disclaimer?(D(),L("p",Q2,[X2,Ce(" "+ne(o.disclaimer),1)])):K("",!0),d("p",null,[ev,Ce(" "+ne(o.conditioningText),1)]),d("p",null,[tv,Ce(" "+ne(o.aiPrefix),1)]),d("p",null,[nv,Ce(" "+ne(o.userPrefix),1)]),d("div",null,[sv,d("ul",null,[(D(!0),L(Ie,null,rt(o.antipromptsList,i=>(D(),L("li",{key:i.id},ne(i.text),1))),128))])]),d("button",{onClick:e[0]||(e[0]=i=>o.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),o.editMode?(D(),L("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):K("",!0)])}const rv=Ge(U2,[["render",ov]]),xs="/assets/logo-9d653710.svg",iv="/assets/default_user-17642e5a.svg",av="/",lv={props:{personality:{},onSelected:Function,selected:Boolean,onMounted:Function,full_path:String,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,fe(()=>{xe.replace()})},computed:{},methods:{getImgUrl(){return av+this.personality.avatar},defaultImg(t){t.target.src=xs},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)}},watch:{selected(){fe(()=>{xe.replace()})}}},cv=["title"],uv={class:"flex flex-row items-center flex-shrink-0 gap-3"},dv=["src"],hv={class:"font-bold font-large text-lg line-clamp-3"},fv=d("div",{class:"grow"},null,-1),pv={class:"flex items-center"},gv=d("i",{"data-feather":"slash",class:"w-5"},null,-1),mv=d("span",{class:"sr-only"},"Not installed",-1),_v=[gv,mv],yv=d("i",{"data-feather":"sliders",class:"w-5"},null,-1),bv=d("span",{class:"sr-only"},"Settings",-1),vv=[yv,bv],xv={class:""},wv={class:""},kv={class:"flex items-center"},Cv=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Ev=d("b",null,"Author: ",-1),Av={class:"flex items-center"},Sv=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Tv=d("b",null,"Language: ",-1),Dv={class:"flex items-center"},Mv=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Ov=d("b",null,"Category: ",-1),Lv=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),jv=["title"];function Rv(t,e,n,s,o,r){return D(),L("div",{class:Ae(["items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer active:scale-95 duration-75 select-none",n.selected?"border-primary-light":"border-transparent"]),onClick:e[4]||(e[4]=ce((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Ae(n.personality.installed?"":"opacity-50")},[d("div",uv,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,dv),d("h3",hv,ne(n.personality.name),1),fv,d("div",pv,[n.personality.installed?K("",!0):(D(),L("button",{key:0,type:"button",title:"Not installed",class:"hover:text-red-600 duration-75 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ce(()=>{},["stop"]))},_v)),n.selected?(D(),L("button",{key:1,type:"button",title:"Settings",class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[2]||(e[2]=ce((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"]))},vv)):K("",!0),d("button",{type:"button",onClick:e[3]||(e[3]=ce((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:Ae(["inline-flex items-center px-5 py-2.5 text-sm 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",o.isMounted?" bg-red-700 rounded-lg hover:bg-red-800 focus:ring-red-300 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-800":""])},ne(o.isMounted?"Unmount":"Mount"),3)])]),d("div",xv,[d("div",wv,[d("div",kv,[Cv,Ev,Ce(" "+ne(n.personality.author),1)]),d("div",Av,[Sv,Tv,Ce(" "+ne(n.personality.language),1)]),d("div",Dv,[Mv,Ov,Ce(" "+ne(n.personality.category),1)])]),Lv,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},ne(n.personality.description),9,jv)])],2)],10,cv)}const Pv=Ge(lv,[["render",Rv]]),Iv="/",Fv={props:{binding:{},onSelected:Function,onReinstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){fe(()=>{xe.replace()})},methods:{getImgUrl(){return Iv+this.binding.icon},defaultImg(t){t.target.src=xs},toggleSelected(){this.onSelected(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){fe(()=>{xe.replace()})}}},$v=["title"],qv={class:"flex flex-row items-center gap-3"},zv=["src"],Bv={class:"font-bold font-large text-lg truncate"},Nv=d("div",{class:"grow"},null,-1),Uv={class:"flex-none gap-1"},Hv=d("i",{"data-feather":"slash",class:"w-5"},null,-1),Vv=d("span",{class:"sr-only"},"Not installed",-1),Gv=[Hv,Vv],Kv=d("i",{"data-feather":"tool",class:"w-5"},null,-1),Wv=d("span",{class:"sr-only"},"Reinstall binding",-1),Zv=[Kv,Wv],Jv=d("i",{"data-feather":"sliders",class:"w-5"},null,-1),Yv=d("span",{class:"sr-only"},"Settings",-1),Qv=[Jv,Yv],Xv={class:""},ex={class:""},tx={class:"flex items-center"},nx=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),sx=d("b",null,"Author: ",-1),ox={class:"flex items-center"},rx=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),ix=d("b",null,"Folder: ",-1),ax={class:"flex items-center"},lx=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),cx=d("b",null,"Version: ",-1),ux={class:"flex items-center"},dx=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),hx=d("b",null,"Link: ",-1),fx=["href"],px=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),gx=["title"];function mx(t,e,n,s,o,r){return D(),L("div",{class:Ae(["items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary-light":"border-transparent"]),onClick:e[4]||(e[4]=ce((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",{class:Ae(n.binding.installed?"":"opacity-50")},[d("div",qv,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,zv),d("h3",Bv,ne(n.binding.name),1),Nv,d("div",Uv,[n.binding.installed?K("",!0):(D(),L("button",{key:0,type:"button",title:"Not installed",class:"hover:text-red-600 duration-75 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ce(()=>{},["stop"]))},Gv)),n.binding.installed?(D(),L("button",{key:1,type:"button",title:"Reinstall binding",class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[2]||(e[2]=ce((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"]))},Zv)):K("",!0),n.selected?(D(),L("button",{key:2,type:"button",title:"Settings",class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[3]||(e[3]=ce((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"]))},Qv)):K("",!0)])]),d("div",Xv,[d("div",ex,[d("div",tx,[nx,sx,Ce(" "+ne(n.binding.author),1)]),d("div",ox,[rx,ix,Ce(" "+ne(n.binding.folder),1)]),d("div",ax,[lx,cx,Ce(" "+ne(n.binding.version),1)]),d("div",ux,[dx,hx,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},ne(n.binding.link),9,fx)])]),px,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},ne(n.binding.description),9,gx)])],2)],10,$v)}const _x=Ge(Fv,[["render",mx]]),Ut=Object.create(null);Ut.open="0";Ut.close="1";Ut.ping="2";Ut.pong="3";Ut.message="4";Ut.upgrade="5";Ut.noop="6";const tr=Object.create(null);Object.keys(Ut).forEach(t=>{tr[Ut[t]]=t});const yx={type:"error",data:"parser error"},bx=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",vx=typeof ArrayBuffer=="function",xx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Qh=({type:t,data:e},n,s)=>bx&&e instanceof Blob?n?s(e):zc(e,s):vx&&(e instanceof ArrayBuffer||xx(e))?n?s(e):zc(new Blob([e]),s):s(Ut[t]+(e||"")),zc=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Bc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Gs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<Bc.length;t++)Gs[Bc.charCodeAt(t)]=t;const wx=t=>{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),u=new Uint8Array(c);for(s=0;s<n;s+=4)r=Gs[t.charCodeAt(s)],i=Gs[t.charCodeAt(s+1)],a=Gs[t.charCodeAt(s+2)],l=Gs[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 c},kx=typeof ArrayBuffer=="function",Xh=(t,e)=>{if(typeof t!="string")return{type:"message",data:ef(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:Cx(t.substring(1),e)}:tr[n]?t.length>1?{type:tr[n],data:t.substring(1)}:{type:tr[n]}:yx},Cx=(t,e)=>{if(kx){const n=wx(t);return ef(n,e)}else return{base64:!0,data:t}},ef=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},tf=String.fromCharCode(30),Ex=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{Qh(r,!1,a=>{s[i]=a,++o===n&&e(s.join(tf))})})},Ax=(t,e)=>{const n=t.split(tf),s=[];for(let o=0;o<n.length;o++){const r=Xh(n[o],e);if(s.push(r),r.type==="error")break}return s},nf=4;function Ke(t){if(t)return Sx(t)}function Sx(t){for(var e in Ke.prototype)t[e]=Ke.prototype[e];return t}Ke.prototype.on=Ke.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};Ke.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};Ke.prototype.off=Ke.prototype.removeListener=Ke.prototype.removeAllListeners=Ke.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};Ke.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};Ke.prototype.emitReserved=Ke.prototype.emit;Ke.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};Ke.prototype.hasListeners=function(t){return!!this.listeners(t).length};const yt=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function sf(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const Tx=yt.setTimeout,Dx=yt.clearTimeout;function Kr(t,e){e.useNativeTimers?(t.setTimeoutFn=Tx.bind(yt),t.clearTimeoutFn=Dx.bind(yt)):(t.setTimeoutFn=yt.setTimeout.bind(yt),t.clearTimeoutFn=yt.clearTimeout.bind(yt))}const Mx=1.33;function Ox(t){return typeof t=="string"?Lx(t):Math.ceil((t.byteLength||t.size)*Mx)}function Lx(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 jx extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class of extends Ke{constructor(e){super(),this.writable=!1,Kr(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new jx(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=Xh(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 rf="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),aa=64,Rx={};let Nc=0,Po=0,Uc;function Hc(t){let e="";do e=rf[t%aa]+e,t=Math.floor(t/aa);while(t>0);return e}function af(){const t=Hc(+new Date);return t!==Uc?(Nc=0,Uc=t):t+"."+Hc(Nc++)}for(;Po<aa;Po++)Rx[rf[Po]]=Po;function lf(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function Px(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 cf=!1;try{cf=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Ix=cf;function uf(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Ix))return new XMLHttpRequest}catch{}if(!e)try{return new yt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function Fx(){}const $x=function(){return new uf({xdomain:!1}).responseType!=null}();class qx extends of{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=$x&&!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)};Ax(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,Ex(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]=af()),!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=lf(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 zt(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 zt extends Ke{constructor(e,n){super(),Kr(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=sf(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 uf(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=zt.requestsCount++,zt.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=Fx,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete zt.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()}}zt.requestsCount=0;zt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Vc);else if(typeof addEventListener=="function"){const t="onpagehide"in yt?"pagehide":"unload";addEventListener(t,Vc,!1)}}function Vc(){for(let t in zt.requests)zt.requests.hasOwnProperty(t)&&zt.requests[t].abort()}const df=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Io=yt.WebSocket||yt.MozWebSocket,Gc=!0,zx="arraybuffer",Kc=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Bx extends of{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=Kc?{}:sf(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=Gc&&!Kc?n?new Io(e,n):new Io(e):new Io(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||zx,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;Qh(s,this.supportsBinary,r=>{const i={};try{Gc&&this.ws.send(r)}catch{}o&&df(()=>{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]=af()),this.supportsBinary||(e.b64=1);const o=lf(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!!Io}}const Nx={websocket:Bx,polling:qx},Ux=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Hx=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function la(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=Ux.exec(t||""),r={},i=14;for(;i--;)r[Hx[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=Vx(r,r.path),r.queryKey=Gx(r,r.query),r}function Vx(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 Gx(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let hf=class rs extends Ke{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=la(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=la(n.host).host),Kr(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=Px(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=nf,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 Nx[e](s)}open(){let e;if(this.opts.rememberUpgrade&&rs.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;rs.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;rs.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 c(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",c)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",rs.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+=Ox(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){rs.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}};hf.protocol=nf;function Kx(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=la(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 Wx=typeof ArrayBuffer=="function",Zx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,ff=Object.prototype.toString,Jx=typeof Blob=="function"||typeof Blob<"u"&&ff.call(Blob)==="[object BlobConstructor]",Yx=typeof File=="function"||typeof File<"u"&&ff.call(File)==="[object FileConstructor]";function nl(t){return Wx&&(t instanceof ArrayBuffer||Zx(t))||Jx&&t instanceof Blob||Yx&&t instanceof File}function nr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n<s;n++)if(nr(t[n]))return!0;return!1}if(nl(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return nr(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&nr(t[n]))return!0;return!1}function Qx(t){const e=[],n=t.data,s=t;return s.data=ca(n,e),s.attachments=e.length,{packet:s,buffers:e}}function ca(t,e){if(!t)return t;if(nl(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]=ca(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]=ca(t[s],e));return n}return t}function Xx(t,e){return t.data=ua(t.data,e),delete t.attachments,t}function ua(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]=ua(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=ua(t[n],e));return t}const ew=5;var Oe;(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"})(Oe||(Oe={}));class tw{constructor(e){this.replacer=e}encode(e){return(e.type===Oe.EVENT||e.type===Oe.ACK)&&nr(e)?this.encodeAsBinary({type:e.type===Oe.EVENT?Oe.BINARY_EVENT:Oe.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===Oe.BINARY_EVENT||e.type===Oe.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=Qx(e),s=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(s),o}}class sl extends Ke{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===Oe.BINARY_EVENT;s||n.type===Oe.BINARY_ACK?(n.type=s?Oe.EVENT:Oe.ACK,this.reconstructor=new nw(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(nl(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(Oe[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===Oe.BINARY_EVENT||s.type===Oe.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(sl.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 Oe.CONNECT:return typeof n=="object";case Oe.DISCONNECT:return n===void 0;case Oe.CONNECT_ERROR:return typeof n=="string"||typeof n=="object";case Oe.EVENT:case Oe.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="string"||typeof n[0]=="number");case Oe.ACK:case Oe.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class nw{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=Xx(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const sw=Object.freeze(Object.defineProperty({__proto__:null,Decoder:sl,Encoder:tw,get PacketType(){return Oe},protocol:ew},Symbol.toStringTag,{value:"Module"}));function St(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const ow=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class pf extends Ke{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=[St(e,"open",this.onopen.bind(this)),St(e,"packet",this.onpacket.bind(this)),St(e,"error",this.onerror.bind(this)),St(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(ow.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:Oe.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:Oe.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 Oe.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 Oe.EVENT:case Oe.BINARY_EVENT:this.onevent(e);break;case Oe.ACK:case Oe.BINARY_ACK:this.onack(e);break;case Oe.DISCONNECT:this.ondisconnect();break;case Oe.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:Oe.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:Oe.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 Ps(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}Ps.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};Ps.prototype.reset=function(){this.attempts=0};Ps.prototype.setMin=function(t){this.ms=t};Ps.prototype.setMax=function(t){this.max=t};Ps.prototype.setJitter=function(t){this.jitter=t};class da extends Ke{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,Kr(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 Ps({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||sw;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 hf(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=St(n,"open",function(){s.onopen(),e&&e()}),r=St(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(St(e,"ping",this.onping.bind(this)),St(e,"data",this.ondata.bind(this)),St(e,"error",this.onerror.bind(this)),St(e,"close",this.onclose.bind(this)),St(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){df(()=>{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 pf(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 Ns={};function sr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=Kx(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Ns[o]&&r in Ns[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new da(s,e):(Ns[o]||(Ns[o]=new da(s,e)),l=Ns[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(sr,{Manager:da,Socket:pf,io:sr,connect:sr});const rw=void 0,Ue=new sr(rw);Ue.onopen=()=>{console.log("WebSocket connection established.")};Ue.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};Ue.onerror=t=>{console.error("WebSocket error:",t),Ue.disconnect()};Ue.on("connect",()=>{console.log("WebSocket connected (websocket)")});Ue.on("disconnect",()=>{console.log("WebSocket disonnected (websocket)")});const gf=oh();gf.config.globalProperties.$socket=Ue;gf.mount();const iw={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})}}},aw={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},lw={class:"relative w-full max-w-md max-h-full"},cw={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},uw=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),dw=d("span",{class:"sr-only"},"Close modal",-1),hw=[uw,dw],fw={class:"p-4 text-center"},pw=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),gw={class:"p-4 text-center mx-auto mb-4"},mw=d("label",{class:"mr-2"},"Model path",-1);function _w(t,e,n,s,o,r){return o.show?(D(),L("div",aw,[d("div",lw,[d("div",cw,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},hw),d("div",fw,[pw,d("div",gw,[mw,Te(d("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[qe,o.model_path]])]),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),d("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):K("",!0)}const yw=Ge(iw,[["render",_w]]),bw={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){fe(()=>{xe.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(){fe(()=>{xe.replace()})}}},vw={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},xw={class:"relative w-full max-w-md"},ww={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},kw={class:"flex flex-row flex-grow items-center m-2 p-1"},Cw={class:"grow flex items-center"},Ew=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),Aw={class:"text-lg font-semibold select-none mr-2"},Sw={class:"items-end"},Tw=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Dw=d("span",{class:"sr-only"},"Close form modal",-1),Mw=[Tw,Dw],Ow={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},Lw={class:"px-2"},jw={key:0},Rw={key:0},Pw={class:"text-base font-semibold"},Iw={key:0,class:"relative inline-flex"},Fw=["onUpdate:modelValue"],$w=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),qw={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},zw=["onUpdate:modelValue"],Bw={key:1},Nw={class:"text-base font-semibold"},Uw={key:0,class:"relative inline-flex"},Hw=["onUpdate:modelValue"],Vw=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Gw={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Kw=["onUpdate:modelValue"],Ww=["value","selected"],Zw={key:1},Jw={class:"text-base font-semibold"},Yw={key:0,class:"relative inline-flex"},Qw=["onUpdate:modelValue"],Xw=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),ek={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},tk=["onUpdate:modelValue"],nk=["onUpdate:modelValue","min","max"],sk={key:2},ok={class:"mb-2 relative flex items-center gap-2"},rk={for:"default-checkbox",class:"text-base font-semibold"},ik=["onUpdate:modelValue"],ak={key:0,class:"relative inline-flex"},lk=["onUpdate:modelValue"],ck=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),uk={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},dk={key:3},hk={class:"text-base font-semibold"},fk={key:0,class:"relative inline-flex"},pk=["onUpdate:modelValue"],gk=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),mk={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},_k=["onUpdate:modelValue"],yk=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),bk={class:"flex flex-row flex-grow gap-3"},vk={class:"p-2 text-center grow"};function xk(t,e,n,s,o,r){return o.show?(D(),L("div",vw,[d("div",xw,[d("div",ww,[d("div",kw,[d("div",Cw,[Ew,d("h3",Aw,ne(o.title),1)]),d("div",Sw,[d("button",{type:"button",onClick:e[0]||(e[0]=ce(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"},Mw)])]),d("div",Ow,[(D(!0),L(Ie,null,rt(o.controls_array,(i,a)=>(D(),L("div",Lw,[i.type=="str"?(D(),L("div",jw,[i.options?K("",!0):(D(),L("div",Rw,[d("label",{class:Ae(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",Pw,ne(i.name)+": ",1),i.help?(D(),L("label",Iw,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Fw),[[hn,i.isHelp]]),$w])):K("",!0)],2),i.isHelp?(D(),L("p",qw,ne(i.help),1)):K("",!0),Te(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter string"},null,8,zw),[[qe,i.value]])])),i.options?(D(),L("div",Bw,[d("label",{class:Ae(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",Nw,ne(i.name)+": ",1),i.help?(D(),L("label",Uw,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Hw),[[hn,i.isHelp]]),Vw])):K("",!0)],2),i.isHelp?(D(),L("p",Gw,ne(i.help),1)):K("",!0),Te(d("select",{"onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(D(!0),L(Ie,null,rt(i.options,l=>(D(),L("option",{value:l,selected:i.value===l},ne(l),9,Ww))),256))],8,Kw),[[sm,i.value]])])):K("",!0)])):K("",!0),i.type=="int"||i.type=="float"?(D(),L("div",Zw,[d("label",{class:Ae(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",Jw,ne(i.name)+": ",1),i.help?(D(),L("label",Yw,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Qw),[[hn,i.isHelp]]),Xw])):K("",!0)],2),i.isHelp?(D(),L("p",ek,ne(i.help),1)):K("",!0),Te(d("input",{type:"number","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter number"},null,8,tk),[[qe,i.value]]),i.min!=null&&i.max!=null?Te((D(),L("input",{key:1,type:"range","onUpdate:modelValue":l=>i.value=l,min:i.min,max:i.max,step:"0.1",class:"flex-none h-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,8,nk)),[[qe,i.value]]):K("",!0)])):K("",!0),i.type=="bool"?(D(),L("div",sk,[d("div",ok,[d("label",rk,ne(i.name)+": ",1),Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.value=l,class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"},null,8,ik),[[hn,i.value]]),i.help?(D(),L("label",ak,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,lk),[[hn,i.isHelp]]),ck])):K("",!0)]),i.isHelp?(D(),L("p",uk,ne(i.help),1)):K("",!0)])):K("",!0),i.type=="list"?(D(),L("div",dk,[d("label",{class:Ae(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",hk,ne(i.name)+": ",1),i.help?(D(),L("label",fk,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,pk),[[hn,i.isHelp]]),gk])):K("",!0)],2),i.isHelp?(D(),L("p",mk,ne(i.help),1)):K("",!0),Te(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter comma separated values"},null,8,_k),[[qe,i.value]])])):K("",!0),yk]))),256)),d("div",bk,[d("div",vk,[d("button",{onClick:e[1]||(e[1]=ce(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},ne(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=ce(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},ne(o.DenyButtonText),1)])])])])])])):K("",!0)}const wk=Ge(bw,[["render",xk]]);const kk="/";Me.defaults.baseURL="/";const Ck={components:{AddModelDialog:yw,MessageBox:Zy,YesNoDialog:ab,ModelEntry:N2,PersonalityViewer:rv,Toast:tl,PersonalityEntry:Pv,BindingEntry:_x,UniversalForm:wk},data(){return{addModelDialogVisibility:!1,modelPath:"",models:[],personalities:[],personalitiesFiltered:[],bindings:[],collapsedArr:[],all_collapsed:!0,bec_collapsed:!0,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,bindingsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{},showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,diskUsage:{},ramUsage:{},vramUsage:{},mountedPersArr:[],isMounted:!1,bUrl:kk,searchPersonality:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchPersonalityInProgress:!1}},async created(){},methods:{async progressListener(t){if(console.log("received something"),t.status==="progress"){if(this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(console.log("model entry",n),n.installing=!0,n.progress=t.progress,console.log(`Progress = ${t.progress}`),t.progress>=100&&(n.installing=!1,n.isInstalled=!0))}}else if(t.status==="succeeded"){if(console.log("Received succeeded"),console.log("Installed successfully"),this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!0)}this.$refs.toast.showToast(`Model:
|
||
`+model_object.title+`
|
||
installed!`,4,!0),this.api_get_req("disk_usage").then(e=>{this.diskUsage=e})}else if(t.status==="failed"&&(console.log("Install failed"),this.$refs.modelZoo)){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!1),console.error("Installation failed:",t.error),this.$refs.toast.showToast(`Model:
|
||
`+model_object.title+`
|
||
failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s})}},showAddModelDialog(){this.$refs.addmodeldialog.showDialog("").then(()=>{console.log(this.$refs.addmodeldialog.model_path);const t=this.$refs.addmodeldialog.model_path;Ue.emit("install_model",{path:t},e=>{console.log("Model installation successful:",e)}),console.log(this.$refs.addmodeldialog.model_path)})},closeAddModelDialog(){this.addModelDialogVisibility=!1},collapseAll(t){this.bec_collapsed=t,this.mzc_collapsed=t,this.pzc_collapsed=t,this.bzc_collapsed=t,this.pc_collapsed=t,this.mc_collapsed=t,this.sc_collapsed=t,this.mzdc_collapsed=t},fetchModels(){Me.get("/get_available_models").then(t=>{this.models=t.data,this.models.sort((e,n)=>e.title.localeCompare(n.title)),this.fetchCustomModels()}).catch(t=>{console.log(t.message,"fetchModels")})},fetchCustomModels(){Me.get("/list_models").then(t=>{for(let e=0;e<t.data.length;e++){const n=t.data[e];if(this.models.findIndex(o=>o.title==n)==-1){let o={};o.title=n,o.path=n,o.isCustomModel=!0,o.isInstalled=!0,this.models.push(o)}}}).catch(t=>{console.log(t.message,"fetchCustomModels")})},async onPersonalitySelected(t){if(console.log("on pers",t),this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}t.isMounted?(await this.select_personality(t)).status&&this.$refs.toast.showToast(`Selected personality:
|
||
`+t.name,4,!0):this.onPersonalityMounted(t),fe(()=>{xe.replace()}),this.isLoading=!1}},onSelected(t){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?this.configFile.model_name!=t.title&&(this.update_model(t.title),this.configFile.model_name=t.title,this.$refs.toast.showToast(`Selected model:
|
||
`+t.title,4,!0),this.settingsChanged=!0,this.isModelSelected=!0):this.$refs.toast.showToast(`Model:
|
||
`+t.title+`
|
||
is not installed`,4,!1),fe(()=>{xe.replace()}))},onCopy(t){let e;t.model.isCustomModel?e=`Model name: ${t.title}
|
||
File size: ${t.fileSize}
|
||
Manually downloaded model `:e=`Model name: ${t.title}
|
||
File size: ${t.fileSize}
|
||
Download: ${t.path}
|
||
License: ${t.license}
|
||
Owner: ${t.owner}
|
||
Website: ${t.owner_link}
|
||
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(t.path)},onCancelInstall(t){t.installing=!1,this.$refs.toast.showToast("Model installation aborted",4,!1),Ue.emit("cancel_install",{model_name:t.title,binding_folder:this.configFile.binding_name,model_url:t.path})},onInstall(t){if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e=t.path;this.showProgress=!0,this.progress=0,console.log("installing...");const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),Ue.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model:
|
||
`+t.title+`
|
||
installed!`,4,!0),this.api_get_req("disk_usage").then(r=>{this.diskUsage=r})}}else Ue.off("install_progress",n),console.log("Install failed"),t.installing=!1,this.showProgress=!1,console.error("Installation failed:",s.error),this.$refs.toast.showToast(`Model:
|
||
`+t.title+`
|
||
failed to install!`,4,!1),this.api_get_req("disk_usage").then(o=>{this.diskUsage=o})};Ue.on("install_progress",n),Ue.emit("install_model",{path:e}),console.log("Started installation, please wait")},onUninstall(t){this.$refs.yesNoDialog.askQuestion(`Are you sure you want to delete this model?
|
||
[`+t.title+"]","Yes","Cancel").then(e=>{if(e){console.log("uninstalling model...");const n=s=>{if(console.log("uninstalling res",s),s.status){console.log("uninstalling success",s),t.uninstalling=!1,Ue.off("install_progress",n),this.showProgress=!1;const o=this.models.findIndex(r=>r.path===t.path);this.models[o].isInstalled=!1,t.model.isCustomModel&&(this.models=this.models.filter(r=>r.title!==t.title)),this.$refs.toast.showToast(`Model:
|
||
`+t.title+`
|
||
was uninstalled!`,4,!0),this.api_get_req("disk_usage").then(r=>{this.diskUsage=r})}else console.log("uninstalling failed",s),t.uninstalling=!1,this.showProgress=!1,Ue.off("install_progress",n),console.error("Uninstallation failed:",message.error),this.$refs.toast.showToast(`Model:
|
||
`+t.title+`
|
||
failed to uninstall!`,4,!1),this.api_get_req("disk_usage").then(o=>{this.diskUsage=o})};Ue.on("install_progress",n),Ue.emit("uninstall_model",{path:t.path})}})},onSelectedBinding(t){this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onReinstallBinding(t){this.isLoading=!0,Me.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}))},onSettingsBinding(t){try{this.isLoading=!0,Me.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{Me.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)}},onSettingsPersonality(t){try{this.isLoading=!0,Me.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{Me.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get Personality settings responses.
|
||
`+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses.
|
||
Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Personality has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},onMessageBoxOk(){console.log("OK button clicked")},refresh(){this.api_get_req("list_models").then(t=>{this.modelsArr=t,this.modelsArr.sort()}),this.api_get_req("list_personalities_categories").then(t=>{this.persCatgArr=t,this.persCatgArr.sort()}),this.api_get_req("get_config").then(t=>{this.getPersonalitiesArr().then(()=>{this.getMountedPersonalities()}),console.log("Received config"),this.configFile=t,this.models.forEach(e=>{e.title==t.model_name?e.selected=!0:e.selected=!1})}).then(()=>{this.api_get_req("get_current_personality_path_infos").then(t=>{this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,console.log("received infos")})}),this.api_get_req("list_personalities").then(t=>{this.persArr=t,this.persArr.sort(),console.log(`Listed personalities:
|
||
${t}`)}),this.api_get_req("disk_usage").then(t=>{this.diskUsage=t}),this.api_get_req("ram_usage").then(t=>{this.ramUsage=t}),this.fetchModels(),this.api_get_req("list_bindings"),then(t=>{this.bindings=t,this.bindings.sort((e,n)=>e.name.localeCompare(n.name))})},toggleAccordion(){this.showAccordion=!this.showAccordion},update_setting(t,e,n){this.isLoading=!0;const s={setting_name:t,setting_value:e};Me.post("/update_setting",s).then(o=>{if(o)return this.isLoading=!1,console.log("update_setting",o),n!==void 0&&n(o),o.data;this.isLoading=!1}).catch(o=>(this.isLoading=!1,{status:!1}))},update_binding(t){this.isLoading=!0,this.update_setting("binding_name",t,e=>{const n=this.bindings.findIndex(o=>o.folder==t),s=this.bindings[n];s&&(s.installed=!0),this.$refs.toast.showToast("Binding changed.",4,!0),this.settingsChanged=!0,this.isLoading=!1,this.update_model(null),this.configFile.model_name=null,this.refresh(),fe(()=>{xe.replace()})})},update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0,this.update_setting("model_name",t,e=>{this.isLoading=!1})},applyConfiguration(){this.isLoading=!0,Me.post("/apply_settings").then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),fe(()=>{xe.replace()})})},save_configuration(){this.showConfirmation=!1,Me.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&&Me.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 Me.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s<n.length;s++){const o=n[s],r=t[o],i=Object.keys(r);for(let a=0;a<i.length;a++){const l=i[a],u=r[l].map(h=>{const f=e.personalities.includes(o+"/"+l+"/"+h.folder);let p={};return p=h,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+h.folder,p.isMounted=f,p});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name.toLowerCase().includes(t)||n.description.toLowerCase().includes(t)||n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},computedFileSize(t){return Bn(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Me.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 Me.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 Me.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
|
||
`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
|
||
Error: `+e.error,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
|
||
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
|
||
Error: `+e.error,4,!1);this.isLoading=!1},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;e<this.configFile.personalities.length;e++){const n=this.configFile.personalities[e],s=this.personalities.findIndex(r=>r.full_path==n);console.log("index",s),console.log("i:",e);const o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),fe(()=>{})},onPersonalityMounted(t){this.isLoading=!0,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),this.isLoading=!1},personalityImgPlacehodler(t){t.target.src=xs},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))}},async mounted(){this.isLoading=!0,fe(()=>{xe.replace()}),this.configFile=await this.api_get_req("get_config");let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,this.configFile.model_name&&(this.isModelSelected=!0),this.fetchModels(),this.bindingsArr=await this.api_get_req("list_bindings"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.bindingsArr.sort((e,n)=>e.name.localeCompare(n.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),await this.getPersonalitiesArr(),this.bindings=await this.api_get_req("list_bindings"),this.bindings.sort((e,n)=>e.name.localeCompare(n.name)),this.isLoading=!1,this.diskUsage=await this.api_get_req("disk_usage"),this.ramUsage=await this.api_get_req("ram_usage"),this.vramUsage=await this.api_get_req("vram_usage"),this.getMountedPersonalities(),this.isMounted=!0},activated(){},computed:{disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},vram_available_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram-this.vramUsage.gpu_0_used_vram)},vram_usage(){return this.computedFileSize(this.vramUsage.gpu_0_used_vram)},vram_percent_usage(){return(this.vramUsage.gpu_0_used_vram/this.vramUsage.gpu_0_total_vram*100).toFixed(2)},vram_total_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return defaultImgPlaceholder}},imgModel(){if(this.isMounted)try{return this.$refs.modelZoo[this.$refs.modelZoo.findIndex(t=>t.title==this.configFile.model_name)].$refs.imgElement.src}catch{return ia}},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}},watch:{bec_collapsed(){fe(()=>{xe.replace()})},pc_collapsed(){fe(()=>{xe.replace()})},mc_collapsed(){fe(()=>{xe.replace()})},sc_collapsed(){fe(()=>{xe.replace()})},showConfirmation(){fe(()=>{xe.replace()})},mzl_collapsed(){fe(()=>{xe.replace()})},pzl_collapsed(){fe(()=>{xe.replace()})},bzl_collapsed(){fe(()=>{xe.replace()})},all_collapsed(t){this.collapseAll(t),fe(()=>{xe.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,fe(()=>{xe.replace()})},isLoading(){fe(()=>{xe.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},mzdc_collapsed(){fe(()=>{xe.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`You forgot to apply changes?
|
||
You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1}},we=t=>(vo("data-v-fec1dbab"),t=t(),xo(),t),Ek={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},Ak={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"},Sk={key:0,class:"flex gap-3 flex-1 items-center duration-75"},Tk=we(()=>d("i",{"data-feather":"x"},null,-1)),Dk=[Tk],Mk=we(()=>d("i",{"data-feather":"check"},null,-1)),Ok=[Mk],Lk={key:1,class:"flex gap-3 flex-1 items-center"},jk=we(()=>d("i",{"data-feather":"save"},null,-1)),Rk=[jk],Pk=we(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),Ik=[Pk],Fk=we(()=>d("i",{"data-feather":"list"},null,-1)),$k=[Fk],qk={class:"flex gap-3 flex-1 items-center justify-end"},zk={class:"flex gap-3 items-center"},Bk={key:0,class:"flex gap-3 items-center"},Nk=we(()=>d("i",{"data-feather":"check"},null,-1)),Uk=[Nk],Hk={key:1,role:"status"},Vk=we(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),Gk=we(()=>d("span",{class:"sr-only"},"Loading...",-1)),Kk=[Vk,Gk],Wk={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"},Zk={class:"flex flex-row p-3"},Jk=we(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),Yk=we(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),Qk=we(()=>d("div",{class:"mr-2"},"|",-1)),Xk={class:"text-base font-semibold cursor-pointer select-none items-center"},e5={class:"flex gap-2 items-center"},t5=wo('<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-fec1dbab><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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></path></svg>',1),n5={class:"font-bold font-large text-lg"},s5=we(()=>d("i",{"data-feather":"cpu",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),o5={class:"font-bold font-large text-lg"},r5=we(()=>d("i",{"data-feather":"hard-drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),i5={class:"font-bold font-large text-lg"},a5={class:"mb-2"},l5=we(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[d("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),Ce(" Ram usage: ")],-1)),c5={class:"flex flex-col mx-2"},u5=we(()=>d("b",null,"Avaliable ram: ",-1)),d5=we(()=>d("b",null,"Ram usage: ",-1)),h5={class:"p-2"},f5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},p5={class:"mb-2"},g5=we(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),Ce(" Disk usage: ")],-1)),m5={class:"flex flex-col mx-2"},_5=we(()=>d("b",null,"Avaliable disk space: ",-1)),y5=we(()=>d("b",null,"Disk usage: ",-1)),b5={class:"p-2"},v5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},x5={class:"mb-2"},w5=wo('<label class="flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white" data-v-fec1dbab><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-fec1dbab><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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></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-fec1dbab></path></svg> GPU usage: </label>',1),k5={class:"flex flex-col mx-2"},C5=we(()=>d("b",null,"Avaliable vram: ",-1)),E5=we(()=>d("b",null,"GPU usage: ",-1)),A5={class:"p-2"},S5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},T5={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"},D5={class:"flex flex-row p-3"},M5=we(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),O5=we(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),L5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},j5=we(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),R5={key:1,class:"mr-2"},P5={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},I5={class:"flex gap-1 items-center"},F5=["src"],$5={class:"font-bold font-large text-lg line-clamp-1"},q5={key:0,class:"mb-2"},z5={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},B5=we(()=>d("i",{"data-feather":"chevron-up"},null,-1)),N5=[B5],U5=we(()=>d("i",{"data-feather":"chevron-down"},null,-1)),H5=[U5],V5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},G5={class:"flex flex-row p-3"},K5=["data-feather"],W5=we(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),Z5={class:"flex flex-row items-center"},J5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Y5=we(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),Q5={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},X5=we(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),e4={key:2,class:"mr-2"},t4={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},n4={class:"flex gap-1 items-center"},s4=["src"],o4={class:"font-bold font-large text-lg line-clamp-1"},r4={key:0,class:"mb-2"},i4={key:1,class:"mb-2"},a4={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},l4=we(()=>d("i",{"data-feather":"chevron-up"},null,-1)),c4=[l4],u4=we(()=>d("i",{"data-feather":"chevron-down"},null,-1)),d4=[u4],h4={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"},f4={class:"flex flex-row p-3"},p4=["data-feather"],g4=we(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),m4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},_4=we(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),y4={key:1,class:"mr-2"},b4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},v4={class:"flex gap-1 items-center"},x4=["src"],w4={class:"font-bold font-large text-lg line-clamp-1"},k4=wo('<div class="mb-2" data-v-fec1dbab><div class="p-2" data-v-fec1dbab><form data-v-fec1dbab><div class="mb-3" data-v-fec1dbab><label class="block mb-2 text-sm font-medium text-gray-900 dark:text-white" for="file_input" data-v-fec1dbab>Select files</label><input class="block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400" id="multiple_files" type="file" multiple data-v-fec1dbab></div><button type="submit" 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" data-v-fec1dbab>Upload</button></form></div><div class="p-2" data-v-fec1dbab><form data-v-fec1dbab><div class="mb-3" data-v-fec1dbab><label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white" data-v-fec1dbab>Model URL</label><input type="email" id="email" 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="url" required data-v-fec1dbab></div><button type="submit" 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" data-v-fec1dbab>Download</button></form></div></div>',1),C4=[k4],E4={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"},A4={class:"flex flex-row p-3 items-center"},S4=["data-feather"],T4=we(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),D4={key:0,class:"mr-2"},M4={class:"mr-2 font-bold font-large text-lg line-clamp-1"},O4={key:1,class:"mr-2"},L4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},j4={key:0,class:"flex -space-x-4 items-center"},R4={class:"group items-center flex flex-row"},P4=["onClick"],I4=["src","title"],F4=["onClick"],$4=we(()=>d("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[d("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),q4=[$4],z4={class:"mx-2 mb-4"},B4=we(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),N4={class:"relative"},U4={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},H4={key:0},V4=we(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),G4=[V4],K4={key:1},W4=we(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),Z4=[W4],J4={key:0,class:"mx-2 mb-4"},Y4={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},Q4=["selected"],X4={key:1,class:"mx-2 mb-4"},e3={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},t3=["selected"],n3={key:0,class:"mb-2"},s3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},o3=we(()=>d("i",{"data-feather":"chevron-up"},null,-1)),r3=[o3],i3=we(()=>d("i",{"data-feather":"chevron-down"},null,-1)),a3=[i3],l3={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"},c3={class:"flex flex-row"},u3=["data-feather"],d3=we(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),h3={class:"m-2"},f3={class:"flex flex-row gap-2 items-center"},p3=we(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),g3={class:"m-2"},m3=we(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),_3={class:"m-2"},y3={class:"flex flex-col align-bottom"},b3={class:"relative"},v3=we(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),x3={class:"absolute right-0"},w3={class:"m-2"},k3={class:"flex flex-col align-bottom"},C3={class:"relative"},E3=we(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),A3={class:"absolute right-0"},S3={class:"m-2"},T3={class:"flex flex-col align-bottom"},D3={class:"relative"},M3=we(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),O3={class:"absolute right-0"},L3={class:"m-2"},j3={class:"flex flex-col align-bottom"},R3={class:"relative"},P3=we(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),I3={class:"absolute right-0"},F3={class:"m-2"},$3={class:"flex flex-col align-bottom"},q3={class:"relative"},z3=we(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),B3={class:"absolute right-0"},N3={class:"m-2"},U3={class:"flex flex-col align-bottom"},H3={class:"relative"},V3=we(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),G3={class:"absolute right-0"};function K3(t,e,n,s,o,r){const i=Wt("BindingEntry"),a=Wt("model-entry"),l=Wt("personality-entry"),c=Wt("YesNoDialog"),u=Wt("AddModelDialog"),h=Wt("MessageBox"),f=Wt("Toast"),p=Wt("UniversalForm");return D(),L(Ie,null,[d("div",Ek,[d("div",Ak,[o.showConfirmation?(D(),L("div",Sk,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ce(g=>o.showConfirmation=!1,["stop"]))},Dk),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ce(g=>r.save_configuration(),["stop"]))},Ok)])):K("",!0),o.showConfirmation?K("",!0):(D(),L("div",Lk,[d("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=g=>o.showConfirmation=!0)},Rk),d("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=g=>r.reset_configuration())},Ik),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=ce(g=>o.all_collapsed=!o.all_collapsed,["stop"]))},$k)])),d("div",qk,[d("div",zk,[o.settingsChanged?(D(),L("div",Bk,[Ce(" Apply changes: "),o.isLoading?K("",!0):(D(),L("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ce(g=>r.applyConfiguration(),["stop"]))},Uk))])):K("",!0),o.isLoading?(D(),L("div",Hk,Kk)):K("",!0)])])]),d("div",{class:Ae(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",Wk,[d("div",Zk,[d("button",{onClick:e[6]||(e[6]=ce(g=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[Jk,Yk,Qk,d("div",Xk,[d("div",e5,[t5,d("h3",n5,[d("div",null,ne(r.vram_usage)+" / "+ne(r.vram_total_space)+" ("+ne(r.vram_percent_usage)+"%)",1)]),s5,d("h3",o5,[d("div",null,ne(r.ram_usage)+" / "+ne(r.ram_total_space)+" ("+ne(r.ram_percent_usage)+"%)",1)]),r5,d("h3",i5,[d("div",null,ne(r.disk_binding_models_usage)+" / "+ne(r.disk_total_space)+" ("+ne(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Ae([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",a5,[l5,d("div",c5,[d("div",null,[u5,Ce(ne(r.ram_available_space),1)]),d("div",null,[d5,Ce(" "+ne(r.ram_usage)+" / "+ne(r.ram_total_space),1)])]),d("div",h5,[d("div",f5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:xn("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",p5,[g5,d("div",m5,[d("div",null,[_5,Ce(ne(r.disk_available_space),1)]),d("div",null,[y5,Ce(" "+ne(r.disk_binding_models_usage)+" / "+ne(r.disk_total_space),1)])]),d("div",b5,[d("div",v5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:xn("width: "+r.disk_percent_usage+"%;")},null,4)])])]),d("div",x5,[w5,d("div",k5,[d("div",null,[C5,Ce(ne(r.vram_available_space),1)]),d("div",null,[E5,Ce(" "+ne(r.vram_usage)+" / "+ne(r.vram_total_space),1)])]),d("div",A5,[d("div",S5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:xn("width: "+r.vram_percent_usage+"%;")},null,4)])])])],2)]),d("div",T5,[d("div",D5,[d("button",{onClick:e[7]||(e[7]=ce(g=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[M5,O5,o.configFile.binding_name?K("",!0):(D(),L("div",L5,[j5,Ce(" No binding selected! ")])),o.configFile.binding_name?(D(),L("div",R5,"|")):K("",!0),o.configFile.binding_name?(D(),L("div",P5,[d("div",I5,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,F5),d("h3",$5,ne(r.binding_name),1)])])):K("",!0)])]),d("div",{class:Ae([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindings.length>0?(D(),L("div",q5,[d("label",z5," Bindings: ("+ne(o.bindings.length)+") ",1),d("div",{class:Ae(["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"])},[Se(Cn,{name:"list"},{default:Qe(()=>[(D(!0),L(Ie,null,rt(o.bindings,(g,m)=>(D(),at(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+m+"-"+g.folder,binding:g,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-settings":r.onSettingsBinding,selected:g.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-settings","selected"]))),128))]),_:1})],2)])):K("",!0),o.bzl_collapsed?(D(),L("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[8]||(e[8]=g=>o.bzl_collapsed=!o.bzl_collapsed)},N5)):(D(),L("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[9]||(e[9]=g=>o.bzl_collapsed=!o.bzl_collapsed)},H5))],2)]),d("div",V5,[d("div",G5,[d("button",{onClick:e[10]||(e[10]=ce(g=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,K5),W5,d("div",Z5,[o.configFile.binding_name?K("",!0):(D(),L("div",J5,[Y5,Ce(" Select binding first! ")])),!o.isModelSelected&&o.configFile.binding_name?(D(),L("div",Q5,[X5,Ce(" No model selected! ")])):K("",!0),o.configFile.model_name?(D(),L("div",e4,"|")):K("",!0),o.configFile.model_name?(D(),L("div",t4,[d("div",n4,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,s4),d("h3",o4,ne(o.configFile.model_name),1)])])):K("",!0)])])]),d("div",{class:Ae([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.configFile.binding_name?(D(),L("div",r4)):K("",!0),o.models.length>0?(D(),L("div",i4,[d("label",a4," Models: ("+ne(o.models.length)+") ",1),d("div",{class:Ae(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[Se(Cn,{name:"list"},{default:Qe(()=>[(D(!0),L(Ie,null,rt(o.models,(g,m)=>(D(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+g.title,title:g.title,icon:g.icon,path:g.path,owner:g.owner,owner_link:g.owner_link,license:g.license,description:g.description,"is-installed":g.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:g.title===o.configFile.model_name,model:g,model_type:g.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):K("",!0),o.mzl_collapsed?(D(),L("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[11]||(e[11]=g=>o.mzl_collapsed=!o.mzl_collapsed)},c4)):(D(),L("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[12]||(e[12]=g=>o.mzl_collapsed=!o.mzl_collapsed)},d4))],2)]),d("div",h4,[d("div",f4,[d("button",{onClick:e[13]||(e[13]=ce(g=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzdc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,p4),g4,o.configFile.binding_name?K("",!0):(D(),L("div",m4,[_4,Ce(" No binding selected! ")])),o.configFile.binding_name?(D(),L("div",y4,"|")):K("",!0),o.configFile.binding_name?(D(),L("div",b4,[d("div",v4,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,x4),d("h3",w4,ne(r.binding_name),1)])])):K("",!0)])]),d("div",{class:Ae([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},C4,2)]),d("div",E4,[d("div",A4,[d("button",{onClick:e[15]||(e[15]=ce(g=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[d("i",{"data-feather":o.pzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,S4),T4,o.configFile.personalities?(D(),L("div",D4,"|")):K("",!0),d("div",M4,ne(r.active_pesonality),1),o.configFile.personalities?(D(),L("div",O4,"|")):K("",!0),o.configFile.personalities?(D(),L("div",L4,[o.mountedPersArr.length>0?(D(),L("div",j4,[(D(!0),L(Ie,null,rt(o.mountedPersArr,(g,m)=>(D(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:m+"-"+g.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",R4,[d("button",{onClick:ce(w=>r.onPersonalitySelected(g),["stop"])},[d("img",{src:o.bUrl+g.avatar,onError:e[14]||(e[14]=(...w)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...w)),class:Ae(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(g.full_path)?"border-secondary":"border-transparent z-0"]),title:g.name},null,42,I4)],8,P4),d("button",{onClick:ce(w=>r.onPersonalityMounted(g),["stop"])},q4,8,F4)])]))),128))])):K("",!0)])):K("",!0)])]),d("div",{class:Ae([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",z4,[d("form",null,[B4,d("div",N4,[d("div",U4,[o.searchPersonalityInProgress?(D(),L("div",H4,G4)):K("",!0),o.searchPersonalityInProgress?K("",!0):(D(),L("div",K4,Z4))]),Te(d("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[16]||(e[16]=g=>o.searchPersonality=g),onKeyup:e[17]||(e[17]=ce((...g)=>r.searchPersonality_func&&r.searchPersonality_func(...g),["stop"]))},null,544),[[qe,o.searchPersonality]])])])]),o.searchPersonality?K("",!0):(D(),L("div",J4,[d("label",Y4," Personalities Languages: ("+ne(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[18]||(e[18]=g=>r.update_setting("personality_language",g.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(D(!0),L(Ie,null,rt(o.persLangArr,g=>(D(),L("option",{selected:g===this.configFile.personality_language},ne(g),9,Q4))),256))],32)])),o.searchPersonality?K("",!0):(D(),L("div",X4,[d("label",e3," Personalities Category: ("+ne(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[19]||(e[19]=g=>r.update_setting("personality_category",g.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(D(!0),L(Ie,null,rt(o.persCatgArr,(g,m)=>(D(),L("option",{key:m,selected:g==this.configFile.personality_category},ne(g),9,t3))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(D(),L("div",n3,[d("label",s3," Personalities: ("+ne(o.personalitiesFiltered.length)+") ",1),d("div",{class:Ae(["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"])},[Se(Cn,{name:"bounce"},{default:Qe(()=>[(D(!0),L(Ie,null,rt(o.personalitiesFiltered,(g,m)=>(D(),at(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+g.name,personality:g,full_path:g.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(w=>w===g.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):K("",!0)]),o.pzl_collapsed?(D(),L("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[20]||(e[20]=g=>o.pzl_collapsed=!o.pzl_collapsed)},r3)):(D(),L("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[21]||(e[21]=g=>o.pzl_collapsed=!o.pzl_collapsed)},a3))],2)]),d("div",l3,[d("div",c3,[d("button",{onClick:e[22]||(e[22]=ce(g=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mc_collapsed?"chevron-right":"chevron-down",class:"mr-2"},null,8,u3),d3])]),d("div",{class:Ae([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",h3,[d("div",f3,[Te(d("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[23]||(e[23]=ce(()=>{},["stop"])),"onUpdate:modelValue":e[24]||(e[24]=g=>o.configFile.override_personality_model_parameters=g),onChange:e[25]||(e[25]=g=>r.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[hn,o.configFile.override_personality_model_parameters]]),p3])]),d("div",{class:Ae(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",g3,[m3,Te(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[26]||(e[26]=g=>o.configFile.seed=g),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.seed]])]),d("div",_3,[d("div",y3,[d("div",b3,[v3,d("p",x3,[Te(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[27]||(e[27]=g=>o.configFile.temperature=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.temperature]])])]),Te(d("input",{id:"temperature",onChange:e[28]||(e[28]=g=>r.update_setting("temperature",g.target.value)),type:"range","onUpdate:modelValue":e[29]||(e[29]=g=>o.configFile.temperature=g),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.temperature]])])]),d("div",w3,[d("div",k3,[d("div",C3,[E3,d("p",A3,[Te(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[30]||(e[30]=g=>o.configFile.n_predict=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.n_predict]])])]),Te(d("input",{id:"predict",onChange:e[31]||(e[31]=g=>r.update_setting("n_predict",g.target.value)),type:"range","onUpdate:modelValue":e[32]||(e[32]=g=>o.configFile.n_predict=g),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.n_predict]])])]),d("div",S3,[d("div",T3,[d("div",D3,[M3,d("p",O3,[Te(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[33]||(e[33]=g=>o.configFile.top_k=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.top_k]])])]),Te(d("input",{id:"top_k",onChange:e[34]||(e[34]=g=>r.update_setting("top_k",g.target.value)),type:"range","onUpdate:modelValue":e[35]||(e[35]=g=>o.configFile.top_k=g),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.top_k]])])]),d("div",L3,[d("div",j3,[d("div",R3,[P3,d("p",I3,[Te(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[36]||(e[36]=g=>o.configFile.top_p=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.top_p]])])]),Te(d("input",{id:"top_p",onChange:e[37]||(e[37]=g=>r.update_setting("top_p",g.target.value)),type:"range","onUpdate:modelValue":e[38]||(e[38]=g=>o.configFile.top_p=g),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.top_p]])])]),d("div",F3,[d("div",$3,[d("div",q3,[z3,d("p",B3,[Te(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[39]||(e[39]=g=>o.configFile.repeat_penalty=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.repeat_penalty]])])]),Te(d("input",{id:"repeat_penalty",onChange:e[40]||(e[40]=g=>r.update_setting("repeat_penalty",g.target.value)),type:"range","onUpdate:modelValue":e[41]||(e[41]=g=>o.configFile.repeat_penalty=g),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.repeat_penalty]])])]),d("div",N3,[d("div",U3,[d("div",H3,[V3,d("p",G3,[Te(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[42]||(e[42]=g=>o.configFile.repeat_last_n=g),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.repeat_last_n]])])]),Te(d("input",{id:"repeat_last_n",onChange:e[43]||(e[43]=g=>r.update_setting("repeat_last_n",g.target.value)),type:"range","onUpdate:modelValue":e[44]||(e[44]=g=>o.configFile.repeat_last_n=g),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),Se(c,{ref:"yesNoDialog",class:"z-20"},null,512),Se(u,{ref:"addmodeldialog"},null,512),Se(h,{ref:"messageBox"},null,512),Se(f,{ref:"toast"},null,512),Se(p,{ref:"universalForm",class:"z-20"},null,512)],64)}const W3=Ge(Ck,[["render",K3],["__scopeId","data-v-fec1dbab"]]),Z3={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)}}},J3={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"},Y3={class:"mb-4"},Q3=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),X3={class:"mb-4"},e8=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),t8={class:"mb-4"},n8=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),s8={class:"mt-2 text-xs"},o8={class:"mb-4"},r8=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),i8={class:"mb-4"},a8=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),l8={class:"mb-4"},c8=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),u8={class:"mb-4"},d8=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),h8={class:"mb-4"},f8=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),p8=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function g8(t,e,n,s,o,r){return D(),L("div",J3,[d("form",{onSubmit:e[10]||(e[10]=ce((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",Y3,[Q3,Te(d("input",{type:"text",id:"model_name","onUpdate:modelValue":e[0]||(e[0]=i=>o.model_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[qe,o.model_name]])]),d("div",X3,[e8,Te(d("input",{type:"text",id:"tokenizer_name","onUpdate:modelValue":e[1]||(e[1]=i=>o.tokenizer_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[qe,o.tokenizer_name]])]),d("div",t8,[n8,d("input",{type:"file",id:"dataset_path",ref:"dataset_path",accept:".parquet",onChange:e[2]||(e[2]=(...i)=>r.selectDatasetPath&&r.selectDatasetPath(...i)),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,544),d("p",s8,"Selected File: "+ne(o.selectedDatasetPath),1)]),d("div",o8,[r8,Te(d("input",{type:"number",id:"max_length","onUpdate:modelValue":e[3]||(e[3]=i=>o.max_length=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[qe,o.max_length,void 0,{number:!0}]])]),d("div",i8,[a8,Te(d("input",{type:"number",id:"batch_size","onUpdate:modelValue":e[4]||(e[4]=i=>o.batch_size=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[qe,o.batch_size,void 0,{number:!0}]])]),d("div",l8,[c8,Te(d("input",{type:"number",id:"lr","onUpdate:modelValue":e[5]||(e[5]=i=>o.lr=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[qe,o.lr,void 0,{number:!0}]])]),d("div",u8,[d8,Te(d("input",{type:"number",id:"num_epochs","onUpdate:modelValue":e[6]||(e[6]=i=>o.num_epochs=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[qe,o.num_epochs,void 0,{number:!0}]])]),d("div",h8,[f8,Te(d("input",{type:"text",id:"output_dir","onUpdate:modelValue":e[7]||(e[7]=i=>o.selectedFolder=i),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded",placeholder:"Enter or select the output folder"},null,512),[[qe,o.selectedFolder]]),d("input",{type:"file",id:"folder_selector",ref:"folder_selector",style:{display:"none"},webkitdirectory:"",onChange:e[8]||(e[8]=(...i)=>r.selectOutputDirectory&&r.selectOutputDirectory(...i))},null,544),d("button",{type:"button",onClick:e[9]||(e[9]=(...i)=>r.openFolderSelector&&r.openFolderSelector(...i)),class:"bg-blue-500 text-white px-4 py-2 rounded"},"Select Folder")]),p8],32)])}const m8=Ge(Z3,[["render",g8]]),_8={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,fe(()=>{xe.replace()})},watch:{showConfirmation(){fe(()=>{xe.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&fe(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},y8=["id"],b8={class:"flex flex-row items-center gap-2"},v8={key:0},x8=["title"],w8=["value"],k8={class:"flex items-center flex-1 max-h-6"},C8={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},E8=d("i",{"data-feather":"check"},null,-1),A8=[E8],S8=d("i",{"data-feather":"x"},null,-1),T8=[S8],D8={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},M8=d("i",{"data-feather":"x"},null,-1),O8=[M8],L8=d("i",{"data-feather":"check"},null,-1),j8=[L8],R8={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},P8=d("i",{"data-feather":"edit-2"},null,-1),I8=[P8],F8=d("i",{"data-feather":"trash"},null,-1),$8=[F8];function q8(t,e,n,s,o,r){return D(),L("div",{class:Ae([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","flex flex-row sm:flex-row item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ce(i=>r.selectEvent(),["stop"]))},[d("div",b8,[n.isCheckbox?(D(),L("div",v8,[Te(d("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ce(()=>{},["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),[[hn,o.checkBoxValue_local]])])):K("",!0),n.selected?(D(),L("div",{key:1,class:Ae(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):K("",!0),n.selected?K("",!0):(D(),L("div",{key:2,class:Ae(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?K("",!0):(D(),L("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},ne(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,x8)),o.editTitle?(D(),L("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=Ji(ce(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Ji(ce(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ce(()=>{},["stop"]))},null,40,w8)):K("",!0),d("div",k8,[o.showConfirmation&&!o.editTitleMode?(D(),L("div",C8,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ce(i=>r.deleteEvent(),["stop"]))},A8),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ce(i=>o.showConfirmation=!1,["stop"]))},T8)])):K("",!0),o.showConfirmation&&o.editTitleMode?(D(),L("div",D8,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=ce(i=>o.editTitleMode=!1,["stop"]))},O8),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ce(i=>r.editTitleEvent(),["stop"]))},j8)])):K("",!0),o.showConfirmation?K("",!0):(D(),L("div",R8,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ce(i=>o.editTitleMode=!0,["stop"]))},I8),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ce(i=>o.showConfirmation=!0,["stop"]))},$8)]))])],10,y8)}const mf=Ge(_8,[["render",q8]]);var Fe={};const z8="Á",B8="á",N8="Ă",U8="ă",H8="∾",V8="∿",G8="∾̳",K8="Â",W8="â",Z8="´",J8="А",Y8="а",Q8="Æ",X8="æ",eC="",tC="𝔄",nC="𝔞",sC="À",oC="à",rC="ℵ",iC="ℵ",aC="Α",lC="α",cC="Ā",uC="ā",dC="⨿",hC="&",fC="&",pC="⩕",gC="⩓",mC="∧",_C="⩜",yC="⩘",bC="⩚",vC="∠",xC="⦤",wC="∠",kC="⦨",CC="⦩",EC="⦪",AC="⦫",SC="⦬",TC="⦭",DC="⦮",MC="⦯",OC="∡",LC="∟",jC="⊾",RC="⦝",PC="∢",IC="Å",FC="⍼",$C="Ą",qC="ą",zC="𝔸",BC="𝕒",NC="⩯",UC="≈",HC="⩰",VC="≊",GC="≋",KC="'",WC="",ZC="≈",JC="≊",YC="Å",QC="å",XC="𝒜",eE="𝒶",tE="≔",nE="*",sE="≈",oE="≍",rE="Ã",iE="ã",aE="Ä",lE="ä",cE="∳",uE="⨑",dE="≌",hE="϶",fE="‵",pE="∽",gE="⋍",mE="∖",_E="⫧",yE="⊽",bE="⌅",vE="⌆",xE="⌅",wE="⎵",kE="⎶",CE="≌",EE="Б",AE="б",SE="„",TE="∵",DE="∵",ME="∵",OE="⦰",LE="϶",jE="ℬ",RE="ℬ",PE="Β",IE="β",FE="ℶ",$E="≬",qE="𝔅",zE="𝔟",BE="⋂",NE="◯",UE="⋃",HE="⨀",VE="⨁",GE="⨂",KE="⨆",WE="★",ZE="▽",JE="△",YE="⨄",QE="⋁",XE="⋀",e6="⤍",t6="⧫",n6="▪",s6="▴",o6="▾",r6="◂",i6="▸",a6="␣",l6="▒",c6="░",u6="▓",d6="█",h6="=⃥",f6="≡⃥",p6="⫭",g6="⌐",m6="𝔹",_6="𝕓",y6="⊥",b6="⊥",v6="⋈",x6="⧉",w6="┐",k6="╕",C6="╖",E6="╗",A6="┌",S6="╒",T6="╓",D6="╔",M6="─",O6="═",L6="┬",j6="╤",R6="╥",P6="╦",I6="┴",F6="╧",$6="╨",q6="╩",z6="⊟",B6="⊞",N6="⊠",U6="┘",H6="╛",V6="╜",G6="╝",K6="└",W6="╘",Z6="╙",J6="╚",Y6="│",Q6="║",X6="┼",e9="╪",t9="╫",n9="╬",s9="┤",o9="╡",r9="╢",i9="╣",a9="├",l9="╞",c9="╟",u9="╠",d9="‵",h9="˘",f9="˘",p9="¦",g9="𝒷",m9="ℬ",_9="⁏",y9="∽",b9="⋍",v9="⧅",x9="\\",w9="⟈",k9="•",C9="•",E9="≎",A9="⪮",S9="≏",T9="≎",D9="≏",M9="Ć",O9="ć",L9="⩄",j9="⩉",R9="⩋",P9="∩",I9="⋒",F9="⩇",$9="⩀",q9="ⅅ",z9="∩︀",B9="⁁",N9="ˇ",U9="ℭ",H9="⩍",V9="Č",G9="č",K9="Ç",W9="ç",Z9="Ĉ",J9="ĉ",Y9="∰",Q9="⩌",X9="⩐",eA="Ċ",tA="ċ",nA="¸",sA="¸",oA="⦲",rA="¢",iA="·",aA="·",lA="𝔠",cA="ℭ",uA="Ч",dA="ч",hA="✓",fA="✓",pA="Χ",gA="χ",mA="ˆ",_A="≗",yA="↺",bA="↻",vA="⊛",xA="⊚",wA="⊝",kA="⊙",CA="®",EA="Ⓢ",AA="⊖",SA="⊕",TA="⊗",DA="○",MA="⧃",OA="≗",LA="⨐",jA="⫯",RA="⧂",PA="∲",IA="”",FA="’",$A="♣",qA="♣",zA=":",BA="∷",NA="⩴",UA="≔",HA="≔",VA=",",GA="@",KA="∁",WA="∘",ZA="∁",JA="ℂ",YA="≅",QA="⩭",XA="≡",e7="∮",t7="∯",n7="∮",s7="𝕔",o7="ℂ",r7="∐",i7="∐",a7="©",l7="©",c7="℗",u7="∳",d7="↵",h7="✗",f7="⨯",p7="𝒞",g7="𝒸",m7="⫏",_7="⫑",y7="⫐",b7="⫒",v7="⋯",x7="⤸",w7="⤵",k7="⋞",C7="⋟",E7="↶",A7="⤽",S7="⩈",T7="⩆",D7="≍",M7="∪",O7="⋓",L7="⩊",j7="⊍",R7="⩅",P7="∪︀",I7="↷",F7="⤼",$7="⋞",q7="⋟",z7="⋎",B7="⋏",N7="¤",U7="↶",H7="↷",V7="⋎",G7="⋏",K7="∲",W7="∱",Z7="⌭",J7="†",Y7="‡",Q7="ℸ",X7="↓",eS="↡",tS="⇓",nS="‐",sS="⫤",oS="⊣",rS="⤏",iS="˝",aS="Ď",lS="ď",cS="Д",uS="д",dS="‡",hS="⇊",fS="ⅅ",pS="ⅆ",gS="⤑",mS="⩷",_S="°",yS="∇",bS="Δ",vS="δ",xS="⦱",wS="⥿",kS="𝔇",CS="𝔡",ES="⥥",AS="⇃",SS="⇂",TS="´",DS="˙",MS="˝",OS="`",LS="˜",jS="⋄",RS="⋄",PS="⋄",IS="♦",FS="♦",$S="¨",qS="ⅆ",zS="ϝ",BS="⋲",NS="÷",US="÷",HS="⋇",VS="⋇",GS="Ђ",KS="ђ",WS="⌞",ZS="⌍",JS="$",YS="𝔻",QS="𝕕",XS="¨",eT="˙",tT="⃜",nT="≐",sT="≑",oT="≐",rT="∸",iT="∔",aT="⊡",lT="⌆",cT="∯",uT="¨",dT="⇓",hT="⇐",fT="⇔",pT="⫤",gT="⟸",mT="⟺",_T="⟹",yT="⇒",bT="⊨",vT="⇑",xT="⇕",wT="∥",kT="⤓",CT="↓",ET="↓",AT="⇓",ST="⇵",TT="̑",DT="⇊",MT="⇃",OT="⇂",LT="⥐",jT="⥞",RT="⥖",PT="↽",IT="⥟",FT="⥗",$T="⇁",qT="↧",zT="⊤",BT="⤐",NT="⌟",UT="⌌",HT="𝒟",VT="𝒹",GT="Ѕ",KT="ѕ",WT="⧶",ZT="Đ",JT="đ",YT="⋱",QT="▿",XT="▾",eD="⇵",tD="⥯",nD="⦦",sD="Џ",oD="џ",rD="⟿",iD="É",aD="é",lD="⩮",cD="Ě",uD="ě",dD="Ê",hD="ê",fD="≖",pD="≕",gD="Э",mD="э",_D="⩷",yD="Ė",bD="ė",vD="≑",xD="ⅇ",wD="≒",kD="𝔈",CD="𝔢",ED="⪚",AD="È",SD="è",TD="⪖",DD="⪘",MD="⪙",OD="∈",LD="⏧",jD="ℓ",RD="⪕",PD="⪗",ID="Ē",FD="ē",$D="∅",qD="∅",zD="◻",BD="∅",ND="▫",UD=" ",HD=" ",VD=" ",GD="Ŋ",KD="ŋ",WD=" ",ZD="Ę",JD="ę",YD="𝔼",QD="𝕖",XD="⋕",eM="⧣",tM="⩱",nM="ε",sM="Ε",oM="ε",rM="ϵ",iM="≖",aM="≕",lM="≂",cM="⪖",uM="⪕",dM="⩵",hM="=",fM="≂",pM="≟",gM="⇌",mM="≡",_M="⩸",yM="⧥",bM="⥱",vM="≓",xM="ℯ",wM="ℰ",kM="≐",CM="⩳",EM="≂",AM="Η",SM="η",TM="Ð",DM="ð",MM="Ë",OM="ë",LM="€",jM="!",RM="∃",PM="∃",IM="ℰ",FM="ⅇ",$M="ⅇ",qM="≒",zM="Ф",BM="ф",NM="♀",UM="ffi",HM="ff",VM="ffl",GM="𝔉",KM="𝔣",WM="fi",ZM="◼",JM="▪",YM="fj",QM="♭",XM="fl",eO="▱",tO="ƒ",nO="𝔽",sO="𝕗",oO="∀",rO="∀",iO="⋔",aO="⫙",lO="ℱ",cO="⨍",uO="½",dO="⅓",hO="¼",fO="⅕",pO="⅙",gO="⅛",mO="⅔",_O="⅖",yO="¾",bO="⅗",vO="⅜",xO="⅘",wO="⅚",kO="⅝",CO="⅞",EO="⁄",AO="⌢",SO="𝒻",TO="ℱ",DO="ǵ",MO="Γ",OO="γ",LO="Ϝ",jO="ϝ",RO="⪆",PO="Ğ",IO="ğ",FO="Ģ",$O="Ĝ",qO="ĝ",zO="Г",BO="г",NO="Ġ",UO="ġ",HO="≥",VO="≧",GO="⪌",KO="⋛",WO="≥",ZO="≧",JO="⩾",YO="⪩",QO="⩾",XO="⪀",eL="⪂",tL="⪄",nL="⋛︀",sL="⪔",oL="𝔊",rL="𝔤",iL="≫",aL="⋙",lL="⋙",cL="ℷ",uL="Ѓ",dL="ѓ",hL="⪥",fL="≷",pL="⪒",gL="⪤",mL="⪊",_L="⪊",yL="⪈",bL="≩",vL="⪈",xL="≩",wL="⋧",kL="𝔾",CL="𝕘",EL="`",AL="≥",SL="⋛",TL="≧",DL="⪢",ML="≷",OL="⩾",LL="≳",jL="𝒢",RL="ℊ",PL="≳",IL="⪎",FL="⪐",$L="⪧",qL="⩺",zL=">",BL=">",NL="≫",UL="⋗",HL="⦕",VL="⩼",GL="⪆",KL="⥸",WL="⋗",ZL="⋛",JL="⪌",YL="≷",QL="≳",XL="≩︀",ej="≩︀",tj="ˇ",nj=" ",sj="½",oj="ℋ",rj="Ъ",ij="ъ",aj="⥈",lj="↔",cj="⇔",uj="↭",dj="^",hj="ℏ",fj="Ĥ",pj="ĥ",gj="♥",mj="♥",_j="…",yj="⊹",bj="𝔥",vj="ℌ",xj="ℋ",wj="⤥",kj="⤦",Cj="⇿",Ej="∻",Aj="↩",Sj="↪",Tj="𝕙",Dj="ℍ",Mj="―",Oj="─",Lj="𝒽",jj="ℋ",Rj="ℏ",Pj="Ħ",Ij="ħ",Fj="≎",$j="≏",qj="⁃",zj="‐",Bj="Í",Nj="í",Uj="",Hj="Î",Vj="î",Gj="И",Kj="и",Wj="İ",Zj="Е",Jj="е",Yj="¡",Qj="⇔",Xj="𝔦",eR="ℑ",tR="Ì",nR="ì",sR="ⅈ",oR="⨌",rR="∭",iR="⧜",aR="℩",lR="IJ",cR="ij",uR="Ī",dR="ī",hR="ℑ",fR="ⅈ",pR="ℐ",gR="ℑ",mR="ı",_R="ℑ",yR="⊷",bR="Ƶ",vR="⇒",xR="℅",wR="∞",kR="⧝",CR="ı",ER="⊺",AR="∫",SR="∬",TR="ℤ",DR="∫",MR="⊺",OR="⋂",LR="⨗",jR="⨼",RR="",PR="",IR="Ё",FR="ё",$R="Į",qR="į",zR="𝕀",BR="𝕚",NR="Ι",UR="ι",HR="⨼",VR="¿",GR="𝒾",KR="ℐ",WR="∈",ZR="⋵",JR="⋹",YR="⋴",QR="⋳",XR="∈",eP="",tP="Ĩ",nP="ĩ",sP="І",oP="і",rP="Ï",iP="ï",aP="Ĵ",lP="ĵ",cP="Й",uP="й",dP="𝔍",hP="𝔧",fP="ȷ",pP="𝕁",gP="𝕛",mP="𝒥",_P="𝒿",yP="Ј",bP="ј",vP="Є",xP="є",wP="Κ",kP="κ",CP="ϰ",EP="Ķ",AP="ķ",SP="К",TP="к",DP="𝔎",MP="𝔨",OP="ĸ",LP="Х",jP="х",RP="Ќ",PP="ќ",IP="𝕂",FP="𝕜",$P="𝒦",qP="𝓀",zP="⇚",BP="Ĺ",NP="ĺ",UP="⦴",HP="ℒ",VP="Λ",GP="λ",KP="⟨",WP="⟪",ZP="⦑",JP="⟨",YP="⪅",QP="ℒ",XP="«",eI="⇤",tI="⤟",nI="←",sI="↞",oI="⇐",rI="⤝",iI="↩",aI="↫",lI="⤹",cI="⥳",uI="↢",dI="⤙",hI="⤛",fI="⪫",pI="⪭",gI="⪭︀",mI="⤌",_I="⤎",yI="❲",bI="{",vI="[",xI="⦋",wI="⦏",kI="⦍",CI="Ľ",EI="ľ",AI="Ļ",SI="ļ",TI="⌈",DI="{",MI="Л",OI="л",LI="⤶",jI="“",RI="„",PI="⥧",II="⥋",FI="↲",$I="≤",qI="≦",zI="⟨",BI="⇤",NI="←",UI="←",HI="⇐",VI="⇆",GI="↢",KI="⌈",WI="⟦",ZI="⥡",JI="⥙",YI="⇃",QI="⌊",XI="↽",eF="↼",tF="⇇",nF="↔",sF="↔",oF="⇔",rF="⇆",iF="⇋",aF="↭",lF="⥎",cF="↤",uF="⊣",dF="⥚",hF="⋋",fF="⧏",pF="⊲",gF="⊴",mF="⥑",_F="⥠",yF="⥘",bF="↿",vF="⥒",xF="↼",wF="⪋",kF="⋚",CF="≤",EF="≦",AF="⩽",SF="⪨",TF="⩽",DF="⩿",MF="⪁",OF="⪃",LF="⋚︀",jF="⪓",RF="⪅",PF="⋖",IF="⋚",FF="⪋",$F="⋚",qF="≦",zF="≶",BF="≶",NF="⪡",UF="≲",HF="⩽",VF="≲",GF="⥼",KF="⌊",WF="𝔏",ZF="𝔩",JF="≶",YF="⪑",QF="⥢",XF="↽",e$="↼",t$="⥪",n$="▄",s$="Љ",o$="љ",r$="⇇",i$="≪",a$="⋘",l$="⌞",c$="⇚",u$="⥫",d$="◺",h$="Ŀ",f$="ŀ",p$="⎰",g$="⎰",m$="⪉",_$="⪉",y$="⪇",b$="≨",v$="⪇",x$="≨",w$="⋦",k$="⟬",C$="⇽",E$="⟦",A$="⟵",S$="⟵",T$="⟸",D$="⟷",M$="⟷",O$="⟺",L$="⟼",j$="⟶",R$="⟶",P$="⟹",I$="↫",F$="↬",$$="⦅",q$="𝕃",z$="𝕝",B$="⨭",N$="⨴",U$="∗",H$="_",V$="↙",G$="↘",K$="◊",W$="◊",Z$="⧫",J$="(",Y$="⦓",Q$="⇆",X$="⌟",eq="⇋",tq="⥭",nq="",sq="⊿",oq="‹",rq="𝓁",iq="ℒ",aq="↰",lq="↰",cq="≲",uq="⪍",dq="⪏",hq="[",fq="‘",pq="‚",gq="Ł",mq="ł",_q="⪦",yq="⩹",bq="<",vq="<",xq="≪",wq="⋖",kq="⋋",Cq="⋉",Eq="⥶",Aq="⩻",Sq="◃",Tq="⊴",Dq="◂",Mq="⦖",Oq="⥊",Lq="⥦",jq="≨︀",Rq="≨︀",Pq="¯",Iq="♂",Fq="✠",$q="✠",qq="↦",zq="↦",Bq="↧",Nq="↤",Uq="↥",Hq="▮",Vq="⨩",Gq="М",Kq="м",Wq="—",Zq="∺",Jq="∡",Yq=" ",Qq="ℳ",Xq="𝔐",ez="𝔪",tz="℧",nz="µ",sz="*",oz="⫰",rz="∣",iz="·",az="⊟",lz="−",cz="∸",uz="⨪",dz="∓",hz="⫛",fz="…",pz="∓",gz="⊧",mz="𝕄",_z="𝕞",yz="∓",bz="𝓂",vz="ℳ",xz="∾",wz="Μ",kz="μ",Cz="⊸",Ez="⊸",Az="∇",Sz="Ń",Tz="ń",Dz="∠⃒",Mz="≉",Oz="⩰̸",Lz="≋̸",jz="ʼn",Rz="≉",Pz="♮",Iz="ℕ",Fz="♮",$z=" ",qz="≎̸",zz="≏̸",Bz="⩃",Nz="Ň",Uz="ň",Hz="Ņ",Vz="ņ",Gz="≇",Kz="⩭̸",Wz="⩂",Zz="Н",Jz="н",Yz="–",Qz="⤤",Xz="↗",eB="⇗",tB="↗",nB="≠",sB="≐̸",oB="",rB="",iB="",aB="",lB="≢",cB="⤨",uB="≂̸",dB="≫",hB="≪",fB=`
|
||
`,pB="∄",gB="∄",mB="𝔑",_B="𝔫",yB="≧̸",bB="≱",vB="≱",xB="≧̸",wB="⩾̸",kB="⩾̸",CB="⋙̸",EB="≵",AB="≫⃒",SB="≯",TB="≯",DB="≫̸",MB="↮",OB="⇎",LB="⫲",jB="∋",RB="⋼",PB="⋺",IB="∋",FB="Њ",$B="њ",qB="↚",zB="⇍",BB="‥",NB="≦̸",UB="≰",HB="↚",VB="⇍",GB="↮",KB="⇎",WB="≰",ZB="≦̸",JB="⩽̸",YB="⩽̸",QB="≮",XB="⋘̸",eN="≴",tN="≪⃒",nN="≮",sN="⋪",oN="⋬",rN="≪̸",iN="∤",aN="",lN=" ",cN="𝕟",uN="ℕ",dN="⫬",hN="¬",fN="≢",pN="≭",gN="∦",mN="∉",_N="≠",yN="≂̸",bN="∄",vN="≯",xN="≱",wN="≧̸",kN="≫̸",CN="≹",EN="⩾̸",AN="≵",SN="≎̸",TN="≏̸",DN="∉",MN="⋵̸",ON="⋹̸",LN="∉",jN="⋷",RN="⋶",PN="⧏̸",IN="⋪",FN="⋬",$N="≮",qN="≰",zN="≸",BN="≪̸",NN="⩽̸",UN="≴",HN="⪢̸",VN="⪡̸",GN="∌",KN="∌",WN="⋾",ZN="⋽",JN="⊀",YN="⪯̸",QN="⋠",XN="∌",eU="⧐̸",tU="⋫",nU="⋭",sU="⊏̸",oU="⋢",rU="⊐̸",iU="⋣",aU="⊂⃒",lU="⊈",cU="⊁",uU="⪰̸",dU="⋡",hU="≿̸",fU="⊃⃒",pU="⊉",gU="≁",mU="≄",_U="≇",yU="≉",bU="∤",vU="∦",xU="∦",wU="⫽⃥",kU="∂̸",CU="⨔",EU="⊀",AU="⋠",SU="⊀",TU="⪯̸",DU="⪯̸",MU="⤳̸",OU="↛",LU="⇏",jU="↝̸",RU="↛",PU="⇏",IU="⋫",FU="⋭",$U="⊁",qU="⋡",zU="⪰̸",BU="𝒩",NU="𝓃",UU="∤",HU="∦",VU="≁",GU="≄",KU="≄",WU="∤",ZU="∦",JU="⋢",YU="⋣",QU="⊄",XU="⫅̸",eH="⊈",tH="⊂⃒",nH="⊈",sH="⫅̸",oH="⊁",rH="⪰̸",iH="⊅",aH="⫆̸",lH="⊉",cH="⊃⃒",uH="⊉",dH="⫆̸",hH="≹",fH="Ñ",pH="ñ",gH="≸",mH="⋪",_H="⋬",yH="⋫",bH="⋭",vH="Ν",xH="ν",wH="#",kH="№",CH=" ",EH="≍⃒",AH="⊬",SH="⊭",TH="⊮",DH="⊯",MH="≥⃒",OH=">⃒",LH="⤄",jH="⧞",RH="⤂",PH="≤⃒",IH="<⃒",FH="⊴⃒",$H="⤃",qH="⊵⃒",zH="∼⃒",BH="⤣",NH="↖",UH="⇖",HH="↖",VH="⤧",GH="Ó",KH="ó",WH="⊛",ZH="Ô",JH="ô",YH="⊚",QH="О",XH="о",eV="⊝",tV="Ő",nV="ő",sV="⨸",oV="⊙",rV="⦼",iV="Œ",aV="œ",lV="⦿",cV="𝔒",uV="𝔬",dV="˛",hV="Ò",fV="ò",pV="⧁",gV="⦵",mV="Ω",_V="∮",yV="↺",bV="⦾",vV="⦻",xV="‾",wV="⧀",kV="Ō",CV="ō",EV="Ω",AV="ω",SV="Ο",TV="ο",DV="⦶",MV="⊖",OV="𝕆",LV="𝕠",jV="⦷",RV="“",PV="‘",IV="⦹",FV="⊕",$V="↻",qV="⩔",zV="∨",BV="⩝",NV="ℴ",UV="ℴ",HV="ª",VV="º",GV="⊶",KV="⩖",WV="⩗",ZV="⩛",JV="Ⓢ",YV="𝒪",QV="ℴ",XV="Ø",eG="ø",tG="⊘",nG="Õ",sG="õ",oG="⨶",rG="⨷",iG="⊗",aG="Ö",lG="ö",cG="⌽",uG="‾",dG="⏞",hG="⎴",fG="⏜",pG="¶",gG="∥",mG="∥",_G="⫳",yG="⫽",bG="∂",vG="∂",xG="П",wG="п",kG="%",CG=".",EG="‰",AG="⊥",SG="‱",TG="𝔓",DG="𝔭",MG="Φ",OG="φ",LG="ϕ",jG="ℳ",RG="☎",PG="Π",IG="π",FG="⋔",$G="ϖ",qG="ℏ",zG="ℎ",BG="ℏ",NG="⨣",UG="⊞",HG="⨢",VG="+",GG="∔",KG="⨥",WG="⩲",ZG="±",JG="±",YG="⨦",QG="⨧",XG="±",eK="ℌ",tK="⨕",nK="𝕡",sK="ℙ",oK="£",rK="⪷",iK="⪻",aK="≺",lK="≼",cK="⪷",uK="≺",dK="≼",hK="≺",fK="⪯",pK="≼",gK="≾",mK="⪯",_K="⪹",yK="⪵",bK="⋨",vK="⪯",xK="⪳",wK="≾",kK="′",CK="″",EK="ℙ",AK="⪹",SK="⪵",TK="⋨",DK="∏",MK="∏",OK="⌮",LK="⌒",jK="⌓",RK="∝",PK="∝",IK="∷",FK="∝",$K="≾",qK="⊰",zK="𝒫",BK="𝓅",NK="Ψ",UK="ψ",HK=" ",VK="𝔔",GK="𝔮",KK="⨌",WK="𝕢",ZK="ℚ",JK="⁗",YK="𝒬",QK="𝓆",XK="ℍ",eW="⨖",tW="?",nW="≟",sW='"',oW='"',rW="⇛",iW="∽̱",aW="Ŕ",lW="ŕ",cW="√",uW="⦳",dW="⟩",hW="⟫",fW="⦒",pW="⦥",gW="⟩",mW="»",_W="⥵",yW="⇥",bW="⤠",vW="⤳",xW="→",wW="↠",kW="⇒",CW="⤞",EW="↪",AW="↬",SW="⥅",TW="⥴",DW="⤖",MW="↣",OW="↝",LW="⤚",jW="⤜",RW="∶",PW="ℚ",IW="⤍",FW="⤏",$W="⤐",qW="❳",zW="}",BW="]",NW="⦌",UW="⦎",HW="⦐",VW="Ř",GW="ř",KW="Ŗ",WW="ŗ",ZW="⌉",JW="}",YW="Р",QW="р",XW="⤷",eZ="⥩",tZ="”",nZ="”",sZ="↳",oZ="ℜ",rZ="ℛ",iZ="ℜ",aZ="ℝ",lZ="ℜ",cZ="▭",uZ="®",dZ="®",hZ="∋",fZ="⇋",pZ="⥯",gZ="⥽",mZ="⌋",_Z="𝔯",yZ="ℜ",bZ="⥤",vZ="⇁",xZ="⇀",wZ="⥬",kZ="Ρ",CZ="ρ",EZ="ϱ",AZ="⟩",SZ="⇥",TZ="→",DZ="→",MZ="⇒",OZ="⇄",LZ="↣",jZ="⌉",RZ="⟧",PZ="⥝",IZ="⥕",FZ="⇂",$Z="⌋",qZ="⇁",zZ="⇀",BZ="⇄",NZ="⇌",UZ="⇉",HZ="↝",VZ="↦",GZ="⊢",KZ="⥛",WZ="⋌",ZZ="⧐",JZ="⊳",YZ="⊵",QZ="⥏",XZ="⥜",eJ="⥔",tJ="↾",nJ="⥓",sJ="⇀",oJ="˚",rJ="≓",iJ="⇄",aJ="⇌",lJ="",cJ="⎱",uJ="⎱",dJ="⫮",hJ="⟭",fJ="⇾",pJ="⟧",gJ="⦆",mJ="𝕣",_J="ℝ",yJ="⨮",bJ="⨵",vJ="⥰",xJ=")",wJ="⦔",kJ="⨒",CJ="⇉",EJ="⇛",AJ="›",SJ="𝓇",TJ="ℛ",DJ="↱",MJ="↱",OJ="]",LJ="’",jJ="’",RJ="⋌",PJ="⋊",IJ="▹",FJ="⊵",$J="▸",qJ="⧎",zJ="⧴",BJ="⥨",NJ="℞",UJ="Ś",HJ="ś",VJ="‚",GJ="⪸",KJ="Š",WJ="š",ZJ="⪼",JJ="≻",YJ="≽",QJ="⪰",XJ="⪴",eY="Ş",tY="ş",nY="Ŝ",sY="ŝ",oY="⪺",rY="⪶",iY="⋩",aY="⨓",lY="≿",cY="С",uY="с",dY="⊡",hY="⋅",fY="⩦",pY="⤥",gY="↘",mY="⇘",_Y="↘",yY="§",bY=";",vY="⤩",xY="∖",wY="∖",kY="✶",CY="𝔖",EY="𝔰",AY="⌢",SY="♯",TY="Щ",DY="щ",MY="Ш",OY="ш",LY="↓",jY="←",RY="∣",PY="∥",IY="→",FY="↑",$Y="",qY="Σ",zY="σ",BY="ς",NY="ς",UY="∼",HY="⩪",VY="≃",GY="≃",KY="⪞",WY="⪠",ZY="⪝",JY="⪟",YY="≆",QY="⨤",XY="⥲",eQ="←",tQ="∘",nQ="∖",sQ="⨳",oQ="⧤",rQ="∣",iQ="⌣",aQ="⪪",lQ="⪬",cQ="⪬︀",uQ="Ь",dQ="ь",hQ="⌿",fQ="⧄",pQ="/",gQ="𝕊",mQ="𝕤",_Q="♠",yQ="♠",bQ="∥",vQ="⊓",xQ="⊓︀",wQ="⊔",kQ="⊔︀",CQ="√",EQ="⊏",AQ="⊑",SQ="⊏",TQ="⊑",DQ="⊐",MQ="⊒",OQ="⊐",LQ="⊒",jQ="□",RQ="□",PQ="⊓",IQ="⊏",FQ="⊑",$Q="⊐",qQ="⊒",zQ="⊔",BQ="▪",NQ="□",UQ="▪",HQ="→",VQ="𝒮",GQ="𝓈",KQ="∖",WQ="⌣",ZQ="⋆",JQ="⋆",YQ="☆",QQ="★",XQ="ϵ",eX="ϕ",tX="¯",nX="⊂",sX="⋐",oX="⪽",rX="⫅",iX="⊆",aX="⫃",lX="⫁",cX="⫋",uX="⊊",dX="⪿",hX="⥹",fX="⊂",pX="⋐",gX="⊆",mX="⫅",_X="⊆",yX="⊊",bX="⫋",vX="⫇",xX="⫕",wX="⫓",kX="⪸",CX="≻",EX="≽",AX="≻",SX="⪰",TX="≽",DX="≿",MX="⪰",OX="⪺",LX="⪶",jX="⋩",RX="≿",PX="∋",IX="∑",FX="∑",$X="♪",qX="¹",zX="²",BX="³",NX="⊃",UX="⋑",HX="⪾",VX="⫘",GX="⫆",KX="⊇",WX="⫄",ZX="⊃",JX="⊇",YX="⟉",QX="⫗",XX="⥻",eee="⫂",tee="⫌",nee="⊋",see="⫀",oee="⊃",ree="⋑",iee="⊇",aee="⫆",lee="⊋",cee="⫌",uee="⫈",dee="⫔",hee="⫖",fee="⤦",pee="↙",gee="⇙",mee="↙",_ee="⤪",yee="ß",bee=" ",vee="⌖",xee="Τ",wee="τ",kee="⎴",Cee="Ť",Eee="ť",Aee="Ţ",See="ţ",Tee="Т",Dee="т",Mee="⃛",Oee="⌕",Lee="𝔗",jee="𝔱",Ree="∴",Pee="∴",Iee="∴",Fee="Θ",$ee="θ",qee="ϑ",zee="ϑ",Bee="≈",Nee="∼",Uee=" ",Hee=" ",Vee=" ",Gee="≈",Kee="∼",Wee="Þ",Zee="þ",Jee="˜",Yee="∼",Qee="≃",Xee="≅",ete="≈",tte="⨱",nte="⊠",ste="×",ote="⨰",rte="∭",ite="⤨",ate="⌶",lte="⫱",cte="⊤",ute="𝕋",dte="𝕥",hte="⫚",fte="⤩",pte="‴",gte="™",mte="™",_te="▵",yte="▿",bte="◃",vte="⊴",xte="≜",wte="▹",kte="⊵",Cte="◬",Ete="≜",Ate="⨺",Ste="⃛",Tte="⨹",Dte="⧍",Mte="⨻",Ote="⏢",Lte="𝒯",jte="𝓉",Rte="Ц",Pte="ц",Ite="Ћ",Fte="ћ",$te="Ŧ",qte="ŧ",zte="≬",Bte="↞",Nte="↠",Ute="Ú",Hte="ú",Vte="↑",Gte="↟",Kte="⇑",Wte="⥉",Zte="Ў",Jte="ў",Yte="Ŭ",Qte="ŭ",Xte="Û",ene="û",tne="У",nne="у",sne="⇅",one="Ű",rne="ű",ine="⥮",ane="⥾",lne="𝔘",cne="𝔲",une="Ù",dne="ù",hne="⥣",fne="↿",pne="↾",gne="▀",mne="⌜",_ne="⌜",yne="⌏",bne="◸",vne="Ū",xne="ū",wne="¨",kne="_",Cne="⏟",Ene="⎵",Ane="⏝",Sne="⋃",Tne="⊎",Dne="Ų",Mne="ų",One="𝕌",Lne="𝕦",jne="⤒",Rne="↑",Pne="↑",Ine="⇑",Fne="⇅",$ne="↕",qne="↕",zne="⇕",Bne="⥮",Nne="↿",Une="↾",Hne="⊎",Vne="↖",Gne="↗",Kne="υ",Wne="ϒ",Zne="ϒ",Jne="Υ",Yne="υ",Qne="↥",Xne="⊥",ese="⇈",tse="⌝",nse="⌝",sse="⌎",ose="Ů",rse="ů",ise="◹",ase="𝒰",lse="𝓊",cse="⋰",use="Ũ",dse="ũ",hse="▵",fse="▴",pse="⇈",gse="Ü",mse="ü",_se="⦧",yse="⦜",bse="ϵ",vse="ϰ",xse="∅",wse="ϕ",kse="ϖ",Cse="∝",Ese="↕",Ase="⇕",Sse="ϱ",Tse="ς",Dse="⊊︀",Mse="⫋︀",Ose="⊋︀",Lse="⫌︀",jse="ϑ",Rse="⊲",Pse="⊳",Ise="⫨",Fse="⫫",$se="⫩",qse="В",zse="в",Bse="⊢",Nse="⊨",Use="⊩",Hse="⊫",Vse="⫦",Gse="⊻",Kse="∨",Wse="⋁",Zse="≚",Jse="⋮",Yse="|",Qse="‖",Xse="|",eoe="‖",toe="∣",noe="|",soe="❘",ooe="≀",roe=" ",ioe="𝔙",aoe="𝔳",loe="⊲",coe="⊂⃒",uoe="⊃⃒",doe="𝕍",hoe="𝕧",foe="∝",poe="⊳",goe="𝒱",moe="𝓋",_oe="⫋︀",yoe="⊊︀",boe="⫌︀",voe="⊋︀",xoe="⊪",woe="⦚",koe="Ŵ",Coe="ŵ",Eoe="⩟",Aoe="∧",Soe="⋀",Toe="≙",Doe="℘",Moe="𝔚",Ooe="𝔴",Loe="𝕎",joe="𝕨",Roe="℘",Poe="≀",Ioe="≀",Foe="𝒲",$oe="𝓌",qoe="⋂",zoe="◯",Boe="⋃",Noe="▽",Uoe="𝔛",Hoe="𝔵",Voe="⟷",Goe="⟺",Koe="Ξ",Woe="ξ",Zoe="⟵",Joe="⟸",Yoe="⟼",Qoe="⋻",Xoe="⨀",ere="𝕏",tre="𝕩",nre="⨁",sre="⨂",ore="⟶",rre="⟹",ire="𝒳",are="𝓍",lre="⨆",cre="⨄",ure="△",dre="⋁",hre="⋀",fre="Ý",pre="ý",gre="Я",mre="я",_re="Ŷ",yre="ŷ",bre="Ы",vre="ы",xre="¥",wre="𝔜",kre="𝔶",Cre="Ї",Ere="ї",Are="𝕐",Sre="𝕪",Tre="𝒴",Dre="𝓎",Mre="Ю",Ore="ю",Lre="ÿ",jre="Ÿ",Rre="Ź",Pre="ź",Ire="Ž",Fre="ž",$re="З",qre="з",zre="Ż",Bre="ż",Nre="ℨ",Ure="",Hre="Ζ",Vre="ζ",Gre="𝔷",Kre="ℨ",Wre="Ж",Zre="ж",Jre="⇝",Yre="𝕫",Qre="ℤ",Xre="𝒵",eie="𝓏",tie="",nie="",sie={Aacute:z8,aacute:B8,Abreve:N8,abreve:U8,ac:H8,acd:V8,acE:G8,Acirc:K8,acirc:W8,acute:Z8,Acy:J8,acy:Y8,AElig:Q8,aelig:X8,af:eC,Afr:tC,afr:nC,Agrave:sC,agrave:oC,alefsym:rC,aleph:iC,Alpha:aC,alpha:lC,Amacr:cC,amacr:uC,amalg:dC,amp:hC,AMP:fC,andand:pC,And:gC,and:mC,andd:_C,andslope:yC,andv:bC,ang:vC,ange:xC,angle:wC,angmsdaa:kC,angmsdab:CC,angmsdac:EC,angmsdad:AC,angmsdae:SC,angmsdaf:TC,angmsdag:DC,angmsdah:MC,angmsd:OC,angrt:LC,angrtvb:jC,angrtvbd:RC,angsph:PC,angst:IC,angzarr:FC,Aogon:$C,aogon:qC,Aopf:zC,aopf:BC,apacir:NC,ap:UC,apE:HC,ape:VC,apid:GC,apos:KC,ApplyFunction:WC,approx:ZC,approxeq:JC,Aring:YC,aring:QC,Ascr:XC,ascr:eE,Assign:tE,ast:nE,asymp:sE,asympeq:oE,Atilde:rE,atilde:iE,Auml:aE,auml:lE,awconint:cE,awint:uE,backcong:dE,backepsilon:hE,backprime:fE,backsim:pE,backsimeq:gE,Backslash:mE,Barv:_E,barvee:yE,barwed:bE,Barwed:vE,barwedge:xE,bbrk:wE,bbrktbrk:kE,bcong:CE,Bcy:EE,bcy:AE,bdquo:SE,becaus:TE,because:DE,Because:ME,bemptyv:OE,bepsi:LE,bernou:jE,Bernoullis:RE,Beta:PE,beta:IE,beth:FE,between:$E,Bfr:qE,bfr:zE,bigcap:BE,bigcirc:NE,bigcup:UE,bigodot:HE,bigoplus:VE,bigotimes:GE,bigsqcup:KE,bigstar:WE,bigtriangledown:ZE,bigtriangleup:JE,biguplus:YE,bigvee:QE,bigwedge:XE,bkarow:e6,blacklozenge:t6,blacksquare:n6,blacktriangle:s6,blacktriangledown:o6,blacktriangleleft:r6,blacktriangleright:i6,blank:a6,blk12:l6,blk14:c6,blk34:u6,block:d6,bne:h6,bnequiv:f6,bNot:p6,bnot:g6,Bopf:m6,bopf:_6,bot:y6,bottom:b6,bowtie:v6,boxbox:x6,boxdl:w6,boxdL:k6,boxDl:C6,boxDL:E6,boxdr:A6,boxdR:S6,boxDr:T6,boxDR:D6,boxh:M6,boxH:O6,boxhd:L6,boxHd:j6,boxhD:R6,boxHD:P6,boxhu:I6,boxHu:F6,boxhU:$6,boxHU:q6,boxminus:z6,boxplus:B6,boxtimes:N6,boxul:U6,boxuL:H6,boxUl:V6,boxUL:G6,boxur:K6,boxuR:W6,boxUr:Z6,boxUR:J6,boxv:Y6,boxV:Q6,boxvh:X6,boxvH:e9,boxVh:t9,boxVH:n9,boxvl:s9,boxvL:o9,boxVl:r9,boxVL:i9,boxvr:a9,boxvR:l9,boxVr:c9,boxVR:u9,bprime:d9,breve:h9,Breve:f9,brvbar:p9,bscr:g9,Bscr:m9,bsemi:_9,bsim:y9,bsime:b9,bsolb:v9,bsol:x9,bsolhsub:w9,bull:k9,bullet:C9,bump:E9,bumpE:A9,bumpe:S9,Bumpeq:T9,bumpeq:D9,Cacute:M9,cacute:O9,capand:L9,capbrcup:j9,capcap:R9,cap:P9,Cap:I9,capcup:F9,capdot:$9,CapitalDifferentialD:q9,caps:z9,caret:B9,caron:N9,Cayleys:U9,ccaps:H9,Ccaron:V9,ccaron:G9,Ccedil:K9,ccedil:W9,Ccirc:Z9,ccirc:J9,Cconint:Y9,ccups:Q9,ccupssm:X9,Cdot:eA,cdot:tA,cedil:nA,Cedilla:sA,cemptyv:oA,cent:rA,centerdot:iA,CenterDot:aA,cfr:lA,Cfr:cA,CHcy:uA,chcy:dA,check:hA,checkmark:fA,Chi:pA,chi:gA,circ:mA,circeq:_A,circlearrowleft:yA,circlearrowright:bA,circledast:vA,circledcirc:xA,circleddash:wA,CircleDot:kA,circledR:CA,circledS:EA,CircleMinus:AA,CirclePlus:SA,CircleTimes:TA,cir:DA,cirE:MA,cire:OA,cirfnint:LA,cirmid:jA,cirscir:RA,ClockwiseContourIntegral:PA,CloseCurlyDoubleQuote:IA,CloseCurlyQuote:FA,clubs:$A,clubsuit:qA,colon:zA,Colon:BA,Colone:NA,colone:UA,coloneq:HA,comma:VA,commat:GA,comp:KA,compfn:WA,complement:ZA,complexes:JA,cong:YA,congdot:QA,Congruent:XA,conint:e7,Conint:t7,ContourIntegral:n7,copf:s7,Copf:o7,coprod:r7,Coproduct:i7,copy:a7,COPY:l7,copysr:c7,CounterClockwiseContourIntegral:u7,crarr:d7,cross:h7,Cross:f7,Cscr:p7,cscr:g7,csub:m7,csube:_7,csup:y7,csupe:b7,ctdot:v7,cudarrl:x7,cudarrr:w7,cuepr:k7,cuesc:C7,cularr:E7,cularrp:A7,cupbrcap:S7,cupcap:T7,CupCap:D7,cup:M7,Cup:O7,cupcup:L7,cupdot:j7,cupor:R7,cups:P7,curarr:I7,curarrm:F7,curlyeqprec:$7,curlyeqsucc:q7,curlyvee:z7,curlywedge:B7,curren:N7,curvearrowleft:U7,curvearrowright:H7,cuvee:V7,cuwed:G7,cwconint:K7,cwint:W7,cylcty:Z7,dagger:J7,Dagger:Y7,daleth:Q7,darr:X7,Darr:eS,dArr:tS,dash:nS,Dashv:sS,dashv:oS,dbkarow:rS,dblac:iS,Dcaron:aS,dcaron:lS,Dcy:cS,dcy:uS,ddagger:dS,ddarr:hS,DD:fS,dd:pS,DDotrahd:gS,ddotseq:mS,deg:_S,Del:yS,Delta:bS,delta:vS,demptyv:xS,dfisht:wS,Dfr:kS,dfr:CS,dHar:ES,dharl:AS,dharr:SS,DiacriticalAcute:TS,DiacriticalDot:DS,DiacriticalDoubleAcute:MS,DiacriticalGrave:OS,DiacriticalTilde:LS,diam:jS,diamond:RS,Diamond:PS,diamondsuit:IS,diams:FS,die:$S,DifferentialD:qS,digamma:zS,disin:BS,div:NS,divide:US,divideontimes:HS,divonx:VS,DJcy:GS,djcy:KS,dlcorn:WS,dlcrop:ZS,dollar:JS,Dopf:YS,dopf:QS,Dot:XS,dot:eT,DotDot:tT,doteq:nT,doteqdot:sT,DotEqual:oT,dotminus:rT,dotplus:iT,dotsquare:aT,doublebarwedge:lT,DoubleContourIntegral:cT,DoubleDot:uT,DoubleDownArrow:dT,DoubleLeftArrow:hT,DoubleLeftRightArrow:fT,DoubleLeftTee:pT,DoubleLongLeftArrow:gT,DoubleLongLeftRightArrow:mT,DoubleLongRightArrow:_T,DoubleRightArrow:yT,DoubleRightTee:bT,DoubleUpArrow:vT,DoubleUpDownArrow:xT,DoubleVerticalBar:wT,DownArrowBar:kT,downarrow:CT,DownArrow:ET,Downarrow:AT,DownArrowUpArrow:ST,DownBreve:TT,downdownarrows:DT,downharpoonleft:MT,downharpoonright:OT,DownLeftRightVector:LT,DownLeftTeeVector:jT,DownLeftVectorBar:RT,DownLeftVector:PT,DownRightTeeVector:IT,DownRightVectorBar:FT,DownRightVector:$T,DownTeeArrow:qT,DownTee:zT,drbkarow:BT,drcorn:NT,drcrop:UT,Dscr:HT,dscr:VT,DScy:GT,dscy:KT,dsol:WT,Dstrok:ZT,dstrok:JT,dtdot:YT,dtri:QT,dtrif:XT,duarr:eD,duhar:tD,dwangle:nD,DZcy:sD,dzcy:oD,dzigrarr:rD,Eacute:iD,eacute:aD,easter:lD,Ecaron:cD,ecaron:uD,Ecirc:dD,ecirc:hD,ecir:fD,ecolon:pD,Ecy:gD,ecy:mD,eDDot:_D,Edot:yD,edot:bD,eDot:vD,ee:xD,efDot:wD,Efr:kD,efr:CD,eg:ED,Egrave:AD,egrave:SD,egs:TD,egsdot:DD,el:MD,Element:OD,elinters:LD,ell:jD,els:RD,elsdot:PD,Emacr:ID,emacr:FD,empty:$D,emptyset:qD,EmptySmallSquare:zD,emptyv:BD,EmptyVerySmallSquare:ND,emsp13:UD,emsp14:HD,emsp:VD,ENG:GD,eng:KD,ensp:WD,Eogon:ZD,eogon:JD,Eopf:YD,eopf:QD,epar:XD,eparsl:eM,eplus:tM,epsi:nM,Epsilon:sM,epsilon:oM,epsiv:rM,eqcirc:iM,eqcolon:aM,eqsim:lM,eqslantgtr:cM,eqslantless:uM,Equal:dM,equals:hM,EqualTilde:fM,equest:pM,Equilibrium:gM,equiv:mM,equivDD:_M,eqvparsl:yM,erarr:bM,erDot:vM,escr:xM,Escr:wM,esdot:kM,Esim:CM,esim:EM,Eta:AM,eta:SM,ETH:TM,eth:DM,Euml:MM,euml:OM,euro:LM,excl:jM,exist:RM,Exists:PM,expectation:IM,exponentiale:FM,ExponentialE:$M,fallingdotseq:qM,Fcy:zM,fcy:BM,female:NM,ffilig:UM,fflig:HM,ffllig:VM,Ffr:GM,ffr:KM,filig:WM,FilledSmallSquare:ZM,FilledVerySmallSquare:JM,fjlig:YM,flat:QM,fllig:XM,fltns:eO,fnof:tO,Fopf:nO,fopf:sO,forall:oO,ForAll:rO,fork:iO,forkv:aO,Fouriertrf:lO,fpartint:cO,frac12:uO,frac13:dO,frac14:hO,frac15:fO,frac16:pO,frac18:gO,frac23:mO,frac25:_O,frac34:yO,frac35:bO,frac38:vO,frac45:xO,frac56:wO,frac58:kO,frac78:CO,frasl:EO,frown:AO,fscr:SO,Fscr:TO,gacute:DO,Gamma:MO,gamma:OO,Gammad:LO,gammad:jO,gap:RO,Gbreve:PO,gbreve:IO,Gcedil:FO,Gcirc:$O,gcirc:qO,Gcy:zO,gcy:BO,Gdot:NO,gdot:UO,ge:HO,gE:VO,gEl:GO,gel:KO,geq:WO,geqq:ZO,geqslant:JO,gescc:YO,ges:QO,gesdot:XO,gesdoto:eL,gesdotol:tL,gesl:nL,gesles:sL,Gfr:oL,gfr:rL,gg:iL,Gg:aL,ggg:lL,gimel:cL,GJcy:uL,gjcy:dL,gla:hL,gl:fL,glE:pL,glj:gL,gnap:mL,gnapprox:_L,gne:yL,gnE:bL,gneq:vL,gneqq:xL,gnsim:wL,Gopf:kL,gopf:CL,grave:EL,GreaterEqual:AL,GreaterEqualLess:SL,GreaterFullEqual:TL,GreaterGreater:DL,GreaterLess:ML,GreaterSlantEqual:OL,GreaterTilde:LL,Gscr:jL,gscr:RL,gsim:PL,gsime:IL,gsiml:FL,gtcc:$L,gtcir:qL,gt:zL,GT:BL,Gt:NL,gtdot:UL,gtlPar:HL,gtquest:VL,gtrapprox:GL,gtrarr:KL,gtrdot:WL,gtreqless:ZL,gtreqqless:JL,gtrless:YL,gtrsim:QL,gvertneqq:XL,gvnE:ej,Hacek:tj,hairsp:nj,half:sj,hamilt:oj,HARDcy:rj,hardcy:ij,harrcir:aj,harr:lj,hArr:cj,harrw:uj,Hat:dj,hbar:hj,Hcirc:fj,hcirc:pj,hearts:gj,heartsuit:mj,hellip:_j,hercon:yj,hfr:bj,Hfr:vj,HilbertSpace:xj,hksearow:wj,hkswarow:kj,hoarr:Cj,homtht:Ej,hookleftarrow:Aj,hookrightarrow:Sj,hopf:Tj,Hopf:Dj,horbar:Mj,HorizontalLine:Oj,hscr:Lj,Hscr:jj,hslash:Rj,Hstrok:Pj,hstrok:Ij,HumpDownHump:Fj,HumpEqual:$j,hybull:qj,hyphen:zj,Iacute:Bj,iacute:Nj,ic:Uj,Icirc:Hj,icirc:Vj,Icy:Gj,icy:Kj,Idot:Wj,IEcy:Zj,iecy:Jj,iexcl:Yj,iff:Qj,ifr:Xj,Ifr:eR,Igrave:tR,igrave:nR,ii:sR,iiiint:oR,iiint:rR,iinfin:iR,iiota:aR,IJlig:lR,ijlig:cR,Imacr:uR,imacr:dR,image:hR,ImaginaryI:fR,imagline:pR,imagpart:gR,imath:mR,Im:_R,imof:yR,imped:bR,Implies:vR,incare:xR,in:"∈",infin:wR,infintie:kR,inodot:CR,intcal:ER,int:AR,Int:SR,integers:TR,Integral:DR,intercal:MR,Intersection:OR,intlarhk:LR,intprod:jR,InvisibleComma:RR,InvisibleTimes:PR,IOcy:IR,iocy:FR,Iogon:$R,iogon:qR,Iopf:zR,iopf:BR,Iota:NR,iota:UR,iprod:HR,iquest:VR,iscr:GR,Iscr:KR,isin:WR,isindot:ZR,isinE:JR,isins:YR,isinsv:QR,isinv:XR,it:eP,Itilde:tP,itilde:nP,Iukcy:sP,iukcy:oP,Iuml:rP,iuml:iP,Jcirc:aP,jcirc:lP,Jcy:cP,jcy:uP,Jfr:dP,jfr:hP,jmath:fP,Jopf:pP,jopf:gP,Jscr:mP,jscr:_P,Jsercy:yP,jsercy:bP,Jukcy:vP,jukcy:xP,Kappa:wP,kappa:kP,kappav:CP,Kcedil:EP,kcedil:AP,Kcy:SP,kcy:TP,Kfr:DP,kfr:MP,kgreen:OP,KHcy:LP,khcy:jP,KJcy:RP,kjcy:PP,Kopf:IP,kopf:FP,Kscr:$P,kscr:qP,lAarr:zP,Lacute:BP,lacute:NP,laemptyv:UP,lagran:HP,Lambda:VP,lambda:GP,lang:KP,Lang:WP,langd:ZP,langle:JP,lap:YP,Laplacetrf:QP,laquo:XP,larrb:eI,larrbfs:tI,larr:nI,Larr:sI,lArr:oI,larrfs:rI,larrhk:iI,larrlp:aI,larrpl:lI,larrsim:cI,larrtl:uI,latail:dI,lAtail:hI,lat:fI,late:pI,lates:gI,lbarr:mI,lBarr:_I,lbbrk:yI,lbrace:bI,lbrack:vI,lbrke:xI,lbrksld:wI,lbrkslu:kI,Lcaron:CI,lcaron:EI,Lcedil:AI,lcedil:SI,lceil:TI,lcub:DI,Lcy:MI,lcy:OI,ldca:LI,ldquo:jI,ldquor:RI,ldrdhar:PI,ldrushar:II,ldsh:FI,le:$I,lE:qI,LeftAngleBracket:zI,LeftArrowBar:BI,leftarrow:NI,LeftArrow:UI,Leftarrow:HI,LeftArrowRightArrow:VI,leftarrowtail:GI,LeftCeiling:KI,LeftDoubleBracket:WI,LeftDownTeeVector:ZI,LeftDownVectorBar:JI,LeftDownVector:YI,LeftFloor:QI,leftharpoondown:XI,leftharpoonup:eF,leftleftarrows:tF,leftrightarrow:nF,LeftRightArrow:sF,Leftrightarrow:oF,leftrightarrows:rF,leftrightharpoons:iF,leftrightsquigarrow:aF,LeftRightVector:lF,LeftTeeArrow:cF,LeftTee:uF,LeftTeeVector:dF,leftthreetimes:hF,LeftTriangleBar:fF,LeftTriangle:pF,LeftTriangleEqual:gF,LeftUpDownVector:mF,LeftUpTeeVector:_F,LeftUpVectorBar:yF,LeftUpVector:bF,LeftVectorBar:vF,LeftVector:xF,lEg:wF,leg:kF,leq:CF,leqq:EF,leqslant:AF,lescc:SF,les:TF,lesdot:DF,lesdoto:MF,lesdotor:OF,lesg:LF,lesges:jF,lessapprox:RF,lessdot:PF,lesseqgtr:IF,lesseqqgtr:FF,LessEqualGreater:$F,LessFullEqual:qF,LessGreater:zF,lessgtr:BF,LessLess:NF,lesssim:UF,LessSlantEqual:HF,LessTilde:VF,lfisht:GF,lfloor:KF,Lfr:WF,lfr:ZF,lg:JF,lgE:YF,lHar:QF,lhard:XF,lharu:e$,lharul:t$,lhblk:n$,LJcy:s$,ljcy:o$,llarr:r$,ll:i$,Ll:a$,llcorner:l$,Lleftarrow:c$,llhard:u$,lltri:d$,Lmidot:h$,lmidot:f$,lmoustache:p$,lmoust:g$,lnap:m$,lnapprox:_$,lne:y$,lnE:b$,lneq:v$,lneqq:x$,lnsim:w$,loang:k$,loarr:C$,lobrk:E$,longleftarrow:A$,LongLeftArrow:S$,Longleftarrow:T$,longleftrightarrow:D$,LongLeftRightArrow:M$,Longleftrightarrow:O$,longmapsto:L$,longrightarrow:j$,LongRightArrow:R$,Longrightarrow:P$,looparrowleft:I$,looparrowright:F$,lopar:$$,Lopf:q$,lopf:z$,loplus:B$,lotimes:N$,lowast:U$,lowbar:H$,LowerLeftArrow:V$,LowerRightArrow:G$,loz:K$,lozenge:W$,lozf:Z$,lpar:J$,lparlt:Y$,lrarr:Q$,lrcorner:X$,lrhar:eq,lrhard:tq,lrm:nq,lrtri:sq,lsaquo:oq,lscr:rq,Lscr:iq,lsh:aq,Lsh:lq,lsim:cq,lsime:uq,lsimg:dq,lsqb:hq,lsquo:fq,lsquor:pq,Lstrok:gq,lstrok:mq,ltcc:_q,ltcir:yq,lt:bq,LT:vq,Lt:xq,ltdot:wq,lthree:kq,ltimes:Cq,ltlarr:Eq,ltquest:Aq,ltri:Sq,ltrie:Tq,ltrif:Dq,ltrPar:Mq,lurdshar:Oq,luruhar:Lq,lvertneqq:jq,lvnE:Rq,macr:Pq,male:Iq,malt:Fq,maltese:$q,Map:"⤅",map:qq,mapsto:zq,mapstodown:Bq,mapstoleft:Nq,mapstoup:Uq,marker:Hq,mcomma:Vq,Mcy:Gq,mcy:Kq,mdash:Wq,mDDot:Zq,measuredangle:Jq,MediumSpace:Yq,Mellintrf:Qq,Mfr:Xq,mfr:ez,mho:tz,micro:nz,midast:sz,midcir:oz,mid:rz,middot:iz,minusb:az,minus:lz,minusd:cz,minusdu:uz,MinusPlus:dz,mlcp:hz,mldr:fz,mnplus:pz,models:gz,Mopf:mz,mopf:_z,mp:yz,mscr:bz,Mscr:vz,mstpos:xz,Mu:wz,mu:kz,multimap:Cz,mumap:Ez,nabla:Az,Nacute:Sz,nacute:Tz,nang:Dz,nap:Mz,napE:Oz,napid:Lz,napos:jz,napprox:Rz,natural:Pz,naturals:Iz,natur:Fz,nbsp:$z,nbump:qz,nbumpe:zz,ncap:Bz,Ncaron:Nz,ncaron:Uz,Ncedil:Hz,ncedil:Vz,ncong:Gz,ncongdot:Kz,ncup:Wz,Ncy:Zz,ncy:Jz,ndash:Yz,nearhk:Qz,nearr:Xz,neArr:eB,nearrow:tB,ne:nB,nedot:sB,NegativeMediumSpace:oB,NegativeThickSpace:rB,NegativeThinSpace:iB,NegativeVeryThinSpace:aB,nequiv:lB,nesear:cB,nesim:uB,NestedGreaterGreater:dB,NestedLessLess:hB,NewLine:fB,nexist:pB,nexists:gB,Nfr:mB,nfr:_B,ngE:yB,nge:bB,ngeq:vB,ngeqq:xB,ngeqslant:wB,nges:kB,nGg:CB,ngsim:EB,nGt:AB,ngt:SB,ngtr:TB,nGtv:DB,nharr:MB,nhArr:OB,nhpar:LB,ni:jB,nis:RB,nisd:PB,niv:IB,NJcy:FB,njcy:$B,nlarr:qB,nlArr:zB,nldr:BB,nlE:NB,nle:UB,nleftarrow:HB,nLeftarrow:VB,nleftrightarrow:GB,nLeftrightarrow:KB,nleq:WB,nleqq:ZB,nleqslant:JB,nles:YB,nless:QB,nLl:XB,nlsim:eN,nLt:tN,nlt:nN,nltri:sN,nltrie:oN,nLtv:rN,nmid:iN,NoBreak:aN,NonBreakingSpace:lN,nopf:cN,Nopf:uN,Not:dN,not:hN,NotCongruent:fN,NotCupCap:pN,NotDoubleVerticalBar:gN,NotElement:mN,NotEqual:_N,NotEqualTilde:yN,NotExists:bN,NotGreater:vN,NotGreaterEqual:xN,NotGreaterFullEqual:wN,NotGreaterGreater:kN,NotGreaterLess:CN,NotGreaterSlantEqual:EN,NotGreaterTilde:AN,NotHumpDownHump:SN,NotHumpEqual:TN,notin:DN,notindot:MN,notinE:ON,notinva:LN,notinvb:jN,notinvc:RN,NotLeftTriangleBar:PN,NotLeftTriangle:IN,NotLeftTriangleEqual:FN,NotLess:$N,NotLessEqual:qN,NotLessGreater:zN,NotLessLess:BN,NotLessSlantEqual:NN,NotLessTilde:UN,NotNestedGreaterGreater:HN,NotNestedLessLess:VN,notni:GN,notniva:KN,notnivb:WN,notnivc:ZN,NotPrecedes:JN,NotPrecedesEqual:YN,NotPrecedesSlantEqual:QN,NotReverseElement:XN,NotRightTriangleBar:eU,NotRightTriangle:tU,NotRightTriangleEqual:nU,NotSquareSubset:sU,NotSquareSubsetEqual:oU,NotSquareSuperset:rU,NotSquareSupersetEqual:iU,NotSubset:aU,NotSubsetEqual:lU,NotSucceeds:cU,NotSucceedsEqual:uU,NotSucceedsSlantEqual:dU,NotSucceedsTilde:hU,NotSuperset:fU,NotSupersetEqual:pU,NotTilde:gU,NotTildeEqual:mU,NotTildeFullEqual:_U,NotTildeTilde:yU,NotVerticalBar:bU,nparallel:vU,npar:xU,nparsl:wU,npart:kU,npolint:CU,npr:EU,nprcue:AU,nprec:SU,npreceq:TU,npre:DU,nrarrc:MU,nrarr:OU,nrArr:LU,nrarrw:jU,nrightarrow:RU,nRightarrow:PU,nrtri:IU,nrtrie:FU,nsc:$U,nsccue:qU,nsce:zU,Nscr:BU,nscr:NU,nshortmid:UU,nshortparallel:HU,nsim:VU,nsime:GU,nsimeq:KU,nsmid:WU,nspar:ZU,nsqsube:JU,nsqsupe:YU,nsub:QU,nsubE:XU,nsube:eH,nsubset:tH,nsubseteq:nH,nsubseteqq:sH,nsucc:oH,nsucceq:rH,nsup:iH,nsupE:aH,nsupe:lH,nsupset:cH,nsupseteq:uH,nsupseteqq:dH,ntgl:hH,Ntilde:fH,ntilde:pH,ntlg:gH,ntriangleleft:mH,ntrianglelefteq:_H,ntriangleright:yH,ntrianglerighteq:bH,Nu:vH,nu:xH,num:wH,numero:kH,numsp:CH,nvap:EH,nvdash:AH,nvDash:SH,nVdash:TH,nVDash:DH,nvge:MH,nvgt:OH,nvHarr:LH,nvinfin:jH,nvlArr:RH,nvle:PH,nvlt:IH,nvltrie:FH,nvrArr:$H,nvrtrie:qH,nvsim:zH,nwarhk:BH,nwarr:NH,nwArr:UH,nwarrow:HH,nwnear:VH,Oacute:GH,oacute:KH,oast:WH,Ocirc:ZH,ocirc:JH,ocir:YH,Ocy:QH,ocy:XH,odash:eV,Odblac:tV,odblac:nV,odiv:sV,odot:oV,odsold:rV,OElig:iV,oelig:aV,ofcir:lV,Ofr:cV,ofr:uV,ogon:dV,Ograve:hV,ograve:fV,ogt:pV,ohbar:gV,ohm:mV,oint:_V,olarr:yV,olcir:bV,olcross:vV,oline:xV,olt:wV,Omacr:kV,omacr:CV,Omega:EV,omega:AV,Omicron:SV,omicron:TV,omid:DV,ominus:MV,Oopf:OV,oopf:LV,opar:jV,OpenCurlyDoubleQuote:RV,OpenCurlyQuote:PV,operp:IV,oplus:FV,orarr:$V,Or:qV,or:zV,ord:BV,order:NV,orderof:UV,ordf:HV,ordm:VV,origof:GV,oror:KV,orslope:WV,orv:ZV,oS:JV,Oscr:YV,oscr:QV,Oslash:XV,oslash:eG,osol:tG,Otilde:nG,otilde:sG,otimesas:oG,Otimes:rG,otimes:iG,Ouml:aG,ouml:lG,ovbar:cG,OverBar:uG,OverBrace:dG,OverBracket:hG,OverParenthesis:fG,para:pG,parallel:gG,par:mG,parsim:_G,parsl:yG,part:bG,PartialD:vG,Pcy:xG,pcy:wG,percnt:kG,period:CG,permil:EG,perp:AG,pertenk:SG,Pfr:TG,pfr:DG,Phi:MG,phi:OG,phiv:LG,phmmat:jG,phone:RG,Pi:PG,pi:IG,pitchfork:FG,piv:$G,planck:qG,planckh:zG,plankv:BG,plusacir:NG,plusb:UG,pluscir:HG,plus:VG,plusdo:GG,plusdu:KG,pluse:WG,PlusMinus:ZG,plusmn:JG,plussim:YG,plustwo:QG,pm:XG,Poincareplane:eK,pointint:tK,popf:nK,Popf:sK,pound:oK,prap:rK,Pr:iK,pr:aK,prcue:lK,precapprox:cK,prec:uK,preccurlyeq:dK,Precedes:hK,PrecedesEqual:fK,PrecedesSlantEqual:pK,PrecedesTilde:gK,preceq:mK,precnapprox:_K,precneqq:yK,precnsim:bK,pre:vK,prE:xK,precsim:wK,prime:kK,Prime:CK,primes:EK,prnap:AK,prnE:SK,prnsim:TK,prod:DK,Product:MK,profalar:OK,profline:LK,profsurf:jK,prop:RK,Proportional:PK,Proportion:IK,propto:FK,prsim:$K,prurel:qK,Pscr:zK,pscr:BK,Psi:NK,psi:UK,puncsp:HK,Qfr:VK,qfr:GK,qint:KK,qopf:WK,Qopf:ZK,qprime:JK,Qscr:YK,qscr:QK,quaternions:XK,quatint:eW,quest:tW,questeq:nW,quot:sW,QUOT:oW,rAarr:rW,race:iW,Racute:aW,racute:lW,radic:cW,raemptyv:uW,rang:dW,Rang:hW,rangd:fW,range:pW,rangle:gW,raquo:mW,rarrap:_W,rarrb:yW,rarrbfs:bW,rarrc:vW,rarr:xW,Rarr:wW,rArr:kW,rarrfs:CW,rarrhk:EW,rarrlp:AW,rarrpl:SW,rarrsim:TW,Rarrtl:DW,rarrtl:MW,rarrw:OW,ratail:LW,rAtail:jW,ratio:RW,rationals:PW,rbarr:IW,rBarr:FW,RBarr:$W,rbbrk:qW,rbrace:zW,rbrack:BW,rbrke:NW,rbrksld:UW,rbrkslu:HW,Rcaron:VW,rcaron:GW,Rcedil:KW,rcedil:WW,rceil:ZW,rcub:JW,Rcy:YW,rcy:QW,rdca:XW,rdldhar:eZ,rdquo:tZ,rdquor:nZ,rdsh:sZ,real:oZ,realine:rZ,realpart:iZ,reals:aZ,Re:lZ,rect:cZ,reg:uZ,REG:dZ,ReverseElement:hZ,ReverseEquilibrium:fZ,ReverseUpEquilibrium:pZ,rfisht:gZ,rfloor:mZ,rfr:_Z,Rfr:yZ,rHar:bZ,rhard:vZ,rharu:xZ,rharul:wZ,Rho:kZ,rho:CZ,rhov:EZ,RightAngleBracket:AZ,RightArrowBar:SZ,rightarrow:TZ,RightArrow:DZ,Rightarrow:MZ,RightArrowLeftArrow:OZ,rightarrowtail:LZ,RightCeiling:jZ,RightDoubleBracket:RZ,RightDownTeeVector:PZ,RightDownVectorBar:IZ,RightDownVector:FZ,RightFloor:$Z,rightharpoondown:qZ,rightharpoonup:zZ,rightleftarrows:BZ,rightleftharpoons:NZ,rightrightarrows:UZ,rightsquigarrow:HZ,RightTeeArrow:VZ,RightTee:GZ,RightTeeVector:KZ,rightthreetimes:WZ,RightTriangleBar:ZZ,RightTriangle:JZ,RightTriangleEqual:YZ,RightUpDownVector:QZ,RightUpTeeVector:XZ,RightUpVectorBar:eJ,RightUpVector:tJ,RightVectorBar:nJ,RightVector:sJ,ring:oJ,risingdotseq:rJ,rlarr:iJ,rlhar:aJ,rlm:lJ,rmoustache:cJ,rmoust:uJ,rnmid:dJ,roang:hJ,roarr:fJ,robrk:pJ,ropar:gJ,ropf:mJ,Ropf:_J,roplus:yJ,rotimes:bJ,RoundImplies:vJ,rpar:xJ,rpargt:wJ,rppolint:kJ,rrarr:CJ,Rrightarrow:EJ,rsaquo:AJ,rscr:SJ,Rscr:TJ,rsh:DJ,Rsh:MJ,rsqb:OJ,rsquo:LJ,rsquor:jJ,rthree:RJ,rtimes:PJ,rtri:IJ,rtrie:FJ,rtrif:$J,rtriltri:qJ,RuleDelayed:zJ,ruluhar:BJ,rx:NJ,Sacute:UJ,sacute:HJ,sbquo:VJ,scap:GJ,Scaron:KJ,scaron:WJ,Sc:ZJ,sc:JJ,sccue:YJ,sce:QJ,scE:XJ,Scedil:eY,scedil:tY,Scirc:nY,scirc:sY,scnap:oY,scnE:rY,scnsim:iY,scpolint:aY,scsim:lY,Scy:cY,scy:uY,sdotb:dY,sdot:hY,sdote:fY,searhk:pY,searr:gY,seArr:mY,searrow:_Y,sect:yY,semi:bY,seswar:vY,setminus:xY,setmn:wY,sext:kY,Sfr:CY,sfr:EY,sfrown:AY,sharp:SY,SHCHcy:TY,shchcy:DY,SHcy:MY,shcy:OY,ShortDownArrow:LY,ShortLeftArrow:jY,shortmid:RY,shortparallel:PY,ShortRightArrow:IY,ShortUpArrow:FY,shy:$Y,Sigma:qY,sigma:zY,sigmaf:BY,sigmav:NY,sim:UY,simdot:HY,sime:VY,simeq:GY,simg:KY,simgE:WY,siml:ZY,simlE:JY,simne:YY,simplus:QY,simrarr:XY,slarr:eQ,SmallCircle:tQ,smallsetminus:nQ,smashp:sQ,smeparsl:oQ,smid:rQ,smile:iQ,smt:aQ,smte:lQ,smtes:cQ,SOFTcy:uQ,softcy:dQ,solbar:hQ,solb:fQ,sol:pQ,Sopf:gQ,sopf:mQ,spades:_Q,spadesuit:yQ,spar:bQ,sqcap:vQ,sqcaps:xQ,sqcup:wQ,sqcups:kQ,Sqrt:CQ,sqsub:EQ,sqsube:AQ,sqsubset:SQ,sqsubseteq:TQ,sqsup:DQ,sqsupe:MQ,sqsupset:OQ,sqsupseteq:LQ,square:jQ,Square:RQ,SquareIntersection:PQ,SquareSubset:IQ,SquareSubsetEqual:FQ,SquareSuperset:$Q,SquareSupersetEqual:qQ,SquareUnion:zQ,squarf:BQ,squ:NQ,squf:UQ,srarr:HQ,Sscr:VQ,sscr:GQ,ssetmn:KQ,ssmile:WQ,sstarf:ZQ,Star:JQ,star:YQ,starf:QQ,straightepsilon:XQ,straightphi:eX,strns:tX,sub:nX,Sub:sX,subdot:oX,subE:rX,sube:iX,subedot:aX,submult:lX,subnE:cX,subne:uX,subplus:dX,subrarr:hX,subset:fX,Subset:pX,subseteq:gX,subseteqq:mX,SubsetEqual:_X,subsetneq:yX,subsetneqq:bX,subsim:vX,subsub:xX,subsup:wX,succapprox:kX,succ:CX,succcurlyeq:EX,Succeeds:AX,SucceedsEqual:SX,SucceedsSlantEqual:TX,SucceedsTilde:DX,succeq:MX,succnapprox:OX,succneqq:LX,succnsim:jX,succsim:RX,SuchThat:PX,sum:IX,Sum:FX,sung:$X,sup1:qX,sup2:zX,sup3:BX,sup:NX,Sup:UX,supdot:HX,supdsub:VX,supE:GX,supe:KX,supedot:WX,Superset:ZX,SupersetEqual:JX,suphsol:YX,suphsub:QX,suplarr:XX,supmult:eee,supnE:tee,supne:nee,supplus:see,supset:oee,Supset:ree,supseteq:iee,supseteqq:aee,supsetneq:lee,supsetneqq:cee,supsim:uee,supsub:dee,supsup:hee,swarhk:fee,swarr:pee,swArr:gee,swarrow:mee,swnwar:_ee,szlig:yee,Tab:bee,target:vee,Tau:xee,tau:wee,tbrk:kee,Tcaron:Cee,tcaron:Eee,Tcedil:Aee,tcedil:See,Tcy:Tee,tcy:Dee,tdot:Mee,telrec:Oee,Tfr:Lee,tfr:jee,there4:Ree,therefore:Pee,Therefore:Iee,Theta:Fee,theta:$ee,thetasym:qee,thetav:zee,thickapprox:Bee,thicksim:Nee,ThickSpace:Uee,ThinSpace:Hee,thinsp:Vee,thkap:Gee,thksim:Kee,THORN:Wee,thorn:Zee,tilde:Jee,Tilde:Yee,TildeEqual:Qee,TildeFullEqual:Xee,TildeTilde:ete,timesbar:tte,timesb:nte,times:ste,timesd:ote,tint:rte,toea:ite,topbot:ate,topcir:lte,top:cte,Topf:ute,topf:dte,topfork:hte,tosa:fte,tprime:pte,trade:gte,TRADE:mte,triangle:_te,triangledown:yte,triangleleft:bte,trianglelefteq:vte,triangleq:xte,triangleright:wte,trianglerighteq:kte,tridot:Cte,trie:Ete,triminus:Ate,TripleDot:Ste,triplus:Tte,trisb:Dte,tritime:Mte,trpezium:Ote,Tscr:Lte,tscr:jte,TScy:Rte,tscy:Pte,TSHcy:Ite,tshcy:Fte,Tstrok:$te,tstrok:qte,twixt:zte,twoheadleftarrow:Bte,twoheadrightarrow:Nte,Uacute:Ute,uacute:Hte,uarr:Vte,Uarr:Gte,uArr:Kte,Uarrocir:Wte,Ubrcy:Zte,ubrcy:Jte,Ubreve:Yte,ubreve:Qte,Ucirc:Xte,ucirc:ene,Ucy:tne,ucy:nne,udarr:sne,Udblac:one,udblac:rne,udhar:ine,ufisht:ane,Ufr:lne,ufr:cne,Ugrave:une,ugrave:dne,uHar:hne,uharl:fne,uharr:pne,uhblk:gne,ulcorn:mne,ulcorner:_ne,ulcrop:yne,ultri:bne,Umacr:vne,umacr:xne,uml:wne,UnderBar:kne,UnderBrace:Cne,UnderBracket:Ene,UnderParenthesis:Ane,Union:Sne,UnionPlus:Tne,Uogon:Dne,uogon:Mne,Uopf:One,uopf:Lne,UpArrowBar:jne,uparrow:Rne,UpArrow:Pne,Uparrow:Ine,UpArrowDownArrow:Fne,updownarrow:$ne,UpDownArrow:qne,Updownarrow:zne,UpEquilibrium:Bne,upharpoonleft:Nne,upharpoonright:Une,uplus:Hne,UpperLeftArrow:Vne,UpperRightArrow:Gne,upsi:Kne,Upsi:Wne,upsih:Zne,Upsilon:Jne,upsilon:Yne,UpTeeArrow:Qne,UpTee:Xne,upuparrows:ese,urcorn:tse,urcorner:nse,urcrop:sse,Uring:ose,uring:rse,urtri:ise,Uscr:ase,uscr:lse,utdot:cse,Utilde:use,utilde:dse,utri:hse,utrif:fse,uuarr:pse,Uuml:gse,uuml:mse,uwangle:_se,vangrt:yse,varepsilon:bse,varkappa:vse,varnothing:xse,varphi:wse,varpi:kse,varpropto:Cse,varr:Ese,vArr:Ase,varrho:Sse,varsigma:Tse,varsubsetneq:Dse,varsubsetneqq:Mse,varsupsetneq:Ose,varsupsetneqq:Lse,vartheta:jse,vartriangleleft:Rse,vartriangleright:Pse,vBar:Ise,Vbar:Fse,vBarv:$se,Vcy:qse,vcy:zse,vdash:Bse,vDash:Nse,Vdash:Use,VDash:Hse,Vdashl:Vse,veebar:Gse,vee:Kse,Vee:Wse,veeeq:Zse,vellip:Jse,verbar:Yse,Verbar:Qse,vert:Xse,Vert:eoe,VerticalBar:toe,VerticalLine:noe,VerticalSeparator:soe,VerticalTilde:ooe,VeryThinSpace:roe,Vfr:ioe,vfr:aoe,vltri:loe,vnsub:coe,vnsup:uoe,Vopf:doe,vopf:hoe,vprop:foe,vrtri:poe,Vscr:goe,vscr:moe,vsubnE:_oe,vsubne:yoe,vsupnE:boe,vsupne:voe,Vvdash:xoe,vzigzag:woe,Wcirc:koe,wcirc:Coe,wedbar:Eoe,wedge:Aoe,Wedge:Soe,wedgeq:Toe,weierp:Doe,Wfr:Moe,wfr:Ooe,Wopf:Loe,wopf:joe,wp:Roe,wr:Poe,wreath:Ioe,Wscr:Foe,wscr:$oe,xcap:qoe,xcirc:zoe,xcup:Boe,xdtri:Noe,Xfr:Uoe,xfr:Hoe,xharr:Voe,xhArr:Goe,Xi:Koe,xi:Woe,xlarr:Zoe,xlArr:Joe,xmap:Yoe,xnis:Qoe,xodot:Xoe,Xopf:ere,xopf:tre,xoplus:nre,xotime:sre,xrarr:ore,xrArr:rre,Xscr:ire,xscr:are,xsqcup:lre,xuplus:cre,xutri:ure,xvee:dre,xwedge:hre,Yacute:fre,yacute:pre,YAcy:gre,yacy:mre,Ycirc:_re,ycirc:yre,Ycy:bre,ycy:vre,yen:xre,Yfr:wre,yfr:kre,YIcy:Cre,yicy:Ere,Yopf:Are,yopf:Sre,Yscr:Tre,yscr:Dre,YUcy:Mre,yucy:Ore,yuml:Lre,Yuml:jre,Zacute:Rre,zacute:Pre,Zcaron:Ire,zcaron:Fre,Zcy:$re,zcy:qre,Zdot:zre,zdot:Bre,zeetrf:Nre,ZeroWidthSpace:Ure,Zeta:Hre,zeta:Vre,zfr:Gre,Zfr:Kre,ZHcy:Wre,zhcy:Zre,zigrarr:Jre,zopf:Yre,Zopf:Qre,Zscr:Xre,zscr:eie,zwj:tie,zwnj:nie};var _f=sie,ol=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Is={},Wc={};function oie(t){var e,n,s=Wc[t];if(s)return s;for(s=Wc[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 Wr(t,e,n){var s,o,r,i,a,l="";for(typeof e!="string"&&(n=e,e=Wr.defaultChars),typeof n>"u"&&(n=!0),a=oie(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}Wr.defaultChars=";/?:@&=+$,-_.!~*'()#";Wr.componentChars="-_.!~*'()";var rie=Wr,Zc={};function iie(t){var e,n,s=Zc[t];if(s)return s;for(s=Zc[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 Zr(t,e){var n;return typeof e!="string"&&(e=Zr.defaultChars),n=iie(e),t.replace(/(%[a-f0-9]{2})+/gi,function(s){var o,r,i,a,l,c,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),c=parseInt(s.slice(o+10,o+12),16),(a&192)===128&&(l&192)===128&&(c&192)===128)){u=i<<18&1835008|a<<12&258048|l<<6&4032|c&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})}Zr.defaultChars=";/?:@&=+$,#";Zr.componentChars="";var aie=Zr,lie=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 pr(){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 cie=/^([a-z0-9.+-]+:)/i,uie=/:[0-9]*$/,die=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,hie=["<",">",'"',"`"," ","\r",`
|
||
`," "],fie=["{","}","|","\\","^","`"].concat(hie),pie=["'"].concat(fie),Jc=["%","/","?",";","#"].concat(pie),Yc=["/","?","#"],gie=255,Qc=/^[+a-z0-9A-Z_-]{0,63}$/,mie=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Xc={javascript:!0,"javascript:":!0},eu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function _ie(t,e){if(t&&t instanceof pr)return t;var n=new pr;return n.parse(t,e),n}pr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=die.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=cie.exec(a);if(c&&(c=c[0],o=c.toLowerCase(),this.protocol=c,a=a.substr(c.length)),(e||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(c&&Xc[c])&&(a=a.substr(2),this.slashes=!0)),!Xc[c]&&(i||c&&!eu[c])){var u=-1;for(n=0;n<Yc.length;n++)r=a.indexOf(Yc[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<Jc.length;n++)r=a.indexOf(Jc[n]),r!==-1&&(u===-1||r<u)&&(u=r);u===-1&&(u=a.length),a[u-1]===":"&&u--;var p=a.slice(0,u);a=a.slice(u),this.parseHost(p),this.hostname=this.hostname||"";var g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){var m=this.hostname.split(/\./);for(n=0,s=m.length;n<s;n++){var w=m[n];if(w&&!w.match(Qc)){for(var v="",y=0,x=w.length;y<x;y++)w.charCodeAt(y)>127?v+="x":v+=w[y];if(!v.match(Qc)){var E=m.slice(0,n),$=m.slice(n+1),T=w.match(mie);T&&(E.push(T[1]),$.unshift(T[2])),$.length&&(a=$.join(".")+a),this.hostname=E.join(".");break}}}}this.hostname.length>gie&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var q=a.indexOf("#");q!==-1&&(this.hash=a.substr(q),a=a.slice(0,q));var b=a.indexOf("?");return b!==-1&&(this.search=a.substr(b),a=a.slice(0,b)),a&&(this.pathname=a),eu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};pr.prototype.parseHost=function(t){var e=uie.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 yie=_ie;Is.encode=rie;Is.decode=aie;Is.format=lie;Is.parse=yie;var Ln={},ki,tu;function yf(){return tu||(tu=1,ki=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),ki}var Ci,nu;function bf(){return nu||(nu=1,Ci=/[\0-\x1F\x7F-\x9F]/),Ci}var Ei,su;function bie(){return su||(su=1,Ei=/[\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]/),Ei}var Ai,ou;function vf(){return ou||(ou=1,Ai=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ai}var ru;function vie(){return ru||(ru=1,Ln.Any=yf(),Ln.Cc=bf(),Ln.Cf=bie(),Ln.P=ol,Ln.Z=vf()),Ln}(function(t){function e(I){return Object.prototype.toString.call(I)}function n(I){return e(I)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(I,he){return s.call(I,he)}function r(I){var he=Array.prototype.slice.call(arguments,1);return he.forEach(function(Q){if(Q){if(typeof Q!="object")throw new TypeError(Q+"must be object");Object.keys(Q).forEach(function(A){I[A]=Q[A]})}}),I}function i(I,he,Q){return[].concat(I.slice(0,he),Q,I.slice(he+1))}function a(I){return!(I>=55296&&I<=57343||I>=64976&&I<=65007||(I&65535)===65535||(I&65535)===65534||I>=0&&I<=8||I===11||I>=14&&I<=31||I>=127&&I<=159||I>1114111)}function l(I){if(I>65535){I-=65536;var he=55296+(I>>10),Q=56320+(I&1023);return String.fromCharCode(he,Q)}return String.fromCharCode(I)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=_f;function g(I,he){var Q=0;return o(p,he)?p[he]:he.charCodeAt(0)===35&&f.test(he)&&(Q=he[1].toLowerCase()==="x"?parseInt(he.slice(2),16):parseInt(he.slice(1),10),a(Q))?l(Q):I}function m(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function w(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(h,function(he,Q,A){return Q||g(he,A)})}var v=/[&<>"]/,y=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function E(I){return x[I]}function $(I){return v.test(I)?I.replace(y,E):I}var T=/[.?*+^$[\]\\(){}|-]/g;function q(I){return I.replace(T,"\\$&")}function b(I){switch(I){case 9:case 32:return!0}return!1}function k(I){if(I>=8192&&I<=8202)return!0;switch(I){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var S=ol;function z(I){return S.test(I)}function F(I){switch(I){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Y(I){return I=I.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(I=I.replace(/ẞ/g,"ß")),I.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Is,t.lib.ucmicro=vie(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=m,t.unescapeAll=w,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=$,t.arrayReplaceAt=i,t.isSpace=b,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=z,t.escapeRE=q,t.normalizeReference=Y})(Fe);var Jr={},xie=function(e,n,s){var o,r,i,a,l=-1,c=e.posMax,u=e.pos;for(e.pos=n+1,o=1;e.pos<c;){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},iu=Fe.unescapeAll,wie=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=iu(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=iu(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},kie=Fe.unescapeAll,Cie=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=kie(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};Jr.parseLinkLabel=xie;Jr.parseLinkDestination=wie;Jr.parseLinkTitle=Cie;var Eie=Fe.assign,Aie=Fe.unescapeAll,Wn=Fe.escapeHtml,Vt={};Vt.code_inline=function(t,e,n,s,o){var r=t[e];return"<code"+o.renderAttrs(r)+">"+Wn(t[e].content)+"</code>"};Vt.code_block=function(t,e,n,s,o){var r=t[e];return"<pre"+o.renderAttrs(r)+"><code>"+Wn(t[e].content)+`</code></pre>
|
||
`};Vt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?Aie(r.info).trim():"",a="",l="",c,u,h,f,p;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Wn(r.content):c=Wn(r.content),c.indexOf("<pre")===0?c+`
|
||
`: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),p={attrs:f},"<pre><code"+o.renderAttrs(p)+">"+c+`</code></pre>
|
||
`):"<pre><code"+o.renderAttrs(r)+">"+c+`</code></pre>
|
||
`};Vt.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)};Vt.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`};Vt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`};Vt.text=function(t,e){return Wn(t[e].content)};Vt.html_block=function(t,e){return t[e].content};Vt.html_inline=function(t,e){return t[e].content};function Fs(){this.rules=Eie({},Vt)}Fs.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n<s;n++)o+=" "+Wn(e.attrs[n][0])+'="'+Wn(e.attrs[n][1])+'"';return o};Fs.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)};Fs.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};Fs.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};Fs.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 Sie=Fs;function jt(){this.__rules__=[],this.__cache__=null}jt.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};jt.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))})})};jt.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};jt.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};jt.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};jt.prototype.push=function(t,e,n){var s=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:s.alt||[]}),this.__cache__=null};jt.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};jt.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)};jt.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};jt.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var rl=jt,Tie=/\r\n?|\n/g,Die=/\0/g,Mie=function(e){var n;n=e.src.replace(Tie,`
|
||
`),n=n.replace(Die,"<22>"),e.src=n},Oie=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)},Lie=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)},jie=Fe.arrayReplaceAt;function Rie(t){return/^<a[>\s]/i.test(t)}function Pie(t){return/^<\/a\s*>/i.test(t)}var Iie=function(e){var n,s,o,r,i,a,l,c,u,h,f,p,g,m,w,v,y=e.tokens,x;if(e.md.options.linkify){for(s=0,o=y.length;s<o;s++)if(!(y[s].type!=="inline"||!e.md.linkify.pretest(y[s].content)))for(r=y[s].children,g=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"&&(Rie(a.content)&&g>0&&g--,Pie(a.content)&&g++),!(g>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],p=a.level,f=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),c=0;c<x.length;c++)m=x[c].url,w=e.md.normalizeLink(m),e.md.validateLink(w)&&(v=x[c].text,x[c].schema?x[c].schema==="mailto:"&&!/^mailto:/i.test(v)?v=e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):v=e.md.normalizeLinkText(v):v=e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),h=x[c].index,h>f&&(i=new e.Token("text","",0),i.content=u.slice(f,h),i.level=p,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",w]],i.level=p++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=v,i.level=p,l.push(i),i=new e.Token("link_close","a",-1),i.level=--p,i.markup="linkify",i.info="auto",l.push(i),f=x[c].lastIndex);f<u.length&&(i=new e.Token("text","",0),i.content=u.slice(f),i.level=p,l.push(i)),y[s].children=r=jie(r,n,l)}}}},xf=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Fie=/\((c|tm|r)\)/i,$ie=/\((c|tm|r)\)/ig,qie={c:"©",r:"®",tm:"™"};function zie(t,e){return qie[e.toLowerCase()]}function Bie(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($ie,zie)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function Nie(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&xf.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 Uie=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Fie.test(e.tokens[n].content)&&Bie(e.tokens[n].children),xf.test(e.tokens[n].content)&&Nie(e.tokens[n].children))},au=Fe.isWhiteSpace,lu=Fe.isPunctChar,cu=Fe.isMdAsciiPunct,Hie=/['"]/,uu=/['"]/g,du="’";function Fo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Vie(t,e){var n,s,o,r,i,a,l,c,u,h,f,p,g,m,w,v,y,x,E,$,T;for(E=[],n=0;n<t.length;n++){for(s=t[n],l=t[n].level,y=E.length-1;y>=0&&!(E[y].level<=l);y--);if(E.length=y+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i<a&&(uu.lastIndex=i,r=uu.exec(o),!!r);){if(w=v=!0,i=r.index+1,x=r[0]==="'",u=32,r.index-1>=0)u=o.charCodeAt(r.index-1);else for(y=n-1;y>=0&&!(t[y].type==="softbreak"||t[y].type==="hardbreak");y--)if(t[y].content){u=t[y].content.charCodeAt(t[y].content.length-1);break}if(h=32,i<a)h=o.charCodeAt(i);else for(y=n+1;y<t.length&&!(t[y].type==="softbreak"||t[y].type==="hardbreak");y++)if(t[y].content){h=t[y].content.charCodeAt(0);break}if(f=cu(u)||lu(String.fromCharCode(u)),p=cu(h)||lu(String.fromCharCode(h)),g=au(u),m=au(h),m?w=!1:p&&(g||f||(w=!1)),g?v=!1:f&&(m||p||(v=!1)),h===34&&r[0]==='"'&&u>=48&&u<=57&&(v=w=!1),w&&v&&(w=f,v=p),!w&&!v){x&&(s.content=Fo(s.content,r.index,du));continue}if(v){for(y=E.length-1;y>=0&&(c=E[y],!(E[y].level<l));y--)if(c.single===x&&E[y].level===l){c=E[y],x?($=e.md.options.quotes[2],T=e.md.options.quotes[3]):($=e.md.options.quotes[0],T=e.md.options.quotes[1]),s.content=Fo(s.content,r.index,T),t[c.token].content=Fo(t[c.token].content,c.pos,$),i+=T.length-1,c.token===n&&(i+=$.length-1),o=s.content,a=o.length,E.length=y;continue e}}w?E.push({token:n,pos:r.index,single:x,level:l}):v&&x&&(s.content=Fo(s.content,r.index,du))}}}}var Gie=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!Hie.test(e.tokens[n].content)||Vie(e.tokens[n].children,e)},Kie=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 $s(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}$s.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};$s.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};$s.prototype.attrSet=function(e,n){var s=this.attrIndex(e),o=[e,n];s<0?this.attrPush(o):this.attrs[s]=o};$s.prototype.attrGet=function(e){var n=this.attrIndex(e),s=null;return n>=0&&(s=this.attrs[n][1]),s};$s.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 il=$s,Wie=il;function wf(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}wf.prototype.Token=Wie;var Zie=wf,Jie=rl,Si=[["normalize",Mie],["block",Oie],["inline",Lie],["linkify",Iie],["replacements",Uie],["smartquotes",Gie],["text_join",Kie]];function al(){this.ruler=new Jie;for(var t=0;t<Si.length;t++)this.ruler.push(Si[t][0],Si[t][1])}al.prototype.process=function(t){var e,n,s;for(s=this.ruler.getRules(""),e=0,n=s.length;e<n;e++)s[e](t)};al.prototype.State=Zie;var Yie=al,Ti=Fe.isSpace;function Di(t,e){var n=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];return t.src.slice(n,s)}function hu(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 Qie=function(e,n,s,o){var r,i,a,l,c,u,h,f,p,g,m,w,v,y,x,E,$,T;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])||($=e.src.charCodeAt(a++),$!==124&&$!==45&&$!==58)||a>=e.eMarks[u]||(T=e.src.charCodeAt(a++),T!==124&&T!==45&&T!==58&&!Ti(T))||$===45&&Ti(T))return!1;for(;a<e.eMarks[u];){if(r=e.src.charCodeAt(a),r!==124&&r!==45&&r!==58&&!Ti(r))return!1;a++}for(i=Di(e,n+1),h=i.split("|"),g=[],l=0;l<h.length;l++){if(m=h[l].trim(),!m){if(l===0||l===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;m.charCodeAt(m.length-1)===58?g.push(m.charCodeAt(0)===58?"center":"right"):m.charCodeAt(0)===58?g.push("left"):g.push("")}if(i=Di(e,n).trim(),i.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(h=hu(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==g.length))return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",E=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=w=[n,0],p=e.push("thead_open","thead",1),p.map=[n,n+1],p=e.push("tr_open","tr",1),p.map=[n,n+1],l=0;l<h.length;l++)p=e.push("th_open","th",1),g[l]&&(p.attrs=[["style","text-align:"+g[l]]]),p=e.push("inline","",0),p.content=h[l].trim(),p.children=[],p=e.push("th_close","th",-1);for(p=e.push("tr_close","tr",-1),p=e.push("thead_close","thead",-1),u=n+2;u<s&&!(e.sCount[u]<e.blkIndent);u++){for(x=!1,l=0,c=E.length;l<c;l++)if(E[l](e,u,s,!0)){x=!0;break}if(x||(i=Di(e,u).trim(),!i)||e.sCount[u]-e.blkIndent>=4)break;for(h=hu(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===n+2&&(p=e.push("tbody_open","tbody",1),p.map=v=[n+2,0]),p=e.push("tr_open","tr",1),p.map=[u,u+1],l=0;l<f;l++)p=e.push("td_open","td",1),g[l]&&(p.attrs=[["style","text-align:"+g[l]]]),p=e.push("inline","",0),p.content=h[l]?h[l].trim():"",p.children=[],p=e.push("td_close","td",-1);p=e.push("tr_close","tr",-1)}return v&&(p=e.push("tbody_close","tbody",-1),v[1]=u),p=e.push("table_close","table",-1),w[1]=u,e.parentType=y,e.line=u,!0},Xie=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},eae=function(e,n,s,o){var r,i,a,l,c,u,h,f=!1,p=e.bMarks[n]+e.tShift[n],g=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>g||(r=e.src.charCodeAt(p),r!==126&&r!==96)||(c=p,p=e.skipChars(p,r),i=p-c,i<3)||(h=e.src.slice(c,p),a=e.src.slice(p,g),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(p=c=e.bMarks[l]+e.tShift[l],g=e.eMarks[l],p<g&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(p)===r&&!(e.sCount[l]-e.blkIndent>=4)&&(p=e.skipChars(p,r),!(p-c<i)&&(p=e.skipSpaces(p),!(p<g)))){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},fu=Fe.isSpace,tae=function(e,n,s,o){var r,i,a,l,c,u,h,f,p,g,m,w,v,y,x,E,$,T,q,b,k=e.lineMax,S=e.bMarks[n]+e.tShift[n],z=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(S++)!==62)return!1;if(o)return!0;for(l=p=e.sCount[n]+1,e.src.charCodeAt(S)===32?(S++,l++,p++,r=!1,E=!0):e.src.charCodeAt(S)===9?(E=!0,(e.bsCount[n]+p)%4===3?(S++,l++,p++,r=!1):r=!0):E=!1,g=[e.bMarks[n]],e.bMarks[n]=S;S<z&&(i=e.src.charCodeAt(S),fu(i));){i===9?p+=4-(p+e.bsCount[n]+(r?1:0))%4:p++;S++}for(m=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(E?1:0),u=S>=z,y=[e.sCount[n]],e.sCount[n]=p-l,x=[e.tShift[n]],e.tShift[n]=S-e.bMarks[n],T=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",f=n+1;f<s&&(b=e.sCount[f]<e.blkIndent,S=e.bMarks[f]+e.tShift[f],z=e.eMarks[f],!(S>=z));f++){if(e.src.charCodeAt(S++)===62&&!b){for(l=p=e.sCount[f]+1,e.src.charCodeAt(S)===32?(S++,l++,p++,r=!1,E=!0):e.src.charCodeAt(S)===9?(E=!0,(e.bsCount[f]+p)%4===3?(S++,l++,p++,r=!1):r=!0):E=!1,g.push(e.bMarks[f]),e.bMarks[f]=S;S<z&&(i=e.src.charCodeAt(S),fu(i));){i===9?p+=4-(p+e.bsCount[f]+(r?1:0))%4:p++;S++}u=S>=z,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(E?1:0),y.push(e.sCount[f]),e.sCount[f]=p-l,x.push(e.tShift[f]),e.tShift[f]=S-e.bMarks[f];continue}if(u)break;for($=!1,a=0,c=T.length;a<c;a++)if(T[a](e,f,s,!0)){$=!0;break}if($){e.lineMax=f,e.blkIndent!==0&&(g.push(e.bMarks[f]),m.push(e.bsCount[f]),x.push(e.tShift[f]),y.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}g.push(e.bMarks[f]),m.push(e.bsCount[f]),x.push(e.tShift[f]),y.push(e.sCount[f]),e.sCount[f]=-1}for(w=e.blkIndent,e.blkIndent=0,q=e.push("blockquote_open","blockquote",1),q.markup=">",q.map=h=[n,0],e.md.block.tokenize(e,n,f),q=e.push("blockquote_close","blockquote",-1),q.markup=">",e.lineMax=k,e.parentType=v,h[1]=e.line,a=0;a<x.length;a++)e.bMarks[a+n]=g[a],e.tShift[a+n]=x[a],e.sCount[a+n]=y[a],e.bsCount[a+n]=m[a];return e.blkIndent=w,!0},nae=Fe.isSpace,sae=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c<u;){if(a=e.src.charCodeAt(c++),a!==r&&!nae(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)},kf=Fe.isSpace;function pu(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),!kf(r))?-1:s}function gu(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),!kf(n))?-1:o}function oae(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 rae=function(e,n,s,o){var r,i,a,l,c,u,h,f,p,g,m,w,v,y,x,E,$,T,q,b,k,S,z,F,Y,I,he,Q,A=!1,N=!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&&(A=!0),(z=gu(e,n))>=0){if(h=!0,Y=e.bMarks[n]+e.tShift[n],v=Number(e.src.slice(Y,z-1)),A&&v!==1)return!1}else if((z=pu(e,n))>=0)h=!1;else return!1;if(A&&e.skipSpaces(z)>=e.eMarks[n])return!1;if(w=e.src.charCodeAt(z-1),o)return!0;for(m=e.tokens.length,h?(Q=e.push("ordered_list_open","ol",1),v!==1&&(Q.attrs=[["start",v]])):Q=e.push("bullet_list_open","ul",1),Q.map=g=[n,0],Q.markup=String.fromCharCode(w),x=n,F=!1,he=e.md.block.ruler.getRules("list"),T=e.parentType,e.parentType="list";x<s;){for(S=z,y=e.eMarks[x],u=E=e.sCount[x]+z-(e.bMarks[n]+e.tShift[n]);S<y;){if(r=e.src.charCodeAt(S),r===9)E+=4-(E+e.bsCount[x])%4;else if(r===32)E++;else break;S++}if(i=S,i>=y?c=1:c=E-u,c>4&&(c=1),l=u+c,Q=e.push("list_item_open","li",1),Q.markup=String.fromCharCode(w),Q.map=f=[n,0],h&&(Q.info=e.src.slice(Y,z-1)),k=e.tight,b=e.tShift[n],q=e.sCount[n],$=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=E,i>=y&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&(N=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=$,e.tShift[n]=b,e.sCount[n]=q,e.tight=k,Q=e.push("list_item_close","li",-1),Q.markup=String.fromCharCode(w),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(I=!1,a=0,p=he.length;a<p;a++)if(he[a](e,x,s,!0)){I=!0;break}if(I)break;if(h){if(z=gu(e,x),z<0)break;Y=e.bMarks[x]+e.tShift[x]}else if(z=pu(e,x),z<0)break;if(w!==e.src.charCodeAt(z-1))break}return h?Q=e.push("ordered_list_close","ol",-1):Q=e.push("bullet_list_close","ul",-1),Q.markup=String.fromCharCode(w),g[1]=x,e.line=x,e.parentType=T,N&&oae(e,m),!0},iae=Fe.normalizeReference,$o=Fe.isSpace,aae=function(e,n,s,o){var r,i,a,l,c,u,h,f,p,g,m,w,v,y,x,E,$=0,T=e.bMarks[n]+e.tShift[n],q=e.eMarks[n],b=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(T)!==91)return!1;for(;++T<q;)if(e.src.charCodeAt(T)===93&&e.src.charCodeAt(T-1)!==92){if(T+1===q||e.src.charCodeAt(T+1)!==58)return!1;break}for(l=e.lineMax,x=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";b<l&&!e.isEmpty(b);b++)if(!(e.sCount[b]-e.blkIndent>3)&&!(e.sCount[b]<0)){for(y=!1,u=0,h=x.length;u<h;u++)if(x[u](e,b,l,!0)){y=!0;break}if(y)break}for(v=e.getLines(n,b,e.blkIndent,!1).trim(),q=v.length,T=1;T<q;T++){if(r=v.charCodeAt(T),r===91)return!1;if(r===93){p=T;break}else r===10?$++:r===92&&(T++,T<q&&v.charCodeAt(T)===10&&$++)}if(p<0||v.charCodeAt(p+1)!==58)return!1;for(T=p+2;T<q;T++)if(r=v.charCodeAt(T),r===10)$++;else if(!$o(r))break;if(m=e.md.helpers.parseLinkDestination(v,T,q),!m.ok||(c=e.md.normalizeLink(m.str),!e.md.validateLink(c)))return!1;for(T=m.pos,$+=m.lines,i=T,a=$,w=T;T<q;T++)if(r=v.charCodeAt(T),r===10)$++;else if(!$o(r))break;for(m=e.md.helpers.parseLinkTitle(v,T,q),T<q&&w!==T&&m.ok?(E=m.str,T=m.pos,$+=m.lines):(E="",T=i,$=a);T<q&&(r=v.charCodeAt(T),!!$o(r));)T++;if(T<q&&v.charCodeAt(T)!==10&&E)for(E="",T=i,$=a;T<q&&(r=v.charCodeAt(T),!!$o(r));)T++;return T<q&&v.charCodeAt(T)!==10||(f=iae(v.slice(1,p)),!f)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:E,href:c}),e.parentType=g,e.line=n+$+1),!0)},lae=["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"],Yr={},cae="[a-zA-Z_:][a-zA-Z0-9:._-]*",uae="[^\"'=<>`\\x00-\\x20]+",dae="'[^']*'",hae='"[^"]*"',fae="(?:"+uae+"|"+dae+"|"+hae+")",pae="(?:\\s+"+cae+"(?:\\s*=\\s*"+fae+")?)",Cf="<[A-Za-z][A-Za-z0-9\\-]*"+pae+"*\\s*\\/?>",Ef="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",gae="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",mae="<[?][\\s\\S]*?[?]>",_ae="<![A-Z]+\\s+[^>]*>",yae="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",bae=new RegExp("^(?:"+Cf+"|"+Ef+"|"+gae+"|"+mae+"|"+_ae+"|"+yae+")"),vae=new RegExp("^(?:"+Cf+"|"+Ef+")");Yr.HTML_TAG_RE=bae;Yr.HTML_OPEN_CLOSE_TAG_RE=vae;var xae=lae,wae=Yr.HTML_OPEN_CLOSE_TAG_RE,ns=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+xae.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(wae.source+"\\s*$"),/^$/,!1]],kae=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,u),r=0;r<ns.length&&!ns[r][0].test(l);r++);if(r===ns.length)return!1;if(o)return ns[r][2];if(i=n+1,!ns[r][1].test(l)){for(;i<s&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),ns[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},mu=Fe.isSpace,Cae=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(r=e.src.charCodeAt(c),r!==35||c>=u))return!1;for(i=1,r=e.src.charCodeAt(++c);r===35&&c<u&&i<=6;)i++,r=e.src.charCodeAt(++c);return i>6||c<u&&!mu(r)?!1:(o||(u=e.skipSpacesBack(u,c),a=e.skipCharsBack(u,35,c),a>c&&mu(e.src.charCodeAt(a-1))&&(u=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},Eae=function(e,n,s){var o,r,i,a,l,c,u,h,f,p=n+1,g,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";p<s&&!e.isEmpty(p);p++)if(!(e.sCount[p]-e.blkIndent>3)){if(e.sCount[p]>=e.blkIndent&&(c=e.bMarks[p]+e.tShift[p],u=e.eMarks[p],c<u&&(f=e.src.charCodeAt(c),(f===45||f===61)&&(c=e.skipChars(c,f),c=e.skipSpaces(c),c>=u)))){h=f===61?1:2;break}if(!(e.sCount[p]<0)){for(r=!1,i=0,a=m.length;i<a;i++)if(m[i](e,p,s,!0)){r=!0;break}if(r)break}}return h?(o=e.getLines(n,p,e.blkIndent,!1).trim(),e.line=p+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=g,!0):!1},Aae=function(e,n){var s,o,r,i,a,l,c=n+1,u=e.md.block.ruler.getRules("paragraph"),h=e.lineMax;for(l=e.parentType,e.parentType="paragraph";c<h&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=u.length;r<i;r++)if(u[r](e,c,h,!0)){o=!0;break}if(o)break}return s=e.getLines(n,c,e.blkIndent,!1).trim(),e.line=c,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},Af=il,Qr=Fe.isSpace;function Gt(t,e,n,s){var o,r,i,a,l,c,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=c=u=0,l=r.length;a<l;a++){if(o=r.charCodeAt(a),!h)if(Qr(o)){c++,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(c),this.sCount.push(u),this.bsCount.push(0),h=!1,c=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}Gt.prototype.push=function(t,e,n){var s=new Af(t,e,n);return s.block=!0,n<0&&this.level--,s.level=this.level,n>0&&this.level++,this.tokens.push(s),s};Gt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Gt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Gt.prototype.skipSpaces=function(e){for(var n,s=this.src.length;e<s&&(n=this.src.charCodeAt(e),!!Qr(n));e++);return e};Gt.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!Qr(this.src.charCodeAt(--e)))return e+1;return e};Gt.prototype.skipChars=function(e,n){for(var s=this.src.length;e<s&&this.src.charCodeAt(e)===n;e++);return e};Gt.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};Gt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,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?c=this.eMarks[f]+1:c=this.eMarks[f];l<c&&i<s;){if(a=this.src.charCodeAt(l),Qr(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,c):u[r]=this.src.slice(l,c)}return u.join("")};Gt.prototype.Token=Af;var Sae=Gt,Tae=rl,qo=[["table",Qie,["paragraph","reference"]],["code",Xie],["fence",eae,["paragraph","reference","blockquote","list"]],["blockquote",tae,["paragraph","reference","blockquote","list"]],["hr",sae,["paragraph","reference","blockquote","list"]],["list",rae,["paragraph","reference","blockquote"]],["reference",aae],["html_block",kae,["paragraph","reference","blockquote"]],["heading",Cae,["paragraph","reference","blockquote"]],["lheading",Eae],["paragraph",Aae]];function Xr(){this.ruler=new Tae;for(var t=0;t<qo.length;t++)this.ruler.push(qo[t][0],qo[t][1],{alt:(qo[t][2]||[]).slice()})}Xr.prototype.tokenize=function(t,e,n){for(var s,o,r=this.ruler.getRules(""),i=r.length,a=e,l=!1,c=t.md.options.maxNesting;a<n&&(t.line=a=t.skipEmptyLines(a),!(a>=n||t.sCount[a]<t.blkIndent));){if(t.level>=c){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)}};Xr.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))};Xr.prototype.State=Sae;var Dae=Xr;function Mae(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 Oae=function(e,n){for(var s=e.pos;s<e.posMax&&!Mae(e.src.charCodeAt(s));)s++;return s===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,s)),e.pos=s,!0)},Lae=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,jae=function(e,n){var s,o,r,i,a,l,c,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(Lae),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),c=e.md.normalizeLink(l),!e.md.validateLink(c))?!1:(n||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(l),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=l.length-i.length,!0)},Rae=Fe.isSpace,Pae=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&&Rae(e.src.charCodeAt(i));)i++;return e.pos=i,!0},Iae=Fe.isSpace,ll=[];for(var _u=0;_u<256;_u++)ll.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){ll[t.charCodeAt(0)]=1});var Fae=function(e,n){var s,o,r,i,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l<c&&(s=e.src.charCodeAt(l),!!Iae(s));)l++;return e.pos=l,!0}return i=e.src[l],s>=55296&&s<=56319&&l+1<c&&(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&&ll[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},$ae=function(e,n){var s,o,r,i,a,l,c,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),c=r.length,e.backticksScanned&&(e.backticks[c]||0)<=s)return n||(e.pending+=r),e.pos+=c,!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===c)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+=c,!0},ei={};ei.tokenize=function(e,n){var s,o,r,i,a,l=e.pos,c=e.src.charCodeAt(l);if(n||c!==126||(o=e.scanDelims(e.pos,!0),i=o.length,a=String.fromCharCode(c),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:c,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function yu(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)}}ei.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(yu(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&yu(e,s[n].delimiters)};var ti={};ti.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 bu(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--))}ti.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(bu(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&bu(e,s[n].delimiters)};var qae=Fe.normalizeReference,Mi=Fe.isSpace,zae=function(e,n){var s,o,r,i,a,l,c,u,h,f="",p="",g=e.pos,m=e.posMax,w=e.pos,v=!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<m&&e.src.charCodeAt(l)===40){for(v=!1,l++;l<m&&(o=e.src.charCodeAt(l),!(!Mi(o)&&o!==10));l++);if(l>=m)return!1;if(w=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(f=e.md.normalizeLink(c.str),e.md.validateLink(f)?l=c.pos:f="",w=l;l<m&&(o=e.src.charCodeAt(l),!(!Mi(o)&&o!==10));l++);if(c=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<m&&w!==l&&c.ok)for(p=c.str,l=c.pos;l<m&&(o=e.src.charCodeAt(l),!(!Mi(o)&&o!==10));l++);}(l>=m||e.src.charCodeAt(l)!==41)&&(v=!0),l++}if(v){if(typeof e.env.references>"u")return!1;if(l<m&&e.src.charCodeAt(l)===91?(w=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(w,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[qae(r)],!u)return e.pos=g,!1;f=u.href,p=u.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],p&&s.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},Bae=Fe.normalizeReference,Oi=Fe.isSpace,Nae=function(e,n){var s,o,r,i,a,l,c,u,h,f,p,g,m,w="",v=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(c=a+1,c<y&&e.src.charCodeAt(c)===40){for(c++;c<y&&(o=e.src.charCodeAt(c),!(!Oi(o)&&o!==10));c++);if(c>=y)return!1;for(m=c,h=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),h.ok&&(w=e.md.normalizeLink(h.str),e.md.validateLink(w)?c=h.pos:w=""),m=c;c<y&&(o=e.src.charCodeAt(c),!(!Oi(o)&&o!==10));c++);if(h=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<y&&m!==c&&h.ok)for(f=h.str,c=h.pos;c<y&&(o=e.src.charCodeAt(c),!(!Oi(o)&&o!==10));c++);else f="";if(c>=y||e.src.charCodeAt(c)!==41)return e.pos=v,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c<y&&e.src.charCodeAt(c)===91?(m=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?i=e.src.slice(m,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[Bae(i)],!u)return e.pos=v,!1;w=u.href,f=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,g=[]),p=e.push("image","img",0),p.attrs=s=[["src",w],["alt",""]],p.children=g,p.content=r,f&&s.push(["title",f])),e.pos=c,e.posMax=y,!0},Uae=/^([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])?)*)$/,Hae=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Vae=function(e,n){var s,o,r,i,a,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++c>=l||(i=e.src.charCodeAt(c),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,c),Hae.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):Uae.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},Gae=Yr.HTML_TAG_RE;function Kae(t){return/^<a[>\s]/i.test(t)}function Wae(t){return/^<\/a\s*>/i.test(t)}function Zae(t){var e=t|32;return e>=97&&e<=122}var Jae=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&&!Zae(s))||(o=e.src.slice(a).match(Gae),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Kae(i.content)&&e.linkLevel++,Wae(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},vu=_f,Yae=Fe.has,Qae=Fe.isValidEntityCode,xu=Fe.fromCodePoint,Xae=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ele=/^&([a-z][a-z0-9]{1,31});/i,tle=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(Xae),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=Qae(o)?xu(o):xu(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(ele),r&&Yae(vu,r[1]))return n||(i=e.push("text_special","",0),i.content=vu[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function wu(t,e){var n,s,o,r,i,a,l,c,u={},h=e.length;if(h){var f=0,p=-2,g=[];for(n=0;n<h;n++)if(o=e[n],g.push(0),(e[f].marker!==o.marker||p!==o.token-1)&&(f=n),p=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-g[f]-1,a=s;s>i;s-=g[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){c=s>0&&!e[s-1].open?g[s-1]+1:0,g[n]=n-s+c,g[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,p=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var nle=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(wu(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&wu(e,s[n].delimiters)},sle=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)},cl=il,ku=Fe.isWhiteSpace,Cu=Fe.isPunctChar,Eu=Fe.isMdAsciiPunct;function Eo(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}Eo.prototype.pushPending=function(){var t=new cl("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};Eo.prototype.push=function(t,e,n){this.pending&&this.pushPending();var s=new cl(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};Eo.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,u,h,f=!0,p=!0,g=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n<g&&this.src.charCodeAt(n)===m;)n++;return r=n-t,o=n<g?this.src.charCodeAt(n):32,c=Eu(s)||Cu(String.fromCharCode(s)),h=Eu(o)||Cu(String.fromCharCode(o)),l=ku(s),u=ku(o),u?f=!1:h&&(l||c||(f=!1)),l?p=!1:c&&(u||h||(p=!1)),e?(i=f,a=p):(i=f&&(!p||c),a=p&&(!f||h)),{can_open:i,can_close:a,length:r}};Eo.prototype.Token=cl;var ole=Eo,Au=rl,Li=[["text",Oae],["linkify",jae],["newline",Pae],["escape",Fae],["backticks",$ae],["strikethrough",ei.tokenize],["emphasis",ti.tokenize],["link",zae],["image",Nae],["autolink",Vae],["html_inline",Jae],["entity",tle]],ji=[["balance_pairs",nle],["strikethrough",ei.postProcess],["emphasis",ti.postProcess],["fragments_join",sle]];function Ao(){var t;for(this.ruler=new Au,t=0;t<Li.length;t++)this.ruler.push(Li[t][0],Li[t][1]);for(this.ruler2=new Au,t=0;t<ji.length;t++)this.ruler2.push(ji[t][0],ji[t][1])}Ao.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};Ao.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()};Ao.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)};Ao.prototype.State=ole;var rle=Ao,Ri,Su;function ile(){return Su||(Su=1,Ri=function(t){var e={};t=t||{},e.src_Any=yf().source,e.src_Cc=bf().source,e.src_Z=vf().source,e.src_P=ol.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}),Ri}function ha(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 ni(t){return Object.prototype.toString.call(t)}function ale(t){return ni(t)==="[object String]"}function lle(t){return ni(t)==="[object Object]"}function cle(t){return ni(t)==="[object RegExp]"}function Tu(t){return ni(t)==="[object Function]"}function ule(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Sf={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function dle(t){return Object.keys(t||{}).reduce(function(e,n){return e||Sf.hasOwnProperty(n)},!1)}var hle={"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}}},fle="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]",ple="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function gle(t){t.__index__=-1,t.__text_cache__=""}function mle(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Du(){return function(t,e){e.normalize(t)}}function gr(t){var e=t.re=ile()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(fle),n.push(e.src_xn),e.src_tlds=n.join("|");function s(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function r(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var c={validate:null,link:null};if(t.__compiled__[a]=c,lle(l)){cle(l.validate)?c.validate=mle(l.validate):Tu(l.validate)?c.validate=l.validate:r(a,l),Tu(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Du();return}if(ale(l)){o.push(a);return}r(a,l)}}),o.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:Du()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(ule).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"),gle(t)}function _le(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 fa(t,e){var n=new _le(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function ft(t,e){if(!(this instanceof ft))return new ft(t,e);e||dle(t)&&(e=t,t={}),this.__opts__=ha({},Sf,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ha({},hle,t),this.__compiled__={},this.__tlds__=ple,this.__tlds_replaced__=!1,this.re={},gr(this)}ft.prototype.add=function(e,n){return this.__schemas__[e]=n,gr(this),this};ft.prototype.set=function(e){return this.__opts__=ha(this.__opts__,e),this};ft.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,c,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<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};ft.prototype.pretest=function(e){return this.re.pretest.test(e)};ft.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};ft.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(fa(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(fa(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};ft.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,fa(this,0)):null};ft.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(),gr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,gr(this),this)};ft.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};ft.prototype.onCompile=function(){};var yle=ft;const fs=2147483647,$t=36,ul=1,po=26,ble=38,vle=700,Tf=72,Df=128,Mf="-",xle=/^xn--/,wle=/[^\0-\x7F]/,kle=/[\x2E\u3002\uFF0E\uFF61]/g,Cle={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Pi=$t-ul,qt=Math.floor,Ii=String.fromCharCode;function pn(t){throw new RangeError(Cle[t])}function Ele(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function Of(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(kle,".");const o=t.split("."),r=Ele(o,e).join(".");return s+r}function dl(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 Lf=t=>String.fromCodePoint(...t),Ale=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:$t},Mu=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},jf=function(t,e,n){let s=0;for(t=n?qt(t/vle):t>>1,t+=qt(t/e);t>Pi*po>>1;s+=$t)t=qt(t/Pi);return qt(s+(Pi+1)*t/(t+ble))},hl=function(t){const e=[],n=t.length;let s=0,o=Df,r=Tf,i=t.lastIndexOf(Mf);i<0&&(i=0);for(let a=0;a<i;++a)t.charCodeAt(a)>=128&&pn("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=$t;;h+=$t){a>=n&&pn("invalid-input");const f=Ale(t.charCodeAt(a++));f>=$t&&pn("invalid-input"),f>qt((fs-s)/u)&&pn("overflow"),s+=f*u;const p=h<=r?ul:h>=r+po?po:h-r;if(f<p)break;const g=$t-p;u>qt(fs/g)&&pn("overflow"),u*=g}const c=e.length+1;r=jf(s-l,c,l==0),qt(s/c)>fs-o&&pn("overflow"),o+=qt(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},fl=function(t){const e=[];t=dl(t);const n=t.length;let s=Df,o=0,r=Tf;for(const l of t)l<128&&e.push(Ii(l));const i=e.length;let a=i;for(i&&e.push(Mf);a<n;){let l=fs;for(const u of t)u>=s&&u<l&&(l=u);const c=a+1;l-s>qt((fs-o)/c)&&pn("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(u<s&&++o>fs&&pn("overflow"),u===s){let h=o;for(let f=$t;;f+=$t){const p=f<=r?ul:f>=r+po?po:f-r;if(h<p)break;const g=h-p,m=$t-p;e.push(Ii(Mu(p+g%m,0))),h=qt(g/m)}e.push(Ii(Mu(h,0))),r=jf(o,c,a===i),o=0,++a}++o,++s}return e.join("")},Rf=function(t){return Of(t,function(e){return xle.test(e)?hl(e.slice(4).toLowerCase()):e})},Pf=function(t){return Of(t,function(e){return wle.test(e)?"xn--"+fl(e):e})},Sle={version:"2.1.0",ucs2:{decode:dl,encode:Lf},decode:hl,encode:fl,toASCII:Pf,toUnicode:Rf},Tle=Object.freeze(Object.defineProperty({__proto__:null,decode:hl,default:Sle,encode:fl,toASCII:Pf,toUnicode:Rf,ucs2decode:dl,ucs2encode:Lf},Symbol.toStringTag,{value:"Module"})),Dle=q_(Tle);var Mle={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Ole={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"]}}},Lle={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"]}}},Ys=Fe,jle=Jr,Rle=Sie,Ple=Yie,Ile=Dae,Fle=rle,$le=yle,Nn=Is,If=Dle,qle={default:Mle,zero:Ole,commonmark:Lle},zle=/^(vbscript|javascript|file|data):/,Ble=/^data:image\/(gif|png|jpeg|webp);/;function Nle(t){var e=t.trim().toLowerCase();return zle.test(e)?!!Ble.test(e):!0}var Ff=["http:","https:","mailto:"];function Ule(t){var e=Nn.parse(t,!0);if(e.hostname&&(!e.protocol||Ff.indexOf(e.protocol)>=0))try{e.hostname=If.toASCII(e.hostname)}catch{}return Nn.encode(Nn.format(e))}function Hle(t){var e=Nn.parse(t,!0);if(e.hostname&&(!e.protocol||Ff.indexOf(e.protocol)>=0))try{e.hostname=If.toUnicode(e.hostname)}catch{}return Nn.decode(Nn.format(e),Nn.decode.defaultChars+"%")}function kt(t,e){if(!(this instanceof kt))return new kt(t,e);e||Ys.isString(t)||(e=t||{},t="default"),this.inline=new Fle,this.block=new Ile,this.core=new Ple,this.renderer=new Rle,this.linkify=new $le,this.validateLink=Nle,this.normalizeLink=Ule,this.normalizeLinkText=Hle,this.utils=Ys,this.helpers=Ys.assign({},jle),this.options={},this.configure(t),e&&this.set(e)}kt.prototype.set=function(t){return Ys.assign(this.options,t),this};kt.prototype.configure=function(t){var e=this,n;if(Ys.isString(t)&&(n=t,t=qle[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};kt.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};kt.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};kt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};kt.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};kt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};kt.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};kt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Vle=kt,Gle=Vle;const Kle=js(Gle),Wle="😀",Zle="😃",Jle="😄",Yle="😁",Qle="😆",Xle="😆",ece="😅",tce="🤣",nce="😂",sce="🙂",oce="🙃",rce="😉",ice="😊",ace="😇",lce="🥰",cce="😍",uce="🤩",dce="😘",hce="😗",fce="☺️",pce="😚",gce="😙",mce="🥲",_ce="😋",yce="😛",bce="😜",vce="🤪",xce="😝",wce="🤑",kce="🤗",Cce="🤭",Ece="🤫",Ace="🤔",Sce="🤐",Tce="🤨",Dce="😐",Mce="😑",Oce="😶",Lce="😏",jce="😒",Rce="🙄",Pce="😬",Ice="🤥",Fce="😌",$ce="😔",qce="😪",zce="🤤",Bce="😴",Nce="😷",Uce="🤒",Hce="🤕",Vce="🤢",Gce="🤮",Kce="🤧",Wce="🥵",Zce="🥶",Jce="🥴",Yce="😵",Qce="🤯",Xce="🤠",eue="🥳",tue="🥸",nue="😎",sue="🤓",oue="🧐",rue="😕",iue="😟",aue="🙁",lue="☹️",cue="😮",uue="😯",due="😲",hue="😳",fue="🥺",pue="😦",gue="😧",mue="😨",_ue="😰",yue="😥",bue="😢",vue="😭",xue="😱",wue="😖",kue="😣",Cue="😞",Eue="😓",Aue="😩",Sue="😫",Tue="🥱",Due="😤",Mue="😡",Oue="😡",Lue="😠",jue="🤬",Rue="😈",Pue="👿",Iue="💀",Fue="☠️",$ue="💩",que="💩",zue="💩",Bue="🤡",Nue="👹",Uue="👺",Hue="👻",Vue="👽",Gue="👾",Kue="🤖",Wue="😺",Zue="😸",Jue="😹",Yue="😻",Que="😼",Xue="😽",ede="🙀",tde="😿",nde="😾",sde="🙈",ode="🙉",rde="🙊",ide="💋",ade="💌",lde="💘",cde="💝",ude="💖",dde="💗",hde="💓",fde="💞",pde="💕",gde="💟",mde="❣️",_de="💔",yde="❤️",bde="🧡",vde="💛",xde="💚",wde="💙",kde="💜",Cde="🤎",Ede="🖤",Ade="🤍",Sde="💢",Tde="💥",Dde="💥",Mde="💫",Ode="💦",Lde="💨",jde="🕳️",Rde="💣",Pde="💬",Ide="👁️🗨️",Fde="🗨️",$de="🗯️",qde="💭",zde="💤",Bde="👋",Nde="🤚",Ude="🖐️",Hde="✋",Vde="✋",Gde="🖖",Kde="👌",Wde="🤌",Zde="🤏",Jde="✌️",Yde="🤞",Qde="🤟",Xde="🤘",ehe="🤙",the="👈",nhe="👉",she="👆",ohe="🖕",rhe="🖕",ihe="👇",ahe="☝️",lhe="👍",che="👎",uhe="✊",dhe="✊",hhe="👊",fhe="👊",phe="👊",ghe="🤛",mhe="🤜",_he="👏",yhe="🙌",bhe="👐",vhe="🤲",xhe="🤝",whe="🙏",khe="✍️",Che="💅",Ehe="🤳",Ahe="💪",She="🦾",The="🦿",Dhe="🦵",Mhe="🦶",Ohe="👂",Lhe="🦻",jhe="👃",Rhe="🧠",Phe="🫀",Ihe="🫁",Fhe="🦷",$he="🦴",qhe="👀",zhe="👁️",Bhe="👅",Nhe="👄",Uhe="👶",Hhe="🧒",Vhe="👦",Ghe="👧",Khe="🧑",Whe="👱",Zhe="👨",Jhe="🧔",Yhe="👨🦰",Qhe="👨🦱",Xhe="👨🦳",efe="👨🦲",tfe="👩",nfe="👩🦰",sfe="🧑🦰",ofe="👩🦱",rfe="🧑🦱",ife="👩🦳",afe="🧑🦳",lfe="👩🦲",cfe="🧑🦲",ufe="👱♀️",dfe="👱♀️",hfe="👱♂️",ffe="🧓",pfe="👴",gfe="👵",mfe="🙍",_fe="🙍♂️",yfe="🙍♀️",bfe="🙎",vfe="🙎♂️",xfe="🙎♀️",wfe="🙅",kfe="🙅♂️",Cfe="🙅♂️",Efe="🙅♀️",Afe="🙅♀️",Sfe="🙆",Tfe="🙆♂️",Dfe="🙆♀️",Mfe="💁",Ofe="💁",Lfe="💁♂️",jfe="💁♂️",Rfe="💁♀️",Pfe="💁♀️",Ife="🙋",Ffe="🙋♂️",$fe="🙋♀️",qfe="🧏",zfe="🧏♂️",Bfe="🧏♀️",Nfe="🙇",Ufe="🙇♂️",Hfe="🙇♀️",Vfe="🤦",Gfe="🤦♂️",Kfe="🤦♀️",Wfe="🤷",Zfe="🤷♂️",Jfe="🤷♀️",Yfe="🧑⚕️",Qfe="👨⚕️",Xfe="👩⚕️",epe="🧑🎓",tpe="👨🎓",npe="👩🎓",spe="🧑🏫",ope="👨🏫",rpe="👩🏫",ipe="🧑⚖️",ape="👨⚖️",lpe="👩⚖️",cpe="🧑🌾",upe="👨🌾",dpe="👩🌾",hpe="🧑🍳",fpe="👨🍳",ppe="👩🍳",gpe="🧑🔧",mpe="👨🔧",_pe="👩🔧",ype="🧑🏭",bpe="👨🏭",vpe="👩🏭",xpe="🧑💼",wpe="👨💼",kpe="👩💼",Cpe="🧑🔬",Epe="👨🔬",Ape="👩🔬",Spe="🧑💻",Tpe="👨💻",Dpe="👩💻",Mpe="🧑🎤",Ope="👨🎤",Lpe="👩🎤",jpe="🧑🎨",Rpe="👨🎨",Ppe="👩🎨",Ipe="🧑✈️",Fpe="👨✈️",$pe="👩✈️",qpe="🧑🚀",zpe="👨🚀",Bpe="👩🚀",Npe="🧑🚒",Upe="👨🚒",Hpe="👩🚒",Vpe="👮",Gpe="👮",Kpe="👮♂️",Wpe="👮♀️",Zpe="🕵️",Jpe="🕵️♂️",Ype="🕵️♀️",Qpe="💂",Xpe="💂♂️",ege="💂♀️",tge="🥷",nge="👷",sge="👷♂️",oge="👷♀️",rge="🤴",ige="👸",age="👳",lge="👳♂️",cge="👳♀️",uge="👲",dge="🧕",hge="🤵",fge="🤵♂️",pge="🤵♀️",gge="👰",mge="👰♂️",_ge="👰♀️",yge="👰♀️",bge="🤰",vge="🤱",xge="👩🍼",wge="👨🍼",kge="🧑🍼",Cge="👼",Ege="🎅",Age="🤶",Sge="🧑🎄",Tge="🦸",Dge="🦸♂️",Mge="🦸♀️",Oge="🦹",Lge="🦹♂️",jge="🦹♀️",Rge="🧙",Pge="🧙♂️",Ige="🧙♀️",Fge="🧚",$ge="🧚♂️",qge="🧚♀️",zge="🧛",Bge="🧛♂️",Nge="🧛♀️",Uge="🧜",Hge="🧜♂️",Vge="🧜♀️",Gge="🧝",Kge="🧝♂️",Wge="🧝♀️",Zge="🧞",Jge="🧞♂️",Yge="🧞♀️",Qge="🧟",Xge="🧟♂️",e1e="🧟♀️",t1e="💆",n1e="💆♂️",s1e="💆♀️",o1e="💇",r1e="💇♂️",i1e="💇♀️",a1e="🚶",l1e="🚶♂️",c1e="🚶♀️",u1e="🧍",d1e="🧍♂️",h1e="🧍♀️",f1e="🧎",p1e="🧎♂️",g1e="🧎♀️",m1e="🧑🦯",_1e="👨🦯",y1e="👩🦯",b1e="🧑🦼",v1e="👨🦼",x1e="👩🦼",w1e="🧑🦽",k1e="👨🦽",C1e="👩🦽",E1e="🏃",A1e="🏃",S1e="🏃♂️",T1e="🏃♀️",D1e="💃",M1e="💃",O1e="🕺",L1e="🕴️",j1e="👯",R1e="👯♂️",P1e="👯♀️",I1e="🧖",F1e="🧖♂️",$1e="🧖♀️",q1e="🧗",z1e="🧗♂️",B1e="🧗♀️",N1e="🤺",U1e="🏇",H1e="⛷️",V1e="🏂",G1e="🏌️",K1e="🏌️♂️",W1e="🏌️♀️",Z1e="🏄",J1e="🏄♂️",Y1e="🏄♀️",Q1e="🚣",X1e="🚣♂️",eme="🚣♀️",tme="🏊",nme="🏊♂️",sme="🏊♀️",ome="⛹️",rme="⛹️♂️",ime="⛹️♂️",ame="⛹️♀️",lme="⛹️♀️",cme="🏋️",ume="🏋️♂️",dme="🏋️♀️",hme="🚴",fme="🚴♂️",pme="🚴♀️",gme="🚵",mme="🚵♂️",_me="🚵♀️",yme="🤸",bme="🤸♂️",vme="🤸♀️",xme="🤼",wme="🤼♂️",kme="🤼♀️",Cme="🤽",Eme="🤽♂️",Ame="🤽♀️",Sme="🤾",Tme="🤾♂️",Dme="🤾♀️",Mme="🤹",Ome="🤹♂️",Lme="🤹♀️",jme="🧘",Rme="🧘♂️",Pme="🧘♀️",Ime="🛀",Fme="🛌",$me="🧑🤝🧑",qme="👭",zme="👫",Bme="👬",Nme="💏",Ume="👩❤️💋👨",Hme="👨❤️💋👨",Vme="👩❤️💋👩",Gme="💑",Kme="👩❤️👨",Wme="👨❤️👨",Zme="👩❤️👩",Jme="👪",Yme="👨👩👦",Qme="👨👩👧",Xme="👨👩👧👦",e_e="👨👩👦👦",t_e="👨👩👧👧",n_e="👨👨👦",s_e="👨👨👧",o_e="👨👨👧👦",r_e="👨👨👦👦",i_e="👨👨👧👧",a_e="👩👩👦",l_e="👩👩👧",c_e="👩👩👧👦",u_e="👩👩👦👦",d_e="👩👩👧👧",h_e="👨👦",f_e="👨👦👦",p_e="👨👧",g_e="👨👧👦",m_e="👨👧👧",__e="👩👦",y_e="👩👦👦",b_e="👩👧",v_e="👩👧👦",x_e="👩👧👧",w_e="🗣️",k_e="👤",C_e="👥",E_e="🫂",A_e="👣",S_e="🐵",T_e="🐒",D_e="🦍",M_e="🦧",O_e="🐶",L_e="🐕",j_e="🦮",R_e="🐕🦺",P_e="🐩",I_e="🐺",F_e="🦊",$_e="🦝",q_e="🐱",z_e="🐈",B_e="🐈⬛",N_e="🦁",U_e="🐯",H_e="🐅",V_e="🐆",G_e="🐴",K_e="🐎",W_e="🦄",Z_e="🦓",J_e="🦌",Y_e="🦬",Q_e="🐮",X_e="🐂",e0e="🐃",t0e="🐄",n0e="🐷",s0e="🐖",o0e="🐗",r0e="🐽",i0e="🐏",a0e="🐑",l0e="🐐",c0e="🐪",u0e="🐫",d0e="🦙",h0e="🦒",f0e="🐘",p0e="🦣",g0e="🦏",m0e="🦛",_0e="🐭",y0e="🐁",b0e="🐀",v0e="🐹",x0e="🐰",w0e="🐇",k0e="🐿️",C0e="🦫",E0e="🦔",A0e="🦇",S0e="🐻",T0e="🐻❄️",D0e="🐨",M0e="🐼",O0e="🦥",L0e="🦦",j0e="🦨",R0e="🦘",P0e="🦡",I0e="🐾",F0e="🐾",$0e="🦃",q0e="🐔",z0e="🐓",B0e="🐣",N0e="🐤",U0e="🐥",H0e="🐦",V0e="🐧",G0e="🕊️",K0e="🦅",W0e="🦆",Z0e="🦢",J0e="🦉",Y0e="🦤",Q0e="🪶",X0e="🦩",eye="🦚",tye="🦜",nye="🐸",sye="🐊",oye="🐢",rye="🦎",iye="🐍",aye="🐲",lye="🐉",cye="🦕",uye="🐳",dye="🐋",hye="🐬",fye="🐬",pye="🦭",gye="🐟",mye="🐠",_ye="🐡",yye="🦈",bye="🐙",vye="🐚",xye="🐌",wye="🦋",kye="🐛",Cye="🐜",Eye="🐝",Aye="🐝",Sye="🪲",Tye="🐞",Dye="🦗",Mye="🪳",Oye="🕷️",Lye="🕸️",jye="🦂",Rye="🦟",Pye="🪰",Iye="🪱",Fye="🦠",$ye="💐",qye="🌸",zye="💮",Bye="🏵️",Nye="🌹",Uye="🥀",Hye="🌺",Vye="🌻",Gye="🌼",Kye="🌷",Wye="🌱",Zye="🪴",Jye="🌲",Yye="🌳",Qye="🌴",Xye="🌵",ebe="🌾",tbe="🌿",nbe="☘️",sbe="🍀",obe="🍁",rbe="🍂",ibe="🍃",abe="🍇",lbe="🍈",cbe="🍉",ube="🍊",dbe="🍊",hbe="🍊",fbe="🍋",pbe="🍌",gbe="🍍",mbe="🥭",_be="🍎",ybe="🍏",bbe="🍐",vbe="🍑",xbe="🍒",wbe="🍓",kbe="🫐",Cbe="🥝",Ebe="🍅",Abe="🫒",Sbe="🥥",Tbe="🥑",Dbe="🍆",Mbe="🥔",Obe="🥕",Lbe="🌽",jbe="🌶️",Rbe="🫑",Pbe="🥒",Ibe="🥬",Fbe="🥦",$be="🧄",qbe="🧅",zbe="🍄",Bbe="🥜",Nbe="🌰",Ube="🍞",Hbe="🥐",Vbe="🥖",Gbe="🫓",Kbe="🥨",Wbe="🥯",Zbe="🥞",Jbe="🧇",Ybe="🧀",Qbe="🍖",Xbe="🍗",e2e="🥩",t2e="🥓",n2e="🍔",s2e="🍟",o2e="🍕",r2e="🌭",i2e="🥪",a2e="🌮",l2e="🌯",c2e="🫔",u2e="🥙",d2e="🧆",h2e="🥚",f2e="🍳",p2e="🥘",g2e="🍲",m2e="🫕",_2e="🥣",y2e="🥗",b2e="🍿",v2e="🧈",x2e="🧂",w2e="🥫",k2e="🍱",C2e="🍘",E2e="🍙",A2e="🍚",S2e="🍛",T2e="🍜",D2e="🍝",M2e="🍠",O2e="🍢",L2e="🍣",j2e="🍤",R2e="🍥",P2e="🥮",I2e="🍡",F2e="🥟",$2e="🥠",q2e="🥡",z2e="🦀",B2e="🦞",N2e="🦐",U2e="🦑",H2e="🦪",V2e="🍦",G2e="🍧",K2e="🍨",W2e="🍩",Z2e="🍪",J2e="🎂",Y2e="🍰",Q2e="🧁",X2e="🥧",eve="🍫",tve="🍬",nve="🍭",sve="🍮",ove="🍯",rve="🍼",ive="🥛",ave="☕",lve="🫖",cve="🍵",uve="🍶",dve="🍾",hve="🍷",fve="🍸",pve="🍹",gve="🍺",mve="🍻",_ve="🥂",yve="🥃",bve="🥤",vve="🧋",xve="🧃",wve="🧉",kve="🧊",Cve="🥢",Eve="🍽️",Ave="🍴",Sve="🥄",Tve="🔪",Dve="🔪",Mve="🏺",Ove="🌍",Lve="🌎",jve="🌏",Rve="🌐",Pve="🗺️",Ive="🗾",Fve="🧭",$ve="🏔️",qve="⛰️",zve="🌋",Bve="🗻",Nve="🏕️",Uve="🏖️",Hve="🏜️",Vve="🏝️",Gve="🏞️",Kve="🏟️",Wve="🏛️",Zve="🏗️",Jve="🧱",Yve="🪨",Qve="🪵",Xve="🛖",exe="🏘️",txe="🏚️",nxe="🏠",sxe="🏡",oxe="🏢",rxe="🏣",ixe="🏤",axe="🏥",lxe="🏦",cxe="🏨",uxe="🏩",dxe="🏪",hxe="🏫",fxe="🏬",pxe="🏭",gxe="🏯",mxe="🏰",_xe="💒",yxe="🗼",bxe="🗽",vxe="⛪",xxe="🕌",wxe="🛕",kxe="🕍",Cxe="⛩️",Exe="🕋",Axe="⛲",Sxe="⛺",Txe="🌁",Dxe="🌃",Mxe="🏙️",Oxe="🌄",Lxe="🌅",jxe="🌆",Rxe="🌇",Pxe="🌉",Ixe="♨️",Fxe="🎠",$xe="🎡",qxe="🎢",zxe="💈",Bxe="🎪",Nxe="🚂",Uxe="🚃",Hxe="🚄",Vxe="🚅",Gxe="🚆",Kxe="🚇",Wxe="🚈",Zxe="🚉",Jxe="🚊",Yxe="🚝",Qxe="🚞",Xxe="🚋",ewe="🚌",twe="🚍",nwe="🚎",swe="🚐",owe="🚑",rwe="🚒",iwe="🚓",awe="🚔",lwe="🚕",cwe="🚖",uwe="🚗",dwe="🚗",hwe="🚘",fwe="🚙",pwe="🛻",gwe="🚚",mwe="🚛",_we="🚜",ywe="🏎️",bwe="🏍️",vwe="🛵",xwe="🦽",wwe="🦼",kwe="🛺",Cwe="🚲",Ewe="🛴",Awe="🛹",Swe="🛼",Twe="🚏",Dwe="🛣️",Mwe="🛤️",Owe="🛢️",Lwe="⛽",jwe="🚨",Rwe="🚥",Pwe="🚦",Iwe="🛑",Fwe="🚧",$we="⚓",qwe="⛵",zwe="⛵",Bwe="🛶",Nwe="🚤",Uwe="🛳️",Hwe="⛴️",Vwe="🛥️",Gwe="🚢",Kwe="✈️",Wwe="🛩️",Zwe="🛫",Jwe="🛬",Ywe="🪂",Qwe="💺",Xwe="🚁",eke="🚟",tke="🚠",nke="🚡",ske="🛰️",oke="🚀",rke="🛸",ike="🛎️",ake="🧳",lke="⌛",cke="⏳",uke="⌚",dke="⏰",hke="⏱️",fke="⏲️",pke="🕰️",gke="🕛",mke="🕧",_ke="🕐",yke="🕜",bke="🕑",vke="🕝",xke="🕒",wke="🕞",kke="🕓",Cke="🕟",Eke="🕔",Ake="🕠",Ske="🕕",Tke="🕡",Dke="🕖",Mke="🕢",Oke="🕗",Lke="🕣",jke="🕘",Rke="🕤",Pke="🕙",Ike="🕥",Fke="🕚",$ke="🕦",qke="🌑",zke="🌒",Bke="🌓",Nke="🌔",Uke="🌔",Hke="🌕",Vke="🌖",Gke="🌗",Kke="🌘",Wke="🌙",Zke="🌚",Jke="🌛",Yke="🌜",Qke="🌡️",Xke="☀️",e5e="🌝",t5e="🌞",n5e="🪐",s5e="⭐",o5e="🌟",r5e="🌠",i5e="🌌",a5e="☁️",l5e="⛅",c5e="⛈️",u5e="🌤️",d5e="🌥️",h5e="🌦️",f5e="🌧️",p5e="🌨️",g5e="🌩️",m5e="🌪️",_5e="🌫️",y5e="🌬️",b5e="🌀",v5e="🌈",x5e="🌂",w5e="☂️",k5e="☔",C5e="⛱️",E5e="⚡",A5e="❄️",S5e="☃️",T5e="⛄",D5e="☄️",M5e="🔥",O5e="💧",L5e="🌊",j5e="🎃",R5e="🎄",P5e="🎆",I5e="🎇",F5e="🧨",$5e="✨",q5e="🎈",z5e="🎉",B5e="🎊",N5e="🎋",U5e="🎍",H5e="🎎",V5e="🎏",G5e="🎐",K5e="🎑",W5e="🧧",Z5e="🎀",J5e="🎁",Y5e="🎗️",Q5e="🎟️",X5e="🎫",e4e="🎖️",t4e="🏆",n4e="🏅",s4e="⚽",o4e="⚾",r4e="🥎",i4e="🏀",a4e="🏐",l4e="🏈",c4e="🏉",u4e="🎾",d4e="🥏",h4e="🎳",f4e="🏏",p4e="🏑",g4e="🏒",m4e="🥍",_4e="🏓",y4e="🏸",b4e="🥊",v4e="🥋",x4e="🥅",w4e="⛳",k4e="⛸️",C4e="🎣",E4e="🤿",A4e="🎽",S4e="🎿",T4e="🛷",D4e="🥌",M4e="🎯",O4e="🪀",L4e="🪁",j4e="🔮",R4e="🪄",P4e="🧿",I4e="🎮",F4e="🕹️",$4e="🎰",q4e="🎲",z4e="🧩",B4e="🧸",N4e="🪅",U4e="🪆",H4e="♠️",V4e="♥️",G4e="♦️",K4e="♣️",W4e="♟️",Z4e="🃏",J4e="🀄",Y4e="🎴",Q4e="🎭",X4e="🖼️",e3e="🎨",t3e="🧵",n3e="🪡",s3e="🧶",o3e="🪢",r3e="👓",i3e="🕶️",a3e="🥽",l3e="🥼",c3e="🦺",u3e="👔",d3e="👕",h3e="👕",f3e="👖",p3e="🧣",g3e="🧤",m3e="🧥",_3e="🧦",y3e="👗",b3e="👘",v3e="🥻",x3e="🩱",w3e="🩲",k3e="🩳",C3e="👙",E3e="👚",A3e="👛",S3e="👜",T3e="👝",D3e="🛍️",M3e="🎒",O3e="🩴",L3e="👞",j3e="👞",R3e="👟",P3e="🥾",I3e="🥿",F3e="👠",$3e="👡",q3e="🩰",z3e="👢",B3e="👑",N3e="👒",U3e="🎩",H3e="🎓",V3e="🧢",G3e="🪖",K3e="⛑️",W3e="📿",Z3e="💄",J3e="💍",Y3e="💎",Q3e="🔇",X3e="🔈",e8e="🔉",t8e="🔊",n8e="📢",s8e="📣",o8e="📯",r8e="🔔",i8e="🔕",a8e="🎼",l8e="🎵",c8e="🎶",u8e="🎙️",d8e="🎚️",h8e="🎛️",f8e="🎤",p8e="🎧",g8e="📻",m8e="🎷",_8e="🪗",y8e="🎸",b8e="🎹",v8e="🎺",x8e="🎻",w8e="🪕",k8e="🥁",C8e="🪘",E8e="📱",A8e="📲",S8e="☎️",T8e="☎️",D8e="📞",M8e="📟",O8e="📠",L8e="🔋",j8e="🔌",R8e="💻",P8e="🖥️",I8e="🖨️",F8e="⌨️",$8e="🖱️",q8e="🖲️",z8e="💽",B8e="💾",N8e="💿",U8e="📀",H8e="🧮",V8e="🎥",G8e="🎞️",K8e="📽️",W8e="🎬",Z8e="📺",J8e="📷",Y8e="📸",Q8e="📹",X8e="📼",eCe="🔍",tCe="🔎",nCe="🕯️",sCe="💡",oCe="🔦",rCe="🏮",iCe="🏮",aCe="🪔",lCe="📔",cCe="📕",uCe="📖",dCe="📖",hCe="📗",fCe="📘",pCe="📙",gCe="📚",mCe="📓",_Ce="📒",yCe="📃",bCe="📜",vCe="📄",xCe="📰",wCe="🗞️",kCe="📑",CCe="🔖",ECe="🏷️",ACe="💰",SCe="🪙",TCe="💴",DCe="💵",MCe="💶",OCe="💷",LCe="💸",jCe="💳",RCe="🧾",PCe="💹",ICe="✉️",FCe="📧",$Ce="📨",qCe="📩",zCe="📤",BCe="📥",NCe="📫",UCe="📪",HCe="📬",VCe="📭",GCe="📮",KCe="🗳️",WCe="✏️",ZCe="✒️",JCe="🖋️",YCe="🖊️",QCe="🖌️",XCe="🖍️",eEe="📝",tEe="📝",nEe="💼",sEe="📁",oEe="📂",rEe="🗂️",iEe="📅",aEe="📆",lEe="🗒️",cEe="🗓️",uEe="📇",dEe="📈",hEe="📉",fEe="📊",pEe="📋",gEe="📌",mEe="📍",_Ee="📎",yEe="🖇️",bEe="📏",vEe="📐",xEe="✂️",wEe="🗃️",kEe="🗄️",CEe="🗑️",EEe="🔒",AEe="🔓",SEe="🔏",TEe="🔐",DEe="🔑",MEe="🗝️",OEe="🔨",LEe="🪓",jEe="⛏️",REe="⚒️",PEe="🛠️",IEe="🗡️",FEe="⚔️",$Ee="🔫",qEe="🪃",zEe="🏹",BEe="🛡️",NEe="🪚",UEe="🔧",HEe="🪛",VEe="🔩",GEe="⚙️",KEe="🗜️",WEe="⚖️",ZEe="🦯",JEe="🔗",YEe="⛓️",QEe="🪝",XEe="🧰",e6e="🧲",t6e="🪜",n6e="⚗️",s6e="🧪",o6e="🧫",r6e="🧬",i6e="🔬",a6e="🔭",l6e="📡",c6e="💉",u6e="🩸",d6e="💊",h6e="🩹",f6e="🩺",p6e="🚪",g6e="🛗",m6e="🪞",_6e="🪟",y6e="🛏️",b6e="🛋️",v6e="🪑",x6e="🚽",w6e="🪠",k6e="🚿",C6e="🛁",E6e="🪤",A6e="🪒",S6e="🧴",T6e="🧷",D6e="🧹",M6e="🧺",O6e="🧻",L6e="🪣",j6e="🧼",R6e="🪥",P6e="🧽",I6e="🧯",F6e="🛒",$6e="🚬",q6e="⚰️",z6e="🪦",B6e="⚱️",N6e="🗿",U6e="🪧",H6e="🏧",V6e="🚮",G6e="🚰",K6e="♿",W6e="🚹",Z6e="🚺",J6e="🚻",Y6e="🚼",Q6e="🚾",X6e="🛂",e9e="🛃",t9e="🛄",n9e="🛅",s9e="⚠️",o9e="🚸",r9e="⛔",i9e="🚫",a9e="🚳",l9e="🚭",c9e="🚯",u9e="🚷",d9e="📵",h9e="🔞",f9e="☢️",p9e="☣️",g9e="⬆️",m9e="↗️",_9e="➡️",y9e="↘️",b9e="⬇️",v9e="↙️",x9e="⬅️",w9e="↖️",k9e="↕️",C9e="↔️",E9e="↩️",A9e="↪️",S9e="⤴️",T9e="⤵️",D9e="🔃",M9e="🔄",O9e="🔙",L9e="🔚",j9e="🔛",R9e="🔜",P9e="🔝",I9e="🛐",F9e="⚛️",$9e="🕉️",q9e="✡️",z9e="☸️",B9e="☯️",N9e="✝️",U9e="☦️",H9e="☪️",V9e="☮️",G9e="🕎",K9e="🔯",W9e="♈",Z9e="♉",J9e="♊",Y9e="♋",Q9e="♌",X9e="♍",eAe="♎",tAe="♏",nAe="♐",sAe="♑",oAe="♒",rAe="♓",iAe="⛎",aAe="🔀",lAe="🔁",cAe="🔂",uAe="▶️",dAe="⏩",hAe="⏭️",fAe="⏯️",pAe="◀️",gAe="⏪",mAe="⏮️",_Ae="🔼",yAe="⏫",bAe="🔽",vAe="⏬",xAe="⏸️",wAe="⏹️",kAe="⏺️",CAe="⏏️",EAe="🎦",AAe="🔅",SAe="🔆",TAe="📶",DAe="📳",MAe="📴",OAe="♀️",LAe="♂️",jAe="⚧️",RAe="✖️",PAe="➕",IAe="➖",FAe="➗",$Ae="♾️",qAe="‼️",zAe="⁉️",BAe="❓",NAe="❔",UAe="❕",HAe="❗",VAe="❗",GAe="〰️",KAe="💱",WAe="💲",ZAe="⚕️",JAe="♻️",YAe="⚜️",QAe="🔱",XAe="📛",e7e="🔰",t7e="⭕",n7e="✅",s7e="☑️",o7e="✔️",r7e="❌",i7e="❎",a7e="➰",l7e="➿",c7e="〽️",u7e="✳️",d7e="✴️",h7e="❇️",f7e="©️",p7e="®️",g7e="™️",m7e="#️⃣",_7e="*️⃣",y7e="0️⃣",b7e="1️⃣",v7e="2️⃣",x7e="3️⃣",w7e="4️⃣",k7e="5️⃣",C7e="6️⃣",E7e="7️⃣",A7e="8️⃣",S7e="9️⃣",T7e="🔟",D7e="🔠",M7e="🔡",O7e="🔣",L7e="🔤",j7e="🅰️",R7e="🆎",P7e="🅱️",I7e="🆑",F7e="🆒",$7e="🆓",q7e="ℹ️",z7e="🆔",B7e="Ⓜ️",N7e="🆖",U7e="🅾️",H7e="🆗",V7e="🅿️",G7e="🆘",K7e="🆙",W7e="🆚",Z7e="🈁",J7e="🈂️",Y7e="🉐",Q7e="🉑",X7e="㊗️",eSe="㊙️",tSe="🈵",nSe="🔴",sSe="🟠",oSe="🟡",rSe="🟢",iSe="🔵",aSe="🟣",lSe="🟤",cSe="⚫",uSe="⚪",dSe="🟥",hSe="🟧",fSe="🟨",pSe="🟩",gSe="🟦",mSe="🟪",_Se="🟫",ySe="⬛",bSe="⬜",vSe="◼️",xSe="◻️",wSe="◾",kSe="◽",CSe="▪️",ESe="▫️",ASe="🔶",SSe="🔷",TSe="🔸",DSe="🔹",MSe="🔺",OSe="🔻",LSe="💠",jSe="🔘",RSe="🔳",PSe="🔲",ISe="🏁",FSe="🚩",$Se="🎌",qSe="🏴",zSe="🏳️",BSe="🏳️🌈",NSe="🏳️⚧️",USe="🏴☠️",HSe="🇦🇨",VSe="🇦🇩",GSe="🇦🇪",KSe="🇦🇫",WSe="🇦🇬",ZSe="🇦🇮",JSe="🇦🇱",YSe="🇦🇲",QSe="🇦🇴",XSe="🇦🇶",eTe="🇦🇷",tTe="🇦🇸",nTe="🇦🇹",sTe="🇦🇺",oTe="🇦🇼",rTe="🇦🇽",iTe="🇦🇿",aTe="🇧🇦",lTe="🇧🇧",cTe="🇧🇩",uTe="🇧🇪",dTe="🇧🇫",hTe="🇧🇬",fTe="🇧🇭",pTe="🇧🇮",gTe="🇧🇯",mTe="🇧🇱",_Te="🇧🇲",yTe="🇧🇳",bTe="🇧🇴",vTe="🇧🇶",xTe="🇧🇷",wTe="🇧🇸",kTe="🇧🇹",CTe="🇧🇻",ETe="🇧🇼",ATe="🇧🇾",STe="🇧🇿",TTe="🇨🇦",DTe="🇨🇨",MTe="🇨🇩",OTe="🇨🇫",LTe="🇨🇬",jTe="🇨🇭",RTe="🇨🇮",PTe="🇨🇰",ITe="🇨🇱",FTe="🇨🇲",$Te="🇨🇳",qTe="🇨🇴",zTe="🇨🇵",BTe="🇨🇷",NTe="🇨🇺",UTe="🇨🇻",HTe="🇨🇼",VTe="🇨🇽",GTe="🇨🇾",KTe="🇨🇿",WTe="🇩🇪",ZTe="🇩🇬",JTe="🇩🇯",YTe="🇩🇰",QTe="🇩🇲",XTe="🇩🇴",eDe="🇩🇿",tDe="🇪🇦",nDe="🇪🇨",sDe="🇪🇪",oDe="🇪🇬",rDe="🇪🇭",iDe="🇪🇷",aDe="🇪🇸",lDe="🇪🇹",cDe="🇪🇺",uDe="🇪🇺",dDe="🇫🇮",hDe="🇫🇯",fDe="🇫🇰",pDe="🇫🇲",gDe="🇫🇴",mDe="🇫🇷",_De="🇬🇦",yDe="🇬🇧",bDe="🇬🇧",vDe="🇬🇩",xDe="🇬🇪",wDe="🇬🇫",kDe="🇬🇬",CDe="🇬🇭",EDe="🇬🇮",ADe="🇬🇱",SDe="🇬🇲",TDe="🇬🇳",DDe="🇬🇵",MDe="🇬🇶",ODe="🇬🇷",LDe="🇬🇸",jDe="🇬🇹",RDe="🇬🇺",PDe="🇬🇼",IDe="🇬🇾",FDe="🇭🇰",$De="🇭🇲",qDe="🇭🇳",zDe="🇭🇷",BDe="🇭🇹",NDe="🇭🇺",UDe="🇮🇨",HDe="🇮🇩",VDe="🇮🇪",GDe="🇮🇱",KDe="🇮🇲",WDe="🇮🇳",ZDe="🇮🇴",JDe="🇮🇶",YDe="🇮🇷",QDe="🇮🇸",XDe="🇮🇹",eMe="🇯🇪",tMe="🇯🇲",nMe="🇯🇴",sMe="🇯🇵",oMe="🇰🇪",rMe="🇰🇬",iMe="🇰🇭",aMe="🇰🇮",lMe="🇰🇲",cMe="🇰🇳",uMe="🇰🇵",dMe="🇰🇷",hMe="🇰🇼",fMe="🇰🇾",pMe="🇰🇿",gMe="🇱🇦",mMe="🇱🇧",_Me="🇱🇨",yMe="🇱🇮",bMe="🇱🇰",vMe="🇱🇷",xMe="🇱🇸",wMe="🇱🇹",kMe="🇱🇺",CMe="🇱🇻",EMe="🇱🇾",AMe="🇲🇦",SMe="🇲🇨",TMe="🇲🇩",DMe="🇲🇪",MMe="🇲🇫",OMe="🇲🇬",LMe="🇲🇭",jMe="🇲🇰",RMe="🇲🇱",PMe="🇲🇲",IMe="🇲🇳",FMe="🇲🇴",$Me="🇲🇵",qMe="🇲🇶",zMe="🇲🇷",BMe="🇲🇸",NMe="🇲🇹",UMe="🇲🇺",HMe="🇲🇻",VMe="🇲🇼",GMe="🇲🇽",KMe="🇲🇾",WMe="🇲🇿",ZMe="🇳🇦",JMe="🇳🇨",YMe="🇳🇪",QMe="🇳🇫",XMe="🇳🇬",eOe="🇳🇮",tOe="🇳🇱",nOe="🇳🇴",sOe="🇳🇵",oOe="🇳🇷",rOe="🇳🇺",iOe="🇳🇿",aOe="🇴🇲",lOe="🇵🇦",cOe="🇵🇪",uOe="🇵🇫",dOe="🇵🇬",hOe="🇵🇭",fOe="🇵🇰",pOe="🇵🇱",gOe="🇵🇲",mOe="🇵🇳",_Oe="🇵🇷",yOe="🇵🇸",bOe="🇵🇹",vOe="🇵🇼",xOe="🇵🇾",wOe="🇶🇦",kOe="🇷🇪",COe="🇷🇴",EOe="🇷🇸",AOe="🇷🇺",SOe="🇷🇼",TOe="🇸🇦",DOe="🇸🇧",MOe="🇸🇨",OOe="🇸🇩",LOe="🇸🇪",jOe="🇸🇬",ROe="🇸🇭",POe="🇸🇮",IOe="🇸🇯",FOe="🇸🇰",$Oe="🇸🇱",qOe="🇸🇲",zOe="🇸🇳",BOe="🇸🇴",NOe="🇸🇷",UOe="🇸🇸",HOe="🇸🇹",VOe="🇸🇻",GOe="🇸🇽",KOe="🇸🇾",WOe="🇸🇿",ZOe="🇹🇦",JOe="🇹🇨",YOe="🇹🇩",QOe="🇹🇫",XOe="🇹🇬",eLe="🇹🇭",tLe="🇹🇯",nLe="🇹🇰",sLe="🇹🇱",oLe="🇹🇲",rLe="🇹🇳",iLe="🇹🇴",aLe="🇹🇷",lLe="🇹🇹",cLe="🇹🇻",uLe="🇹🇼",dLe="🇹🇿",hLe="🇺🇦",fLe="🇺🇬",pLe="🇺🇲",gLe="🇺🇳",mLe="🇺🇸",_Le="🇺🇾",yLe="🇺🇿",bLe="🇻🇦",vLe="🇻🇨",xLe="🇻🇪",wLe="🇻🇬",kLe="🇻🇮",CLe="🇻🇳",ELe="🇻🇺",ALe="🇼🇫",SLe="🇼🇸",TLe="🇽🇰",DLe="🇾🇪",MLe="🇾🇹",OLe="🇿🇦",LLe="🇿🇲",jLe="🇿🇼",RLe="🏴",PLe="🏴",ILe="🏴",FLe={100:"💯",1234:"🔢",grinning:Wle,smiley:Zle,smile:Jle,grin:Yle,laughing:Qle,satisfied:Xle,sweat_smile:ece,rofl:tce,joy:nce,slightly_smiling_face:sce,upside_down_face:oce,wink:rce,blush:ice,innocent:ace,smiling_face_with_three_hearts:lce,heart_eyes:cce,star_struck:uce,kissing_heart:dce,kissing:hce,relaxed:fce,kissing_closed_eyes:pce,kissing_smiling_eyes:gce,smiling_face_with_tear:mce,yum:_ce,stuck_out_tongue:yce,stuck_out_tongue_winking_eye:bce,zany_face:vce,stuck_out_tongue_closed_eyes:xce,money_mouth_face:wce,hugs:kce,hand_over_mouth:Cce,shushing_face:Ece,thinking:Ace,zipper_mouth_face:Sce,raised_eyebrow:Tce,neutral_face:Dce,expressionless:Mce,no_mouth:Oce,smirk:Lce,unamused:jce,roll_eyes:Rce,grimacing:Pce,lying_face:Ice,relieved:Fce,pensive:$ce,sleepy:qce,drooling_face:zce,sleeping:Bce,mask:Nce,face_with_thermometer:Uce,face_with_head_bandage:Hce,nauseated_face:Vce,vomiting_face:Gce,sneezing_face:Kce,hot_face:Wce,cold_face:Zce,woozy_face:Jce,dizzy_face:Yce,exploding_head:Qce,cowboy_hat_face:Xce,partying_face:eue,disguised_face:tue,sunglasses:nue,nerd_face:sue,monocle_face:oue,confused:rue,worried:iue,slightly_frowning_face:aue,frowning_face:lue,open_mouth:cue,hushed:uue,astonished:due,flushed:hue,pleading_face:fue,frowning:pue,anguished:gue,fearful:mue,cold_sweat:_ue,disappointed_relieved:yue,cry:bue,sob:vue,scream:xue,confounded:wue,persevere:kue,disappointed:Cue,sweat:Eue,weary:Aue,tired_face:Sue,yawning_face:Tue,triumph:Due,rage:Mue,pout:Oue,angry:Lue,cursing_face:jue,smiling_imp:Rue,imp:Pue,skull:Iue,skull_and_crossbones:Fue,hankey:$ue,poop:que,shit:zue,clown_face:Bue,japanese_ogre:Nue,japanese_goblin:Uue,ghost:Hue,alien:Vue,space_invader:Gue,robot:Kue,smiley_cat:Wue,smile_cat:Zue,joy_cat:Jue,heart_eyes_cat:Yue,smirk_cat:Que,kissing_cat:Xue,scream_cat:ede,crying_cat_face:tde,pouting_cat:nde,see_no_evil:sde,hear_no_evil:ode,speak_no_evil:rde,kiss:ide,love_letter:ade,cupid:lde,gift_heart:cde,sparkling_heart:ude,heartpulse:dde,heartbeat:hde,revolving_hearts:fde,two_hearts:pde,heart_decoration:gde,heavy_heart_exclamation:mde,broken_heart:_de,heart:yde,orange_heart:bde,yellow_heart:vde,green_heart:xde,blue_heart:wde,purple_heart:kde,brown_heart:Cde,black_heart:Ede,white_heart:Ade,anger:Sde,boom:Tde,collision:Dde,dizzy:Mde,sweat_drops:Ode,dash:Lde,hole:jde,bomb:Rde,speech_balloon:Pde,eye_speech_bubble:Ide,left_speech_bubble:Fde,right_anger_bubble:$de,thought_balloon:qde,zzz:zde,wave:Bde,raised_back_of_hand:Nde,raised_hand_with_fingers_splayed:Ude,hand:Hde,raised_hand:Vde,vulcan_salute:Gde,ok_hand:Kde,pinched_fingers:Wde,pinching_hand:Zde,v:Jde,crossed_fingers:Yde,love_you_gesture:Qde,metal:Xde,call_me_hand:ehe,point_left:the,point_right:nhe,point_up_2:she,middle_finger:ohe,fu:rhe,point_down:ihe,point_up:ahe,"+1":"👍",thumbsup:lhe,"-1":"👎",thumbsdown:che,fist_raised:uhe,fist:dhe,fist_oncoming:hhe,facepunch:fhe,punch:phe,fist_left:ghe,fist_right:mhe,clap:_he,raised_hands:yhe,open_hands:bhe,palms_up_together:vhe,handshake:xhe,pray:whe,writing_hand:khe,nail_care:Che,selfie:Ehe,muscle:Ahe,mechanical_arm:She,mechanical_leg:The,leg:Dhe,foot:Mhe,ear:Ohe,ear_with_hearing_aid:Lhe,nose:jhe,brain:Rhe,anatomical_heart:Phe,lungs:Ihe,tooth:Fhe,bone:$he,eyes:qhe,eye:zhe,tongue:Bhe,lips:Nhe,baby:Uhe,child:Hhe,boy:Vhe,girl:Ghe,adult:Khe,blond_haired_person:Whe,man:Zhe,bearded_person:Jhe,red_haired_man:Yhe,curly_haired_man:Qhe,white_haired_man:Xhe,bald_man:efe,woman:tfe,red_haired_woman:nfe,person_red_hair:sfe,curly_haired_woman:ofe,person_curly_hair:rfe,white_haired_woman:ife,person_white_hair:afe,bald_woman:lfe,person_bald:cfe,blond_haired_woman:ufe,blonde_woman:dfe,blond_haired_man:hfe,older_adult:ffe,older_man:pfe,older_woman:gfe,frowning_person:mfe,frowning_man:_fe,frowning_woman:yfe,pouting_face:bfe,pouting_man:vfe,pouting_woman:xfe,no_good:wfe,no_good_man:kfe,ng_man:Cfe,no_good_woman:Efe,ng_woman:Afe,ok_person:Sfe,ok_man:Tfe,ok_woman:Dfe,tipping_hand_person:Mfe,information_desk_person:Ofe,tipping_hand_man:Lfe,sassy_man:jfe,tipping_hand_woman:Rfe,sassy_woman:Pfe,raising_hand:Ife,raising_hand_man:Ffe,raising_hand_woman:$fe,deaf_person:qfe,deaf_man:zfe,deaf_woman:Bfe,bow:Nfe,bowing_man:Ufe,bowing_woman:Hfe,facepalm:Vfe,man_facepalming:Gfe,woman_facepalming:Kfe,shrug:Wfe,man_shrugging:Zfe,woman_shrugging:Jfe,health_worker:Yfe,man_health_worker:Qfe,woman_health_worker:Xfe,student:epe,man_student:tpe,woman_student:npe,teacher:spe,man_teacher:ope,woman_teacher:rpe,judge:ipe,man_judge:ape,woman_judge:lpe,farmer:cpe,man_farmer:upe,woman_farmer:dpe,cook:hpe,man_cook:fpe,woman_cook:ppe,mechanic:gpe,man_mechanic:mpe,woman_mechanic:_pe,factory_worker:ype,man_factory_worker:bpe,woman_factory_worker:vpe,office_worker:xpe,man_office_worker:wpe,woman_office_worker:kpe,scientist:Cpe,man_scientist:Epe,woman_scientist:Ape,technologist:Spe,man_technologist:Tpe,woman_technologist:Dpe,singer:Mpe,man_singer:Ope,woman_singer:Lpe,artist:jpe,man_artist:Rpe,woman_artist:Ppe,pilot:Ipe,man_pilot:Fpe,woman_pilot:$pe,astronaut:qpe,man_astronaut:zpe,woman_astronaut:Bpe,firefighter:Npe,man_firefighter:Upe,woman_firefighter:Hpe,police_officer:Vpe,cop:Gpe,policeman:Kpe,policewoman:Wpe,detective:Zpe,male_detective:Jpe,female_detective:Ype,guard:Qpe,guardsman:Xpe,guardswoman:ege,ninja:tge,construction_worker:nge,construction_worker_man:sge,construction_worker_woman:oge,prince:rge,princess:ige,person_with_turban:age,man_with_turban:lge,woman_with_turban:cge,man_with_gua_pi_mao:uge,woman_with_headscarf:dge,person_in_tuxedo:hge,man_in_tuxedo:fge,woman_in_tuxedo:pge,person_with_veil:gge,man_with_veil:mge,woman_with_veil:_ge,bride_with_veil:yge,pregnant_woman:bge,breast_feeding:vge,woman_feeding_baby:xge,man_feeding_baby:wge,person_feeding_baby:kge,angel:Cge,santa:Ege,mrs_claus:Age,mx_claus:Sge,superhero:Tge,superhero_man:Dge,superhero_woman:Mge,supervillain:Oge,supervillain_man:Lge,supervillain_woman:jge,mage:Rge,mage_man:Pge,mage_woman:Ige,fairy:Fge,fairy_man:$ge,fairy_woman:qge,vampire:zge,vampire_man:Bge,vampire_woman:Nge,merperson:Uge,merman:Hge,mermaid:Vge,elf:Gge,elf_man:Kge,elf_woman:Wge,genie:Zge,genie_man:Jge,genie_woman:Yge,zombie:Qge,zombie_man:Xge,zombie_woman:e1e,massage:t1e,massage_man:n1e,massage_woman:s1e,haircut:o1e,haircut_man:r1e,haircut_woman:i1e,walking:a1e,walking_man:l1e,walking_woman:c1e,standing_person:u1e,standing_man:d1e,standing_woman:h1e,kneeling_person:f1e,kneeling_man:p1e,kneeling_woman:g1e,person_with_probing_cane:m1e,man_with_probing_cane:_1e,woman_with_probing_cane:y1e,person_in_motorized_wheelchair:b1e,man_in_motorized_wheelchair:v1e,woman_in_motorized_wheelchair:x1e,person_in_manual_wheelchair:w1e,man_in_manual_wheelchair:k1e,woman_in_manual_wheelchair:C1e,runner:E1e,running:A1e,running_man:S1e,running_woman:T1e,woman_dancing:D1e,dancer:M1e,man_dancing:O1e,business_suit_levitating:L1e,dancers:j1e,dancing_men:R1e,dancing_women:P1e,sauna_person:I1e,sauna_man:F1e,sauna_woman:$1e,climbing:q1e,climbing_man:z1e,climbing_woman:B1e,person_fencing:N1e,horse_racing:U1e,skier:H1e,snowboarder:V1e,golfing:G1e,golfing_man:K1e,golfing_woman:W1e,surfer:Z1e,surfing_man:J1e,surfing_woman:Y1e,rowboat:Q1e,rowing_man:X1e,rowing_woman:eme,swimmer:tme,swimming_man:nme,swimming_woman:sme,bouncing_ball_person:ome,bouncing_ball_man:rme,basketball_man:ime,bouncing_ball_woman:ame,basketball_woman:lme,weight_lifting:cme,weight_lifting_man:ume,weight_lifting_woman:dme,bicyclist:hme,biking_man:fme,biking_woman:pme,mountain_bicyclist:gme,mountain_biking_man:mme,mountain_biking_woman:_me,cartwheeling:yme,man_cartwheeling:bme,woman_cartwheeling:vme,wrestling:xme,men_wrestling:wme,women_wrestling:kme,water_polo:Cme,man_playing_water_polo:Eme,woman_playing_water_polo:Ame,handball_person:Sme,man_playing_handball:Tme,woman_playing_handball:Dme,juggling_person:Mme,man_juggling:Ome,woman_juggling:Lme,lotus_position:jme,lotus_position_man:Rme,lotus_position_woman:Pme,bath:Ime,sleeping_bed:Fme,people_holding_hands:$me,two_women_holding_hands:qme,couple:zme,two_men_holding_hands:Bme,couplekiss:Nme,couplekiss_man_woman:Ume,couplekiss_man_man:Hme,couplekiss_woman_woman:Vme,couple_with_heart:Gme,couple_with_heart_woman_man:Kme,couple_with_heart_man_man:Wme,couple_with_heart_woman_woman:Zme,family:Jme,family_man_woman_boy:Yme,family_man_woman_girl:Qme,family_man_woman_girl_boy:Xme,family_man_woman_boy_boy:e_e,family_man_woman_girl_girl:t_e,family_man_man_boy:n_e,family_man_man_girl:s_e,family_man_man_girl_boy:o_e,family_man_man_boy_boy:r_e,family_man_man_girl_girl:i_e,family_woman_woman_boy:a_e,family_woman_woman_girl:l_e,family_woman_woman_girl_boy:c_e,family_woman_woman_boy_boy:u_e,family_woman_woman_girl_girl:d_e,family_man_boy:h_e,family_man_boy_boy:f_e,family_man_girl:p_e,family_man_girl_boy:g_e,family_man_girl_girl:m_e,family_woman_boy:__e,family_woman_boy_boy:y_e,family_woman_girl:b_e,family_woman_girl_boy:v_e,family_woman_girl_girl:x_e,speaking_head:w_e,bust_in_silhouette:k_e,busts_in_silhouette:C_e,people_hugging:E_e,footprints:A_e,monkey_face:S_e,monkey:T_e,gorilla:D_e,orangutan:M_e,dog:O_e,dog2:L_e,guide_dog:j_e,service_dog:R_e,poodle:P_e,wolf:I_e,fox_face:F_e,raccoon:$_e,cat:q_e,cat2:z_e,black_cat:B_e,lion:N_e,tiger:U_e,tiger2:H_e,leopard:V_e,horse:G_e,racehorse:K_e,unicorn:W_e,zebra:Z_e,deer:J_e,bison:Y_e,cow:Q_e,ox:X_e,water_buffalo:e0e,cow2:t0e,pig:n0e,pig2:s0e,boar:o0e,pig_nose:r0e,ram:i0e,sheep:a0e,goat:l0e,dromedary_camel:c0e,camel:u0e,llama:d0e,giraffe:h0e,elephant:f0e,mammoth:p0e,rhinoceros:g0e,hippopotamus:m0e,mouse:_0e,mouse2:y0e,rat:b0e,hamster:v0e,rabbit:x0e,rabbit2:w0e,chipmunk:k0e,beaver:C0e,hedgehog:E0e,bat:A0e,bear:S0e,polar_bear:T0e,koala:D0e,panda_face:M0e,sloth:O0e,otter:L0e,skunk:j0e,kangaroo:R0e,badger:P0e,feet:I0e,paw_prints:F0e,turkey:$0e,chicken:q0e,rooster:z0e,hatching_chick:B0e,baby_chick:N0e,hatched_chick:U0e,bird:H0e,penguin:V0e,dove:G0e,eagle:K0e,duck:W0e,swan:Z0e,owl:J0e,dodo:Y0e,feather:Q0e,flamingo:X0e,peacock:eye,parrot:tye,frog:nye,crocodile:sye,turtle:oye,lizard:rye,snake:iye,dragon_face:aye,dragon:lye,sauropod:cye,"t-rex":"🦖",whale:uye,whale2:dye,dolphin:hye,flipper:fye,seal:pye,fish:gye,tropical_fish:mye,blowfish:_ye,shark:yye,octopus:bye,shell:vye,snail:xye,butterfly:wye,bug:kye,ant:Cye,bee:Eye,honeybee:Aye,beetle:Sye,lady_beetle:Tye,cricket:Dye,cockroach:Mye,spider:Oye,spider_web:Lye,scorpion:jye,mosquito:Rye,fly:Pye,worm:Iye,microbe:Fye,bouquet:$ye,cherry_blossom:qye,white_flower:zye,rosette:Bye,rose:Nye,wilted_flower:Uye,hibiscus:Hye,sunflower:Vye,blossom:Gye,tulip:Kye,seedling:Wye,potted_plant:Zye,evergreen_tree:Jye,deciduous_tree:Yye,palm_tree:Qye,cactus:Xye,ear_of_rice:ebe,herb:tbe,shamrock:nbe,four_leaf_clover:sbe,maple_leaf:obe,fallen_leaf:rbe,leaves:ibe,grapes:abe,melon:lbe,watermelon:cbe,tangerine:ube,orange:dbe,mandarin:hbe,lemon:fbe,banana:pbe,pineapple:gbe,mango:mbe,apple:_be,green_apple:ybe,pear:bbe,peach:vbe,cherries:xbe,strawberry:wbe,blueberries:kbe,kiwi_fruit:Cbe,tomato:Ebe,olive:Abe,coconut:Sbe,avocado:Tbe,eggplant:Dbe,potato:Mbe,carrot:Obe,corn:Lbe,hot_pepper:jbe,bell_pepper:Rbe,cucumber:Pbe,leafy_green:Ibe,broccoli:Fbe,garlic:$be,onion:qbe,mushroom:zbe,peanuts:Bbe,chestnut:Nbe,bread:Ube,croissant:Hbe,baguette_bread:Vbe,flatbread:Gbe,pretzel:Kbe,bagel:Wbe,pancakes:Zbe,waffle:Jbe,cheese:Ybe,meat_on_bone:Qbe,poultry_leg:Xbe,cut_of_meat:e2e,bacon:t2e,hamburger:n2e,fries:s2e,pizza:o2e,hotdog:r2e,sandwich:i2e,taco:a2e,burrito:l2e,tamale:c2e,stuffed_flatbread:u2e,falafel:d2e,egg:h2e,fried_egg:f2e,shallow_pan_of_food:p2e,stew:g2e,fondue:m2e,bowl_with_spoon:_2e,green_salad:y2e,popcorn:b2e,butter:v2e,salt:x2e,canned_food:w2e,bento:k2e,rice_cracker:C2e,rice_ball:E2e,rice:A2e,curry:S2e,ramen:T2e,spaghetti:D2e,sweet_potato:M2e,oden:O2e,sushi:L2e,fried_shrimp:j2e,fish_cake:R2e,moon_cake:P2e,dango:I2e,dumpling:F2e,fortune_cookie:$2e,takeout_box:q2e,crab:z2e,lobster:B2e,shrimp:N2e,squid:U2e,oyster:H2e,icecream:V2e,shaved_ice:G2e,ice_cream:K2e,doughnut:W2e,cookie:Z2e,birthday:J2e,cake:Y2e,cupcake:Q2e,pie:X2e,chocolate_bar:eve,candy:tve,lollipop:nve,custard:sve,honey_pot:ove,baby_bottle:rve,milk_glass:ive,coffee:ave,teapot:lve,tea:cve,sake:uve,champagne:dve,wine_glass:hve,cocktail:fve,tropical_drink:pve,beer:gve,beers:mve,clinking_glasses:_ve,tumbler_glass:yve,cup_with_straw:bve,bubble_tea:vve,beverage_box:xve,mate:wve,ice_cube:kve,chopsticks:Cve,plate_with_cutlery:Eve,fork_and_knife:Ave,spoon:Sve,hocho:Tve,knife:Dve,amphora:Mve,earth_africa:Ove,earth_americas:Lve,earth_asia:jve,globe_with_meridians:Rve,world_map:Pve,japan:Ive,compass:Fve,mountain_snow:$ve,mountain:qve,volcano:zve,mount_fuji:Bve,camping:Nve,beach_umbrella:Uve,desert:Hve,desert_island:Vve,national_park:Gve,stadium:Kve,classical_building:Wve,building_construction:Zve,bricks:Jve,rock:Yve,wood:Qve,hut:Xve,houses:exe,derelict_house:txe,house:nxe,house_with_garden:sxe,office:oxe,post_office:rxe,european_post_office:ixe,hospital:axe,bank:lxe,hotel:cxe,love_hotel:uxe,convenience_store:dxe,school:hxe,department_store:fxe,factory:pxe,japanese_castle:gxe,european_castle:mxe,wedding:_xe,tokyo_tower:yxe,statue_of_liberty:bxe,church:vxe,mosque:xxe,hindu_temple:wxe,synagogue:kxe,shinto_shrine:Cxe,kaaba:Exe,fountain:Axe,tent:Sxe,foggy:Txe,night_with_stars:Dxe,cityscape:Mxe,sunrise_over_mountains:Oxe,sunrise:Lxe,city_sunset:jxe,city_sunrise:Rxe,bridge_at_night:Pxe,hotsprings:Ixe,carousel_horse:Fxe,ferris_wheel:$xe,roller_coaster:qxe,barber:zxe,circus_tent:Bxe,steam_locomotive:Nxe,railway_car:Uxe,bullettrain_side:Hxe,bullettrain_front:Vxe,train2:Gxe,metro:Kxe,light_rail:Wxe,station:Zxe,tram:Jxe,monorail:Yxe,mountain_railway:Qxe,train:Xxe,bus:ewe,oncoming_bus:twe,trolleybus:nwe,minibus:swe,ambulance:owe,fire_engine:rwe,police_car:iwe,oncoming_police_car:awe,taxi:lwe,oncoming_taxi:cwe,car:uwe,red_car:dwe,oncoming_automobile:hwe,blue_car:fwe,pickup_truck:pwe,truck:gwe,articulated_lorry:mwe,tractor:_we,racing_car:ywe,motorcycle:bwe,motor_scooter:vwe,manual_wheelchair:xwe,motorized_wheelchair:wwe,auto_rickshaw:kwe,bike:Cwe,kick_scooter:Ewe,skateboard:Awe,roller_skate:Swe,busstop:Twe,motorway:Dwe,railway_track:Mwe,oil_drum:Owe,fuelpump:Lwe,rotating_light:jwe,traffic_light:Rwe,vertical_traffic_light:Pwe,stop_sign:Iwe,construction:Fwe,anchor:$we,boat:qwe,sailboat:zwe,canoe:Bwe,speedboat:Nwe,passenger_ship:Uwe,ferry:Hwe,motor_boat:Vwe,ship:Gwe,airplane:Kwe,small_airplane:Wwe,flight_departure:Zwe,flight_arrival:Jwe,parachute:Ywe,seat:Qwe,helicopter:Xwe,suspension_railway:eke,mountain_cableway:tke,aerial_tramway:nke,artificial_satellite:ske,rocket:oke,flying_saucer:rke,bellhop_bell:ike,luggage:ake,hourglass:lke,hourglass_flowing_sand:cke,watch:uke,alarm_clock:dke,stopwatch:hke,timer_clock:fke,mantelpiece_clock:pke,clock12:gke,clock1230:mke,clock1:_ke,clock130:yke,clock2:bke,clock230:vke,clock3:xke,clock330:wke,clock4:kke,clock430:Cke,clock5:Eke,clock530:Ake,clock6:Ske,clock630:Tke,clock7:Dke,clock730:Mke,clock8:Oke,clock830:Lke,clock9:jke,clock930:Rke,clock10:Pke,clock1030:Ike,clock11:Fke,clock1130:$ke,new_moon:qke,waxing_crescent_moon:zke,first_quarter_moon:Bke,moon:Nke,waxing_gibbous_moon:Uke,full_moon:Hke,waning_gibbous_moon:Vke,last_quarter_moon:Gke,waning_crescent_moon:Kke,crescent_moon:Wke,new_moon_with_face:Zke,first_quarter_moon_with_face:Jke,last_quarter_moon_with_face:Yke,thermometer:Qke,sunny:Xke,full_moon_with_face:e5e,sun_with_face:t5e,ringed_planet:n5e,star:s5e,star2:o5e,stars:r5e,milky_way:i5e,cloud:a5e,partly_sunny:l5e,cloud_with_lightning_and_rain:c5e,sun_behind_small_cloud:u5e,sun_behind_large_cloud:d5e,sun_behind_rain_cloud:h5e,cloud_with_rain:f5e,cloud_with_snow:p5e,cloud_with_lightning:g5e,tornado:m5e,fog:_5e,wind_face:y5e,cyclone:b5e,rainbow:v5e,closed_umbrella:x5e,open_umbrella:w5e,umbrella:k5e,parasol_on_ground:C5e,zap:E5e,snowflake:A5e,snowman_with_snow:S5e,snowman:T5e,comet:D5e,fire:M5e,droplet:O5e,ocean:L5e,jack_o_lantern:j5e,christmas_tree:R5e,fireworks:P5e,sparkler:I5e,firecracker:F5e,sparkles:$5e,balloon:q5e,tada:z5e,confetti_ball:B5e,tanabata_tree:N5e,bamboo:U5e,dolls:H5e,flags:V5e,wind_chime:G5e,rice_scene:K5e,red_envelope:W5e,ribbon:Z5e,gift:J5e,reminder_ribbon:Y5e,tickets:Q5e,ticket:X5e,medal_military:e4e,trophy:t4e,medal_sports:n4e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:s4e,baseball:o4e,softball:r4e,basketball:i4e,volleyball:a4e,football:l4e,rugby_football:c4e,tennis:u4e,flying_disc:d4e,bowling:h4e,cricket_game:f4e,field_hockey:p4e,ice_hockey:g4e,lacrosse:m4e,ping_pong:_4e,badminton:y4e,boxing_glove:b4e,martial_arts_uniform:v4e,goal_net:x4e,golf:w4e,ice_skate:k4e,fishing_pole_and_fish:C4e,diving_mask:E4e,running_shirt_with_sash:A4e,ski:S4e,sled:T4e,curling_stone:D4e,dart:M4e,yo_yo:O4e,kite:L4e,"8ball":"🎱",crystal_ball:j4e,magic_wand:R4e,nazar_amulet:P4e,video_game:I4e,joystick:F4e,slot_machine:$4e,game_die:q4e,jigsaw:z4e,teddy_bear:B4e,pinata:N4e,nesting_dolls:U4e,spades:H4e,hearts:V4e,diamonds:G4e,clubs:K4e,chess_pawn:W4e,black_joker:Z4e,mahjong:J4e,flower_playing_cards:Y4e,performing_arts:Q4e,framed_picture:X4e,art:e3e,thread:t3e,sewing_needle:n3e,yarn:s3e,knot:o3e,eyeglasses:r3e,dark_sunglasses:i3e,goggles:a3e,lab_coat:l3e,safety_vest:c3e,necktie:u3e,shirt:d3e,tshirt:h3e,jeans:f3e,scarf:p3e,gloves:g3e,coat:m3e,socks:_3e,dress:y3e,kimono:b3e,sari:v3e,one_piece_swimsuit:x3e,swim_brief:w3e,shorts:k3e,bikini:C3e,womans_clothes:E3e,purse:A3e,handbag:S3e,pouch:T3e,shopping:D3e,school_satchel:M3e,thong_sandal:O3e,mans_shoe:L3e,shoe:j3e,athletic_shoe:R3e,hiking_boot:P3e,flat_shoe:I3e,high_heel:F3e,sandal:$3e,ballet_shoes:q3e,boot:z3e,crown:B3e,womans_hat:N3e,tophat:U3e,mortar_board:H3e,billed_cap:V3e,military_helmet:G3e,rescue_worker_helmet:K3e,prayer_beads:W3e,lipstick:Z3e,ring:J3e,gem:Y3e,mute:Q3e,speaker:X3e,sound:e8e,loud_sound:t8e,loudspeaker:n8e,mega:s8e,postal_horn:o8e,bell:r8e,no_bell:i8e,musical_score:a8e,musical_note:l8e,notes:c8e,studio_microphone:u8e,level_slider:d8e,control_knobs:h8e,microphone:f8e,headphones:p8e,radio:g8e,saxophone:m8e,accordion:_8e,guitar:y8e,musical_keyboard:b8e,trumpet:v8e,violin:x8e,banjo:w8e,drum:k8e,long_drum:C8e,iphone:E8e,calling:A8e,phone:S8e,telephone:T8e,telephone_receiver:D8e,pager:M8e,fax:O8e,battery:L8e,electric_plug:j8e,computer:R8e,desktop_computer:P8e,printer:I8e,keyboard:F8e,computer_mouse:$8e,trackball:q8e,minidisc:z8e,floppy_disk:B8e,cd:N8e,dvd:U8e,abacus:H8e,movie_camera:V8e,film_strip:G8e,film_projector:K8e,clapper:W8e,tv:Z8e,camera:J8e,camera_flash:Y8e,video_camera:Q8e,vhs:X8e,mag:eCe,mag_right:tCe,candle:nCe,bulb:sCe,flashlight:oCe,izakaya_lantern:rCe,lantern:iCe,diya_lamp:aCe,notebook_with_decorative_cover:lCe,closed_book:cCe,book:uCe,open_book:dCe,green_book:hCe,blue_book:fCe,orange_book:pCe,books:gCe,notebook:mCe,ledger:_Ce,page_with_curl:yCe,scroll:bCe,page_facing_up:vCe,newspaper:xCe,newspaper_roll:wCe,bookmark_tabs:kCe,bookmark:CCe,label:ECe,moneybag:ACe,coin:SCe,yen:TCe,dollar:DCe,euro:MCe,pound:OCe,money_with_wings:LCe,credit_card:jCe,receipt:RCe,chart:PCe,envelope:ICe,email:FCe,"e-mail":"📧",incoming_envelope:$Ce,envelope_with_arrow:qCe,outbox_tray:zCe,inbox_tray:BCe,package:"📦",mailbox:NCe,mailbox_closed:UCe,mailbox_with_mail:HCe,mailbox_with_no_mail:VCe,postbox:GCe,ballot_box:KCe,pencil2:WCe,black_nib:ZCe,fountain_pen:JCe,pen:YCe,paintbrush:QCe,crayon:XCe,memo:eEe,pencil:tEe,briefcase:nEe,file_folder:sEe,open_file_folder:oEe,card_index_dividers:rEe,date:iEe,calendar:aEe,spiral_notepad:lEe,spiral_calendar:cEe,card_index:uEe,chart_with_upwards_trend:dEe,chart_with_downwards_trend:hEe,bar_chart:fEe,clipboard:pEe,pushpin:gEe,round_pushpin:mEe,paperclip:_Ee,paperclips:yEe,straight_ruler:bEe,triangular_ruler:vEe,scissors:xEe,card_file_box:wEe,file_cabinet:kEe,wastebasket:CEe,lock:EEe,unlock:AEe,lock_with_ink_pen:SEe,closed_lock_with_key:TEe,key:DEe,old_key:MEe,hammer:OEe,axe:LEe,pick:jEe,hammer_and_pick:REe,hammer_and_wrench:PEe,dagger:IEe,crossed_swords:FEe,gun:$Ee,boomerang:qEe,bow_and_arrow:zEe,shield:BEe,carpentry_saw:NEe,wrench:UEe,screwdriver:HEe,nut_and_bolt:VEe,gear:GEe,clamp:KEe,balance_scale:WEe,probing_cane:ZEe,link:JEe,chains:YEe,hook:QEe,toolbox:XEe,magnet:e6e,ladder:t6e,alembic:n6e,test_tube:s6e,petri_dish:o6e,dna:r6e,microscope:i6e,telescope:a6e,satellite:l6e,syringe:c6e,drop_of_blood:u6e,pill:d6e,adhesive_bandage:h6e,stethoscope:f6e,door:p6e,elevator:g6e,mirror:m6e,window:_6e,bed:y6e,couch_and_lamp:b6e,chair:v6e,toilet:x6e,plunger:w6e,shower:k6e,bathtub:C6e,mouse_trap:E6e,razor:A6e,lotion_bottle:S6e,safety_pin:T6e,broom:D6e,basket:M6e,roll_of_paper:O6e,bucket:L6e,soap:j6e,toothbrush:R6e,sponge:P6e,fire_extinguisher:I6e,shopping_cart:F6e,smoking:$6e,coffin:q6e,headstone:z6e,funeral_urn:B6e,moyai:N6e,placard:U6e,atm:H6e,put_litter_in_its_place:V6e,potable_water:G6e,wheelchair:K6e,mens:W6e,womens:Z6e,restroom:J6e,baby_symbol:Y6e,wc:Q6e,passport_control:X6e,customs:e9e,baggage_claim:t9e,left_luggage:n9e,warning:s9e,children_crossing:o9e,no_entry:r9e,no_entry_sign:i9e,no_bicycles:a9e,no_smoking:l9e,do_not_litter:c9e,"non-potable_water":"🚱",no_pedestrians:u9e,no_mobile_phones:d9e,underage:h9e,radioactive:f9e,biohazard:p9e,arrow_up:g9e,arrow_upper_right:m9e,arrow_right:_9e,arrow_lower_right:y9e,arrow_down:b9e,arrow_lower_left:v9e,arrow_left:x9e,arrow_upper_left:w9e,arrow_up_down:k9e,left_right_arrow:C9e,leftwards_arrow_with_hook:E9e,arrow_right_hook:A9e,arrow_heading_up:S9e,arrow_heading_down:T9e,arrows_clockwise:D9e,arrows_counterclockwise:M9e,back:O9e,end:L9e,on:j9e,soon:R9e,top:P9e,place_of_worship:I9e,atom_symbol:F9e,om:$9e,star_of_david:q9e,wheel_of_dharma:z9e,yin_yang:B9e,latin_cross:N9e,orthodox_cross:U9e,star_and_crescent:H9e,peace_symbol:V9e,menorah:G9e,six_pointed_star:K9e,aries:W9e,taurus:Z9e,gemini:J9e,cancer:Y9e,leo:Q9e,virgo:X9e,libra:eAe,scorpius:tAe,sagittarius:nAe,capricorn:sAe,aquarius:oAe,pisces:rAe,ophiuchus:iAe,twisted_rightwards_arrows:aAe,repeat:lAe,repeat_one:cAe,arrow_forward:uAe,fast_forward:dAe,next_track_button:hAe,play_or_pause_button:fAe,arrow_backward:pAe,rewind:gAe,previous_track_button:mAe,arrow_up_small:_Ae,arrow_double_up:yAe,arrow_down_small:bAe,arrow_double_down:vAe,pause_button:xAe,stop_button:wAe,record_button:kAe,eject_button:CAe,cinema:EAe,low_brightness:AAe,high_brightness:SAe,signal_strength:TAe,vibration_mode:DAe,mobile_phone_off:MAe,female_sign:OAe,male_sign:LAe,transgender_symbol:jAe,heavy_multiplication_x:RAe,heavy_plus_sign:PAe,heavy_minus_sign:IAe,heavy_division_sign:FAe,infinity:$Ae,bangbang:qAe,interrobang:zAe,question:BAe,grey_question:NAe,grey_exclamation:UAe,exclamation:HAe,heavy_exclamation_mark:VAe,wavy_dash:GAe,currency_exchange:KAe,heavy_dollar_sign:WAe,medical_symbol:ZAe,recycle:JAe,fleur_de_lis:YAe,trident:QAe,name_badge:XAe,beginner:e7e,o:t7e,white_check_mark:n7e,ballot_box_with_check:s7e,heavy_check_mark:o7e,x:r7e,negative_squared_cross_mark:i7e,curly_loop:a7e,loop:l7e,part_alternation_mark:c7e,eight_spoked_asterisk:u7e,eight_pointed_black_star:d7e,sparkle:h7e,copyright:f7e,registered:p7e,tm:g7e,hash:m7e,asterisk:_7e,zero:y7e,one:b7e,two:v7e,three:x7e,four:w7e,five:k7e,six:C7e,seven:E7e,eight:A7e,nine:S7e,keycap_ten:T7e,capital_abcd:D7e,abcd:M7e,symbols:O7e,abc:L7e,a:j7e,ab:R7e,b:P7e,cl:I7e,cool:F7e,free:$7e,information_source:q7e,id:z7e,m:B7e,new:"🆕",ng:N7e,o2:U7e,ok:H7e,parking:V7e,sos:G7e,up:K7e,vs:W7e,koko:Z7e,sa:J7e,ideograph_advantage:Y7e,accept:Q7e,congratulations:X7e,secret:eSe,u6e80:tSe,red_circle:nSe,orange_circle:sSe,yellow_circle:oSe,green_circle:rSe,large_blue_circle:iSe,purple_circle:aSe,brown_circle:lSe,black_circle:cSe,white_circle:uSe,red_square:dSe,orange_square:hSe,yellow_square:fSe,green_square:pSe,blue_square:gSe,purple_square:mSe,brown_square:_Se,black_large_square:ySe,white_large_square:bSe,black_medium_square:vSe,white_medium_square:xSe,black_medium_small_square:wSe,white_medium_small_square:kSe,black_small_square:CSe,white_small_square:ESe,large_orange_diamond:ASe,large_blue_diamond:SSe,small_orange_diamond:TSe,small_blue_diamond:DSe,small_red_triangle:MSe,small_red_triangle_down:OSe,diamond_shape_with_a_dot_inside:LSe,radio_button:jSe,white_square_button:RSe,black_square_button:PSe,checkered_flag:ISe,triangular_flag_on_post:FSe,crossed_flags:$Se,black_flag:qSe,white_flag:zSe,rainbow_flag:BSe,transgender_flag:NSe,pirate_flag:USe,ascension_island:HSe,andorra:VSe,united_arab_emirates:GSe,afghanistan:KSe,antigua_barbuda:WSe,anguilla:ZSe,albania:JSe,armenia:YSe,angola:QSe,antarctica:XSe,argentina:eTe,american_samoa:tTe,austria:nTe,australia:sTe,aruba:oTe,aland_islands:rTe,azerbaijan:iTe,bosnia_herzegovina:aTe,barbados:lTe,bangladesh:cTe,belgium:uTe,burkina_faso:dTe,bulgaria:hTe,bahrain:fTe,burundi:pTe,benin:gTe,st_barthelemy:mTe,bermuda:_Te,brunei:yTe,bolivia:bTe,caribbean_netherlands:vTe,brazil:xTe,bahamas:wTe,bhutan:kTe,bouvet_island:CTe,botswana:ETe,belarus:ATe,belize:STe,canada:TTe,cocos_islands:DTe,congo_kinshasa:MTe,central_african_republic:OTe,congo_brazzaville:LTe,switzerland:jTe,cote_divoire:RTe,cook_islands:PTe,chile:ITe,cameroon:FTe,cn:$Te,colombia:qTe,clipperton_island:zTe,costa_rica:BTe,cuba:NTe,cape_verde:UTe,curacao:HTe,christmas_island:VTe,cyprus:GTe,czech_republic:KTe,de:WTe,diego_garcia:ZTe,djibouti:JTe,denmark:YTe,dominica:QTe,dominican_republic:XTe,algeria:eDe,ceuta_melilla:tDe,ecuador:nDe,estonia:sDe,egypt:oDe,western_sahara:rDe,eritrea:iDe,es:aDe,ethiopia:lDe,eu:cDe,european_union:uDe,finland:dDe,fiji:hDe,falkland_islands:fDe,micronesia:pDe,faroe_islands:gDe,fr:mDe,gabon:_De,gb:yDe,uk:bDe,grenada:vDe,georgia:xDe,french_guiana:wDe,guernsey:kDe,ghana:CDe,gibraltar:EDe,greenland:ADe,gambia:SDe,guinea:TDe,guadeloupe:DDe,equatorial_guinea:MDe,greece:ODe,south_georgia_south_sandwich_islands:LDe,guatemala:jDe,guam:RDe,guinea_bissau:PDe,guyana:IDe,hong_kong:FDe,heard_mcdonald_islands:$De,honduras:qDe,croatia:zDe,haiti:BDe,hungary:NDe,canary_islands:UDe,indonesia:HDe,ireland:VDe,israel:GDe,isle_of_man:KDe,india:WDe,british_indian_ocean_territory:ZDe,iraq:JDe,iran:YDe,iceland:QDe,it:XDe,jersey:eMe,jamaica:tMe,jordan:nMe,jp:sMe,kenya:oMe,kyrgyzstan:rMe,cambodia:iMe,kiribati:aMe,comoros:lMe,st_kitts_nevis:cMe,north_korea:uMe,kr:dMe,kuwait:hMe,cayman_islands:fMe,kazakhstan:pMe,laos:gMe,lebanon:mMe,st_lucia:_Me,liechtenstein:yMe,sri_lanka:bMe,liberia:vMe,lesotho:xMe,lithuania:wMe,luxembourg:kMe,latvia:CMe,libya:EMe,morocco:AMe,monaco:SMe,moldova:TMe,montenegro:DMe,st_martin:MMe,madagascar:OMe,marshall_islands:LMe,macedonia:jMe,mali:RMe,myanmar:PMe,mongolia:IMe,macau:FMe,northern_mariana_islands:$Me,martinique:qMe,mauritania:zMe,montserrat:BMe,malta:NMe,mauritius:UMe,maldives:HMe,malawi:VMe,mexico:GMe,malaysia:KMe,mozambique:WMe,namibia:ZMe,new_caledonia:JMe,niger:YMe,norfolk_island:QMe,nigeria:XMe,nicaragua:eOe,netherlands:tOe,norway:nOe,nepal:sOe,nauru:oOe,niue:rOe,new_zealand:iOe,oman:aOe,panama:lOe,peru:cOe,french_polynesia:uOe,papua_new_guinea:dOe,philippines:hOe,pakistan:fOe,poland:pOe,st_pierre_miquelon:gOe,pitcairn_islands:mOe,puerto_rico:_Oe,palestinian_territories:yOe,portugal:bOe,palau:vOe,paraguay:xOe,qatar:wOe,reunion:kOe,romania:COe,serbia:EOe,ru:AOe,rwanda:SOe,saudi_arabia:TOe,solomon_islands:DOe,seychelles:MOe,sudan:OOe,sweden:LOe,singapore:jOe,st_helena:ROe,slovenia:POe,svalbard_jan_mayen:IOe,slovakia:FOe,sierra_leone:$Oe,san_marino:qOe,senegal:zOe,somalia:BOe,suriname:NOe,south_sudan:UOe,sao_tome_principe:HOe,el_salvador:VOe,sint_maarten:GOe,syria:KOe,swaziland:WOe,tristan_da_cunha:ZOe,turks_caicos_islands:JOe,chad:YOe,french_southern_territories:QOe,togo:XOe,thailand:eLe,tajikistan:tLe,tokelau:nLe,timor_leste:sLe,turkmenistan:oLe,tunisia:rLe,tonga:iLe,tr:aLe,trinidad_tobago:lLe,tuvalu:cLe,taiwan:uLe,tanzania:dLe,ukraine:hLe,uganda:fLe,us_outlying_islands:pLe,united_nations:gLe,us:mLe,uruguay:_Le,uzbekistan:yLe,vatican_city:bLe,st_vincent_grenadines:vLe,venezuela:xLe,british_virgin_islands:wLe,us_virgin_islands:kLe,vietnam:CLe,vanuatu:ELe,wallis_futuna:ALe,samoa:SLe,kosovo:TLe,yemen:DLe,mayotte:MLe,south_africa:OLe,zambia:LLe,zimbabwe:jLe,england:RLe,scotland:PLe,wales:ILe};var $Le={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:[";)",";-)"]},qLe=function(e,n){return e[n].content},zLe=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 c(u,h,f){var p,g=0,m=[];return u.replace(r,function(w,v,y){var x;if(s.hasOwnProperty(w)){if(x=s[w],v>0&&!l.test(y[v-1])||v+w.length<y.length&&!l.test(y[v+w.length]))return}else x=w.slice(1,-1);v>g&&(p=new f("text","",0),p.content=u.slice(g,v),m.push(p)),p=new f("emoji","",0),p.markup=x,p.content=n[x],m.push(p),g=v+w.length}),g<u.length&&(p=new f("text","",0),p.content=u.slice(g),m.push(p)),m}return function(h){var f,p,g,m,w,v=h.tokens,y=0;for(p=0,g=v.length;p<g;p++)if(v[p].type==="inline")for(m=v[p].children,f=m.length-1;f>=0;f--)w=m[f],(w.type==="link_open"||w.type==="link_close")&&w.info==="auto"&&(y-=w.nesting),w.type==="text"&&y===0&&o.test(w.content)&&(v[p].children=m=i(m,f,c(w.content,w.level,h.Token)))}};function BLe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var NLe=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,c){return e.enabled.indexOf(c)>=0&&(l[c]=n[c]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,c){return n[c]?Array.isArray(e.shortcuts[c])?(e.shortcuts[c].forEach(function(u){l[u]=c}),l):(l[e.shortcuts[c]]=c,l):l},{});var o=Object.keys(n),r;o.length===0?r="^$":r=o.map(function(l){return":"+l+":"}).concat(Object.keys(s)).sort().reverse().map(function(l){return BLe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},ULe=qLe,HLe=zLe,VLe=NLe,GLe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=VLe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=ULe,e.core.ruler.after("linkify","emoji",HLe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},KLe=FLe,WLe=$Le,ZLe=GLe,JLe=function(e,n){var s={defs:KLe,shortcuts:WLe,enabled:[]},o=e.utils.assign({},s,n||{});ZLe(e,o)};const YLe=js(JLe);function $f(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)&&$f(n)}),t}class Ou{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function qf(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function vn(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 QLe="</span>",Lu=t=>!!t.scope,XLe=(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 eje{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=qf(e)}openNode(e){if(!Lu(e))return;const n=XLe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Lu(e)&&(this.buffer+=QLe)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const ju=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class pl{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=>{pl._collapse(n)}))}}class tje extends pl{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 eje(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function go(t){return t?typeof t=="string"?t:t.source:null}function zf(t){return Qn("(?=",t,")")}function nje(t){return Qn("(?:",t,")*")}function sje(t){return Qn("(?:",t,")?")}function Qn(...t){return t.map(n=>go(n)).join("")}function oje(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function gl(...t){return"("+(oje(t).capture?"":"?:")+t.map(s=>go(s)).join("|")+")"}function Bf(t){return new RegExp(t.toString()+"|").exec("").length-1}function rje(t,e){const n=t&&t.exec(e);return n&&n.index===0}const ije=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ml(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=go(s),i="";for(;r.length>0;){const a=ije.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 aje=/\b\B/,Nf="[a-zA-Z]\\w*",_l="[a-zA-Z_]\\w*",Uf="\\b\\d+(\\.\\d+)?",Hf="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Vf="\\b(0b[01]+)",lje="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",cje=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Qn(e,/.*\b/,t.binary,/\b.*/)),vn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},mo={begin:"\\\\[\\s\\S]",relevance:0},uje={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[mo]},dje={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[mo]},hje={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/},si=function(t,e,n={}){const s=vn({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=gl("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:Qn(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},fje=si("//","$"),pje=si("/\\*","\\*/"),gje=si("#","$"),mje={scope:"number",begin:Uf,relevance:0},_je={scope:"number",begin:Hf,relevance:0},yje={scope:"number",begin:Vf,relevance:0},bje={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[mo,{begin:/\[/,end:/\]/,relevance:0,contains:[mo]}]}]},vje={scope:"title",begin:Nf,relevance:0},xje={scope:"title",begin:_l,relevance:0},wje={begin:"\\.\\s*"+_l,relevance:0},kje=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 zo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:aje,IDENT_RE:Nf,UNDERSCORE_IDENT_RE:_l,NUMBER_RE:Uf,C_NUMBER_RE:Hf,BINARY_NUMBER_RE:Vf,RE_STARTERS_RE:lje,SHEBANG:cje,BACKSLASH_ESCAPE:mo,APOS_STRING_MODE:uje,QUOTE_STRING_MODE:dje,PHRASAL_WORDS_MODE:hje,COMMENT:si,C_LINE_COMMENT_MODE:fje,C_BLOCK_COMMENT_MODE:pje,HASH_COMMENT_MODE:gje,NUMBER_MODE:mje,C_NUMBER_MODE:_je,BINARY_NUMBER_MODE:yje,REGEXP_MODE:bje,TITLE_MODE:vje,UNDERSCORE_TITLE_MODE:xje,METHOD_GUARD:wje,END_SAME_AS_BEGIN:kje});function Cje(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Eje(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Aje(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Cje,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Sje(t,e){Array.isArray(t.illegal)&&(t.illegal=gl(...t.illegal))}function Tje(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 Dje(t,e){t.relevance===void 0&&(t.relevance=1)}const Mje=(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=Qn(n.beforeMatch,zf(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},Oje=["of","and","for","in","not","or","if","then","parent","list","value"],Lje="keyword";function Gf(t,e,n=Lje){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,Gf(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,jje(l[0],l[1])]})}}function jje(t,e){return e?Number(e):Rje(t)?0:1}function Rje(t){return Oje.includes(t.toLowerCase())}const Ru={},Gn=t=>{console.error(t)},Pu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},ss=(t,e)=>{Ru[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Ru[`${t}/${e}`]=!0)},mr=new Error;function Kf(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+=Bf(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function Pje(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Gn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),mr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Gn("beginScope must be object"),mr;Kf(t,t.begin,{key:"beginScope"}),t.begin=ml(t.begin,{joinWith:""})}}function Ije(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Gn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),mr;if(typeof t.endScope!="object"||t.endScope===null)throw Gn("endScope must be object"),mr;Kf(t,t.end,{key:"endScope"}),t.end=ml(t.end,{joinWith:""})}}function Fje(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function $je(t){Fje(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Pje(t),Ije(t)}function qje(t){function e(i,a){return new RegExp(go(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+=Bf(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(ml(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((h,f)=>f>0&&h!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[Eje,Tje,$je,Mje].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[Aje,Sje,Dje].forEach(u=>u(i,a)),i.isCompiled=!0;let c=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),c=i.keywords.$pattern,delete i.keywords.$pattern),c=c||/\w+/,i.keywords&&(i.keywords=Gf(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=go(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 zje(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=vn(t.classNameAliases||{}),r(t)}function Wf(t){return t?t.endsWithParent||Wf(t.starts):!1}function zje(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return vn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Wf(t)?vn(t,{starts:t.starts?vn(t.starts):null}):Object.isFrozen(t)?vn(t):t}var Bje="11.8.0";class Nje extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Fi=qf,Iu=vn,Fu=Symbol("nomatch"),Uje=7,Zf=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:tje};function l(A){return a.noHighlightRe.test(A)}function c(A){let N=A.className+" ";N+=A.parentNode?A.parentNode.className:"";const V=a.languageDetectRe.exec(N);if(V){const me=k(V[1]);return me||(Pu(r.replace("{}",V[1])),Pu("Falling back to no-highlight mode for this block.",A)),me?V[1]:"no-highlight"}return N.split(/\s+/).find(me=>l(me)||k(me))}function u(A,N,V){let me="",pe="";typeof N=="object"?(me=A,V=N.ignoreIllegals,pe=N.language):(ss("10.7.0","highlight(lang, code, ...args) has been deprecated."),ss("10.7.0",`Please use highlight(code, options) instead.
|
||
https://github.com/highlightjs/highlight.js/issues/2277`),pe=A,me=N),V===void 0&&(V=!0);const X={code:me,language:pe};he("before:highlight",X);const ye=X.result?X.result:h(X.language,X.code,V);return ye.code=X.code,he("after:highlight",ye),ye}function h(A,N,V,me){const pe=Object.create(null);function X(H,te){return H.keywords[te]}function ye(){if(!P.keywords){B.addText(G);return}let H=0;P.keywordPatternRe.lastIndex=0;let te=P.keywordPatternRe.exec(G),ue="";for(;te;){ue+=G.substring(H,te.index);const ve=R.case_insensitive?te[0].toLowerCase():te[0],Pe=X(P,ve);if(Pe){const[Be,gt]=Pe;if(B.addText(ue),ue="",pe[ve]=(pe[ve]||0)+1,pe[ve]<=Uje&&(re+=gt),Be.startsWith("_"))ue+=te[0];else{const Je=R.classNameAliases[Be]||Be;W(te[0],Je)}}else ue+=te[0];H=P.keywordPatternRe.lastIndex,te=P.keywordPatternRe.exec(G)}ue+=G.substring(H),B.addText(ue)}function ke(){if(G==="")return;let H=null;if(typeof P.subLanguage=="string"){if(!e[P.subLanguage]){B.addText(G);return}H=h(P.subLanguage,G,!0,ee[P.subLanguage]),ee[P.subLanguage]=H._top}else H=p(G,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(re+=H.relevance),B.__addSublanguage(H._emitter,H.language)}function M(){P.subLanguage!=null?ke():ye(),G=""}function W(H,te){H!==""&&(B.startScope(te),B.addText(H),B.endScope())}function Z(H,te){let ue=1;const ve=te.length-1;for(;ue<=ve;){if(!H._emit[ue]){ue++;continue}const Pe=R.classNameAliases[H[ue]]||H[ue],Be=te[ue];Pe?W(Be,Pe):(G=Be,ye(),G=""),ue++}}function ie(H,te){return H.scope&&typeof H.scope=="string"&&B.openNode(R.classNameAliases[H.scope]||H.scope),H.beginScope&&(H.beginScope._wrap?(W(G,R.classNameAliases[H.beginScope._wrap]||H.beginScope._wrap),G=""):H.beginScope._multi&&(Z(H.beginScope,te),G="")),P=Object.create(H,{parent:{value:P}}),P}function se(H,te,ue){let ve=rje(H.endRe,ue);if(ve){if(H["on:end"]){const Pe=new Ou(H);H["on:end"](te,Pe),Pe.isMatchIgnored&&(ve=!1)}if(ve){for(;H.endsParent&&H.parent;)H=H.parent;return H}}if(H.endsWithParent)return se(H.parent,te,ue)}function ge(H){return P.matcher.regexIndex===0?(G+=H[0],1):(be=!0,0)}function de(H){const te=H[0],ue=H.rule,ve=new Ou(ue),Pe=[ue.__beforeBegin,ue["on:begin"]];for(const Be of Pe)if(Be&&(Be(H,ve),ve.isMatchIgnored))return ge(te);return ue.skip?G+=te:(ue.excludeBegin&&(G+=te),M(),!ue.returnBegin&&!ue.excludeBegin&&(G=te)),ie(ue,H),ue.returnBegin?0:te.length}function _(H){const te=H[0],ue=N.substring(H.index),ve=se(P,H,ue);if(!ve)return Fu;const Pe=P;P.endScope&&P.endScope._wrap?(M(),W(te,P.endScope._wrap)):P.endScope&&P.endScope._multi?(M(),Z(P.endScope,H)):Pe.skip?G+=te:(Pe.returnEnd||Pe.excludeEnd||(G+=te),M(),Pe.excludeEnd&&(G=te));do P.scope&&B.closeNode(),!P.skip&&!P.subLanguage&&(re+=P.relevance),P=P.parent;while(P!==ve.parent);return ve.starts&&ie(ve.starts,H),Pe.returnEnd?0:te.length}function C(){const H=[];for(let te=P;te!==R;te=te.parent)te.scope&&H.unshift(te.scope);H.forEach(te=>B.openNode(te))}let O={};function j(H,te){const ue=te&&te[0];if(G+=H,ue==null)return M(),0;if(O.type==="begin"&&te.type==="end"&&O.index===te.index&&ue===""){if(G+=N.slice(te.index,te.index+1),!o){const ve=new Error(`0 width match regex (${A})`);throw ve.languageName=A,ve.badRule=O.rule,ve}return 1}if(O=te,te.type==="begin")return de(te);if(te.type==="illegal"&&!V){const ve=new Error('Illegal lexeme "'+ue+'" for mode "'+(P.scope||"<unnamed>")+'"');throw ve.mode=P,ve}else if(te.type==="end"){const ve=_(te);if(ve!==Fu)return ve}if(te.type==="illegal"&&ue==="")return 1;if(ae>1e5&&ae>te.index*3)throw new Error("potential infinite loop, way more iterations than matches");return G+=ue,ue.length}const R=k(A);if(!R)throw Gn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const J=qje(R);let oe="",P=me||J;const ee={},B=new a.__emitter(a);C();let G="",re=0,le=0,ae=0,be=!1;try{if(R.__emitTokens)R.__emitTokens(N,B);else{for(P.matcher.considerAll();;){ae++,be?be=!1:P.matcher.considerAll(),P.matcher.lastIndex=le;const H=P.matcher.exec(N);if(!H)break;const te=N.substring(le,H.index),ue=j(te,H);le=H.index+ue}j(N.substring(le))}return B.finalize(),oe=B.toHTML(),{language:A,value:oe,relevance:re,illegal:!1,_emitter:B,_top:P}}catch(H){if(H.message&&H.message.includes("Illegal"))return{language:A,value:Fi(N),illegal:!0,relevance:0,_illegalBy:{message:H.message,index:le,context:N.slice(le-100,le+100),mode:H.mode,resultSoFar:oe},_emitter:B};if(o)return{language:A,value:Fi(N),illegal:!1,relevance:0,errorRaised:H,_emitter:B,_top:P};throw H}}function f(A){const N={value:Fi(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return N._emitter.addText(A),N}function p(A,N){N=N||a.languages||Object.keys(e);const V=f(A),me=N.filter(k).filter(z).map(M=>h(M,A,!1));me.unshift(V);const pe=me.sort((M,W)=>{if(M.relevance!==W.relevance)return W.relevance-M.relevance;if(M.language&&W.language){if(k(M.language).supersetOf===W.language)return 1;if(k(W.language).supersetOf===M.language)return-1}return 0}),[X,ye]=pe,ke=X;return ke.secondBest=ye,ke}function g(A,N,V){const me=N&&n[N]||V;A.classList.add("hljs"),A.classList.add(`language-${me}`)}function m(A){let N=null;const V=c(A);if(l(V))return;if(he("before:highlightElement",{el:A,language:V}),A.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(A)),a.throwUnescapedHTML))throw new Nje("One of your code blocks includes unescaped HTML.",A.innerHTML);N=A;const me=N.textContent,pe=V?u(me,{language:V,ignoreIllegals:!0}):p(me);A.innerHTML=pe.value,g(A,V,pe.language),A.result={language:pe.language,re:pe.relevance,relevance:pe.relevance},pe.secondBest&&(A.secondBest={language:pe.secondBest.language,relevance:pe.secondBest.relevance}),he("after:highlightElement",{el:A,result:pe,text:me})}function w(A){a=Iu(a,A)}const v=()=>{E(),ss("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){E(),ss("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function E(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function $(){x&&E()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",$,!1);function T(A,N){let V=null;try{V=N(t)}catch(me){if(Gn("Language definition for '{}' could not be registered.".replace("{}",A)),o)Gn(me);else throw me;V=i}V.name||(V.name=A),e[A]=V,V.rawDefinition=N.bind(null,t),V.aliases&&S(V.aliases,{languageName:A})}function q(A){delete e[A];for(const N of Object.keys(n))n[N]===A&&delete n[N]}function b(){return Object.keys(e)}function k(A){return A=(A||"").toLowerCase(),e[A]||e[n[A]]}function S(A,{languageName:N}){typeof A=="string"&&(A=[A]),A.forEach(V=>{n[V.toLowerCase()]=N})}function z(A){const N=k(A);return N&&!N.disableAutodetect}function F(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=N=>{A["before:highlightBlock"](Object.assign({block:N.el},N))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=N=>{A["after:highlightBlock"](Object.assign({block:N.el},N))})}function Y(A){F(A),s.push(A)}function I(A){const N=s.indexOf(A);N!==-1&&s.splice(N,1)}function he(A,N){const V=A;s.forEach(function(me){me[V]&&me[V](N)})}function Q(A){return ss("10.7.0","highlightBlock will be removed entirely in v12.0"),ss("10.7.0","Please use highlightElement now."),m(A)}Object.assign(t,{highlight:u,highlightAuto:p,highlightAll:E,highlightElement:m,highlightBlock:Q,configure:w,initHighlighting:v,initHighlightingOnLoad:y,registerLanguage:T,unregisterLanguage:q,listLanguages:b,getLanguage:k,registerAliases:S,autoDetection:z,inherit:Iu,addPlugin:Y,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=Bje,t.regex={concat:Qn,lookahead:zf,either:gl,optional:sje,anyNumberOfTimes:nje};for(const A in zo)typeof zo[A]=="object"&&$f(zo[A]);return Object.assign(t,zo),t},ws=Zf({});ws.newInstance=()=>Zf({});var Hje=ws;ws.HighlightJS=ws;ws.default=ws;const $u=js(Hje);var Sn={};Sn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",h=!0,f=!1;for(let p=e+n.leftDelimiter.length;p<t.length;p++){if(t.slice(p,p+n.rightDelimiter.length)===n.rightDelimiter){c!==""&&l.push([c,u]);break}const g=t.charAt(p);if(g===r&&h){h=!1;continue}if(g===i&&c===""){t.charAt(p+1)===i?(c="css-module",p+=1):c="class",h=!1;continue}if(g===a&&c===""){c="id",h=!1;continue}if(g==='"'&&u===""&&!f){f=!0;continue}if(g==='"'&&f){f=!1;continue}if(g===o&&!f){if(c==="")continue;l.push([c,u]),c="",u="",h=!0;continue}if(!(h&&g.search(s)===-1)){if(h){c+=g;continue}u+=g}}if(n.allowedAttributes&&n.allowedAttributes.length){const p=n.allowedAttributes;return l.filter(function(g){const m=g[0];function w(v){return m===v||v instanceof RegExp&&v.test(m)}return p.some(w)})}return l};Sn.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};Sn.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 c=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=r===-1?-1:n.indexOf(e.rightDelimiter,c),l=n.charAt(i+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=r===-1?-1:n.indexOf(e.rightDelimiter,r+c),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${t}, expected 'start', 'end' or 'only'`)}return r!==-1&&i!==-1&&o(n.substring(r,i+e.rightDelimiter.length))}};Sn.removeDelimiter=function(t,e){const n=pa(e.leftDelimiter),s=pa(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function pa(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Sn.escapeRegExp=pa;Sn.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 Vje=/[&<>"]/,Gje=/[&<>"]/g,Kje={"&":"&","<":"<",">":">",'"':"""};function Wje(t){return Kje[t]}Sn.escapeHtml=function(t){return Vje.test(t)?t.replace(Gje,Wje):t};const De=Sn;var Zje=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+De.escapeRegExp(t.leftDelimiter)+"[^"+De.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:De.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=De.getAttrs(o.info,r,t);De.addAttrs(i,o),o.info=De.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:De.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=De.getAttrs(r.content,0,t);De.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:De.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=De.getMatchingOpeningToken(n,s),i=De.getAttrs(o.content,0,t);De.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:De.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=De.getAttrs(i,0,t),l=De.getMatchingOpeningToken(n[s].children,o-1);De.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:De.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=De.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--;De.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:De.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=De.getAttrs(r,0,t),a=De.getMatchingOpeningToken(n,s);De.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:De.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=De.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);De.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=qu(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:De.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=De.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=De.getMatchingOpeningToken(n,a);De.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=De.getAttrs(r,i,t);De.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:De.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=De.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=De.getMatchingOpeningToken(n,l);De.addAttrs(a,c);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=qu(u)!==" "?u:u.slice(0,-1)}}]};function qu(t){return t.slice(-1)[0]}const Jje=Zje,Yje={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var Qje=function(e,n){let s=Object.assign({},Yje);s=Object.assign(s,n);const o=Jje(s);function r(i){const a=i.tokens;for(let l=0;l<a.length;l++)for(let c=0;c<o.length;c++){const u=o[c];let h=null;u.tests.every(p=>{const g=ga(a,l,p);return g.j!==null&&(h=g.j),g.match})&&(u.transform(a,l,h),(u.name==="inline attributes"||u.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function ga(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=tRe(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"&&Xje(n.children)){if(r.children.length===0)return s;let a;const l=n.children,c=r.children;if(l.every(u=>u.position!==void 0)){if(a=l.every(u=>ga(c,u.position,u).match),a){const u=nRe(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;u<c.length;u++)if(a=l.every(h=>ga(c,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(eRe(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 Xje(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function eRe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function tRe(t,e){return e>=0?t[e]:t[t.length+e]}function nRe(t){return t.slice(-1)[0]||{}}const sRe=js(Qje);function oRe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const ma=new Kle("commonmark",{html:!1,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{if(e&&$u.getLanguage(e))try{const o=$u.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" onclick="copyContentToClipboard('+n+')">Copy</span><span class="hidden text-xs text-green-500" id="copyed-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copied!</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">'+o+"</code></pre></div>"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}let n=oRe();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><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">'+ma.utils.escapeHtml(t)+"</code></pre></div>"}}).use(YLe).use(sRe),rRe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=`
|
||
// Your inline script code here
|
||
console.log('Inline script executed!');
|
||
|
||
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();
|
||
|
||
this.isCopied = true;
|
||
|
||
setTimeout(() => {
|
||
this.isCopied = false;
|
||
}, 1500);
|
||
}
|
||
`,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=ma.render(this.markdownText),fe(()=>{xe.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=ma.render(t),fe(()=>{xe.replace()})}}},iRe={class:"break-all"},aRe=["innerHTML"];function lRe(t,e,n,s,o,r){return D(),L("div",iRe,[d("div",{innerHTML:o.renderedMarkdown,class:""},null,8,aRe)])}const cRe=Ge(rRe,[["render",lRe]]);const uRe="/",dRe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:cRe},props:{message:Object,avatar:""},data(){return{expanded:!1,new_message_content:"",showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){this.new_message_content=this.message.content,fe(()=>{xe.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.new_message_content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.new_message_content)},getImgUrl(){return this.message.sender=="user"?this.avatar?this.avatar:iv:this.avatar?uRe+this.avatar:xs},defaultImg(t){t.target.src=xs},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{showConfirmation(){fe(()=>{xe.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),fe(()=>{xe.replace()})},deleteMsgMode(){fe(()=>{xe.replace()})}},computed:{created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(c){return c<10&&(c="0"+c),c}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},hRe={class:"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-x-hidden p-4 pb-2"},fRe={class:"flex flex-row gap-2"},pRe={class:"flex-shrink-0"},gRe=["src"],mRe={class:"flex flex-col w-full flex-grow-0"},_Re={class:"flex flex-row flex-grow items-start"},yRe={class:"flex flex-col mb-2"},bRe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},vRe=["title"],xRe=d("div",{class:"flex-grow"},null,-1),wRe={class:"flex-row justify-end mx-2"},kRe={class:"invisible group-hover:visible flex flex-row"},CRe={key:0,class:"flex items-center duration-75"},ERe=d("i",{"data-feather":"x"},null,-1),ARe=[ERe],SRe=d("i",{"data-feather":"check"},null,-1),TRe=[SRe],DRe=d("i",{"data-feather":"edit"},null,-1),MRe=[DRe],ORe=d("i",{"data-feather":"copy"},null,-1),LRe=[ORe],jRe=d("i",{"data-feather":"refresh-cw"},null,-1),RRe=[jRe],PRe={key:2,class:"flex items-center duration-75"},IRe=d("i",{"data-feather":"x"},null,-1),FRe=[IRe],$Re=d("i",{"data-feather":"check"},null,-1),qRe=[$Re],zRe=d("i",{"data-feather":"trash"},null,-1),BRe=[zRe],NRe=d("i",{"data-feather":"thumbs-up"},null,-1),URe=[NRe],HRe={class:"flex flex-row items-center"},VRe=d("i",{"data-feather":"thumbs-down"},null,-1),GRe=[VRe],KRe={class:"overflow-x-auto w-full"},WRe={class:"text-sm text-gray-400 mt-2"},ZRe={class:"flex flex-row items-center gap-2"},JRe={key:0},YRe={class:"font-thin"},QRe={key:1},XRe={class:"font-thin"},ePe={key:2},tPe={class:"font-thin"},nPe={key:3},sPe=["title"];function oPe(t,e,n,s,o,r){const i=Wt("MarkdownRenderer");return D(),L("div",hRe,[d("div",fRe,[d("div",pRe,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,gRe)]),d("div",mRe,[d("div",_Re,[d("div",yRe,[d("div",bRe,ne(n.message.sender)+" ",1),n.message.created_at?(D(),L("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},ne(r.created_at),9,vRe)):K("",!0)]),xRe,d("div",wRe,[d("div",kRe,[o.editMsgMode?(D(),L("div",CRe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=ce(a=>o.editMsgMode=!1,["stop"]))},ARe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=ce((...a)=>r.updateMessage&&r.updateMessage(...a),["stop"]))},TRe)])):K("",!0),o.editMsgMode?K("",!0):(D(),L("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ce(a=>o.editMsgMode=!0,["stop"]))},MRe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=ce(a=>r.copyContentToClipboard(),["stop"]))},LRe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ce(a=>r.resendMessage(),["stop"]))},RRe),o.deleteMsgMode?(D(),L("div",PRe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[6]||(e[6]=ce(a=>o.deleteMsgMode=!1,["stop"]))},FRe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ce(a=>r.deleteMsg(),["stop"]))},qRe)])):K("",!0),o.deleteMsgMode?K("",!0):(D(),L("div",{key:3,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[8]||(e[8]=a=>o.deleteMsgMode=!0)},BRe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=ce(a=>r.rankUp(),["stop"]))},URe),d("div",HRe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=ce(a=>r.rankDown(),["stop"]))},GRe),n.message.rank!=0?(D(),L("div",{key:0,class:Ae(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ne(n.message.rank),3)):K("",!0)])])])]),d("div",KRe,[o.editMsgMode?K("",!0):(D(),at(i,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Te((D(),L("textarea",{key:1,ref:"mdTextarea",rows:4,class:"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",style:xn({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[11]||(e[11]=a=>o.new_message_content=a)},null,4)),[[qe,o.new_message_content]]):K("",!0)]),d("div",WRe,[d("div",ZRe,[n.message.binding?(D(),L("p",JRe,[Ce("Binding: "),d("span",YRe,ne(n.message.binding),1)])):K("",!0),n.message.model?(D(),L("p",QRe,[Ce("Model: "),d("span",XRe,ne(n.message.model),1)])):K("",!0),n.message.seed?(D(),L("p",ePe,[Ce("Seed: "),d("span",tPe,ne(n.message.seed),1)])):K("",!0),r.time_spent?(D(),L("p",nPe,[Ce("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},ne(r.time_spent),9,sPe)])):K("",!0)])])])])])}const Jf=Ge(dRe,[["render",oPe]]),rPe="/";Me.defaults.baseURL="/";const iPe={name:"MountedPersonalities",setup(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:rPe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{async constructor(){this.configFile=await this.api_get_req("get_config");let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,await this.getPersonalitiesArr().then(()=>{this.getMountedPersonalities(),this.$forceUpdate()})},async api_get_req(t){try{const e=await Me.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s<n.length;s++){const o=n[s],r=t[o],i=Object.keys(r);for(let a=0;a<i.length;a++){const l=i[a],u=r[l].map(h=>{const f=e.personalities.includes(o+"/"+l+"/"+h.folder);let p={};return p=h,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+h.folder,p.isMounted=f,p});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.isLoading=!1},personalityImgPlacehodler(t){t.target.src=xs},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),this.isLoading=!0},async onPersonalitySelected(t){if(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);return}if(this.settingsChanged=!0,t.isMounted){const e=await this.select_personality(t);e&&e.status&&this.$refs.toast.showToast(`Selected personality:
|
||
`+t.name,4,!0)}else this.onPersonalityMounted(t);this.isLoading=!1}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Me.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{this.isLoading=!0;const n=await Me.post("/unmount_personality",e);if(this.isLoading=!1,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 Me.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
|
||
`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
|
||
Error: `+e.error,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
|
||
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
|
||
Error: `+e.error,4,!1);this.isLoading=!1},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;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];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),console.log("fig",this.configFile.personality_category)}}},aPe={class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row overflow-visible 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"},lPe={class:"flex -space-x-4 items-center"},cPe={class:"group items-center flex flex-row"},uPe=["onClick"],dPe=["src","title"],hPe=["onClick"],fPe=d("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[d("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1),pPe=[fPe];function gPe(t,e,n,s,o,r){return D(),L("div",aPe,[d("div",lPe,[(D(!0),L(Ie,null,rt(s.mountedPersArr,(i,a)=>(D(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:a+"-"+i.name},[d("div",cPe,[d("button",{onClick:ce(l=>r.onPersonalitySelected(i),["stop"])},[d("img",{src:s.bUrl+i.avatar,onError:e[0]||(e[0]=(...l)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...l)),class:Ae(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",s.configFile.active_personality_id==s.configFile.personalities.indexOf(i.full_path)?"border-secondary":"border-transparent z-0"]),title:i.name},null,42,dPe)],8,uPe),d("button",{onClick:ce(l=>r.onPersonalityMounted(i),["stop"])},pPe,8,hPe)])]))),128))])])}const mPe=Ge(iPe,[["render",gPe]]);const _Pe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{loading:!1},components:{MountedPersonalities:mPe},setup(){},data(){return{message:"",fileList:[],totalSize:0}},methods:{computedFileSize(t){return fe(()=>{xe.replace()}),Bn(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{loading(t,e){fe(()=>{xe.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=Bn(n,!0)},deep:!0}},mounted(){fe(()=>{xe.replace()})},activated(){fe(()=>{xe.replace()})}},Rt=t=>(vo("data-v-6d247de3"),t=t(),xo(),t),yPe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},bPe={key:0,class:"flex items-center justify-center w-full"},vPe={class:"flex flex-row p-2 rounded-t-lg"},xPe=Rt(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),wPe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},kPe={class:"flex flex-col gap-2"},CPe={key:0,class:"flex flex-col max-h-64"},EPe=["title"],APe={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"},SPe=Rt(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),TPe={class:"line-clamp-1 w-3/5"},DPe=Rt(()=>d("div",{class:"grow"},null,-1)),MPe={class:"flex flex-row items-center"},OPe={class:"whitespace-nowrap"},LPe=["onClick"],jPe=Rt(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),RPe=[jPe],PPe={key:1,class:"flex items-center mx-1"},IPe={class:"whitespace-nowrap flex flex-row gap-2"},FPe=Rt(()=>d("p",{class:"font-bold"}," Total size: ",-1)),$Pe=Rt(()=>d("div",{class:"grow"},null,-1)),qPe=Rt(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),zPe=[qPe],BPe={class:"flex flex-row flex-grow items-center gap-2"},NPe={class:"relative grow"},UPe=Rt(()=>d("i",{"data-feather":"file-plus"},null,-1)),HPe=[UPe],VPe={class:"inline-flex justify-center rounded-full"},GPe=Rt(()=>d("i",{"data-feather":"send"},null,-1)),KPe=Rt(()=>d("span",{class:"sr-only"},"Send message",-1)),WPe=[GPe,KPe],ZPe={key:1,title:"Waiting for reply"},JPe=Rt(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),YPe=[JPe];function QPe(t,e,n,s,o,r){return D(),L("div",yPe,[n.loading?(D(),L("div",bPe,[d("div",vPe,[d("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=ce((...i)=>r.stopGenerating&&r.stopGenerating(...i),["stop"]))}," Stop generating ")])])):K("",!0),d("form",null,[xPe,d("div",wPe,[d("div",kPe,[o.fileList.length>0?(D(),L("div",CPe,[Se(Cn,{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:Qe(()=>[(D(!0),L(Ie,null,rt(o.fileList,(i,a)=>(D(),L("div",{key:a+"-"+i.name},[d("div",{class:"m-1",title:i.name},[d("div",APe,[SPe,d("div",TPe,ne(i.name),1),DPe,d("div",MPe,[d("p",OPe,ne(r.computedFileSize(i.size)),1),d("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:l=>r.removeItem(i)},RPe,8,LPe)])])],8,EPe)]))),128))]),_:1})])):K("",!0),o.fileList.length>0?(D(),L("div",PPe,[d("div",IPe,[FPe,Ce(" "+ne(o.totalSize)+" ("+ne(o.fileList.length)+") ",1)]),$Pe,d("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[1]||(e[1]=i=>o.fileList=[])},zPe)])):K("",!0),d("div",BPe,[d("div",NPe,[Te(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[2]||(e[2]=i=>o.message=i),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[3]||(e[3]=Ji(ce(i=>r.submitOnEnter(i),["exact"]),["enter"]))},`\r
|
||
\r
|
||
\r
|
||
`,544),[[qe,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[4]||(e[4]=(...i)=>r.addFiles&&r.addFiles(...i)),multiple:""},null,544),d("button",{type:"button",onClick:e[5]||(e[5]=ce(i=>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"},HPe)]),d("div",VPe,[n.loading?K("",!0):(D(),L("button",{key:0,type:"button",onClick:e[6]||(e[6]=(...i)=>r.submit&&r.submit(...i)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},WPe)),n.loading?(D(),L("div",ZPe,YPe)):K("",!0)])])])])])])}const Yf=Ge(_Pe,[["render",QPe],["__scopeId","data-v-6d247de3"]]),XPe={name:"WelcomeComponent",setup(){return{}}},eIe={class:"flex flex-col text-center"},tIe=wo('<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="'+Sh+'" 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),nIe=[tIe];function sIe(t,e,n,s,o,r){return D(),L("div",eIe,nIe)}const Qf=Ge(XPe,[["render",sIe]]);const oIe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){fe(()=>{xe.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)}),fe(()=>{xe.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,fe(()=>{xe.replace()})}}},rIe={class:"text-4xl text-center"};function iIe(t,e,n,s,o,r){return D(),at(Cn,{name:"list",tag:"div"},{default:Qe(()=>[o.show?(D(),L("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=ce(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ce(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:Ae(["flex flex-col items-center justify-center p-8 rounded-lg shadow-lg border-dashed border-4 border-secondary w-4/5 h-4/5",o.dropRelease?"":"pointer-events-none"])},[d("div",rIe,[Id(t.$slots,"default",{},()=>[Ce(" Drop your files here ")])])],2)],32)):K("",!0)]),_:3})}const _a=Ge(oIe,[["render",iIe]]);var aIe=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}(),_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)},yr={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(){}},Xf=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=yr),this._items=e,this._options=_r(_r({},yr),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=Xf);function ep(){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 Xf(o,{alwaysOpen:e==="open",activeClasses:n||yr.activeClasses,inactiveClasses:s||yr.inactiveClasses})})}var br=globalThis&&globalThis.__assign||function(){return br=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},br.apply(this,arguments)},zu={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},tp=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=zu),this._targetEl=e,this._triggerEl=n,this._options=br(br({},zu),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=tp);function np(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var e=t.getAttribute("data-collapse-toggle"),n=document.getElementById(e);n?new tp(n,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))})}var Fn=globalThis&&globalThis.__assign||function(){return Fn=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},Fn.apply(this,arguments)},or={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(){}},sp=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=or),this._items=e,this._options=Fn(Fn(Fn({},or),n),{indicators:Fn(Fn({},or.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=sp);function op(){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(c,u){s.push({position:u,el:c}),c.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(c){r.push({position:parseInt(c.getAttribute("data-carousel-slide-to")),el:c})});var i=new sp(s,{defaultPosition:o,indicators:{items:r},interval:e||or.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 vr=globalThis&&globalThis.__assign||function(){return vr=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},vr.apply(this,arguments)},Bu={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},rp=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Bu),this._targetEl=e,this._triggerEl=n,this._options=vr(vr({},Bu),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=rp);function ip(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var e=t.getAttribute("data-dismiss-target"),n=document.querySelector(e);n?new rp(n,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))})}var lt="top",Ct="bottom",Et="right",ct="left",yl="auto",So=[lt,Ct,Et,ct],ks="start",_o="end",lIe="clippingParents",ap="viewport",Us="popper",cIe="reference",Nu=So.reduce(function(t,e){return t.concat([e+"-"+ks,e+"-"+_o])},[]),lp=[].concat(So,[yl]).reduce(function(t,e){return t.concat([e,e+"-"+ks,e+"-"+_o])},[]),uIe="beforeRead",dIe="read",hIe="afterRead",fIe="beforeMain",pIe="main",gIe="afterMain",mIe="beforeWrite",_Ie="write",yIe="afterWrite",bIe=[uIe,dIe,hIe,fIe,pIe,gIe,mIe,_Ie,yIe];function Ht(t){return t?(t.nodeName||"").toLowerCase():null}function pt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Zn(t){var e=pt(t).Element;return t instanceof e||t instanceof Element}function wt(t){var e=pt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function bl(t){if(typeof ShadowRoot>"u")return!1;var e=pt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function vIe(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];!wt(r)||!Ht(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 xIe(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var o=e.elements[s],r=e.attributes[s]||{},i=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=i.reduce(function(l,c){return l[c]="",l},{});!wt(o)||!Ht(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const wIe={name:"applyStyles",enabled:!0,phase:"write",fn:vIe,effect:xIe,requires:["computeStyles"]};function Bt(t){return t.split("-")[0]}var Kn=Math.max,xr=Math.min,Cs=Math.round;function ya(){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 cp(){return!/^((?!chrome|android).)*safari/i.test(ya())}function Es(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&wt(t)&&(o=t.offsetWidth>0&&Cs(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Cs(s.height)/t.offsetHeight||1);var i=Zn(t)?pt(t):window,a=i.visualViewport,l=!cp()&&n,c=(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:c+h,bottom:u+f,left:c,x:c,y:u}}function vl(t){var e=Es(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 up(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&bl(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function nn(t){return pt(t).getComputedStyle(t)}function kIe(t){return["table","td","th"].indexOf(Ht(t))>=0}function Tn(t){return((Zn(t)?t.ownerDocument:t.document)||window.document).documentElement}function oi(t){return Ht(t)==="html"?t:t.assignedSlot||t.parentNode||(bl(t)?t.host:null)||Tn(t)}function Uu(t){return!wt(t)||nn(t).position==="fixed"?null:t.offsetParent}function CIe(t){var e=/firefox/i.test(ya()),n=/Trident/i.test(ya());if(n&&wt(t)){var s=nn(t);if(s.position==="fixed")return null}var o=oi(t);for(bl(o)&&(o=o.host);wt(o)&&["html","body"].indexOf(Ht(o))<0;){var r=nn(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 To(t){for(var e=pt(t),n=Uu(t);n&&kIe(n)&&nn(n).position==="static";)n=Uu(n);return n&&(Ht(n)==="html"||Ht(n)==="body"&&nn(n).position==="static")?e:n||CIe(t)||e}function xl(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Qs(t,e,n){return Kn(t,xr(e,n))}function EIe(t,e,n){var s=Qs(t,e,n);return s>n?n:s}function dp(){return{top:0,right:0,bottom:0,left:0}}function hp(t){return Object.assign({},dp(),t)}function fp(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var AIe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,hp(typeof e!="number"?e:fp(e,So))};function SIe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Bt(n.placement),l=xl(a),c=[ct,Et].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var h=AIe(o.padding,n),f=vl(r),p=l==="y"?lt:ct,g=l==="y"?Ct:Et,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],w=i[l]-n.rects.reference[l],v=To(r),y=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,x=m/2-w/2,E=h[p],$=y-f[u]-h[g],T=y/2-f[u]/2+x,q=Qs(E,T,$),b=l;n.modifiersData[s]=(e={},e[b]=q,e.centerOffset=q-T,e)}}function TIe(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)||up(e.elements.popper,o)&&(e.elements.arrow=o))}const DIe={name:"arrow",enabled:!0,phase:"main",fn:SIe,effect:TIe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function As(t){return t.split("-")[1]}var MIe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function OIe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Cs(n*o)/o||0,y:Cs(s*o)/o||0}}function Hu(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,h=t.isFixed,f=i.x,p=f===void 0?0:f,g=i.y,m=g===void 0?0:g,w=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=w.x,m=w.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),x=ct,E=lt,$=window;if(c){var T=To(n),q="clientHeight",b="clientWidth";if(T===pt(n)&&(T=Tn(n),nn(T).position!=="static"&&a==="absolute"&&(q="scrollHeight",b="scrollWidth")),T=T,o===lt||(o===ct||o===Et)&&r===_o){E=Ct;var k=h&&T===$&&$.visualViewport?$.visualViewport.height:T[q];m-=k-s.height,m*=l?1:-1}if(o===ct||(o===lt||o===Ct)&&r===_o){x=Et;var S=h&&T===$&&$.visualViewport?$.visualViewport.width:T[b];p-=S-s.width,p*=l?1:-1}}var z=Object.assign({position:a},c&&MIe),F=u===!0?OIe({x:p,y:m},pt(n)):{x:p,y:m};if(p=F.x,m=F.y,l){var Y;return Object.assign({},z,(Y={},Y[E]=y?"0":"",Y[x]=v?"0":"",Y.transform=($.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",Y))}return Object.assign({},z,(e={},e[E]=y?m+"px":"",e[x]=v?p+"px":"",e.transform="",e))}function LIe(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Bt(e.placement),variation:As(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,Hu(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Hu(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const jIe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:LIe,data:{}};var Bo={passive:!0};function RIe(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=pt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",n.update,Bo)}),a&&l.addEventListener("resize",n.update,Bo),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Bo)}),a&&l.removeEventListener("resize",n.update,Bo)}}const PIe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:RIe,data:{}};var IIe={left:"right",right:"left",bottom:"top",top:"bottom"};function rr(t){return t.replace(/left|right|bottom|top/g,function(e){return IIe[e]})}var FIe={start:"end",end:"start"};function Vu(t){return t.replace(/start|end/g,function(e){return FIe[e]})}function wl(t){var e=pt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function kl(t){return Es(Tn(t)).left+wl(t).scrollLeft}function $Ie(t,e){var n=pt(t),s=Tn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=cp();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+kl(t),y:l}}function qIe(t){var e,n=Tn(t),s=wl(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Kn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Kn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+kl(t),l=-s.scrollTop;return nn(o||n).direction==="rtl"&&(a+=Kn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Cl(t){var e=nn(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function pp(t){return["html","body","#document"].indexOf(Ht(t))>=0?t.ownerDocument.body:wt(t)&&Cl(t)?t:pp(oi(t))}function Xs(t,e){var n;e===void 0&&(e=[]);var s=pp(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=pt(s),i=o?[r].concat(r.visualViewport||[],Cl(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(Xs(oi(i)))}function ba(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function zIe(t,e){var n=Es(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 Gu(t,e,n){return e===ap?ba($Ie(t,n)):Zn(e)?zIe(e,n):ba(qIe(Tn(t)))}function BIe(t){var e=Xs(oi(t)),n=["absolute","fixed"].indexOf(nn(t).position)>=0,s=n&&wt(t)?To(t):t;return Zn(s)?e.filter(function(o){return Zn(o)&&up(o,s)&&Ht(o)!=="body"}):[]}function NIe(t,e,n,s){var o=e==="clippingParents"?BIe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var u=Gu(t,c,s);return l.top=Kn(u.top,l.top),l.right=xr(u.right,l.right),l.bottom=xr(u.bottom,l.bottom),l.left=Kn(u.left,l.left),l},Gu(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 gp(t){var e=t.reference,n=t.element,s=t.placement,o=s?Bt(s):null,r=s?As(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case lt:l={x:i,y:e.y-n.height};break;case Ct:l={x:i,y:e.y+e.height};break;case Et:l={x:e.x+e.width,y:a};break;case ct:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?xl(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case ks:l[c]=l[c]-(e[u]/2-n[u]/2);break;case _o:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function yo(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?lIe:a,c=n.rootBoundary,u=c===void 0?ap:c,h=n.elementContext,f=h===void 0?Us:h,p=n.altBoundary,g=p===void 0?!1:p,m=n.padding,w=m===void 0?0:m,v=hp(typeof w!="number"?w:fp(w,So)),y=f===Us?cIe:Us,x=t.rects.popper,E=t.elements[g?y:f],$=NIe(Zn(E)?E:E.contextElement||Tn(t.elements.popper),l,u,i),T=Es(t.elements.reference),q=gp({reference:T,element:x,strategy:"absolute",placement:o}),b=ba(Object.assign({},x,q)),k=f===Us?b:T,S={top:$.top-k.top+v.top,bottom:k.bottom-$.bottom+v.bottom,left:$.left-k.left+v.left,right:k.right-$.right+v.right},z=t.modifiersData.offset;if(f===Us&&z){var F=z[o];Object.keys(S).forEach(function(Y){var I=[Et,Ct].indexOf(Y)>=0?1:-1,he=[lt,Ct].indexOf(Y)>=0?"y":"x";S[Y]+=F[he]*I})}return S}function UIe(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=n.boundary,r=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?lp:l,u=As(s),h=u?a?Nu:Nu.filter(function(g){return As(g)===u}):So,f=h.filter(function(g){return c.indexOf(g)>=0});f.length===0&&(f=h);var p=f.reduce(function(g,m){return g[m]=yo(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Bt(m)],g},{});return Object.keys(p).sort(function(g,m){return p[g]-p[m]})}function HIe(t){if(Bt(t)===yl)return[];var e=rr(t);return[Vu(t),e,Vu(e)]}function VIe(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,m=n.allowedAutoPlacements,w=e.options.placement,v=Bt(w),y=v===w,x=l||(y||!g?[rr(w)]:HIe(w)),E=[w].concat(x).reduce(function(ke,M){return ke.concat(Bt(M)===yl?UIe(e,{placement:M,boundary:u,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:m}):M)},[]),$=e.rects.reference,T=e.rects.popper,q=new Map,b=!0,k=E[0],S=0;S<E.length;S++){var z=E[S],F=Bt(z),Y=As(z)===ks,I=[lt,Ct].indexOf(F)>=0,he=I?"width":"height",Q=yo(e,{placement:z,boundary:u,rootBoundary:h,altBoundary:f,padding:c}),A=I?Y?Et:ct:Y?Ct:lt;$[he]>T[he]&&(A=rr(A));var N=rr(A),V=[];if(r&&V.push(Q[F]<=0),a&&V.push(Q[A]<=0,Q[N]<=0),V.every(function(ke){return ke})){k=z,b=!1;break}q.set(z,V)}if(b)for(var me=g?3:1,pe=function(M){var W=E.find(function(Z){var ie=q.get(Z);if(ie)return ie.slice(0,M).every(function(se){return se})});if(W)return k=W,"break"},X=me;X>0;X--){var ye=pe(X);if(ye==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const GIe={name:"flip",enabled:!0,phase:"main",fn:VIe,requiresIfExists:["offset"],data:{_skip:!1}};function Ku(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 Wu(t){return[lt,Et,Ct,ct].some(function(e){return t[e]>=0})}function KIe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=yo(e,{elementContext:"reference"}),a=yo(e,{altBoundary:!0}),l=Ku(i,s),c=Ku(a,o,r),u=Wu(l),h=Wu(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const WIe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:KIe};function ZIe(t,e,n){var s=Bt(t),o=[ct,lt].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,[ct,Et].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function JIe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=lp.reduce(function(u,h){return u[h]=ZIe(h,e.rects,r),u},{}),a=i[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=i}const YIe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:JIe};function QIe(t){var e=t.state,n=t.name;e.modifiersData[n]=gp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const XIe={name:"popperOffsets",enabled:!0,phase:"read",fn:QIe,data:{}};function eFe(t){return t==="x"?"y":"x"}function tFe(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,p=f===void 0?!0:f,g=n.tetherOffset,m=g===void 0?0:g,w=yo(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=Bt(e.placement),y=As(e.placement),x=!y,E=xl(v),$=eFe(E),T=e.modifiersData.popperOffsets,q=e.rects.reference,b=e.rects.popper,k=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,S=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(T){if(r){var Y,I=E==="y"?lt:ct,he=E==="y"?Ct:Et,Q=E==="y"?"height":"width",A=T[E],N=A+w[I],V=A-w[he],me=p?-b[Q]/2:0,pe=y===ks?q[Q]:b[Q],X=y===ks?-b[Q]:-q[Q],ye=e.elements.arrow,ke=p&&ye?vl(ye):{width:0,height:0},M=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:dp(),W=M[I],Z=M[he],ie=Qs(0,q[Q],ke[Q]),se=x?q[Q]/2-me-ie-W-S.mainAxis:pe-ie-W-S.mainAxis,ge=x?-q[Q]/2+me+ie+Z+S.mainAxis:X+ie+Z+S.mainAxis,de=e.elements.arrow&&To(e.elements.arrow),_=de?E==="y"?de.clientTop||0:de.clientLeft||0:0,C=(Y=z==null?void 0:z[E])!=null?Y:0,O=A+se-C-_,j=A+ge-C,R=Qs(p?xr(N,O):N,A,p?Kn(V,j):V);T[E]=R,F[E]=R-A}if(a){var J,oe=E==="x"?lt:ct,P=E==="x"?Ct:Et,ee=T[$],B=$==="y"?"height":"width",G=ee+w[oe],re=ee-w[P],le=[lt,ct].indexOf(v)!==-1,ae=(J=z==null?void 0:z[$])!=null?J:0,be=le?G:ee-q[B]-b[B]-ae+S.altAxis,H=le?ee+q[B]+b[B]-ae-S.altAxis:re,te=p&&le?EIe(be,ee,H):Qs(p?be:G,ee,p?H:re);T[$]=te,F[$]=te-ee}e.modifiersData[s]=F}}const nFe={name:"preventOverflow",enabled:!0,phase:"main",fn:tFe,requiresIfExists:["offset"]};function sFe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function oFe(t){return t===pt(t)||!wt(t)?wl(t):sFe(t)}function rFe(t){var e=t.getBoundingClientRect(),n=Cs(e.width)/t.offsetWidth||1,s=Cs(e.height)/t.offsetHeight||1;return n!==1||s!==1}function iFe(t,e,n){n===void 0&&(n=!1);var s=wt(e),o=wt(e)&&rFe(e),r=Tn(e),i=Es(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Ht(e)!=="body"||Cl(r))&&(a=oFe(e)),wt(e)?(l=Es(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=kl(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function aFe(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 lFe(t){var e=aFe(t);return bIe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function cFe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function uFe(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 Zu={placement:"bottom",modifiers:[],strategy:"absolute"};function Ju(){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 dFe(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,s=n===void 0?[]:n,o=e.defaultOptions,r=o===void 0?Zu:o;return function(a,l,c){c===void 0&&(c=r);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Zu,r),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},h=[],f=!1,p={state:u,setOptions:function(v){var y=typeof v=="function"?v(u.options):v;m(),u.options=Object.assign({},r,u.options,y),u.scrollParents={reference:Zn(a)?Xs(a):a.contextElement?Xs(a.contextElement):[],popper:Xs(l)};var x=lFe(uFe([].concat(s,u.options.modifiers)));return u.orderedModifiers=x.filter(function(E){return E.enabled}),g(),p.update()},forceUpdate:function(){if(!f){var v=u.elements,y=v.reference,x=v.popper;if(Ju(y,x)){u.rects={reference:iFe(y,To(x),u.options.strategy==="fixed"),popper:vl(x)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(S){return u.modifiersData[S.name]=Object.assign({},S.data)});for(var E=0;E<u.orderedModifiers.length;E++){if(u.reset===!0){u.reset=!1,E=-1;continue}var $=u.orderedModifiers[E],T=$.fn,q=$.options,b=q===void 0?{}:q,k=$.name;typeof T=="function"&&(u=T({state:u,options:b,name:k,instance:p})||u)}}}},update:cFe(function(){return new Promise(function(w){p.forceUpdate(),w(u)})}),destroy:function(){m(),f=!0}};if(!Ju(a,l))return p;p.setOptions(c).then(function(w){!f&&c.onFirstUpdate&&c.onFirstUpdate(w)});function g(){u.orderedModifiers.forEach(function(w){var v=w.name,y=w.options,x=y===void 0?{}:y,E=w.effect;if(typeof E=="function"){var $=E({state:u,name:v,instance:p,options:x}),T=function(){};h.push($||T)}})}function m(){h.forEach(function(w){return w()}),h=[]}return p}}var hFe=[PIe,XIe,jIe,wIe,YIe,GIe,nFe,DIe,WIe],El=dFe({defaultModifiers:hFe}),gn=globalThis&&globalThis.__assign||function(){return gn=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},gn.apply(this,arguments)},No=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))},$n={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},mp=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=$n),this._targetEl=e,this._triggerEl=n,this._options=gn(gn({},$n),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 El(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 gn(gn({},e),{modifiers:No(No([],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 gn(gn({},e),{modifiers:No(No([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();typeof window<"u"&&(window.Dropdown=mp);function _p(){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 mp(n,t,{placement:s||$n.placement,triggerType:i||$n.triggerType,offsetSkidding:o?parseInt(o):$n.offsetSkidding,offsetDistance:r?parseInt(r):$n.offsetDistance,delay:a?parseInt(a):$n.delay})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}var wr=globalThis&&globalThis.__assign||function(){return wr=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},wr.apply(this,arguments)},is={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(){}},va=function(){function t(e,n){e===void 0&&(e=null),n===void 0&&(n=is),this._targetEl=e,this._options=wr(wr({},is),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=va);var Uo=function(t,e){return e.some(function(n){return n.id===t})?e.find(function(n){return n.id===t}):null};function yp(){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");Uo(n,t)||t.push({id:n,object:new va(s,{placement:o||is.placement,backdrop:r||is.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=Uo(n,t);i||(i={id:n,object:new va(s,{placement:o||is.placement,backdrop:r||is.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=Uo(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=Uo(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 kr=globalThis&&globalThis.__assign||function(){return kr=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},kr.apply(this,arguments)},qn={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(){}},bp=function(){function t(e,n){e===void 0&&(e=null),n===void 0&&(n=qn),this._targetEl=e,this._options=kr(kr({},qn),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=bp);var Ho=function(t,e){if(e.some(function(n){return n.id===t}))return e.find(function(n){return n.id===t})};function vp(){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");Ho(n,t)||t.push({id:n,object:new bp(s,{placement:o||qn.placement,bodyScrolling:r?r==="true":qn.bodyScrolling,backdrop:i?i==="true":qn.backdrop,edge:a?a==="true":qn.edge,edgeOffset:l||qn.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=Ho(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=Ho(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=Ho(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 Cr=globalThis&&globalThis.__assign||function(){return Cr=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},Cr.apply(this,arguments)},Yu={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(){}},xp=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=Yu),this._items=e,this._activeTab=n?this.getTab(n.defaultTabId):null,this._options=Cr(Cr({},Yu),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,c;a!==i&&((l=a.triggerEl.classList).remove.apply(l,r._options.activeClasses.split(" ")),(c=a.triggerEl.classList).add.apply(c,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=xp);function wp(){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 xp(e,{defaultTabId:n})})}var mn=globalThis&&globalThis.__assign||function(){return mn=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},mn.apply(this,arguments)},Vo=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))},Er={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},kp=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Er),this._targetEl=e,this._triggerEl=n,this._options=mn(mn({},Er),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 El(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 mn(mn({},e),{modifiers:Vo(Vo([],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 mn(mn({},e),{modifiers:Vo(Vo([],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=kp);function Cp(){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 kp(n,t,{placement:o||Er.placement,triggerType:s||Er.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))})}var _n=globalThis&&globalThis.__assign||function(){return _n=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},_n.apply(this,arguments)},Go=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))},eo={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Ep=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=eo),this._targetEl=e,this._triggerEl=n,this._options=_n(_n({},eo),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 El(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 _n(_n({},e),{modifiers:Go(Go([],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 _n(_n({},e),{modifiers:Go(Go([],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=Ep);function Ap(){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 Ep(n,t,{placement:o||eo.placement,offset:r?parseInt(r):eo.offset,triggerType:s||eo.triggerType})}else console.error('The popover element with id "'.concat(e,'" does not exist. Please check the data-popover-target attribute.'))})}var Ar=globalThis&&globalThis.__assign||function(){return Ar=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},Ar.apply(this,arguments)},xa={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Sp=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=xa),this._parentEl=e,this._triggerEl=n,this._targetEl=s,this._options=Ar(Ar({},xa),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=Sp);function Tp(){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 Sp(t,e,s,{triggerType:o||xa.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 fFe(){ep(),np(),op(),ip(),_p(),yp(),vp(),wp(),Cp(),Ap(),Tp()}var pFe=new aIe("load",[ep,np,op,ip,_p,yp,vp,wp,Cp,Ap,Tp]);pFe.init();const et=t=>(vo("data-v-3db74a92"),t=t(),xo(),t),gFe={class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},mFe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},_Fe={class:"flex-row p-4 flex items-center gap-3 flex-0"},yFe=et(()=>d("i",{"data-feather":"plus"},null,-1)),bFe=[yFe],vFe=et(()=>d("i",{"data-feather":"check-square"},null,-1)),xFe=[vFe],wFe=et(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[d("i",{"data-feather":"refresh-ccw"})],-1)),kFe=et(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),CFe=et(()=>d("i",{"data-feather":"log-in"},null,-1)),EFe=[CFe],AFe=et(()=>d("i",{"data-feather":"search"},null,-1)),SFe=[AFe],TFe={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},DFe=et(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),MFe=[DFe],OFe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},LFe={class:"p-4 pt-2"},jFe={class:"relative"},RFe=et(()=>d("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[d("div",{class:"scale-75"},[d("i",{"data-feather":"search"})])],-1)),PFe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},IFe=et(()=>d("i",{"data-feather":"x"},null,-1)),FFe=[IFe],$Fe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},qFe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},zFe={class:"flex flex-row flex-grow"},BFe={key:0},NFe={class:"flex flex-row"},UFe={key:0,class:"flex gap-3"},HFe=et(()=>d("i",{"data-feather":"trash"},null,-1)),VFe=[HFe],GFe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},KFe=et(()=>d("i",{"data-feather":"check"},null,-1)),WFe=[KFe],ZFe=et(()=>d("i",{"data-feather":"x"},null,-1)),JFe=[ZFe],YFe={class:"flex gap-3"},QFe=et(()=>d("i",{"data-feather":"log-out"},null,-1)),XFe=[QFe],e$e=et(()=>d("i",{"data-feather":"list"},null,-1)),t$e=[e$e],n$e={class:"z-20"},s$e={class:"relative flex flex-row flex-grow mb-10"},o$e={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},r$e=et(()=>d("p",{class:"px-3"},"No discussions are found",-1)),i$e=[r$e],a$e=et(()=>d("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),l$e={class:"z-20 h-max"},c$e={class:"container pt-4 pb-10 mb-28"},u$e=et(()=>d("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),d$e={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},h$e={setup(){},data(){return{list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1}},methods:{async api_get_req(t){try{const e=await Me.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Me.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){this.loading=!0,this.setDiscussionLoading(t,this.loading);const e=await Me.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==0))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await Me.get("/new_discussion",{params:{title:t}});if(e)return e.data}catch(e){return console.log("Error: Could not create new discussion",e.message),{}}},async delete_discussion(t){try{t&&(this.loading=!0,this.setDiscussionLoading(t,this.loading),await Me.post("/delete_discussion",{id:t}),this.loading=!1,this.setDiscussionLoading(t,this.loading))}catch(e){console.log("Error: Could not delete discussion",e.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async edit_title(t,e){try{if(t){this.loading=!0,this.setDiscussionLoading(t,this.loading);const n=await Me.post("/edit_title",{id:t,title:e});if(this.loading=!1,this.setDiscussionLoading(t,this.loading),n.status==200){const s=this.list.findIndex(r=>r.id==t),o=this.list[s];o.title=e,this.tempList=this.list}}}catch(n){console.log("Error: Could not edit title",n.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async delete_message(t){try{const e=await Me.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(Ue.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 Me.get("/message_rank_up",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank up message",e.message),{}}},async message_rank_down(t){try{const e=await Me.get("/message_rank_down",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async update_message(t,e){try{const n=await Me.get("/update_message",{params:{id:t,message:e}});if(n)return n.data}catch(n){return console.log("Error: Could not update message",n.message),{}}},async export_multiple_discussions(t){try{if(t.length>0){const e=await Me.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 Me.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),fe(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at};this.discussionArr.push(e),fe(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user};e!==-1&&(this.discussionArr[e]=n)},createBotMsg(t){if(console.log(t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",id:t.ai_message_id,parent:t.user_message_id,rank:0,sender:t.bot,created_at:t.created_at};this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&t.type=="input_message_infos"&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)}else this.$refs.toast.showToast("It seems that no model has been loaded. Please download and install a model first, then try again.",4,!1),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Me.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{Ue.emit("generate_msg",{prompt:t});const n=Number(this.discussionArr[this.discussionArr.length-1].id)+1;let s={message:t,id:n,rank:0,user:"user",created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){const e=t.user_message_id,n=t.discussion_id;if(this.setDiscussionLoading(n,!0),this.currentDiscussion.id==n){this.isGenerating=!0;const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o=this.discussionArr[s];o&&(o.content=t.data)}},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),fe(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){const t=localStorage.getItem("selected_discussion");if(t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;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.update_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Me.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):Ue.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),fe(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type};this.discussionArr[s]=o}fe(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=`
|
||
Personality: ${t.message.personality}`);let s="";t.created_at_parsed&&(s=`
|
||
Created: ${t.created_at_parsed}`);let o="";t.message.content&&(o=t.message.content);let r="";t.message.model&&(r=`Model: ${t.message.model}`);let i="";t.message.seed&&(i=`Seed: ${t.message.seed}`);let a="";t.time_spent&&(a=`
|
||
Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const c=`${t.message.sender}${n}${s}
|
||
|
||
${o}
|
||
|
||
${l}`;navigator.clipboard.writeText(c),fe(()=>{xe.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON.
|
||
`+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const s=new FileReader;s.onload=o=>e(this.parseJsonObj(o.target.result)),s.onerror=o=>n(o),s.readAsText(t)})},async exportDiscussions(){const t=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){console.log("export",t);let e=new Date;const n=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t);u?(this.saveJSONtoFile(u,c),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){let t=[];const e=await this.api_get_req("get_all_personalities"),n=Object.keys(e);for(let s=0;s<n.length;s++){const o=n[s],r=e[o],i=Object.keys(r);for(let a=0;a<i.length;a++){const l=i[a],u=r[l].map(h=>{let f={};return f=h,f.category=l,f.language=o,f});t.length==0?t=u:t=t.concat(u)}}this.personalityAvatars=t.map(s=>({name:s.name,avatar:s.avatar}))},getAvatar(t){const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox
|
||
`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,fe(()=>{xe.replace()}),Ue.on("infos",this.createBotMsg),Ue.on("message",this.streamMessageContent),Ue.on("final",this.finalMsgEvent)},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&(this.loadLastUsedDiscussion(),fe(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)}))},components:{Discussion:mf,Message:Jf,ChatBox:Yf,WelcomeComponent:Qf,Toast:tl,DragDrop:_a},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){fe(()=>{xe.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){fe(()=>{xe.replace()})},isSearch(){fe(()=>{xe.replace()})}},computed:{socketConnected(){return!0},selectedDiscussions(){return fe(()=>{xe.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},f$e=Object.assign(h$e,{__name:"DiscussionsView",setup(t){return Ir(()=>{fFe()}),Me.defaults.baseURL="/",(e,n)=>(D(),L(Ie,null,[d("div",gFe,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[13]||(n[13]=ce(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",mFe,[d("div",_Fe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[0]||(n[0]=s=>e.createNewDiscussion())},bFe),d("button",{class:Ae(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[1]||(n[1]=s=>e.isCheckbox=!e.isCheckbox)},xFe,2),wFe,kFe,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[2]||(n[2]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[3]||(n[3]=ce(s=>e.$refs.fileDialog.click(),["stop"]))},EFe),d("button",{class:Ae(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[4]||(n[4]=s=>e.isSearch=!e.isSearch)},SFe,2),e.loading?(D(),L("div",TFe,MFe)):K("",!0)]),e.isSearch?(D(),L("div",OFe,[d("div",LFe,[d("div",jFe,[RFe,d("div",PFe,[d("div",{class:Ae(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[5]||(n[5]=s=>e.filterTitle="")},FFe,2)]),Te(d("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[6]||(n[6]=s=>e.filterTitle=s),onInput:n[7]||(n[7]=s=>e.filterDiscussions())},null,544),[[qe,e.filterTitle]])])])])):K("",!0),e.isCheckbox?(D(),L("hr",$Fe)):K("",!0),e.isCheckbox?(D(),L("div",qFe,[d("div",zFe,[e.selectedDiscussions.length>0?(D(),L("p",BFe,"Selected: "+ne(e.selectedDiscussions.length),1)):K("",!0)]),d("div",NFe,[e.selectedDiscussions.length>0?(D(),L("div",UFe,[e.showConfirmation?K("",!0):(D(),L("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[8]||(n[8]=ce(s=>e.showConfirmation=!0,["stop"]))},VFe)),e.showConfirmation?(D(),L("div",GFe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[9]||(n[9]=ce((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},WFe),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[10]||(n[10]=ce(s=>e.showConfirmation=!1,["stop"]))},JFe)])):K("",!0)])):K("",!0),d("div",YFe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[11]||(n[11]=ce((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},XFe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[12]||(n[12]=ce((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},t$e)])])])):K("",!0)]),d("div",n$e,[Se(_a,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Qe(()=>[Ce("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",s$e,[d("div",{class:Ae(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:Ae([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(D(),at(Cn,{key:0,name:"list"},{default:Qe(()=>[(D(!0),L(Ie,null,rt(e.list,(s,o)=>(D(),at(mf,{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})):K("",!0),e.list.length<1?(D(),L("div",o$e,i$e)):K("",!0),a$e],2)],2)])],32)]),d("div",{class:"relative flex flex-col flex-grow",onDragover:n[14]||(n[14]=ce(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",l$e,[Se(_a,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:Ae(["z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",e.isDragOverChat?"pointer-events-none":""])},[d("div",c$e,[e.discussionArr.length>0?(D(),at(Cn,{key:0,name:"list"},{default:Qe(()=>[(D(!0),L(Ie,null,rt(e.discussionArr,(s,o)=>(D(),at(Jf,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","avatar"]))),128))]),_:1})):K("",!0),e.currentDiscussion.id?K("",!0):(D(),at(Qf,{key:1}))]),u$e,e.currentDiscussion.id?(D(),L("div",d$e,[Se(Yf,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","onStopGenerating"])])):K("",!0)],2)],32),Se(tl,{ref:"toast"},null,512)],64))}}),p$e=Ge(f$e,[["__scopeId","data-v-3db74a92"]]),g$e=P_({history:Xm("/"),routes:[{path:"/extensions/",name:"extensions",component:f0},{path:"/help/",name:"help",component:T0},{path:"/settings/",name:"settings",component:W3},{path:"/training/",name:"training",component:m8},{path:"/",name:"discussions",component:p$e}]});const Al=oh(u0),m$e=Pm({state(){return{mountedPersonalities:{},settingsChanged:!1}},mutations:{}});Al.use(g$e);Al.use(m$e);Al.mount("#app");
|