mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-08 22:12:38 +00:00
139 lines
704 KiB
JavaScript
139 lines
704 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 Qt(t){if(_e(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],o=He(s)?Op(s):Qt(s);if(o)for(const r in o)e[r]=o[r]}return e}else{if(He(t))return t;if(Be(t))return t}}const Mp=/;(?![^(]*\))/g,Dp=/:([^]+)/,Lp=/\/\*.*?\*\//gs;function Op(t){const e={};return t.replace(Lp,"").split(Mp).forEach(n=>{if(n){const s=n.split(Dp);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Te(t){let e="";if(He(t))e=t;else if(_e(t))for(let n=0;n<t.length;n++){const s=Te(t[n]);s&&(e+=s+" ")}else if(Be(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=Be(t),s=Be(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 Z=t=>He(t)?t:t==null?"":_e(t)||Be(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()]}:Be(e)&&!_e(e)&&!nd(e)?String(e):e,Ue={},as=[],Dt=()=>{},Ip=()=>!1,Fp=/^on[^a-z]/,Tr=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,Oe=(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",Be=t=>t!==null&&typeof t=="object",ed=t=>Be(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"),Mr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Bp=/-(\w)/g,Ut=Mr(t=>t.replace(Bp,(e,n)=>n?n.toUpperCase():"")),Np=/\B([A-Z])/g,Jn=Mr(t=>t.replace(Np,"-$1").toLowerCase()),Dr=Mr(t=>t.charAt(0).toUpperCase()+t.slice(1)),ii=Mr(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 Ml;const Hp=()=>Ml||(Ml=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&An)>0,od=t=>(t.n&An)>0,Wp=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=An},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&=~An,o.n&=~An}e.length=n}},qi=new WeakMap;let Hs=0,An=1;const zi=30;let Tt;const Un=Symbol(""),Bi=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=kn;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Tt,Tt=this,kn=!0,An=1<<++Hs,Hs<=zi?Wp(this):Dl(this),this.fn()}finally{Hs<=zi&&Zp(this),An=1<<--Hs,Tt=this.parent,kn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Tt===this?this.deferStop=!0:this.active&&(Dl(this),this.onStop&&this.onStop(),this.active=!1)}}function Dl(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let kn=!0;const rd=[];function Ms(){rd.push(kn),kn=!1}function Ds(){const t=rd.pop();kn=t===void 0?!0:t}function ut(t,e,n){if(kn&&Tt){let s=qi.get(t);s||qi.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<=zi?od(t)||(t.n|=An,n=!sd(t)):n=!t.has(Tt),n&&(t.add(Tt),Tt.deps.push(t))}function tn(t,e,n,s,o,r){const i=qi.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(Bi)));break;case"delete":_e(t)||(a.push(i.get(Un)),ls(t)&&a.push(i.get(Bi)));break;case"set":ls(t)&&a.push(i.get(Un));break}if(a.length===1)a[0]&&Ni(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Ni(Sa(l))}}function Ni(t,e){const n=_e(t)?t:[...t];for(const s of n)s.computed&&Ll(s);for(const s of n)s.computed||Ll(s)}function Ll(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=Ma(),Qp=Ma(!1,!0),Xp=Ma(!0),Ol=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){Ms();const s=Re(this)[e].apply(this,n);return Ds(),s}}),t}function tg(t){const e=Re(this);return ut(e,"has",t),e.hasOwnProperty(t)}function Ma(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&&Oe(Ol,o))return Reflect.get(Ol,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:Be(a)?t?fd(a):Ls(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:Oe(n,s),l=Reflect.set(n,s,o,r);return n===Re(r)&&(a?no(o,i)&&tn(n,"set",s,o):tn(n,"add",s,o)),l}}function og(t,e){const n=Oe(t,e);t[e];const s=Reflect.deleteProperty(t,e);return s&&n&&tn(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}),Da=t=>t,Lr=t=>Reflect.getPrototypeOf(t);function Mo(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}=Lr(o),a=s?Da: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 Do(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 Lo(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 Lr(e).has.call(e,t)||(e.add(t),tn(e,"add",t,t)),this}function Rl(t,e){e=Re(e);const n=Re(this),{has:s,get:o}=Lr(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)&&tn(n,"set",t,e):tn(n,"add",t,e),this}function Pl(t){const e=Re(this),{has:n,get:s}=Lr(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&&tn(e,"delete",t,void 0),r}function Il(){const t=Re(this),e=t.size!==0,n=t.clear();return e&&tn(t,"clear",void 0,void 0),n}function Oo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Re(i),l=e?Da: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?Da:e?ja:so;return!e&&ut(r,"iterate",l?Bi: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 ln(t){return function(...e){return t==="delete"?!1:this}}function cg(){const t={get(r){return Mo(this,r)},get size(){return Lo(this)},has:Do,add:jl,set:Rl,delete:Pl,clear:Il,forEach:Oo(!1,!1)},e={get(r){return Mo(this,r,!1,!0)},get size(){return Lo(this)},has:Do,add:jl,set:Rl,delete:Pl,clear:Il,forEach:Oo(!1,!0)},n={get(r){return Mo(this,r,!0)},get size(){return Lo(this,!0)},has(r){return Do.call(this,r,!0)},add:ln("add"),set:ln("set"),delete:ln("delete"),clear:ln("clear"),forEach:Oo(!0,!1)},s={get(r){return Mo(this,r,!0,!0)},get size(){return Lo(this,!0)},has(r){return Do.call(this,r,!0)},add:ln("add"),set:ln("set"),delete:ln("delete"),clear:ln("clear"),forEach:Oo(!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 La(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(Oe(n,o)&&o in s?n:s,o,r)}const pg={get:La(!1,!1)},gg={get:La(!1,!0)},mg={get:La(!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 Ls(t){return ps(t)?t:Oa(t,!1,cd,pg,ud)}function vg(t){return Oa(t,!1,lg,gg,dd)}function fd(t){return Oa(t,!0,ag,mg,hd)}function Oa(t,e,n,s,o){if(!Be(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=>Be(t)?Ls(t):t,ja=t=>Be(t)?fd(t):t;function md(t){kn&&Tt&&(t=Re(t),id(t.dep||(t.dep=Sa())))}function _d(t,e){t=Re(t);const n=t.dep;n&&Ni(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=Dt):(s=t.get,o=t.set),new Eg(s,o,r||!o,n)}function Cn(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=Cn(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){Cn(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,Ui=!1;const nt=[];let It=0;const ds=[];let Yt=null,Pn=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&&!Ui&&(Ui=!0,Ra=xd.then(Cd))}function Mg(t){const e=nt.indexOf(t);e>It&&nt.splice(e,1)}function Dg(t){_e(t)?ds.push(...t):(!Yt||!Yt.includes(t,t.allowRecurse?Pn+1:Pn))&&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,Yt){Yt.push(...e);return}for(Yt=e,Yt.sort((n,s)=>ro(n)-ro(s)),Pn=0;Pn<Yt.length;Pn++)Yt[Pn]();Yt=null,Pn=0}}const ro=t=>t.id==null?1/0:t.id,Lg=(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){Ui=!1,oo=!0,nt.sort(Lg);const e=Dt;try{for(It=0;It<nt.length;It++){const n=nt[It];n&&n.active!==!1&&Cn(n,null,14)}}finally{It=0,nt.length=0,kd(),oo=!1,Ra=null,(nt.length||ds.length)&&Cd()}}function Og(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Ue;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]||Ue;f&&(o=n.map(g=>He(g)?g.trim():g)),h&&(o=n.map(ar))}let a,l=s[a=ii(e)]||s[a=ii(Ut(e))];!l&&r&&(l=s[a=ii(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?(Be(t)&&s.set(t,null),null):(_e(r)?r.forEach(l=>i[l]=null):Ze(i,r),Be(t)&&s.set(t,i),i)}function jr(t,e){return!t||!Tr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Oe(t,e[0].toLowerCase()+e.slice(1))||Oe(t,Jn(e))||Oe(t,e))}let Xe=null,Rr=null;function cr(t){const e=Xe;return Xe=t,Rr=t&&t.type.__scopeId||null,e}function vo(t){Rr=t}function xo(){Rr=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 ai(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:g,ctx:p,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,g,f,p)),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=nn(x,v))}return n.dirs&&(x=nn(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"||Tr(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]&&!jr(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]&&!jr(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):Dg(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 Xt(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}=Ue){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 Bn(x);if(Ee(x))return Cn(x,a,2)})):Ee(t)?e?l=()=>Cn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),vt(t,a,3,[f])}:l=Dt,e&&s){const x=l;l=()=>Bn(x())}let h,f=x=>{h=v.onStop=()=>{Cn(x,a,4)}},g;if(co)if(f=Dt,e?n&&vt(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=M1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Dt;let p=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,p[$])):no(x,p)))&&(h&&h(),vt(e,a,3,[x,p===Ro?void 0:u&&p[0]===Ro?[]:p,f]),p=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():p=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 g&&g.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 Bn(t,e){if(!Be(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),st(t))Bn(t.value,e);else if(_e(t))for(let n=0;n<t.length;n++)Bn(t[n],e);else if(Ss(t)||ls(t))t.forEach(n=>{Bn(n,e)});else if(nd(t))for(const n in t)Bn(t[n],e);return t}function Md(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fr(()=>{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=Md();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 li(i);const c=ql(i);if(!c)return li(i);const u=io(c,a,s,n);gs(c,u);const h=n.subTree,f=h&&ql(h);let g=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,g=!0)}if(f&&f.type!==xt&&(!vn(c,f)||g)){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()},li(i);l==="in-out"&&c.type!==xt&&(m.delayLeave=(w,v,y)=>{const x=Dd(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 Dd(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:g,onLeaveCancelled:p,onBeforeAppear:m,onAppear:w,onAfterAppear:v,onAppearCancelled:y}=e,x=String(t.key),E=Dd(n,t),$=(b,k)=>{b&&vt(b,s,9,k)},M=(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&&vn(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 Q=b._enterCb=I=>{F||(F=!0,I?$(z,[b]):$(S,[b]),q.delayedLeave&&q.delayedLeave(),b._enterCb=void 0)};k?M(k,[b,Q]):Q()},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=Q=>{z||(z=!0,k(),Q?$(p,[b]):$(g,[b]),b._leaveCb=void 0,E[S]===t&&delete E[S])};E[S]=t,f?M(f,[b,F]):F()},clone(b){return io(b,e,n,s)}};return q}function li(t){if(Pr(t))return t=nn(t),t.children=null,t}function ql(t){return Pr(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?nn(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Ld(t){return Ee(t)?{setup:t,name:t.name}:t}const hs=t=>!!t.type.__asyncLoader,Pr=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,$,M)=>{const q=y.component;c(y,x,E,0,a),l(q.vnode,y,x,E,q,a,$,y.slotScopeIds,M),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 g(y){ci(y),u(y,n,a,!0)}function p(y){o.forEach((x,E)=>{const $=Zi(x.type);$&&(!y||!y($))&&m(E)})}function m(y){const x=o.get(y);!i||!vn(x,i)?g(x):i&&ci(i),o.delete(y),r.delete(y)}Hn(()=>[t.include,t.exclude],([y,x])=>{y&&p(E=>Vs(y,E)),x&&p(E=>!Vs(x,E))},{flush:"post",deep:!0});let w=null;const v=()=>{w!=null&&o.set(w,ui(n.subTree))};return Fr(v),Fa(v),$a(()=>{o.forEach(y=>{const{subTree:x,suspense:E}=n,$=ui(x);if(y.type===$.type&&y.key===$.key){ci($);const M=$.component.da;M&&Ye(M,E);return}g(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=ui(x);const $=E.type,M=Zi(hs(E)?E.type.__asyncResolved||{}:$),{include:q,exclude:b,max:k}=t;if(q&&(!M||!Vs(q,M))||b&&M&&Vs(b,M))return i=E,x;const S=E.key==null?$:E.key,z=o.get(S);return E.el&&(E=nn(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){Od(t,"a",e)}function Hg(t,e){Od(t,"da",e)}function Od(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(Ir(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Pr(o.parent.vnode)&&Vg(s,e,n,o),o=o.parent}}function Vg(t,e,n,s){const o=Ir(e,t,s,!0);jd(()=>{Ea(s[e],o)},n)}function ci(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function ui(t){return t.shapeFlag&128?t.ssContent:t}function Ir(t,e,n=Ve,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Ms(),ms(n);const a=vt(e,n,t,i);return Vn(),Ds(),a});return s?o.unshift(r):o.push(r),r}}const rn=t=>(e,n=Ve)=>(!co||t==="sp")&&Ir(t,(...s)=>e(...s),n),Gg=rn("bm"),Fr=rn("m"),Kg=rn("bu"),Fa=rn("u"),$a=rn("bum"),jd=rn("um"),Wg=rn("sp"),Zg=rn("rtg"),Jg=rn("rtc");function Yg(t,e=Ve){Ir("ec",t,e)}function Ae(t,e){const n=Xe;if(n===null)return t;const s=zr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[i,a,l,c=Ue]=e[r];i&&(Ee(i)&&(i={mounted:i,updated:i}),i.deep&&Bn(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&&(Ms(),vt(l,n,8,[t.el,a,t,e]),Ds())}}const qa="components";function Zt(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=Zi(r,!1);if(a&&(a===e||a===Ut(e)||a===Dr(Ut(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[Ut(e)]||t[Dr(Ut(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(Be(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),T();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 Hi=t=>t?Wd(t)?zr(t)||t.proxy:Hi(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=>Hi(t.parent),$root:t=>Hi(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)}),di=(t,e)=>t!==Ue&&!t.__isScriptSetup&&Oe(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 g=i[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(di(s,e))return i[e]=1,s[e];if(o!==Ue&&Oe(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&Oe(c,e))return i[e]=3,r[e];if(n!==Ue&&Oe(n,e))return i[e]=4,n[e];Vi&&(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!==Ue&&Oe(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,Oe(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return di(o,e)?(o[e]=n,!0):s!==Ue&&Oe(s,e)?(s[e]=n,!0):Oe(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!==Ue&&Oe(t,i)||di(e,i)||(a=r[0])&&Oe(a,i)||Oe(s,i)||Oe(Ks,i)||Oe(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Oe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Vi=!0;function e1(t){const e=za(t),n=t.proxy,s=t.ctx;Vi=!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:g,updated:p,activated:m,deactivated:w,beforeDestroy:v,beforeUnmount:y,destroyed:x,unmounted:E,render:$,renderTracked:M,renderTriggered:q,errorCaptured:b,serverPrefetch:k,expose:S,inheritAttrs:z,components:F,directives:Q,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);Be(A)&&(t.data=Ls(A))}if(Vi=!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):Dt,me=!Ee(N)&&Ee(N.set)?N.set.bind(n):Dt,pe=bt({get:V,set:me});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>pe.value,set:ee=>pe.value=ee})}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 X(A,N){_e(N)?N.forEach(V=>A(V.bind(n))):N&&A(N.bind(n))}if(X(Gg,h),X(Fr,f),X(Kg,g),X(Fa,p),X(Ug,m),X(Hg,w),X(Yg,b),X(Jg,M),X(Zg,q),X($a,y),X(jd,E),X(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===Dt&&(t.render=$),z!=null&&(t.inheritAttrs=z),F&&(t.components=F),Q&&(t.directives=Q)}function t1(t,e,n=Dt,s=!1){_e(t)&&(t=Gi(t));for(const o in t){const r=t[o];let i;Be(r)?"default"in r?i=Xt(r.from||o,r.default,!0):i=Xt(r.from||o):i=Xt(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(Be(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)),Be(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:Rn,emits:Rn,methods:Rn,computed:Rn,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:Rn,directives:Rn,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 Rn(Gi(t),Gi(e))}function Gi(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 Rn(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,qr,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(jr(t.emitsOptions,f))continue;const g=e[f];if(l)if(Oe(r,f))g!==r[f]&&(r[f]=g,c=!0);else{const p=Ut(f);o[p]=Ki(l,a,p,g,t,!1)}else g!==r[f]&&(r[f]=g,c=!0)}}}else{qd(t,e,o,r)&&(c=!0);let u;for(const h in a)(!e||!Oe(e,h)&&((u=Jn(h))===h||!Oe(e,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=Ki(l,a,h,void 0,t,!0)):delete o[h]);if(r!==a)for(const h in r)(!e||!Oe(e,h))&&(delete r[h],c=!0)}c&&tn(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&&Oe(o,u=Ut(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:jr(t.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,i=!0)}if(r){const l=Re(n),c=a||Ue;for(let u=0;u<r.length;u++){const h=r[u];n[h]=Ki(o,l,h,c[h],t,!Oe(c,h))}}return i}function Ki(t,e,n,s,o,r){const i=t[n];if(i!=null){const a=Oe(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,g]=zd(h,e,!0);Ze(i,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return Be(t)&&s.set(t,as),as;if(_e(r))for(let u=0;u<r.length;u++){const h=Ut(r[u]);Ul(h)&&(i[h]=Ue)}else if(r)for(const u in r){const h=Ut(u);if(Ul(h)){const f=r[u],g=i[h]=_e(f)||Ee(f)?{type:f}:Object.assign({},f);if(g){const p=Gl(Boolean,g.type),m=Gl(String,g.type);g[0]=p>-1,g[1]=m<0||p<m,(p>-1||Oe(g,"default"))&&a.push(h)}}}const c=[i,a];return Be(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,qr,1)},c1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ue;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&&!Be(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:D1,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,zr(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 Wi(t,e,n,s,o=!1){if(_e(t)){t.forEach((f,g)=>Wi(f,e&&(_e(e)?e[g]:e),n,s,o));return}if(hs(s)&&!o)return;const r=s.shapeFlag&4?zr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ue?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(He(c)?(u[c]=null,Oe(h,c)&&(h[c]=null)):st(c)&&(c.value=null)),Ee(l))Cn(l,a,12,[i,u]);else{const f=He(l),g=st(l);if(f||g){const p=()=>{if(t.f){const m=f?Oe(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],Oe(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,Oe(h,l)&&(h[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(p.id=-1,Ye(p,n)):p()}}}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:g=Dt,insertStaticContent:p}=t,m=(_,C,O,j=null,R=null,Y=null,oe=!1,P=null,te=!!C.dynamicChildren)=>{if(_===C)return;_&&!vn(_,C)&&(j=J(_),ee(_,R,Y,!0),_=null),C.patchFlag===-2&&(te=!1,C.dynamicChildren=null);const{type:B,ref:K,shapeFlag:re}=C;switch(B){case $r: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,Y,oe,P,te);break;default:re&1?$(_,C,O,j,R,Y,oe,P,te):re&6?Q(_,C,O,j,R,Y,oe,P,te):(re&64||re&128)&&B.process(_,C,O,j,R,Y,oe,P,te,se)}K!=null&&R&&Wi(K,_&&_.ref,Y,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]=p(_.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,Y,oe,P,te)=>{oe=oe||C.type==="svg",_==null?M(C,O,j,R,Y,oe,P,te):k(_,C,R,Y,oe,P,te)},M=(_,C,O,j,R,Y,oe,P)=>{let te,B;const{type:K,props:re,shapeFlag:ce,transition:ae,dirs:ve}=_;if(te=_.el=i(_.type,Y,re&&re.is,re),ce&8?u(te,_.children):ce&16&&b(_.children,te,null,j,R,Y&&K!=="foreignObject",oe,P),ve&&Dn(_,null,j,"created"),q(te,_,_.scopeId,oe,j),re){for(const ne in re)ne!=="value"&&!Ko(ne)&&r(te,ne,null,re[ne],Y,_.children,j,R,W);"value"in re&&r(te,"value",null,re.value),(B=re.onVnodeBeforeMount)&&_t(B,j,_)}ve&&Dn(_,null,j,"beforeMount");const H=(!R||R&&!R.pendingBranch)&&ae&&!ae.persisted;H&&ae.beforeEnter(te),s(te,C,O),((B=re&&re.onVnodeMounted)||H||ve)&&Ye(()=>{B&&_t(B,j,_),H&&ae.enter(te),ve&&Dn(_,null,j,"mounted")},R)},q=(_,C,O,j,R)=>{if(O&&g(_,O),j)for(let Y=0;Y<j.length;Y++)g(_,j[Y]);if(R){let Y=R.subTree;if(C===Y){const oe=R.vnode;q(_,oe,oe.scopeId,oe.slotScopeIds,R.parent)}}},b=(_,C,O,j,R,Y,oe,P,te=0)=>{for(let B=te;B<_.length;B++){const K=_[B]=P?fn(_[B]):Pt(_[B]);m(null,K,C,O,j,R,Y,oe,P)}},k=(_,C,O,j,R,Y,oe)=>{const P=C.el=_.el;let{patchFlag:te,dynamicChildren:B,dirs:K}=C;te|=_.patchFlag&16;const re=_.props||Ue,ce=C.props||Ue;let ae;O&&Ln(O,!1),(ae=ce.onVnodeBeforeUpdate)&&_t(ae,O,C,_),K&&Dn(C,_,O,"beforeUpdate"),O&&Ln(O,!0);const ve=R&&C.type!=="foreignObject";if(B?S(_.dynamicChildren,B,P,O,j,ve,Y):oe||N(_,C,P,null,O,j,ve,Y,!1),te>0){if(te&16)z(P,C,re,ce,O,j,R);else if(te&2&&re.class!==ce.class&&r(P,"class",null,ce.class,R),te&4&&r(P,"style",re.style,ce.style,R),te&8){const H=C.dynamicProps;for(let ne=0;ne<H.length;ne++){const ue=H[ne],xe=re[ue],Pe=ce[ue];(Pe!==xe||ue==="value")&&r(P,ue,xe,Pe,R,_.children,O,j,W)}}te&1&&_.children!==C.children&&u(P,C.children)}else!oe&&B==null&&z(P,C,re,ce,O,j,R);((ae=ce.onVnodeUpdated)||K)&&Ye(()=>{ae&&_t(ae,O,C,_),K&&Dn(C,_,O,"updated")},j)},S=(_,C,O,j,R,Y,oe)=>{for(let P=0;P<C.length;P++){const te=_[P],B=C[P],K=te.el&&(te.type===Ie||!vn(te,B)||te.shapeFlag&70)?h(te.el):O;m(te,B,K,null,j,R,Y,oe,!0)}},z=(_,C,O,j,R,Y,oe)=>{if(O!==j){if(O!==Ue)for(const P in O)!Ko(P)&&!(P in j)&&r(_,P,O[P],null,oe,C.children,R,Y,W);for(const P in j){if(Ko(P))continue;const te=j[P],B=O[P];te!==B&&P!=="value"&&r(_,P,B,te,oe,C.children,R,Y,W)}"value"in j&&r(_,"value",O.value,j.value)}},F=(_,C,O,j,R,Y,oe,P,te)=>{const B=C.el=_?_.el:a(""),K=C.anchor=_?_.anchor:a("");let{patchFlag:re,dynamicChildren:ce,slotScopeIds:ae}=C;ae&&(P=P?P.concat(ae):ae),_==null?(s(B,O,j),s(K,O,j),b(C.children,O,K,R,Y,oe,P,te)):re>0&&re&64&&ce&&_.dynamicChildren?(S(_.dynamicChildren,ce,O,R,Y,oe,P),(C.key!=null||R&&C===R.subTree)&&Vd(_,C,!0)):N(_,C,O,K,R,Y,oe,P,te)},Q=(_,C,O,j,R,Y,oe,P,te)=>{C.slotScopeIds=P,_==null?C.shapeFlag&512?R.ctx.activate(C,O,j,oe,te):I(C,O,j,R,Y,oe,te):he(_,C,te)},I=(_,C,O,j,R,Y,oe)=>{const P=_.component=w1(_,j,R);if(Pr(_)&&(P.ctx.renderer=se),k1(P),P.asyncDep){if(R&&R.registerDep(P,X),!_.el){const te=P.subTree=Se(xt);v(null,te,C,O)}return}X(P,_,C,O,R,Y,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,Mg(j.update),j.update();else C.el=_.el,j.vnode=C},X=(_,C,O,j,R,Y,oe)=>{const P=()=>{if(_.isMounted){let{next:K,bu:re,u:ce,parent:ae,vnode:ve}=_,H=K,ne;Ln(_,!1),K?(K.el=ve.el,A(_,K,oe)):K=ve,re&&cs(re),(ne=K.props&&K.props.onVnodeBeforeUpdate)&&_t(ne,ae,K,ve),Ln(_,!0);const ue=ai(_),xe=_.subTree;_.subTree=ue,m(xe,ue,h(xe.el),J(xe),_,R,Y),K.el=ue.el,H===null&&Ig(_,ue.el),ce&&Ye(ce,R),(ne=K.props&&K.props.onVnodeUpdated)&&Ye(()=>_t(ne,ae,K,ve),R)}else{let K;const{el:re,props:ce}=C,{bm:ae,m:ve,parent:H}=_,ne=hs(C);if(Ln(_,!1),ae&&cs(ae),!ne&&(K=ce&&ce.onVnodeBeforeMount)&&_t(K,H,C),Ln(_,!0),re&&de){const ue=()=>{_.subTree=ai(_),de(re,_.subTree,_,R,null)};ne?C.type.__asyncLoader().then(()=>!_.isUnmounted&&ue()):ue()}else{const ue=_.subTree=ai(_);m(null,ue,O,j,_,R,Y),C.el=ue.el}if(ve&&Ye(ve,R),!ne&&(K=ce&&ce.onVnodeMounted)){const ue=C;Ye(()=>_t(K,H,ue),R)}(C.shapeFlag&256||H&&hs(H.vnode)&&H.vnode.shapeFlag&256)&&_.a&&Ye(_.a,R),_.isMounted=!0,C=O=j=null}},te=_.effect=new Ta(P,()=>Pa(B),_.scope),B=_.update=()=>te.run();B.id=_.uid,Ln(_,!0),B()},A=(_,C,O)=>{C.component=_;const j=_.vnode.props;_.vnode=C,_.next=null,i1(_,C.props,j,O),c1(_,C.children,O),Ms(),Fl(),Ds()},N=(_,C,O,j,R,Y,oe,P,te=!1)=>{const B=_&&_.children,K=_?_.shapeFlag:0,re=C.children,{patchFlag:ce,shapeFlag:ae}=C;if(ce>0){if(ce&128){me(B,re,O,j,R,Y,oe,P,te);return}else if(ce&256){V(B,re,O,j,R,Y,oe,P,te);return}}ae&8?(K&16&&W(B,R,Y),re!==B&&u(O,re)):K&16?ae&16?me(B,re,O,j,R,Y,oe,P,te):W(B,R,Y,!0):(K&8&&u(O,""),ae&16&&b(re,O,j,R,Y,oe,P,te))},V=(_,C,O,j,R,Y,oe,P,te)=>{_=_||as,C=C||as;const B=_.length,K=C.length,re=Math.min(B,K);let ce;for(ce=0;ce<re;ce++){const ae=C[ce]=te?fn(C[ce]):Pt(C[ce]);m(_[ce],ae,O,null,R,Y,oe,P,te)}B>K?W(_,R,Y,!0,!1,re):b(C,O,j,R,Y,oe,P,te,re)},me=(_,C,O,j,R,Y,oe,P,te)=>{let B=0;const K=C.length;let re=_.length-1,ce=K-1;for(;B<=re&&B<=ce;){const ae=_[B],ve=C[B]=te?fn(C[B]):Pt(C[B]);if(vn(ae,ve))m(ae,ve,O,null,R,Y,oe,P,te);else break;B++}for(;B<=re&&B<=ce;){const ae=_[re],ve=C[ce]=te?fn(C[ce]):Pt(C[ce]);if(vn(ae,ve))m(ae,ve,O,null,R,Y,oe,P,te);else break;re--,ce--}if(B>re){if(B<=ce){const ae=ce+1,ve=ae<K?C[ae].el:j;for(;B<=ce;)m(null,C[B]=te?fn(C[B]):Pt(C[B]),O,ve,R,Y,oe,P,te),B++}}else if(B>ce)for(;B<=re;)ee(_[B],R,Y,!0),B++;else{const ae=B,ve=B,H=new Map;for(B=ve;B<=ce;B++){const tt=C[B]=te?fn(C[B]):Pt(C[B]);tt.key!=null&&H.set(tt.key,B)}let ne,ue=0;const xe=ce-ve+1;let Pe=!1,Ne=0;const gt=new Array(xe);for(B=0;B<xe;B++)gt[B]=0;for(B=ae;B<=re;B++){const tt=_[B];if(ue>=xe){ee(tt,R,Y,!0);continue}let it;if(tt.key!=null)it=H.get(tt.key);else for(ne=ve;ne<=ce;ne++)if(gt[ne-ve]===0&&vn(tt,C[ne])){it=ne;break}it===void 0?ee(tt,R,Y,!0):(gt[it-ve]=B+1,it>=Ne?Ne=it:Pe=!0,m(tt,C[it],O,null,R,Y,oe,P,te),ue++)}const Je=Pe?p1(gt):as;for(ne=Je.length-1,B=xe-1;B>=0;B--){const tt=ve+B,it=C[tt],Sl=tt+1<K?C[tt+1].el:j;gt[B]===0?m(null,it,O,Sl,R,Y,oe,P,te):Pe&&(ne<0||B!==Je[ne]?pe(it,O,Sl,2):ne--)}}},pe=(_,C,O,j,R=null)=>{const{el:Y,type:oe,transition:P,children:te,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(Y,C,O);for(let re=0;re<te.length;re++)pe(te[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(Y),s(Y,C,O),Ye(()=>P.enter(Y),R);else{const{leave:re,delayLeave:ce,afterLeave:ae}=P,ve=()=>s(Y,C,O),H=()=>{re(Y,()=>{ve(),ae&&ae()})};ce?ce(Y,ve,H):H()}else s(Y,C,O)},ee=(_,C,O,j=!1,R=!1)=>{const{type:Y,props:oe,ref:P,children:te,dynamicChildren:B,shapeFlag:K,patchFlag:re,dirs:ce}=_;if(P!=null&&Wi(P,null,O,_,!0),K&256){C.ctx.deactivate(_);return}const ae=K&1&&ce,ve=!hs(_);let H;if(ve&&(H=oe&&oe.onVnodeBeforeUnmount)&&_t(H,C,_),K&6)D(_.component,O,j);else{if(K&128){_.suspense.unmount(O,j);return}ae&&Dn(_,null,C,"beforeUnmount"),K&64?_.type.remove(_,C,O,R,se,j):B&&(Y!==Ie||re>0&&re&64)?W(B,C,O,!1,!0):(Y===Ie&&re&384||!R&&K&16)&&W(te,C,O),j&&be(_)}(ve&&(H=oe&&oe.onVnodeUnmounted)||ae)&&Ye(()=>{H&&_t(H,C,_),ae&&Dn(_,null,C,"unmounted")},O)},be=_=>{const{type:C,el:O,anchor:j,transition:R}=_;if(C===Ie){Ce(O,j);return}if(C===Zo){E(_);return}const Y=()=>{o(O),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(_.shapeFlag&1&&R&&!R.persisted){const{leave:oe,delayLeave:P}=R,te=()=>oe(O,Y);P?P(_.el,Y,te):te()}else Y()},Ce=(_,C)=>{let O;for(;_!==C;)O=f(_),o(_),_=O;o(C)},D=(_,C,O)=>{const{bum:j,scope:R,update:Y,subTree:oe,um:P}=_;j&&cs(j),R.stop(),Y&&(Y.active=!1,ee(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,Y=0)=>{for(let oe=Y;oe<_.length;oe++)ee(_[oe],C,O,j,R)},J=_=>_.shapeFlag&6?J(_.component.subTree):_.shapeFlag&128?_.suspense.next():f(_.anchor||_.el),ie=(_,C,O)=>{_==null?C._vnode&&ee(C._vnode,null,null,!0):m(C._vnode||null,_,C,null,null,null,O),Fl(),kd(),C._vnode=_},se={p:m,um:ee,m:pe,r:be,mt:I,mc:b,pc:N,pbc:S,n:J,o:t};let ge,de;return e&&([ge,de]=e(se)),{render:ie,hydrate:ge,createApp:d1(ie,ge)}}function Ln({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]=fn(o[r]),a.el=i.el),n||Vd(i,a)),a.type===$r&&(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),$r=Symbol(void 0),xt=Symbol(void 0),Zo=Symbol(void 0),Ws=[];let Mt=null;function T(t=!1){Ws.push(Mt=t?null:[])}function m1(){Ws.pop(),Mt=Ws[Ws.length-1]||null}let ao=1;function Kl(t){ao+=t}function Gd(t){return t.dynamicChildren=ao>0?Mt||as:null,m1(),ao>0&&Mt&&Mt.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 vn(t,e){return t.type===e.type&&t.key===e.key}const qr="__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:Rr,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&&Mt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Mt.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=nn(t,e,!0);return n&&Na(a,n),ao>0&&!r&&Mt&&(a.shapeFlag&6?Mt[Mt.indexOf(t)]=a:Mt.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=Te(a)),Be(l)&&(pd(l)&&!_e(l)&&(l=Ze({},l)),e.style=Qt(l))}const i=He(t)?1:Ad(t)?128:g1(t)?64:Be(t)?4:Ee(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function y1(t){return t?pd(t)||qr in t?Ze({},t):t:null}function nn(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&&nn(t.ssContent),ssFallback:t.ssFallback&&nn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ke(t=" ",e=0){return Se($r,null,t,e)}function wo(t,e){const n=Se(Zo,null,t);return n.staticCount=e,n}function G(t="",e=!1){return e?(T(),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"?fn(t):Se($r,null,String(t))}function fn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:nn(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&&!(qr 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=[ke(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=Te([e.class,s.class]));else if(o==="style")e.style=Qt([e.style,s.style]);else if(Tr(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:Ue,inheritAttrs:s.inheritAttrs,ctx:Ue,data:Ue,props:Ue,attrs:Ue,slots:Ue,refs:Ue,setupState:Ue,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=Og.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),Ms();const r=Cn(s,t,0,[t.props,o]);if(Ds(),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:Be(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||Dt}ms(t),Ms(),e1(t),Ds(),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 zr(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 Zi(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?Be(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(""),M1=()=>Xt(T1),D1="3.2.47",L1="http://www.w3.org/2000/svg",In=typeof document<"u"?document:null,Jl=In&&In.createElement("template"),O1={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?In.createElementNS(L1,t):In.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>In.createTextNode(t),createComment:t=>In.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>In.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&&Ji(s,r,"");for(const r in n)Ji(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 Ji(t,e,n){if(_e(n))n.forEach(s=>Ji(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"],hi={};function P1(t,e){const n=hi[e];if(n)return n;let s=Ut(e);if(s!=="filter"&&s in t)return hi[e]=s;s=Dr(s);for(let o=0;o<Ql.length;o++){const r=Ql[o]+s;if(r in t)return hi[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 xn(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);xn(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 fi=0;const B1=Promise.resolve(),N1=()=>fi||(B1.then(()=>fi=0),fi=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):Tr(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 cn="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:g=`${n}-leave-to`}=t,p=Z1(o),m=p&&p[0],w=p&&p[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:x,onLeave:E,onLeaveCancelled:$,onBeforeAppear:M=v,onAppear:q=y,onAppearCancelled:b=x}=e,k=(F,Q,I)=>{hn(F,Q?u:a),hn(F,Q?c:i),I&&I()},S=(F,Q)=>{F._isLeaving=!1,hn(F,h),hn(F,g),hn(F,f),Q&&Q()},z=F=>(Q,I)=>{const he=F?q:y,X=()=>k(Q,F,I);On(he,[Q,X]),sc(()=>{hn(Q,F?l:r),Jt(Q,F?u:a),nc(he)||oc(Q,s,m,X)})};return Ze(e,{onBeforeEnter(F){On(v,[F]),Jt(F,r),Jt(F,i)},onBeforeAppear(F){On(M,[F]),Jt(F,l),Jt(F,c)},onEnter:z(!1),onAppear:z(!0),onLeave(F,Q){F._isLeaving=!0;const I=()=>S(F,Q);Jt(F,h),Xd(),Jt(F,f),sc(()=>{F._isLeaving&&(hn(F,h),Jt(F,g),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(Be(t))return[pi(t.enter),pi(t.leave)];{const e=pi(t);return[e,e]}}function pi(t){return Up(t)}function Jt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function hn(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=g=>{g.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=p=>(n[p]||"").split(", "),o=s(`${cn}Delay`),r=s(`${cn}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===cn?i>0&&(u=cn,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?cn:qs:null,f=u?u===cn?r.length:l.length:0);const g=u===cn&&/\b(transform|all)(,|$)/.test(s(`${cn}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:g}}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=Md();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;Jt(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,hn(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 En=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";xn(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&&xn(t,"change",()=>{t.value=t.value.trim()}),e||(xn(t,"compositionstart",nm),xn(t,"compositionend",ac),xn(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)}},pn={deep:!0,created(t,e,n){t._assign=_s(n),xn(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);xn(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))},le=(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"},Yi=(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},O1);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,Qi;function pm(){var t;return Xn!==void 0||(typeof window<"u"&&window.performance?(Xn=!0,Qi=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(Xn=!0,Qi=global.perf_hooks.performance):Xn=!1),Xn}function gm(){return pm()?Qi.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 Os(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;Br(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={};Os(o,function(i,a){r[a]=xm(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Ls({data:e}),t.strict&&Am(t),s&&n&&t._withCommit(function(){s.data=null})}function Br(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,g=u.handler||u;Cm(t,f,g,c)}),s.forEachGetter(function(u,h){var f=i+h;Em(t,f,u,c)}),s.forEachChild(function(u,h){Br(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",gi="vuex:actions",es="vuex",Tm=0;function Mm(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:gi,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=Om(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:gi,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:gi,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var hc=8702998,Dm=6710886,Lm=16777215,ch={label:"namespaced",textColor:Lm,backgroundColor:Dm};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 Om(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:Xi(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]=Xi(function(){return t[n]})}else e[n]=Xi(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 Xi(t){try{return t()}catch(e){return e}}var Ot=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};Ot.prototype.addChild=function(e,n){this._children[e]=n};Ot.prototype.removeChild=function(e){delete this._children[e]};Ot.prototype.getChild=function(e){return this._children[e]};Ot.prototype.hasChild=function(e){return e in this._children};Ot.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)};Ot.prototype.forEachChild=function(e){Os(this._children,e)};Ot.prototype.forEachGetter=function(e){this._rawModule.getters&&Os(this._rawModule.getters,e)};Ot.prototype.forEachAction=function(e){this._rawModule.actions&&Os(this._rawModule.actions,e)};Ot.prototype.forEachMutation=function(e){this._rawModule.mutations&&Os(this._rawModule.mutations,e)};Object.defineProperties(Ot.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 Ot(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&&Os(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,g){return l.call(i,f,g)},this.commit=function(f,g,p){return c.call(i,f,g,p)},this.strict=o;var u=this._modules.root.state;Br(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&&Mm(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(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,f)})}catch{}h(f)})})}};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),Br(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 ze=Object.assign;function mi(t,e){const n={};for(const s in e){const o=e[s];n[s]=Lt(o)?o.map(t):t(o)}return n}const Zs=()=>{},Lt=Array.isArray,Fm=/\/$/,$m=t=>t.replace(Fm,"");function _i(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 Lt(t)?pc(t,e):Lt(e)?pc(e,t):t===e}function pc(t,e){return Lt(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 Nr=()=>({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 ea=new Map;function Wm(t,e){ea.set(t,e)}function Zm(t){const e=ea.get(t);return ea.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 g=mh(t,location),p=n.value,m=e.value;let w=0;if(f){if(n.value=g,e.value=f,i&&i===p){i=null;return}w=m?f.position-m.position:0}else s(g);o.forEach(v=>{v(n.value,p,{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 g=()=>{const p=o.indexOf(f);p>-1&&o.splice(p,1)};return r.push(g),g}function u(){const{history:f}=window;f.state&&f.replaceState(ze({},f.state,{scroll:Nr()}),"")}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?Nr():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(g){console.error(g),n[u?"replace":"assign"](f)}}function i(l,c){const u=ze({},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=ze({},o.value,e.state,{forward:l,scroll:Nr()});r(u.current,u,!0);const h=ze({},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=ze({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 un={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 ze(new Error,{type:t,[yh]:!0},e)}function Wt(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=ze({},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 g=40+(n.sensitive?.25:0);if(f.type===0)h||(o+="/"),o+=f.value.replace(n_,"\\$&"),g+=40;else if(f.type===1){const{value:p,repeatable:m,optional:w,regexp:v}=f;r.push({name:p,repeatable:m,optional:w});const y=v||yc;if(y!==yc){g+=10;try{new RegExp(`(${y})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+E.message)}}let x=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;h||(x=w&&c.length<2?`(?:/${x})`:"/"+x),w&&(x+="?"),o+=x,g+=20,w&&(g+=-8),m&&(g+=-20),y===".*"&&(g+=-50)}u.push(g)}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 g=u[f]||"",p=r[f-1];h[p.name]=g&&p.repeatable?g.split("/"):g}return h}function l(c){let u="",h=!1;for(const f of t){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const g of f)if(g.type===0)u+=g.value;else if(g.type===1){const{value:p,repeatable:m,optional:w}=g,v=p in c?c[p]:"";if(Lt(v)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=Lt(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 "${p}"`);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(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,c="",u="";function 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=ze(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 g=!f,p=d_(u);p.aliasOf=f&&f.record;const m=wc(e,u),w=[p];if("alias"in u){const x=typeof u.alias=="string"?[u.alias]:u.alias;for(const E of x)w.push(ze({},p,{components:f?f.record.components:p.components,path:E,aliasOf:f?f.record:p}))}let v,y;for(const x of w){const{path:E}=x;if(h&&E[0]!=="/"){const $=h.record.path,M=$[$.length-1]==="/"?"":"/";x.path=h.record.path+(E&&M+E)}if(v=c_(x,h,m),f?f.alias.push(v):(y=y||v,y!==v&&y.alias.push(v),g&&u.name&&!xc(v)&&i(u.name)),p.children){const $=p.children;for(let M=0;M<$.length;M++)r($[M],v,f&&f.children[M])}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,g={},p,m;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw bs(1,{location:u});m=f.record.name,g=ze(vc(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&vc(u.params,f.keys.map(y=>y.name))),p=f.stringify(g)}else if("path"in u)p=u.path,f=n.find(y=>y.re.test(p)),f&&(g=f.parse(p),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,g=ze({},h.params,u.params),p=f.stringify(g)}const w=[];let v=f;for(;v;)w.unshift(v.record),v=v.parent;return{name:m,path:p,params:g,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)=>ze(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 ta(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 ta(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];Lt(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}(Lt(s)?s.map(r=>r&&ta(r)):[s&&ta(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]=Lt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const M_=Symbol(""),Cc=Symbol(""),Wa=Symbol(""),Eh=Symbol(""),na=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 gn(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 yi(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(D_(a)){const c=(a.__vccOpts||a)[e];c&&o.push(gn(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&&gn(f,n,s,r,i)()}))}}return o}function D_(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Ec(t){const e=Xt(Wa),n=Xt(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 g=Ac(l[c-2]);return c>1&&Ac(u)===g&&h[h.length-1].path!==g?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 O_(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 L_=Ld({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=Ls(Ec(t)),{options:s}=Xt(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)}}}),Fn=L_;function O_(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(!Lt(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_=Ld({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=Xt(na),o=bt(()=>t.route||s.value),r=Xt(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(M_,a),Wo(na,o);const l=xg();return Hn(()=>[l.value,a.value,t.name],([c,u,h],[f,g,p])=>{u&&(u.instances[h]=c,g&&g!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!ys(u,g)||!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 g=h.props[u],p=g?g===!0?c.params:typeof g=="function"?g(c):g:null,w=Jd(f,ze({},p,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(un);let c=un;os&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=mi.bind(null,D=>""+D),h=mi.bind(null,A_),f=mi.bind(null,hr);function g(D,W){let J,ie;return _h(D)?(J=e.getRecordMatcher(D),ie=W):ie=D,e.addRoute(ie,J)}function p(D){const W=e.getRecordMatcher(D);W&&e.removeRoute(W)}function m(){return e.getRoutes().map(D=>D.record)}function w(D){return!!e.getRecordMatcher(D)}function v(D,W){if(W=ze({},W||l.value),typeof D=="string"){const _=_i(n,D,W.path),C=e.resolve({path:_.path},W),O=o.createHref(_.fullPath);return ze(_,C,{params:f(C.params),hash:hr(_.hash),redirectedFrom:void 0,href:O})}let J;if("path"in D)J=ze({},D,{path:_i(n,D.path,W.path).path});else{const _=ze({},D.params);for(const C in _)_[C]==null&&delete _[C];J=ze({},D,{params:h(D.params)}),W.params=h(W.params)}const ie=e.resolve(J,W),se=D.hash||"";ie.params=u(f(ie.params));const ge=qm(s,ze({},D,{hash:k_(se),path:ie.path})),de=o.createHref(ge);return ze({fullPath:ge,hash:se,query:s===kc?T_(D.query):D.query||{}},ie,{redirectedFrom:void 0,href:de})}function y(D){return typeof D=="string"?_i(n,D,l.value.path):ze({},D)}function x(D,W){if(c!==D)return bs(8,{from:W,to:D})}function E(D){return q(D)}function $(D){return E(ze(y(D),{replace:!0}))}function M(D){const W=D.matched[D.matched.length-1];if(W&&W.redirect){const{redirect:J}=W;let ie=typeof J=="function"?J(D):J;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=y(ie):{path:ie},ie.params={}),ze({query:D.query,hash:D.hash,params:"path"in ie?{}:D.params},ie)}}function q(D,W){const J=c=v(D),ie=l.value,se=D.state,ge=D.force,de=D.replace===!0,_=M(J);if(_)return q(ze(y(_),{state:typeof _=="object"?ze({},se,_.state):se,force:ge,replace:de}),W||J);const C=J;C.redirectedFrom=W;let O;return!ge&&zm(s,ie,J)&&(O=bs(16,{to:C,from:ie}),me(ie,ie,!0,!1)),(O?Promise.resolve(O):k(C,ie)).catch(j=>Wt(j)?Wt(j,2)?j:V(j):A(j,C,ie)).then(j=>{if(j){if(Wt(j,2))return q(ze({replace:de},y(j.to),{state:typeof j.to=="object"?ze({},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(D,W){const J=x(D,W);return J?Promise.reject(J):Promise.resolve()}function k(D,W){let J;const[ie,se,ge]=I_(D,W);J=yi(ie.reverse(),"beforeRouteLeave",D,W);for(const _ of ie)_.leaveGuards.forEach(C=>{J.push(gn(C,D,W))});const de=b.bind(null,D,W);return J.push(de),ts(J).then(()=>{J=[];for(const _ of r.list())J.push(gn(_,D,W));return J.push(de),ts(J)}).then(()=>{J=yi(se,"beforeRouteUpdate",D,W);for(const _ of se)_.updateGuards.forEach(C=>{J.push(gn(C,D,W))});return J.push(de),ts(J)}).then(()=>{J=[];for(const _ of D.matched)if(_.beforeEnter&&!W.matched.includes(_))if(Lt(_.beforeEnter))for(const C of _.beforeEnter)J.push(gn(C,D,W));else J.push(gn(_.beforeEnter,D,W));return J.push(de),ts(J)}).then(()=>(D.matched.forEach(_=>_.enterCallbacks={}),J=yi(ge,"beforeRouteEnter",D,W),J.push(de),ts(J))).then(()=>{J=[];for(const _ of i.list())J.push(gn(_,D,W));return J.push(de),ts(J)}).catch(_=>Wt(_,8)?_:Promise.reject(_))}function S(D,W,J){for(const ie of a.list())ie(D,W,J)}function z(D,W,J,ie,se){const ge=x(D,W);if(ge)return ge;const de=W===un,_=os?history.state:{};J&&(ie||de?o.replace(D.fullPath,ze({scroll:de&&_&&_.scroll},se)):o.push(D.fullPath,se)),l.value=D,me(D,W,J,de),V()}let F;function Q(){F||(F=o.listen((D,W,J)=>{if(!Ce.listening)return;const ie=v(D),se=M(ie);if(se){q(ze(se,{replace:!0}),ie).catch(Zs);return}c=ie;const ge=l.value;os&&Wm(gc(ge.fullPath,J.delta),Nr()),k(ie,ge).catch(de=>Wt(de,12)?de:Wt(de,2)?(q(de.to,ie).then(_=>{Wt(_,20)&&!J.delta&&J.type===ho.pop&&o.go(-1,!1)}).catch(Zs),Promise.reject()):(J.delta&&o.go(-J.delta,!1),A(de,ie,ge))).then(de=>{de=de||z(ie,ge,!1),de&&(J.delta&&!Wt(de,8)?o.go(-J.delta,!1):J.type===ho.pop&&Wt(de,20)&&o.go(-1,!1)),S(ie,ge,de)}).catch(Zs)}))}let I=zs(),he=zs(),X;function A(D,W,J){V(D);const ie=he.list();return ie.length?ie.forEach(se=>se(D,W,J)):console.error(D),Promise.reject(D)}function N(){return X&&l.value!==un?Promise.resolve():new Promise((D,W)=>{I.add([D,W])})}function V(D){return X||(X=!D,Q(),I.list().forEach(([W,J])=>D?J(D):W()),I.reset()),D}function me(D,W,J,ie){const{scrollBehavior:se}=t;if(!os||!se)return Promise.resolve();const ge=!J&&Zm(gc(D.fullPath,0))||(ie||!J)&&history.state&&history.state.scroll||null;return fe().then(()=>se(D,W,ge)).then(de=>de&&Km(de)).catch(de=>A(de,D,W))}const pe=D=>o.go(D);let ee;const be=new Set,Ce={currentRoute:l,listening:!0,addRoute:g,removeRoute:p,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(D){const W=this;D.component("RouterLink",Fn),D.component("RouterView",Ah),D.config.globalProperties.$router=W,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),os&&!ee&&l.value===un&&(ee=!0,E(o.location).catch(se=>{}));const J={};for(const se in un)J[se]=bt(()=>l.value[se]);D.provide(Wa,W),D.provide(Eh,Ls(J)),D.provide(na,l);const ie=D.unmount;be.add(D),D.unmount=function(){be.delete(D),be.size<1&&(c=un,F&&F(),F=null,l.value=un,ee=!1,X=!1),ie()}}};return Ce}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},Mc={},bi=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 Mc)return;Mc[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 Mh={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 g=/\s+/;function p(v,y){for(var x=y.split(g),E=x.length,$=0;$<E;++$)v[x[$]]=!0}function m(v,y){if(y){var x=typeof y;x==="string"?p(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 M in E)E[M]&&$.push(M);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(g){var p=i(g),m=typeof this=="function"?this:Array,w=arguments.length,v=w>1?arguments[1]:void 0,y=v!==void 0,x=0,E=h(p),$,M,q,b;if(y&&(v=r(v,w>2?arguments[2]:void 0,2)),E!=null&&!(m==Array&&l(E)))for(b=E.call(p),M=new m;!(q=b.next()).done;x++)u(M,x,y?a(b,v,[q.value,x],!0):q.value);else for($=c(p.length),M=new m($);$>x;x++)u(M,x,y?v(p[x],x):p[x]);return M.length=x,M}},"./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),g=i(f.length),p=a(h,g),m;if(l&&u!=u){for(;g>p;)if(m=f[p++],m!=m)return!0}else for(;g>p;p++)if((l||p in f)&&f[p]===u)return l||p||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(c){return i.call(a,c)};case 2:return function(c,u){return i.call(a,c,u)};case 3:return function(c,u,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 g={};g[i]=function(){return{next:function(){return{done:f=!0}}}},u(g)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",c=function(u,h){try{return u[h]}catch{}};n.exports=function(u){var h,f,g;return u===void 0?"Undefined":u===null?"Null":typeof(f=c(h=Object(u),a))=="string"?f:l?r(h):(g=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":g}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var h=i(u),f=l.f,g=a.f,p=0;p<h.length;p++){var m=h[p];r(c,m)||f(c,m,g(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,g){var p=f+" Iterator";return h.prototype=i(r,{next:a(1,g)}),l(h,p,!1,!0),c[p]=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"),g=o("./node_modules/core-js/internals/is-pure.js"),p=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",M=function(){return this};n.exports=function(q,b,k,S,z,F,Q){i(k,b,S);var I=function(Ce){if(Ce===z&&V)return V;if(!v&&Ce in A)return A[Ce];switch(Ce){case x:return function(){return new k(this,Ce)};case E:return function(){return new k(this,Ce)};case $:return function(){return new k(this,Ce)}}return function(){return new k(this)}},he=b+" Iterator",X=!1,A=q.prototype,N=A[y]||A["@@iterator"]||z&&A[z],V=!v&&N||I(z),me=b=="Array"&&A.entries||N,pe,ee,be;if(me&&(pe=a(me.call(new q)),w!==Object.prototype&&pe.next&&(!g&&a(pe)!==w&&(l?l(pe,w):typeof pe[y]!="function"&&u(pe,y,M)),c(pe,he,!0,!0),g&&(p[he]=M))),z==E&&N&&N.name!==E&&(X=!0,V=function(){return N.call(this)}),(!g||Q)&&A[y]!==V&&u(A,y,V),p[b]=V,z)if(ee={values:I(E),keys:F?V:I(x),entries:I($)},Q)for(be in ee)(v||X||!(be in A))&&h(A,be,ee[be]);else r({target:b,proto:!0,forced:v||X},ee);return ee}},"./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,g){var p=f.target,m=f.global,w=f.stat,v,y,x,E,$,M;if(m?y=r:w?y=r[p]||c(p,{}):y=(r[p]||{}).prototype,y)for(x in g){if($=g[x],f.noTargetGet?(M=i(y,x),E=M&&M.value):E=y[x],v=h(m?x:p+(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,g,p,m,w=function(q){return m(q)?p(q):g(q,{})},v=function(q){return function(b){var k;if(!a(b)||(k=p(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;g=function(q,b){return $.call(y,q,b),b},p=function(q){return x.call(y,q)||{}},m=function(q){return E.call(y,q)}}else{var M=u("state");h[M]=!0,g=function(q,b){return l(q,M,b),b},p=function(q){return c(q,M)?q[M]:{}},m=function(q){return c(q,M)}}n.exports={set:g,get:p,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,g){var p=c[l(f)];return p==h?!0:p==u?!1:typeof g=="function"?r(g):!!g},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},g,p,m;[].keys&&(m=[].keys(),"next"in m?(p=r(r(m)),p!==Object.prototype&&(g=p)):h=!0),g==null&&(g={}),!c&&!a(g,u)&&i(g,u,f),n.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:h}},"./node_modules/core-js/internals/iterators.js":function(n,s){n.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"./node_modules/core-js/internals/native-weak-map.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/function-to-string.js"),a=r.WeakMap;n.exports=typeof a=="function"&&/native code/.test(i.call(a))},"./node_modules/core-js/internals/object-create.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js"),i=o("./node_modules/core-js/internals/object-define-properties.js"),a=o("./node_modules/core-js/internals/enum-bug-keys.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),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"),g="prototype",p=function(){},m=function(){var w=u("iframe"),v=a.length,y="<",x="script",E=">",$="java"+x+":",M;for(w.style.display="none",c.appendChild(w),w.src=String($),M=w.contentWindow.document,M.open(),M.write(y+x+E+"document.F=Object"+y+"/"+x+E),M.close(),m=M.F;v--;)delete m[g][a[v]];return m()};n.exports=Object.create||function(v,y){var x;return v!==null?(p[g]=r(v),x=new p,p[g]=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),g=f.length,p=0,m;g>p;)i.f(u,m=f[p++],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,g){if(a(h),f=l(f,!0),a(g),i)try{return c(h,f,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[f]=g.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),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(p,m){if(p=l(p),m=c(m,!0),h)try{return f(p,m)}catch{}if(u(p,m))return a(!i.f.call(p,m),p[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return r(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(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),g=0,p=[],m;for(m in f)!r(l,m)&&r(f,m)&&p.push(m);for(;h.length>g;)r(f,m=h[g++])&&(~c(p,m)||p.push(m));return p}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(c){var u=i(this,c);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(u,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)),g=a.f;return g?f.concat(g(h)):f}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),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,g=h.enforce,p=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),g(v).source=p.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,g,p;return h<0||h>=f?c?"":void 0:(g=u.charCodeAt(h),g<55296||g>56319||h+1===f||(p=u.charCodeAt(h+1))<56320||p>57343?c?u.charAt(h):g:c?u.slice(h,h+2):(g-55296<<10)+(p-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,c){var u=r(l);return u<0?i(u+c,0):a(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,c;if(a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(c=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),c=r.Symbol,u=i("wks");n.exports=function(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),g=f.string,p=f.index,m;return p>=g.length?{value:void 0,done:!0}:(m=r(g,p,!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 g=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 "+p(y)+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),m}();function p(m){return Object.keys(m).map(function(w){return w+'="'+m[w]+'"'}).join(" ")}s.default=g},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=h(r),a=o("./dist/icons.json"),l=h(a),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,g){return f[g.name]=g,f},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=h(r),a=o("./src/to-svg.js"),l=h(a),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(p){for(var m=1;m<arguments.length;m++){var w=arguments[m];for(var v in w)Object.prototype.hasOwnProperty.call(w,v)&&(p[v]=w[v])}return p},i=o("./node_modules/classnames/dedupe.js"),a=u(i),l=o("./src/icons.js"),c=u(l);function u(p){return p&&p.__esModule?p:{default:p}}function h(){var p=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,p)})}function f(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=g(p),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");p.parentNode.replaceChild(E,p)}function g(p){return Array.from(p.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")}})})})(Mh);var z_=Mh.exports;const we=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:{}},Dh=Object.assign(Z_,{__name:"Navigation",setup(t){return(e,n)=>(T(),L("div",B_,[d("div",N_,[d("ul",U_,[d("li",null,[Se(ht(Fn),{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(Fn),{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(Fn),{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(Fn),{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(Fn),{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(()=>{we.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(()=>{bi(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}fe(()=>{bi(()=>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}bi(()=>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:Dh}},a0=Object.assign(i0,{setup(t){return(e,n)=>(T(),L(Ie,null,[d("header",J_,[d("nav",Y_,[Se(ht(Fn),{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(Dh)]),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)=>(T(),L("div",l0,[Se(a0),d("div",c0,[Se(ht(Ah),null,{default:Qe(({Component:s})=>[(T(),at(Ng,null,[(T(),at(Qg(s)))],1024))]),_:1})])]))}},d0={setup(){return{}}};function h0(t,e,n,s,o,r){return T(),L("div",null," Extensions ")}const f0=Ge(d0,[["render",h0]]);var Lh={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 Q=(he=s.URL||s.webkitURL||null,X=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; ","(",X,")();"],{type:"text/javascript"})))),I=new s.Worker(Q),he,X;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(Q){return Q.charCodeAt(0)===65279?Q.slice(1):Q}(b),F=k.download?new h(k):new g(k)):b.readable===!0&&q(b.read)&&q(b.on)?F=new p(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=",",Q=`\r
|
||
`,I='"',he=I+I,X=!1,A=null,N=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(ee){return k.delimiter.indexOf(ee)!==-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"||(X=k.skipEmptyLines),typeof k.newline=="string"&&(Q=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,X);if(typeof b[0]=="object")return me(A||Object.keys(b[0]),b,X)}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||[],X);throw new Error("Unable to serialize unrecognized input");function me(ee,be,Ce){var D="";typeof ee=="string"&&(ee=JSON.parse(ee)),typeof be=="string"&&(be=JSON.parse(be));var W=Array.isArray(ee)&&0<ee.length,J=!Array.isArray(be[0]);if(W&&z){for(var ie=0;ie<ee.length;ie++)0<ie&&(D+=F),D+=pe(ee[ie],ie);0<be.length&&(D+=Q)}for(var se=0;se<be.length;se++){var ge=W?ee.length:be[se].length,de=!1,_=W?Object.keys(be[se]).length===0:be[se].length===0;if(Ce&&!W&&(de=Ce==="greedy"?be[se].join("").trim()==="":be[se].length===1&&be[se][0].length===0),Ce==="greedy"&&W){for(var C=[],O=0;O<ge;O++){var j=J?ee[O]:O;C.push(be[se][j])}de=C.join("").trim()===""}if(!de){for(var R=0;R<ge;R++){0<R&&!_&&(D+=F);var Y=W&&J?ee[R]:R;D+=pe(be[se][Y],R)}se<be.length-1&&(!Ce||0<ge&&!_)&&(D+=Q)}}return D}function pe(ee,be){if(ee==null)return"";if(ee.constructor===Date)return JSON.stringify(ee).slice(1,25);var Ce=!1;N&&typeof ee=="string"&&N.test(ee)&&(ee="'"+ee,Ce=!0);var D=ee.toString().replace(V,he);return(Ce=Ce||S===!0||typeof S=="function"&&S(ee,be)||Array.isArray(S)&&S[be]||function(W,J){for(var ie=0;ie<J.length;ie++)if(-1<W.indexOf(J[ie]))return!0;return!1}(D,l.BAD_DELIMITERS)||-1<D.indexOf(F)||D.charAt(0)===" "||D.charAt(D.length-1)===" ")?I+D+I:D}}};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=g,l.ReadableStreamStreamer=p,s.jQuery){var c=s.jQuery;c.fn.parse=function(b){var k=b.config||{},S=[];return this.each(function(Q){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 Q,I,he,X,A=S[0];if(q(b.before)){var N=b.before(A.file,A.inputElem);if(typeof N=="object"){if(N.action==="abort")return Q="AbortError",I=A.file,he=A.inputElem,X=N.reason,void(q(b.error)&&b.error({name:Q},I,he,X));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 Q=this._handle.parse(F,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var I=Q.meta.cursor;this._finished||(this._partialLine=F.substring(I-this._baseIndex),this._baseIndex=I),Q&&Q.data&&(this._rowCount+=Q.data.length);var he=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)s.postMessage({results:Q,workerId:l.WORKER_ID,finished:he});else if(q(this._config.chunk)&&!S){if(this._config.chunk(Q,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);Q=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Q.data),this._completeResults.errors=this._completeResults.errors.concat(Q.errors),this._completeResults.meta=Q.meta),this._completed||!he||!q(this._config.complete)||Q&&Q.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),he||Q&&Q.meta.paused||this._nextChunk(),Q}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=M(this._chunkLoaded,this),k.onerror=M(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(Q){this._chunkError(Q.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=M(this._chunkLoaded,this),k.onerror=M(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 Q=Math.min(this._start+this._config.chunkSize,this._input.size);F=S.call(F,this._start,Q)}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 g(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 p(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=M(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),S&&(S=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(Q){this._streamError(Q)}},this),this._streamError=M(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=M(function(){this._streamCleanUp(),z=!0,this._streamData("")},this),this._streamCleanUp=M(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),Q=-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)))$/,X=this,A=0,N=0,V=!1,me=!1,pe=[],ee={data:[],errors:[],meta:{}};if(q(b.step)){var be=b.step;b.step=function(se){if(ee=se,W())D();else{if(D(),ee.data.length===0)return;A+=se.data.length,b.preview&&A>b.preview?S.abort():(ee.data=ee.data[0],be(ee,X))}}}function Ce(se){return b.skipEmptyLines==="greedy"?se.join("").trim()==="":se.length===1&&se[0].length===0}function D(){return ee&&z&&(ie("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),z=!1),b.skipEmptyLines&&(ee.data=ee.data.filter(function(se){return!Ce(se)})),W()&&function(){if(!ee)return;function se(de,_){q(b.transformHeader)&&(de=b.transformHeader(de,_)),pe.push(de)}if(Array.isArray(ee.data[0])){for(var ge=0;W()&&ge<ee.data.length;ge++)ee.data[ge].forEach(se);ee.data.splice(0,1)}else ee.data.forEach(se)}(),function(){if(!ee||!b.header&&!b.dynamicTyping&&!b.transform)return ee;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=J(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!ee.data.length||Array.isArray(ee.data[0])?(ee.data=ee.data.map(se),ge=ee.data.length):ee.data=se(ee.data,0),b.header&&ee.meta&&(ee.meta.fields=pe),N+=ge,ee}()}function W(){return b.header&&pe.length===0}function J(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(Q<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=_),ee.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 Y=new RegExp(w(R)+"([^]*?)"+w(R),"gm"),oe=(j=j.replace(Y,"")).split("\r"),P=j.split(`
|
||
`),te=1<P.length&&P[0].length<oe[0].length;if(oe.length===1||te)return`
|
||
`;for(var B=0,K=0;K<oe.length;K++)oe[K][0]===`
|
||
`&&B++;return B>=oe.length/2?`\r
|
||
`:"\r"}(se,_)),z=!1,b.delimiter)q(b.delimiter)&&(b.delimiter=b.delimiter(se),ee.meta.delimiter=b.delimiter);else{var C=function(j,R,Y,oe,P){var te,B,K,re;P=P||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var ce=0;ce<P.length;ce++){var ae=P[ce],ve=0,H=0,ne=0;K=void 0;for(var ue=new v({comments:oe,delimiter:ae,newline:R,preview:10}).parse(j),xe=0;xe<ue.data.length;xe++)if(Y&&Ce(ue.data[xe]))ne++;else{var Pe=ue.data[xe].length;H+=Pe,K!==void 0?0<Pe&&(ve+=Math.abs(Pe-K),K=Pe):K=Pe}0<ue.data.length&&(H/=ue.data.length-ne),(B===void 0||ve<=B)&&(re===void 0||re<H)&&1.99<H&&(B=ve,te=ae,re=H)}return{successful:!!(b.delimiter=te),bestDelimiter:te}}(se,b.newline,b.skipEmptyLines,b.comments,b.delimitersToGuess);C.successful?b.delimiter=C.bestDelimiter:(z=!0,b.delimiter=l.DefaultDelimiter),ee.meta.delimiter=b.delimiter}var O=$(b);return b.preview&&b.header&&O.preview++,k=se,S=new v(O),ee=S.parse(k,ge,de),D(),V?{meta:{paused:!0}}:ee||{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(){X.streamer._halted?(V=!1,X.streamer.parseChunk(k,!0)):setTimeout(X.resume,3)},this.aborted=function(){return me},this.abort=function(){me=!0,S.abort(),ee.meta.aborted=!0,q(b.complete)&&b.complete(ee),k=""}}function w(b){return b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function v(b){var k,S=(b=b||{}).delimiter,z=b.newline,F=b.comments,Q=b.step,I=b.preview,he=b.fastMode,X=k=b.quoteChar===void 0||b.quoteChar===null?'"':b.quoteChar;if(b.escapeChar!==void 0&&(X=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 ee=V.length,be=S.length,Ce=z.length,D=F.length,W=q(Q),J=[],ie=[],se=[],ge=A=0;if(!V)return Ne();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 Y=R,oe=C[R]||0;for(0<oe&&(O=!0,Y=R+"_"+oe),C[R]=oe+1;_.includes(Y);)Y=Y+"_"+oe;_.push(Y)}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 te=V.split(z),B=0;B<te.length;B++){if(se=te[B],A+=se.length,B!==te.length-1)A+=z.length;else if(pe)return Ne();if(!F||se.substring(0,D)!==F){if(W){if(J=[],ne(se.split(S)),gt(),N)return Ne()}else ne(se.split(S));if(I&&I<=B)return J=J.slice(0,I),Ne(!0)}}return Ne()}for(var K=V.indexOf(S,A),re=V.indexOf(z,A),ce=new RegExp(w(X)+w(k),"g"),ae=V.indexOf(k,A);;)if(V[A]!==k)if(F&&se.length===0&&V.substring(A,A+D)===F){if(re===-1)return Ne();A=re+Ce,re=V.indexOf(z,A),K=V.indexOf(S,A)}else if(K!==-1&&(K<re||re===-1))se.push(V.substring(A,K)),A=K+be,K=V.indexOf(S,A);else{if(re===-1)break;if(se.push(V.substring(A,re)),Pe(re+Ce),W&&(gt(),N))return Ne();if(I&&J.length>=I)return Ne(!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:J.length,index:A}),xe();if(ae===ee-1)return xe(V.substring(A,ae).replace(ce,k));if(k!==X||V[ae+1]!==X){if(k===X||ae===0||V[ae-1]!==X){K!==-1&&K<ae+1&&(K=V.indexOf(S,ae+1)),re!==-1&&re<ae+1&&(re=V.indexOf(z,ae+1));var ve=ue(re===-1?K:Math.min(K,re));if(V.substr(ae+1+ve,be)===S){se.push(V.substring(A,ae).replace(ce,k)),V[A=ae+1+ve+be]!==k&&(ae=V.indexOf(k,A)),K=V.indexOf(S,A),re=V.indexOf(z,A);break}var H=ue(re);if(V.substring(ae+1+H,ae+1+H+Ce)===z){if(se.push(V.substring(A,ae).replace(ce,k)),Pe(ae+1+H+Ce),K=V.indexOf(S,A),ae=V.indexOf(k,A),W&&(gt(),N))return Ne();if(I&&J.length>=I)return Ne(!0);break}ie.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:J.length,index:A}),ae++}}else ae++}return xe();function ne(Je){J.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 xe(Je){return pe||(Je===void 0&&(Je=V.substring(A)),se.push(Je),A=ee,ne(se),W&>()),Ne()}function Pe(Je){A=Je,ne(se),se=[],re=V.indexOf(z,A)}function Ne(Je){return{data:J,errors:ie,meta:{delimiter:S,linebreak:z,aborted:N,truncated:!!Je,cursor:ge+(me||0)}}}function gt(){Q(Ne()),J=[],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 Q=0;Q<k.results.data.length&&(S.userStep({data:k.results.data[Q],errors:k.results.errors,meta:k.results.meta},F),!z);Q++);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 M(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,(g.prototype=Object.create(g.prototype)).constructor=g,(p.prototype=Object.create(u.prototype)).constructor=p,l})})(Lh);var p0=Lh.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>")}}},Oh=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=Oh(()=>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=Oh(()=>d("div",null,[d("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),d("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to us."),d("p",null,[ke("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),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 T(),L("div",_0,[d("div",y0,[b0,d("ul",v0,[(T(!0),L(Ie,null,rt(o.faqs,(i,a)=>(T(),L("li",{key:a},[d("h3",x0,Z(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,[ke("Check out the project on "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,A0),ke(".")])])])}const T0=Ge(m0,[["render",S0],["__scopeId","data-v-3cb88319"]]);function Ft(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:M0}=Object.prototype,{getPrototypeOf:Za}=Object,Ur=(t=>e=>{const n=M0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),an=t=>(t=t.toLowerCase(),e=>Ur(e)===t),Hr=t=>e=>typeof e===t,{isArray:Rs}=Array,fo=Hr("undefined");function D0(t){return t!==null&&!fo(t)&&t.constructor!==null&&!fo(t.constructor)&&sn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Rh=an("ArrayBuffer");function L0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Rh(t.buffer),e}const O0=Hr("string"),sn=Hr("function"),Ph=Hr("number"),Ja=t=>t!==null&&typeof t=="object",j0=t=>t===!0||t===!1,Yo=t=>{if(Ur(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=an("Date"),P0=an("File"),I0=an("Blob"),F0=an("FileList"),$0=t=>Ja(t)&&sn(t.pipe),q0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||sn(t.append)&&((e=Ur(t))==="formdata"||e==="object"&&sn(t.toString)&&t.toString()==="[object FormData]"))},z0=an("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 sa(){const{caseless:t}=$h(this)&&this||{},e={},n=(s,o)=>{const r=t&&Ih(e,o)||o;Yo(e[r])&&Yo(s)?e[r]=sa(e[r],s):Yo(s)?e[r]=sa({},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&&sn(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=an("HTMLFormElement"),Q0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),Dc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),X0=an("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(sn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(sn(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),vi="abcdefghijklmnopqrstuvwxyz",Lc="0123456789",zh={DIGIT:Lc,ALPHA:vi,ALPHA_DIGIT:vi+vi.toUpperCase()+Lc},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&&sn(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:D0,isFormData:q0,isArrayBufferView:L0,isString:O0,isNumber:Ph,isBoolean:j0,isObject:Ja,isPlainObject:Yo,isUndefined:fo,isDate:R0,isFile:P0,isBlob:I0,isRegExp:X0,isFunction:sn,isStream:$0,isURLSearchParams:z0,isTypedArray:W0,isFileList:F0,forEach:ko,merge:sa,extend:N0,trim:B0,stripBOM:U0,inherits:H0,toFlatObject:V0,kindOf:Ur,kindOfTest:an,endsWith:G0,toArray:K0,forEachEntry:Z0,matchAll:J0,isHTMLForm:Y0,hasOwnProperty:Dc,hasOwnProp:Dc,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 oa(t){return U.isPlainObject(t)||U.isArray(t)}function Uh(t){return U.endsWith(t,"[]")?t.slice(0,-2):t}function Oc(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(oa)}const cy=U.toFlatObject(U,{},null,function(e){return/^is[A-Z]/.test(e)});function Vr(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(p){if(p===null)return"";if(U.isDate(p))return p.toISOString();if(!l&&U.isBlob(p))throw new je("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(p)||U.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,w){let v=p;if(p&&!w&&typeof p=="object"){if(U.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(U.isArray(p)&&ly(p)||(U.isFileList(p)||U.endsWith(m,"[]"))&&(v=U.toArray(p)))return m=Uh(m),v.forEach(function(x,E){!(U.isUndefined(x)||x===null)&&e.append(i===!0?Oc([m],E,r):i===null?m:m+"[]",c(x))}),!1}return oa(p)?!0:(e.append(Oc(w,m,r),c(p)),!1)}const h=[],f=Object.assign(cy,{defaultVisitor:u,convertValue:c,isVisitable:oa});function g(p,m){if(!U.isUndefined(p)){if(h.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));h.push(p),U.forEach(p,function(v,y){(!(U.isUndefined(v)||v===null)&&o.call(e,v,U.isString(y)?y.trim():y,m,f))===!0&&g(v,m?m.concat(y):[y])}),h.pop()}}if(!U.isObject(t))throw new TypeError("data must be an object");return g(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&&Vr(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")(),$t={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 Vr(t,new $t.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return $t.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 Gr={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 Vr(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||Gr.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:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};U.forEach(["delete","get","head"],function(e){Gr.headers[e]={}});U.forEach(["post","put","patch"],function(e){Gr.headers[e]=U.merge(vy)});const Qa=Gr,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 xi(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 Kr{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||xi(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||xi(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||xi(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}}Kr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);U.freezeMethods(Kr.prototype);U.freezeMethods(Kr);const en=Kr;function wi(t,e){const n=this||Qa,s=e||n,o=en.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 My=$t.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 Dy(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Ly(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Zh(t,e){return t&&!Dy(e)?Ly(t,e):e}const Oy=$t.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(i){const a=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 g=u&&c-u;return g?Math.round(f*1e3/g):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=en.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)&&($t.isStandardBrowserEnv||$t.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+p))}const u=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 g=en.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:t,request:c};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 p=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||Gh;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),s(new je(p,m.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,t,c)),c=null},$t.isStandardBrowserEnv){const g=(t.withCredentials||Oy(u))&&t.xsrfCookieName&&My.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&U.forEach(r.toJSON(),function(p,m){c.setRequestHeader(m,p)}),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=g=>{c&&(s(!g||g.type?new Co(null,t,c):g),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=jy(u);if(f&&$t.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 ki(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Co(null,t)}function Fc(t){return ki(t),t.headers=en.from(t.headers),t.data=wi.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 ki(t),s.data=wi.call(t,t.transformResponse,s),s.headers=en.from(s.headers),s},function(s){return Wh(s)||(ki(t),s&&s.response&&(s.response.data=wi.call(t,t.transformResponse,s.response),s.response.headers=en.from(s.response.headers))),Promise.reject(s)})}const $c=t=>t instanceof en?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 ra={assertOptions:$y,validators:Xa},dn=ra.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&&ra.assertOptions(s,{silentJSONParsing:dn.transitional(dn.boolean),forcedJSONParsing:dn.transitional(dn.boolean),clarifyTimeoutError:dn.transitional(dn.boolean)},!1),o!=null&&(U.isFunction(o)?n.paramsSerializer={serialize:o}:ra.assertOptions(o,{encode:dn.function,serialize:dn.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"],p=>{delete r[p]}),n.headers=en.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 p=[Fc.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);h<f;)u=u.then(p[h++],p[h++]);return u}f=a.length;let g=n;for(h=0;h<f;){const p=a[h++],m=a[h++];try{g=p(g)}catch(w){m.call(this,w);break}}try{u=Fc.call(this,g)}catch(p){return Promise.reject(p)}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 ia={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(ia).forEach(([t,e])=>{ia[e]=t});const Ny=ia;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=Vr;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=en;We.formToJSON=t=>Kh(U.isHTMLForm(t)?new FormData(t):t);We.HttpStatusCode=Ny;We.default=We;const De=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?(T(),L("div",Hy,[d("div",Vy,[d("h3",Gy,Z(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 ")])])])):G("",!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"},e2=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),t2=d("span",{class:"sr-only"},"Close modal",-1),n2=[e2,t2],s2={class:"p-4 text-center"},o2=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),r2={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function i2(t,e,n,s,o,r){return o.show?(T(),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"},n2),d("div",s2,[o2,d("h3",r2,Z(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"},Z(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"},Z(o.DenyButtonText),1)])])])])):G("",!0)}const a2=Ge(Jy,[["render",i2]]);const l2={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(()=>{we.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(()=>{we.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Sn=t=>(vo("data-v-3ffdabf3"),t=t(),xo(),t),c2={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},u2={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"},d2={class:"flex flex-row flex-grow items-center"},h2={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"},f2=Sn(()=>d("i",{"data-feather":"check"},null,-1)),p2=Sn(()=>d("span",{class:"sr-only"},"Check icon",-1)),g2=[f2,p2],m2={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"},_2=Sn(()=>d("i",{"data-feather":"x"},null,-1)),y2=Sn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),b2=[_2,y2],v2=["title"],x2={class:"flex"},w2=["onClick"],k2=Sn(()=>d("span",{class:"sr-only"},"Copy message",-1)),C2=Sn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),E2=[k2,C2],A2=["onClick"],S2=Sn(()=>d("span",{class:"sr-only"},"Close",-1)),T2=Sn(()=>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)),M2=[S2,T2];function D2(t,e,n,s,o,r){return T(),L("div",c2,[Se(En,{name:"toastItem",tag:"div"},{default:Qe(()=>[(T(!0),L(Ie,null,rt(o.toastArr,i=>(T(),L("div",{key:i.id,class:"relative"},[d("div",u2,[d("div",d2,[Id(t.$slots,"default",{},()=>[i.success?(T(),L("div",h2,g2)):G("",!0),i.success?G("",!0):(T(),L("div",m2,b2)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},Z(i.message),9,v2)],!0)]),d("div",x2,[d("button",{type:"button",onClick:le(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"},E2,8,w2),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"},M2,8,A2)])])]))),128))]),_:3})])}const tl=Ge(l2,[["render",D2],["__scopeId","data-v-3ffdabf3"]]),aa="/assets/default_model-9e24e852.png",L2={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(()=>{we.replace()})},methods:{computedFileSize(t){return Ft(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await De.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"?aa:this.icon},defaultImg(t){t.target.src=aa},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 Ft(this.speed)},total_size_computed(){return Ft(this.total_size)},downloaded_size_computed(){return Ft(this.downloaded_size)}},watch:{linkNotValid(){fe(()=>{we.replace()})}}},O2=["title"],j2={key:0,class:"flex flex-row"},R2={class:"flex gap-3 items-center grow"},P2=["src"],I2={class:"font-bold font-large text-lg truncate"},F2={key:1,class:"flex items-center flex-row gap-2 my-1"},$2={class:"flex grow items-center"},q2=d("i",{"data-feather":"box",class:"w-5"},null,-1),z2=d("span",{class:"sr-only"},"Custom model / local model",-1),B2=[q2,z2],N2=d("span",{class:"sr-only"},"Remove",-1),U2={key:2,class:"absolute z-10 -m-4 p-5 shadow-md text-center rounded-lg w-full h-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel bg-opacity-70 dark:bg-opacity-70 flex justify-center items-center"},H2={class:"relative flex flex-col items-center justify-center flex-grow h-full"},V2=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),G2={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},K2={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},W2={class:"flex justify-between mb-1"},Z2=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),J2={class:"text-sm font-medium text-blue-700 dark:text-white"},Y2={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Q2={class:"flex justify-between mb-1"},X2={class:"text-base font-medium text-blue-700 dark:text-white"},eb={class:"text-sm font-medium text-blue-700 dark:text-white"},tb={class:"flex flex-grow"},nb={class:"flex flex-row flex-grow gap-3"},sb={class:"p-2 text-center grow"},ob={key:3},rb={class:"flex flex-row items-center gap-3"},ib=["src"],ab={class:"font-bold font-large text-lg truncate"},lb=d("div",{class:"grow"},null,-1),cb=d("div",{class:"flex-none gap-1"},null,-1),ub={class:"flex items-center flex-row-reverse gap-2 my-1"},db=d("span",{class:"sr-only"},"Settings",-1),hb={class:"flex flex-row items-center"},fb={key:0,class:"text-base text-red-600 flex items-center mt-1"},pb=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),gb=d("span",{class:"sr-only"},"Click to install",-1),mb=d("span",{class:"sr-only"},"Remove",-1),_b=["title"],yb={class:""},bb={class:"flex flex-row items-center"},vb=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),xb=d("b",null,"Manual download: ",-1),wb=["href","title"],kb=d("div",{class:"grow"},null,-1),Cb=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),Eb=[Cb],Ab={class:"flex items-center"},Sb=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Tb=d("b",null,"File size: ",-1),Mb={class:"flex items-center"},Db=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),Lb=d("b",null,"License: ",-1),Ob={class:"flex items-center"},jb=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Rb=d("b",null,"Owner: ",-1),Pb=["href"],Ib=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Fb=["title"];function $b(t,e,n,s,o,r){return T(),L("div",{class:Te(["relative items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[11]||(e[11]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(T(),L("div",j2,[d("div",R2,[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,P2),d("h3",I2,Z(n.title),1)])])):G("",!0),n.model.isCustomModel?(T(),L("div",F2,[d("div",$2,[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]=le(()=>{},["stop"]))},B2),ke(" Custom model ")]),d("div",null,[n.model.isInstalled?(T(),L("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Uninstall "),N2])):G("",!0)])])):G("",!0),o.installing?(T(),L("div",U2,[d("div",H2,[V2,d("div",G2,[d("div",K2,[d("div",W2,[Z2,d("span",J2,Z(Math.floor(o.progress))+"%",1)]),d("div",Y2,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt({width:o.progress+"%"})},null,4)]),d("div",Q2,[d("span",X2,"Download speed: "+Z(r.speed_computed)+"/s",1),d("span",eb,Z(r.downloaded_size_computed)+"/"+Z(r.total_size_computed),1)])])]),d("div",tb,[d("div",nb,[d("div",sb,[d("button",{onClick:e[3]||(e[3]=le((...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 ")])])])])])):G("",!0),n.model.isCustomModel?G("",!0):(T(),L("div",ob,[d("div",rb,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Te(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,ib),d("h3",ab,Z(n.title),1),lb,cb]),d("div",ub,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=le(i=>r.toggleCopy(),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Copy info "),db]),d("div",hb,[o.linkNotValid?(T(),L("div",fb,[pb,ke(" Link is not valid ")])):G("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(T(),L("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Install "),gb])):G("",!0),n.model.isInstalled?(T(),L("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Uninstall "),mb])):G("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",yb,[d("div",bb,[vb,xb,d("a",{href:n.path,onClick:e[8]||(e[8]=le(()=>{},["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,wb),kb,d("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[9]||(e[9]=le(i=>r.toggleCopyLink(),["stop"]))},Eb)]),d("div",Ab,[d("div",{class:Te(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[Sb,Tb,ke(" "+Z(o.fileSize),1)],2)]),d("div",Mb,[Db,Lb,ke(" "+Z(n.license),1)]),d("div",Ob,[jb,Rb,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=le(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},Z(n.owner),9,Pb)])]),Ib,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},Z(n.description),9,Fb)],8,_b)]))],10,O2)}const qb=Ge(L2,[["render",$b]]),zb={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}}},Bb={class:"p-4"},Nb={class:"flex items-center mb-4"},Ub=["src"],Hb={class:"text-lg font-semibold"},Vb=d("strong",null,"Author:",-1),Gb=d("strong",null,"Description:",-1),Kb=d("strong",null,"Language:",-1),Wb=d("strong",null,"Category:",-1),Zb={key:0},Jb=d("strong",null,"Disclaimer:",-1),Yb=d("strong",null,"Conditioning Text:",-1),Qb=d("strong",null,"AI Prefix:",-1),Xb=d("strong",null,"User Prefix:",-1),ev=d("strong",null,"Antiprompts:",-1);function tv(t,e,n,s,o,r){return T(),L("div",Bb,[d("div",Nb,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Ub),d("h2",Hb,Z(o.personalityName),1)]),d("p",null,[Vb,ke(" "+Z(o.personalityAuthor),1)]),d("p",null,[Gb,ke(" "+Z(o.personalityDescription),1)]),d("p",null,[Kb,ke(" "+Z(o.personalityLanguage),1)]),d("p",null,[Wb,ke(" "+Z(o.personalityCategory),1)]),o.disclaimer?(T(),L("p",Zb,[Jb,ke(" "+Z(o.disclaimer),1)])):G("",!0),d("p",null,[Yb,ke(" "+Z(o.conditioningText),1)]),d("p",null,[Qb,ke(" "+Z(o.aiPrefix),1)]),d("p",null,[Xb,ke(" "+Z(o.userPrefix),1)]),d("div",null,[ev,d("ul",null,[(T(!0),L(Ie,null,rt(o.antipromptsList,i=>(T(),L("li",{key:i.id},Z(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?(T(),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 ")):G("",!0)])}const nv=Ge(zb,[["render",tv]]),xs="/assets/logo-9d653710.svg",sv="/assets/default_user-17642e5a.svg",ov="/",rv={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(()=>{we.replace()})},computed:{},methods:{getImgUrl(){return ov+this.personality.avatar},defaultImg(t){t.target.src=xs},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)}},watch:{selected(){fe(()=>{we.replace()})}}},iv=["title"],av={class:"flex flex-row items-center flex-shrink-0 gap-3"},lv=["src"],cv={class:"font-bold font-large text-lg line-clamp-3"},uv=d("div",{class:"grow"},null,-1),dv={class:"flex items-center"},hv=d("i",{"data-feather":"slash",class:"w-5"},null,-1),fv=d("span",{class:"sr-only"},"Not installed",-1),pv=[hv,fv],gv=d("i",{"data-feather":"sliders",class:"w-5"},null,-1),mv=d("span",{class:"sr-only"},"Settings",-1),_v=[gv,mv],yv={class:""},bv={class:""},vv={class:"flex items-center"},xv=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),wv=d("b",null,"Author: ",-1),kv={class:"flex items-center"},Cv=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Ev=d("b",null,"Language: ",-1),Av={class:"flex items-center"},Sv=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Tv=d("b",null,"Category: ",-1),Mv=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Dv=["title"];function Lv(t,e,n,s,o,r){return T(),L("div",{class:Te(["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]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Te(n.personality.installed?"":"opacity-50")},[d("div",av,[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,lv),d("h3",cv,Z(n.personality.name),1),uv,d("div",dv,[n.personality.installed?G("",!0):(T(),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]=le(()=>{},["stop"]))},pv)),n.selected?(T(),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]=le((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"]))},_v)):G("",!0),d("button",{type:"button",onClick:e[3]||(e[3]=le((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:Te(["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":""])},Z(o.isMounted?"Unmount":"Mount"),3)])]),d("div",yv,[d("div",bv,[d("div",vv,[xv,wv,ke(" "+Z(n.personality.author),1)]),d("div",kv,[Cv,Ev,ke(" "+Z(n.personality.language),1)]),d("div",Av,[Sv,Tv,ke(" "+Z(n.personality.category),1)])]),Mv,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},Z(n.personality.description),9,Dv)])],2)],10,iv)}const Ov=Ge(rv,[["render",Lv]]),jv="/",Rv={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){fe(()=>{we.replace()})},methods:{getImgUrl(){return jv+this.binding.icon},defaultImg(t){t.target.src=xs},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){fe(()=>{we.replace()})}}},Pv=["title"],Iv={class:"flex flex-row items-center gap-3"},Fv=["src"],$v={class:"font-bold font-large text-lg truncate"},qv=d("div",{class:"grow"},null,-1),zv=d("div",{class:"flex-none gap-1"},null,-1),Bv={class:"flex items-center flex-row-reverse gap-2 my-1"},Nv=d("span",{class:"sr-only"},"Click to install",-1),Uv=d("span",{class:"sr-only"},"Reinstall binding",-1),Hv=d("span",{class:"sr-only"},"Settings",-1),Vv={class:""},Gv={class:""},Kv={class:"flex items-center"},Wv=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Zv=d("b",null,"Author: ",-1),Jv={class:"flex items-center"},Yv=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Qv=d("b",null,"Folder: ",-1),Xv={class:"flex items-center"},ex=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),tx=d("b",null,"Version: ",-1),nx={class:"flex items-center"},sx=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),ox=d("b",null,"Link: ",-1),rx=["href"],ix=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),ax=["title"];function lx(t,e,n,s,o,r){return T(),L("div",{class:Te(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[4]||(e[4]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",Iv,[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,Fv),d("h3",$v,Z(n.binding.name),1),qv,zv]),d("div",Bv,[n.binding.installed?G("",!0):(T(),L("button",{key:0,title:"Click to install",type:"button",onClick:e[1]||(e[1]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Install "),Nv])),n.binding.installed?(T(),L("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[2]||(e[2]=le((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ke(" Reinstall binding "),Uv])):G("",!0),n.selected?(T(),L("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[3]||(e[3]=le((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ke(" Settings "),Hv])):G("",!0)]),d("div",Vv,[d("div",Gv,[d("div",Kv,[Wv,Zv,ke(" "+Z(n.binding.author),1)]),d("div",Jv,[Yv,Qv,ke(" "+Z(n.binding.folder),1)]),d("div",Xv,[ex,tx,ke(" "+Z(n.binding.version),1)]),d("div",nx,[sx,ox,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},Z(n.binding.link),9,rx)])]),ix,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},Z(n.binding.description),9,ax)])])],10,Pv)}const cx=Ge(Rv,[["render",lx]]),Ht=Object.create(null);Ht.open="0";Ht.close="1";Ht.ping="2";Ht.pong="3";Ht.message="4";Ht.upgrade="5";Ht.noop="6";const tr=Object.create(null);Object.keys(Ht).forEach(t=>{tr[Ht[t]]=t});const ux={type:"error",data:"parser error"},dx=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",hx=typeof ArrayBuffer=="function",fx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Qh=({type:t,data:e},n,s)=>dx&&e instanceof Blob?n?s(e):zc(e,s):hx&&(e instanceof ArrayBuffer||fx(e))?n?s(e):zc(new Blob([e]),s):s(Ht[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 px=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},gx=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:mx(t.substring(1),e)}:tr[n]?t.length>1?{type:tr[n],data:t.substring(1)}:{type:tr[n]}:ux},mx=(t,e)=>{if(gx){const n=px(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),_x=(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))})})},yx=(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 bx(t)}function bx(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 vx=yt.setTimeout,xx=yt.clearTimeout;function Wr(t,e){e.useNativeTimers?(t.setTimeoutFn=vx.bind(yt),t.clearTimeoutFn=xx.bind(yt)):(t.setTimeoutFn=yt.setTimeout.bind(yt),t.clearTimeoutFn=yt.clearTimeout.bind(yt))}const wx=1.33;function kx(t){return typeof t=="string"?Cx(t):Math.ceil((t.byteLength||t.size)*wx)}function Cx(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 Ex 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,Wr(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new Ex(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(""),la=64,Ax={};let Nc=0,Po=0,Uc;function Hc(t){let e="";do e=rf[t%la]+e,t=Math.floor(t/la);while(t>0);return e}function af(){const t=Hc(+new Date);return t!==Uc?(Nc=0,Uc=t):t+"."+Hc(Nc++)}for(;Po<la;Po++)Ax[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 Sx(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 Tx=cf;function uf(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Tx))return new XMLHttpRequest}catch{}if(!e)try{return new yt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function Mx(){}const Dx=function(){return new uf({xdomain:!1}).responseType!=null}();class Lx 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=Dx&&!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)};yx(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,_x(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 Bt(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 Bt extends Ke{constructor(e,n){super(),Wr(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=Bt.requestsCount++,Bt.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=Mx,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Bt.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()}}Bt.requestsCount=0;Bt.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 Bt.requests)Bt.requests.hasOwnProperty(t)&&Bt.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,Ox="arraybuffer",Kc=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class jx 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||Ox,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 Rx={websocket:jx,polling:Lx},Px=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Ix=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ca(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=Px.exec(t||""),r={},i=14;for(;i--;)r[Ix[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=Fx(r,r.path),r.queryKey=$x(r,r.query),r}function Fx(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 $x(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=ca(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=ca(n.host).host),Wr(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=Sx(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 Rx[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+=kx(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 qx(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=ca(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 zx=typeof ArrayBuffer=="function",Bx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,ff=Object.prototype.toString,Nx=typeof Blob=="function"||typeof Blob<"u"&&ff.call(Blob)==="[object BlobConstructor]",Ux=typeof File=="function"||typeof File<"u"&&ff.call(File)==="[object FileConstructor]";function nl(t){return zx&&(t instanceof ArrayBuffer||Bx(t))||Nx&&t instanceof Blob||Ux&&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 Hx(t){const e=[],n=t.data,s=t;return s.data=ua(n,e),s.attachments=e.length,{packet:s,buffers:e}}function ua(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]=ua(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]=ua(t[s],e));return n}return t}function Vx(t,e){return t.data=da(t.data,e),delete t.attachments,t}function da(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]=da(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=da(t[n],e));return t}const Gx=5;var Le;(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"})(Le||(Le={}));class Kx{constructor(e){this.replacer=e}encode(e){return(e.type===Le.EVENT||e.type===Le.ACK)&&nr(e)?this.encodeAsBinary({type:e.type===Le.EVENT?Le.BINARY_EVENT:Le.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===Le.BINARY_EVENT||e.type===Le.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=Hx(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===Le.BINARY_EVENT;s||n.type===Le.BINARY_ACK?(n.type=s?Le.EVENT:Le.ACK,this.reconstructor=new Wx(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(Le[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===Le.BINARY_EVENT||s.type===Le.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 Le.CONNECT:return typeof n=="object";case Le.DISCONNECT:return n===void 0;case Le.CONNECT_ERROR:return typeof n=="string"||typeof n=="object";case Le.EVENT:case Le.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="string"||typeof n[0]=="number");case Le.ACK:case Le.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Wx{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=Vx(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Zx=Object.freeze(Object.defineProperty({__proto__:null,Decoder:sl,Encoder:Kx,get PacketType(){return Le},protocol:Gx},Symbol.toStringTag,{value:"Module"}));function St(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const Jx=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(Jx.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:Le.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:Le.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 Le.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 Le.EVENT:case Le.BINARY_EVENT:this.onevent(e);break;case Le.ACK:case Le.BINARY_ACK:this.onack(e);break;case Le.DISCONNECT:this.ondisconnect();break;case Le.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:Le.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:Le.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 ha 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,Wr(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||Zx;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=qx(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 ha(s,e):(Ns[o]||(Ns[o]=new ha(s,e)),l=Ns[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(sr,{Manager:ha,Socket:pf,io:sr,connect:sr});const Yx=void 0,$e=new sr(Yx);$e.onopen=()=>{console.log("WebSocket connection established.")};$e.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};$e.onerror=t=>{console.error("WebSocket error:",t),$e.disconnect()};$e.on("connect",()=>{console.log("WebSocket connected (websocket)")});$e.on("disconnect",()=>{console.log("WebSocket disonnected (websocket)")});const gf=oh();gf.config.globalProperties.$socket=$e;gf.mount();const Qx={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})}}},Xx={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},ew={class:"relative w-full max-w-md max-h-full"},tw={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},nw=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),sw=d("span",{class:"sr-only"},"Close modal",-1),ow=[nw,sw],rw={class:"p-4 text-center"},iw=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),aw={class:"p-4 text-center mx-auto mb-4"},lw=d("label",{class:"mr-2"},"Model path",-1);function cw(t,e,n,s,o,r){return o.show?(T(),L("div",Xx,[d("div",ew,[d("div",tw,[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"},ow),d("div",rw,[iw,d("div",aw,[lw,Ae(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")])])])])):G("",!0)}const uw=Ge(Qx,[["render",cw]]),dw={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){fe(()=>{we.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(()=>{we.replace()})}}},hw={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},fw={class:"relative w-full max-w-md"},pw={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},gw={class:"flex flex-row flex-grow items-center m-2 p-1"},mw={class:"grow flex items-center"},_w=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),yw={class:"text-lg font-semibold select-none mr-2"},bw={class:"items-end"},vw=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),xw=d("span",{class:"sr-only"},"Close form modal",-1),ww=[vw,xw],kw={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},Cw={class:"px-2"},Ew={key:0},Aw={key:0},Sw={class:"text-base font-semibold"},Tw={key:0,class:"relative inline-flex"},Mw=["onUpdate:modelValue"],Dw=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),Lw={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Ow=["onUpdate:modelValue"],jw={key:1},Rw={class:"text-base font-semibold"},Pw={key:0,class:"relative inline-flex"},Iw=["onUpdate:modelValue"],Fw=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),$w={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},qw=["onUpdate:modelValue"],zw=["value","selected"],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=["onUpdate:modelValue","min","max"],Zw={key:2},Jw={class:"mb-2 relative flex items-center gap-2"},Yw={for:"default-checkbox",class:"text-base font-semibold"},Qw=["onUpdate:modelValue"],Xw={key:0,class:"relative inline-flex"},ek=["onUpdate:modelValue"],tk=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),nk={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},sk={key:3},ok={class:"text-base font-semibold"},rk={key:0,class:"relative inline-flex"},ik=["onUpdate:modelValue"],ak=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),lk={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},ck=["onUpdate:modelValue"],uk=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),dk={class:"flex flex-row flex-grow gap-3"},hk={class:"p-2 text-center grow"};function fk(t,e,n,s,o,r){return o.show?(T(),L("div",hw,[d("div",fw,[d("div",pw,[d("div",gw,[d("div",mw,[_w,d("h3",yw,Z(o.title),1)]),d("div",bw,[d("button",{type:"button",onClick:e[0]||(e[0]=le(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"},ww)])]),d("div",kw,[(T(!0),L(Ie,null,rt(o.controls_array,(i,a)=>(T(),L("div",Cw,[i.type=="str"?(T(),L("div",Ew,[i.options?G("",!0):(T(),L("div",Aw,[d("label",{class:Te(["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",Sw,Z(i.name)+": ",1),i.help?(T(),L("label",Tw,[Ae(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Mw),[[pn,i.isHelp]]),Dw])):G("",!0)],2),i.isHelp?(T(),L("p",Lw,Z(i.help),1)):G("",!0),Ae(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,Ow),[[qe,i.value]])])),i.options?(T(),L("div",jw,[d("label",{class:Te(["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",Rw,Z(i.name)+": ",1),i.help?(T(),L("label",Pw,[Ae(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Iw),[[pn,i.isHelp]]),Fw])):G("",!0)],2),i.isHelp?(T(),L("p",$w,Z(i.help),1)):G("",!0),Ae(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"},[(T(!0),L(Ie,null,rt(i.options,l=>(T(),L("option",{value:l,selected:i.value===l},Z(l),9,zw))),256))],8,qw),[[sm,i.value]])])):G("",!0)])):G("",!0),i.type=="int"||i.type=="float"?(T(),L("div",Bw,[d("label",{class:Te(["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,Z(i.name)+": ",1),i.help?(T(),L("label",Uw,[Ae(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Hw),[[pn,i.isHelp]]),Vw])):G("",!0)],2),i.isHelp?(T(),L("p",Gw,Z(i.help),1)):G("",!0),Ae(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,Kw),[[qe,i.value]]),i.min!=null&&i.max!=null?Ae((T(),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,Ww)),[[qe,i.value]]):G("",!0)])):G("",!0),i.type=="bool"?(T(),L("div",Zw,[d("div",Jw,[d("label",Yw,Z(i.name)+": ",1),Ae(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,Qw),[[pn,i.value]]),i.help?(T(),L("label",Xw,[Ae(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,ek),[[pn,i.isHelp]]),tk])):G("",!0)]),i.isHelp?(T(),L("p",nk,Z(i.help),1)):G("",!0)])):G("",!0),i.type=="list"?(T(),L("div",sk,[d("label",{class:Te(["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",ok,Z(i.name)+": ",1),i.help?(T(),L("label",rk,[Ae(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,ik),[[pn,i.isHelp]]),ak])):G("",!0)],2),i.isHelp?(T(),L("p",lk,Z(i.help),1)):G("",!0),Ae(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,ck),[[qe,i.value]])])):G("",!0),uk]))),256)),d("div",dk,[d("div",hk,[d("button",{onClick:e[1]||(e[1]=le(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"},Z(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=le(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"},Z(o.DenyButtonText),1)])])])])])])):G("",!0)}const pk=Ge(dw,[["render",fk]]);const gk="/";De.defaults.baseURL="/";const mk={components:{AddModelDialog:uw,MessageBox:Zy,YesNoDialog:a2,ModelEntry:qb,PersonalityViewer:nv,Toast:tl,PersonalityEntry:Ov,BindingEntry:cx,UniversalForm:pk},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:gk,searchPersonality:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchPersonalityInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},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;$e.emit("install_model",{path:t},e=>{console.log("Model installation successful:",e)}),console.log(this.$refs.addmodeldialog.model_path)})},closeAddModelDialog(){this.addModelDialogVisibility=!1},collapseAll(t){this.bec_collapsed=t,this.mzc_collapsed=t,this.pzc_collapsed=t,this.bzc_collapsed=t,this.pc_collapsed=t,this.mc_collapsed=t,this.sc_collapsed=t,this.mzdc_collapsed=t},fetchModels(){De.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(){De.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}if(t.isMounted&&this.configFile.personalities.includes(t.personality.full_path)){const e=await this.select_personality(t);e&&e.status&&e.active_personality_id>-1?this.$refs.toast.showToast(`Selected personality:
|
||
`+t.name,4,!0):this.$refs.toast.showToast(`Error on select personality:
|
||
`+t.name,4,!1),this.isLoading=!1}else this.onPersonalityMounted(t);fe(()=>{we.replace()})}},onSelected(t){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?this.configFile.model_name!=t.title&&(this.update_model(t.title),this.configFile.model_name=t.title,this.$refs.toast.showToast(`Selected model:
|
||
`+t.title,4,!0),this.settingsChanged=!0,this.isModelSelected=!0):this.$refs.toast.showToast(`Model:
|
||
`+t.title+`
|
||
is not installed`,4,!1),fe(()=>{we.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(){const t=this.addModel;this.modelDownlaodInProgress=!1,this.addModel={},this.$refs.toast.showToast("Model installation aborted",4,!1),$e.emit("cancel_install",{model_name:t.model_name,binding_folder:t.binding_folder,model_url:t.model_url})},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"),$e.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 $e.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})};$e.on("install_progress",n),$e.emit("install_model",{path:e}),console.log("Started installation, please wait")},onInstallAddModel(){if(!this.addModel.url){this.$refs.toast.showToast("Link is empty",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.modelDownlaodInProgress=!0,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),$e.off("install_progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model:
|
||
`+this.addModel.model_name+`
|
||
installed!`,4,!0),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))):($e.off("install_progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model:
|
||
`+this.addModel.model_name+`
|
||
failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))};$e.on("install_progress",e),$e.emit("install_model",{path:t}),console.log("Started installation, please wait")},uploadLocalModel(){if(this.uploadData.length==0){this.$refs.toast.showToast("No files to upload",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.modelDownlaodInProgress=!0,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),$e.off("progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model:
|
||
`+this.addModel.model_name+`
|
||
installed!`,4,!0),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))):($e.off("progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model:
|
||
`+this.addModel.model_name+`
|
||
failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))};$e.on("progress",e),console.log("Started installation, please wait")},setFileList(t){this.uploadData=t.target.files,console.log("set file list",this.uploadData)},onUninstall(t){this.$refs.yesNoDialog.askQuestion(`Are you sure you want to delete this model?
|
||
[`+t.title+"]","Yes","Cancel").then(e=>{if(e){console.log("uninstalling model...");const n=s=>{if(console.log("uninstalling res",s),s.status){console.log("uninstalling success",s),t.uninstalling=!1,$e.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,$e.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})};$e.on("install_progress",n),$e.emit("uninstall_model",{path:t.path})}})},onSelectedBinding(t){if(!t.binding.installed){this.$refs.toast.showToast(`Binding is not installed:
|
||
`+t.binding.name,4,!1);return}this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onInstallBinding(t){this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onReinstallBinding(t){this.isLoading=!0,De.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,De.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{De.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,De.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{De.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};De.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(()=>{we.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,De.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(()=>{we.replace()})})},save_configuration(){this.showConfirmation=!1,De.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&&De.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 De.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 g={};return g=h,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+h.folder,g.isMounted=f,g});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name.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 Ft(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 De.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 De.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 De.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
|
||
`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
|
||
Error: `+e.error+`
|
||
Response:
|
||
`+e,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
|
||
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
|
||
Error: `+e.error,4,!1);this.isLoading=!1},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;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){console.log("on sel ",t),this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},personalityImgPlacehodler(t){t.target.src=xs},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))}},async mounted(){this.isLoading=!0,fe(()=>{we.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 aa}},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return Ft(this.addModel.speed)},total_size_computed(){return Ft(this.addModel.total_size)},downloaded_size_computed(){return Ft(this.addModel.downloaded_size)}},watch:{bec_collapsed(){fe(()=>{we.replace()})},pc_collapsed(){fe(()=>{we.replace()})},mc_collapsed(){fe(()=>{we.replace()})},sc_collapsed(){fe(()=>{we.replace()})},showConfirmation(){fe(()=>{we.replace()})},mzl_collapsed(){fe(()=>{we.replace()})},pzl_collapsed(){fe(()=>{we.replace()})},bzl_collapsed(){fe(()=>{we.replace()})},all_collapsed(t){this.collapseAll(t),fe(()=>{we.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,fe(()=>{we.replace()})},isLoading(){fe(()=>{we.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},mzdc_collapsed(){fe(()=>{we.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to apply changes?
|
||
You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1;if(!this.isModelSelected)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to select model?
|
||
You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},ye=t=>(vo("data-v-2a710689"),t=t(),xo(),t),_k={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},yk={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"},bk={key:0,class:"flex gap-3 flex-1 items-center duration-75"},vk=ye(()=>d("i",{"data-feather":"x"},null,-1)),xk=[vk],wk=ye(()=>d("i",{"data-feather":"check"},null,-1)),kk=[wk],Ck={key:1,class:"flex gap-3 flex-1 items-center"},Ek=ye(()=>d("i",{"data-feather":"save"},null,-1)),Ak=[Ek],Sk=ye(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),Tk=[Sk],Mk=ye(()=>d("i",{"data-feather":"list"},null,-1)),Dk=[Mk],Lk={class:"flex gap-3 flex-1 items-center justify-end"},Ok={class:"flex gap-3 items-center"},jk={key:0,class:"flex gap-3 items-center"},Rk=ye(()=>d("i",{"data-feather":"check"},null,-1)),Pk=[Rk],Ik={key:1,role:"status"},Fk=ye(()=>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)),$k=ye(()=>d("span",{class:"sr-only"},"Loading...",-1)),qk=[Fk,$k],zk={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"},Bk={class:"flex flex-row p-3"},Nk=ye(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),Uk=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),Hk=ye(()=>d("div",{class:"mr-2"},"|",-1)),Vk={class:"text-base font-semibold cursor-pointer select-none items-center"},Gk={class:"flex gap-2 items-center"},Kk=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-2a710689><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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></path></svg>',1),Wk={class:"font-bold font-large text-lg"},Zk=ye(()=>d("i",{"data-feather":"cpu",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Jk={class:"font-bold font-large text-lg"},Yk=ye(()=>d("i",{"data-feather":"hard-drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Qk={class:"font-bold font-large text-lg"},Xk={class:"mb-2"},e5=ye(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[d("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),ke(" Ram usage: ")],-1)),t5={class:"flex flex-col mx-2"},n5=ye(()=>d("b",null,"Avaliable ram: ",-1)),s5=ye(()=>d("b",null,"Ram usage: ",-1)),o5={class:"p-2"},r5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},i5={class:"mb-2"},a5=ye(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),ke(" Disk usage: ")],-1)),l5={class:"flex flex-col mx-2"},c5=ye(()=>d("b",null,"Avaliable disk space: ",-1)),u5=ye(()=>d("b",null,"Disk usage: ",-1)),d5={class:"p-2"},h5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},f5={class:"mb-2"},p5=wo('<label class="flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white" data-v-2a710689><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-2a710689><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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></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-2a710689></path></svg> GPU usage: </label>',1),g5={class:"flex flex-col mx-2"},m5=ye(()=>d("b",null,"Avaliable vram: ",-1)),_5=ye(()=>d("b",null,"GPU usage: ",-1)),y5={class:"p-2"},b5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},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"},x5={class:"flex flex-row p-3"},w5=ye(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),k5=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),C5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},E5=ye(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),A5={key:1,class:"mr-2"},S5={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},T5={class:"flex gap-1 items-center"},M5=["src"],D5={class:"font-bold font-large text-lg line-clamp-1"},L5={key:0,class:"mb-2"},O5={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},j5=ye(()=>d("i",{"data-feather":"chevron-up"},null,-1)),R5=[j5],P5=ye(()=>d("i",{"data-feather":"chevron-down"},null,-1)),I5=[P5],F5={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"},$5={class:"flex flex-row p-3"},q5=["data-feather"],z5=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),B5={class:"flex flex-row items-center"},N5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},U5=ye(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),H5={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},V5=ye(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),G5={key:2,class:"mr-2"},K5={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},W5={class:"flex gap-1 items-center"},Z5=["src"],J5={class:"font-bold font-large text-lg line-clamp-1"},Y5={key:0,class:"mb-2"},Q5={key:1,class:"mb-2"},X5={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},e4=ye(()=>d("i",{"data-feather":"chevron-up"},null,-1)),t4=[e4],n4=ye(()=>d("i",{"data-feather":"chevron-down"},null,-1)),s4=[n4],o4={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"},r4={class:"flex flex-row p-3"},i4=["data-feather"],a4=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),l4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},c4=ye(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),u4={key:1,class:"mr-2"},d4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},h4={class:"flex gap-1 items-center"},f4=["src"],p4={class:"font-bold font-large text-lg line-clamp-1"},g4={class:"mb-2"},m4={key:0,class:"p-2"},_4={class:"mb-3"},y4=ye(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white",for:"file_input"},"Select files",-1)),b4={class:"p-2"},v4={key:0},x4={class:"mb-3"},w4=ye(()=>d("label",{for:"email",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Model URL",-1)),k4={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},C4=ye(()=>d("div",{role:"status",class:"justify-center"},null,-1)),E4={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},A4={class:"w-full p-2"},S4={class:"flex justify-between mb-1"},T4=wo('<span class="flex flex-row items-center gap-2 text-base font-medium text-blue-700 dark:text-white" data-v-2a710689> Downloading <svg aria-hidden="true" class="w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-secondary" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-2a710689><path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor" data-v-2a710689></path><path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill" data-v-2a710689></path></svg><span class="sr-only" data-v-2a710689>Loading...</span></span>',1),M4={class:"text-sm font-medium text-blue-700 dark:text-white"},D4=["title"],L4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},O4={class:"flex justify-between mb-1"},j4={class:"text-base font-medium text-blue-700 dark:text-white"},R4={class:"text-sm font-medium text-blue-700 dark:text-white"},P4={class:"flex flex-grow"},I4={class:"flex flex-row flex-grow gap-3"},F4={class:"p-2 text-center grow"},$4={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"},q4={class:"flex flex-row p-3 items-center"},z4=["data-feather"],B4=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),N4={key:0,class:"mr-2"},U4={class:"mr-2 font-bold font-large text-lg line-clamp-1"},H4={key:1,class:"mr-2"},V4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},G4={key:0,class:"flex -space-x-4 items-center"},K4={class:"group items-center flex flex-row"},W4=["onClick"],Z4=["src","title"],J4=["onClick"],Y4=ye(()=>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=[Y4],X4={class:"mx-2 mb-4"},e3=ye(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),t3={class:"relative"},n3={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},s3={key:0},o3=ye(()=>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)),r3=[o3],i3={key:1},a3=ye(()=>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)),l3=[a3],c3={key:0,class:"mx-2 mb-4"},u3={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},d3=["selected"],h3={key:1,class:"mx-2 mb-4"},f3={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},p3=["selected"],g3={key:0,class:"mb-2"},m3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},_3=ye(()=>d("i",{"data-feather":"chevron-up"},null,-1)),y3=[_3],b3=ye(()=>d("i",{"data-feather":"chevron-down"},null,-1)),v3=[b3],x3={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"},w3={class:"flex flex-row"},k3=["data-feather"],C3=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),E3={class:"m-2"},A3={class:"flex flex-row gap-2 items-center"},S3=ye(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),T3={class:"m-2"},M3=ye(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),D3={class:"m-2"},L3={class:"flex flex-col align-bottom"},O3={class:"relative"},j3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),R3={class:"absolute right-0"},P3={class:"m-2"},I3={class:"flex flex-col align-bottom"},F3={class:"relative"},$3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),q3={class:"absolute right-0"},z3={class:"m-2"},B3={class:"flex flex-col align-bottom"},N3={class:"relative"},U3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),H3={class:"absolute right-0"},V3={class:"m-2"},G3={class:"flex flex-col align-bottom"},K3={class:"relative"},W3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),Z3={class:"absolute right-0"},J3={class:"m-2"},Y3={class:"flex flex-col align-bottom"},Q3={class:"relative"},X3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),e8={class:"absolute right-0"},t8={class:"m-2"},n8={class:"flex flex-col align-bottom"},s8={class:"relative"},o8=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),r8={class:"absolute right-0"};function i8(t,e,n,s,o,r){const i=Zt("BindingEntry"),a=Zt("model-entry"),l=Zt("personality-entry"),c=Zt("YesNoDialog"),u=Zt("AddModelDialog"),h=Zt("MessageBox"),f=Zt("Toast"),g=Zt("UniversalForm");return T(),L(Ie,null,[d("div",_k,[d("div",yk,[o.showConfirmation?(T(),L("div",bk,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=le(p=>o.showConfirmation=!1,["stop"]))},xk),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=le(p=>r.save_configuration(),["stop"]))},kk)])):G("",!0),o.showConfirmation?G("",!0):(T(),L("div",Ck,[d("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=p=>o.showConfirmation=!0)},Ak),d("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=p=>r.reset_configuration())},Tk),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]=le(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},Dk)])),d("div",Lk,[d("div",Ok,[o.settingsChanged?(T(),L("div",jk,[ke(" Apply changes: "),o.isLoading?G("",!0):(T(),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]=le(p=>r.applyConfiguration(),["stop"]))},Pk))])):G("",!0),o.isLoading?(T(),L("div",Ik,qk)):G("",!0)])])]),d("div",{class:Te(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",zk,[d("div",Bk,[d("button",{onClick:e[6]||(e[6]=le(p=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[Nk,Uk,Hk,d("div",Vk,[d("div",Gk,[Kk,d("h3",Wk,[d("div",null,Z(r.vram_usage)+" / "+Z(r.vram_total_space)+" ("+Z(r.vram_percent_usage)+"%)",1)]),Zk,d("h3",Jk,[d("div",null,Z(r.ram_usage)+" / "+Z(r.ram_total_space)+" ("+Z(r.ram_percent_usage)+"%)",1)]),Yk,d("h3",Qk,[d("div",null,Z(r.disk_binding_models_usage)+" / "+Z(r.disk_total_space)+" ("+Z(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Te([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",Xk,[e5,d("div",t5,[d("div",null,[n5,ke(Z(r.ram_available_space),1)]),d("div",null,[s5,ke(" "+Z(r.ram_usage)+" / "+Z(r.ram_total_space),1)])]),d("div",o5,[d("div",r5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",i5,[a5,d("div",l5,[d("div",null,[c5,ke(Z(r.disk_available_space),1)]),d("div",null,[u5,ke(" "+Z(r.disk_binding_models_usage)+" / "+Z(r.disk_total_space),1)])]),d("div",d5,[d("div",h5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),d("div",f5,[p5,d("div",g5,[d("div",null,[m5,ke(Z(r.vram_available_space),1)]),d("div",null,[_5,ke(" "+Z(r.vram_usage)+" / "+Z(r.vram_total_space),1)])]),d("div",y5,[d("div",b5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt("width: "+r.vram_percent_usage+"%;")},null,4)])])])],2)]),d("div",v5,[d("div",x5,[d("button",{onClick:e[7]||(e[7]=le(p=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[w5,k5,o.configFile.binding_name?G("",!0):(T(),L("div",C5,[E5,ke(" No binding selected! ")])),o.configFile.binding_name?(T(),L("div",A5,"|")):G("",!0),o.configFile.binding_name?(T(),L("div",S5,[d("div",T5,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,M5),d("h3",D5,Z(r.binding_name),1)])])):G("",!0)])]),d("div",{class:Te([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindings.length>0?(T(),L("div",L5,[d("label",O5," Bindings: ("+Z(o.bindings.length)+") ",1),d("div",{class:Te(["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(En,{name:"list"},{default:Qe(()=>[(T(!0),L(Ie,null,rt(o.bindings,(p,m)=>(T(),at(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+m+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,selected:p.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","selected"]))),128))]),_:1})],2)])):G("",!0),o.bzl_collapsed?(T(),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]=p=>o.bzl_collapsed=!o.bzl_collapsed)},R5)):(T(),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]=p=>o.bzl_collapsed=!o.bzl_collapsed)},I5))],2)]),d("div",F5,[d("div",$5,[d("button",{onClick:e[10]||(e[10]=le(p=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,q5),z5,d("div",B5,[o.configFile.binding_name?G("",!0):(T(),L("div",N5,[U5,ke(" Select binding first! ")])),!o.isModelSelected&&o.configFile.binding_name?(T(),L("div",H5,[V5,ke(" No model selected! ")])):G("",!0),o.configFile.model_name?(T(),L("div",G5,"|")):G("",!0),o.configFile.model_name?(T(),L("div",K5,[d("div",W5,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,Z5),d("h3",J5,Z(o.configFile.model_name),1)])])):G("",!0)])])]),d("div",{class:Te([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.configFile.binding_name?(T(),L("div",Y5)):G("",!0),o.models.length>0?(T(),L("div",Q5,[d("label",X5," Models: ("+Z(o.models.length)+") ",1),d("div",{class:Te(["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(En,{name:"list"},{default:Qe(()=>[(T(!0),L(Ie,null,rt(o.models,(p,m)=>(T(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===o.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):G("",!0),o.mzl_collapsed?(T(),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]=p=>o.mzl_collapsed=!o.mzl_collapsed)},t4)):(T(),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]=p=>o.mzl_collapsed=!o.mzl_collapsed)},s4))],2)]),d("div",o4,[d("div",r4,[d("button",{onClick:e[13]||(e[13]=le(p=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzdc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,i4),a4,o.configFile.binding_name?G("",!0):(T(),L("div",l4,[c4,ke(" No binding selected! ")])),o.configFile.binding_name?(T(),L("div",u4,"|")):G("",!0),o.configFile.binding_name?(T(),L("div",d4,[d("div",h4,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,f4),d("h3",p4,Z(r.binding_name),1)])])):G("",!0)])]),d("div",{class:Te([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",g4,[o.modelDownlaodInProgress?G("",!0):(T(),L("div",m4,[d("form",null,[d("div",_4,[y4,d("input",{onChange:e[14]||(e[14]=(...p)=>r.setFileList&&r.setFileList(...p)),class:"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400",ref:"fileDialogAddModel",type:"file",multiple:""},null,544)]),d("button",{type:"button",onClick:e[15]||(e[15]=le((...p)=>r.uploadLocalModel&&r.uploadLocalModel(...p),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Upload")])])),d("div",b4,[o.modelDownlaodInProgress?G("",!0):(T(),L("div",v4,[d("div",x4,[w4,Ae(d("input",{type:"text","onUpdate:modelValue":e[16]||(e[16]=p=>o.addModel.url=p),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"url",required:""},null,512),[[qe,o.addModel.url]])]),d("button",{type:"button",onClick:e[17]||(e[17]=le(p=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(T(),L("div",k4,[C4,d("div",E4,[d("div",A4,[d("div",S4,[T4,d("span",M4,Z(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},Z(o.addModel.url),9,D4),d("div",L4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt({width:o.addModel.progress+"%"})},null,4)]),d("div",O4,[d("span",j4,"Download speed: "+Z(r.speed_computed)+"/s",1),d("span",R4,Z(r.downloaded_size_computed)+"/"+Z(r.total_size_computed),1)])])]),d("div",P4,[d("div",I4,[d("div",F4,[d("button",{onClick:e[18]||(e[18]=le((...p)=>r.onCancelInstall&&r.onCancelInstall(...p),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):G("",!0)])])],2)]),d("div",$4,[d("div",q4,[d("button",{onClick:e[20]||(e[20]=le(p=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[d("i",{"data-feather":o.pzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,z4),B4,o.configFile.personalities?(T(),L("div",N4,"|")):G("",!0),d("div",U4,Z(r.active_pesonality),1),o.configFile.personalities?(T(),L("div",H4,"|")):G("",!0),o.configFile.personalities?(T(),L("div",V4,[o.mountedPersArr.length>0?(T(),L("div",G4,[(T(!0),L(Ie,null,rt(o.mountedPersArr,(p,m)=>(T(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:m+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",K4,[d("button",{onClick:le(w=>r.onPersonalitySelected(p),["stop"])},[d("img",{src:o.bUrl+p.avatar,onError:e[19]||(e[19]=(...w)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...w)),class:Te(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,Z4)],8,W4),d("button",{onClick:le(w=>r.onPersonalityMounted(p),["stop"])},Q4,8,J4)])]))),128))])):G("",!0)])):G("",!0)])]),d("div",{class:Te([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",X4,[d("form",null,[e3,d("div",t3,[d("div",n3,[o.searchPersonalityInProgress?(T(),L("div",s3,r3)):G("",!0),o.searchPersonalityInProgress?G("",!0):(T(),L("div",i3,l3))]),Ae(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[21]||(e[21]=p=>o.searchPersonality=p),onKeyup:e[22]||(e[22]=le((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[qe,o.searchPersonality]]),o.searchPersonality?(T(),L("button",{key:0,onClick:e[23]||(e[23]=le(p=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):G("",!0)])])]),o.searchPersonality?G("",!0):(T(),L("div",c3,[d("label",u3," Personalities Languages: ("+Z(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[24]||(e[24]=p=>r.update_setting("personality_language",p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(T(!0),L(Ie,null,rt(o.persLangArr,p=>(T(),L("option",{selected:p===this.configFile.personality_language},Z(p),9,d3))),256))],32)])),o.searchPersonality?G("",!0):(T(),L("div",h3,[d("label",f3," Personalities Category: ("+Z(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[25]||(e[25]=p=>r.update_setting("personality_category",p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(T(!0),L(Ie,null,rt(o.persCatgArr,(p,m)=>(T(),L("option",{key:m,selected:p==this.configFile.personality_category},Z(p),9,p3))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(T(),L("div",g3,[d("label",m3," Personalities: ("+Z(o.personalitiesFiltered.length)+") ",1),d("div",{class:Te(["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(En,{name:"bounce"},{default:Qe(()=>[(T(!0),L(Ie,null,rt(o.personalitiesFiltered,(p,m)=>(T(),at(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+p.name,personality:p,full_path:p.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(w=>w===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):G("",!0)]),o.pzl_collapsed?(T(),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[26]||(e[26]=p=>o.pzl_collapsed=!o.pzl_collapsed)},y3)):(T(),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[27]||(e[27]=p=>o.pzl_collapsed=!o.pzl_collapsed)},v3))],2)]),d("div",x3,[d("div",w3,[d("button",{onClick:e[28]||(e[28]=le(p=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mc_collapsed?"chevron-right":"chevron-down",class:"mr-2"},null,8,k3),C3])]),d("div",{class:Te([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",E3,[d("div",A3,[Ae(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[29]||(e[29]=le(()=>{},["stop"])),"onUpdate:modelValue":e[30]||(e[30]=p=>o.configFile.override_personality_model_parameters=p),onChange:e[31]||(e[31]=p=>r.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[pn,o.configFile.override_personality_model_parameters]]),S3])]),d("div",{class:Te(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",T3,[M3,Ae(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[32]||(e[32]=p=>o.configFile.seed=p),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.seed]])]),d("div",D3,[d("div",L3,[d("div",O3,[j3,d("p",R3,[Ae(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[33]||(e[33]=p=>o.configFile.temperature=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.temperature]])])]),Ae(d("input",{id:"temperature",onChange:e[34]||(e[34]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[35]||(e[35]=p=>o.configFile.temperature=p),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.temperature]])])]),d("div",P3,[d("div",I3,[d("div",F3,[$3,d("p",q3,[Ae(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[36]||(e[36]=p=>o.configFile.n_predict=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.n_predict]])])]),Ae(d("input",{id:"predict",onChange:e[37]||(e[37]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[38]||(e[38]=p=>o.configFile.n_predict=p),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.n_predict]])])]),d("div",z3,[d("div",B3,[d("div",N3,[U3,d("p",H3,[Ae(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[39]||(e[39]=p=>o.configFile.top_k=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.top_k]])])]),Ae(d("input",{id:"top_k",onChange:e[40]||(e[40]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[41]||(e[41]=p=>o.configFile.top_k=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.top_k]])])]),d("div",V3,[d("div",G3,[d("div",K3,[W3,d("p",Z3,[Ae(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[42]||(e[42]=p=>o.configFile.top_p=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.top_p]])])]),Ae(d("input",{id:"top_p",onChange:e[43]||(e[43]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[44]||(e[44]=p=>o.configFile.top_p=p),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.top_p]])])]),d("div",J3,[d("div",Y3,[d("div",Q3,[X3,d("p",e8,[Ae(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[45]||(e[45]=p=>o.configFile.repeat_penalty=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.repeat_penalty]])])]),Ae(d("input",{id:"repeat_penalty",onChange:e[46]||(e[46]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[47]||(e[47]=p=>o.configFile.repeat_penalty=p),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[qe,o.configFile.repeat_penalty]])])]),d("div",t8,[d("div",n8,[d("div",s8,[o8,d("p",r8,[Ae(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[48]||(e[48]=p=>o.configFile.repeat_last_n=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[qe,o.configFile.repeat_last_n]])])]),Ae(d("input",{id:"repeat_last_n",onChange:e[49]||(e[49]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[50]||(e[50]=p=>o.configFile.repeat_last_n=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[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(g,{ref:"universalForm",class:"z-20"},null,512)],64)}const a8=Ge(mk,[["render",i8],["__scopeId","data-v-2a710689"]]),l8={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)}}},c8={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"},u8={class:"mb-4"},d8=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),h8={class:"mb-4"},f8=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),p8={class:"mb-4"},g8=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),m8={class:"mt-2 text-xs"},_8={class:"mb-4"},y8=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),b8={class:"mb-4"},v8=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),x8={class:"mb-4"},w8=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),k8={class:"mb-4"},C8=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),E8={class:"mb-4"},A8=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),S8=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function T8(t,e,n,s,o,r){return T(),L("div",c8,[d("form",{onSubmit:e[10]||(e[10]=le((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",u8,[d8,Ae(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",h8,[f8,Ae(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",p8,[g8,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",m8,"Selected File: "+Z(o.selectedDatasetPath),1)]),d("div",_8,[y8,Ae(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",b8,[v8,Ae(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",x8,[w8,Ae(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",k8,[C8,Ae(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",E8,[A8,Ae(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")]),S8],32)])}const M8=Ge(l8,[["render",T8]]),D8={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(()=>{we.replace()})},watch:{showConfirmation(){fe(()=>{we.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&fe(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},L8=["id"],O8={class:"flex flex-row items-center gap-2"},j8={key:0},R8=["title"],P8=["value"],I8={class:"flex items-center flex-1 max-h-6"},F8={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},$8=d("i",{"data-feather":"check"},null,-1),q8=[$8],z8=d("i",{"data-feather":"x"},null,-1),B8=[z8],N8={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},U8=d("i",{"data-feather":"x"},null,-1),H8=[U8],V8=d("i",{"data-feather":"check"},null,-1),G8=[V8],K8={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},W8=d("i",{"data-feather":"edit-2"},null,-1),Z8=[W8],J8=d("i",{"data-feather":"trash"},null,-1),Y8=[J8];function Q8(t,e,n,s,o,r){return T(),L("div",{class:Te([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]=le(i=>r.selectEvent(),["stop"]))},[d("div",O8,[n.isCheckbox?(T(),L("div",j8,[Ae(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]=le(()=>{},["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),[[pn,o.checkBoxValue_local]])])):G("",!0),n.selected?(T(),L("div",{key:1,class:Te(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):G("",!0),n.selected?G("",!0):(T(),L("div",{key:2,class:Te(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?G("",!0):(T(),L("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},Z(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,R8)),o.editTitle?(T(),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]=Yi(le(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Yi(le(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=le(()=>{},["stop"]))},null,40,P8)):G("",!0),d("div",I8,[o.showConfirmation&&!o.editTitleMode?(T(),L("div",F8,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=le(i=>r.deleteEvent(),["stop"]))},q8),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=le(i=>o.showConfirmation=!1,["stop"]))},B8)])):G("",!0),o.showConfirmation&&o.editTitleMode?(T(),L("div",N8,[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]=le(i=>o.editTitleMode=!1,["stop"]))},H8),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=le(i=>r.editTitleEvent(),["stop"]))},G8)])):G("",!0),o.showConfirmation?G("",!0):(T(),L("div",K8,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=le(i=>o.editTitleMode=!0,["stop"]))},Z8),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=le(i=>o.showConfirmation=!0,["stop"]))},Y8)]))])],10,L8)}const mf=Ge(D8,[["render",Q8]]);var Fe={};const X8="Á",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="⩓",M9="∧",D9="⩜",L9="⩘",O9="⩚",j9="∠",R9="⦤",P9="∠",I9="⦨",F9="⦩",$9="⦪",q9="⦫",z9="⦬",B9="⦭",N9="⦮",U9="⦯",H9="∡",V9="∟",G9="⊾",K9="⦝",W9="∢",Z9="Å",J9="⍼",Y9="Ą",Q9="ą",X9="𝔸",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="⋍",MC="∖",DC="⫧",LC="⊽",OC="⌅",jC="⌆",RC="⌅",PC="⎵",IC="⎶",FC="≌",$C="Б",qC="б",zC="„",BC="∵",NC="∵",UC="∵",HC="⦰",VC="϶",GC="ℬ",KC="ℬ",WC="Β",ZC="β",JC="ℶ",YC="≬",QC="𝔅",XC="𝔟",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="⌐",M6="𝔹",D6="𝕓",L6="⊥",O6="⊥",j6="⋈",R6="⧉",P6="┐",I6="╕",F6="╖",$6="╗",q6="┌",z6="╒",B6="╓",N6="╔",U6="─",H6="═",V6="┬",G6="╤",K6="╥",W6="╦",Z6="┴",J6="╧",Y6="╨",Q6="╩",X6="⊟",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="𝒷",ME="ℬ",DE="⁏",LE="∽",OE="⋍",jE="⧅",RE="\\",PE="⟈",IE="•",FE="•",$E="≎",qE="⪮",zE="≏",BE="≎",NE="≏",UE="Ć",HE="ć",VE="⩄",GE="⩉",KE="⩋",WE="∩",ZE="⋒",JE="⩇",YE="⩀",QE="ⅅ",XE="∩︀",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="χ",M7="ˆ",D7="≗",L7="↺",O7="↻",j7="⊛",R7="⊚",P7="⊝",I7="⊙",F7="®",$7="Ⓢ",q7="⊖",z7="⊕",B7="⊗",N7="○",U7="⧃",H7="≗",V7="⨐",G7="⫯",K7="⧂",W7="∲",Z7="”",J7="’",Y7="♣",Q7="♣",X7=":",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="𝒸",MA="⫏",DA="⫑",LA="⫐",OA="⫒",jA="⋯",RA="⤸",PA="⤵",IA="⋞",FA="⋟",$A="↶",qA="⤽",zA="⩈",BA="⩆",NA="≍",UA="∪",HA="⋓",VA="⩊",GA="⊍",KA="⩅",WA="∪︀",ZA="↷",JA="⤼",YA="⋞",QA="⋟",XA="⋎",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="⤑",MS="⩷",DS="°",LS="∇",OS="Δ",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="⟸",MT="⟺",DT="⟹",LT="⇒",OT="⊨",jT="⇑",RT="⇕",PT="∥",IT="⤓",FT="↓",$T="↓",qT="⇓",zT="⇵",BT="̑",NT="⇊",UT="⇃",HT="⇂",VT="⥐",GT="⥞",KT="⥖",WT="↽",ZT="⥟",JT="⥗",YT="⇁",QT="↧",XT="⊤",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="Э",MM="э",DM="⩷",LM="Ė",OM="ė",jM="≑",RM="ⅇ",PM="≒",IM="𝔈",FM="𝔢",$M="⪚",qM="È",zM="è",BM="⪖",NM="⪘",UM="⪙",HM="∈",VM="⏧",GM="ℓ",KM="⪕",WM="⪗",ZM="Ē",JM="ē",YM="∅",QM="∅",XM="◻",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="⇌",MD="≡",DD="⩸",LD="⧥",OD="⥱",jD="≓",RD="ℯ",PD="ℰ",ID="≐",FD="⩳",$D="≂",qD="Η",zD="η",BD="Ð",ND="ð",UD="Ë",HD="ë",VD="€",GD="!",KD="∃",WD="∃",ZD="ℰ",JD="ⅇ",YD="ⅇ",QD="≒",XD="Ф",eL="ф",tL="♀",nL="ffi",sL="ff",oL="ffl",rL="𝔉",iL="𝔣",aL="fi",lL="◼",cL="▪",uL="fj",dL="♭",hL="fl",fL="▱",pL="ƒ",gL="𝔽",mL="𝕗",_L="∀",yL="∀",bL="⋔",vL="⫙",xL="ℱ",wL="⨍",kL="½",CL="⅓",EL="¼",AL="⅕",SL="⅙",TL="⅛",ML="⅔",DL="⅖",LL="¾",OL="⅗",jL="⅜",RL="⅘",PL="⅚",IL="⅝",FL="⅞",$L="⁄",qL="⌢",zL="𝒻",BL="ℱ",NL="ǵ",UL="Γ",HL="γ",VL="Ϝ",GL="ϝ",KL="⪆",WL="Ğ",ZL="ğ",JL="Ģ",YL="Ĝ",QL="ĝ",XL="Г",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="⪤",MO="⪊",DO="⪊",LO="⪈",OO="≩",jO="⪈",RO="≩",PO="⋧",IO="𝔾",FO="𝕘",$O="`",qO="≥",zO="⋛",BO="≧",NO="⪢",UO="≷",HO="⩾",VO="≳",GO="𝒢",KO="ℊ",WO="≳",ZO="⪎",JO="⪐",YO="⪧",QO="⩺",XO=">",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="♥",Mj="♥",Dj="…",Lj="⊹",Oj="𝔥",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="Е",cR="е",uR="¡",dR="⇔",hR="𝔦",fR="ℑ",pR="Ì",gR="ì",mR="ⅈ",_R="⨌",yR="∭",bR="⧜",vR="℩",xR="IJ",wR="ij",kR="Ī",CR="ī",ER="ℑ",AR="ⅈ",SR="ℐ",TR="ℑ",MR="ı",DR="ℑ",LR="⊷",OR="Ƶ",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="𝕛",MP="𝒥",DP="𝒿",LP="Ј",OP="ј",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="⪭︀",MI="⤌",DI="⤎",LI="❲",OI="{",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="⊴",MF="⥑",DF="⥠",LF="⥘",OF="↿",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$="⎰",M$="⪉",D$="⪉",L$="⪇",O$="≨",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="Ł",Mq="ł",Dq="⪦",Lq="⩹",Oq="<",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="⊧",Mz="𝕄",Dz="𝕞",Lz="∓",Oz="𝓂",jz="ℳ",Rz="∾",Pz="Μ",Iz="μ",Fz="⊸",$z="⊸",qz="∇",zz="Ń",Bz="ń",Nz="∠⃒",Uz="≉",Hz="⩰̸",Vz="≋̸",Gz="ʼn",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="∄",MB="𝔑",DB="𝔫",LB="≧̸",OB="≱",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="∦",MN="∉",DN="≠",LN="≂̸",ON="∄",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="≁",MU="≄",DU="≇",LU="≉",OU="∤",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="≸",MH="⋪",DH="⋬",LH="⋫",OH="⋭",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="⦵",MV="Ω",DV="∮",LV="↺",OV="⦾",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="∥",MG="∥",DG="⫳",LG="⫽",OG="∂",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="≾",MK="⪯",DK="⪹",LK="⪵",OK="⋨",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="⟩",MW="»",DW="⥵",LW="⇥",OW="⤠",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="⥽",MZ="⌋",DZ="𝔯",LZ="ℜ",OZ="⥤",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="⦆",MJ="𝕣",DJ="ℝ",LJ="⨮",OJ="⨵",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="↘",MY="⇘",DY="↘",LY="§",OY=";",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="𝕊",MQ="𝕤",DQ="♠",LQ="♠",OQ="∥",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="⊆",MX="⫅",DX="⊆",LX="⊊",OX="⫋",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="⇙",Mee="↙",Dee="⤪",Lee="ß",Oee=" ",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="™",Mte="™",Dte="▵",Lte="▿",Ote="◃",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="▀",Mne="⌜",Dne="⌜",Lne="⌏",One="◸",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="Ü",Mse="ü",Dse="⦧",Lse="⦜",Ose="ϵ",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="𝒱",Moe="𝓋",Doe="⫋︀",Loe="⊊︀",Ooe="⫌︀",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="Я",Mre="я",Dre="Ŷ",Lre="ŷ",Ore="Ы",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="Ζ",oie="ζ",rie="𝔷",iie="ℨ",aie="Ж",lie="ж",cie="⇝",uie="𝕫",die="ℤ",hie="𝒵",fie="𝓏",pie="",gie="",mie={Aacute:X8,aacute:e9,Abreve:t9,abreve:n9,ac:s9,acd:o9,acE:r9,Acirc:i9,acirc:a9,acute:l9,Acy:c9,acy:u9,AElig:d9,aelig:h9,af:f9,Afr:p9,afr:g9,Agrave:m9,agrave:_9,alefsym:y9,aleph:b9,Alpha:v9,alpha:x9,Amacr:w9,amacr:k9,amalg:C9,amp:E9,AMP:A9,andand:S9,And:T9,and:M9,andd:D9,andslope:L9,andv:O9,ang:j9,ange:R9,angle:P9,angmsdaa:I9,angmsdab:F9,angmsdac:$9,angmsdad:q9,angmsdae:z9,angmsdaf:B9,angmsdag:N9,angmsdah:U9,angmsd:H9,angrt:V9,angrtvb:G9,angrtvbd:K9,angsph:W9,angst:Z9,angzarr:J9,Aogon:Y9,aogon:Q9,Aopf:X9,aopf:eC,apacir:tC,ap:nC,apE:sC,ape:oC,apid:rC,apos:iC,ApplyFunction:aC,approx:lC,approxeq:cC,Aring:uC,aring:dC,Ascr:hC,ascr:fC,Assign:pC,ast:gC,asymp:mC,asympeq:_C,Atilde:yC,atilde:bC,Auml:vC,auml:xC,awconint:wC,awint:kC,backcong:CC,backepsilon:EC,backprime:AC,backsim:SC,backsimeq:TC,Backslash:MC,Barv:DC,barvee:LC,barwed:OC,Barwed:jC,barwedge:RC,bbrk:PC,bbrktbrk:IC,bcong:FC,Bcy:$C,bcy:qC,bdquo:zC,becaus:BC,because:NC,Because:UC,bemptyv:HC,bepsi:VC,bernou:GC,Bernoullis:KC,Beta:WC,beta:ZC,beth:JC,between:YC,Bfr:QC,bfr:XC,bigcap:e6,bigcirc:t6,bigcup:n6,bigodot:s6,bigoplus:o6,bigotimes:r6,bigsqcup:i6,bigstar:a6,bigtriangledown:l6,bigtriangleup:c6,biguplus:u6,bigvee:d6,bigwedge:h6,bkarow:f6,blacklozenge:p6,blacksquare:g6,blacktriangle:m6,blacktriangledown:_6,blacktriangleleft:y6,blacktriangleright:b6,blank:v6,blk12:x6,blk14:w6,blk34:k6,block:C6,bne:E6,bnequiv:A6,bNot:S6,bnot:T6,Bopf:M6,bopf:D6,bot:L6,bottom:O6,bowtie:j6,boxbox:R6,boxdl:P6,boxdL:I6,boxDl:F6,boxDL:$6,boxdr:q6,boxdR:z6,boxDr:B6,boxDR:N6,boxh:U6,boxH:H6,boxhd:V6,boxHd:G6,boxhD:K6,boxHD:W6,boxhu:Z6,boxHu:J6,boxhU:Y6,boxHU:Q6,boxminus:X6,boxplus:eE,boxtimes:tE,boxul:nE,boxuL:sE,boxUl:oE,boxUL:rE,boxur:iE,boxuR:aE,boxUr:lE,boxUR:cE,boxv:uE,boxV:dE,boxvh:hE,boxvH:fE,boxVh:pE,boxVH:gE,boxvl:mE,boxvL:_E,boxVl:yE,boxVL:bE,boxvr:vE,boxvR:xE,boxVr:wE,boxVR:kE,bprime:CE,breve:EE,Breve:AE,brvbar:SE,bscr:TE,Bscr:ME,bsemi:DE,bsim:LE,bsime:OE,bsolb:jE,bsol:RE,bsolhsub:PE,bull:IE,bullet:FE,bump:$E,bumpE:qE,bumpe:zE,Bumpeq:BE,bumpeq:NE,Cacute:UE,cacute:HE,capand:VE,capbrcup:GE,capcap:KE,cap:WE,Cap:ZE,capcup:JE,capdot:YE,CapitalDifferentialD:QE,caps:XE,caret:e7,caron:t7,Cayleys:n7,ccaps:s7,Ccaron:o7,ccaron:r7,Ccedil:i7,ccedil:a7,Ccirc:l7,ccirc:c7,Cconint:u7,ccups:d7,ccupssm:h7,Cdot:f7,cdot:p7,cedil:g7,Cedilla:m7,cemptyv:_7,cent:y7,centerdot:b7,CenterDot:v7,cfr:x7,Cfr:w7,CHcy:k7,chcy:C7,check:E7,checkmark:A7,Chi:S7,chi:T7,circ:M7,circeq:D7,circlearrowleft:L7,circlearrowright:O7,circledast:j7,circledcirc:R7,circleddash:P7,CircleDot:I7,circledR:F7,circledS:$7,CircleMinus:q7,CirclePlus:z7,CircleTimes:B7,cir:N7,cirE:U7,cire:H7,cirfnint:V7,cirmid:G7,cirscir:K7,ClockwiseContourIntegral:W7,CloseCurlyDoubleQuote:Z7,CloseCurlyQuote:J7,clubs:Y7,clubsuit:Q7,colon:X7,Colon:eA,Colone:tA,colone:nA,coloneq:sA,comma:oA,commat:rA,comp:iA,compfn:aA,complement:lA,complexes:cA,cong:uA,congdot:dA,Congruent:hA,conint:fA,Conint:pA,ContourIntegral:gA,copf:mA,Copf:_A,coprod:yA,Coproduct:bA,copy:vA,COPY:xA,copysr:wA,CounterClockwiseContourIntegral:kA,crarr:CA,cross:EA,Cross:AA,Cscr:SA,cscr:TA,csub:MA,csube:DA,csup:LA,csupe:OA,ctdot:jA,cudarrl:RA,cudarrr:PA,cuepr:IA,cuesc:FA,cularr:$A,cularrp:qA,cupbrcap:zA,cupcap:BA,CupCap:NA,cup:UA,Cup:HA,cupcup:VA,cupdot:GA,cupor:KA,cups:WA,curarr:ZA,curarrm:JA,curlyeqprec:YA,curlyeqsucc:QA,curlyvee:XA,curlywedge:eS,curren:tS,curvearrowleft:nS,curvearrowright:sS,cuvee:oS,cuwed:rS,cwconint:iS,cwint:aS,cylcty:lS,dagger:cS,Dagger:uS,daleth:dS,darr:hS,Darr:fS,dArr:pS,dash:gS,Dashv:mS,dashv:_S,dbkarow:yS,dblac:bS,Dcaron:vS,dcaron:xS,Dcy:wS,dcy:kS,ddagger:CS,ddarr:ES,DD:AS,dd:SS,DDotrahd:TS,ddotseq:MS,deg:DS,Del:LS,Delta:OS,delta:jS,demptyv:RS,dfisht:PS,Dfr:IS,dfr:FS,dHar:$S,dharl:qS,dharr:zS,DiacriticalAcute:BS,DiacriticalDot:NS,DiacriticalDoubleAcute:US,DiacriticalGrave:HS,DiacriticalTilde:VS,diam:GS,diamond:KS,Diamond:WS,diamondsuit:ZS,diams:JS,die:YS,DifferentialD:QS,digamma:XS,disin:eT,div:tT,divide:nT,divideontimes:sT,divonx:oT,DJcy:rT,djcy:iT,dlcorn:aT,dlcrop:lT,dollar:cT,Dopf:uT,dopf:dT,Dot:hT,dot:fT,DotDot:pT,doteq:gT,doteqdot:mT,DotEqual:_T,dotminus:yT,dotplus:bT,dotsquare:vT,doublebarwedge:xT,DoubleContourIntegral:wT,DoubleDot:kT,DoubleDownArrow:CT,DoubleLeftArrow:ET,DoubleLeftRightArrow:AT,DoubleLeftTee:ST,DoubleLongLeftArrow:TT,DoubleLongLeftRightArrow:MT,DoubleLongRightArrow:DT,DoubleRightArrow:LT,DoubleRightTee:OT,DoubleUpArrow:jT,DoubleUpDownArrow:RT,DoubleVerticalBar:PT,DownArrowBar:IT,downarrow:FT,DownArrow:$T,Downarrow:qT,DownArrowUpArrow:zT,DownBreve:BT,downdownarrows:NT,downharpoonleft:UT,downharpoonright:HT,DownLeftRightVector:VT,DownLeftTeeVector:GT,DownLeftVectorBar:KT,DownLeftVector:WT,DownRightTeeVector:ZT,DownRightVectorBar:JT,DownRightVector:YT,DownTeeArrow:QT,DownTee:XT,drbkarow:eM,drcorn:tM,drcrop:nM,Dscr:sM,dscr:oM,DScy:rM,dscy:iM,dsol:aM,Dstrok:lM,dstrok:cM,dtdot:uM,dtri:dM,dtrif:hM,duarr:fM,duhar:pM,dwangle:gM,DZcy:mM,dzcy:_M,dzigrarr:yM,Eacute:bM,eacute:vM,easter:xM,Ecaron:wM,ecaron:kM,Ecirc:CM,ecirc:EM,ecir:AM,ecolon:SM,Ecy:TM,ecy:MM,eDDot:DM,Edot:LM,edot:OM,eDot:jM,ee:RM,efDot:PM,Efr:IM,efr:FM,eg:$M,Egrave:qM,egrave:zM,egs:BM,egsdot:NM,el:UM,Element:HM,elinters:VM,ell:GM,els:KM,elsdot:WM,Emacr:ZM,emacr:JM,empty:YM,emptyset:QM,EmptySmallSquare:XM,emptyv:eD,EmptyVerySmallSquare:tD,emsp13:nD,emsp14:sD,emsp:oD,ENG:rD,eng:iD,ensp:aD,Eogon:lD,eogon:cD,Eopf:uD,eopf:dD,epar:hD,eparsl:fD,eplus:pD,epsi:gD,Epsilon:mD,epsilon:_D,epsiv:yD,eqcirc:bD,eqcolon:vD,eqsim:xD,eqslantgtr:wD,eqslantless:kD,Equal:CD,equals:ED,EqualTilde:AD,equest:SD,Equilibrium:TD,equiv:MD,equivDD:DD,eqvparsl:LD,erarr:OD,erDot:jD,escr:RD,Escr:PD,esdot:ID,Esim:FD,esim:$D,Eta:qD,eta:zD,ETH:BD,eth:ND,Euml:UD,euml:HD,euro:VD,excl:GD,exist:KD,Exists:WD,expectation:ZD,exponentiale:JD,ExponentialE:YD,fallingdotseq:QD,Fcy:XD,fcy:eL,female:tL,ffilig:nL,fflig:sL,ffllig:oL,Ffr:rL,ffr:iL,filig:aL,FilledSmallSquare:lL,FilledVerySmallSquare:cL,fjlig:uL,flat:dL,fllig:hL,fltns:fL,fnof:pL,Fopf:gL,fopf:mL,forall:_L,ForAll:yL,fork:bL,forkv:vL,Fouriertrf:xL,fpartint:wL,frac12:kL,frac13:CL,frac14:EL,frac15:AL,frac16:SL,frac18:TL,frac23:ML,frac25:DL,frac34:LL,frac35:OL,frac38:jL,frac45:RL,frac56:PL,frac58:IL,frac78:FL,frasl:$L,frown:qL,fscr:zL,Fscr:BL,gacute:NL,Gamma:UL,gamma:HL,Gammad:VL,gammad:GL,gap:KL,Gbreve:WL,gbreve:ZL,Gcedil:JL,Gcirc:YL,gcirc:QL,Gcy:XL,gcy:eO,Gdot:tO,gdot:nO,ge:sO,gE:oO,gEl:rO,gel:iO,geq:aO,geqq:lO,geqslant:cO,gescc:uO,ges:dO,gesdot:hO,gesdoto:fO,gesdotol:pO,gesl:gO,gesles:mO,Gfr:_O,gfr:yO,gg:bO,Gg:vO,ggg:xO,gimel:wO,GJcy:kO,gjcy:CO,gla:EO,gl:AO,glE:SO,glj:TO,gnap:MO,gnapprox:DO,gne:LO,gnE:OO,gneq:jO,gneqq:RO,gnsim:PO,Gopf:IO,gopf:FO,grave:$O,GreaterEqual:qO,GreaterEqualLess:zO,GreaterFullEqual:BO,GreaterGreater:NO,GreaterLess:UO,GreaterSlantEqual:HO,GreaterTilde:VO,Gscr:GO,gscr:KO,gsim:WO,gsime:ZO,gsiml:JO,gtcc:YO,gtcir:QO,gt:XO,GT:ej,Gt:tj,gtdot:nj,gtlPar:sj,gtquest:oj,gtrapprox:rj,gtrarr:ij,gtrdot:aj,gtreqless:lj,gtreqqless:cj,gtrless:uj,gtrsim:dj,gvertneqq:hj,gvnE:fj,Hacek:pj,hairsp:gj,half:mj,hamilt:_j,HARDcy:yj,hardcy:bj,harrcir:vj,harr:xj,hArr:wj,harrw:kj,Hat:Cj,hbar:Ej,Hcirc:Aj,hcirc:Sj,hearts:Tj,heartsuit:Mj,hellip:Dj,hercon:Lj,hfr:Oj,Hfr:jj,HilbertSpace:Rj,hksearow:Pj,hkswarow:Ij,hoarr:Fj,homtht:$j,hookleftarrow:qj,hookrightarrow:zj,hopf:Bj,Hopf:Nj,horbar:Uj,HorizontalLine:Hj,hscr:Vj,Hscr:Gj,hslash:Kj,Hstrok:Wj,hstrok:Zj,HumpDownHump:Jj,HumpEqual:Yj,hybull:Qj,hyphen:Xj,Iacute:eR,iacute:tR,ic:nR,Icirc:sR,icirc:oR,Icy:rR,icy:iR,Idot:aR,IEcy:lR,iecy:cR,iexcl:uR,iff:dR,ifr:hR,Ifr:fR,Igrave:pR,igrave:gR,ii:mR,iiiint:_R,iiint:yR,iinfin:bR,iiota:vR,IJlig:xR,ijlig:wR,Imacr:kR,imacr:CR,image:ER,ImaginaryI:AR,imagline:SR,imagpart:TR,imath:MR,Im:DR,imof:LR,imped:OR,Implies:jR,incare:RR,in:"∈",infin:PR,infintie:IR,inodot:FR,intcal:$R,int:qR,Int:zR,integers:BR,Integral:NR,intercal:UR,Intersection:HR,intlarhk:VR,intprod:GR,InvisibleComma:KR,InvisibleTimes:WR,IOcy:ZR,iocy:JR,Iogon:YR,iogon:QR,Iopf:XR,iopf:eP,Iota:tP,iota:nP,iprod:sP,iquest:oP,iscr:rP,Iscr:iP,isin:aP,isindot:lP,isinE:cP,isins:uP,isinsv:dP,isinv:hP,it:fP,Itilde:pP,itilde:gP,Iukcy:mP,iukcy:_P,Iuml:yP,iuml:bP,Jcirc:vP,jcirc:xP,Jcy:wP,jcy:kP,Jfr:CP,jfr:EP,jmath:AP,Jopf:SP,jopf:TP,Jscr:MP,jscr:DP,Jsercy:LP,jsercy:OP,Jukcy:jP,jukcy:RP,Kappa:PP,kappa:IP,kappav:FP,Kcedil:$P,kcedil:qP,Kcy:zP,kcy:BP,Kfr:NP,kfr:UP,kgreen:HP,KHcy:VP,khcy:GP,KJcy:KP,kjcy:WP,Kopf:ZP,kopf:JP,Kscr:YP,kscr:QP,lAarr:XP,Lacute:eI,lacute:tI,laemptyv:nI,lagran:sI,Lambda:oI,lambda:rI,lang:iI,Lang:aI,langd:lI,langle:cI,lap:uI,Laplacetrf:dI,laquo:hI,larrb:fI,larrbfs:pI,larr:gI,Larr:mI,lArr:_I,larrfs:yI,larrhk:bI,larrlp:vI,larrpl:xI,larrsim:wI,larrtl:kI,latail:CI,lAtail:EI,lat:AI,late:SI,lates:TI,lbarr:MI,lBarr:DI,lbbrk:LI,lbrace:OI,lbrack:jI,lbrke:RI,lbrksld:PI,lbrkslu:II,Lcaron:FI,lcaron:$I,Lcedil:qI,lcedil:zI,lceil:BI,lcub:NI,Lcy:UI,lcy:HI,ldca:VI,ldquo:GI,ldquor:KI,ldrdhar:WI,ldrushar:ZI,ldsh:JI,le:YI,lE:QI,LeftAngleBracket:XI,LeftArrowBar:eF,leftarrow:tF,LeftArrow:nF,Leftarrow:sF,LeftArrowRightArrow:oF,leftarrowtail:rF,LeftCeiling:iF,LeftDoubleBracket:aF,LeftDownTeeVector:lF,LeftDownVectorBar:cF,LeftDownVector:uF,LeftFloor:dF,leftharpoondown:hF,leftharpoonup:fF,leftleftarrows:pF,leftrightarrow:gF,LeftRightArrow:mF,Leftrightarrow:_F,leftrightarrows:yF,leftrightharpoons:bF,leftrightsquigarrow:vF,LeftRightVector:xF,LeftTeeArrow:wF,LeftTee:kF,LeftTeeVector:CF,leftthreetimes:EF,LeftTriangleBar:AF,LeftTriangle:SF,LeftTriangleEqual:TF,LeftUpDownVector:MF,LeftUpTeeVector:DF,LeftUpVectorBar:LF,LeftUpVector:OF,LeftVectorBar:jF,LeftVector:RF,lEg:PF,leg:IF,leq:FF,leqq:$F,leqslant:qF,lescc:zF,les:BF,lesdot:NF,lesdoto:UF,lesdotor:HF,lesg:VF,lesges:GF,lessapprox:KF,lessdot:WF,lesseqgtr:ZF,lesseqqgtr:JF,LessEqualGreater:YF,LessFullEqual:QF,LessGreater:XF,lessgtr:e$,LessLess:t$,lesssim:n$,LessSlantEqual:s$,LessTilde:o$,lfisht:r$,lfloor:i$,Lfr:a$,lfr:l$,lg:c$,lgE:u$,lHar:d$,lhard:h$,lharu:f$,lharul:p$,lhblk:g$,LJcy:m$,ljcy:_$,llarr:y$,ll:b$,Ll:v$,llcorner:x$,Lleftarrow:w$,llhard:k$,lltri:C$,Lmidot:E$,lmidot:A$,lmoustache:S$,lmoust:T$,lnap:M$,lnapprox:D$,lne:L$,lnE:O$,lneq:j$,lneqq:R$,lnsim:P$,loang:I$,loarr:F$,lobrk:$$,longleftarrow:q$,LongLeftArrow:z$,Longleftarrow:B$,longleftrightarrow:N$,LongLeftRightArrow:U$,Longleftrightarrow:H$,longmapsto:V$,longrightarrow:G$,LongRightArrow:K$,Longrightarrow:W$,looparrowleft:Z$,looparrowright:J$,lopar:Y$,Lopf:Q$,lopf:X$,loplus:eq,lotimes:tq,lowast:nq,lowbar:sq,LowerLeftArrow:oq,LowerRightArrow:rq,loz:iq,lozenge:aq,lozf:lq,lpar:cq,lparlt:uq,lrarr:dq,lrcorner:hq,lrhar:fq,lrhard:pq,lrm:gq,lrtri:mq,lsaquo:_q,lscr:yq,Lscr:bq,lsh:vq,Lsh:xq,lsim:wq,lsime:kq,lsimg:Cq,lsqb:Eq,lsquo:Aq,lsquor:Sq,Lstrok:Tq,lstrok:Mq,ltcc:Dq,ltcir:Lq,lt:Oq,LT:jq,Lt:Rq,ltdot:Pq,lthree:Iq,ltimes:Fq,ltlarr:$q,ltquest:qq,ltri:zq,ltrie:Bq,ltrif:Nq,ltrPar:Uq,lurdshar:Hq,luruhar:Vq,lvertneqq:Gq,lvnE:Kq,macr:Wq,male:Zq,malt:Jq,maltese:Yq,Map:"⤅",map:Qq,mapsto:Xq,mapstodown:ez,mapstoleft:tz,mapstoup:nz,marker:sz,mcomma:oz,Mcy:rz,mcy:iz,mdash:az,mDDot:lz,measuredangle:cz,MediumSpace:uz,Mellintrf:dz,Mfr:hz,mfr:fz,mho:pz,micro:gz,midast:mz,midcir:_z,mid:yz,middot:bz,minusb:vz,minus:xz,minusd:wz,minusdu:kz,MinusPlus:Cz,mlcp:Ez,mldr:Az,mnplus:Sz,models:Tz,Mopf:Mz,mopf:Dz,mp:Lz,mscr:Oz,Mscr:jz,mstpos:Rz,Mu:Pz,mu:Iz,multimap:Fz,mumap:$z,nabla:qz,Nacute:zz,nacute:Bz,nang:Nz,nap:Uz,napE:Hz,napid:Vz,napos:Gz,napprox:Kz,natural:Wz,naturals:Zz,natur:Jz,nbsp:Yz,nbump:Qz,nbumpe:Xz,ncap:eB,Ncaron:tB,ncaron:nB,Ncedil:sB,ncedil:oB,ncong:rB,ncongdot:iB,ncup:aB,Ncy:lB,ncy:cB,ndash:uB,nearhk:dB,nearr:hB,neArr:fB,nearrow:pB,ne:gB,nedot:mB,NegativeMediumSpace:_B,NegativeThickSpace:yB,NegativeThinSpace:bB,NegativeVeryThinSpace:vB,nequiv:xB,nesear:wB,nesim:kB,NestedGreaterGreater:CB,NestedLessLess:EB,NewLine:AB,nexist:SB,nexists:TB,Nfr:MB,nfr:DB,ngE:LB,nge:OB,ngeq:jB,ngeqq:RB,ngeqslant:PB,nges:IB,nGg:FB,ngsim:$B,nGt:qB,ngt:zB,ngtr:BB,nGtv:NB,nharr:UB,nhArr:HB,nhpar:VB,ni:GB,nis:KB,nisd:WB,niv:ZB,NJcy:JB,njcy:YB,nlarr:QB,nlArr:XB,nldr:eN,nlE:tN,nle:nN,nleftarrow:sN,nLeftarrow:oN,nleftrightarrow:rN,nLeftrightarrow:iN,nleq:aN,nleqq:lN,nleqslant:cN,nles:uN,nless:dN,nLl:hN,nlsim:fN,nLt:pN,nlt:gN,nltri:mN,nltrie:_N,nLtv:yN,nmid:bN,NoBreak:vN,NonBreakingSpace:xN,nopf:wN,Nopf:kN,Not:CN,not:EN,NotCongruent:AN,NotCupCap:SN,NotDoubleVerticalBar:TN,NotElement:MN,NotEqual:DN,NotEqualTilde:LN,NotExists:ON,NotGreater:jN,NotGreaterEqual:RN,NotGreaterFullEqual:PN,NotGreaterGreater:IN,NotGreaterLess:FN,NotGreaterSlantEqual:$N,NotGreaterTilde:qN,NotHumpDownHump:zN,NotHumpEqual:BN,notin:NN,notindot:UN,notinE:HN,notinva:VN,notinvb:GN,notinvc:KN,NotLeftTriangleBar:WN,NotLeftTriangle:ZN,NotLeftTriangleEqual:JN,NotLess:YN,NotLessEqual:QN,NotLessGreater:XN,NotLessLess:eU,NotLessSlantEqual:tU,NotLessTilde:nU,NotNestedGreaterGreater:sU,NotNestedLessLess:oU,notni:rU,notniva:iU,notnivb:aU,notnivc:lU,NotPrecedes:cU,NotPrecedesEqual:uU,NotPrecedesSlantEqual:dU,NotReverseElement:hU,NotRightTriangleBar:fU,NotRightTriangle:pU,NotRightTriangleEqual:gU,NotSquareSubset:mU,NotSquareSubsetEqual:_U,NotSquareSuperset:yU,NotSquareSupersetEqual:bU,NotSubset:vU,NotSubsetEqual:xU,NotSucceeds:wU,NotSucceedsEqual:kU,NotSucceedsSlantEqual:CU,NotSucceedsTilde:EU,NotSuperset:AU,NotSupersetEqual:SU,NotTilde:TU,NotTildeEqual:MU,NotTildeFullEqual:DU,NotTildeTilde:LU,NotVerticalBar:OU,nparallel:jU,npar:RU,nparsl:PU,npart:IU,npolint:FU,npr:$U,nprcue:qU,nprec:zU,npreceq:BU,npre:NU,nrarrc:UU,nrarr:HU,nrArr:VU,nrarrw:GU,nrightarrow:KU,nRightarrow:WU,nrtri:ZU,nrtrie:JU,nsc:YU,nsccue:QU,nsce:XU,Nscr:eH,nscr:tH,nshortmid:nH,nshortparallel:sH,nsim:oH,nsime:rH,nsimeq:iH,nsmid:aH,nspar:lH,nsqsube:cH,nsqsupe:uH,nsub:dH,nsubE:hH,nsube:fH,nsubset:pH,nsubseteq:gH,nsubseteqq:mH,nsucc:_H,nsucceq:yH,nsup:bH,nsupE:vH,nsupe:xH,nsupset:wH,nsupseteq:kH,nsupseteqq:CH,ntgl:EH,Ntilde:AH,ntilde:SH,ntlg:TH,ntriangleleft:MH,ntrianglelefteq:DH,ntriangleright:LH,ntrianglerighteq:OH,Nu:jH,nu:RH,num:PH,numero:IH,numsp:FH,nvap:$H,nvdash:qH,nvDash:zH,nVdash:BH,nVDash:NH,nvge:UH,nvgt:HH,nvHarr:VH,nvinfin:GH,nvlArr:KH,nvle:WH,nvlt:ZH,nvltrie:JH,nvrArr:YH,nvrtrie:QH,nvsim:XH,nwarhk:eV,nwarr:tV,nwArr:nV,nwarrow:sV,nwnear:oV,Oacute:rV,oacute:iV,oast:aV,Ocirc:lV,ocirc:cV,ocir:uV,Ocy:dV,ocy:hV,odash:fV,Odblac:pV,odblac:gV,odiv:mV,odot:_V,odsold:yV,OElig:bV,oelig:vV,ofcir:xV,Ofr:wV,ofr:kV,ogon:CV,Ograve:EV,ograve:AV,ogt:SV,ohbar:TV,ohm:MV,oint:DV,olarr:LV,olcir:OV,olcross:jV,oline:RV,olt:PV,Omacr:IV,omacr:FV,Omega:$V,omega:qV,Omicron:zV,omicron:BV,omid:NV,ominus:UV,Oopf:HV,oopf:VV,opar:GV,OpenCurlyDoubleQuote:KV,OpenCurlyQuote:WV,operp:ZV,oplus:JV,orarr:YV,Or:QV,or:XV,ord:eG,order:tG,orderof:nG,ordf:sG,ordm:oG,origof:rG,oror:iG,orslope:aG,orv:lG,oS:cG,Oscr:uG,oscr:dG,Oslash:hG,oslash:fG,osol:pG,Otilde:gG,otilde:mG,otimesas:_G,Otimes:yG,otimes:bG,Ouml:vG,ouml:xG,ovbar:wG,OverBar:kG,OverBrace:CG,OverBracket:EG,OverParenthesis:AG,para:SG,parallel:TG,par:MG,parsim:DG,parsl:LG,part:OG,PartialD:jG,Pcy:RG,pcy:PG,percnt:IG,period:FG,permil:$G,perp:qG,pertenk:zG,Pfr:BG,pfr:NG,Phi:UG,phi:HG,phiv:VG,phmmat:GG,phone:KG,Pi:WG,pi:ZG,pitchfork:JG,piv:YG,planck:QG,planckh:XG,plankv:eK,plusacir:tK,plusb:nK,pluscir:sK,plus:oK,plusdo:rK,plusdu:iK,pluse:aK,PlusMinus:lK,plusmn:cK,plussim:uK,plustwo:dK,pm:hK,Poincareplane:fK,pointint:pK,popf:gK,Popf:mK,pound:_K,prap:yK,Pr:bK,pr:vK,prcue:xK,precapprox:wK,prec:kK,preccurlyeq:CK,Precedes:EK,PrecedesEqual:AK,PrecedesSlantEqual:SK,PrecedesTilde:TK,preceq:MK,precnapprox:DK,precneqq:LK,precnsim:OK,pre:jK,prE:RK,precsim:PK,prime:IK,Prime:FK,primes:$K,prnap:qK,prnE:zK,prnsim:BK,prod:NK,Product:UK,profalar:HK,profline:VK,profsurf:GK,prop:KK,Proportional:WK,Proportion:ZK,propto:JK,prsim:YK,prurel:QK,Pscr:XK,pscr:eW,Psi:tW,psi:nW,puncsp:sW,Qfr:oW,qfr:rW,qint:iW,qopf:aW,Qopf:lW,qprime:cW,Qscr:uW,qscr:dW,quaternions:hW,quatint:fW,quest:pW,questeq:gW,quot:mW,QUOT:_W,rAarr:yW,race:bW,Racute:vW,racute:xW,radic:wW,raemptyv:kW,rang:CW,Rang:EW,rangd:AW,range:SW,rangle:TW,raquo:MW,rarrap:DW,rarrb:LW,rarrbfs:OW,rarrc:jW,rarr:RW,Rarr:PW,rArr:IW,rarrfs:FW,rarrhk:$W,rarrlp:qW,rarrpl:zW,rarrsim:BW,Rarrtl:NW,rarrtl:UW,rarrw:HW,ratail:VW,rAtail:GW,ratio:KW,rationals:WW,rbarr:ZW,rBarr:JW,RBarr:YW,rbbrk:QW,rbrace:XW,rbrack:eZ,rbrke:tZ,rbrksld:nZ,rbrkslu:sZ,Rcaron:oZ,rcaron:rZ,Rcedil:iZ,rcedil:aZ,rceil:lZ,rcub:cZ,Rcy:uZ,rcy:dZ,rdca:hZ,rdldhar:fZ,rdquo:pZ,rdquor:gZ,rdsh:mZ,real:_Z,realine:yZ,realpart:bZ,reals:vZ,Re:xZ,rect:wZ,reg:kZ,REG:CZ,ReverseElement:EZ,ReverseEquilibrium:AZ,ReverseUpEquilibrium:SZ,rfisht:TZ,rfloor:MZ,rfr:DZ,Rfr:LZ,rHar:OZ,rhard:jZ,rharu:RZ,rharul:PZ,Rho:IZ,rho:FZ,rhov:$Z,RightAngleBracket:qZ,RightArrowBar:zZ,rightarrow:BZ,RightArrow:NZ,Rightarrow:UZ,RightArrowLeftArrow:HZ,rightarrowtail:VZ,RightCeiling:GZ,RightDoubleBracket:KZ,RightDownTeeVector:WZ,RightDownVectorBar:ZZ,RightDownVector:JZ,RightFloor:YZ,rightharpoondown:QZ,rightharpoonup:XZ,rightleftarrows:eJ,rightleftharpoons:tJ,rightrightarrows:nJ,rightsquigarrow:sJ,RightTeeArrow:oJ,RightTee:rJ,RightTeeVector:iJ,rightthreetimes:aJ,RightTriangleBar:lJ,RightTriangle:cJ,RightTriangleEqual:uJ,RightUpDownVector:dJ,RightUpTeeVector:hJ,RightUpVectorBar:fJ,RightUpVector:pJ,RightVectorBar:gJ,RightVector:mJ,ring:_J,risingdotseq:yJ,rlarr:bJ,rlhar:vJ,rlm:xJ,rmoustache:wJ,rmoust:kJ,rnmid:CJ,roang:EJ,roarr:AJ,robrk:SJ,ropar:TJ,ropf:MJ,Ropf:DJ,roplus:LJ,rotimes:OJ,RoundImplies:jJ,rpar:RJ,rpargt:PJ,rppolint:IJ,rrarr:FJ,Rrightarrow:$J,rsaquo:qJ,rscr:zJ,Rscr:BJ,rsh:NJ,Rsh:UJ,rsqb:HJ,rsquo:VJ,rsquor:GJ,rthree:KJ,rtimes:WJ,rtri:ZJ,rtrie:JJ,rtrif:YJ,rtriltri:QJ,RuleDelayed:XJ,ruluhar:eY,rx:tY,Sacute:nY,sacute:sY,sbquo:oY,scap:rY,Scaron:iY,scaron:aY,Sc:lY,sc:cY,sccue:uY,sce:dY,scE:hY,Scedil:fY,scedil:pY,Scirc:gY,scirc:mY,scnap:_Y,scnE:yY,scnsim:bY,scpolint:vY,scsim:xY,Scy:wY,scy:kY,sdotb:CY,sdot:EY,sdote:AY,searhk:SY,searr:TY,seArr:MY,searrow:DY,sect:LY,semi:OY,seswar:jY,setminus:RY,setmn:PY,sext:IY,Sfr:FY,sfr:$Y,sfrown:qY,sharp:zY,SHCHcy:BY,shchcy:NY,SHcy:UY,shcy:HY,ShortDownArrow:VY,ShortLeftArrow:GY,shortmid:KY,shortparallel:WY,ShortRightArrow:ZY,ShortUpArrow:JY,shy:YY,Sigma:QY,sigma:XY,sigmaf:eQ,sigmav:tQ,sim:nQ,simdot:sQ,sime:oQ,simeq:rQ,simg:iQ,simgE:aQ,siml:lQ,simlE:cQ,simne:uQ,simplus:dQ,simrarr:hQ,slarr:fQ,SmallCircle:pQ,smallsetminus:gQ,smashp:mQ,smeparsl:_Q,smid:yQ,smile:bQ,smt:vQ,smte:xQ,smtes:wQ,SOFTcy:kQ,softcy:CQ,solbar:EQ,solb:AQ,sol:SQ,Sopf:TQ,sopf:MQ,spades:DQ,spadesuit:LQ,spar:OQ,sqcap:jQ,sqcaps:RQ,sqcup:PQ,sqcups:IQ,Sqrt:FQ,sqsub:$Q,sqsube:qQ,sqsubset:zQ,sqsubseteq:BQ,sqsup:NQ,sqsupe:UQ,sqsupset:HQ,sqsupseteq:VQ,square:GQ,Square:KQ,SquareIntersection:WQ,SquareSubset:ZQ,SquareSubsetEqual:JQ,SquareSuperset:YQ,SquareSupersetEqual:QQ,SquareUnion:XQ,squarf:eX,squ:tX,squf:nX,srarr:sX,Sscr:oX,sscr:rX,ssetmn:iX,ssmile:aX,sstarf:lX,Star:cX,star:uX,starf:dX,straightepsilon:hX,straightphi:fX,strns:pX,sub:gX,Sub:mX,subdot:_X,subE:yX,sube:bX,subedot:vX,submult:xX,subnE:wX,subne:kX,subplus:CX,subrarr:EX,subset:AX,Subset:SX,subseteq:TX,subseteqq:MX,SubsetEqual:DX,subsetneq:LX,subsetneqq:OX,subsim:jX,subsub:RX,subsup:PX,succapprox:IX,succ:FX,succcurlyeq:$X,Succeeds:qX,SucceedsEqual:zX,SucceedsSlantEqual:BX,SucceedsTilde:NX,succeq:UX,succnapprox:HX,succneqq:VX,succnsim:GX,succsim:KX,SuchThat:WX,sum:ZX,Sum:JX,sung:YX,sup1:QX,sup2:XX,sup3:eee,sup:tee,Sup:nee,supdot:see,supdsub:oee,supE:ree,supe:iee,supedot:aee,Superset:lee,SupersetEqual:cee,suphsol:uee,suphsub:dee,suplarr:hee,supmult:fee,supnE:pee,supne:gee,supplus:mee,supset:_ee,Supset:yee,supseteq:bee,supseteqq:vee,supsetneq:xee,supsetneqq:wee,supsim:kee,supsub:Cee,supsup:Eee,swarhk:Aee,swarr:See,swArr:Tee,swarrow:Mee,swnwar:Dee,szlig:Lee,Tab:Oee,target:jee,Tau:Ree,tau:Pee,tbrk:Iee,Tcaron:Fee,tcaron:$ee,Tcedil:qee,tcedil:zee,Tcy:Bee,tcy:Nee,tdot:Uee,telrec:Hee,Tfr:Vee,tfr:Gee,there4:Kee,therefore:Wee,Therefore:Zee,Theta:Jee,theta:Yee,thetasym:Qee,thetav:Xee,thickapprox:ete,thicksim:tte,ThickSpace:nte,ThinSpace:ste,thinsp:ote,thkap:rte,thksim:ite,THORN:ate,thorn:lte,tilde:cte,Tilde:ute,TildeEqual:dte,TildeFullEqual:hte,TildeTilde:fte,timesbar:pte,timesb:gte,times:mte,timesd:_te,tint:yte,toea:bte,topbot:vte,topcir:xte,top:wte,Topf:kte,topf:Cte,topfork:Ete,tosa:Ate,tprime:Ste,trade:Tte,TRADE:Mte,triangle:Dte,triangledown:Lte,triangleleft:Ote,trianglelefteq:jte,triangleq:Rte,triangleright:Pte,trianglerighteq:Ite,tridot:Fte,trie:$te,triminus:qte,TripleDot:zte,triplus:Bte,trisb:Nte,tritime:Ute,trpezium:Hte,Tscr:Vte,tscr:Gte,TScy:Kte,tscy:Wte,TSHcy:Zte,tshcy:Jte,Tstrok:Yte,tstrok:Qte,twixt:Xte,twoheadleftarrow:ene,twoheadrightarrow:tne,Uacute:nne,uacute:sne,uarr:one,Uarr:rne,uArr:ine,Uarrocir:ane,Ubrcy:lne,ubrcy:cne,Ubreve:une,ubreve:dne,Ucirc:hne,ucirc:fne,Ucy:pne,ucy:gne,udarr:mne,Udblac:_ne,udblac:yne,udhar:bne,ufisht:vne,Ufr:xne,ufr:wne,Ugrave:kne,ugrave:Cne,uHar:Ene,uharl:Ane,uharr:Sne,uhblk:Tne,ulcorn:Mne,ulcorner:Dne,ulcrop:Lne,ultri:One,Umacr:jne,umacr:Rne,uml:Pne,UnderBar:Ine,UnderBrace:Fne,UnderBracket:$ne,UnderParenthesis:qne,Union:zne,UnionPlus:Bne,Uogon:Nne,uogon:Une,Uopf:Hne,uopf:Vne,UpArrowBar:Gne,uparrow:Kne,UpArrow:Wne,Uparrow:Zne,UpArrowDownArrow:Jne,updownarrow:Yne,UpDownArrow:Qne,Updownarrow:Xne,UpEquilibrium:ese,upharpoonleft:tse,upharpoonright:nse,uplus:sse,UpperLeftArrow:ose,UpperRightArrow:rse,upsi:ise,Upsi:ase,upsih:lse,Upsilon:cse,upsilon:use,UpTeeArrow:dse,UpTee:hse,upuparrows:fse,urcorn:pse,urcorner:gse,urcrop:mse,Uring:_se,uring:yse,urtri:bse,Uscr:vse,uscr:xse,utdot:wse,Utilde:kse,utilde:Cse,utri:Ese,utrif:Ase,uuarr:Sse,Uuml:Tse,uuml:Mse,uwangle:Dse,vangrt:Lse,varepsilon:Ose,varkappa:jse,varnothing:Rse,varphi:Pse,varpi:Ise,varpropto:Fse,varr:$se,vArr:qse,varrho:zse,varsigma:Bse,varsubsetneq:Nse,varsubsetneqq:Use,varsupsetneq:Hse,varsupsetneqq:Vse,vartheta:Gse,vartriangleleft:Kse,vartriangleright:Wse,vBar:Zse,Vbar:Jse,vBarv:Yse,Vcy:Qse,vcy:Xse,vdash:eoe,vDash:toe,Vdash:noe,VDash:soe,Vdashl:ooe,veebar:roe,vee:ioe,Vee:aoe,veeeq:loe,vellip:coe,verbar:uoe,Verbar:doe,vert:hoe,Vert:foe,VerticalBar:poe,VerticalLine:goe,VerticalSeparator:moe,VerticalTilde:_oe,VeryThinSpace:yoe,Vfr:boe,vfr:voe,vltri:xoe,vnsub:woe,vnsup:koe,Vopf:Coe,vopf:Eoe,vprop:Aoe,vrtri:Soe,Vscr:Toe,vscr:Moe,vsubnE:Doe,vsubne:Loe,vsupnE:Ooe,vsupne:joe,Vvdash:Roe,vzigzag:Poe,Wcirc:Ioe,wcirc:Foe,wedbar:$oe,wedge:qoe,Wedge:zoe,wedgeq:Boe,weierp:Noe,Wfr:Uoe,wfr:Hoe,Wopf:Voe,wopf:Goe,wp:Koe,wr:Woe,wreath:Zoe,Wscr:Joe,wscr:Yoe,xcap:Qoe,xcirc:Xoe,xcup:ere,xdtri:tre,Xfr:nre,xfr:sre,xharr:ore,xhArr:rre,Xi:ire,xi:are,xlarr:lre,xlArr:cre,xmap:ure,xnis:dre,xodot:hre,Xopf:fre,xopf:pre,xoplus:gre,xotime:mre,xrarr:_re,xrArr:yre,Xscr:bre,xscr:vre,xsqcup:xre,xuplus:wre,xutri:kre,xvee:Cre,xwedge:Ere,Yacute:Are,yacute:Sre,YAcy:Tre,yacy:Mre,Ycirc:Dre,ycirc:Lre,Ycy:Ore,ycy:jre,yen:Rre,Yfr:Pre,yfr:Ire,YIcy:Fre,yicy:$re,Yopf:qre,yopf:zre,Yscr:Bre,yscr:Nre,YUcy:Ure,yucy:Hre,yuml:Vre,Yuml:Gre,Zacute:Kre,zacute:Wre,Zcaron:Zre,zcaron:Jre,Zcy:Yre,zcy:Qre,Zdot:Xre,zdot:eie,zeetrf:tie,ZeroWidthSpace:nie,Zeta:sie,zeta:oie,zfr:rie,Zfr:iie,ZHcy:aie,zhcy:lie,zigrarr:cie,zopf:uie,Zopf:die,Zscr:hie,zscr:fie,zwj:pie,zwnj:gie};var _f=mie,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 _ie(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 Zr(t,e,n){var s,o,r,i,a,l="";for(typeof e!="string"&&(n=e,e=Zr.defaultChars),typeof n>"u"&&(n=!0),a=_ie(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}Zr.defaultChars=";/?:@&=+$,-_.!~*'()#";Zr.componentChars="-_.!~*'()";var yie=Zr,Zc={};function bie(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 Jr(t,e){var n;return typeof e!="string"&&(e=Jr.defaultChars),n=bie(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})}Jr.defaultChars=";/?:@&=+$,#";Jr.componentChars="";var vie=Jr,xie=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 wie=/^([a-z0-9.+-]+:)/i,kie=/:[0-9]*$/,Cie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Eie=["<",">",'"',"`"," ","\r",`
|
||
`," "],Aie=["{","}","|","\\","^","`"].concat(Eie),Sie=["'"].concat(Aie),Jc=["%","/","?",";","#"].concat(Sie),Yc=["/","?","#"],Tie=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 Die(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=Cie.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=wie.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 g=a.slice(0,u);a=a.slice(u),this.parseHost(g),this.hostname=this.hostname||"";var p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){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),M=w.match(Mie);M&&(E.push(M[1]),$.unshift(M[2])),$.length&&(a=$.join(".")+a),this.hostname=E.join(".");break}}}}this.hostname.length>Tie&&(this.hostname=""),p&&(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=kie.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 Lie=Die;Is.encode=yie;Is.decode=vie;Is.format=xie;Is.parse=Lie;var jn={},Ci,tu;function yf(){return tu||(tu=1,Ci=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Ci}var Ei,nu;function bf(){return nu||(nu=1,Ei=/[\0-\x1F\x7F-\x9F]/),Ei}var Ai,su;function Oie(){return su||(su=1,Ai=/[\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]/),Ai}var Si,ou;function vf(){return ou||(ou=1,Si=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Si}var ru;function jie(){return ru||(ru=1,jn.Any=yf(),jn.Cc=bf(),jn.Cf=Oie(),jn.P=ol,jn.Z=vf()),jn}(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(X){if(X){if(typeof X!="object")throw new TypeError(X+"must be object");Object.keys(X).forEach(function(A){I[A]=X[A]})}}),I}function i(I,he,X){return[].concat(I.slice(0,he),X,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),X=56320+(I&1023);return String.fromCharCode(he,X)}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,g=_f;function p(I,he){var X=0;return o(g,he)?g[he]:he.charCodeAt(0)===35&&f.test(he)&&(X=he[1].toLowerCase()==="x"?parseInt(he.slice(2),16):parseInt(he.slice(1),10),a(X))?l(X):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,X,A){return X||p(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 M=/[.?*+^$[\]\\(){}|-]/g;function q(I){return I.replace(M,"\\$&")}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 Q(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=jie(),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=Q})(Fe);var Yr={},Rie=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,Pie=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},Iie=Fe.unescapeAll,Fie=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=Iie(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};Yr.parseLinkLabel=Rie;Yr.parseLinkDestination=Pie;Yr.parseLinkTitle=Fie;var $ie=Fe.assign,qie=Fe.unescapeAll,Wn=Fe.escapeHtml,Gt={};Gt.code_inline=function(t,e,n,s,o){var r=t[e];return"<code"+o.renderAttrs(r)+">"+Wn(t[e].content)+"</code>"};Gt.code_block=function(t,e,n,s,o){var r=t[e];return"<pre"+o.renderAttrs(r)+"><code>"+Wn(t[e].content)+`</code></pre>
|
||
`};Gt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?qie(r.info).trim():"",a="",l="",c,u,h,f,g;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),g={attrs:f},"<pre><code"+o.renderAttrs(g)+">"+c+`</code></pre>
|
||
`):"<pre><code"+o.renderAttrs(r)+">"+c+`</code></pre>
|
||
`};Gt.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)};Gt.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`};Gt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`};Gt.text=function(t,e){return Wn(t[e].content)};Gt.html_block=function(t,e){return t[e].content};Gt.html_inline=function(t,e){return t[e].content};function Fs(){this.rules=$ie({},Gt)}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 zie=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,Bie=/\r\n?|\n/g,Nie=/\0/g,Uie=function(e){var n;n=e.src.replace(Bie,`
|
||
`),n=n.replace(Nie,"<22>"),e.src=n},Hie=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)},Vie=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)},Gie=Fe.arrayReplaceAt;function Kie(t){return/^<a[>\s]/i.test(t)}function Wie(t){return/^<\/a\s*>/i.test(t)}var Zie=function(e){var n,s,o,r,i,a,l,c,u,h,f,g,p,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,p=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"&&(Kie(a.content)&&p>0&&p--,Wie(a.content)&&p++),!(p>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=a.level,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=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",w]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=v,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",l.push(i),f=x[c].lastIndex);f<u.length&&(i=new e.Token("text","",0),i.content=u.slice(f),i.level=g,l.push(i)),y[s].children=r=Gie(r,n,l)}}}},xf=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Jie=/\((c|tm|r)\)/i,Yie=/\((c|tm|r)\)/ig,Qie={c:"©",r:"®",tm:"™"};function Xie(t,e){return Qie[e.toLowerCase()]}function eae(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(Yie,Xie)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function tae(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 nae=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Jie.test(e.tokens[n].content)&&eae(e.tokens[n].children),xf.test(e.tokens[n].content)&&tae(e.tokens[n].children))},au=Fe.isWhiteSpace,lu=Fe.isPunctChar,cu=Fe.isMdAsciiPunct,sae=/['"]/,uu=/['"]/g,du="’";function Fo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function oae(t,e){var n,s,o,r,i,a,l,c,u,h,f,g,p,m,w,v,y,x,E,$,M;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)),g=cu(h)||lu(String.fromCharCode(h)),p=au(u),m=au(h),m?w=!1:g&&(p||f||(w=!1)),p?v=!1:f&&(m||g||(v=!1)),h===34&&r[0]==='"'&&u>=48&&u<=57&&(v=w=!1),w&&v&&(w=f,v=g),!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],M=e.md.options.quotes[3]):($=e.md.options.quotes[0],M=e.md.options.quotes[1]),s.content=Fo(s.content,r.index,M),t[c.token].content=Fo(t[c.token].content,c.pos,$),i+=M.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 rae=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!sae.test(e.tokens[n].content)||oae(e.tokens[n].children,e)},iae=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,aae=il;function wf(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}wf.prototype.Token=aae;var lae=wf,cae=rl,Ti=[["normalize",Uie],["block",Hie],["inline",Vie],["linkify",Zie],["replacements",nae],["smartquotes",rae],["text_join",iae]];function al(){this.ruler=new cae;for(var t=0;t<Ti.length;t++)this.ruler.push(Ti[t][0],Ti[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=lae;var uae=al,Mi=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 dae=function(e,n,s,o){var r,i,a,l,c,u,h,f,g,p,m,w,v,y,x,E,$,M;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]||(M=e.src.charCodeAt(a++),M!==124&&M!==45&&M!==58&&!Mi(M))||$===45&&Mi(M))return!1;for(;a<e.eMarks[u];){if(r=e.src.charCodeAt(a),r!==124&&r!==45&&r!==58&&!Mi(r))return!1;a++}for(i=Di(e,n+1),h=i.split("|"),p=[],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?p.push(m.charCodeAt(0)===58?"center":"right"):m.charCodeAt(0)===58?p.push("left"):p.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!==p.length))return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",E=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=w=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l<h.length;l++)g=e.push("th_open","th",1),p[l]&&(g.attrs=[["style","text-align:"+p[l]]]),g=e.push("inline","",0),g.content=h[l].trim(),g.children=[],g=e.push("th_close","th",-1);for(g=e.push("tr_close","tr",-1),g=e.push("thead_close","thead",-1),u=n+2;u<s&&!(e.sCount[u]<e.blkIndent);u++){for(x=!1,l=0,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&&(g=e.push("tbody_open","tbody",1),g.map=v=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[u,u+1],l=0;l<f;l++)g=e.push("td_open","td",1),p[l]&&(g.attrs=[["style","text-align:"+p[l]]]),g=e.push("inline","",0),g.content=h[l]?h[l].trim():"",g.children=[],g=e.push("td_close","td",-1);g=e.push("tr_close","tr",-1)}return v&&(g=e.push("tbody_close","tbody",-1),v[1]=u),g=e.push("table_close","table",-1),w[1]=u,e.parentType=y,e.line=u,!0},hae=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},fae=function(e,n,s,o){var r,i,a,l,c,u,h,f=!1,g=e.bMarks[n]+e.tShift[n],p=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>p||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(h=e.src.slice(c,g),a=e.src.slice(g,p),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=c=e.bMarks[l]+e.tShift[l],p=e.eMarks[l],g<p&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(g)===r&&!(e.sCount[l]-e.blkIndent>=4)&&(g=e.skipChars(g,r),!(g-c<i)&&(g=e.skipSpaces(g),!(g<p)))){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,pae=function(e,n,s,o){var r,i,a,l,c,u,h,f,g,p,m,w,v,y,x,E,$,M,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=g=e.sCount[n]+1,e.src.charCodeAt(S)===32?(S++,l++,g++,r=!1,E=!0):e.src.charCodeAt(S)===9?(E=!0,(e.bsCount[n]+g)%4===3?(S++,l++,g++,r=!1):r=!0):E=!1,p=[e.bMarks[n]],e.bMarks[n]=S;S<z&&(i=e.src.charCodeAt(S),fu(i));){i===9?g+=4-(g+e.bsCount[n]+(r?1:0))%4:g++;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]=g-l,x=[e.tShift[n]],e.tShift[n]=S-e.bMarks[n],M=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=g=e.sCount[f]+1,e.src.charCodeAt(S)===32?(S++,l++,g++,r=!1,E=!0):e.src.charCodeAt(S)===9?(E=!0,(e.bsCount[f]+g)%4===3?(S++,l++,g++,r=!1):r=!0):E=!1,p.push(e.bMarks[f]),e.bMarks[f]=S;S<z&&(i=e.src.charCodeAt(S),fu(i));){i===9?g+=4-(g+e.bsCount[f]+(r?1:0))%4:g++;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]=g-l,x.push(e.tShift[f]),e.tShift[f]=S-e.bMarks[f];continue}if(u)break;for($=!1,a=0,c=M.length;a<c;a++)if(M[a](e,f,s,!0)){$=!0;break}if($){e.lineMax=f,e.blkIndent!==0&&(p.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}p.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]=p[a],e.tShift[a+n]=x[a],e.sCount[a+n]=y[a],e.bsCount[a+n]=m[a];return e.blkIndent=w,!0},gae=Fe.isSpace,mae=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&&!gae(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 _ae(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 yae=function(e,n,s,o){var r,i,a,l,c,u,h,f,g,p,m,w,v,y,x,E,$,M,q,b,k,S,z,F,Q,I,he,X,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,Q=e.bMarks[n]+e.tShift[n],v=Number(e.src.slice(Q,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?(X=e.push("ordered_list_open","ol",1),v!==1&&(X.attrs=[["start",v]])):X=e.push("bullet_list_open","ul",1),X.map=p=[n,0],X.markup=String.fromCharCode(w),x=n,F=!1,he=e.md.block.ruler.getRules("list"),M=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,X=e.push("list_item_open","li",1),X.markup=String.fromCharCode(w),X.map=f=[n,0],h&&(X.info=e.src.slice(Q,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,X=e.push("list_item_close","li",-1),X.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,g=he.length;a<g;a++)if(he[a](e,x,s,!0)){I=!0;break}if(I)break;if(h){if(z=gu(e,x),z<0)break;Q=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?X=e.push("ordered_list_close","ol",-1):X=e.push("bullet_list_close","ul",-1),X.markup=String.fromCharCode(w),p[1]=x,e.line=x,e.parentType=M,N&&_ae(e,m),!0},bae=Fe.normalizeReference,$o=Fe.isSpace,vae=function(e,n,s,o){var r,i,a,l,c,u,h,f,g,p,m,w,v,y,x,E,$=0,M=e.bMarks[n]+e.tShift[n],q=e.eMarks[n],b=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(M)!==91)return!1;for(;++M<q;)if(e.src.charCodeAt(M)===93&&e.src.charCodeAt(M-1)!==92){if(M+1===q||e.src.charCodeAt(M+1)!==58)return!1;break}for(l=e.lineMax,x=e.md.block.ruler.getRules("reference"),p=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,M=1;M<q;M++){if(r=v.charCodeAt(M),r===91)return!1;if(r===93){g=M;break}else r===10?$++:r===92&&(M++,M<q&&v.charCodeAt(M)===10&&$++)}if(g<0||v.charCodeAt(g+1)!==58)return!1;for(M=g+2;M<q;M++)if(r=v.charCodeAt(M),r===10)$++;else if(!$o(r))break;if(m=e.md.helpers.parseLinkDestination(v,M,q),!m.ok||(c=e.md.normalizeLink(m.str),!e.md.validateLink(c)))return!1;for(M=m.pos,$+=m.lines,i=M,a=$,w=M;M<q;M++)if(r=v.charCodeAt(M),r===10)$++;else if(!$o(r))break;for(m=e.md.helpers.parseLinkTitle(v,M,q),M<q&&w!==M&&m.ok?(E=m.str,M=m.pos,$+=m.lines):(E="",M=i,$=a);M<q&&(r=v.charCodeAt(M),!!$o(r));)M++;if(M<q&&v.charCodeAt(M)!==10&&E)for(E="",M=i,$=a;M<q&&(r=v.charCodeAt(M),!!$o(r));)M++;return M<q&&v.charCodeAt(M)!==10||(f=bae(v.slice(1,g)),!f)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:E,href:c}),e.parentType=p,e.line=n+$+1),!0)},xae=["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"],Qr={},wae="[a-zA-Z_:][a-zA-Z0-9:._-]*",kae="[^\"'=<>`\\x00-\\x20]+",Cae="'[^']*'",Eae='"[^"]*"',Aae="(?:"+kae+"|"+Cae+"|"+Eae+")",Sae="(?:\\s+"+wae+"(?:\\s*=\\s*"+Aae+")?)",Cf="<[A-Za-z][A-Za-z0-9\\-]*"+Sae+"*\\s*\\/?>",Ef="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Tae="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Mae="<[?][\\s\\S]*?[?]>",Dae="<![A-Z]+\\s+[^>]*>",Lae="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Oae=new RegExp("^(?:"+Cf+"|"+Ef+"|"+Tae+"|"+Mae+"|"+Dae+"|"+Lae+")"),jae=new RegExp("^(?:"+Cf+"|"+Ef+")");Qr.HTML_TAG_RE=Oae;Qr.HTML_OPEN_CLOSE_TAG_RE=jae;var Rae=xae,Pae=Qr.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("^</?("+Rae.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Pae.source+"\\s*$"),/^$/,!1]],Iae=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,Fae=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)},$ae=function(e,n,s){var o,r,i,a,l,c,u,h,f,g=n+1,p,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";g<s&&!e.isEmpty(g);g++)if(!(e.sCount[g]-e.blkIndent>3)){if(e.sCount[g]>=e.blkIndent&&(c=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],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[g]<0)){for(r=!1,i=0,a=m.length;i<a;i++)if(m[i](e,g,s,!0)){r=!0;break}if(r)break}}return h?(o=e.getLines(n,g,e.blkIndent,!1).trim(),e.line=g+1,l=e.push("heading_open","h"+String(h),1),l.markup=String.fromCharCode(f),l.map=[n,e.line],l=e.push("inline","",0),l.content=o,l.map=[n,e.line-1],l.children=[],l=e.push("heading_close","h"+String(h),-1),l.markup=String.fromCharCode(f),e.parentType=p,!0):!1},qae=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,Xr=Fe.isSpace;function Kt(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(Xr(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}Kt.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};Kt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Kt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Kt.prototype.skipSpaces=function(e){for(var n,s=this.src.length;e<s&&(n=this.src.charCodeAt(e),!!Xr(n));e++);return e};Kt.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!Xr(this.src.charCodeAt(--e)))return e+1;return e};Kt.prototype.skipChars=function(e,n){for(var s=this.src.length;e<s&&this.src.charCodeAt(e)===n;e++);return e};Kt.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};Kt.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),Xr(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("")};Kt.prototype.Token=Af;var zae=Kt,Bae=rl,qo=[["table",dae,["paragraph","reference"]],["code",hae],["fence",fae,["paragraph","reference","blockquote","list"]],["blockquote",pae,["paragraph","reference","blockquote","list"]],["hr",mae,["paragraph","reference","blockquote","list"]],["list",yae,["paragraph","reference","blockquote"]],["reference",vae],["html_block",Iae,["paragraph","reference","blockquote"]],["heading",Fae,["paragraph","reference","blockquote"]],["lheading",$ae],["paragraph",qae]];function ei(){this.ruler=new Bae;for(var t=0;t<qo.length;t++)this.ruler.push(qo[t][0],qo[t][1],{alt:(qo[t][2]||[]).slice()})}ei.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)}};ei.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))};ei.prototype.State=zae;var Nae=ei;function Uae(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 Hae=function(e,n){for(var s=e.pos;s<e.posMax&&!Uae(e.src.charCodeAt(s));)s++;return s===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,s)),e.pos=s,!0)},Vae=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Gae=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(Vae),!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)},Kae=Fe.isSpace,Wae=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&&Kae(e.src.charCodeAt(i));)i++;return e.pos=i,!0},Zae=Fe.isSpace,ll=[];for(var _u=0;_u<256;_u++)ll.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){ll[t.charCodeAt(0)]=1});var Jae=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),!!Zae(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},Yae=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},ti={};ti.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)}}ti.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 ni={};ni.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--))}ni.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,Li=Fe.isSpace,Xae=function(e,n){var s,o,r,i,a,l,c,u,h,f="",g="",p=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),!(!Li(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),!(!Li(o)&&o!==10));l++);if(c=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<m&&w!==l&&c.ok)for(g=c.str,l=c.pos;l<m&&(o=e.src.charCodeAt(l),!(!Li(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=p,!1;f=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},ele=Fe.normalizeReference,Oi=Fe.isSpace,tle=function(e,n){var s,o,r,i,a,l,c,u,h,f,g,p,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[ele(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,p=[]),g=e.push("image","img",0),g.attrs=s=[["src",w],["alt",""]],g.children=p,g.content=r,f&&s.push(["title",f])),e.pos=c,e.posMax=y,!0},nle=/^([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])?)*)$/,sle=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,ole=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),sle.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):nle.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},rle=Qr.HTML_TAG_RE;function ile(t){return/^<a[>\s]/i.test(t)}function ale(t){return/^<\/a\s*>/i.test(t)}function lle(t){var e=t|32;return e>=97&&e<=122}var cle=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&&!lle(s))||(o=e.src.slice(a).match(rle),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),ile(i.content)&&e.linkLevel++,ale(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},vu=_f,ule=Fe.has,dle=Fe.isValidEntityCode,xu=Fe.fromCodePoint,hle=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,fle=/^&([a-z][a-z0-9]{1,31});/i,ple=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(hle),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=dle(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(fle),r&&ule(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,g=-2,p=[];for(n=0;n<h;n++)if(o=e[n],p.push(0),(e[f].marker!==o.marker||g!==o.token-1)&&(f=n),g=o.token,o.length=o.length||0,!!o.close){for(u.hasOwnProperty(o.marker)||(u[o.marker]=[-1,-1,-1,-1,-1,-1]),i=u[o.marker][(o.open?3:0)+o.length%3],s=f-p[f]-1,a=s;s>i;s-=p[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){c=s>0&&!e[s-1].open?p[s-1]+1:0,p[n]=n-s+c,p[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var gle=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)},mle=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,g=!0,p=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n<p&&this.src.charCodeAt(n)===m;)n++;return r=n-t,o=n<p?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?g=!1:c&&(u||h||(g=!1)),e?(i=f,a=g):(i=f&&(!g||c),a=g&&(!f||h)),{can_open:i,can_close:a,length:r}};Eo.prototype.Token=cl;var _le=Eo,Au=rl,ji=[["text",Hae],["linkify",Gae],["newline",Wae],["escape",Jae],["backticks",Yae],["strikethrough",ti.tokenize],["emphasis",ni.tokenize],["link",Xae],["image",tle],["autolink",ole],["html_inline",cle],["entity",ple]],Ri=[["balance_pairs",gle],["strikethrough",ti.postProcess],["emphasis",ni.postProcess],["fragments_join",mle]];function Ao(){var t;for(this.ruler=new Au,t=0;t<ji.length;t++)this.ruler.push(ji[t][0],ji[t][1]);for(this.ruler2=new Au,t=0;t<Ri.length;t++)this.ruler2.push(Ri[t][0],Ri[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=_le;var yle=Ao,Pi,Su;function ble(){return Su||(Su=1,Pi=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}),Pi}function fa(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 si(t){return Object.prototype.toString.call(t)}function vle(t){return si(t)==="[object String]"}function xle(t){return si(t)==="[object Object]"}function wle(t){return si(t)==="[object RegExp]"}function Tu(t){return si(t)==="[object Function]"}function kle(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Sf={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Cle(t){return Object.keys(t||{}).reduce(function(e,n){return e||Sf.hasOwnProperty(n)},!1)}var Ele={"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}}},Ale="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]",Sle="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Tle(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 Mu(){return function(t,e){e.normalize(t)}}function gr(t){var e=t.re=ble()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Ale),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,xle(l)){wle(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=Mu();return}if(vle(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:Mu()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(kle).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"),Tle(t)}function Dle(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 pa(t,e){var n=new Dle(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||Cle(t)&&(e=t,t={}),this.__opts__=fa({},Sf,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fa({},Ele,t),this.__compiled__={},this.__tlds__=Sle,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__=fa(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(pa(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(pa(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,pa(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 Lle=ft;const fs=2147483647,qt=36,ul=1,po=26,Ole=38,jle=700,Tf=72,Mf=128,Df="-",Rle=/^xn--/,Ple=/[^\0-\x7F]/,Ile=/[\x2E\u3002\uFF0E\uFF61]/g,Fle={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ii=qt-ul,zt=Math.floor,Fi=String.fromCharCode;function mn(t){throw new RangeError(Fle[t])}function $le(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function Lf(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(Ile,".");const o=t.split("."),r=$le(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 Of=t=>String.fromCodePoint(...t),qle=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:qt},Du=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},jf=function(t,e,n){let s=0;for(t=n?zt(t/jle):t>>1,t+=zt(t/e);t>Ii*po>>1;s+=qt)t=zt(t/Ii);return zt(s+(Ii+1)*t/(t+Ole))},hl=function(t){const e=[],n=t.length;let s=0,o=Mf,r=Tf,i=t.lastIndexOf(Df);i<0&&(i=0);for(let a=0;a<i;++a)t.charCodeAt(a)>=128&&mn("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=qt;;h+=qt){a>=n&&mn("invalid-input");const f=qle(t.charCodeAt(a++));f>=qt&&mn("invalid-input"),f>zt((fs-s)/u)&&mn("overflow"),s+=f*u;const g=h<=r?ul:h>=r+po?po:h-r;if(f<g)break;const p=qt-g;u>zt(fs/p)&&mn("overflow"),u*=p}const c=e.length+1;r=jf(s-l,c,l==0),zt(s/c)>fs-o&&mn("overflow"),o+=zt(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=Mf,o=0,r=Tf;for(const l of t)l<128&&e.push(Fi(l));const i=e.length;let a=i;for(i&&e.push(Df);a<n;){let l=fs;for(const u of t)u>=s&&u<l&&(l=u);const c=a+1;l-s>zt((fs-o)/c)&&mn("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(u<s&&++o>fs&&mn("overflow"),u===s){let h=o;for(let f=qt;;f+=qt){const g=f<=r?ul:f>=r+po?po:f-r;if(h<g)break;const p=h-g,m=qt-g;e.push(Fi(Du(g+p%m,0))),h=zt(p/m)}e.push(Fi(Du(h,0))),r=jf(o,c,a===i),o=0,++a}++o,++s}return e.join("")},Rf=function(t){return Lf(t,function(e){return Rle.test(e)?hl(e.slice(4).toLowerCase()):e})},Pf=function(t){return Lf(t,function(e){return Ple.test(e)?"xn--"+fl(e):e})},zle={version:"2.1.0",ucs2:{decode:dl,encode:Of},decode:hl,encode:fl,toASCII:Pf,toUnicode:Rf},Ble=Object.freeze(Object.defineProperty({__proto__:null,decode:hl,default:zle,encode:fl,toASCII:Pf,toUnicode:Rf,ucs2decode:dl,ucs2encode:Of},Symbol.toStringTag,{value:"Module"})),Nle=q_(Ble);var Ule={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Hle={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"]}}},Vle={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,Gle=Yr,Kle=zie,Wle=uae,Zle=Nae,Jle=yle,Yle=Lle,Nn=Is,If=Nle,Qle={default:Ule,zero:Hle,commonmark:Vle},Xle=/^(vbscript|javascript|file|data):/,ece=/^data:image\/(gif|png|jpeg|webp);/;function tce(t){var e=t.trim().toLowerCase();return Xle.test(e)?!!ece.test(e):!0}var Ff=["http:","https:","mailto:"];function nce(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 sce(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 Jle,this.block=new Zle,this.core=new Wle,this.renderer=new Kle,this.linkify=new Yle,this.validateLink=tce,this.normalizeLink=nce,this.normalizeLinkText=sce,this.utils=Ys,this.helpers=Ys.assign({},Gle),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 oce=kt,rce=oce;const ice=js(rce),ace="😀",lce="😃",cce="😄",uce="😁",dce="😆",hce="😆",fce="😅",pce="🤣",gce="😂",mce="🙂",_ce="🙃",yce="😉",bce="😊",vce="😇",xce="🥰",wce="😍",kce="🤩",Cce="😘",Ece="😗",Ace="☺️",Sce="😚",Tce="😙",Mce="🥲",Dce="😋",Lce="😛",Oce="😜",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="😧",Mue="😨",Due="😰",Lue="😥",Oue="😢",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="💟",Mde="❣️",Dde="💔",Lde="❤️",Ode="🧡",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="🤛",Mhe="🤜",Dhe="👏",Lhe="🙌",Ohe="👐",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="👵",Mfe="🙍",Dfe="🙍♂️",Lfe="🙍♀️",Ofe="🙎",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="🧑🔧",Mpe="👨🔧",Dpe="👩🔧",Lpe="🧑🏭",Ope="👨🏭",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="👰",Mge="👰♂️",Dge="👰♀️",Lge="👰♀️",Oge="🤰",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="🧎♀️",M1e="🧑🦯",D1e="👨🦯",L1e="👩🦯",O1e="🧑🦼",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="🚵",Mme="🚵♂️",Dme="🚵♀️",Lme="🤸",Ome="🤸♂️",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="👨👧👦",M_e="👨👧👧",D_e="👩👦",L_e="👩👦👦",O_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="🦏",M0e="🦛",D0e="🐭",L0e="🐁",O0e="🐀",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="🐟",Mye="🐠",Dye="🐡",Lye="🦈",Oye="🐙",jye="🐚",Rye="🐌",Pye="🦋",Iye="🐛",Fye="🐜",$ye="🐝",qye="🐝",zye="🪲",Bye="🐞",Nye="🦗",Uye="🪳",Hye="🕷️",Vye="🕸️",Gye="🦂",Kye="🦟",Wye="🪰",Zye="🪱",Jye="🦠",Yye="💐",Qye="🌸",Xye="💮",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="🍍",M2e="🥭",D2e="🍎",L2e="🍏",O2e="🍐",j2e="🍑",R2e="🍒",P2e="🍓",I2e="🫐",F2e="🥝",$2e="🍅",q2e="🫒",z2e="🥥",B2e="🥑",N2e="🍆",U2e="🥔",H2e="🥕",V2e="🌽",G2e="🌶️",K2e="🫑",W2e="🥒",Z2e="🥬",J2e="🥦",Y2e="🧄",Q2e="🧅",X2e="🍄",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="🍲",Mbe="🫕",Dbe="🥣",Lbe="🥗",Obe="🍿",jbe="🧈",Rbe="🧂",Pbe="🥫",Ibe="🍱",Fbe="🍘",$be="🍙",qbe="🍚",zbe="🍛",Bbe="🍜",Nbe="🍝",Ube="🍠",Hbe="🍢",Vbe="🍣",Gbe="🍤",Kbe="🍥",Wbe="🥮",Zbe="🍡",Jbe="🥟",Ybe="🥠",Qbe="🥡",Xbe="🦀",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="🍺",Mve="🍻",Dve="🥂",Lve="🥃",Ove="🥤",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="🏯",Mxe="🏰",Dxe="💒",Lxe="🗼",Oxe="🗽",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="🚚",Mwe="🚛",Dwe="🚜",Lwe="🏎️",Owe="🏍️",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="🕛",Mke="🕧",Dke="🕐",Lke="🕜",Oke="🕑",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="🌩️",M5e="🌪️",D5e="🌫️",L5e="🌬️",O5e="🌀",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="🏒",M4e="🥍",D4e="🏓",L4e="🏸",O4e="🥊",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="🧤",M3e="🧥",D3e="🧦",L3e="👗",O3e="👘",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="📻",M8e="🎷",D8e="🪗",L8e="🎸",O8e="🎹",j8e="🎺",R8e="🎻",P8e="🪕",I8e="🥁",F8e="🪘",$8e="📱",q8e="📲",z8e="☎️",B8e="☎️",N8e="📞",U8e="📟",H8e="📠",V8e="🔋",G8e="🔌",K8e="💻",W8e="🖥️",Z8e="🖨️",J8e="⌨️",Y8e="🖱️",Q8e="🖲️",X8e="💽",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="📚",M9e="📓",D9e="📒",L9e="📃",O9e="📜",j9e="📄",R9e="📰",P9e="🗞️",I9e="📑",F9e="🔖",$9e="🏷️",q9e="💰",z9e="🪙",B9e="💴",N9e="💵",U9e="💶",H9e="💷",V9e="💸",G9e="💳",K9e="🧾",W9e="💹",Z9e="✉️",J9e="📧",Y9e="📨",Q9e="📩",X9e="📤",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="📌",MCe="📍",DCe="📎",LCe="🖇️",OCe="📏",jCe="📐",RCe="✂️",PCe="🗃️",ICe="🗄️",FCe="🗑️",$Ce="🔒",qCe="🔓",zCe="🔏",BCe="🔐",NCe="🔑",UCe="🗝️",HCe="🔨",VCe="🪓",GCe="⛏️",KCe="⚒️",WCe="🛠️",ZCe="🗡️",JCe="⚔️",YCe="🔫",QCe="🪃",XCe="🏹",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="🛗",M6e="🪞",D6e="🪟",L6e="🛏️",O6e="🛋️",j6e="🪑",R6e="🚽",P6e="🪠",I6e="🚿",F6e="🛁",$6e="🪤",q6e="🪒",z6e="🧴",B6e="🧷",N6e="🧹",U6e="🧺",H6e="🧻",V6e="🪣",G6e="🧼",K6e="🪥",W6e="🧽",Z6e="🧯",J6e="🛒",Y6e="🚬",Q6e="⚰️",X6e="🪦",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="⬆️",MEe="↗️",DEe="➡️",LEe="↘️",OEe="⬇️",jEe="↙️",REe="⬅️",PEe="↖️",IEe="↕️",FEe="↔️",$Ee="↩️",qEe="↪️",zEe="⤴️",BEe="⤵️",NEe="🔃",UEe="🔄",HEe="🔙",VEe="🔚",GEe="🔛",KEe="🔜",WEe="🔝",ZEe="🛐",JEe="⚛️",YEe="🕉️",QEe="✡️",XEe="☸️",e7e="☯️",t7e="✝️",n7e="☦️",s7e="☪️",o7e="☮️",r7e="🕎",i7e="🔯",a7e="♈",l7e="♉",c7e="♊",u7e="♋",d7e="♌",h7e="♍",f7e="♎",p7e="♏",g7e="♐",m7e="♑",_7e="♒",y7e="♓",b7e="⛎",v7e="🔀",x7e="🔁",w7e="🔂",k7e="▶️",C7e="⏩",E7e="⏭️",A7e="⏯️",S7e="◀️",T7e="⏪",M7e="⏮️",D7e="🔼",L7e="⏫",O7e="🔽",j7e="⏬",R7e="⏸️",P7e="⏹️",I7e="⏺️",F7e="⏏️",$7e="🎦",q7e="🔅",z7e="🔆",B7e="📶",N7e="📳",U7e="📴",H7e="♀️",V7e="♂️",G7e="⚧️",K7e="✖️",W7e="➕",Z7e="➖",J7e="➗",Y7e="♾️",Q7e="‼️",X7e="⁉️",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="™️",MAe="#️⃣",DAe="*️⃣",LAe="0️⃣",OAe="1️⃣",jAe="2️⃣",RAe="3️⃣",PAe="4️⃣",IAe="5️⃣",FAe="6️⃣",$Ae="7️⃣",qAe="8️⃣",zAe="9️⃣",BAe="🔟",NAe="🔠",UAe="🔡",HAe="🔣",VAe="🔤",GAe="🅰️",KAe="🆎",WAe="🅱️",ZAe="🆑",JAe="🆒",YAe="🆓",QAe="ℹ️",XAe="🆔",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="🟦",MSe="🟪",DSe="🟫",LSe="⬛",OSe="⬜",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="🇧🇯",MTe="🇧🇱",DTe="🇧🇲",LTe="🇧🇳",OTe="🇧🇴",jTe="🇧🇶",RTe="🇧🇷",PTe="🇧🇸",ITe="🇧🇹",FTe="🇧🇻",$Te="🇧🇼",qTe="🇧🇾",zTe="🇧🇿",BTe="🇨🇦",NTe="🇨🇨",UTe="🇨🇩",HTe="🇨🇫",VTe="🇨🇬",GTe="🇨🇭",KTe="🇨🇮",WTe="🇨🇰",ZTe="🇨🇱",JTe="🇨🇲",YTe="🇨🇳",QTe="🇨🇴",XTe="🇨🇵",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="🇫🇴",MMe="🇫🇷",DMe="🇬🇦",LMe="🇬🇧",OMe="🇬🇧",jMe="🇬🇩",RMe="🇬🇪",PMe="🇬🇫",IMe="🇬🇬",FMe="🇬🇭",$Me="🇬🇮",qMe="🇬🇱",zMe="🇬🇲",BMe="🇬🇳",NMe="🇬🇵",UMe="🇬🇶",HMe="🇬🇷",VMe="🇬🇸",GMe="🇬🇹",KMe="🇬🇺",WMe="🇬🇼",ZMe="🇬🇾",JMe="🇭🇰",YMe="🇭🇲",QMe="🇭🇳",XMe="🇭🇷",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="🇱🇦",MDe="🇱🇧",DDe="🇱🇨",LDe="🇱🇮",ODe="🇱🇰",jDe="🇱🇷",RDe="🇱🇸",PDe="🇱🇹",IDe="🇱🇺",FDe="🇱🇻",$De="🇱🇾",qDe="🇲🇦",zDe="🇲🇨",BDe="🇲🇩",NDe="🇲🇪",UDe="🇲🇫",HDe="🇲🇬",VDe="🇲🇭",GDe="🇲🇰",KDe="🇲🇱",WDe="🇲🇲",ZDe="🇲🇳",JDe="🇲🇴",YDe="🇲🇵",QDe="🇲🇶",XDe="🇲🇷",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="🇵🇲",MLe="🇵🇳",DLe="🇵🇷",LLe="🇵🇸",OLe="🇵🇹",jLe="🇵🇼",RLe="🇵🇾",PLe="🇶🇦",ILe="🇷🇪",FLe="🇷🇴",$Le="🇷🇸",qLe="🇷🇺",zLe="🇷🇼",BLe="🇸🇦",NLe="🇸🇧",ULe="🇸🇨",HLe="🇸🇩",VLe="🇸🇪",GLe="🇸🇬",KLe="🇸🇭",WLe="🇸🇮",ZLe="🇸🇯",JLe="🇸🇰",YLe="🇸🇱",QLe="🇸🇲",XLe="🇸🇳",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="🇺🇳",MOe="🇺🇸",DOe="🇺🇾",LOe="🇺🇿",OOe="🇻🇦",jOe="🇻🇨",ROe="🇻🇪",POe="🇻🇬",IOe="🇻🇮",FOe="🇻🇳",$Oe="🇻🇺",qOe="🇼🇫",zOe="🇼🇸",BOe="🇽🇰",NOe="🇾🇪",UOe="🇾🇹",HOe="🇿🇦",VOe="🇿🇲",GOe="🇿🇼",KOe="🏴",WOe="🏴",ZOe="🏴",JOe={100:"💯",1234:"🔢",grinning:ace,smiley:lce,smile:cce,grin:uce,laughing:dce,satisfied:hce,sweat_smile:fce,rofl:pce,joy:gce,slightly_smiling_face:mce,upside_down_face:_ce,wink:yce,blush:bce,innocent:vce,smiling_face_with_three_hearts:xce,heart_eyes:wce,star_struck:kce,kissing_heart:Cce,kissing:Ece,relaxed:Ace,kissing_closed_eyes:Sce,kissing_smiling_eyes:Tce,smiling_face_with_tear:Mce,yum:Dce,stuck_out_tongue:Lce,stuck_out_tongue_winking_eye:Oce,zany_face:jce,stuck_out_tongue_closed_eyes:Rce,money_mouth_face:Pce,hugs:Ice,hand_over_mouth:Fce,shushing_face:$ce,thinking:qce,zipper_mouth_face:zce,raised_eyebrow:Bce,neutral_face:Nce,expressionless:Uce,no_mouth:Hce,smirk:Vce,unamused:Gce,roll_eyes:Kce,grimacing:Wce,lying_face:Zce,relieved:Jce,pensive:Yce,sleepy:Qce,drooling_face:Xce,sleeping:eue,mask:tue,face_with_thermometer:nue,face_with_head_bandage:sue,nauseated_face:oue,vomiting_face:rue,sneezing_face:iue,hot_face:aue,cold_face:lue,woozy_face:cue,dizzy_face:uue,exploding_head:due,cowboy_hat_face:hue,partying_face:fue,disguised_face:pue,sunglasses:gue,nerd_face:mue,monocle_face:_ue,confused:yue,worried:bue,slightly_frowning_face:vue,frowning_face:xue,open_mouth:wue,hushed:kue,astonished:Cue,flushed:Eue,pleading_face:Aue,frowning:Sue,anguished:Tue,fearful:Mue,cold_sweat:Due,disappointed_relieved:Lue,cry:Oue,sob:jue,scream:Rue,confounded:Pue,persevere:Iue,disappointed:Fue,sweat:$ue,weary:que,tired_face:zue,yawning_face:Bue,triumph:Nue,rage:Uue,pout:Hue,angry:Vue,cursing_face:Gue,smiling_imp:Kue,imp:Wue,skull:Zue,skull_and_crossbones:Jue,hankey:Yue,poop:Que,shit:Xue,clown_face:ede,japanese_ogre:tde,japanese_goblin:nde,ghost:sde,alien:ode,space_invader:rde,robot:ide,smiley_cat:ade,smile_cat:lde,joy_cat:cde,heart_eyes_cat:ude,smirk_cat:dde,kissing_cat:hde,scream_cat:fde,crying_cat_face:pde,pouting_cat:gde,see_no_evil:mde,hear_no_evil:_de,speak_no_evil:yde,kiss:bde,love_letter:vde,cupid:xde,gift_heart:wde,sparkling_heart:kde,heartpulse:Cde,heartbeat:Ede,revolving_hearts:Ade,two_hearts:Sde,heart_decoration:Tde,heavy_heart_exclamation:Mde,broken_heart:Dde,heart:Lde,orange_heart:Ode,yellow_heart:jde,green_heart:Rde,blue_heart:Pde,purple_heart:Ide,brown_heart:Fde,black_heart:$de,white_heart:qde,anger:zde,boom:Bde,collision:Nde,dizzy:Ude,sweat_drops:Hde,dash:Vde,hole:Gde,bomb:Kde,speech_balloon:Wde,eye_speech_bubble:Zde,left_speech_bubble:Jde,right_anger_bubble:Yde,thought_balloon:Qde,zzz:Xde,wave:ehe,raised_back_of_hand:the,raised_hand_with_fingers_splayed:nhe,hand:she,raised_hand:ohe,vulcan_salute:rhe,ok_hand:ihe,pinched_fingers:ahe,pinching_hand:lhe,v:che,crossed_fingers:uhe,love_you_gesture:dhe,metal:hhe,call_me_hand:fhe,point_left:phe,point_right:ghe,point_up_2:mhe,middle_finger:_he,fu:yhe,point_down:bhe,point_up:vhe,"+1":"👍",thumbsup:xhe,"-1":"👎",thumbsdown:whe,fist_raised:khe,fist:Che,fist_oncoming:Ehe,facepunch:Ahe,punch:She,fist_left:The,fist_right:Mhe,clap:Dhe,raised_hands:Lhe,open_hands:Ohe,palms_up_together:jhe,handshake:Rhe,pray:Phe,writing_hand:Ihe,nail_care:Fhe,selfie:$he,muscle:qhe,mechanical_arm:zhe,mechanical_leg:Bhe,leg:Nhe,foot:Uhe,ear:Hhe,ear_with_hearing_aid:Vhe,nose:Ghe,brain:Khe,anatomical_heart:Whe,lungs:Zhe,tooth:Jhe,bone:Yhe,eyes:Qhe,eye:Xhe,tongue:efe,lips:tfe,baby:nfe,child:sfe,boy:ofe,girl:rfe,adult:ife,blond_haired_person:afe,man:lfe,bearded_person:cfe,red_haired_man:ufe,curly_haired_man:dfe,white_haired_man:hfe,bald_man:ffe,woman:pfe,red_haired_woman:gfe,person_red_hair:mfe,curly_haired_woman:_fe,person_curly_hair:yfe,white_haired_woman:bfe,person_white_hair:vfe,bald_woman:xfe,person_bald:wfe,blond_haired_woman:kfe,blonde_woman:Cfe,blond_haired_man:Efe,older_adult:Afe,older_man:Sfe,older_woman:Tfe,frowning_person:Mfe,frowning_man:Dfe,frowning_woman:Lfe,pouting_face:Ofe,pouting_man:jfe,pouting_woman:Rfe,no_good:Pfe,no_good_man:Ife,ng_man:Ffe,no_good_woman:$fe,ng_woman:qfe,ok_person:zfe,ok_man:Bfe,ok_woman:Nfe,tipping_hand_person:Ufe,information_desk_person:Hfe,tipping_hand_man:Vfe,sassy_man:Gfe,tipping_hand_woman:Kfe,sassy_woman:Wfe,raising_hand:Zfe,raising_hand_man:Jfe,raising_hand_woman:Yfe,deaf_person:Qfe,deaf_man:Xfe,deaf_woman:epe,bow:tpe,bowing_man:npe,bowing_woman:spe,facepalm:ope,man_facepalming:rpe,woman_facepalming:ipe,shrug:ape,man_shrugging:lpe,woman_shrugging:cpe,health_worker:upe,man_health_worker:dpe,woman_health_worker:hpe,student:fpe,man_student:ppe,woman_student:gpe,teacher:mpe,man_teacher:_pe,woman_teacher:ype,judge:bpe,man_judge:vpe,woman_judge:xpe,farmer:wpe,man_farmer:kpe,woman_farmer:Cpe,cook:Epe,man_cook:Ape,woman_cook:Spe,mechanic:Tpe,man_mechanic:Mpe,woman_mechanic:Dpe,factory_worker:Lpe,man_factory_worker:Ope,woman_factory_worker:jpe,office_worker:Rpe,man_office_worker:Ppe,woman_office_worker:Ipe,scientist:Fpe,man_scientist:$pe,woman_scientist:qpe,technologist:zpe,man_technologist:Bpe,woman_technologist:Npe,singer:Upe,man_singer:Hpe,woman_singer:Vpe,artist:Gpe,man_artist:Kpe,woman_artist:Wpe,pilot:Zpe,man_pilot:Jpe,woman_pilot:Ype,astronaut:Qpe,man_astronaut:Xpe,woman_astronaut:ege,firefighter:tge,man_firefighter:nge,woman_firefighter:sge,police_officer:oge,cop:rge,policeman:ige,policewoman:age,detective:lge,male_detective:cge,female_detective:uge,guard:dge,guardsman:hge,guardswoman:fge,ninja:pge,construction_worker:gge,construction_worker_man:mge,construction_worker_woman:_ge,prince:yge,princess:bge,person_with_turban:vge,man_with_turban:xge,woman_with_turban:wge,man_with_gua_pi_mao:kge,woman_with_headscarf:Cge,person_in_tuxedo:Ege,man_in_tuxedo:Age,woman_in_tuxedo:Sge,person_with_veil:Tge,man_with_veil:Mge,woman_with_veil:Dge,bride_with_veil:Lge,pregnant_woman:Oge,breast_feeding:jge,woman_feeding_baby:Rge,man_feeding_baby:Pge,person_feeding_baby:Ige,angel:Fge,santa:$ge,mrs_claus:qge,mx_claus:zge,superhero:Bge,superhero_man:Nge,superhero_woman:Uge,supervillain:Hge,supervillain_man:Vge,supervillain_woman:Gge,mage:Kge,mage_man:Wge,mage_woman:Zge,fairy:Jge,fairy_man:Yge,fairy_woman:Qge,vampire:Xge,vampire_man:e1e,vampire_woman:t1e,merperson:n1e,merman:s1e,mermaid:o1e,elf:r1e,elf_man:i1e,elf_woman:a1e,genie:l1e,genie_man:c1e,genie_woman:u1e,zombie:d1e,zombie_man:h1e,zombie_woman:f1e,massage:p1e,massage_man:g1e,massage_woman:m1e,haircut:_1e,haircut_man:y1e,haircut_woman:b1e,walking:v1e,walking_man:x1e,walking_woman:w1e,standing_person:k1e,standing_man:C1e,standing_woman:E1e,kneeling_person:A1e,kneeling_man:S1e,kneeling_woman:T1e,person_with_probing_cane:M1e,man_with_probing_cane:D1e,woman_with_probing_cane:L1e,person_in_motorized_wheelchair:O1e,man_in_motorized_wheelchair:j1e,woman_in_motorized_wheelchair:R1e,person_in_manual_wheelchair:P1e,man_in_manual_wheelchair:I1e,woman_in_manual_wheelchair:F1e,runner:$1e,running:q1e,running_man:z1e,running_woman:B1e,woman_dancing:N1e,dancer:U1e,man_dancing:H1e,business_suit_levitating:V1e,dancers:G1e,dancing_men:K1e,dancing_women:W1e,sauna_person:Z1e,sauna_man:J1e,sauna_woman:Y1e,climbing:Q1e,climbing_man:X1e,climbing_woman:eme,person_fencing:tme,horse_racing:nme,skier:sme,snowboarder:ome,golfing:rme,golfing_man:ime,golfing_woman:ame,surfer:lme,surfing_man:cme,surfing_woman:ume,rowboat:dme,rowing_man:hme,rowing_woman:fme,swimmer:pme,swimming_man:gme,swimming_woman:mme,bouncing_ball_person:_me,bouncing_ball_man:yme,basketball_man:bme,bouncing_ball_woman:vme,basketball_woman:xme,weight_lifting:wme,weight_lifting_man:kme,weight_lifting_woman:Cme,bicyclist:Eme,biking_man:Ame,biking_woman:Sme,mountain_bicyclist:Tme,mountain_biking_man:Mme,mountain_biking_woman:Dme,cartwheeling:Lme,man_cartwheeling:Ome,woman_cartwheeling:jme,wrestling:Rme,men_wrestling:Pme,women_wrestling:Ime,water_polo:Fme,man_playing_water_polo:$me,woman_playing_water_polo:qme,handball_person:zme,man_playing_handball:Bme,woman_playing_handball:Nme,juggling_person:Ume,man_juggling:Hme,woman_juggling:Vme,lotus_position:Gme,lotus_position_man:Kme,lotus_position_woman:Wme,bath:Zme,sleeping_bed:Jme,people_holding_hands:Yme,two_women_holding_hands:Qme,couple:Xme,two_men_holding_hands:e_e,couplekiss:t_e,couplekiss_man_woman:n_e,couplekiss_man_man:s_e,couplekiss_woman_woman:o_e,couple_with_heart:r_e,couple_with_heart_woman_man:i_e,couple_with_heart_man_man:a_e,couple_with_heart_woman_woman:l_e,family:c_e,family_man_woman_boy:u_e,family_man_woman_girl:d_e,family_man_woman_girl_boy:h_e,family_man_woman_boy_boy:f_e,family_man_woman_girl_girl:p_e,family_man_man_boy:g_e,family_man_man_girl:m_e,family_man_man_girl_boy:__e,family_man_man_boy_boy:y_e,family_man_man_girl_girl:b_e,family_woman_woman_boy:v_e,family_woman_woman_girl:x_e,family_woman_woman_girl_boy:w_e,family_woman_woman_boy_boy:k_e,family_woman_woman_girl_girl:C_e,family_man_boy:E_e,family_man_boy_boy:A_e,family_man_girl:S_e,family_man_girl_boy:T_e,family_man_girl_girl:M_e,family_woman_boy:D_e,family_woman_boy_boy:L_e,family_woman_girl:O_e,family_woman_girl_boy:j_e,family_woman_girl_girl:R_e,speaking_head:P_e,bust_in_silhouette:I_e,busts_in_silhouette:F_e,people_hugging:$_e,footprints:q_e,monkey_face:z_e,monkey:B_e,gorilla:N_e,orangutan:U_e,dog:H_e,dog2:V_e,guide_dog:G_e,service_dog:K_e,poodle:W_e,wolf:Z_e,fox_face:J_e,raccoon:Y_e,cat:Q_e,cat2:X_e,black_cat:e0e,lion:t0e,tiger:n0e,tiger2:s0e,leopard:o0e,horse:r0e,racehorse:i0e,unicorn:a0e,zebra:l0e,deer:c0e,bison:u0e,cow:d0e,ox:h0e,water_buffalo:f0e,cow2:p0e,pig:g0e,pig2:m0e,boar:_0e,pig_nose:y0e,ram:b0e,sheep:v0e,goat:x0e,dromedary_camel:w0e,camel:k0e,llama:C0e,giraffe:E0e,elephant:A0e,mammoth:S0e,rhinoceros:T0e,hippopotamus:M0e,mouse:D0e,mouse2:L0e,rat:O0e,hamster:j0e,rabbit:R0e,rabbit2:P0e,chipmunk:I0e,beaver:F0e,hedgehog:$0e,bat:q0e,bear:z0e,polar_bear:B0e,koala:N0e,panda_face:U0e,sloth:H0e,otter:V0e,skunk:G0e,kangaroo:K0e,badger:W0e,feet:Z0e,paw_prints:J0e,turkey:Y0e,chicken:Q0e,rooster:X0e,hatching_chick:eye,baby_chick:tye,hatched_chick:nye,bird:sye,penguin:oye,dove:rye,eagle:iye,duck:aye,swan:lye,owl:cye,dodo:uye,feather:dye,flamingo:hye,peacock:fye,parrot:pye,frog:gye,crocodile:mye,turtle:_ye,lizard:yye,snake:bye,dragon_face:vye,dragon:xye,sauropod:wye,"t-rex":"🦖",whale:kye,whale2:Cye,dolphin:Eye,flipper:Aye,seal:Sye,fish:Tye,tropical_fish:Mye,blowfish:Dye,shark:Lye,octopus:Oye,shell:jye,snail:Rye,butterfly:Pye,bug:Iye,ant:Fye,bee:$ye,honeybee:qye,beetle:zye,lady_beetle:Bye,cricket:Nye,cockroach:Uye,spider:Hye,spider_web:Vye,scorpion:Gye,mosquito:Kye,fly:Wye,worm:Zye,microbe:Jye,bouquet:Yye,cherry_blossom:Qye,white_flower:Xye,rosette:e2e,rose:t2e,wilted_flower:n2e,hibiscus:s2e,sunflower:o2e,blossom:r2e,tulip:i2e,seedling:a2e,potted_plant:l2e,evergreen_tree:c2e,deciduous_tree:u2e,palm_tree:d2e,cactus:h2e,ear_of_rice:f2e,herb:p2e,shamrock:g2e,four_leaf_clover:m2e,maple_leaf:_2e,fallen_leaf:y2e,leaves:b2e,grapes:v2e,melon:x2e,watermelon:w2e,tangerine:k2e,orange:C2e,mandarin:E2e,lemon:A2e,banana:S2e,pineapple:T2e,mango:M2e,apple:D2e,green_apple:L2e,pear:O2e,peach:j2e,cherries:R2e,strawberry:P2e,blueberries:I2e,kiwi_fruit:F2e,tomato:$2e,olive:q2e,coconut:z2e,avocado:B2e,eggplant:N2e,potato:U2e,carrot:H2e,corn:V2e,hot_pepper:G2e,bell_pepper:K2e,cucumber:W2e,leafy_green:Z2e,broccoli:J2e,garlic:Y2e,onion:Q2e,mushroom:X2e,peanuts:ebe,chestnut:tbe,bread:nbe,croissant:sbe,baguette_bread:obe,flatbread:rbe,pretzel:ibe,bagel:abe,pancakes:lbe,waffle:cbe,cheese:ube,meat_on_bone:dbe,poultry_leg:hbe,cut_of_meat:fbe,bacon:pbe,hamburger:gbe,fries:mbe,pizza:_be,hotdog:ybe,sandwich:bbe,taco:vbe,burrito:xbe,tamale:wbe,stuffed_flatbread:kbe,falafel:Cbe,egg:Ebe,fried_egg:Abe,shallow_pan_of_food:Sbe,stew:Tbe,fondue:Mbe,bowl_with_spoon:Dbe,green_salad:Lbe,popcorn:Obe,butter:jbe,salt:Rbe,canned_food:Pbe,bento:Ibe,rice_cracker:Fbe,rice_ball:$be,rice:qbe,curry:zbe,ramen:Bbe,spaghetti:Nbe,sweet_potato:Ube,oden:Hbe,sushi:Vbe,fried_shrimp:Gbe,fish_cake:Kbe,moon_cake:Wbe,dango:Zbe,dumpling:Jbe,fortune_cookie:Ybe,takeout_box:Qbe,crab:Xbe,lobster:eve,shrimp:tve,squid:nve,oyster:sve,icecream:ove,shaved_ice:rve,ice_cream:ive,doughnut:ave,cookie:lve,birthday:cve,cake:uve,cupcake:dve,pie:hve,chocolate_bar:fve,candy:pve,lollipop:gve,custard:mve,honey_pot:_ve,baby_bottle:yve,milk_glass:bve,coffee:vve,teapot:xve,tea:wve,sake:kve,champagne:Cve,wine_glass:Eve,cocktail:Ave,tropical_drink:Sve,beer:Tve,beers:Mve,clinking_glasses:Dve,tumbler_glass:Lve,cup_with_straw:Ove,bubble_tea:jve,beverage_box:Rve,mate:Pve,ice_cube:Ive,chopsticks:Fve,plate_with_cutlery:$ve,fork_and_knife:qve,spoon:zve,hocho:Bve,knife:Nve,amphora:Uve,earth_africa:Hve,earth_americas:Vve,earth_asia:Gve,globe_with_meridians:Kve,world_map:Wve,japan:Zve,compass:Jve,mountain_snow:Yve,mountain:Qve,volcano:Xve,mount_fuji:exe,camping:txe,beach_umbrella:nxe,desert:sxe,desert_island:oxe,national_park:rxe,stadium:ixe,classical_building:axe,building_construction:lxe,bricks:cxe,rock:uxe,wood:dxe,hut:hxe,houses:fxe,derelict_house:pxe,house:gxe,house_with_garden:mxe,office:_xe,post_office:yxe,european_post_office:bxe,hospital:vxe,bank:xxe,hotel:wxe,love_hotel:kxe,convenience_store:Cxe,school:Exe,department_store:Axe,factory:Sxe,japanese_castle:Txe,european_castle:Mxe,wedding:Dxe,tokyo_tower:Lxe,statue_of_liberty:Oxe,church:jxe,mosque:Rxe,hindu_temple:Pxe,synagogue:Ixe,shinto_shrine:Fxe,kaaba:$xe,fountain:qxe,tent:zxe,foggy:Bxe,night_with_stars:Nxe,cityscape:Uxe,sunrise_over_mountains:Hxe,sunrise:Vxe,city_sunset:Gxe,city_sunrise:Kxe,bridge_at_night:Wxe,hotsprings:Zxe,carousel_horse:Jxe,ferris_wheel:Yxe,roller_coaster:Qxe,barber:Xxe,circus_tent:ewe,steam_locomotive:twe,railway_car:nwe,bullettrain_side:swe,bullettrain_front:owe,train2:rwe,metro:iwe,light_rail:awe,station:lwe,tram:cwe,monorail:uwe,mountain_railway:dwe,train:hwe,bus:fwe,oncoming_bus:pwe,trolleybus:gwe,minibus:mwe,ambulance:_we,fire_engine:ywe,police_car:bwe,oncoming_police_car:vwe,taxi:xwe,oncoming_taxi:wwe,car:kwe,red_car:Cwe,oncoming_automobile:Ewe,blue_car:Awe,pickup_truck:Swe,truck:Twe,articulated_lorry:Mwe,tractor:Dwe,racing_car:Lwe,motorcycle:Owe,motor_scooter:jwe,manual_wheelchair:Rwe,motorized_wheelchair:Pwe,auto_rickshaw:Iwe,bike:Fwe,kick_scooter:$we,skateboard:qwe,roller_skate:zwe,busstop:Bwe,motorway:Nwe,railway_track:Uwe,oil_drum:Hwe,fuelpump:Vwe,rotating_light:Gwe,traffic_light:Kwe,vertical_traffic_light:Wwe,stop_sign:Zwe,construction:Jwe,anchor:Ywe,boat:Qwe,sailboat:Xwe,canoe:eke,speedboat:tke,passenger_ship:nke,ferry:ske,motor_boat:oke,ship:rke,airplane:ike,small_airplane:ake,flight_departure:lke,flight_arrival:cke,parachute:uke,seat:dke,helicopter:hke,suspension_railway:fke,mountain_cableway:pke,aerial_tramway:gke,artificial_satellite:mke,rocket:_ke,flying_saucer:yke,bellhop_bell:bke,luggage:vke,hourglass:xke,hourglass_flowing_sand:wke,watch:kke,alarm_clock:Cke,stopwatch:Eke,timer_clock:Ake,mantelpiece_clock:Ske,clock12:Tke,clock1230:Mke,clock1:Dke,clock130:Lke,clock2:Oke,clock230:jke,clock3:Rke,clock330:Pke,clock4:Ike,clock430:Fke,clock5:$ke,clock530:qke,clock6:zke,clock630:Bke,clock7:Nke,clock730:Uke,clock8:Hke,clock830:Vke,clock9:Gke,clock930:Kke,clock10:Wke,clock1030:Zke,clock11:Jke,clock1130:Yke,new_moon:Qke,waxing_crescent_moon:Xke,first_quarter_moon:e5e,moon:t5e,waxing_gibbous_moon:n5e,full_moon:s5e,waning_gibbous_moon:o5e,last_quarter_moon:r5e,waning_crescent_moon:i5e,crescent_moon:a5e,new_moon_with_face:l5e,first_quarter_moon_with_face:c5e,last_quarter_moon_with_face:u5e,thermometer:d5e,sunny:h5e,full_moon_with_face:f5e,sun_with_face:p5e,ringed_planet:g5e,star:m5e,star2:_5e,stars:y5e,milky_way:b5e,cloud:v5e,partly_sunny:x5e,cloud_with_lightning_and_rain:w5e,sun_behind_small_cloud:k5e,sun_behind_large_cloud:C5e,sun_behind_rain_cloud:E5e,cloud_with_rain:A5e,cloud_with_snow:S5e,cloud_with_lightning:T5e,tornado:M5e,fog:D5e,wind_face:L5e,cyclone:O5e,rainbow:j5e,closed_umbrella:R5e,open_umbrella:P5e,umbrella:I5e,parasol_on_ground:F5e,zap:$5e,snowflake:q5e,snowman_with_snow:z5e,snowman:B5e,comet:N5e,fire:U5e,droplet:H5e,ocean:V5e,jack_o_lantern:G5e,christmas_tree:K5e,fireworks:W5e,sparkler:Z5e,firecracker:J5e,sparkles:Y5e,balloon:Q5e,tada:X5e,confetti_ball:e4e,tanabata_tree:t4e,bamboo:n4e,dolls:s4e,flags:o4e,wind_chime:r4e,rice_scene:i4e,red_envelope:a4e,ribbon:l4e,gift:c4e,reminder_ribbon:u4e,tickets:d4e,ticket:h4e,medal_military:f4e,trophy:p4e,medal_sports:g4e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:m4e,baseball:_4e,softball:y4e,basketball:b4e,volleyball:v4e,football:x4e,rugby_football:w4e,tennis:k4e,flying_disc:C4e,bowling:E4e,cricket_game:A4e,field_hockey:S4e,ice_hockey:T4e,lacrosse:M4e,ping_pong:D4e,badminton:L4e,boxing_glove:O4e,martial_arts_uniform:j4e,goal_net:R4e,golf:P4e,ice_skate:I4e,fishing_pole_and_fish:F4e,diving_mask:$4e,running_shirt_with_sash:q4e,ski:z4e,sled:B4e,curling_stone:N4e,dart:U4e,yo_yo:H4e,kite:V4e,"8ball":"🎱",crystal_ball:G4e,magic_wand:K4e,nazar_amulet:W4e,video_game:Z4e,joystick:J4e,slot_machine:Y4e,game_die:Q4e,jigsaw:X4e,teddy_bear:e3e,pinata:t3e,nesting_dolls:n3e,spades:s3e,hearts:o3e,diamonds:r3e,clubs:i3e,chess_pawn:a3e,black_joker:l3e,mahjong:c3e,flower_playing_cards:u3e,performing_arts:d3e,framed_picture:h3e,art:f3e,thread:p3e,sewing_needle:g3e,yarn:m3e,knot:_3e,eyeglasses:y3e,dark_sunglasses:b3e,goggles:v3e,lab_coat:x3e,safety_vest:w3e,necktie:k3e,shirt:C3e,tshirt:E3e,jeans:A3e,scarf:S3e,gloves:T3e,coat:M3e,socks:D3e,dress:L3e,kimono:O3e,sari:j3e,one_piece_swimsuit:R3e,swim_brief:P3e,shorts:I3e,bikini:F3e,womans_clothes:$3e,purse:q3e,handbag:z3e,pouch:B3e,shopping:N3e,school_satchel:U3e,thong_sandal:H3e,mans_shoe:V3e,shoe:G3e,athletic_shoe:K3e,hiking_boot:W3e,flat_shoe:Z3e,high_heel:J3e,sandal:Y3e,ballet_shoes:Q3e,boot:X3e,crown:e8e,womans_hat:t8e,tophat:n8e,mortar_board:s8e,billed_cap:o8e,military_helmet:r8e,rescue_worker_helmet:i8e,prayer_beads:a8e,lipstick:l8e,ring:c8e,gem:u8e,mute:d8e,speaker:h8e,sound:f8e,loud_sound:p8e,loudspeaker:g8e,mega:m8e,postal_horn:_8e,bell:y8e,no_bell:b8e,musical_score:v8e,musical_note:x8e,notes:w8e,studio_microphone:k8e,level_slider:C8e,control_knobs:E8e,microphone:A8e,headphones:S8e,radio:T8e,saxophone:M8e,accordion:D8e,guitar:L8e,musical_keyboard:O8e,trumpet:j8e,violin:R8e,banjo:P8e,drum:I8e,long_drum:F8e,iphone:$8e,calling:q8e,phone:z8e,telephone:B8e,telephone_receiver:N8e,pager:U8e,fax:H8e,battery:V8e,electric_plug:G8e,computer:K8e,desktop_computer:W8e,printer:Z8e,keyboard:J8e,computer_mouse:Y8e,trackball:Q8e,minidisc:X8e,floppy_disk:e9e,cd:t9e,dvd:n9e,abacus:s9e,movie_camera:o9e,film_strip:r9e,film_projector:i9e,clapper:a9e,tv:l9e,camera:c9e,camera_flash:u9e,video_camera:d9e,vhs:h9e,mag:f9e,mag_right:p9e,candle:g9e,bulb:m9e,flashlight:_9e,izakaya_lantern:y9e,lantern:b9e,diya_lamp:v9e,notebook_with_decorative_cover:x9e,closed_book:w9e,book:k9e,open_book:C9e,green_book:E9e,blue_book:A9e,orange_book:S9e,books:T9e,notebook:M9e,ledger:D9e,page_with_curl:L9e,scroll:O9e,page_facing_up:j9e,newspaper:R9e,newspaper_roll:P9e,bookmark_tabs:I9e,bookmark:F9e,label:$9e,moneybag:q9e,coin:z9e,yen:B9e,dollar:N9e,euro:U9e,pound:H9e,money_with_wings:V9e,credit_card:G9e,receipt:K9e,chart:W9e,envelope:Z9e,email:J9e,"e-mail":"📧",incoming_envelope:Y9e,envelope_with_arrow:Q9e,outbox_tray:X9e,inbox_tray:eCe,package:"📦",mailbox:tCe,mailbox_closed:nCe,mailbox_with_mail:sCe,mailbox_with_no_mail:oCe,postbox:rCe,ballot_box:iCe,pencil2:aCe,black_nib:lCe,fountain_pen:cCe,pen:uCe,paintbrush:dCe,crayon:hCe,memo:fCe,pencil:pCe,briefcase:gCe,file_folder:mCe,open_file_folder:_Ce,card_index_dividers:yCe,date:bCe,calendar:vCe,spiral_notepad:xCe,spiral_calendar:wCe,card_index:kCe,chart_with_upwards_trend:CCe,chart_with_downwards_trend:ECe,bar_chart:ACe,clipboard:SCe,pushpin:TCe,round_pushpin:MCe,paperclip:DCe,paperclips:LCe,straight_ruler:OCe,triangular_ruler:jCe,scissors:RCe,card_file_box:PCe,file_cabinet:ICe,wastebasket:FCe,lock:$Ce,unlock:qCe,lock_with_ink_pen:zCe,closed_lock_with_key:BCe,key:NCe,old_key:UCe,hammer:HCe,axe:VCe,pick:GCe,hammer_and_pick:KCe,hammer_and_wrench:WCe,dagger:ZCe,crossed_swords:JCe,gun:YCe,boomerang:QCe,bow_and_arrow:XCe,shield:e6e,carpentry_saw:t6e,wrench:n6e,screwdriver:s6e,nut_and_bolt:o6e,gear:r6e,clamp:i6e,balance_scale:a6e,probing_cane:l6e,link:c6e,chains:u6e,hook:d6e,toolbox:h6e,magnet:f6e,ladder:p6e,alembic:g6e,test_tube:m6e,petri_dish:_6e,dna:y6e,microscope:b6e,telescope:v6e,satellite:x6e,syringe:w6e,drop_of_blood:k6e,pill:C6e,adhesive_bandage:E6e,stethoscope:A6e,door:S6e,elevator:T6e,mirror:M6e,window:D6e,bed:L6e,couch_and_lamp:O6e,chair:j6e,toilet:R6e,plunger:P6e,shower:I6e,bathtub:F6e,mouse_trap:$6e,razor:q6e,lotion_bottle:z6e,safety_pin:B6e,broom:N6e,basket:U6e,roll_of_paper:H6e,bucket:V6e,soap:G6e,toothbrush:K6e,sponge:W6e,fire_extinguisher:Z6e,shopping_cart:J6e,smoking:Y6e,coffin:Q6e,headstone:X6e,funeral_urn:eEe,moyai:tEe,placard:nEe,atm:sEe,put_litter_in_its_place:oEe,potable_water:rEe,wheelchair:iEe,mens:aEe,womens:lEe,restroom:cEe,baby_symbol:uEe,wc:dEe,passport_control:hEe,customs:fEe,baggage_claim:pEe,left_luggage:gEe,warning:mEe,children_crossing:_Ee,no_entry:yEe,no_entry_sign:bEe,no_bicycles:vEe,no_smoking:xEe,do_not_litter:wEe,"non-potable_water":"🚱",no_pedestrians:kEe,no_mobile_phones:CEe,underage:EEe,radioactive:AEe,biohazard:SEe,arrow_up:TEe,arrow_upper_right:MEe,arrow_right:DEe,arrow_lower_right:LEe,arrow_down:OEe,arrow_lower_left:jEe,arrow_left:REe,arrow_upper_left:PEe,arrow_up_down:IEe,left_right_arrow:FEe,leftwards_arrow_with_hook:$Ee,arrow_right_hook:qEe,arrow_heading_up:zEe,arrow_heading_down:BEe,arrows_clockwise:NEe,arrows_counterclockwise:UEe,back:HEe,end:VEe,on:GEe,soon:KEe,top:WEe,place_of_worship:ZEe,atom_symbol:JEe,om:YEe,star_of_david:QEe,wheel_of_dharma:XEe,yin_yang:e7e,latin_cross:t7e,orthodox_cross:n7e,star_and_crescent:s7e,peace_symbol:o7e,menorah:r7e,six_pointed_star:i7e,aries:a7e,taurus:l7e,gemini:c7e,cancer:u7e,leo:d7e,virgo:h7e,libra:f7e,scorpius:p7e,sagittarius:g7e,capricorn:m7e,aquarius:_7e,pisces:y7e,ophiuchus:b7e,twisted_rightwards_arrows:v7e,repeat:x7e,repeat_one:w7e,arrow_forward:k7e,fast_forward:C7e,next_track_button:E7e,play_or_pause_button:A7e,arrow_backward:S7e,rewind:T7e,previous_track_button:M7e,arrow_up_small:D7e,arrow_double_up:L7e,arrow_down_small:O7e,arrow_double_down:j7e,pause_button:R7e,stop_button:P7e,record_button:I7e,eject_button:F7e,cinema:$7e,low_brightness:q7e,high_brightness:z7e,signal_strength:B7e,vibration_mode:N7e,mobile_phone_off:U7e,female_sign:H7e,male_sign:V7e,transgender_symbol:G7e,heavy_multiplication_x:K7e,heavy_plus_sign:W7e,heavy_minus_sign:Z7e,heavy_division_sign:J7e,infinity:Y7e,bangbang:Q7e,interrobang:X7e,question:eAe,grey_question:tAe,grey_exclamation:nAe,exclamation:sAe,heavy_exclamation_mark:oAe,wavy_dash:rAe,currency_exchange:iAe,heavy_dollar_sign:aAe,medical_symbol:lAe,recycle:cAe,fleur_de_lis:uAe,trident:dAe,name_badge:hAe,beginner:fAe,o:pAe,white_check_mark:gAe,ballot_box_with_check:mAe,heavy_check_mark:_Ae,x:yAe,negative_squared_cross_mark:bAe,curly_loop:vAe,loop:xAe,part_alternation_mark:wAe,eight_spoked_asterisk:kAe,eight_pointed_black_star:CAe,sparkle:EAe,copyright:AAe,registered:SAe,tm:TAe,hash:MAe,asterisk:DAe,zero:LAe,one:OAe,two:jAe,three:RAe,four:PAe,five:IAe,six:FAe,seven:$Ae,eight:qAe,nine:zAe,keycap_ten:BAe,capital_abcd:NAe,abcd:UAe,symbols:HAe,abc:VAe,a:GAe,ab:KAe,b:WAe,cl:ZAe,cool:JAe,free:YAe,information_source:QAe,id:XAe,m:eSe,new:"🆕",ng:tSe,o2:nSe,ok:sSe,parking:oSe,sos:rSe,up:iSe,vs:aSe,koko:lSe,sa:cSe,ideograph_advantage:uSe,accept:dSe,congratulations:hSe,secret:fSe,u6e80:pSe,red_circle:gSe,orange_circle:mSe,yellow_circle:_Se,green_circle:ySe,large_blue_circle:bSe,purple_circle:vSe,brown_circle:xSe,black_circle:wSe,white_circle:kSe,red_square:CSe,orange_square:ESe,yellow_square:ASe,green_square:SSe,blue_square:TSe,purple_square:MSe,brown_square:DSe,black_large_square:LSe,white_large_square:OSe,black_medium_square:jSe,white_medium_square:RSe,black_medium_small_square:PSe,white_medium_small_square:ISe,black_small_square:FSe,white_small_square:$Se,large_orange_diamond:qSe,large_blue_diamond:zSe,small_orange_diamond:BSe,small_blue_diamond:NSe,small_red_triangle:USe,small_red_triangle_down:HSe,diamond_shape_with_a_dot_inside:VSe,radio_button:GSe,white_square_button:KSe,black_square_button:WSe,checkered_flag:ZSe,triangular_flag_on_post:JSe,crossed_flags:YSe,black_flag:QSe,white_flag:XSe,rainbow_flag:eTe,transgender_flag:tTe,pirate_flag:nTe,ascension_island:sTe,andorra:oTe,united_arab_emirates:rTe,afghanistan:iTe,antigua_barbuda:aTe,anguilla:lTe,albania:cTe,armenia:uTe,angola:dTe,antarctica:hTe,argentina:fTe,american_samoa:pTe,austria:gTe,australia:mTe,aruba:_Te,aland_islands:yTe,azerbaijan:bTe,bosnia_herzegovina:vTe,barbados:xTe,bangladesh:wTe,belgium:kTe,burkina_faso:CTe,bulgaria:ETe,bahrain:ATe,burundi:STe,benin:TTe,st_barthelemy:MTe,bermuda:DTe,brunei:LTe,bolivia:OTe,caribbean_netherlands:jTe,brazil:RTe,bahamas:PTe,bhutan:ITe,bouvet_island:FTe,botswana:$Te,belarus:qTe,belize:zTe,canada:BTe,cocos_islands:NTe,congo_kinshasa:UTe,central_african_republic:HTe,congo_brazzaville:VTe,switzerland:GTe,cote_divoire:KTe,cook_islands:WTe,chile:ZTe,cameroon:JTe,cn:YTe,colombia:QTe,clipperton_island:XTe,costa_rica:eMe,cuba:tMe,cape_verde:nMe,curacao:sMe,christmas_island:oMe,cyprus:rMe,czech_republic:iMe,de:aMe,diego_garcia:lMe,djibouti:cMe,denmark:uMe,dominica:dMe,dominican_republic:hMe,algeria:fMe,ceuta_melilla:pMe,ecuador:gMe,estonia:mMe,egypt:_Me,western_sahara:yMe,eritrea:bMe,es:vMe,ethiopia:xMe,eu:wMe,european_union:kMe,finland:CMe,fiji:EMe,falkland_islands:AMe,micronesia:SMe,faroe_islands:TMe,fr:MMe,gabon:DMe,gb:LMe,uk:OMe,grenada:jMe,georgia:RMe,french_guiana:PMe,guernsey:IMe,ghana:FMe,gibraltar:$Me,greenland:qMe,gambia:zMe,guinea:BMe,guadeloupe:NMe,equatorial_guinea:UMe,greece:HMe,south_georgia_south_sandwich_islands:VMe,guatemala:GMe,guam:KMe,guinea_bissau:WMe,guyana:ZMe,hong_kong:JMe,heard_mcdonald_islands:YMe,honduras:QMe,croatia:XMe,haiti:eDe,hungary:tDe,canary_islands:nDe,indonesia:sDe,ireland:oDe,israel:rDe,isle_of_man:iDe,india:aDe,british_indian_ocean_territory:lDe,iraq:cDe,iran:uDe,iceland:dDe,it:hDe,jersey:fDe,jamaica:pDe,jordan:gDe,jp:mDe,kenya:_De,kyrgyzstan:yDe,cambodia:bDe,kiribati:vDe,comoros:xDe,st_kitts_nevis:wDe,north_korea:kDe,kr:CDe,kuwait:EDe,cayman_islands:ADe,kazakhstan:SDe,laos:TDe,lebanon:MDe,st_lucia:DDe,liechtenstein:LDe,sri_lanka:ODe,liberia:jDe,lesotho:RDe,lithuania:PDe,luxembourg:IDe,latvia:FDe,libya:$De,morocco:qDe,monaco:zDe,moldova:BDe,montenegro:NDe,st_martin:UDe,madagascar:HDe,marshall_islands:VDe,macedonia:GDe,mali:KDe,myanmar:WDe,mongolia:ZDe,macau:JDe,northern_mariana_islands:YDe,martinique:QDe,mauritania:XDe,montserrat:eLe,malta:tLe,mauritius:nLe,maldives:sLe,malawi:oLe,mexico:rLe,malaysia:iLe,mozambique:aLe,namibia:lLe,new_caledonia:cLe,niger:uLe,norfolk_island:dLe,nigeria:hLe,nicaragua:fLe,netherlands:pLe,norway:gLe,nepal:mLe,nauru:_Le,niue:yLe,new_zealand:bLe,oman:vLe,panama:xLe,peru:wLe,french_polynesia:kLe,papua_new_guinea:CLe,philippines:ELe,pakistan:ALe,poland:SLe,st_pierre_miquelon:TLe,pitcairn_islands:MLe,puerto_rico:DLe,palestinian_territories:LLe,portugal:OLe,palau:jLe,paraguay:RLe,qatar:PLe,reunion:ILe,romania:FLe,serbia:$Le,ru:qLe,rwanda:zLe,saudi_arabia:BLe,solomon_islands:NLe,seychelles:ULe,sudan:HLe,sweden:VLe,singapore:GLe,st_helena:KLe,slovenia:WLe,svalbard_jan_mayen:ZLe,slovakia:JLe,sierra_leone:YLe,san_marino:QLe,senegal:XLe,somalia:eOe,suriname:tOe,south_sudan:nOe,sao_tome_principe:sOe,el_salvador:oOe,sint_maarten:rOe,syria:iOe,swaziland:aOe,tristan_da_cunha:lOe,turks_caicos_islands:cOe,chad:uOe,french_southern_territories:dOe,togo:hOe,thailand:fOe,tajikistan:pOe,tokelau:gOe,timor_leste:mOe,turkmenistan:_Oe,tunisia:yOe,tonga:bOe,tr:vOe,trinidad_tobago:xOe,tuvalu:wOe,taiwan:kOe,tanzania:COe,ukraine:EOe,uganda:AOe,us_outlying_islands:SOe,united_nations:TOe,us:MOe,uruguay:DOe,uzbekistan:LOe,vatican_city:OOe,st_vincent_grenadines:jOe,venezuela:ROe,british_virgin_islands:POe,us_virgin_islands:IOe,vietnam:FOe,vanuatu:$Oe,wallis_futuna:qOe,samoa:zOe,kosovo:BOe,yemen:NOe,mayotte:UOe,south_africa:HOe,zambia:VOe,zimbabwe:GOe,england:KOe,scotland:WOe,wales:ZOe};var YOe={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:[";)",";-)"]},QOe=function(e,n){return e[n].content},XOe=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 g,p=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>p&&(g=new f("text","",0),g.content=u.slice(p,v),m.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],m.push(g),p=v+w.length}),p<u.length&&(g=new f("text","",0),g.content=u.slice(p),m.push(g)),m}return function(h){var f,g,p,m,w,v=h.tokens,y=0;for(g=0,p=v.length;g<p;g++)if(v[g].type==="inline")for(m=v[g].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[g].children=m=i(m,f,c(w.content,w.level,h.Token)))}};function eje(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var tje=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 eje(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},nje=QOe,sje=XOe,oje=tje,rje=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=oje(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=nje,e.core.ruler.after("linkify","emoji",sje(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},ije=JOe,aje=YOe,lje=rje,cje=function(e,n){var s={defs:ije,shortcuts:aje,enabled:[]},o=e.utils.assign({},s,n||{});lje(e,o)};const uje=js(cje);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 Lu{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 wn(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 dje="</span>",Ou=t=>!!t.scope,hje=(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 fje{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=qf(e)}openNode(e){if(!Ou(e))return;const n=hje(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Ou(e)&&(this.buffer+=dje)}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 pje 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 fje(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 gje(t){return Qn("(?:",t,")*")}function mje(t){return Qn("(?:",t,")?")}function Qn(...t){return t.map(n=>go(n)).join("")}function _je(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"("+(_je(t).capture?"":"?:")+t.map(s=>go(s)).join("|")+")"}function Bf(t){return new RegExp(t.toString()+"|").exec("").length-1}function yje(t,e){const n=t&&t.exec(e);return n&&n.index===0}const bje=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([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=bje.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 vje=/\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]+)",xje="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",wje=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Qn(e,/.*\b/,t.binary,/\b.*/)),wn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},mo={begin:"\\\\[\\s\\S]",relevance:0},kje={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[mo]},Cje={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[mo]},Eje={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/},oi=function(t,e,n={}){const s=wn({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},Aje=oi("//","$"),Sje=oi("/\\*","\\*/"),Tje=oi("#","$"),Mje={scope:"number",begin:Uf,relevance:0},Dje={scope:"number",begin:Hf,relevance:0},Lje={scope:"number",begin:Vf,relevance:0},Oje={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[mo,{begin:/\[/,end:/\]/,relevance:0,contains:[mo]}]}]},jje={scope:"title",begin:Nf,relevance:0},Rje={scope:"title",begin:_l,relevance:0},Pje={begin:"\\.\\s*"+_l,relevance:0},Ije=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:vje,IDENT_RE:Nf,UNDERSCORE_IDENT_RE:_l,NUMBER_RE:Uf,C_NUMBER_RE:Hf,BINARY_NUMBER_RE:Vf,RE_STARTERS_RE:xje,SHEBANG:wje,BACKSLASH_ESCAPE:mo,APOS_STRING_MODE:kje,QUOTE_STRING_MODE:Cje,PHRASAL_WORDS_MODE:Eje,COMMENT:oi,C_LINE_COMMENT_MODE:Aje,C_BLOCK_COMMENT_MODE:Sje,HASH_COMMENT_MODE:Tje,NUMBER_MODE:Mje,C_NUMBER_MODE:Dje,BINARY_NUMBER_MODE:Lje,REGEXP_MODE:Oje,TITLE_MODE:jje,UNDERSCORE_TITLE_MODE:Rje,METHOD_GUARD:Pje,END_SAME_AS_BEGIN:Ije});function Fje(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function $je(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function qje(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Fje,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function zje(t,e){Array.isArray(t.illegal)&&(t.illegal=gl(...t.illegal))}function Bje(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 Nje(t,e){t.relevance===void 0&&(t.relevance=1)}const Uje=(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},Hje=["of","and","for","in","not","or","if","then","parent","list","value"],Vje="keyword";function Gf(t,e,n=Vje){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,Gje(l[0],l[1])]})}}function Gje(t,e){return e?Number(e):Kje(t)?0:1}function Kje(t){return Hje.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 Wje(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 Zje(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 Jje(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Yje(t){Jje(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Wje(t),Zje(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;[$je,Bje,Yje,Uje].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[qje,zje,Nje].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 Xje(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=wn(t.classNameAliases||{}),r(t)}function Wf(t){return t?t.endsWithParent||Wf(t.starts):!1}function Xje(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return wn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Wf(t)?wn(t,{starts:t.starts?wn(t.starts):null}):Object.isFrozen(t)?wn(t):t}var eRe="11.8.0";class tRe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const $i=qf,Iu=wn,Fu=Symbol("nomatch"),nRe=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:pje};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 ee={code:me,language:pe};he("before:highlight",ee);const be=ee.result?ee.result:h(ee.language,ee.code,V);return be.code=ee.code,he("after:highlight",be),be}function h(A,N,V,me){const pe=Object.create(null);function ee(H,ne){return H.keywords[ne]}function be(){if(!P.keywords){B.addText(K);return}let H=0;P.keywordPatternRe.lastIndex=0;let ne=P.keywordPatternRe.exec(K),ue="";for(;ne;){ue+=K.substring(H,ne.index);const xe=R.case_insensitive?ne[0].toLowerCase():ne[0],Pe=ee(P,xe);if(Pe){const[Ne,gt]=Pe;if(B.addText(ue),ue="",pe[xe]=(pe[xe]||0)+1,pe[xe]<=nRe&&(re+=gt),Ne.startsWith("_"))ue+=ne[0];else{const Je=R.classNameAliases[Ne]||Ne;W(ne[0],Je)}}else ue+=ne[0];H=P.keywordPatternRe.lastIndex,ne=P.keywordPatternRe.exec(K)}ue+=K.substring(H),B.addText(ue)}function Ce(){if(K==="")return;let H=null;if(typeof P.subLanguage=="string"){if(!e[P.subLanguage]){B.addText(K);return}H=h(P.subLanguage,K,!0,te[P.subLanguage]),te[P.subLanguage]=H._top}else H=g(K,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(re+=H.relevance),B.__addSublanguage(H._emitter,H.language)}function D(){P.subLanguage!=null?Ce():be(),K=""}function W(H,ne){H!==""&&(B.startScope(ne),B.addText(H),B.endScope())}function J(H,ne){let ue=1;const xe=ne.length-1;for(;ue<=xe;){if(!H._emit[ue]){ue++;continue}const Pe=R.classNameAliases[H[ue]]||H[ue],Ne=ne[ue];Pe?W(Ne,Pe):(K=Ne,be(),K=""),ue++}}function ie(H,ne){return H.scope&&typeof H.scope=="string"&&B.openNode(R.classNameAliases[H.scope]||H.scope),H.beginScope&&(H.beginScope._wrap?(W(K,R.classNameAliases[H.beginScope._wrap]||H.beginScope._wrap),K=""):H.beginScope._multi&&(J(H.beginScope,ne),K="")),P=Object.create(H,{parent:{value:P}}),P}function se(H,ne,ue){let xe=yje(H.endRe,ue);if(xe){if(H["on:end"]){const Pe=new Lu(H);H["on:end"](ne,Pe),Pe.isMatchIgnored&&(xe=!1)}if(xe){for(;H.endsParent&&H.parent;)H=H.parent;return H}}if(H.endsWithParent)return se(H.parent,ne,ue)}function ge(H){return P.matcher.regexIndex===0?(K+=H[0],1):(ve=!0,0)}function de(H){const ne=H[0],ue=H.rule,xe=new Lu(ue),Pe=[ue.__beforeBegin,ue["on:begin"]];for(const Ne of Pe)if(Ne&&(Ne(H,xe),xe.isMatchIgnored))return ge(ne);return ue.skip?K+=ne:(ue.excludeBegin&&(K+=ne),D(),!ue.returnBegin&&!ue.excludeBegin&&(K=ne)),ie(ue,H),ue.returnBegin?0:ne.length}function _(H){const ne=H[0],ue=N.substring(H.index),xe=se(P,H,ue);if(!xe)return Fu;const Pe=P;P.endScope&&P.endScope._wrap?(D(),W(ne,P.endScope._wrap)):P.endScope&&P.endScope._multi?(D(),J(P.endScope,H)):Pe.skip?K+=ne:(Pe.returnEnd||Pe.excludeEnd||(K+=ne),D(),Pe.excludeEnd&&(K=ne));do P.scope&&B.closeNode(),!P.skip&&!P.subLanguage&&(re+=P.relevance),P=P.parent;while(P!==xe.parent);return xe.starts&&ie(xe.starts,H),Pe.returnEnd?0:ne.length}function C(){const H=[];for(let ne=P;ne!==R;ne=ne.parent)ne.scope&&H.unshift(ne.scope);H.forEach(ne=>B.openNode(ne))}let O={};function j(H,ne){const ue=ne&&ne[0];if(K+=H,ue==null)return D(),0;if(O.type==="begin"&&ne.type==="end"&&O.index===ne.index&&ue===""){if(K+=N.slice(ne.index,ne.index+1),!o){const xe=new Error(`0 width match regex (${A})`);throw xe.languageName=A,xe.badRule=O.rule,xe}return 1}if(O=ne,ne.type==="begin")return de(ne);if(ne.type==="illegal"&&!V){const xe=new Error('Illegal lexeme "'+ue+'" for mode "'+(P.scope||"<unnamed>")+'"');throw xe.mode=P,xe}else if(ne.type==="end"){const xe=_(ne);if(xe!==Fu)return xe}if(ne.type==="illegal"&&ue==="")return 1;if(ae>1e5&&ae>ne.index*3)throw new Error("potential infinite loop, way more iterations than matches");return K+=ue,ue.length}const R=k(A);if(!R)throw Gn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const Y=Qje(R);let oe="",P=me||Y;const te={},B=new a.__emitter(a);C();let K="",re=0,ce=0,ae=0,ve=!1;try{if(R.__emitTokens)R.__emitTokens(N,B);else{for(P.matcher.considerAll();;){ae++,ve?ve=!1:P.matcher.considerAll(),P.matcher.lastIndex=ce;const H=P.matcher.exec(N);if(!H)break;const ne=N.substring(ce,H.index),ue=j(ne,H);ce=H.index+ue}j(N.substring(ce))}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:$i(N),illegal:!0,relevance:0,_illegalBy:{message:H.message,index:ce,context:N.slice(ce-100,ce+100),mode:H.mode,resultSoFar:oe},_emitter:B};if(o)return{language:A,value:$i(N),illegal:!1,relevance:0,errorRaised:H,_emitter:B,_top:P};throw H}}function f(A){const N={value:$i(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return N._emitter.addText(A),N}function g(A,N){N=N||a.languages||Object.keys(e);const V=f(A),me=N.filter(k).filter(z).map(D=>h(D,A,!1));me.unshift(V);const pe=me.sort((D,W)=>{if(D.relevance!==W.relevance)return W.relevance-D.relevance;if(D.language&&W.language){if(k(D.language).supersetOf===W.language)return 1;if(k(W.language).supersetOf===D.language)return-1}return 0}),[ee,be]=pe,Ce=ee;return Ce.secondBest=be,Ce}function p(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 tRe("One of your code blocks includes unescaped HTML.",A.innerHTML);N=A;const me=N.textContent,pe=V?u(me,{language:V,ignoreIllegals:!0}):g(me);A.innerHTML=pe.value,p(A,V,pe.language),A.result={language:pe.language,re:pe.relevance,relevance:pe.relevance},pe.secondBest&&(A.secondBest={language:pe.secondBest.language,relevance:pe.secondBest.relevance}),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 M(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 Q(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 X(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:g,highlightAll:E,highlightElement:m,highlightBlock:X,configure:w,initHighlighting:v,initHighlightingOnLoad:y,registerLanguage:M,unregisterLanguage:q,listLanguages:b,getLanguage:k,registerAliases:S,autoDetection:z,inherit:Iu,addPlugin:Q,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=eRe,t.regex={concat:Qn,lookahead:zf,either:gl,optional:mje,anyNumberOfTimes:gje};for(const A in zo)typeof zo[A]=="object"&&$f(zo[A]);return Object.assign(t,zo),t},ws=Zf({});ws.newInstance=()=>Zf({});var sRe=ws;ws.HighlightJS=ws;ws.default=ws;const $u=js(sRe);var Tn={};Tn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",h=!0,f=!1;for(let g=e+n.leftDelimiter.length;g<t.length;g++){if(t.slice(g,g+n.rightDelimiter.length)===n.rightDelimiter){c!==""&&l.push([c,u]);break}const p=t.charAt(g);if(p===r&&h){h=!1;continue}if(p===i&&c===""){t.charAt(g+1)===i?(c="css-module",g+=1):c="class",h=!1;continue}if(p===a&&c===""){c="id",h=!1;continue}if(p==='"'&&u===""&&!f){f=!0;continue}if(p==='"'&&f){f=!1;continue}if(p===o&&!f){if(c==="")continue;l.push([c,u]),c="",u="",h=!0;continue}if(!(h&&p.search(s)===-1)){if(h){c+=p;continue}u+=p}}if(n.allowedAttributes&&n.allowedAttributes.length){const g=n.allowedAttributes;return l.filter(function(p){const m=p[0];function w(v){return m===v||v instanceof RegExp&&v.test(m)}return g.some(w)})}return l};Tn.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};Tn.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))}};Tn.removeDelimiter=function(t,e){const n=ga(e.leftDelimiter),s=ga(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function ga(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Tn.escapeRegExp=ga;Tn.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 oRe=/[&<>"]/,rRe=/[&<>"]/g,iRe={"&":"&","<":"<",">":">",'"':"""};function aRe(t){return iRe[t]}Tn.escapeHtml=function(t){return oRe.test(t)?t.replace(rRe,aRe):t};const Me=Tn;var lRe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Me.escapeRegExp(t.leftDelimiter)+"[^"+Me.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Me.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Me.getAttrs(o.info,r,t);Me.addAttrs(i,o),o.info=Me.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:Me.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=Me.getAttrs(r.content,0,t);Me.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:Me.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Me.getMatchingOpeningToken(n,s),i=Me.getAttrs(o.content,0,t);Me.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:Me.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Me.getAttrs(i,0,t),l=Me.getMatchingOpeningToken(n[s].children,o-1);Me.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:Me.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Me.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--;Me.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:Me.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Me.getAttrs(r,0,t),a=Me.getMatchingOpeningToken(n,s);Me.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:Me.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Me.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Me.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:Me.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Me.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Me.getMatchingOpeningToken(n,a);Me.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=Me.getAttrs(r,i,t);Me.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Me.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=Me.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Me.getMatchingOpeningToken(n,l);Me.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 cRe=lRe,uRe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var dRe=function(e,n){let s=Object.assign({},uRe);s=Object.assign(s,n);const o=cRe(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(g=>{const p=ma(a,l,g);return p.j!==null&&(h=p.j),p.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 ma(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=pRe(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"&&hRe(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=>ma(c,u.position,u).match),a){const u=gRe(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;u<c.length;u++)if(a=l.every(h=>ma(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(fRe(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 hRe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function fRe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function pRe(t,e){return e>=0?t[e]:t[t.length+e]}function gRe(t){return t.slice(-1)[0]||{}}const mRe=js(dRe);function _Re(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const _r=new ice("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=_Re();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">'+_r.utils.escapeHtml(t)+"</code></pre></div>"}}).use(uje).use(mRe);_r.renderer.rules.link_open=(t,e,n,s,o)=>{const r=t[e],i=r.attrIndex("href");if(i>=0){const a=r.attrs[i][1];r.attrs[i][1]=a,r.attrPush(["style","color: blue; font-weight: bold; text-decoration: underline;"])}return o.renderToken(t,e,n)};const yRe={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=_r.render(this.markdownText),fe(()=>{we.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=_r.render(t),fe(()=>{we.replace()})}}},bRe={class:"break-all"},vRe=["innerHTML"];function xRe(t,e,n,s,o,r){return T(),L("div",bRe,[d("div",{innerHTML:o.renderedMarkdown,class:""},null,8,vRe)])}const wRe=Ge(yRe,[["render",xRe]]);const kRe="/",CRe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:wRe},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(()=>{we.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:sv:this.avatar?kRe+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(()=>{we.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),fe(()=>{we.replace()})},deleteMsgMode(){fe(()=>{we.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"}}},ERe={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"},ARe={class:"flex flex-row gap-2"},SRe={class:"flex-shrink-0"},TRe=["src"],MRe={class:"flex flex-col w-full flex-grow-0"},DRe={class:"flex flex-row flex-grow items-start"},LRe={class:"flex flex-col mb-2"},ORe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},jRe=["title"],RRe=d("div",{class:"flex-grow"},null,-1),PRe={class:"flex-row justify-end mx-2"},IRe={class:"invisible group-hover:visible flex flex-row"},FRe={key:0,class:"flex items-center duration-75"},$Re=d("i",{"data-feather":"x"},null,-1),qRe=[$Re],zRe=d("i",{"data-feather":"check"},null,-1),BRe=[zRe],NRe=d("i",{"data-feather":"edit"},null,-1),URe=[NRe],HRe=d("i",{"data-feather":"copy"},null,-1),VRe=[HRe],GRe=d("i",{"data-feather":"refresh-cw"},null,-1),KRe=[GRe],WRe={key:2,class:"flex items-center duration-75"},ZRe=d("i",{"data-feather":"x"},null,-1),JRe=[ZRe],YRe=d("i",{"data-feather":"check"},null,-1),QRe=[YRe],XRe=d("i",{"data-feather":"trash"},null,-1),ePe=[XRe],tPe=d("i",{"data-feather":"thumbs-up"},null,-1),nPe=[tPe],sPe={class:"flex flex-row items-center"},oPe=d("i",{"data-feather":"thumbs-down"},null,-1),rPe=[oPe],iPe={class:"overflow-x-auto w-full"},aPe={class:"text-sm text-gray-400 mt-2"},lPe={class:"flex flex-row items-center gap-2"},cPe={key:0},uPe={class:"font-thin"},dPe={key:1},hPe={class:"font-thin"},fPe={key:2},pPe={class:"font-thin"},gPe={key:3},mPe=["title"];function _Pe(t,e,n,s,o,r){const i=Zt("MarkdownRenderer");return T(),L("div",ERe,[d("div",ARe,[d("div",SRe,[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,TRe)]),d("div",MRe,[d("div",DRe,[d("div",LRe,[d("div",ORe,Z(n.message.sender)+" ",1),n.message.created_at?(T(),L("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},Z(r.created_at),9,jRe)):G("",!0)]),RRe,d("div",PRe,[d("div",IRe,[o.editMsgMode?(T(),L("div",FRe,[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]=le(a=>o.editMsgMode=!1,["stop"]))},qRe),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]=le((...a)=>r.updateMessage&&r.updateMessage(...a),["stop"]))},BRe)])):G("",!0),o.editMsgMode?G("",!0):(T(),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]=le(a=>o.editMsgMode=!0,["stop"]))},URe)),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]=le(a=>r.copyContentToClipboard(),["stop"]))},VRe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=le(a=>r.resendMessage(),["stop"]))},KRe),o.deleteMsgMode?(T(),L("div",WRe,[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]=le(a=>o.deleteMsgMode=!1,["stop"]))},JRe),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]=le(a=>r.deleteMsg(),["stop"]))},QRe)])):G("",!0),o.deleteMsgMode?G("",!0):(T(),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)},ePe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=le(a=>r.rankUp(),["stop"]))},nPe),d("div",sPe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=le(a=>r.rankDown(),["stop"]))},rPe),n.message.rank!=0?(T(),L("div",{key:0,class:Te(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},Z(n.message.rank),3)):G("",!0)])])])]),d("div",iPe,[o.editMsgMode?G("",!0):(T(),at(i,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Ae((T(),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:Qt({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]]):G("",!0)]),d("div",aPe,[d("div",lPe,[n.message.binding?(T(),L("p",cPe,[ke("Binding: "),d("span",uPe,Z(n.message.binding),1)])):G("",!0),n.message.model?(T(),L("p",dPe,[ke("Model: "),d("span",hPe,Z(n.message.model),1)])):G("",!0),n.message.seed?(T(),L("p",fPe,[ke("Seed: "),d("span",pPe,Z(n.message.seed),1)])):G("",!0),r.time_spent?(T(),L("p",gPe,[ke("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},Z(r.time_spent),9,mPe)])):G("",!0)])])])])])}const Jf=Ge(CRe,[["render",_Pe]]),yPe="/";De.defaults.baseURL="/";const bPe={name:"MountedPersonalities",setup(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:yPe,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 De.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 g={};return g=h,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+h.folder,g.isMounted=f,g});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),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 De.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 De.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 De.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)}}},vPe={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"},xPe={class:"flex -space-x-4 items-center"},wPe={class:"group items-center flex flex-row"},kPe=["onClick"],CPe=["src","title"],EPe=["onClick"],APe=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),SPe=[APe];function TPe(t,e,n,s,o,r){return T(),L("div",vPe,[d("div",xPe,[(T(!0),L(Ie,null,rt(s.mountedPersArr,(i,a)=>(T(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:a+"-"+i.name},[d("div",wPe,[d("button",{onClick:le(l=>r.onPersonalitySelected(i),["stop"])},[d("img",{src:s.bUrl+i.avatar,onError:e[0]||(e[0]=(...l)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...l)),class:Te(["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,CPe)],8,kPe),d("button",{onClick:le(l=>r.onPersonalityMounted(i),["stop"])},SPe,8,EPe)])]))),128))])])}const MPe=Ge(bPe,[["render",TPe]]);const DPe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{loading:!1},components:{MountedPersonalities:MPe},setup(){},data(){return{message:"",fileList:[],totalSize:0}},methods:{computedFileSize(t){return fe(()=>{we.replace()}),Ft(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(()=>{we.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=Ft(n,!0)},deep:!0}},mounted(){fe(()=>{we.replace()})},activated(){fe(()=>{we.replace()})}},Rt=t=>(vo("data-v-6d247de3"),t=t(),xo(),t),LPe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},OPe={key:0,class:"flex items-center justify-center w-full"},jPe={class:"flex flex-row p-2 rounded-t-lg"},RPe=Rt(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),PPe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},IPe={class:"flex flex-col gap-2"},FPe={key:0,class:"flex flex-col max-h-64"},$Pe=["title"],qPe={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"},zPe=Rt(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),BPe={class:"line-clamp-1 w-3/5"},NPe=Rt(()=>d("div",{class:"grow"},null,-1)),UPe={class:"flex flex-row items-center"},HPe={class:"whitespace-nowrap"},VPe=["onClick"],GPe=Rt(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),KPe=[GPe],WPe={key:1,class:"flex items-center mx-1"},ZPe={class:"whitespace-nowrap flex flex-row gap-2"},JPe=Rt(()=>d("p",{class:"font-bold"}," Total size: ",-1)),YPe=Rt(()=>d("div",{class:"grow"},null,-1)),QPe=Rt(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),XPe=[QPe],eIe={class:"flex flex-row flex-grow items-center gap-2"},tIe={class:"relative grow"},nIe=Rt(()=>d("i",{"data-feather":"file-plus"},null,-1)),sIe=[nIe],oIe={class:"inline-flex justify-center rounded-full"},rIe=Rt(()=>d("i",{"data-feather":"send"},null,-1)),iIe=Rt(()=>d("span",{class:"sr-only"},"Send message",-1)),aIe=[rIe,iIe],lIe={key:1,title:"Waiting for reply"},cIe=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)),uIe=[cIe];function dIe(t,e,n,s,o,r){return T(),L("div",LPe,[n.loading?(T(),L("div",OPe,[d("div",jPe,[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]=le((...i)=>r.stopGenerating&&r.stopGenerating(...i),["stop"]))}," Stop generating ")])])):G("",!0),d("form",null,[RPe,d("div",PPe,[d("div",IPe,[o.fileList.length>0?(T(),L("div",FPe,[Se(En,{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(()=>[(T(!0),L(Ie,null,rt(o.fileList,(i,a)=>(T(),L("div",{key:a+"-"+i.name},[d("div",{class:"m-1",title:i.name},[d("div",qPe,[zPe,d("div",BPe,Z(i.name),1),NPe,d("div",UPe,[d("p",HPe,Z(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)},KPe,8,VPe)])])],8,$Pe)]))),128))]),_:1})])):G("",!0),o.fileList.length>0?(T(),L("div",WPe,[d("div",ZPe,[JPe,ke(" "+Z(o.totalSize)+" ("+Z(o.fileList.length)+") ",1)]),YPe,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=[])},XPe)])):G("",!0),d("div",eIe,[d("div",tIe,[Ae(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]=Yi(le(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]=le(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"},sIe)]),d("div",oIe,[n.loading?G("",!0):(T(),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"},aIe)),n.loading?(T(),L("div",lIe,uIe)):G("",!0)])])])])])])}const Yf=Ge(DPe,[["render",dIe],["__scopeId","data-v-6d247de3"]]),hIe={name:"WelcomeComponent",setup(){return{}}},fIe={class:"flex flex-col text-center"},pIe=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),gIe=[pIe];function mIe(t,e,n,s,o,r){return T(),L("div",fIe,gIe)}const Qf=Ge(hIe,[["render",mIe]]);const _Ie={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){fe(()=>{we.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(()=>{we.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(()=>{we.replace()})}}},yIe={class:"text-4xl text-center"};function bIe(t,e,n,s,o,r){return T(),at(En,{name:"list",tag:"div"},{default:Qe(()=>[o.show?(T(),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]=le(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=le(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:Te(["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",yIe,[Id(t.$slots,"default",{},()=>[ke(" Drop your files here ")])])],2)],32)):G("",!0)]),_:3})}const _a=Ge(_Ie,[["render",bIe]]);var vIe=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}(),yr=globalThis&&globalThis.__assign||function(){return yr=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},yr.apply(this,arguments)},br={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=br),this._items=e,this._options=yr(yr({},br),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||br.activeClasses,inactiveClasses:s||br.inactiveClasses})})}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)},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=vr(vr({},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 $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)},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=$n($n($n({},or),n),{indicators:$n($n({},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 xr=globalThis&&globalThis.__assign||function(){return xr=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},xr.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=xr(xr({},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",xIe="clippingParents",ap="viewport",Us="popper",wIe="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])},[]),kIe="beforeRead",CIe="read",EIe="afterRead",AIe="beforeMain",SIe="main",TIe="afterMain",MIe="beforeWrite",DIe="write",LIe="afterWrite",OIe=[kIe,CIe,EIe,AIe,SIe,TIe,MIe,DIe,LIe];function Vt(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 jIe(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)||!Vt(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 RIe(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)||!Vt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const PIe={name:"applyStyles",enabled:!0,phase:"write",fn:jIe,effect:RIe,requires:["computeStyles"]};function Nt(t){return t.split("-")[0]}var Kn=Math.max,wr=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 on(t){return pt(t).getComputedStyle(t)}function IIe(t){return["table","td","th"].indexOf(Vt(t))>=0}function Mn(t){return((Zn(t)?t.ownerDocument:t.document)||window.document).documentElement}function ri(t){return Vt(t)==="html"?t:t.assignedSlot||t.parentNode||(bl(t)?t.host:null)||Mn(t)}function Uu(t){return!wt(t)||on(t).position==="fixed"?null:t.offsetParent}function FIe(t){var e=/firefox/i.test(ya()),n=/Trident/i.test(ya());if(n&&wt(t)){var s=on(t);if(s.position==="fixed")return null}var o=ri(t);for(bl(o)&&(o=o.host);wt(o)&&["html","body"].indexOf(Vt(o))<0;){var r=on(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&&IIe(n)&&on(n).position==="static";)n=Uu(n);return n&&(Vt(n)==="html"||Vt(n)==="body"&&on(n).position==="static")?e:n||FIe(t)||e}function xl(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Qs(t,e,n){return Kn(t,wr(e,n))}function $Ie(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 qIe=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 zIe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Nt(n.placement),l=xl(a),c=[ct,Et].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var h=qIe(o.padding,n),f=vl(r),g=l==="y"?lt:ct,p=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[g],$=y-f[u]-h[p],M=y/2-f[u]/2+x,q=Qs(E,M,$),b=l;n.modifiersData[s]=(e={},e[b]=q,e.centerOffset=q-M,e)}}function BIe(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 NIe={name:"arrow",enabled:!0,phase:"main",fn:zIe,effect:BIe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function As(t){return t.split("-")[1]}var UIe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function HIe(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,g=f===void 0?0:f,p=i.y,m=p===void 0?0:p,w=typeof u=="function"?u({x:g,y:m}):{x:g,y:m};g=w.x,m=w.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),x=ct,E=lt,$=window;if(c){var M=To(n),q="clientHeight",b="clientWidth";if(M===pt(n)&&(M=Mn(n),on(M).position!=="static"&&a==="absolute"&&(q="scrollHeight",b="scrollWidth")),M=M,o===lt||(o===ct||o===Et)&&r===_o){E=Ct;var k=h&&M===$&&$.visualViewport?$.visualViewport.height:M[q];m-=k-s.height,m*=l?1:-1}if(o===ct||(o===lt||o===Ct)&&r===_o){x=Et;var S=h&&M===$&&$.visualViewport?$.visualViewport.width:M[b];g-=S-s.width,g*=l?1:-1}}var z=Object.assign({position:a},c&&UIe),F=u===!0?HIe({x:g,y:m},pt(n)):{x:g,y:m};if(g=F.x,m=F.y,l){var Q;return Object.assign({},z,(Q={},Q[E]=y?"0":"",Q[x]=v?"0":"",Q.transform=($.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",Q))}return Object.assign({},z,(e={},e[E]=y?m+"px":"",e[x]=v?g+"px":"",e.transform="",e))}function VIe(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:Nt(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 GIe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:VIe,data:{}};var Bo={passive:!0};function KIe(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 WIe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:KIe,data:{}};var ZIe={left:"right",right:"left",bottom:"top",top:"bottom"};function rr(t){return t.replace(/left|right|bottom|top/g,function(e){return ZIe[e]})}var JIe={start:"end",end:"start"};function Vu(t){return t.replace(/start|end/g,function(e){return JIe[e]})}function wl(t){var e=pt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function kl(t){return Es(Mn(t)).left+wl(t).scrollLeft}function YIe(t,e){var n=pt(t),s=Mn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=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=Mn(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 on(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=on(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(Vt(t))>=0?t.ownerDocument.body:wt(t)&&Cl(t)?t:pp(ri(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(ri(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 XIe(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(YIe(t,n)):Zn(e)?XIe(e,n):ba(QIe(Mn(t)))}function eFe(t){var e=Xs(ri(t)),n=["absolute","fixed"].indexOf(on(t).position)>=0,s=n&&wt(t)?To(t):t;return Zn(s)?e.filter(function(o){return Zn(o)&&up(o,s)&&Vt(o)!=="body"}):[]}function tFe(t,e,n,s){var o=e==="clippingParents"?eFe(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=wr(u.right,l.right),l.bottom=wr(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?Nt(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?xIe:a,c=n.rootBoundary,u=c===void 0?ap:c,h=n.elementContext,f=h===void 0?Us:h,g=n.altBoundary,p=g===void 0?!1:g,m=n.padding,w=m===void 0?0:m,v=hp(typeof w!="number"?w:fp(w,So)),y=f===Us?wIe:Us,x=t.rects.popper,E=t.elements[p?y:f],$=tFe(Zn(E)?E:E.contextElement||Mn(t.elements.popper),l,u,i),M=Es(t.elements.reference),q=gp({reference:M,element:x,strategy:"absolute",placement:o}),b=ba(Object.assign({},x,q)),k=f===Us?b:M,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(Q){var I=[Et,Ct].indexOf(Q)>=0?1:-1,he=[lt,Ct].indexOf(Q)>=0?"y":"x";S[Q]+=F[he]*I})}return S}function nFe(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(p){return As(p)===u}):So,f=h.filter(function(p){return c.indexOf(p)>=0});f.length===0&&(f=h);var g=f.reduce(function(p,m){return p[m]=yo(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Nt(m)],p},{});return Object.keys(g).sort(function(p,m){return g[p]-g[m]})}function sFe(t){if(Nt(t)===yl)return[];var e=rr(t);return[Vu(t),e,Vu(e)]}function oFe(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,g=n.flipVariations,p=g===void 0?!0:g,m=n.allowedAutoPlacements,w=e.options.placement,v=Nt(w),y=v===w,x=l||(y||!p?[rr(w)]:sFe(w)),E=[w].concat(x).reduce(function(Ce,D){return Ce.concat(Nt(D)===yl?nFe(e,{placement:D,boundary:u,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:m}):D)},[]),$=e.rects.reference,M=e.rects.popper,q=new Map,b=!0,k=E[0],S=0;S<E.length;S++){var z=E[S],F=Nt(z),Q=As(z)===ks,I=[lt,Ct].indexOf(F)>=0,he=I?"width":"height",X=yo(e,{placement:z,boundary:u,rootBoundary:h,altBoundary:f,padding:c}),A=I?Q?Et:ct:Q?Ct:lt;$[he]>M[he]&&(A=rr(A));var N=rr(A),V=[];if(r&&V.push(X[F]<=0),a&&V.push(X[A]<=0,X[N]<=0),V.every(function(Ce){return Ce})){k=z,b=!1;break}q.set(z,V)}if(b)for(var me=p?3:1,pe=function(D){var W=E.find(function(J){var ie=q.get(J);if(ie)return ie.slice(0,D).every(function(se){return se})});if(W)return k=W,"break"},ee=me;ee>0;ee--){var be=pe(ee);if(be==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const rFe={name:"flip",enabled:!0,phase:"main",fn:oFe,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 iFe(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 aFe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:iFe};function lFe(t,e,n){var s=Nt(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 cFe(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]=lFe(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 uFe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cFe};function dFe(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 hFe={name:"popperOffsets",enabled:!0,phase:"read",fn:dFe,data:{}};function fFe(t){return t==="x"?"y":"x"}function pFe(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,g=f===void 0?!0:f,p=n.tetherOffset,m=p===void 0?0:p,w=yo(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=Nt(e.placement),y=As(e.placement),x=!y,E=xl(v),$=fFe(E),M=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(M){if(r){var Q,I=E==="y"?lt:ct,he=E==="y"?Ct:Et,X=E==="y"?"height":"width",A=M[E],N=A+w[I],V=A-w[he],me=g?-b[X]/2:0,pe=y===ks?q[X]:b[X],ee=y===ks?-b[X]:-q[X],be=e.elements.arrow,Ce=g&&be?vl(be):{width:0,height:0},D=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:dp(),W=D[I],J=D[he],ie=Qs(0,q[X],Ce[X]),se=x?q[X]/2-me-ie-W-S.mainAxis:pe-ie-W-S.mainAxis,ge=x?-q[X]/2+me+ie+J+S.mainAxis:ee+ie+J+S.mainAxis,de=e.elements.arrow&&To(e.elements.arrow),_=de?E==="y"?de.clientTop||0:de.clientLeft||0:0,C=(Q=z==null?void 0:z[E])!=null?Q:0,O=A+se-C-_,j=A+ge-C,R=Qs(g?wr(N,O):N,A,g?Kn(V,j):V);M[E]=R,F[E]=R-A}if(a){var Y,oe=E==="x"?lt:ct,P=E==="x"?Ct:Et,te=M[$],B=$==="y"?"height":"width",K=te+w[oe],re=te-w[P],ce=[lt,ct].indexOf(v)!==-1,ae=(Y=z==null?void 0:z[$])!=null?Y:0,ve=ce?K:te-q[B]-b[B]-ae+S.altAxis,H=ce?te+q[B]+b[B]-ae-S.altAxis:re,ne=g&&ce?$Ie(ve,te,H):Qs(g?ve:K,te,g?H:re);M[$]=ne,F[$]=ne-te}e.modifiersData[s]=F}}const gFe={name:"preventOverflow",enabled:!0,phase:"main",fn:pFe,requiresIfExists:["offset"]};function mFe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function _Fe(t){return t===pt(t)||!wt(t)?wl(t):mFe(t)}function yFe(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 bFe(t,e,n){n===void 0&&(n=!1);var s=wt(e),o=wt(e)&&yFe(e),r=Mn(e),i=Es(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Vt(e)!=="body"||Cl(r))&&(a=_Fe(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 vFe(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 xFe(t){var e=vFe(t);return OIe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function wFe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function kFe(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 CFe(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,g={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=xFe(kFe([].concat(s,u.options.modifiers)));return u.orderedModifiers=x.filter(function(E){return E.enabled}),p(),g.update()},forceUpdate:function(){if(!f){var v=u.elements,y=v.reference,x=v.popper;if(Ju(y,x)){u.rects={reference:bFe(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],M=$.fn,q=$.options,b=q===void 0?{}:q,k=$.name;typeof M=="function"&&(u=M({state:u,options:b,name:k,instance:g})||u)}}}},update:wFe(function(){return new Promise(function(w){g.forceUpdate(),w(u)})}),destroy:function(){m(),f=!0}};if(!Ju(a,l))return g;g.setOptions(c).then(function(w){!f&&c.onFirstUpdate&&c.onFirstUpdate(w)});function p(){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:g,options:x}),M=function(){};h.push($||M)}})}function m(){h.forEach(function(w){return w()}),h=[]}return g}}var EFe=[WIe,hFe,GIe,PIe,uFe,rFe,gFe,NIe,aFe],El=CFe({defaultModifiers:EFe}),_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)},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))},qn={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=qn),this._targetEl=e,this._triggerEl=n,this._options=_n(_n({},qn),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 _n(_n({},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 _n(_n({},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||qn.placement,triggerType:i||qn.triggerType,offsetSkidding:o?parseInt(o):qn.offsetSkidding,offsetDistance:r?parseInt(r):qn.offsetDistance,delay:a?parseInt(a):qn.delay})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}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)},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=kr(kr({},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 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)},zn={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=zn),this._targetEl=e,this._options=Cr(Cr({},zn),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||zn.placement,bodyScrolling:r?r==="true":zn.bodyScrolling,backdrop:i?i==="true":zn.backdrop,edge:a?a==="true":zn.edge,edgeOffset:l||zn.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 Er=globalThis&&globalThis.__assign||function(){return Er=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},Er.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=Er(Er({},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 yn=globalThis&&globalThis.__assign||function(){return yn=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},yn.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))},Ar={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=Ar),this._targetEl=e,this._triggerEl=n,this._options=yn(yn({},Ar),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 yn(yn({},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 yn(yn({},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||Ar.placement,triggerType:s||Ar.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))})}var bn=globalThis&&globalThis.__assign||function(){return bn=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},bn.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=bn(bn({},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 bn(bn({},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 bn(bn({},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 Sr=globalThis&&globalThis.__assign||function(){return Sr=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},Sr.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=Sr(Sr({},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 AFe(){ep(),np(),op(),ip(),_p(),yp(),vp(),wp(),Cp(),Ap(),Tp()}var SFe=new vIe("load",[ep,np,op,ip,_p,yp,vp,wp,Cp,Ap,Tp]);SFe.init();const et=t=>(vo("data-v-3ad29f09"),t=t(),xo(),t),TFe={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"},DFe={class:"flex-row p-4 flex items-center gap-3 flex-0"},LFe=et(()=>d("i",{"data-feather":"plus"},null,-1)),OFe=[LFe],jFe=et(()=>d("i",{"data-feather":"check-square"},null,-1)),RFe=[jFe],PFe=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)),IFe=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)),FFe=et(()=>d("i",{"data-feather":"log-in"},null,-1)),$Fe=[FFe],qFe=et(()=>d("i",{"data-feather":"search"},null,-1)),zFe=[qFe],BFe={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},NFe=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)),UFe=[NFe],HFe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},VFe={class:"p-4 pt-2"},GFe={class:"relative"},KFe=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)),WFe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},ZFe=et(()=>d("i",{"data-feather":"x"},null,-1)),JFe=[ZFe],YFe={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"},XFe={class:"flex flex-row flex-grow"},e$e={key:0},t$e={class:"flex flex-row"},n$e={key:0,class:"flex gap-3"},s$e=et(()=>d("i",{"data-feather":"trash"},null,-1)),o$e=[s$e],r$e={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},i$e=et(()=>d("i",{"data-feather":"check"},null,-1)),a$e=[i$e],l$e=et(()=>d("i",{"data-feather":"x"},null,-1)),c$e=[l$e],u$e={class:"flex gap-3"},d$e=et(()=>d("i",{"data-feather":"log-out"},null,-1)),h$e=[d$e],f$e=et(()=>d("i",{"data-feather":"list"},null,-1)),p$e=[f$e],g$e={class:"z-20"},m$e={class:"relative flex flex-row flex-grow mb-10"},_$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"},y$e=et(()=>d("p",{class:"px-3"},"No discussions are found",-1)),b$e=[y$e],v$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)),x$e={class:"z-20 h-max"},w$e={class:"container pt-4 pb-10 mb-28"},k$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)),C$e={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},E$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 De.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await De.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 De.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 De.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 De.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 De.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 De.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if($e.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await De.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 De.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 De.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 De.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 De.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),De.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{$e.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:"user",created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){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),De.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):$e.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),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(()=>{we.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(()=>{we.replace()}),$e.on("infos",this.createBotMsg),$e.on("message",this.streamMessageContent),$e.on("final",this.finalMsgEvent)},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&(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(()=>{we.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){fe(()=>{we.replace()})},isSearch(){fe(()=>{we.replace()})}},computed:{socketConnected(){return!0},selectedDiscussions(){return fe(()=>{we.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},A$e=Object.assign(E$e,{__name:"DiscussionsView",setup(t){return Fr(()=>{AFe()}),De.defaults.baseURL="/",(e,n)=>(T(),L(Ie,null,[d("div",TFe,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[13]||(n[13]=le(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",MFe,[d("div",DFe,[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())},OFe),d("button",{class:Te(["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)},RFe,2),PFe,IFe,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]=le(s=>e.$refs.fileDialog.click(),["stop"]))},$Fe),d("button",{class:Te(["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)},zFe,2),e.loading?(T(),L("div",BFe,UFe)):G("",!0)]),e.isSearch?(T(),L("div",HFe,[d("div",VFe,[d("div",GFe,[KFe,d("div",WFe,[d("div",{class:Te(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[5]||(n[5]=s=>e.filterTitle="")},JFe,2)]),Ae(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]])])])])):G("",!0),e.isCheckbox?(T(),L("hr",YFe)):G("",!0),e.isCheckbox?(T(),L("div",QFe,[d("div",XFe,[e.selectedDiscussions.length>0?(T(),L("p",e$e,"Selected: "+Z(e.selectedDiscussions.length),1)):G("",!0)]),d("div",t$e,[e.selectedDiscussions.length>0?(T(),L("div",n$e,[e.showConfirmation?G("",!0):(T(),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]=le(s=>e.showConfirmation=!0,["stop"]))},o$e)),e.showConfirmation?(T(),L("div",r$e,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[9]||(n[9]=le((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},a$e),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[10]||(n[10]=le(s=>e.showConfirmation=!1,["stop"]))},c$e)])):G("",!0)])):G("",!0),d("div",u$e,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[11]||(n[11]=le((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},h$e),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[12]||(n[12]=le((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},p$e)])])])):G("",!0)]),d("div",g$e,[Se(_a,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Qe(()=>[ke("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",m$e,[d("div",{class:Te(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:Te([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(T(),at(En,{key:0,name:"list"},{default:Qe(()=>[(T(!0),L(Ie,null,rt(e.list,(s,o)=>(T(),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})):G("",!0),e.list.length<1?(T(),L("div",_$e,b$e)):G("",!0),v$e],2)],2)])],32)]),d("div",{class:"relative flex flex-col flex-grow",onDragover:n[14]||(n[14]=le(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",x$e,[Se(_a,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:Te(["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",w$e,[e.discussionArr.length>0?(T(),at(En,{key:0,name:"list"},{default:Qe(()=>[(T(!0),L(Ie,null,rt(e.discussionArr,(s,o)=>(T(),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})):G("",!0),e.currentDiscussion.id?G("",!0):(T(),at(Qf,{key:1}))]),k$e,e.currentDiscussion.id?(T(),L("div",C$e,[Se(Yf,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","onStopGenerating"])])):G("",!0)],2)],32),Se(tl,{ref:"toast"},null,512)],64))}}),S$e=Ge(A$e,[["__scopeId","data-v-3ad29f09"]]),T$e=P_({history:Xm("/"),routes:[{path:"/extensions/",name:"extensions",component:f0},{path:"/help/",name:"help",component:T0},{path:"/settings/",name:"settings",component:a8},{path:"/training/",name:"training",component:M8},{path:"/",name:"discussions",component:S$e}]});const Al=oh(u0),M$e=Pm({state(){return{mountedPersonalities:{},settingsChanged:!1}},mutations:{}});Al.use(T$e);Al.use(M$e);Al.mount("#app");
|