lollms-webui/web/dist/assets/index-7182fd51.js
Saifeddine ALOUI 16ea49efda V2.5
2023-07-11 00:45:47 +02:00

140 lines
871 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

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

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

(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function yl(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 jt(t){if(ke(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],o=Ke(s)?vm(s):jt(s);if(o)for(const r in o)e[r]=o[r]}return e}else{if(Ke(t))return t;if(He(t))return t}}const _m=/;(?![^(]*\))/g,bm=/:([^]+)/,ym=/\/\*.*?\*\//gs;function vm(t){const e={};return t.replace(ym,"").split(_m).forEach(n=>{if(n){const s=n.split(bm);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Te(t){let e="";if(Ke(t))e=t;else if(ke(t))for(let n=0;n<t.length;n++){const s=Te(t[n]);s&&(e+=s+" ")}else if(He(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const wm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xm=yl(wm);function If(t){return!!t||t===""}function km(t,e){if(t.length!==e.length)return!1;let n=!0;for(let s=0;n&&s<t.length;s++)n=Ro(t[s],e[s]);return n}function Ro(t,e){if(t===e)return!0;let n=Cc(t),s=Cc(e);if(n||s)return n&&s?t.getTime()===e.getTime():!1;if(n=ho(t),s=ho(e),n||s)return t===e;if(n=ke(t),s=ke(e),n||s)return n&&s?km(t,e):!1;if(n=He(t),s=He(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||!Ro(t[i],e[i]))return!1}}return String(t)===String(e)}function vl(t,e){return t.findIndex(n=>Ro(n,e))}const J=t=>Ke(t)?t:t==null?"":ke(t)||He(t)&&(t.toString===Bf||!Me(t.toString))?JSON.stringify(t,Pf,2):String(t),Pf=(t,e)=>e&&e.__v_isRef?Pf(t,e.value):_s(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ps(e)?{[`Set(${e.size})`]:[...e.values()]}:He(e)&&!ke(e)&&!$f(e)?String(e):e,Ve={},ms=[],Lt=()=>{},Em=()=>!1,Cm=/^on[^a-z]/,jr=t=>Cm.test(t),wl=t=>t.startsWith("onUpdate:"),nt=Object.assign,xl=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Am=Object.prototype.hasOwnProperty,Pe=(t,e)=>Am.call(t,e),ke=Array.isArray,_s=t=>Fs(t)==="[object Map]",Ps=t=>Fs(t)==="[object Set]",Cc=t=>Fs(t)==="[object Date]",Sm=t=>Fs(t)==="[object RegExp]",Me=t=>typeof t=="function",Ke=t=>typeof t=="string",ho=t=>typeof t=="symbol",He=t=>t!==null&&typeof t=="object",Ff=t=>He(t)&&Me(t.then)&&Me(t.catch),Bf=Object.prototype.toString,Fs=t=>Bf.call(t),Tm=t=>Fs(t).slice(8,-1),$f=t=>Fs(t)==="[object Object]",kl=t=>Ke(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,sr=yl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Mm=/-(\w)/g,Wt=zr(t=>t.replace(Mm,(e,n)=>n?n.toUpperCase():"")),Om=/\B([A-Z])/g,ts=zr(t=>t.replace(Om,"-$1").toLowerCase()),Ur=zr(t=>t.charAt(0).toUpperCase()+t.slice(1)),wi=zr(t=>t?`on${Ur(t)}`:""),po=(t,e)=>!Object.is(t,e),bs=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},mr=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},_r=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Rm=t=>{const e=Ke(t)?Number(t):NaN;return isNaN(e)?t:e};let Ac;const Nm=()=>Ac||(Ac=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ot;class Dm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ot,!e&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Ot;try{return Ot=this,e()}finally{Ot=n}}}on(){Ot=this}off(){Ot=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n<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 Lm(t,e=Ot){e&&e.active&&e.effects.push(t)}function Im(){return Ot}const El=t=>{const e=new Set(t);return e.w=0,e.n=0,e},jf=t=>(t.w&Tn)>0,zf=t=>(t.n&Tn)>0,Pm=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=Tn},Fm=t=>{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s<e.length;s++){const o=e[s];jf(o)&&!zf(o)?o.delete(t):e[n++]=o,o.w&=~Tn,o.n&=~Tn}e.length=n}},Pa=new WeakMap;let eo=0,Tn=1;const Fa=30;let Nt;const Kn=Symbol(""),Ba=Symbol("");class Cl{constructor(e,n=null,s){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Lm(this,s)}run(){if(!this.active)return this.fn();let e=Nt,n=An;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Nt,Nt=this,An=!0,Tn=1<<++eo,eo<=Fa?Pm(this):Sc(this),this.fn()}finally{eo<=Fa&&Fm(this),Tn=1<<--eo,Nt=this.parent,An=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Nt===this?this.deferStop=!0:this.active&&(Sc(this),this.onStop&&this.onStop(),this.active=!1)}}function Sc(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let An=!0;const Uf=[];function Bs(){Uf.push(An),An=!1}function $s(){const t=Uf.pop();An=t===void 0?!0:t}function pt(t,e,n){if(An&&Nt){let s=Pa.get(t);s||Pa.set(t,s=new Map);let o=s.get(n);o||s.set(n,o=El()),qf(o)}}function qf(t,e){let n=!1;eo<=Fa?zf(t)||(t.n|=Tn,n=!jf(t)):n=!t.has(Nt),n&&(t.add(Nt),Nt.deps.push(t))}function on(t,e,n,s,o,r){const i=Pa.get(t);if(!i)return;let a=[];if(e==="clear")a=[...i.values()];else if(n==="length"&&ke(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":ke(t)?kl(n)&&a.push(i.get("length")):(a.push(i.get(Kn)),_s(t)&&a.push(i.get(Ba)));break;case"delete":ke(t)||(a.push(i.get(Kn)),_s(t)&&a.push(i.get(Ba)));break;case"set":_s(t)&&a.push(i.get(Kn));break}if(a.length===1)a[0]&&$a(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);$a(El(l))}}function $a(t,e){const n=ke(t)?t:[...t];for(const s of n)s.computed&&Tc(s);for(const s of n)s.computed||Tc(s)}function Tc(t,e){(t!==Nt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Bm=yl("__proto__,__v_isRef,__isVue"),Hf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ho)),$m=Al(),jm=Al(!1,!0),zm=Al(!0),Mc=Um();function Um(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Be(this);for(let r=0,i=this.length;r<i;r++)pt(s,"get",r+"");const o=s[e](...n);return o===-1||o===!1?s[e](...n.map(Be)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Bs();const s=Be(this)[e].apply(this,n);return $s(),s}}),t}function qm(t){const e=Be(this);return pt(e,"has",t),e.hasOwnProperty(t)}function Al(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?r_:Zf:e?Wf:Kf).get(s))return s;const i=ke(s);if(!t){if(i&&Pe(Mc,o))return Reflect.get(Mc,o,r);if(o==="hasOwnProperty")return qm}const a=Reflect.get(s,o,r);return(ho(o)?Hf.has(o):Bm(o))||(t||pt(s,"get",o),e)?a:ct(a)?i&&kl(o)?a:a.value:He(a)?t?Yf(a):js(a):a}}const Hm=Vf(),Vm=Vf(!0);function Vf(t=!1){return function(n,s,o,r){let i=n[s];if(ks(i)&&ct(i)&&!ct(o))return!1;if(!t&&(!br(o)&&!ks(o)&&(i=Be(i),o=Be(o)),!ke(n)&&ct(i)&&!ct(o)))return i.value=o,!0;const a=ke(n)&&kl(s)?Number(s)<n.length:Pe(n,s),l=Reflect.set(n,s,o,r);return n===Be(r)&&(a?po(o,i)&&on(n,"set",s,o):on(n,"add",s,o)),l}}function Gm(t,e){const n=Pe(t,e);t[e];const s=Reflect.deleteProperty(t,e);return s&&n&&on(t,"delete",e,void 0),s}function Km(t,e){const n=Reflect.has(t,e);return(!ho(e)||!Hf.has(e))&&pt(t,"has",e),n}function Wm(t){return pt(t,"iterate",ke(t)?"length":Kn),Reflect.ownKeys(t)}const Gf={get:$m,set:Hm,deleteProperty:Gm,has:Km,ownKeys:Wm},Zm={get:zm,set(t,e){return!0},deleteProperty(t,e){return!0}},Ym=nt({},Gf,{get:jm,set:Vm}),Sl=t=>t,qr=t=>Reflect.getPrototypeOf(t);function $o(t,e,n=!1,s=!1){t=t.__v_raw;const o=Be(t),r=Be(e);n||(e!==r&&pt(o,"get",e),pt(o,"get",r));const{has:i}=qr(o),a=s?Sl:n?Ol:go;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 jo(t,e=!1){const n=this.__v_raw,s=Be(n),o=Be(t);return e||(t!==o&&pt(s,"has",t),pt(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function zo(t,e=!1){return t=t.__v_raw,!e&&pt(Be(t),"iterate",Kn),Reflect.get(t,"size",t)}function Oc(t){t=Be(t);const e=Be(this);return qr(e).has.call(e,t)||(e.add(t),on(e,"add",t,t)),this}function Rc(t,e){e=Be(e);const n=Be(this),{has:s,get:o}=qr(n);let r=s.call(n,t);r||(t=Be(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?po(e,i)&&on(n,"set",t,e):on(n,"add",t,e),this}function Nc(t){const e=Be(this),{has:n,get:s}=qr(e);let o=n.call(e,t);o||(t=Be(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&on(e,"delete",t,void 0),r}function Dc(){const t=Be(this),e=t.size!==0,n=t.clear();return e&&on(t,"clear",void 0,void 0),n}function Uo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Be(i),l=e?Sl:t?Ol:go;return!t&&pt(a,"iterate",Kn),i.forEach((c,u)=>s.call(o,l(c),l(u),r))}}function qo(t,e,n){return function(...s){const o=this.__v_raw,r=Be(o),i=_s(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),u=n?Sl:e?Ol:go;return!e&&pt(r,"iterate",l?Ba:Kn),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function dn(t){return function(...e){return t==="delete"?!1:this}}function Qm(){const t={get(r){return $o(this,r)},get size(){return zo(this)},has:jo,add:Oc,set:Rc,delete:Nc,clear:Dc,forEach:Uo(!1,!1)},e={get(r){return $o(this,r,!1,!0)},get size(){return zo(this)},has:jo,add:Oc,set:Rc,delete:Nc,clear:Dc,forEach:Uo(!1,!0)},n={get(r){return $o(this,r,!0)},get size(){return zo(this,!0)},has(r){return jo.call(this,r,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Uo(!0,!1)},s={get(r){return $o(this,r,!0,!0)},get size(){return zo(this,!0)},has(r){return jo.call(this,r,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Uo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=qo(r,!1,!1),n[r]=qo(r,!0,!1),e[r]=qo(r,!1,!0),s[r]=qo(r,!0,!0)}),[t,n,e,s]}const[Jm,Xm,e_,t_]=Qm();function Tl(t,e){const n=e?t?t_:e_:t?Xm:Jm;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(Pe(n,o)&&o in s?n:s,o,r)}const n_={get:Tl(!1,!1)},s_={get:Tl(!1,!0)},o_={get:Tl(!0,!1)},Kf=new WeakMap,Wf=new WeakMap,Zf=new WeakMap,r_=new WeakMap;function i_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function a_(t){return t.__v_skip||!Object.isExtensible(t)?0:i_(Tm(t))}function js(t){return ks(t)?t:Ml(t,!1,Gf,n_,Kf)}function l_(t){return Ml(t,!1,Ym,s_,Wf)}function Yf(t){return Ml(t,!0,Zm,o_,Zf)}function Ml(t,e,n,s,o){if(!He(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=a_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ys(t){return ks(t)?ys(t.__v_raw):!!(t&&t.__v_isReactive)}function ks(t){return!!(t&&t.__v_isReadonly)}function br(t){return!!(t&&t.__v_isShallow)}function Qf(t){return ys(t)||ks(t)}function Be(t){const e=t&&t.__v_raw;return e?Be(e):t}function Jf(t){return mr(t,"__v_skip",!0),t}const go=t=>He(t)?js(t):t,Ol=t=>He(t)?Yf(t):t;function Xf(t){An&&Nt&&(t=Be(t),qf(t.dep||(t.dep=El())))}function eh(t,e){t=Be(t);const n=t.dep;n&&$a(n)}function ct(t){return!!(t&&t.__v_isRef===!0)}function c_(t){return th(t,!1)}function u_(t){return th(t,!0)}function th(t,e){return ct(t)?t:new d_(t,e)}class d_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Be(e),this._value=n?e:go(e)}get value(){return Xf(this),this._value}set value(e){const n=this.__v_isShallow||br(e)||ks(e);e=n?e:Be(e),po(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:go(e),eh(this))}}function mt(t){return ct(t)?t.value:t}const f_={get:(t,e,n)=>mt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ct(o)&&!ct(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function nh(t){return ys(t)?t:new Proxy(t,f_)}var sh;class h_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[sh]=!1,this._dirty=!0,this.effect=new Cl(e,()=>{this._dirty||(this._dirty=!0,eh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Be(this);return Xf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}sh="__v_isReadonly";function p_(t,e,n=!1){let s,o;const r=Me(t);return r?(s=t,o=Lt):(s=t.get,o=t.set),new h_(s,o,r||!o,n)}function Sn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Hr(r,e,n)}return o}function kt(t,e,n,s){if(Me(t)){const r=Sn(t,e,n,s);return r&&Ff(r)&&r.catch(i=>{Hr(i,e,n)}),r}const o=[];for(let r=0;r<t.length;r++)o.push(kt(t[r],e,n,s));return o}function Hr(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){Sn(l,null,10,[t,i,a]);return}}g_(t,n,o,s)}function g_(t,e,n,s=!0){console.error(t)}let mo=!1,ja=!1;const lt=[];let $t=0;const vs=[];let tn=null,$n=0;const oh=Promise.resolve();let Rl=null;function me(t){const e=Rl||oh;return t?e.then(this?t.bind(this):t):e}function m_(t){let e=$t+1,n=lt.length;for(;e<n;){const s=e+n>>>1;_o(lt[s])<t?e=s+1:n=s}return e}function Nl(t){(!lt.length||!lt.includes(t,mo&&t.allowRecurse?$t+1:$t))&&(t.id==null?lt.push(t):lt.splice(m_(t.id),0,t),rh())}function rh(){!mo&&!ja&&(ja=!0,Rl=oh.then(ah))}function __(t){const e=lt.indexOf(t);e>$t&&lt.splice(e,1)}function b_(t){ke(t)?vs.push(...t):(!tn||!tn.includes(t,t.allowRecurse?$n+1:$n))&&vs.push(t),rh()}function Lc(t,e=mo?$t+1:0){for(;e<lt.length;e++){const n=lt[e];n&&n.pre&&(lt.splice(e,1),e--,n())}}function ih(t){if(vs.length){const e=[...new Set(vs)];if(vs.length=0,tn){tn.push(...e);return}for(tn=e,tn.sort((n,s)=>_o(n)-_o(s)),$n=0;$n<tn.length;$n++)tn[$n]();tn=null,$n=0}}const _o=t=>t.id==null?1/0:t.id,y_=(t,e)=>{const n=_o(t)-_o(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function ah(t){ja=!1,mo=!0,lt.sort(y_);const e=Lt;try{for($t=0;$t<lt.length;$t++){const n=lt[$t];n&&n.active!==!1&&Sn(n,null,14)}}finally{$t=0,lt.length=0,ih(),mo=!1,Rl=null,(lt.length||vs.length)&&ah()}}function v_(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Ve;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:f,trim:h}=s[u]||Ve;h&&(o=n.map(g=>Ke(g)?g.trim():g)),f&&(o=n.map(_r))}let a,l=s[a=wi(e)]||s[a=wi(Wt(e))];!l&&r&&(l=s[a=wi(ts(e))]),l&&kt(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,kt(c,t,6,o)}}function lh(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(!Me(t)){const l=c=>{const u=lh(c,e,!0);u&&(a=!0,nt(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(He(t)&&s.set(t,null),null):(ke(r)?r.forEach(l=>i[l]=null):nt(i,r),He(t)&&s.set(t,i),i)}function Vr(t,e){return!t||!jr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Pe(t,e[0].toLowerCase()+e.slice(1))||Pe(t,ts(e))||Pe(t,e))}let rt=null,Gr=null;function yr(t){const e=rt;return rt=t,Gr=t&&t.type.__scopeId||null,e}function ns(t){Gr=t}function ss(){Gr=null}function We(t,e=rt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Hc(-1);const r=yr(e);let i;try{i=t(...o)}finally{yr(r),s._d&&Hc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function xi(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:h,setupState:g,ctx:p,inheritAttrs:m}=t;let v,_;const b=yr(t);try{if(n.shapeFlag&4){const C=o||s;v=Bt(u.call(C,C,f,r,g,h,p)),_=l}else{const C=e;v=Bt(C.length>1?C(r,{attrs:l,slots:a,emit:c}):C(r,null)),_=e.props?l:w_(l)}}catch(C){oo.length=0,Hr(C,t,1),v=Ae(Et)}let x=v;if(_&&m!==!1){const C=Object.keys(_),{shapeFlag:R}=x;C.length&&R&7&&(i&&C.some(wl)&&(_=x_(_,i)),x=rn(x,_))}return n.dirs&&(x=rn(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),v=x,yr(b),v}const w_=t=>{let e;for(const n in t)(n==="class"||n==="style"||jr(n))&&((e||(e={}))[n]=t[n]);return e},x_=(t,e)=>{const n={};for(const s in t)(!wl(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function k_(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?Ic(s,i,c):!!i;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const h=u[f];if(i[h]!==s[h]&&!Vr(c,h))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Ic(s,i,c):!0:!!i;return!1}function Ic(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]&&!Vr(n,r))return!0}return!1}function E_({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const ch=t=>t.__isSuspense;function C_(t,e){e&&e.pendingBranch?ke(t)?e.effects.push(...t):e.effects.push(t):b_(t)}function or(t,e){if(Ze){let n=Ze.provides;const s=Ze.parent&&Ze.parent.provides;s===n&&(n=Ze.provides=Object.create(s)),n[t]=e}}function nn(t,e,n=!1){const s=Ze||rt;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&&Me(e)?e.call(s.proxy):e}}const Ho={};function Wn(t,e,n){return uh(t,e,n)}function uh(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ve){const a=Im()===(Ze==null?void 0:Ze.scope)?Ze:null;let l,c=!1,u=!1;if(ct(t)?(l=()=>t.value,c=br(t)):ys(t)?(l=()=>t,s=!0):ke(t)?(u=!0,c=t.some(x=>ys(x)||br(x)),l=()=>t.map(x=>{if(ct(x))return x.value;if(ys(x))return Vn(x);if(Me(x))return Sn(x,a,2)})):Me(t)?e?l=()=>Sn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),kt(t,a,3,[h])}:l=Lt,e&&s){const x=l;l=()=>Vn(x())}let f,h=x=>{f=_.onStop=()=>{Sn(x,a,4)}},g;if(wo)if(h=Lt,e?n&&kt(e,a,3,[l(),u?[]:void 0,h]):l(),o==="sync"){const x=m1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Lt;let p=u?new Array(t.length).fill(Ho):Ho;const m=()=>{if(_.active)if(e){const x=_.run();(s||c||(u?x.some((C,R)=>po(C,p[R])):po(x,p)))&&(f&&f(),kt(e,a,3,[x,p===Ho?void 0:u&&p[0]===Ho?[]:p,h]),p=x)}else _.run()};m.allowRecurse=!!e;let v;o==="sync"?v=m:o==="post"?v=()=>st(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),v=()=>Nl(m));const _=new Cl(l,v);e?n?m():p=_.run():o==="post"?st(_.run.bind(_),a&&a.suspense):_.run();const b=()=>{_.stop(),a&&a.scope&&xl(a.scope.effects,_)};return g&&g.push(b),b}function A_(t,e,n){const s=this.proxy,o=Ke(t)?t.includes(".")?dh(s,t):()=>s[t]:t.bind(s,s);let r;Me(e)?r=e:(r=e.handler,n=e);const i=Ze;Cs(this);const a=uh(o,r.bind(s),n);return i?Cs(i):Zn(),a}function dh(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 Vn(t,e){if(!He(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),ct(t))Vn(t.value,e);else if(ke(t))for(let n=0;n<t.length;n++)Vn(t[n],e);else if(Ps(t)||_s(t))t.forEach(n=>{Vn(n,e)});else if($f(t))for(const n in t)Vn(t[n],e);return t}function fh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zr(()=>{t.isMounted=!0}),Il(()=>{t.isUnmounting=!0}),t}const yt=[Function,Array],S_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yt,onEnter:yt,onAfterEnter:yt,onEnterCancelled:yt,onBeforeLeave:yt,onLeave:yt,onAfterLeave:yt,onLeaveCancelled:yt,onBeforeAppear:yt,onAppear:yt,onAfterAppear:yt,onAppearCancelled:yt},setup(t,{slots:e}){const n=jl(),s=fh();let o;return()=>{const r=e.default&&Dl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==Et){i=m;break}}const a=Be(t),{mode:l}=a;if(s.isLeaving)return ki(i);const c=Pc(i);if(!c)return ki(i);const u=bo(c,a,s,n);Es(c,u);const f=n.subTree,h=f&&Pc(f);let g=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,g=!0)}if(h&&h.type!==Et&&(!kn(c,h)||g)){const m=bo(h,a,s,n);if(Es(h,m),l==="out-in")return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ki(i);l==="in-out"&&c.type!==Et&&(m.delayLeave=(v,_,b)=>{const x=ph(s,h);x[String(h.key)]=h,v._leaveCb=()=>{_(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=b})}return i}}},hh=S_;function ph(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 bo(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:m,onAppear:v,onAfterAppear:_,onAppearCancelled:b}=e,x=String(t.key),C=ph(n,t),R=(y,k)=>{y&&kt(y,s,9,k)},M=(y,k)=>{const T=k[1];R(y,k),ke(y)?y.every(L=>L.length<=1)&&T():y.length<=1&&T()},D={mode:r,persisted:i,beforeEnter(y){let k=a;if(!n.isMounted)if(o)k=m||a;else return;y._leaveCb&&y._leaveCb(!0);const T=C[x];T&&kn(t,T)&&T.el._leaveCb&&T.el._leaveCb(),R(k,[y])},enter(y){let k=l,T=c,L=u;if(!n.isMounted)if(o)k=v||l,T=_||c,L=b||u;else return;let F=!1;const Y=y._enterCb=I=>{F||(F=!0,I?R(L,[y]):R(T,[y]),D.delayedLeave&&D.delayedLeave(),y._enterCb=void 0)};k?M(k,[y,Y]):Y()},leave(y,k){const T=String(t.key);if(y._enterCb&&y._enterCb(!0),n.isUnmounting)return k();R(f,[y]);let L=!1;const F=y._leaveCb=Y=>{L||(L=!0,k(),Y?R(p,[y]):R(g,[y]),y._leaveCb=void 0,C[T]===t&&delete C[T])};C[T]=t,h?M(h,[y,F]):F()},clone(y){return bo(y,e,n,s)}};return D}function ki(t){if(Kr(t))return t=rn(t),t.children=null,t}function Pc(t){return Kr(t)?t.children?t.children[0]:void 0:t}function Es(t,e){t.shapeFlag&6&&t.component?Es(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 Dl(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===De?(i.patchFlag&128&&o++,s=s.concat(Dl(i.children,e,a))):(e||i.type!==Et)&&s.push(a!=null?rn(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function gh(t){return Me(t)?{setup:t,name:t.name}:t}const ws=t=>!!t.type.__asyncLoader,Kr=t=>t.type.__isKeepAlive,T_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=jl(),s=n.ctx;if(!s.renderer)return()=>{const b=e.default&&e.default();return b&&b.length===1?b[0]:b};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=s,h=f("div");s.activate=(b,x,C,R,M)=>{const D=b.component;c(b,x,C,0,a),l(D.vnode,b,x,C,D,a,R,b.slotScopeIds,M),st(()=>{D.isDeactivated=!1,D.a&&bs(D.a);const y=b.props&&b.props.onVnodeMounted;y&&vt(y,D.parent,b)},a)},s.deactivate=b=>{const x=b.component;c(b,h,null,1,a),st(()=>{x.da&&bs(x.da);const C=b.props&&b.props.onVnodeUnmounted;C&&vt(C,x.parent,b),x.isDeactivated=!0},a)};function g(b){Ei(b),u(b,n,a,!0)}function p(b){o.forEach((x,C)=>{const R=Ga(x.type);R&&(!b||!b(R))&&m(C)})}function m(b){const x=o.get(b);!i||!kn(x,i)?g(x):i&&Ei(i),o.delete(b),r.delete(b)}Wn(()=>[t.include,t.exclude],([b,x])=>{b&&p(C=>to(b,C)),x&&p(C=>!to(x,C))},{flush:"post",deep:!0});let v=null;const _=()=>{v!=null&&o.set(v,Ci(n.subTree))};return Zr(_),Ll(_),Il(()=>{o.forEach(b=>{const{subTree:x,suspense:C}=n,R=Ci(x);if(b.type===R.type&&b.key===R.key){Ei(R);const M=R.component.da;M&&st(M,C);return}g(b)})}),()=>{if(v=null,!e.default)return null;const b=e.default(),x=b[0];if(b.length>1)return i=null,b;if(!vo(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let C=Ci(x);const R=C.type,M=Ga(ws(C)?C.type.__asyncResolved||{}:R),{include:D,exclude:y,max:k}=t;if(D&&(!M||!to(D,M))||y&&M&&to(y,M))return i=C,x;const T=C.key==null?R:C.key,L=o.get(T);return C.el&&(C=rn(C),x.shapeFlag&128&&(x.ssContent=C)),v=T,L?(C.el=L.el,C.component=L.component,C.transition&&Es(C,C.transition),C.shapeFlag|=512,r.delete(T),r.add(T)):(r.add(T),k&&r.size>parseInt(k,10)&&m(r.values().next().value)),C.shapeFlag|=256,i=C,ch(x.type)?x:C}}},M_=T_;function to(t,e){return ke(t)?t.some(n=>to(n,e)):Ke(t)?t.split(",").includes(e):Sm(t)?t.test(e):!1}function O_(t,e){mh(t,"a",e)}function R_(t,e){mh(t,"da",e)}function mh(t,e,n=Ze){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Wr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Kr(o.parent.vnode)&&N_(s,e,n,o),o=o.parent}}function N_(t,e,n,s){const o=Wr(e,t,s,!0);_h(()=>{xl(s[e],o)},n)}function Ei(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Ci(t){return t.shapeFlag&128?t.ssContent:t}function Wr(t,e,n=Ze,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Bs(),Cs(n);const a=kt(e,n,t,i);return Zn(),$s(),a});return s?o.unshift(r):o.push(r),r}}const cn=t=>(e,n=Ze)=>(!wo||t==="sp")&&Wr(t,(...s)=>e(...s),n),D_=cn("bm"),Zr=cn("m"),L_=cn("bu"),Ll=cn("u"),Il=cn("bum"),_h=cn("um"),I_=cn("sp"),P_=cn("rtg"),F_=cn("rtc");function B_(t,e=Ze){Wr("ec",t,e)}function ye(t,e){const n=rt;if(n===null)return t;const s=Jr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[i,a,l,c=Ve]=e[r];i&&(Me(i)&&(i={mounted:i,updated:i}),i.deep&&Vn(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return t}function Nn(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&&(Bs(),kt(l,n,8,[t.el,a,t,e]),$s())}}const Pl="components";function at(t,e){return yh(Pl,t,!0,e)||t}const bh=Symbol();function $_(t){return Ke(t)?yh(Pl,t,!1)||t:t||bh}function yh(t,e,n=!0,s=!1){const o=rt||Ze;if(o){const r=o.type;if(t===Pl){const a=Ga(r,!1);if(a&&(a===e||a===Wt(e)||a===Ur(Wt(e))))return r}const i=Fc(o[t]||r[t],e)||Fc(o.appContext[t],e);return!i&&s?r:i}}function Fc(t,e){return t&&(t[e]||t[Wt(e)]||t[Ur(Wt(e))])}function Qe(t,e,n,s){let o;const r=n&&n[s];if(ke(t)||Ke(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(He(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 vh(t,e,n={},s,o){if(rt.isCE||rt.parent&&ws(rt.parent)&&rt.parent.isCE)return e!=="default"&&(n.name=e),Ae("slot",n,s&&s());let r=t[e];r&&r._c&&(r._d=!1),S();const i=r&&wh(r(n)),a=ot(De,{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 wh(t){return t.some(e=>vo(e)?!(e.type===Et||e.type===De&&!wh(e.children)):!0)?t:null}const za=t=>t?Nh(t)?Jr(t)||t.proxy:za(t.parent):null,so=nt(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=>za(t.parent),$root:t=>za(t.root),$emit:t=>t.emit,$options:t=>Fl(t),$forceUpdate:t=>t.f||(t.f=()=>Nl(t.update)),$nextTick:t=>t.n||(t.n=me.bind(t.proxy)),$watch:t=>A_.bind(t)}),Ai=(t,e)=>t!==Ve&&!t.__isScriptSetup&&Pe(t,e),j_={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(Ai(s,e))return i[e]=1,s[e];if(o!==Ve&&Pe(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&Pe(c,e))return i[e]=3,r[e];if(n!==Ve&&Pe(n,e))return i[e]=4,n[e];Ua&&(i[e]=0)}}const u=so[e];let f,h;if(u)return e==="$attrs"&&pt(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==Ve&&Pe(n,e))return i[e]=4,n[e];if(h=l.config.globalProperties,Pe(h,e))return h[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Ai(o,e)?(o[e]=n,!0):s!==Ve&&Pe(s,e)?(s[e]=n,!0):Pe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||t!==Ve&&Pe(t,i)||Ai(e,i)||(a=r[0])&&Pe(a,i)||Pe(s,i)||Pe(so,i)||Pe(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Pe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Ua=!0;function z_(t){const e=Fl(t),n=t.proxy,s=t.ctx;Ua=!1,e.beforeCreate&&Bc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:g,updated:p,activated:m,deactivated:v,beforeDestroy:_,beforeUnmount:b,destroyed:x,unmounted:C,render:R,renderTracked:M,renderTriggered:D,errorCaptured:y,serverPrefetch:k,expose:T,inheritAttrs:L,components:F,directives:Y,filters:I}=e;if(c&&U_(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const A in i){const q=i[A];Me(q)&&(s[A]=q.bind(n))}if(o){const A=o.call(n,n);He(A)&&(t.data=js(A))}if(Ua=!0,r)for(const A in r){const q=r[A],V=Me(q)?q.bind(n,n):Me(q.get)?q.get.bind(n,n):Lt,_e=!Me(q)&&Me(q.set)?q.set.bind(n):Lt,pe=xt({get:V,set:_e});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>pe.value,set:ee=>pe.value=ee})}if(a)for(const A in a)xh(a[A],s,n,A);if(l){const A=Me(l)?l.call(n):l;Reflect.ownKeys(A).forEach(q=>{or(q,A[q])})}u&&Bc(u,t,"c");function W(A,q){ke(q)?q.forEach(V=>A(V.bind(n))):q&&A(q.bind(n))}if(W(D_,f),W(Zr,h),W(L_,g),W(Ll,p),W(O_,m),W(R_,v),W(B_,y),W(F_,M),W(P_,D),W(Il,b),W(_h,C),W(I_,k),ke(T))if(T.length){const A=t.exposed||(t.exposed={});T.forEach(q=>{Object.defineProperty(A,q,{get:()=>n[q],set:V=>n[q]=V})})}else t.exposed||(t.exposed={});R&&t.render===Lt&&(t.render=R),L!=null&&(t.inheritAttrs=L),F&&(t.components=F),Y&&(t.directives=Y)}function U_(t,e,n=Lt,s=!1){ke(t)&&(t=qa(t));for(const o in t){const r=t[o];let i;He(r)?"default"in r?i=nn(r.from||o,r.default,!0):i=nn(r.from||o):i=nn(r),ct(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Bc(t,e,n){kt(ke(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function xh(t,e,n,s){const o=s.includes(".")?dh(n,s):()=>n[s];if(Ke(t)){const r=e[t];Me(r)&&Wn(o,r)}else if(Me(t))Wn(o,t.bind(n));else if(He(t))if(ke(t))t.forEach(r=>xh(r,e,n,s));else{const r=Me(t.handler)?t.handler.bind(n):e[t.handler];Me(r)&&Wn(o,r,t)}}function Fl(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=>vr(l,c,i,!0)),vr(l,e,i)),He(e)&&r.set(e,l),l}function vr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&vr(t,r,n,!0),o&&o.forEach(i=>vr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=q_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const q_={data:$c,props:Fn,emits:Fn,methods:Fn,computed:Fn,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:Fn,directives:Fn,watch:V_,provide:$c,inject:H_};function $c(t,e){return e?t?function(){return nt(Me(t)?t.call(this,this):t,Me(e)?e.call(this,this):e)}:e:t}function H_(t,e){return Fn(qa(t),qa(e))}function qa(t){if(ke(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function ut(t,e){return t?[...new Set([].concat(t,e))]:e}function Fn(t,e){return t?nt(nt(Object.create(null),t),e):e}function V_(t,e){if(!t)return e;if(!e)return t;const n=nt(Object.create(null),t);for(const s in e)n[s]=ut(t[s],e[s]);return n}function G_(t,e,n,s=!1){const o={},r={};mr(r,Qr,1),t.propsDefaults=Object.create(null),kh(t,e,o,r);for(const i in t.propsOptions[0])i in o||(o[i]=void 0);n?t.props=s?o:l_(o):t.type.props?t.props=o:t.props=r,t.attrs=r}function K_(t,e,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=t,a=Be(o),[l]=t.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let h=u[f];if(Vr(t.emitsOptions,h))continue;const g=e[h];if(l)if(Pe(r,h))g!==r[h]&&(r[h]=g,c=!0);else{const p=Wt(h);o[p]=Ha(l,a,p,g,t,!1)}else g!==r[h]&&(r[h]=g,c=!0)}}}else{kh(t,e,o,r)&&(c=!0);let u;for(const f in a)(!e||!Pe(e,f)&&((u=ts(f))===f||!Pe(e,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Ha(l,a,f,void 0,t,!0)):delete o[f]);if(r!==a)for(const f in r)(!e||!Pe(e,f))&&(delete r[f],c=!0)}c&&on(t,"set","$attrs")}function kh(t,e,n,s){const[o,r]=t.propsOptions;let i=!1,a;if(e)for(let l in e){if(sr(l))continue;const c=e[l];let u;o&&Pe(o,u=Wt(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:Vr(t.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,i=!0)}if(r){const l=Be(n),c=a||Ve;for(let u=0;u<r.length;u++){const f=r[u];n[f]=Ha(o,l,f,c[f],t,!Pe(c,f))}}return i}function Ha(t,e,n,s,o,r){const i=t[n];if(i!=null){const a=Pe(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&Me(l)){const{propsDefaults:c}=o;n in c?s=c[n]:(Cs(o),s=c[n]=l.call(null,e),Zn())}else s=l}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===ts(n))&&(s=!0))}return s}function Eh(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(!Me(t)){const u=f=>{l=!0;const[h,g]=Eh(f,e,!0);nt(i,h),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return He(t)&&s.set(t,ms),ms;if(ke(r))for(let u=0;u<r.length;u++){const f=Wt(r[u]);jc(f)&&(i[f]=Ve)}else if(r)for(const u in r){const f=Wt(u);if(jc(f)){const h=r[u],g=i[f]=ke(h)||Me(h)?{type:h}:Object.assign({},h);if(g){const p=qc(Boolean,g.type),m=qc(String,g.type);g[0]=p>-1,g[1]=m<0||p<m,(p>-1||Pe(g,"default"))&&a.push(f)}}}const c=[i,a];return He(t)&&s.set(t,c),c}function jc(t){return t[0]!=="$"}function zc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Uc(t,e){return zc(t)===zc(e)}function qc(t,e){return ke(e)?e.findIndex(n=>Uc(n,t)):Me(e)&&Uc(e,t)?0:-1}const Ch=t=>t[0]==="_"||t==="$stable",Bl=t=>ke(t)?t.map(Bt):[Bt(t)],W_=(t,e,n)=>{if(e._n)return e;const s=We((...o)=>Bl(e(...o)),n);return s._c=!1,s},Ah=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Ch(o))continue;const r=t[o];if(Me(r))e[o]=W_(o,r,s);else if(r!=null){const i=Bl(r);e[o]=()=>i}}},Sh=(t,e)=>{const n=Bl(e);t.slots.default=()=>n},Z_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Be(e),mr(e,"_",n)):Ah(e,t.slots={})}else t.slots={},e&&Sh(t,e);mr(t.slots,Qr,1)},Y_=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ve;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(nt(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Ah(e,o)),i=e}else e&&(Sh(t,e),i={default:1});if(r)for(const a in o)!Ch(a)&&!(a in i)&&delete o[a]};function Th(){return{app:null,config:{isNativeTag:Em,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 Q_=0;function J_(t,e){return function(s,o=null){Me(s)||(s=Object.assign({},s)),o!=null&&!He(o)&&(o=null);const r=Th(),i=new Set;let a=!1;const l=r.app={_uid:Q_++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:_1,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&Me(c.install)?(i.add(c),c.install(l,...u)):Me(c)&&(i.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,f){if(!a){const h=Ae(s,o);return h.appContext=r,u&&e?e(h,c):t(h,c,f),a=!0,l._container=c,c.__vue_app__=l,Jr(h.component)||h.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function Va(t,e,n,s,o=!1){if(ke(t)){t.forEach((h,g)=>Va(h,e&&(ke(e)?e[g]:e),n,s,o));return}if(ws(s)&&!o)return;const r=s.shapeFlag&4?Jr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ve?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ke(c)?(u[c]=null,Pe(f,c)&&(f[c]=null)):ct(c)&&(c.value=null)),Me(l))Sn(l,a,12,[i,u]);else{const h=Ke(l),g=ct(l);if(h||g){const p=()=>{if(t.f){const m=h?Pe(f,l)?f[l]:u[l]:l.value;o?ke(m)&&xl(m,r):ke(m)?m.includes(r)||m.push(r):h?(u[l]=[r],Pe(f,l)&&(f[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else h?(u[l]=i,Pe(f,l)&&(f[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(p.id=-1,st(p,n)):p()}}}const st=C_;function X_(t){return e1(t)}function e1(t,e){const n=Nm();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:g=Lt,insertStaticContent:p}=t,m=(w,E,P,B=null,$=null,ne=null,re=!1,j=null,se=!!E.dynamicChildren)=>{if(w===E)return;w&&!kn(w,E)&&(B=H(w),ee(w,$,ne,!0),w=null),E.patchFlag===-2&&(se=!1,E.dynamicChildren=null);const{type:z,ref:Z,shapeFlag:ie}=E;switch(z){case Yr:v(w,E,P,B);break;case Et:_(w,E,P,B);break;case rr:w==null&&b(E,P,B,re);break;case De:F(w,E,P,B,$,ne,re,j,se);break;default:ie&1?R(w,E,P,B,$,ne,re,j,se):ie&6?Y(w,E,P,B,$,ne,re,j,se):(ie&64||ie&128)&&z.process(w,E,P,B,$,ne,re,j,se,X)}Z!=null&&$&&Va(Z,w&&w.ref,ne,E||w,!E)},v=(w,E,P,B)=>{if(w==null)s(E.el=a(E.children),P,B);else{const $=E.el=w.el;E.children!==w.children&&c($,E.children)}},_=(w,E,P,B)=>{w==null?s(E.el=l(E.children||""),P,B):E.el=w.el},b=(w,E,P,B)=>{[w.el,w.anchor]=p(w.children,E,P,B,w.el,w.anchor)},x=({el:w,anchor:E},P,B)=>{let $;for(;w&&w!==E;)$=h(w),s(w,P,B),w=$;s(E,P,B)},C=({el:w,anchor:E})=>{let P;for(;w&&w!==E;)P=h(w),o(w),w=P;o(E)},R=(w,E,P,B,$,ne,re,j,se)=>{re=re||E.type==="svg",w==null?M(E,P,B,$,ne,re,j,se):k(w,E,$,ne,re,j,se)},M=(w,E,P,B,$,ne,re,j)=>{let se,z;const{type:Z,props:ie,shapeFlag:de,transition:ce,dirs:we}=w;if(se=w.el=i(w.type,ne,ie&&ie.is,ie),de&8?u(se,w.children):de&16&&y(w.children,se,null,B,$,ne&&Z!=="foreignObject",re,j),we&&Nn(w,null,B,"created"),D(se,w,w.scopeId,re,B),ie){for(const oe in ie)oe!=="value"&&!sr(oe)&&r(se,oe,null,ie[oe],ne,w.children,B,$,Q);"value"in ie&&r(se,"value",null,ie.value),(z=ie.onVnodeBeforeMount)&&vt(z,B,w)}we&&Nn(w,null,B,"beforeMount");const K=(!$||$&&!$.pendingBranch)&&ce&&!ce.persisted;K&&ce.beforeEnter(se),s(se,E,P),((z=ie&&ie.onVnodeMounted)||K||we)&&st(()=>{z&&vt(z,B,w),K&&ce.enter(se),we&&Nn(w,null,B,"mounted")},$)},D=(w,E,P,B,$)=>{if(P&&g(w,P),B)for(let ne=0;ne<B.length;ne++)g(w,B[ne]);if($){let ne=$.subTree;if(E===ne){const re=$.vnode;D(w,re,re.scopeId,re.slotScopeIds,$.parent)}}},y=(w,E,P,B,$,ne,re,j,se=0)=>{for(let z=se;z<w.length;z++){const Z=w[z]=j?mn(w[z]):Bt(w[z]);m(null,Z,E,P,B,$,ne,re,j)}},k=(w,E,P,B,$,ne,re)=>{const j=E.el=w.el;let{patchFlag:se,dynamicChildren:z,dirs:Z}=E;se|=w.patchFlag&16;const ie=w.props||Ve,de=E.props||Ve;let ce;P&&Dn(P,!1),(ce=de.onVnodeBeforeUpdate)&&vt(ce,P,E,w),Z&&Nn(E,w,P,"beforeUpdate"),P&&Dn(P,!0);const we=$&&E.type!=="foreignObject";if(z?T(w.dynamicChildren,z,j,P,B,we,ne):re||q(w,E,j,null,P,B,we,ne,!1),se>0){if(se&16)L(j,E,ie,de,P,B,$);else if(se&2&&ie.class!==de.class&&r(j,"class",null,de.class,$),se&4&&r(j,"style",ie.style,de.style,$),se&8){const K=E.dynamicProps;for(let oe=0;oe<K.length;oe++){const he=K[oe],Ce=ie[he],Ie=de[he];(Ie!==Ce||he==="value")&&r(j,he,Ce,Ie,$,w.children,P,B,Q)}}se&1&&w.children!==E.children&&u(j,E.children)}else!re&&z==null&&L(j,E,ie,de,P,B,$);((ce=de.onVnodeUpdated)||Z)&&st(()=>{ce&&vt(ce,P,E,w),Z&&Nn(E,w,P,"updated")},B)},T=(w,E,P,B,$,ne,re)=>{for(let j=0;j<E.length;j++){const se=w[j],z=E[j],Z=se.el&&(se.type===De||!kn(se,z)||se.shapeFlag&70)?f(se.el):P;m(se,z,Z,null,B,$,ne,re,!0)}},L=(w,E,P,B,$,ne,re)=>{if(P!==B){if(P!==Ve)for(const j in P)!sr(j)&&!(j in B)&&r(w,j,P[j],null,re,E.children,$,ne,Q);for(const j in B){if(sr(j))continue;const se=B[j],z=P[j];se!==z&&j!=="value"&&r(w,j,z,se,re,E.children,$,ne,Q)}"value"in B&&r(w,"value",P.value,B.value)}},F=(w,E,P,B,$,ne,re,j,se)=>{const z=E.el=w?w.el:a(""),Z=E.anchor=w?w.anchor:a("");let{patchFlag:ie,dynamicChildren:de,slotScopeIds:ce}=E;ce&&(j=j?j.concat(ce):ce),w==null?(s(z,P,B),s(Z,P,B),y(E.children,P,Z,$,ne,re,j,se)):ie>0&&ie&64&&de&&w.dynamicChildren?(T(w.dynamicChildren,de,P,$,ne,re,j),(E.key!=null||$&&E===$.subTree)&&Mh(w,E,!0)):q(w,E,P,Z,$,ne,re,j,se)},Y=(w,E,P,B,$,ne,re,j,se)=>{E.slotScopeIds=j,w==null?E.shapeFlag&512?$.ctx.activate(E,P,B,re,se):I(E,P,B,$,ne,re,se):ae(w,E,se)},I=(w,E,P,B,$,ne,re)=>{const j=w.component=c1(w,B,$);if(Kr(w)&&(j.ctx.renderer=X),u1(j),j.asyncDep){if($&&$.registerDep(j,W),!w.el){const se=j.subTree=Ae(Et);_(null,se,E,P)}return}W(j,w,E,P,$,ne,re)},ae=(w,E,P)=>{const B=E.component=w.component;if(k_(w,E,P))if(B.asyncDep&&!B.asyncResolved){A(B,E,P);return}else B.next=E,__(B.update),B.update();else E.el=w.el,B.vnode=E},W=(w,E,P,B,$,ne,re)=>{const j=()=>{if(w.isMounted){let{next:Z,bu:ie,u:de,parent:ce,vnode:we}=w,K=Z,oe;Dn(w,!1),Z?(Z.el=we.el,A(w,Z,re)):Z=we,ie&&bs(ie),(oe=Z.props&&Z.props.onVnodeBeforeUpdate)&&vt(oe,ce,Z,we),Dn(w,!0);const he=xi(w),Ce=w.subTree;w.subTree=he,m(Ce,he,f(Ce.el),H(Ce),w,$,ne),Z.el=he.el,K===null&&E_(w,he.el),de&&st(de,$),(oe=Z.props&&Z.props.onVnodeUpdated)&&st(()=>vt(oe,ce,Z,we),$)}else{let Z;const{el:ie,props:de}=E,{bm:ce,m:we,parent:K}=w,oe=ws(E);if(Dn(w,!1),ce&&bs(ce),!oe&&(Z=de&&de.onVnodeBeforeMount)&&vt(Z,K,E),Dn(w,!0),ie&&le){const he=()=>{w.subTree=xi(w),le(ie,w.subTree,w,$,null)};oe?E.type.__asyncLoader().then(()=>!w.isUnmounted&&he()):he()}else{const he=w.subTree=xi(w);m(null,he,P,B,w,$,ne),E.el=he.el}if(we&&st(we,$),!oe&&(Z=de&&de.onVnodeMounted)){const he=E;st(()=>vt(Z,K,he),$)}(E.shapeFlag&256||K&&ws(K.vnode)&&K.vnode.shapeFlag&256)&&w.a&&st(w.a,$),w.isMounted=!0,E=P=B=null}},se=w.effect=new Cl(j,()=>Nl(z),w.scope),z=w.update=()=>se.run();z.id=w.uid,Dn(w,!0),z()},A=(w,E,P)=>{E.component=w;const B=w.vnode.props;w.vnode=E,w.next=null,K_(w,E.props,B,P),Y_(w,E.children,P),Bs(),Lc(),$s()},q=(w,E,P,B,$,ne,re,j,se=!1)=>{const z=w&&w.children,Z=w?w.shapeFlag:0,ie=E.children,{patchFlag:de,shapeFlag:ce}=E;if(de>0){if(de&128){_e(z,ie,P,B,$,ne,re,j,se);return}else if(de&256){V(z,ie,P,B,$,ne,re,j,se);return}}ce&8?(Z&16&&Q(z,$,ne),ie!==z&&u(P,ie)):Z&16?ce&16?_e(z,ie,P,B,$,ne,re,j,se):Q(z,$,ne,!0):(Z&8&&u(P,""),ce&16&&y(ie,P,B,$,ne,re,j,se))},V=(w,E,P,B,$,ne,re,j,se)=>{w=w||ms,E=E||ms;const z=w.length,Z=E.length,ie=Math.min(z,Z);let de;for(de=0;de<ie;de++){const ce=E[de]=se?mn(E[de]):Bt(E[de]);m(w[de],ce,P,null,$,ne,re,j,se)}z>Z?Q(w,$,ne,!0,!1,ie):y(E,P,B,$,ne,re,j,se,ie)},_e=(w,E,P,B,$,ne,re,j,se)=>{let z=0;const Z=E.length;let ie=w.length-1,de=Z-1;for(;z<=ie&&z<=de;){const ce=w[z],we=E[z]=se?mn(E[z]):Bt(E[z]);if(kn(ce,we))m(ce,we,P,null,$,ne,re,j,se);else break;z++}for(;z<=ie&&z<=de;){const ce=w[ie],we=E[de]=se?mn(E[de]):Bt(E[de]);if(kn(ce,we))m(ce,we,P,null,$,ne,re,j,se);else break;ie--,de--}if(z>ie){if(z<=de){const ce=de+1,we=ce<Z?E[ce].el:B;for(;z<=de;)m(null,E[z]=se?mn(E[z]):Bt(E[z]),P,we,$,ne,re,j,se),z++}}else if(z>de)for(;z<=ie;)ee(w[z],$,ne,!0),z++;else{const ce=z,we=z,K=new Map;for(z=we;z<=de;z++){const et=E[z]=se?mn(E[z]):Bt(E[z]);et.key!=null&&K.set(et.key,z)}let oe,he=0;const Ce=de-we+1;let Ie=!1,qe=0;const Ne=new Array(Ce);for(z=0;z<Ce;z++)Ne[z]=0;for(z=ce;z<=ie;z++){const et=w[z];if(he>=Ce){ee(et,$,ne,!0);continue}let it;if(et.key!=null)it=K.get(et.key);else for(oe=we;oe<=de;oe++)if(Ne[oe-we]===0&&kn(et,E[oe])){it=oe;break}it===void 0?ee(et,$,ne,!0):(Ne[it-we]=z+1,it>=qe?qe=it:Ie=!0,m(et,E[it],P,null,$,ne,re,j,se),he++)}const Ye=Ie?t1(Ne):ms;for(oe=Ye.length-1,z=Ce-1;z>=0;z--){const et=we+z,it=E[et],Ec=et+1<Z?E[et+1].el:B;Ne[z]===0?m(null,it,P,Ec,$,ne,re,j,se):Ie&&(oe<0||z!==Ye[oe]?pe(it,P,Ec,2):oe--)}}},pe=(w,E,P,B,$=null)=>{const{el:ne,type:re,transition:j,children:se,shapeFlag:z}=w;if(z&6){pe(w.component.subTree,E,P,B);return}if(z&128){w.suspense.move(E,P,B);return}if(z&64){re.move(w,E,P,X);return}if(re===De){s(ne,E,P);for(let ie=0;ie<se.length;ie++)pe(se[ie],E,P,B);s(w.anchor,E,P);return}if(re===rr){x(w,E,P);return}if(B!==2&&z&1&&j)if(B===0)j.beforeEnter(ne),s(ne,E,P),st(()=>j.enter(ne),$);else{const{leave:ie,delayLeave:de,afterLeave:ce}=j,we=()=>s(ne,E,P),K=()=>{ie(ne,()=>{we(),ce&&ce()})};de?de(ne,we,K):K()}else s(ne,E,P)},ee=(w,E,P,B=!1,$=!1)=>{const{type:ne,props:re,ref:j,children:se,dynamicChildren:z,shapeFlag:Z,patchFlag:ie,dirs:de}=w;if(j!=null&&Va(j,null,P,w,!0),Z&256){E.ctx.deactivate(w);return}const ce=Z&1&&de,we=!ws(w);let K;if(we&&(K=re&&re.onVnodeBeforeUnmount)&&vt(K,E,w),Z&6)N(w.component,P,B);else{if(Z&128){w.suspense.unmount(P,B);return}ce&&Nn(w,null,E,"beforeUnmount"),Z&64?w.type.remove(w,E,P,$,X,B):z&&(ne!==De||ie>0&&ie&64)?Q(z,E,P,!1,!0):(ne===De&&ie&384||!$&&Z&16)&&Q(se,E,P),B&&be(w)}(we&&(K=re&&re.onVnodeUnmounted)||ce)&&st(()=>{K&&vt(K,E,w),ce&&Nn(w,null,E,"unmounted")},P)},be=w=>{const{type:E,el:P,anchor:B,transition:$}=w;if(E===De){Ee(P,B);return}if(E===rr){C(w);return}const ne=()=>{o(P),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(w.shapeFlag&1&&$&&!$.persisted){const{leave:re,delayLeave:j}=$,se=()=>re(P,ne);j?j(w.el,ne,se):se()}else ne()},Ee=(w,E)=>{let P;for(;w!==E;)P=h(w),o(w),w=P;o(E)},N=(w,E,P)=>{const{bum:B,scope:$,update:ne,subTree:re,um:j}=w;B&&bs(B),$.stop(),ne&&(ne.active=!1,ee(re,w,E,P)),j&&st(j,E),st(()=>{w.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},Q=(w,E,P,B=!1,$=!1,ne=0)=>{for(let re=ne;re<w.length;re++)ee(w[re],E,P,B,$)},H=w=>w.shapeFlag&6?H(w.component.subTree):w.shapeFlag&128?w.suspense.next():h(w.anchor||w.el),te=(w,E,P)=>{w==null?E._vnode&&ee(E._vnode,null,null,!0):m(E._vnode||null,w,E,null,null,null,P),Lc(),ih(),E._vnode=w},X={p:m,um:ee,m:pe,r:be,mt:I,mc:y,pc:q,pbc:T,n:H,o:t};let fe,le;return e&&([fe,le]=e(X)),{render:te,hydrate:fe,createApp:J_(te,fe)}}function Dn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Mh(t,e,n=!1){const s=t.children,o=e.children;if(ke(s)&&ke(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]=mn(o[r]),a.el=i.el),n||Mh(i,a)),a.type===Yr&&(a.el=i.el)}}function t1(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 n1=t=>t.__isTeleport,De=Symbol(void 0),Yr=Symbol(void 0),Et=Symbol(void 0),rr=Symbol(void 0),oo=[];let Dt=null;function S(t=!1){oo.push(Dt=t?null:[])}function s1(){oo.pop(),Dt=oo[oo.length-1]||null}let yo=1;function Hc(t){yo+=t}function Oh(t){return t.dynamicChildren=yo>0?Dt||ms:null,s1(),yo>0&&Dt&&Dt.push(t),t}function O(t,e,n,s,o,r){return Oh(d(t,e,n,s,o,r,!0))}function ot(t,e,n,s,o){return Oh(Ae(t,e,n,s,o,!0))}function vo(t){return t?t.__v_isVNode===!0:!1}function kn(t,e){return t.type===e.type&&t.key===e.key}const Qr="__vInternal",Rh=({key:t})=>t??null,ir=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ke(t)||ct(t)||Me(t)?{i:rt,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===De?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Rh(e),ref:e&&ir(e),scopeId:Gr,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:rt};return a?($l(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),yo>0&&!i&&Dt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Dt.push(l),l}const Ae=o1;function o1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===bh)&&(t=Et),vo(t)){const a=rn(t,e,!0);return n&&$l(a,n),yo>0&&!r&&Dt&&(a.shapeFlag&6?Dt[Dt.indexOf(t)]=a:Dt.push(a)),a.patchFlag|=-2,a}if(p1(t)&&(t=t.__vccOpts),e){e=r1(e);let{class:a,style:l}=e;a&&!Ke(a)&&(e.class=Te(a)),He(l)&&(Qf(l)&&!ke(l)&&(l=nt({},l)),e.style=jt(l))}const i=Ke(t)?1:ch(t)?128:n1(t)?64:He(t)?4:Me(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function r1(t){return t?Qf(t)||Qr in t?nt({},t):t:null}function rn(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?i1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Rh(a),ref:e&&e.ref?n&&o?ke(o)?o.concat(ir(e)):[o,ir(e)]:ir(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!==De?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&&rn(t.ssContent),ssFallback:t.ssFallback&&rn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ve(t=" ",e=0){return Ae(Yr,null,t,e)}function zs(t,e){const n=Ae(rr,null,t);return n.staticCount=e,n}function U(t="",e=!1){return e?(S(),ot(Et,null,t)):Ae(Et,null,t)}function Bt(t){return t==null||typeof t=="boolean"?Ae(Et):ke(t)?Ae(De,null,t.slice()):typeof t=="object"?mn(t):Ae(Yr,null,String(t))}function mn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:rn(t)}function $l(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(ke(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),$l(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Qr in e)?e._ctx=rt:o===3&&rt&&(rt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Me(e)?(e={default:e,_ctx:rt},n=32):(e=String(e),s&64?(n=16,e=[ve(e)]):n=8);t.children=e,t.shapeFlag|=n}function i1(...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=jt([e.style,s.style]);else if(jr(o)){const r=e[o],i=s[o];i&&r!==i&&!(ke(r)&&r.includes(i))&&(e[o]=r?[].concat(r,i):i)}else o!==""&&(e[o]=s[o])}return e}function vt(t,e,n,s=null){kt(t,e,7,[n,s])}const a1=Th();let l1=0;function c1(t,e,n){const s=t.type,o=(e?e.appContext:t.appContext)||a1,r={uid:l1++,vnode:t,type:s,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Dm(!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:Eh(s,o),emitsOptions:lh(s,o),emit:null,emitted:null,propsDefaults:Ve,inheritAttrs:s.inheritAttrs,ctx:Ve,data:Ve,props:Ve,attrs:Ve,slots:Ve,refs:Ve,setupState:Ve,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=v_.bind(null,r),t.ce&&t.ce(r),r}let Ze=null;const jl=()=>Ze||rt,Cs=t=>{Ze=t,t.scope.on()},Zn=()=>{Ze&&Ze.scope.off(),Ze=null};function Nh(t){return t.vnode.shapeFlag&4}let wo=!1;function u1(t,e=!1){wo=e;const{props:n,children:s}=t.vnode,o=Nh(t);G_(t,n,o,e),Z_(t,s);const r=o?d1(t,e):void 0;return wo=!1,r}function d1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Jf(new Proxy(t.ctx,j_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?h1(t):null;Cs(t),Bs();const r=Sn(s,t,0,[t.props,o]);if($s(),Zn(),Ff(r)){if(r.then(Zn,Zn),e)return r.then(i=>{Vc(t,i,e)}).catch(i=>{Hr(i,t,0)});t.asyncDep=r}else Vc(t,r,e)}else Dh(t,e)}function Vc(t,e,n){Me(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:He(e)&&(t.setupState=nh(e)),Dh(t,n)}let Gc;function Dh(t,e,n){const s=t.type;if(!t.render){if(!e&&Gc&&!s.render){const o=s.template||Fl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=nt(nt({isCustomElement:r,delimiters:a},i),l);s.render=Gc(o,c)}}t.render=s.render||Lt}Cs(t),Bs(),z_(t),$s(),Zn()}function f1(t){return new Proxy(t.attrs,{get(e,n){return pt(t,"get","$attrs"),e[n]}})}function h1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=f1(t))},slots:t.slots,emit:t.emit,expose:e}}function Jr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(nh(Jf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in so)return so[n](t)},has(e,n){return n in e||n in so}}))}function Ga(t,e=!0){return Me(t)?t.displayName||t.name:t.name||e&&t.__name}function p1(t){return Me(t)&&"__vccOpts"in t}const xt=(t,e)=>p_(t,e,wo);function zl(t,e,n){const s=arguments.length;return s===2?He(e)&&!ke(e)?vo(e)?Ae(t,null,[e]):Ae(t,e):Ae(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&vo(n)&&(n=[n]),Ae(t,e,n))}const g1=Symbol(""),m1=()=>nn(g1),_1="3.2.47",b1="http://www.w3.org/2000/svg",jn=typeof document<"u"?document:null,Kc=jn&&jn.createElement("template"),y1={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?jn.createElementNS(b1,t):jn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>jn.createTextNode(t),createComment:t=>jn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>jn.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{Kc.innerHTML=s?`<svg>${t}</svg>`:t;const a=Kc.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 v1(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 w1(t,e,n){const s=t.style,o=Ke(n);if(n&&!o){if(e&&!Ke(e))for(const r in e)n[r]==null&&Ka(s,r,"");for(const r in n)Ka(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 Wc=/\s*!important$/;function Ka(t,e,n){if(ke(n))n.forEach(s=>Ka(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=x1(t,e);Wc.test(n)?t.setProperty(ts(s),n.replace(Wc,""),"important"):t[s]=n}}const Zc=["Webkit","Moz","ms"],Si={};function x1(t,e){const n=Si[e];if(n)return n;let s=Wt(e);if(s!=="filter"&&s in t)return Si[e]=s;s=Ur(s);for(let o=0;o<Zc.length;o++){const r=Zc[o]+s;if(r in t)return Si[e]=r}return e}const Yc="http://www.w3.org/1999/xlink";function k1(t,e,n,s,o){if(s&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Yc,e.slice(6,e.length)):t.setAttributeNS(Yc,e,n);else{const r=xm(e);n==null||r&&!If(n)?t.removeAttribute(e):t.setAttribute(e,r?"":n)}}function E1(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=If(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{t[e]=n}catch{}a&&t.removeAttribute(e)}function En(t,e,n,s){t.addEventListener(e,n,s)}function C1(t,e,n,s){t.removeEventListener(e,n,s)}function A1(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]=S1(e);if(s){const c=r[e]=O1(s,o);En(t,a,c,l)}else i&&(C1(t,a,i,l),r[e]=void 0)}}const Qc=/(?:Once|Passive|Capture)$/;function S1(t){let e;if(Qc.test(t)){e={};let s;for(;s=t.match(Qc);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ts(t.slice(2)),e]}let Ti=0;const T1=Promise.resolve(),M1=()=>Ti||(T1.then(()=>Ti=0),Ti=Date.now());function O1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;kt(R1(s,n.value),e,5,[s])};return n.value=t,n.attached=M1(),n}function R1(t,e){if(ke(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 Jc=/^on[a-z]/,N1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?v1(t,s,o):e==="style"?w1(t,n,s):jr(e)?wl(e)||A1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):D1(t,e,s,o))?E1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),k1(t,e,s,o))};function D1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&Jc.test(e)&&Me(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Jc.test(e)&&Ke(n)?!1:e in t}const fn="transition",Ws="animation",wr=(t,{slots:e})=>zl(hh,Ih(t),e);wr.displayName="Transition";const Lh={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},L1=wr.props=nt({},hh.props,Lh),Ln=(t,e=[])=>{ke(t)?t.forEach(n=>n(...e)):t&&t(...e)},Xc=t=>t?ke(t)?t.some(e=>e.length>1):t.length>1:!1;function Ih(t){const e={};for(const F in t)F in Lh||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,p=I1(o),m=p&&p[0],v=p&&p[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:x,onLeave:C,onLeaveCancelled:R,onBeforeAppear:M=_,onAppear:D=b,onAppearCancelled:y=x}=e,k=(F,Y,I)=>{gn(F,Y?u:a),gn(F,Y?c:i),I&&I()},T=(F,Y)=>{F._isLeaving=!1,gn(F,f),gn(F,g),gn(F,h),Y&&Y()},L=F=>(Y,I)=>{const ae=F?D:b,W=()=>k(Y,F,I);Ln(ae,[Y,W]),eu(()=>{gn(Y,F?l:r),en(Y,F?u:a),Xc(ae)||tu(Y,s,m,W)})};return nt(e,{onBeforeEnter(F){Ln(_,[F]),en(F,r),en(F,i)},onBeforeAppear(F){Ln(M,[F]),en(F,l),en(F,c)},onEnter:L(!1),onAppear:L(!0),onLeave(F,Y){F._isLeaving=!0;const I=()=>T(F,Y);en(F,f),Fh(),en(F,h),eu(()=>{F._isLeaving&&(gn(F,f),en(F,g),Xc(C)||tu(F,s,v,I))}),Ln(C,[F,I])},onEnterCancelled(F){k(F,!1),Ln(x,[F])},onAppearCancelled(F){k(F,!0),Ln(y,[F])},onLeaveCancelled(F){T(F),Ln(R,[F])}})}function I1(t){if(t==null)return null;if(He(t))return[Mi(t.enter),Mi(t.leave)];{const e=Mi(t);return[e,e]}}function Mi(t){return Rm(t)}function en(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function gn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function eu(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let P1=0;function tu(t,e,n,s){const o=t._endId=++P1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Ph(t,e);if(!i)return s();const c=i+"end";let u=0;const f=()=>{t.removeEventListener(c,h),r()},h=g=>{g.target===t&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),t.addEventListener(c,h)}function Ph(t,e){const n=window.getComputedStyle(t),s=p=>(n[p]||"").split(", "),o=s(`${fn}Delay`),r=s(`${fn}Duration`),i=nu(o,r),a=s(`${Ws}Delay`),l=s(`${Ws}Duration`),c=nu(a,l);let u=null,f=0,h=0;e===fn?i>0&&(u=fn,f=i,h=r.length):e===Ws?c>0&&(u=Ws,f=c,h=l.length):(f=Math.max(i,c),u=f>0?i>c?fn:Ws:null,h=u?u===fn?r.length:l.length:0);const g=u===fn&&/\b(transform|all)(,|$)/.test(s(`${fn}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:g}}function nu(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>su(n)+su(t[s])))}function su(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Fh(){return document.body.offsetHeight}const Bh=new WeakMap,$h=new WeakMap,jh={name:"TransitionGroup",props:nt({},L1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=jl(),s=fh();let o,r;return Ll(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!z1(o[0].el,n.vnode.el,i))return;o.forEach(B1),o.forEach($1);const a=o.filter(j1);Fh(),a.forEach(l=>{const c=l.el,u=c.style;en(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,gn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Be(t),a=Ih(i);let l=i.tag||De;o=r,r=e.default?Dl(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Es(u,bo(u,a,s,n))}if(o)for(let c=0;c<o.length;c++){const u=o[c];Es(u,bo(u,a,s,n)),Bh.set(u,u.el.getBoundingClientRect())}return Ae(l,null,r)}}},F1=t=>delete t.mode;jh.props;const zt=jh;function B1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function $1(t){$h.set(t,t.el.getBoundingClientRect())}function j1(t){const e=Bh.get(t),n=$h.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 z1(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}=Ph(s);return o.removeChild(s),r}const As=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ke(e)?n=>bs(e,n):e};function U1(t){t.target.composing=!0}function ou(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const je={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=As(o);const r=s||o.props&&o.props.type==="number";En(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=_r(a)),t._assign(a)}),n&&En(t,"change",()=>{t.value=t.value.trim()}),e||(En(t,"compositionstart",U1),En(t,"compositionend",ou),En(t,"change",ou))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=As(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&_r(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},_n={deep:!0,created(t,e,n){t._assign=As(n),En(t,"change",()=>{const s=t._modelValue,o=xo(t),r=t.checked,i=t._assign;if(ke(s)){const a=vl(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(Ps(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(zh(t,r))})},mounted:ru,beforeUpdate(t,e,n){t._assign=As(n),ru(t,e,n)}};function ru(t,{value:e,oldValue:n},s){t._modelValue=e,ke(e)?t.checked=vl(e,s.props.value)>-1:Ps(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=Ro(e,zh(t,!0)))}const q1={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Ps(e);En(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?_r(xo(i)):xo(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=As(s)},mounted(t,{value:e}){iu(t,e)},beforeUpdate(t,e,n){t._assign=As(n)},updated(t,{value:e}){iu(t,e)}};function iu(t,e){const n=t.multiple;if(!(n&&!ke(e)&&!Ps(e))){for(let s=0,o=t.options.length;s<o;s++){const r=t.options[s],i=xo(r);if(n)ke(e)?r.selected=vl(e,i)>-1:r.selected=e.has(i);else if(Ro(xo(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function xo(t){return"_value"in t?t._value:t.value}function zh(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const H1=["ctrl","shift","alt","meta"],V1={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)=>H1.some(n=>t[`${n}Key`]&&!e.includes(n))},ue=(t,e)=>(n,...s)=>{for(let o=0;o<e.length;o++){const r=V1[e[o]];if(r&&r(n,e))return}return t(n,...s)},G1={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Wa=(t,e)=>n=>{if(!("key"in n))return;const s=ts(n.key);if(e.some(o=>o===s||G1[o]===s))return t(n)},dt={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Zs(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Zs(t,!0),s.enter(t)):s.leave(t,()=>{Zs(t,!1)}):Zs(t,e))},beforeUnmount(t,{value:e}){Zs(t,e)}};function Zs(t,e){t.style.display=e?t._vod:"none"}const K1=nt({patchProp:N1},y1);let au;function W1(){return au||(au=X_(K1))}const Z1=(...t)=>{const e=W1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=Y1(s);if(!o)return;const r=e._component;!Me(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 Y1(t){return Ke(t)?document.querySelector(t):t}function Q1(){return Uh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Uh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const J1=typeof Proxy=="function",X1="devtools-plugin:setup",e0="plugin:settings:set";let as,Za;function t0(){var t;return as!==void 0||(typeof window<"u"&&window.performance?(as=!0,Za=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(as=!0,Za=global.perf_hooks.performance):as=!1),as}function n0(){return t0()?Za.now():Date.now()}class s0{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 n0()}},n&&n.on(e0,(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 o0(t,e){const n=t,s=Uh(),o=Q1(),r=J1&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(X1,t,e);else{const i=r?new s0(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 r0="store";function Us(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function qh(t){return t!==null&&typeof t=="object"}function i0(t){return t&&typeof t.then=="function"}function a0(t,e){return function(){return t(e)}}function Hh(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 Vh(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;Xr(t,n,[],t._modules.root,!0),Ul(t,n,e)}function Ul(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Us(o,function(i,a){r[a]=a0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=js({data:e}),t.strict&&f0(t),s&&n&&t._withCommit(function(){s.data=null})}function Xr(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=ql(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var c=s.context=l0(t,i,n);s.forEachMutation(function(u,f){var h=i+f;c0(t,h,u,c)}),s.forEachAction(function(u,f){var h=u.root?f:i+f,g=u.handler||u;u0(t,h,g,c)}),s.forEachGetter(function(u,f){var h=i+f;d0(t,h,u,c)}),s.forEachChild(function(u,f){Xr(t,e,n.concat(f),u,o)})}function l0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=xr(r,i,a),c=l.payload,u=l.options,f=l.type;return(!u||!u.root)&&(f=e+f),t.dispatch(f,c)},commit:s?t.commit:function(r,i,a){var l=xr(r,i,a),c=l.payload,u=l.options,f=l.type;(!u||!u.root)&&(f=e+f),t.commit(f,c,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return Gh(t,e)}},state:{get:function(){return ql(t.state,n)}}}),o}function Gh(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 c0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function u0(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 i0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function d0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function f0(t){Wn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function ql(t,e){return e.reduce(function(n,s){return n[s]},t)}function xr(t,e,n){return qh(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var h0="vuex bindings",lu="vuex:mutations",Oi="vuex:actions",ls="vuex",p0=0;function g0(t,e){o0({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:[h0]},function(n){n.addTimelineLayer({id:lu,label:"Vuex Mutations",color:cu}),n.addTimelineLayer({id:Oi,label:"Vuex Actions",color:cu}),n.addInspector({id:ls,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===ls)if(s.filter){var o=[];Yh(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[Zh(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===ls){var o=s.nodeId;Gh(e,o),s.state=b0(v0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===ls){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(ls),n.sendInspectorState(ls),n.addTimelineEvent({layerId:lu,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=p0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Oi,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:Oi,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var cu=8702998,m0=6710886,_0=16777215,Kh={label:"namespaced",textColor:_0,backgroundColor:m0};function Wh(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Zh(t,e){return{id:e||"root",label:Wh(e),tags:t.namespaced?[Kh]:[],children:Object.keys(t._children).map(function(n){return Zh(t._children[n],e+n+"/")})}}function Yh(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?[Kh]:[]}),Object.keys(e._children).forEach(function(o){Yh(t,e._children[o],n,s+o+"/")})}function b0(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=y0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?Wh(i):i,editable:!1,value:Ya(function(){return r[i]})}})}return o}function y0(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]=Ya(function(){return t[n]})}else e[n]=Ya(function(){return t[n]})}),e}function v0(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 Ya(t){try{return t()}catch(e){return e}}var Pt=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)||{}},Qh={namespaced:{configurable:!0}};Qh.namespaced.get=function(){return!!this._rawModule.namespaced};Pt.prototype.addChild=function(e,n){this._children[e]=n};Pt.prototype.removeChild=function(e){delete this._children[e]};Pt.prototype.getChild=function(e){return this._children[e]};Pt.prototype.hasChild=function(e){return e in this._children};Pt.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)};Pt.prototype.forEachChild=function(e){Us(this._children,e)};Pt.prototype.forEachGetter=function(e){this._rawModule.getters&&Us(this._rawModule.getters,e)};Pt.prototype.forEachAction=function(e){this._rawModule.actions&&Us(this._rawModule.actions,e)};Pt.prototype.forEachMutation=function(e){this._rawModule.mutations&&Us(this._rawModule.mutations,e)};Object.defineProperties(Pt.prototype,Qh);var os=function(e){this.register([],e,!1)};os.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};os.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};os.prototype.update=function(e){Jh([],this.root,e)};os.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Pt(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&&Us(n.modules,function(a,l){o.register(e.concat(l),a,s)})};os.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)};os.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function Jh(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;Jh(t.concat(s),e.getChild(s),n.modules[s])}}function w0(t){return new gt(t)}var gt=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 os(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(h,g){return l.call(i,h,g)},this.commit=function(h,g,p){return c.call(i,h,g,p)},this.strict=o;var u=this._modules.root.state;Xr(this,u,[],this._modules.root),Ul(this,u),s.forEach(function(f){return f(n)})},Hl={state:{configurable:!0}};gt.prototype.install=function(e,n){e.provide(n||r0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&g0(e,this)};Hl.state.get=function(){return this._state.data};Hl.state.set=function(t){};gt.prototype.commit=function(e,n,s){var o=this,r=xr(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(f){f(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};gt.prototype.dispatch=function(e,n){var s=this,o=xr(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,f){c.then(function(h){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}u(h)},function(h){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,h)})}catch{}f(h)})})}};gt.prototype.subscribe=function(e,n){return Hh(e,this._subscribers,n)};gt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Hh(s,this._actionSubscribers,n)};gt.prototype.watch=function(e,n,s){var o=this;return Wn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};gt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};gt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),Xr(this,this.state,e,this._modules.get(e),s.preserveState),Ul(this,this.state)};gt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=ql(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Vh(this)};gt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};gt.prototype.hotUpdate=function(e){this._modules.update(e),Vh(this,!0)};gt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(gt.prototype,Hl);var x0=C0(function(t,e){var n={};return k0(e).forEach(function(s){var o=s.key,r=s.val;n[o]=function(){var a=this.$store.state,l=this.$store.getters;if(t){var c=A0(this.$store,"mapState",t);if(!c)return;a=c.context.state,l=c.context.getters}return typeof r=="function"?r.call(this,a,l):a[r]},n[o].vuex=!0}),n});function k0(t){return E0(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function E0(t){return Array.isArray(t)||qh(t)}function C0(t){return function(e,n){return typeof e!="string"?(n=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,n)}}function A0(t,e,n){var s=t._modulesNamespaceMap[n];return s}function Xh(t,e){return function(){return t.apply(e,arguments)}}const{toString:S0}=Object.prototype,{getPrototypeOf:Vl}=Object,ei=(t=>e=>{const n=S0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),un=t=>(t=t.toLowerCase(),e=>ei(e)===t),ti=t=>e=>typeof e===t,{isArray:qs}=Array,ko=ti("undefined");function T0(t){return t!==null&&!ko(t)&&t.constructor!==null&&!ko(t.constructor)&&an(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ep=un("ArrayBuffer");function M0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ep(t.buffer),e}const O0=ti("string"),an=ti("function"),tp=ti("number"),Gl=t=>t!==null&&typeof t=="object",R0=t=>t===!0||t===!1,ar=t=>{if(ei(t)!=="object")return!1;const e=Vl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},N0=un("Date"),D0=un("File"),L0=un("Blob"),I0=un("FileList"),P0=t=>Gl(t)&&an(t.pipe),F0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||an(t.append)&&((e=ei(t))==="formdata"||e==="object"&&an(t.toString)&&t.toString()==="[object FormData]"))},B0=un("URLSearchParams"),$0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function No(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),qs(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 np(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 sp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),op=t=>!ko(t)&&t!==sp;function Qa(){const{caseless:t}=op(this)&&this||{},e={},n=(s,o)=>{const r=t&&np(e,o)||o;ar(e[r])&&ar(s)?e[r]=Qa(e[r],s):ar(s)?e[r]=Qa({},s):qs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&No(arguments[s],n);return e}const j0=(t,e,n,{allOwnKeys:s}={})=>(No(e,(o,r)=>{n&&an(o)?t[r]=Xh(o,n):t[r]=o},{allOwnKeys:s}),t),z0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),U0=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},q0=(t,e,n,s)=>{let o,r,i;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),r=o.length;r-- >0;)i=o[r],(!s||s(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&Vl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},H0=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},V0=t=>{if(!t)return null;if(qs(t))return t;let e=t.length;if(!tp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},G0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Vl(Uint8Array)),K0=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=s.next())&&!o.done;){const r=o.value;e.call(t,r[0],r[1])}},W0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Z0=un("HTMLFormElement"),Y0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),uu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Q0=un("RegExp"),rp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};No(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},J0=t=>{rp(t,(e,n)=>{if(an(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(an(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},X0=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return qs(t)?s(t):s(String(t).split(e)),n},eb=()=>{},tb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ri="abcdefghijklmnopqrstuvwxyz",du="0123456789",ip={DIGIT:du,ALPHA:Ri,ALPHA_DIGIT:Ri+Ri.toUpperCase()+du},nb=(t=16,e=ip.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function sb(t){return!!(t&&an(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ob=t=>{const e=new Array(10),n=(s,o)=>{if(Gl(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=qs(s)?[]:{};return No(s,(i,a)=>{const l=n(i,o+1);!ko(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},G={isArray:qs,isArrayBuffer:ep,isBuffer:T0,isFormData:F0,isArrayBufferView:M0,isString:O0,isNumber:tp,isBoolean:R0,isObject:Gl,isPlainObject:ar,isUndefined:ko,isDate:N0,isFile:D0,isBlob:L0,isRegExp:Q0,isFunction:an,isStream:P0,isURLSearchParams:B0,isTypedArray:G0,isFileList:I0,forEach:No,merge:Qa,extend:j0,trim:$0,stripBOM:z0,inherits:U0,toFlatObject:q0,kindOf:ei,kindOfTest:un,endsWith:H0,toArray:V0,forEachEntry:K0,matchAll:W0,isHTMLForm:Z0,hasOwnProperty:uu,hasOwnProp:uu,reduceDescriptors:rp,freezeMethods:J0,toObjectSet:X0,toCamelCase:Y0,noop:eb,toFiniteNumber:tb,findKey:np,global:sp,isContextDefined:op,ALPHABET:ip,generateString:nb,isSpecCompliantForm:sb,toJSONObject:ob};function Fe(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}G.inherits(Fe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ap=Fe.prototype,lp={};["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=>{lp[t]={value:t}});Object.defineProperties(Fe,lp);Object.defineProperty(ap,"isAxiosError",{value:!0});Fe.from=(t,e,n,s,o,r)=>{const i=Object.create(ap);return G.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Fe.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const rb=null;function Ja(t){return G.isPlainObject(t)||G.isArray(t)}function cp(t){return G.endsWith(t,"[]")?t.slice(0,-2):t}function fu(t,e,n){return t?t.concat(e).map(function(o,r){return o=cp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function ib(t){return G.isArray(t)&&!t.some(Ja)}const ab=G.toFlatObject(G,{},null,function(e){return/^is[A-Z]/.test(e)});function ni(t,e,n){if(!G.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=G.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!G.isUndefined(v[m])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(e);if(!G.isFunction(o))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(G.isDate(p))return p.toISOString();if(!l&&G.isBlob(p))throw new Fe("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(p)||G.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,v){let _=p;if(p&&!v&&typeof p=="object"){if(G.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(G.isArray(p)&&ib(p)||(G.isFileList(p)||G.endsWith(m,"[]"))&&(_=G.toArray(p)))return m=cp(m),_.forEach(function(x,C){!(G.isUndefined(x)||x===null)&&e.append(i===!0?fu([m],C,r):i===null?m:m+"[]",c(x))}),!1}return Ja(p)?!0:(e.append(fu(v,m,r),c(p)),!1)}const f=[],h=Object.assign(ab,{defaultVisitor:u,convertValue:c,isVisitable:Ja});function g(p,m){if(!G.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),G.forEach(p,function(_,b){(!(G.isUndefined(_)||_===null)&&o.call(e,_,G.isString(b)?b.trim():b,m,h))===!0&&g(_,m?m.concat(b):[b])}),f.pop()}}if(!G.isObject(t))throw new TypeError("data must be an object");return g(t),e}function hu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Kl(t,e){this._pairs=[],t&&ni(t,this,e)}const up=Kl.prototype;up.append=function(e,n){this._pairs.push([e,n])};up.toString=function(e){const n=e?function(s){return e.call(this,s,hu)}:hu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function lb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dp(t,e,n){if(!e)return t;const s=n&&n.encode||lb,o=n&&n.serialize;let r;if(o?r=o(e,n):r=G.isURLSearchParams(e)?e.toString():new Kl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class cb{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){G.forEach(this.handlers,function(s){s!==null&&e(s)})}}const pu=cb,fp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ub=typeof URLSearchParams<"u"?URLSearchParams:Kl,db=typeof FormData<"u"?FormData:null,fb=typeof Blob<"u"?Blob:null,hb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),pb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ut={isBrowser:!0,classes:{URLSearchParams:ub,FormData:db,Blob:fb},isStandardBrowserEnv:hb,isStandardBrowserWebWorkerEnv:pb,protocols:["http","https","file","blob","url","data"]};function gb(t,e){return ni(t,new Ut.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return Ut.isNode&&G.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function mb(t){return G.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _b(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s<o;s++)r=n[s],e[r]=t[r];return e}function hp(t){function e(n,s,o,r){let i=n[r++];const a=Number.isFinite(+i),l=r>=n.length;return i=!i&&G.isArray(o)?o.length:i,l?(G.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!G.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&G.isArray(o[i])&&(o[i]=_b(o[i])),!a)}if(G.isFormData(t)&&G.isFunction(t.entries)){const n={};return G.forEachEntry(t,(s,o)=>{e(mb(s),o,n,0)}),n}return null}const bb={"Content-Type":void 0};function yb(t,e,n){if(G.isString(t))try{return(e||JSON.parse)(t),G.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const si={transitional:fp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=G.isObject(e);if(r&&G.isHTMLForm(e)&&(e=new FormData(e)),G.isFormData(e))return o&&o?JSON.stringify(hp(e)):e;if(G.isArrayBuffer(e)||G.isBuffer(e)||G.isStream(e)||G.isFile(e)||G.isBlob(e))return e;if(G.isArrayBufferView(e))return e.buffer;if(G.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return gb(e,this.formSerializer).toString();if((a=G.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ni(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),yb(e)):e}],transformResponse:[function(e){const n=this.transitional||si.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&G.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?Fe.from(a,Fe.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:Ut.classes.FormData,Blob:Ut.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};G.forEach(["delete","get","head"],function(e){si.headers[e]={}});G.forEach(["post","put","patch"],function(e){si.headers[e]=G.merge(bb)});const Wl=si,vb=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),wb=t=>{const e={};let n,s,o;return t&&t.split(`
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||e[n]&&vb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},gu=Symbol("internals");function Ys(t){return t&&String(t).trim().toLowerCase()}function lr(t){return t===!1||t==null?t:G.isArray(t)?t.map(lr):String(t)}function xb(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const kb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ni(t,e,n,s,o){if(G.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!G.isString(e)){if(G.isString(s))return e.indexOf(s)!==-1;if(G.isRegExp(s))return s.test(e)}}function Eb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Cb(t,e){const n=G.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(o,r,i){return this[s].call(this,e,o,r,i)},configurable:!0})})}class oi{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const u=Ys(l);if(!u)throw new Error("header name must be a non-empty string");const f=G.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=lr(a))}const i=(a,l)=>G.forEach(a,(c,u)=>r(c,u,l));return G.isPlainObject(e)||e instanceof this.constructor?i(e,n):G.isString(e)&&(e=e.trim())&&!kb(e)?i(wb(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Ys(e),e){const s=G.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return xb(o);if(G.isFunction(n))return n.call(this,o,s);if(G.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Ys(e),e){const s=G.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Ni(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Ys(i),i){const a=G.findKey(s,i);a&&(!n||Ni(s,s[a],a,n))&&(delete s[a],o=!0)}}return G.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!e||Ni(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return G.forEach(this,(o,r)=>{const i=G.findKey(s,r);if(i){n[i]=lr(o),delete n[r];return}const a=e?Eb(r):String(r).trim();a!==r&&delete n[r],n[a]=lr(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return G.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&G.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[gu]=this[gu]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Ys(i);s[a]||(Cb(o,i),s[a]=!0)}return G.isArray(e)?e.forEach(r):r(e),this}}oi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.freezeMethods(oi.prototype);G.freezeMethods(oi);const sn=oi;function Di(t,e){const n=this||Wl,s=e||n,o=sn.from(s.headers);let r=s.data;return G.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function pp(t){return!!(t&&t.__CANCEL__)}function Do(t,e,n){Fe.call(this,t??"canceled",Fe.ERR_CANCELED,e,n),this.name="CanceledError"}G.inherits(Do,Fe,{__CANCEL__:!0});function Ab(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Fe("Request failed with status code "+n.status,[Fe.ERR_BAD_REQUEST,Fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Sb=Ut.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),G.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),G.isString(r)&&l.push("path="+r),G.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Tb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Mb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function gp(t,e){return t&&!Tb(e)?Mb(t,e):e}const Ob=Ut.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(i){const a=G.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Rb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Nb(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];i||(i=c),n[o]=l,s[o]=c;let f=r,h=0;for(;f!==o;)h+=n[f++],f=f%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-i<e)return;const g=u&&c-u;return g?Math.round(h*1e3/g):void 0}}function mu(t,e){let n=0;const s=Nb(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 Db=typeof XMLHttpRequest<"u",Lb=Db&&function(t){return new Promise(function(n,s){let o=t.data;const r=sn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}G.isFormData(o)&&(Ut.isStandardBrowserEnv||Ut.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=gp(t.baseURL,t.url);c.open(t.method.toUpperCase(),dp(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function f(){if(!c)return;const g=sn.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};Ab(function(_){n(_),l()},function(_){s(_),l()},m),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(s(new Fe("Request aborted",Fe.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new Fe("Network Error",Fe.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||fp;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),s(new Fe(p,m.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,t,c)),c=null},Ut.isStandardBrowserEnv){const g=(t.withCredentials||Ob(u))&&t.xsrfCookieName&&Sb.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&G.forEach(r.toJSON(),function(p,m){c.setRequestHeader(m,p)}),G.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",mu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",mu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{c&&(s(!g||g.type?new Do(null,t,c):g),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const h=Rb(u);if(h&&Ut.protocols.indexOf(h)===-1){s(new Fe("Unsupported protocol "+h+":",Fe.ERR_BAD_REQUEST,t));return}c.send(o||null)})},cr={http:rb,xhr:Lb};G.forEach(cr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Ib={getAdapter:t=>{t=G.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;o<e&&(n=t[o],!(s=G.isString(n)?cr[n.toLowerCase()]:n));o++);if(!s)throw s===!1?new Fe(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(G.hasOwnProp(cr,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!G.isFunction(s))throw new TypeError("adapter is not a function");return s},adapters:cr};function Li(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Do(null,t)}function _u(t){return Li(t),t.headers=sn.from(t.headers),t.data=Di.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Ib.getAdapter(t.adapter||Wl.adapter)(t).then(function(s){return Li(t),s.data=Di.call(t,t.transformResponse,s),s.headers=sn.from(s.headers),s},function(s){return pp(s)||(Li(t),s&&s.response&&(s.response.data=Di.call(t,t.transformResponse,s.response),s.response.headers=sn.from(s.response.headers))),Promise.reject(s)})}const bu=t=>t instanceof sn?t.toJSON():t;function Ss(t,e){e=e||{};const n={};function s(c,u,f){return G.isPlainObject(c)&&G.isPlainObject(u)?G.merge.call({caseless:f},c,u):G.isPlainObject(u)?G.merge({},u):G.isArray(u)?u.slice():u}function o(c,u,f){if(G.isUndefined(u)){if(!G.isUndefined(c))return s(void 0,c,f)}else return s(c,u,f)}function r(c,u){if(!G.isUndefined(u))return s(void 0,u)}function i(c,u){if(G.isUndefined(u)){if(!G.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,f){if(f in e)return s(c,u);if(f in t)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u)=>o(bu(c),bu(u),!0)};return G.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const f=l[u]||o,h=f(t[u],e[u],u);G.isUndefined(h)&&f!==a||(n[u]=h)}),n}const mp="1.3.6",Zl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Zl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const yu={};Zl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+mp+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new Fe(o(i," has been removed"+(n?" in "+n:"")),Fe.ERR_DEPRECATED);return n&&!yu[i]&&(yu[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,i,a):!0}};function Pb(t,e,n){if(typeof t!="object")throw new Fe("options must be an object",Fe.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 Fe("option "+r+" must be "+l,Fe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Fe("Unknown option "+r,Fe.ERR_BAD_OPTION)}}const Xa={assertOptions:Pb,validators:Zl},hn=Xa.validators;class kr{constructor(e){this.defaults=e,this.interceptors={request:new pu,response:new pu}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ss(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&Xa.assertOptions(s,{silentJSONParsing:hn.transitional(hn.boolean),forcedJSONParsing:hn.transitional(hn.boolean),clarifyTimeoutError:hn.transitional(hn.boolean)},!1),o!=null&&(G.isFunction(o)?n.paramsSerializer={serialize:o}:Xa.assertOptions(o,{encode:hn.function,serialize:hn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&G.merge(r.common,r[n.method]),i&&G.forEach(["delete","get","head","post","put","patch","common"],p=>{delete r[p]}),n.headers=sn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,h;if(!l){const p=[_u.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),h=p.length,u=Promise.resolve(n);f<h;)u=u.then(p[f++],p[f++]);return u}h=a.length;let g=n;for(f=0;f<h;){const p=a[f++],m=a[f++];try{g=p(g)}catch(v){m.call(this,v);break}}try{u=_u.call(this,g)}catch(p){return Promise.reject(p)}for(f=0,h=c.length;f<h;)u=u.then(c[f++],c[f++]);return u}getUri(e){e=Ss(this.defaults,e);const n=gp(e.baseURL,e.url);return dp(n,e.params,e.paramsSerializer)}}G.forEach(["delete","get","head","options"],function(e){kr.prototype[e]=function(n,s){return this.request(Ss(s||{},{method:e,url:n,data:(s||{}).data}))}});G.forEach(["post","put","patch"],function(e){function n(s){return function(r,i,a){return this.request(Ss(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}kr.prototype[e]=n(),kr.prototype[e+"Form"]=n(!0)});const ur=kr;class Yl{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 Do(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 Yl(function(o){e=o}),cancel:e}}}const Fb=Yl;function Bb(t){return function(n){return t.apply(null,n)}}function $b(t){return G.isObject(t)&&t.isAxiosError===!0}const el={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(el).forEach(([t,e])=>{el[e]=t});const jb=el;function _p(t){const e=new ur(t),n=Xh(ur.prototype.request,e);return G.extend(n,ur.prototype,e,{allOwnKeys:!0}),G.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return _p(Ss(t,o))},n}const tt=_p(Wl);tt.Axios=ur;tt.CanceledError=Do;tt.CancelToken=Fb;tt.isCancel=pp;tt.VERSION=mp;tt.toFormData=ni;tt.AxiosError=Fe;tt.Cancel=tt.CanceledError;tt.all=function(e){return Promise.all(e)};tt.spread=Bb;tt.isAxiosError=$b;tt.mergeConfig=Ss;tt.AxiosHeaders=sn;tt.formToJSON=t=>hp(G.isHTMLForm(t)?new FormData(t):t);tt.HttpStatusCode=jb;tt.default=tt;const Se=tt;/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const fs=typeof window<"u";function zb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ue=Object.assign;function Ii(t,e){const n={};for(const s in e){const o=e[s];n[s]=It(o)?o.map(t):t(o)}return n}const ro=()=>{},It=Array.isArray,Ub=/\/$/,qb=t=>t.replace(Ub,"");function Pi(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=Kb(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Hb(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function vu(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Vb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Ts(e.matched[s],n.matched[o])&&bp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ts(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function bp(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Gb(t[n],e[n]))return!1;return!0}function Gb(t,e){return It(t)?wu(t,e):It(e)?wu(e,t):t===e}function wu(t,e){return It(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Kb(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/");let o=n.length-1,r,i;for(r=0;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 Eo;(function(t){t.pop="pop",t.push="push"})(Eo||(Eo={}));var io;(function(t){t.back="back",t.forward="forward",t.unknown=""})(io||(io={}));function Wb(t){if(!t)if(fs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),qb(t)}const Zb=/^[^#]+#/;function Yb(t,e){return t.replace(Zb,"#")+e}function Qb(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 ri=()=>({left:window.pageXOffset,top:window.pageYOffset});function Jb(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=Qb(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 xu(t,e){return(history.state?history.state.position-e:-1)+t}const tl=new Map;function Xb(t,e){tl.set(t,e)}function ey(t){const e=tl.get(t);return tl.delete(t),e}let ty=()=>location.protocol+"//"+location.host;function yp(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),vu(l,"")}return vu(n,t)+s+o}function ny(t,e,n,s){let o=[],r=[],i=null;const a=({state:h})=>{const g=yp(t,location),p=n.value,m=e.value;let v=0;if(h){if(n.value=g,e.value=h,i&&i===p){i=null;return}v=m?h.position-m.position:0}else s(g);o.forEach(_=>{_(n.value,p,{delta:v,type:Eo.pop,direction:v?v>0?io.forward:io.back:io.unknown})})};function l(){i=n.value}function c(h){o.push(h);const g=()=>{const p=o.indexOf(h);p>-1&&o.splice(p,1)};return r.push(g),g}function u(){const{history:h}=window;h.state&&h.replaceState(Ue({},h.state,{scroll:ri()}),"")}function f(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function ku(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?ri():null}}function sy(t){const{history:e,location:n}=window,s={value:yp(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const f=t.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:ty()+t+l;try{e[u?"replaceState":"pushState"](c,"",h),o.value=c}catch(g){console.error(g),n[u?"replace":"assign"](h)}}function i(l,c){const u=Ue({},e.state,ku(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=Ue({},o.value,e.state,{forward:l,scroll:ri()});r(u.current,u,!0);const f=Ue({},ku(s.value,l,null),{position:u.position+1},c);r(l,f,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function oy(t){t=Wb(t);const e=sy(t),n=ny(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ue({location:"",base:t,go:s,createHref:Yb.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function ry(t){return typeof t=="string"||t&&typeof t=="object"}function vp(t){return typeof t=="string"||typeof t=="symbol"}const pn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wp=Symbol("");var Eu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Eu||(Eu={}));function Ms(t,e){return Ue(new Error,{type:t,[wp]:!0},e)}function Xt(t,e){return t instanceof Error&&wp in t&&(e==null||!!(t.type&e))}const Cu="[^/]+?",iy={sensitive:!1,strict:!1,start:!0,end:!0},ay=/[.+*?^${}()[\]/\\]/g;function ly(t,e){const n=Ue({},iy,e),s=[];let o=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const h=c[f];let g=40+(n.sensitive?.25:0);if(h.type===0)f||(o+="/"),o+=h.value.replace(ay,"\\$&"),g+=40;else if(h.type===1){const{value:p,repeatable:m,optional:v,regexp:_}=h;r.push({name:p,repeatable:m,optional:v});const b=_||Cu;if(b!==Cu){g+=10;try{new RegExp(`(${b})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${p}" (${b}): `+C.message)}}let x=m?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(x=v&&c.length<2?`(?:/${x})`:"/"+x),v&&(x+="?"),o+=x,g+=20,v&&(g+=-8),m&&(g+=-20),b===".*"&&(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),f={};if(!u)return null;for(let h=1;h<u.length;h++){const g=u[h]||"",p=r[h-1];f[p.name]=g&&p.repeatable?g.split("/"):g}return f}function l(c){let u="",f=!1;for(const h of t){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const g of h)if(g.type===0)u+=g.value;else if(g.type===1){const{value:p,repeatable:m,optional:v}=g,_=p in c?c[p]:"";if(It(_)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const b=It(_)?_.join("/"):_;if(!b)if(v)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=b}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function cy(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 uy(t,e){let n=0;const s=t.score,o=e.score;for(;n<s.length&&n<o.length;){const r=cy(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(Au(s))return 1;if(Au(o))return-1}return o.length-s.length}function Au(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const dy={type:0,value:""},fy=/[a-zA-Z0-9_]/;function hy(t){if(!t)return[[]];if(t==="/")return[[dy]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,c="",u="";function f(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<t.length;){if(l=t[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):h();break;case 4:h(),n=s;break;case 1:l==="("?n=2:fy.test(l)?h():(f(),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:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}function py(t,e,n){const s=ly(hy(t.path),n),o=Ue(s,{record:t,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function gy(t,e){const n=[],s=new Map;e=Mu({strict:!1,end:!0,sensitive:!1},e);function o(u){return s.get(u)}function r(u,f,h){const g=!h,p=my(u);p.aliasOf=h&&h.record;const m=Mu(e,u),v=[p];if("alias"in u){const x=typeof u.alias=="string"?[u.alias]:u.alias;for(const C of x)v.push(Ue({},p,{components:h?h.record.components:p.components,path:C,aliasOf:h?h.record:p}))}let _,b;for(const x of v){const{path:C}=x;if(f&&C[0]!=="/"){const R=f.record.path,M=R[R.length-1]==="/"?"":"/";x.path=f.record.path+(C&&M+C)}if(_=py(x,f,m),h?h.alias.push(_):(b=b||_,b!==_&&b.alias.push(_),g&&u.name&&!Tu(_)&&i(u.name)),p.children){const R=p.children;for(let M=0;M<R.length;M++)r(R[M],_,h&&h.children[M])}h=h||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&l(_)}return b?()=>{i(b)}:ro}function i(u){if(vp(u)){const f=s.get(u);f&&(s.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f<n.length&&uy(u,n[f])>=0&&(u.record.path!==n[f].record.path||!xp(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Tu(u)&&s.set(u.record.name,u)}function c(u,f){let h,g={},p,m;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw Ms(1,{location:u});m=h.record.name,g=Ue(Su(f.params,h.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&Su(u.params,h.keys.map(b=>b.name))),p=h.stringify(g)}else if("path"in u)p=u.path,h=n.find(b=>b.re.test(p)),h&&(g=h.parse(p),m=h.record.name);else{if(h=f.name?s.get(f.name):n.find(b=>b.re.test(f.path)),!h)throw Ms(1,{location:u,currentLocation:f});m=h.record.name,g=Ue({},f.params,u.params),p=h.stringify(g)}const v=[];let _=h;for(;_;)v.unshift(_.record),_=_.parent;return{name:m,path:p,params:g,matched:v,meta:by(v)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Su(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function my(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:_y(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function _y(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="boolean"?n:n[s];return e}function Tu(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function by(t){return t.reduce((e,n)=>Ue(e,n.meta),{})}function Mu(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function xp(t,e){return e.children.some(n=>n===t||xp(t,n))}const kp=/#/g,yy=/&/g,vy=/\//g,wy=/=/g,xy=/\?/g,Ep=/\+/g,ky=/%5B/g,Ey=/%5D/g,Cp=/%5E/g,Cy=/%60/g,Ap=/%7B/g,Ay=/%7C/g,Sp=/%7D/g,Sy=/%20/g;function Ql(t){return encodeURI(""+t).replace(Ay,"|").replace(ky,"[").replace(Ey,"]")}function Ty(t){return Ql(t).replace(Ap,"{").replace(Sp,"}").replace(Cp,"^")}function nl(t){return Ql(t).replace(Ep,"%2B").replace(Sy,"+").replace(kp,"%23").replace(yy,"%26").replace(Cy,"`").replace(Ap,"{").replace(Sp,"}").replace(Cp,"^")}function My(t){return nl(t).replace(wy,"%3D")}function Oy(t){return Ql(t).replace(kp,"%23").replace(xy,"%3F")}function Ry(t){return t==null?"":Oy(t).replace(vy,"%2F")}function Er(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Ny(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;o<s.length;++o){const r=s[o].replace(Ep," "),i=r.indexOf("="),a=Er(i<0?r:r.slice(0,i)),l=i<0?null:Er(r.slice(i+1));if(a in e){let c=e[a];It(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function Ou(t){let e="";for(let n in t){const s=t[n];if(n=My(n),s==null){s!==void 0&&(e+=(e.length?"&":"")+n);continue}(It(s)?s.map(r=>r&&nl(r)):[s&&nl(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function Dy(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=It(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const Ly=Symbol(""),Ru=Symbol(""),Jl=Symbol(""),Tp=Symbol(""),sl=Symbol("");function Qs(){let t=[];function e(s){return t.push(s),()=>{const o=t.indexOf(s);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function bn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(Ms(4,{from:n,to:e})):f instanceof Error?a(f):ry(f)?a(Ms(2,{from:e,to:f})):(r&&s.enterCallbacks[o]===r&&typeof f=="function"&&r.push(f),i())},c=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Fi(t,e,n,s){const o=[];for(const r of t)for(const i in r.components){let a=r.components[i];if(!(e!=="beforeRouteEnter"&&!r.instances[i]))if(Iy(a)){const c=(a.__vccOpts||a)[e];c&&o.push(bn(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=zb(c)?c.default:c;r.components[i]=u;const h=(u.__vccOpts||u)[e];return h&&bn(h,n,s,r,i)()}))}}return o}function Iy(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Nu(t){const e=nn(Jl),n=nn(Tp),s=xt(()=>e.resolve(mt(t.to))),o=xt(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(Ts.bind(null,u));if(h>-1)return h;const g=Du(l[c-2]);return c>1&&Du(u)===g&&f[f.length-1].path!==g?f.findIndex(Ts.bind(null,l[c-2])):h}),r=xt(()=>o.value>-1&&By(n.params,s.value.params)),i=xt(()=>o.value>-1&&o.value===n.matched.length-1&&bp(n.params,s.value.params));function a(l={}){return Fy(l)?e[mt(t.replace)?"replace":"push"](mt(t.to)).catch(ro):Promise.resolve()}return{route:s,href:xt(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const Py=gh({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:Nu,setup(t,{slots:e}){const n=js(Nu(t)),{options:s}=nn(Jl),o=xt(()=>({[Lu(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Lu(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:zl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),zn=Py;function Fy(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function By(t,e){for(const n in e){const s=e[n],o=t[n];if(typeof s=="string"){if(s!==o)return!1}else if(!It(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Du(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Lu=(t,e,n)=>t??e??n,$y=gh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=nn(sl),o=xt(()=>t.route||s.value),r=nn(Ru,0),i=xt(()=>{let c=mt(r);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=xt(()=>o.value.matched[i.value]);or(Ru,xt(()=>i.value+1)),or(Ly,a),or(sl,o);const l=c_();return Wn(()=>[l.value,a.value,t.name],([c,u,f],[h,g,p])=>{u&&(u.instances[f]=c,g&&g!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!Ts(u,g)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=t.name,f=a.value,h=f&&f.components[u];if(!h)return Iu(n.default,{Component:h,route:c});const g=f.props[u],p=g?g===!0?c.params:typeof g=="function"?g(c):g:null,v=zl(h,Ue({},p,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Iu(n.default,{Component:v,route:c})||v}}});function Iu(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Mp=$y;function jy(t){const e=gy(t.routes,t),n=t.parseQuery||Ny,s=t.stringifyQuery||Ou,o=t.history,r=Qs(),i=Qs(),a=Qs(),l=u_(pn);let c=pn;fs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ii.bind(null,N=>""+N),f=Ii.bind(null,Ry),h=Ii.bind(null,Er);function g(N,Q){let H,te;return vp(N)?(H=e.getRecordMatcher(N),te=Q):te=N,e.addRoute(te,H)}function p(N){const Q=e.getRecordMatcher(N);Q&&e.removeRoute(Q)}function m(){return e.getRoutes().map(N=>N.record)}function v(N){return!!e.getRecordMatcher(N)}function _(N,Q){if(Q=Ue({},Q||l.value),typeof N=="string"){const w=Pi(n,N,Q.path),E=e.resolve({path:w.path},Q),P=o.createHref(w.fullPath);return Ue(w,E,{params:h(E.params),hash:Er(w.hash),redirectedFrom:void 0,href:P})}let H;if("path"in N)H=Ue({},N,{path:Pi(n,N.path,Q.path).path});else{const w=Ue({},N.params);for(const E in w)w[E]==null&&delete w[E];H=Ue({},N,{params:f(N.params)}),Q.params=f(Q.params)}const te=e.resolve(H,Q),X=N.hash||"";te.params=u(h(te.params));const fe=Hb(s,Ue({},N,{hash:Ty(X),path:te.path})),le=o.createHref(fe);return Ue({fullPath:fe,hash:X,query:s===Ou?Dy(N.query):N.query||{}},te,{redirectedFrom:void 0,href:le})}function b(N){return typeof N=="string"?Pi(n,N,l.value.path):Ue({},N)}function x(N,Q){if(c!==N)return Ms(8,{from:Q,to:N})}function C(N){return D(N)}function R(N){return C(Ue(b(N),{replace:!0}))}function M(N){const Q=N.matched[N.matched.length-1];if(Q&&Q.redirect){const{redirect:H}=Q;let te=typeof H=="function"?H(N):H;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=b(te):{path:te},te.params={}),Ue({query:N.query,hash:N.hash,params:"path"in te?{}:N.params},te)}}function D(N,Q){const H=c=_(N),te=l.value,X=N.state,fe=N.force,le=N.replace===!0,w=M(H);if(w)return D(Ue(b(w),{state:typeof w=="object"?Ue({},X,w.state):X,force:fe,replace:le}),Q||H);const E=H;E.redirectedFrom=Q;let P;return!fe&&Vb(s,te,H)&&(P=Ms(16,{to:E,from:te}),_e(te,te,!0,!1)),(P?Promise.resolve(P):k(E,te)).catch(B=>Xt(B)?Xt(B,2)?B:V(B):A(B,E,te)).then(B=>{if(B){if(Xt(B,2))return D(Ue({replace:le},b(B.to),{state:typeof B.to=="object"?Ue({},X,B.to.state):X,force:fe}),Q||E)}else B=L(E,te,!0,le,X);return T(E,te,B),B})}function y(N,Q){const H=x(N,Q);return H?Promise.reject(H):Promise.resolve()}function k(N,Q){let H;const[te,X,fe]=zy(N,Q);H=Fi(te.reverse(),"beforeRouteLeave",N,Q);for(const w of te)w.leaveGuards.forEach(E=>{H.push(bn(E,N,Q))});const le=y.bind(null,N,Q);return H.push(le),cs(H).then(()=>{H=[];for(const w of r.list())H.push(bn(w,N,Q));return H.push(le),cs(H)}).then(()=>{H=Fi(X,"beforeRouteUpdate",N,Q);for(const w of X)w.updateGuards.forEach(E=>{H.push(bn(E,N,Q))});return H.push(le),cs(H)}).then(()=>{H=[];for(const w of N.matched)if(w.beforeEnter&&!Q.matched.includes(w))if(It(w.beforeEnter))for(const E of w.beforeEnter)H.push(bn(E,N,Q));else H.push(bn(w.beforeEnter,N,Q));return H.push(le),cs(H)}).then(()=>(N.matched.forEach(w=>w.enterCallbacks={}),H=Fi(fe,"beforeRouteEnter",N,Q),H.push(le),cs(H))).then(()=>{H=[];for(const w of i.list())H.push(bn(w,N,Q));return H.push(le),cs(H)}).catch(w=>Xt(w,8)?w:Promise.reject(w))}function T(N,Q,H){for(const te of a.list())te(N,Q,H)}function L(N,Q,H,te,X){const fe=x(N,Q);if(fe)return fe;const le=Q===pn,w=fs?history.state:{};H&&(te||le?o.replace(N.fullPath,Ue({scroll:le&&w&&w.scroll},X)):o.push(N.fullPath,X)),l.value=N,_e(N,Q,H,le),V()}let F;function Y(){F||(F=o.listen((N,Q,H)=>{if(!Ee.listening)return;const te=_(N),X=M(te);if(X){D(Ue(X,{replace:!0}),te).catch(ro);return}c=te;const fe=l.value;fs&&Xb(xu(fe.fullPath,H.delta),ri()),k(te,fe).catch(le=>Xt(le,12)?le:Xt(le,2)?(D(le.to,te).then(w=>{Xt(w,20)&&!H.delta&&H.type===Eo.pop&&o.go(-1,!1)}).catch(ro),Promise.reject()):(H.delta&&o.go(-H.delta,!1),A(le,te,fe))).then(le=>{le=le||L(te,fe,!1),le&&(H.delta&&!Xt(le,8)?o.go(-H.delta,!1):H.type===Eo.pop&&Xt(le,20)&&o.go(-1,!1)),T(te,fe,le)}).catch(ro)}))}let I=Qs(),ae=Qs(),W;function A(N,Q,H){V(N);const te=ae.list();return te.length?te.forEach(X=>X(N,Q,H)):console.error(N),Promise.reject(N)}function q(){return W&&l.value!==pn?Promise.resolve():new Promise((N,Q)=>{I.add([N,Q])})}function V(N){return W||(W=!N,Y(),I.list().forEach(([Q,H])=>N?H(N):Q()),I.reset()),N}function _e(N,Q,H,te){const{scrollBehavior:X}=t;if(!fs||!X)return Promise.resolve();const fe=!H&&ey(xu(N.fullPath,0))||(te||!H)&&history.state&&history.state.scroll||null;return me().then(()=>X(N,Q,fe)).then(le=>le&&Jb(le)).catch(le=>A(le,N,Q))}const pe=N=>o.go(N);let ee;const be=new Set,Ee={currentRoute:l,listening:!0,addRoute:g,removeRoute:p,hasRoute:v,getRoutes:m,resolve:_,options:t,push:C,replace:R,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ae.add,isReady:q,install(N){const Q=this;N.component("RouterLink",zn),N.component("RouterView",Mp),N.config.globalProperties.$router=Q,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>mt(l)}),fs&&!ee&&l.value===pn&&(ee=!0,C(o.location).catch(X=>{}));const H={};for(const X in pn)H[X]=xt(()=>l.value[X]);N.provide(Jl,Q),N.provide(Tp,js(H)),N.provide(sl,l);const te=N.unmount;be.add(N),N.unmount=function(){be.delete(N),be.size<1&&(c=pn,F&&F(),F=null,l.value=pn,ee=!1,W=!1),te()}}};return Ee}function cs(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function zy(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=>Ts(c,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(c=>Ts(c,l))||o.push(l))}return[n,s,o]}const Uy="modulepreload",qy=function(t){return"/"+t},Pu={},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=qy(r),r in Pu)return;Pu[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===r&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":Uy,i||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},Op="/assets/logo-023c77a1.png";var Rp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Hy(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var r=Function.bind.apply(e,o);return new r}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),n}var Np={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Rp,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:a})},o.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'<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(_,b){for(var x=b.length,C=0;C<x;++C)m(_,b[C])}var u={}.hasOwnProperty;function f(_,b){_[b]=!0}function h(_,b){for(var x in b)u.call(b,x)&&(_[x]=!!b[x])}var g=/\s+/;function p(_,b){for(var x=b.split(g),C=x.length,R=0;R<C;++R)_[x[R]]=!0}function m(_,b){if(b){var x=typeof b;x==="string"?p(_,b):Array.isArray(b)?c(_,b):x==="object"?h(_,b):x==="number"&&f(_,b)}}function v(){for(var _=arguments.length,b=Array(_),x=0;x<_;x++)b[x]=arguments[x];var C=new l;c(C,b);var R=[];for(var M in C)C[M]&&R.push(M);return R.join(" ")}return v}();typeof n<"u"&&n.exports?n.exports=a:(r=[],i=function(){return a}.apply(s,r),i!==void 0&&(n.exports=i))})()},"./node_modules/core-js/es/array/from.js":function(n,s,o){o("./node_modules/core-js/modules/es.string.iterator.js"),o("./node_modules/core-js/modules/es.array.from.js");var r=o("./node_modules/core-js/internals/path.js");n.exports=r.Array.from},"./node_modules/core-js/internals/a-function.js":function(n,s){n.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"./node_modules/core-js/internals/an-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i){if(!r(i))throw TypeError(String(i)+" is not an object");return i}},"./node_modules/core-js/internals/array-from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/bind-context.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),l=o("./node_modules/core-js/internals/is-array-iterator-method.js"),c=o("./node_modules/core-js/internals/to-length.js"),u=o("./node_modules/core-js/internals/create-property.js"),f=o("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(g){var p=i(g),m=typeof this=="function"?this:Array,v=arguments.length,_=v>1?arguments[1]:void 0,b=_!==void 0,x=0,C=f(p),R,M,D,y;if(b&&(_=r(_,v>2?arguments[2]:void 0,2)),C!=null&&!(m==Array&&l(C)))for(y=C.call(p),M=new m;!(D=y.next()).done;x++)u(M,x,b?a(y,_,[D.value,x],!0):D.value);else for(R=c(p.length),M=new m(R);R>x;x++)u(M,x,b?_(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,f){var h=r(c),g=i(h.length),p=a(f,g),m;if(l&&u!=u){for(;g>p;)if(m=h[p++],m!=m)return!0}else for(;g>p;p++)if((l||p in h)&&h[p]===u)return l||p||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(c){return i.call(a,c)};case 2:return function(c,u){return i.call(a,c,u)};case 3:return function(c,u,f){return i.call(a,c,u,f)}}return function(){return i.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(i,a,l,c){try{return c?a(r(l)[0],l[1]):a(l)}catch(f){var u=i.return;throw u!==void 0&&r(u.call(i)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var l=0,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,f){if(!f&&!a)return!1;var h=!1;try{var g={};g[i]=function(){return{next:function(){return{done:h=!0}}}},u(g)}catch{}return h}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",c=function(u,f){try{return u[f]}catch{}};n.exports=function(u){var f,h,g;return u===void 0?"Undefined":u===null?"Null":typeof(h=c(f=Object(u),a))=="string"?h:l?r(f):(g=r(f))=="Object"&&typeof f.callee=="function"?"Arguments":g}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var f=i(u),h=l.f,g=a.f,p=0;p<f.length;p++){var m=f[p];r(c,m)||h(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(f,h,g){var p=h+" Iterator";return f.prototype=i(r,{next:a(1,g)}),l(f,p,!1,!0),c[p]=u,f}},"./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 f=r(c);f in l?i.f(l,f,a(0,u)):l[f]=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"),f=o("./node_modules/core-js/internals/redefine.js"),h=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"),v=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,b=h("iterator"),x="keys",C="values",R="entries",M=function(){return this};n.exports=function(D,y,k,T,L,F,Y){i(k,y,T);var I=function(Ee){if(Ee===L&&V)return V;if(!_&&Ee in A)return A[Ee];switch(Ee){case x:return function(){return new k(this,Ee)};case C:return function(){return new k(this,Ee)};case R:return function(){return new k(this,Ee)}}return function(){return new k(this)}},ae=y+" Iterator",W=!1,A=D.prototype,q=A[b]||A["@@iterator"]||L&&A[L],V=!_&&q||I(L),_e=y=="Array"&&A.entries||q,pe,ee,be;if(_e&&(pe=a(_e.call(new D)),v!==Object.prototype&&pe.next&&(!g&&a(pe)!==v&&(l?l(pe,v):typeof pe[b]!="function"&&u(pe,b,M)),c(pe,ae,!0,!0),g&&(p[ae]=M))),L==C&&q&&q.name!==C&&(W=!0,V=function(){return q.call(this)}),(!g||Y)&&A[b]!==V&&u(A,b,V),p[y]=V,L)if(ee={values:I(C),keys:F?V:I(x),entries:I(R)},Y)for(be in ee)(_||W||!(be in A))&&f(A,be,ee[be]);else r({target:y,proto:!0,forced:_||W},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"),f=o("./node_modules/core-js/internals/is-forced.js");n.exports=function(h,g){var p=h.target,m=h.global,v=h.stat,_,b,x,C,R,M;if(m?b=r:v?b=r[p]||c(p,{}):b=(r[p]||{}).prototype,b)for(x in g){if(R=g[x],h.noTargetGet?(M=i(b,x),C=M&&M.value):C=b[x],_=f(m?x:p+(v?".":"#")+x,h.forced),!_&&C!==void 0){if(typeof R==typeof C)continue;u(R,C)}(h.sham||C&&C.sham)&&a(R,"sham",!0),l(b,x,R,h)}}},"./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"),f=o("./node_modules/core-js/internals/hidden-keys.js"),h=i.WeakMap,g,p,m,v=function(D){return m(D)?p(D):g(D,{})},_=function(D){return function(y){var k;if(!a(y)||(k=p(y)).type!==D)throw TypeError("Incompatible receiver, "+D+" required");return k}};if(r){var b=new h,x=b.get,C=b.has,R=b.set;g=function(D,y){return R.call(b,D,y),y},p=function(D){return x.call(b,D)||{}},m=function(D){return C.call(b,D)}}else{var M=u("state");f[M]=!0,g=function(D,y){return l(D,M,y),y},p=function(D){return c(D,M)?D[M]:{}},m=function(D){return c(D,M)}}n.exports={set:g,get:p,has:m,enforce:v,getterFor:_}},"./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(h,g){var p=c[l(h)];return p==f?!0:p==u?!1:typeof g=="function"?r(g):!!g},l=a.normalize=function(h){return String(h).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",f=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"),f=!1,h=function(){return this},g,p,m;[].keys&&(m=[].keys(),"next"in m?(p=r(r(m)),p!==Object.prototype&&(g=p)):f=!0),g==null&&(g={}),!c&&!a(g,u)&&i(g,u,h),n.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:f}},"./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"),f=o("./node_modules/core-js/internals/shared-key.js"),h=f("IE_PROTO"),g="prototype",p=function(){},m=function(){var v=u("iframe"),_=a.length,b="<",x="script",C=">",R="java"+x+":",M;for(v.style.display="none",c.appendChild(v),v.src=String(R),M=v.contentWindow.document,M.open(),M.write(b+x+C+"document.F=Object"+b+"/"+x+C),M.close(),m=M.F;_--;)delete m[g][a[_]];return m()};n.exports=Object.create||function(_,b){var x;return _!==null?(p[g]=r(_),x=new p,p[g]=null,x[h]=_):x=m(),b===void 0?x:i(x,b)},l[h]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(u,f){a(u);for(var h=l(f),g=h.length,p=0,m;g>p;)i.f(u,m=h[p++],f[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;s.f=r?c:function(f,h,g){if(a(f),h=l(h,!0),a(g),i)try{return c(f,h,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(f[h]=g.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),c=o("./node_modules/core-js/internals/to-primitive.js"),u=o("./node_modules/core-js/internals/has.js"),f=o("./node_modules/core-js/internals/ie8-dom-define.js"),h=Object.getOwnPropertyDescriptor;s.f=r?h:function(p,m){if(p=l(p),m=c(m,!0),f)try{return h(p,m)}catch{}if(u(p,m))return a(!i.f.call(p,m),p[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return r(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(f){return f=i(f),r(f,c)?f[c]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),c=a(!1);n.exports=function(u,f){var h=i(u),g=0,p=[],m;for(m in h)!r(l,m)&&r(h,m)&&p.push(m);for(;f.length>g;)r(h,m=f[g++])&&(~c(p,m)||p.push(m));return p}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(c){var u=i(this,c);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(u,f){return r(u,f),i?l.call(u,f):u.__proto__=f,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),c=r.Reflect;n.exports=c&&c.ownKeys||function(f){var h=i.f(l(f)),g=a.f;return g?h.concat(g(f)):h}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),c=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),f=o("./node_modules/core-js/internals/internal-state.js"),h=f.get,g=f.enforce,p=String(u).split("toString");i("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,v,_,b){var x=b?!!b.unsafe:!1,C=b?!!b.enumerable:!1,R=b?!!b.noTargetGet:!1;if(typeof _=="function"&&(typeof v=="string"&&!l(_,"name")&&a(_,"name",v),g(_).source=p.join(typeof v=="string"?v:"")),m===r){C?m[v]=_:c(v,_);return}else x?!R&&m[v]&&(C=!0):delete m[v];C?m[v]=_:a(m,v,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,s){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{i(r,a,l)}catch{r[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,i=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(c,u,f){c&&!i(c=f?c:c.prototype,l)&&r(c,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=r[l]||i(l,{});(n.exports=function(u,f){return c[u]||(c[u]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,c){var u=String(i(a)),f=r(l),h=u.length,g,p;return f<0||f>=h?c?"":void 0:(g=u.charCodeAt(f),g<55296||g>56319||f+1===h||(p=u.charCodeAt(f+1))<56320||p>57343?c?u.charAt(f):g:c?u.slice(f,f+2):(g-55296<<10)+(p-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,c){var u=r(l);return u<0?i(u+c,0):a(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,c;if(a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(c=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),c=r.Symbol,u=i("wks");n.exports=function(f){return u[f]||(u[f]=l&&c[f]||(l?c:a)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(c){Array.from(c)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",function(f){c(this,{type:l,string:String(f),index:0})},function(){var h=u(this),g=h.string,p=h.index,m;return p>=g.length?{value:void 0,done:!0}:(m=r(g,p,!0),h.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var v=1;v<arguments.length;v++){var _=arguments[v];for(var b in _)Object.prototype.hasOwnProperty.call(_,b)&&(m[b]=_[b])}return m},i=function(){function m(v,_){for(var b=0;b<_.length;b++){var x=_[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(v,x.key,x)}}return function(v,_,b){return _&&m(v.prototype,_),b&&m(v,b),v}}(),a=o("./node_modules/classnames/dedupe.js"),l=f(a),c=o("./src/default-attrs.json"),u=f(c);function f(m){return m&&m.__esModule?m:{default:m}}function h(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}var g=function(){function m(v,_){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];h(this,m),this.name=v,this.contents=_,this.tags=b,this.attrs=r({},u.default,{class:"feather feather-"+v})}return i(m,[{key:"toSvg",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=r({},this.attrs,_,{class:(0,l.default)(this.attrs.class,_.class)});return"<svg "+p(b)+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),m}();function p(m){return Object.keys(m).map(function(v){return v+'="'+m[v]+'"'}).join(" ")}s.default=g},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=f(r),a=o("./dist/icons.json"),l=f(a),c=o("./src/tags.json"),u=f(c);function f(h){return h&&h.__esModule?h:{default:h}}s.default=Object.keys(l.default).map(function(h){return new i.default(h,l.default[h],u.default[h])}).reduce(function(h,g){return h[g.name]=g,h},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=f(r),a=o("./src/to-svg.js"),l=f(a),c=o("./src/replace.js"),u=f(c);function f(h){return h&&h.__esModule?h:{default:h}}n.exports={icons:i.default,toSvg:l.default,replace:u.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(p){for(var m=1;m<arguments.length;m++){var v=arguments[m];for(var _ in v)Object.prototype.hasOwnProperty.call(v,_)&&(p[_]=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 f(){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(v){return h(v,p)})}function h(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=g(p),_=v["data-feather"];delete v["data-feather"];var b=c.default[_].toSvg(r({},m,v,{class:(0,a.default)(m.class,v.class)})),x=new DOMParser().parseFromString(b,"image/svg+xml"),C=x.querySelector("svg");p.parentNode.replaceChild(C,p)}function g(p){return Array.from(p.attributes).reduce(function(m,v){return m[v.name]=v.value,m},{})}s.default=f},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icons.js"),i=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function l(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return i.default[c].toSvg(u)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(Np);var Vy=Np.exports;const xe=rs(Vy),Gy={key:0,class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},Ky={class:"items-center justify-between w-full flex-row md:w-auto md:order-1"},Wy={class:"flex flex-row font-medium p-0 mt-4 space-x-8"},Zy=d("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),Yy=d("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),Qy=d("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),Jy=d("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),Xy=d("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),e2={data(){return{}},activated(){},methods:{}},Dp=Object.assign(e2,{__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(S(),O("div",Gy,[d("div",Ky,[d("ul",Wy,[d("li",null,[Ae(mt(zn),{to:{name:"discussions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[Zy]),_:1})]),d("li",null,[Ae(mt(zn),{to:{name:"settings"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[Yy]),_:1})]),d("li",null,[Ae(mt(zn),{to:{name:"extensions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[Qy]),_:1})]),d("li",null,[Ae(mt(zn),{to:{name:"training"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[Jy]),_:1})]),d("li",null,[Ae(mt(zn),{to:{name:"help"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[Xy]),_:1})])])])])):U("",!0)}});const t2={class:"top-0 shadow-lg"},n2={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},s2=d("div",{class:"flex items-center gap-3 flex-1"},[d("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:Op,alt:"Logo"}),d("div",{class:"flex flex-col"},[d("p",{class:"text-2xl"},"Lord of Large Language Models"),d("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),o2={class:"flex gap-3 flex-1 items-center justify-end"},r2=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),i2=d("i",{"data-feather":"sun"},null,-1),a2=[i2],l2=d("i",{"data-feather":"moon"},null,-1),c2=[l2],u2=d("body",null,null,-1),d2={name:"TopBar",computed:{...x0(["isConnected"]),isConnectedWatcher:{handler(t){console.log("isConnected:",t)},immediate:!0}},data(){return{codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),me(()=>{xe.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none"),me(()=>{Bi(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}me(()=>{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:Dp}},f2=Object.assign(d2,{setup(t){return(e,n)=>(S(),O(De,null,[d("header",t2,[d("nav",n2,[Ae(mt(zn),{to:{name:"discussions"}},{default:We(()=>[s2]),_:1}),d("div",o2,[d("div",{title:"Connection status",class:Te(["dot",{"dot-green":e.isConnected,"dot-red":!e.isConnected}])},null,2),r2,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())},a2),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())},c2)])]),Ae(Dp)]),u2],64))}}),h2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},p2={class:"flex overflow-hidden flex-grow"},g2={__name:"App",setup(t){return(e,n)=>(S(),O("div",h2,[Ae(f2),d("div",p2,[Ae(mt(Mp),null,{default:We(({Component:s})=>[(S(),ot(M_,null,[(S(),ot($_(s)))],1024))]),_:1})])]))}},Ge=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},m2={setup(){return{}}};function _2(t,e,n,s,o,r){return S(),O("div",null," Extensions ")}const b2=Ge(m2,[["render",_2]]);var Lp={exports:{}};/* @license
Papa Parse
v5.4.1
https://github.com/mholt/PapaParse
License: MIT
*/(function(t,e){(function(n,s){t.exports=s()})(Rp,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},o=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,i={},a=0,l={parse:function(y,k){var T=(k=k||{}).dynamicTyping||!1;if(D(T)&&(k.dynamicTypingFunction=T,T={}),k.dynamicTyping=T,k.transform=!!D(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var L=function(){if(!l.WORKERS_SUPPORTED)return!1;var Y=(ae=s.URL||s.webkitURL||null,W=n.toString(),l.BLOB_URL||(l.BLOB_URL=ae.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",W,")();"],{type:"text/javascript"})))),I=new s.Worker(Y),ae,W;return I.onmessage=b,I.id=a++,i[I.id]=I}();return L.userStep=k.step,L.userChunk=k.chunk,L.userComplete=k.complete,L.userError=k.error,k.step=D(k.step),k.chunk=D(k.chunk),k.complete=D(k.complete),k.error=D(k.error),delete k.worker,void L.postMessage({input:y,config:k,workerId:L.id})}var F=null;return l.NODE_STREAM_INPUT,typeof y=="string"?(y=function(Y){return Y.charCodeAt(0)===65279?Y.slice(1):Y}(y),F=k.download?new f(k):new g(k)):y.readable===!0&&D(y.read)&&D(y.on)?F=new p(k):(s.File&&y instanceof File||y instanceof Object)&&(F=new h(k)),F.stream(y)},unparse:function(y,k){var T=!1,L=!0,F=",",Y=`\r
`,I='"',ae=I+I,W=!1,A=null,q=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(ee){return k.delimiter.indexOf(ee)!==-1}).length||(F=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(T=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(W=k.skipEmptyLines),typeof k.newline=="string"&&(Y=k.newline),typeof k.quoteChar=="string"&&(I=k.quoteChar),typeof k.header=="boolean"&&(L=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");A=k.columns}k.escapeChar!==void 0&&(ae=k.escapeChar+I),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(q=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var V=new RegExp(v(I),"g");if(typeof y=="string"&&(y=JSON.parse(y)),Array.isArray(y)){if(!y.length||Array.isArray(y[0]))return _e(null,y,W);if(typeof y[0]=="object")return _e(A||Object.keys(y[0]),y,W)}else if(typeof y=="object")return typeof y.data=="string"&&(y.data=JSON.parse(y.data)),Array.isArray(y.data)&&(y.fields||(y.fields=y.meta&&y.meta.fields||A),y.fields||(y.fields=Array.isArray(y.data[0])?y.fields:typeof y.data[0]=="object"?Object.keys(y.data[0]):[]),Array.isArray(y.data[0])||typeof y.data[0]=="object"||(y.data=[y.data])),_e(y.fields||[],y.data||[],W);throw new Error("Unable to serialize unrecognized input");function _e(ee,be,Ee){var N="";typeof ee=="string"&&(ee=JSON.parse(ee)),typeof be=="string"&&(be=JSON.parse(be));var Q=Array.isArray(ee)&&0<ee.length,H=!Array.isArray(be[0]);if(Q&&L){for(var te=0;te<ee.length;te++)0<te&&(N+=F),N+=pe(ee[te],te);0<be.length&&(N+=Y)}for(var X=0;X<be.length;X++){var fe=Q?ee.length:be[X].length,le=!1,w=Q?Object.keys(be[X]).length===0:be[X].length===0;if(Ee&&!Q&&(le=Ee==="greedy"?be[X].join("").trim()==="":be[X].length===1&&be[X][0].length===0),Ee==="greedy"&&Q){for(var E=[],P=0;P<fe;P++){var B=H?ee[P]:P;E.push(be[X][B])}le=E.join("").trim()===""}if(!le){for(var $=0;$<fe;$++){0<$&&!w&&(N+=F);var ne=Q&&H?ee[$]:$;N+=pe(be[X][ne],$)}X<be.length-1&&(!Ee||0<fe&&!w)&&(N+=Y)}}return N}function pe(ee,be){if(ee==null)return"";if(ee.constructor===Date)return JSON.stringify(ee).slice(1,25);var Ee=!1;q&&typeof ee=="string"&&q.test(ee)&&(ee="'"+ee,Ee=!0);var N=ee.toString().replace(V,ae);return(Ee=Ee||T===!0||typeof T=="function"&&T(ee,be)||Array.isArray(T)&&T[be]||function(Q,H){for(var te=0;te<H.length;te++)if(-1<Q.indexOf(H[te]))return!0;return!1}(N,l.BAD_DELIMITERS)||-1<N.indexOf(F)||N.charAt(0)===" "||N.charAt(N.length-1)===" ")?I+N+I:N}}};if(l.RECORD_SEP=String.fromCharCode(30),l.UNIT_SEP=String.fromCharCode(31),l.BYTE_ORDER_MARK="\uFEFF",l.BAD_DELIMITERS=["\r",`
`,'"',l.BYTE_ORDER_MARK],l.WORKERS_SUPPORTED=!o&&!!s.Worker,l.NODE_STREAM_INPUT=1,l.LocalChunkSize=10485760,l.RemoteChunkSize=5242880,l.DefaultDelimiter=",",l.Parser=_,l.ParserHandle=m,l.NetworkStreamer=f,l.FileStreamer=h,l.StringStreamer=g,l.ReadableStreamStreamer=p,s.jQuery){var c=s.jQuery;c.fn.parse=function(y){var k=y.config||{},T=[];return this.each(function(Y){if(!(c(this).prop("tagName").toUpperCase()==="INPUT"&&c(this).attr("type").toLowerCase()==="file"&&s.FileReader)||!this.files||this.files.length===0)return!0;for(var I=0;I<this.files.length;I++)T.push({file:this.files[I],inputElem:this,instanceConfig:c.extend({},k)})}),L(),this;function L(){if(T.length!==0){var Y,I,ae,W,A=T[0];if(D(y.before)){var q=y.before(A.file,A.inputElem);if(typeof q=="object"){if(q.action==="abort")return Y="AbortError",I=A.file,ae=A.inputElem,W=q.reason,void(D(y.error)&&y.error({name:Y},I,ae,W));if(q.action==="skip")return void F();typeof q.config=="object"&&(A.instanceConfig=c.extend(A.instanceConfig,q.config))}else if(q==="skip")return void F()}var V=A.instanceConfig.complete;A.instanceConfig.complete=function(_e){D(V)&&V(_e,A.file,A.inputElem),F()},l.parse(A.file,A.instanceConfig)}else D(y.complete)&&y.complete()}function F(){T.splice(0,1),L()}}}function u(y){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(k){var T=R(k);T.chunkSize=parseInt(T.chunkSize),k.step||k.chunk||(T.chunkSize=null),this._handle=new m(T),(this._handle.streamer=this)._config=T}.call(this,y),this.parseChunk=function(k,T){if(this.isFirstChunk&&D(this._config.beforeFirstChunk)){var L=this._config.beforeFirstChunk(k);L!==void 0&&(k=L)}this.isFirstChunk=!1,this._halted=!1;var F=this._partialLine+k;this._partialLine="";var Y=this._handle.parse(F,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var I=Y.meta.cursor;this._finished||(this._partialLine=F.substring(I-this._baseIndex),this._baseIndex=I),Y&&Y.data&&(this._rowCount+=Y.data.length);var ae=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)s.postMessage({results:Y,workerId:l.WORKER_ID,finished:ae});else if(D(this._config.chunk)&&!T){if(this._config.chunk(Y,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);Y=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Y.data),this._completeResults.errors=this._completeResults.errors.concat(Y.errors),this._completeResults.meta=Y.meta),this._completed||!ae||!D(this._config.complete)||Y&&Y.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ae||Y&&Y.meta.paused||this._nextChunk(),Y}this._halted=!0},this._sendError=function(k){D(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function f(y){var k;(y=y||{}).chunkSize||(y.chunkSize=l.RemoteChunkSize),u.call(this,y),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(T){this._input=T,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 T=this._config.downloadRequestHeaders;for(var L in T)k.setRequestHeader(L,T[L])}if(this._config.chunkSize){var F=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+F)}try{k.send(this._config.downloadRequestBody)}catch(Y){this._chunkError(Y.message)}o&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(T){var L=T.getResponseHeader("Content-Range");return L===null?-1:parseInt(L.substring(L.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(T){var L=k.statusText||T;this._sendError(new Error(L))}}function h(y){var k,T;(y=y||{}).chunkSize||(y.chunkSize=l.LocalChunkSize),u.call(this,y);var L=typeof FileReader<"u";this.stream=function(F){this._input=F,T=F.slice||F.webkitSlice||F.mozSlice,L?((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 Y=Math.min(this._start+this._config.chunkSize,this._input.size);F=T.call(F,this._start,Y)}var I=k.readAsText(F,this._config.encoding);L||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(y){var k;u.call(this,y=y||{}),this.stream=function(T){return k=T,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var T,L=this._config.chunkSize;return L?(T=k.substring(0,L),k=k.substring(L)):(T=k,k=""),this._finished=!k,this.parseChunk(T)}}}function p(y){u.call(this,y=y||{});var k=[],T=!0,L=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(F){this._input=F,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){L&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):T=!0},this._streamData=M(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),T&&(T=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(Y){this._streamError(Y)}},this),this._streamError=M(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=M(function(){this._streamCleanUp(),L=!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(y){var k,T,L,F=Math.pow(2,53),Y=-F,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ae=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,W=this,A=0,q=0,V=!1,_e=!1,pe=[],ee={data:[],errors:[],meta:{}};if(D(y.step)){var be=y.step;y.step=function(X){if(ee=X,Q())N();else{if(N(),ee.data.length===0)return;A+=X.data.length,y.preview&&A>y.preview?T.abort():(ee.data=ee.data[0],be(ee,W))}}}function Ee(X){return y.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function N(){return ee&&L&&(te("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),L=!1),y.skipEmptyLines&&(ee.data=ee.data.filter(function(X){return!Ee(X)})),Q()&&function(){if(!ee)return;function X(le,w){D(y.transformHeader)&&(le=y.transformHeader(le,w)),pe.push(le)}if(Array.isArray(ee.data[0])){for(var fe=0;Q()&&fe<ee.data.length;fe++)ee.data[fe].forEach(X);ee.data.splice(0,1)}else ee.data.forEach(X)}(),function(){if(!ee||!y.header&&!y.dynamicTyping&&!y.transform)return ee;function X(le,w){var E,P=y.header?{}:[];for(E=0;E<le.length;E++){var B=E,$=le[E];y.header&&(B=E>=pe.length?"__parsed_extra":pe[E]),y.transform&&($=y.transform($,B)),$=H(B,$),B==="__parsed_extra"?(P[B]=P[B]||[],P[B].push($)):P[B]=$}return y.header&&(E>pe.length?te("FieldMismatch","TooManyFields","Too many fields: expected "+pe.length+" fields but parsed "+E,q+w):E<pe.length&&te("FieldMismatch","TooFewFields","Too few fields: expected "+pe.length+" fields but parsed "+E,q+w)),P}var fe=1;return!ee.data.length||Array.isArray(ee.data[0])?(ee.data=ee.data.map(X),fe=ee.data.length):ee.data=X(ee.data,0),y.header&&ee.meta&&(ee.meta.fields=pe),q+=fe,ee}()}function Q(){return y.header&&pe.length===0}function H(X,fe){return le=X,y.dynamicTypingFunction&&y.dynamicTyping[le]===void 0&&(y.dynamicTyping[le]=y.dynamicTypingFunction(le)),(y.dynamicTyping[le]||y.dynamicTyping)===!0?fe==="true"||fe==="TRUE"||fe!=="false"&&fe!=="FALSE"&&(function(w){if(I.test(w)){var E=parseFloat(w);if(Y<E&&E<F)return!0}return!1}(fe)?parseFloat(fe):ae.test(fe)?new Date(fe):fe===""?null:fe):fe;var le}function te(X,fe,le,w){var E={type:X,code:fe,message:le};w!==void 0&&(E.row=w),ee.errors.push(E)}this.parse=function(X,fe,le){var w=y.quoteChar||'"';if(y.newline||(y.newline=function(B,$){B=B.substring(0,1048576);var ne=new RegExp(v($)+"([^]*?)"+v($),"gm"),re=(B=B.replace(ne,"")).split("\r"),j=B.split(`
`),se=1<j.length&&j[0].length<re[0].length;if(re.length===1||se)return`
`;for(var z=0,Z=0;Z<re.length;Z++)re[Z][0]===`
`&&z++;return z>=re.length/2?`\r
`:"\r"}(X,w)),L=!1,y.delimiter)D(y.delimiter)&&(y.delimiter=y.delimiter(X),ee.meta.delimiter=y.delimiter);else{var E=function(B,$,ne,re,j){var se,z,Z,ie;j=j||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var de=0;de<j.length;de++){var ce=j[de],we=0,K=0,oe=0;Z=void 0;for(var he=new _({comments:re,delimiter:ce,newline:$,preview:10}).parse(B),Ce=0;Ce<he.data.length;Ce++)if(ne&&Ee(he.data[Ce]))oe++;else{var Ie=he.data[Ce].length;K+=Ie,Z!==void 0?0<Ie&&(we+=Math.abs(Ie-Z),Z=Ie):Z=Ie}0<he.data.length&&(K/=he.data.length-oe),(z===void 0||we<=z)&&(ie===void 0||ie<K)&&1.99<K&&(z=we,se=ce,ie=K)}return{successful:!!(y.delimiter=se),bestDelimiter:se}}(X,y.newline,y.skipEmptyLines,y.comments,y.delimitersToGuess);E.successful?y.delimiter=E.bestDelimiter:(L=!0,y.delimiter=l.DefaultDelimiter),ee.meta.delimiter=y.delimiter}var P=R(y);return y.preview&&y.header&&P.preview++,k=X,T=new _(P),ee=T.parse(k,fe,le),N(),V?{meta:{paused:!0}}:ee||{meta:{paused:!1}}},this.paused=function(){return V},this.pause=function(){V=!0,T.abort(),k=D(y.chunk)?"":k.substring(T.getCharIndex())},this.resume=function(){W.streamer._halted?(V=!1,W.streamer.parseChunk(k,!0)):setTimeout(W.resume,3)},this.aborted=function(){return _e},this.abort=function(){_e=!0,T.abort(),ee.meta.aborted=!0,D(y.complete)&&y.complete(ee),k=""}}function v(y){return y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(y){var k,T=(y=y||{}).delimiter,L=y.newline,F=y.comments,Y=y.step,I=y.preview,ae=y.fastMode,W=k=y.quoteChar===void 0||y.quoteChar===null?'"':y.quoteChar;if(y.escapeChar!==void 0&&(W=y.escapeChar),(typeof T!="string"||-1<l.BAD_DELIMITERS.indexOf(T))&&(T=","),F===T)throw new Error("Comment character same as delimiter");F===!0?F="#":(typeof F!="string"||-1<l.BAD_DELIMITERS.indexOf(F))&&(F=!1),L!==`
`&&L!=="\r"&&L!==`\r
`&&(L=`
`);var A=0,q=!1;this.parse=function(V,_e,pe){if(typeof V!="string")throw new Error("Input must be a string");var ee=V.length,be=T.length,Ee=L.length,N=F.length,Q=D(Y),H=[],te=[],X=[],fe=A=0;if(!V)return qe();if(y.header&&!_e){var le=V.split(L)[0].split(T),w=[],E={},P=!1;for(var B in le){var $=le[B];D(y.transformHeader)&&($=y.transformHeader($,B));var ne=$,re=E[$]||0;for(0<re&&(P=!0,ne=$+"_"+re),E[$]=re+1;w.includes(ne);)ne=ne+"_"+re;w.push(ne)}if(P){var j=V.split(L);j[0]=w.join(T),V=j.join(L)}}if(ae||ae!==!1&&V.indexOf(k)===-1){for(var se=V.split(L),z=0;z<se.length;z++){if(X=se[z],A+=X.length,z!==se.length-1)A+=L.length;else if(pe)return qe();if(!F||X.substring(0,N)!==F){if(Q){if(H=[],oe(X.split(T)),Ne(),q)return qe()}else oe(X.split(T));if(I&&I<=z)return H=H.slice(0,I),qe(!0)}}return qe()}for(var Z=V.indexOf(T,A),ie=V.indexOf(L,A),de=new RegExp(v(W)+v(k),"g"),ce=V.indexOf(k,A);;)if(V[A]!==k)if(F&&X.length===0&&V.substring(A,A+N)===F){if(ie===-1)return qe();A=ie+Ee,ie=V.indexOf(L,A),Z=V.indexOf(T,A)}else if(Z!==-1&&(Z<ie||ie===-1))X.push(V.substring(A,Z)),A=Z+be,Z=V.indexOf(T,A);else{if(ie===-1)break;if(X.push(V.substring(A,ie)),Ie(ie+Ee),Q&&(Ne(),q))return qe();if(I&&H.length>=I)return qe(!0)}else for(ce=A,A++;;){if((ce=V.indexOf(k,ce+1))===-1)return pe||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:H.length,index:A}),Ce();if(ce===ee-1)return Ce(V.substring(A,ce).replace(de,k));if(k!==W||V[ce+1]!==W){if(k===W||ce===0||V[ce-1]!==W){Z!==-1&&Z<ce+1&&(Z=V.indexOf(T,ce+1)),ie!==-1&&ie<ce+1&&(ie=V.indexOf(L,ce+1));var we=he(ie===-1?Z:Math.min(Z,ie));if(V.substr(ce+1+we,be)===T){X.push(V.substring(A,ce).replace(de,k)),V[A=ce+1+we+be]!==k&&(ce=V.indexOf(k,A)),Z=V.indexOf(T,A),ie=V.indexOf(L,A);break}var K=he(ie);if(V.substring(ce+1+K,ce+1+K+Ee)===L){if(X.push(V.substring(A,ce).replace(de,k)),Ie(ce+1+K+Ee),Z=V.indexOf(T,A),ce=V.indexOf(k,A),Q&&(Ne(),q))return qe();if(I&&H.length>=I)return qe(!0);break}te.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:H.length,index:A}),ce++}}else ce++}return Ce();function oe(Ye){H.push(Ye),fe=A}function he(Ye){var et=0;if(Ye!==-1){var it=V.substring(ce+1,Ye);it&&it.trim()===""&&(et=it.length)}return et}function Ce(Ye){return pe||(Ye===void 0&&(Ye=V.substring(A)),X.push(Ye),A=ee,oe(X),Q&&Ne()),qe()}function Ie(Ye){A=Ye,oe(X),X=[],ie=V.indexOf(L,A)}function qe(Ye){return{data:H,errors:te,meta:{delimiter:T,linebreak:L,aborted:q,truncated:!!Ye,cursor:fe+(_e||0)}}}function Ne(){Y(qe()),H=[],te=[]}},this.abort=function(){q=!0},this.getCharIndex=function(){return A}}function b(y){var k=y.data,T=i[k.workerId],L=!1;if(k.error)T.userError(k.error,k.file);else if(k.results&&k.results.data){var F={abort:function(){L=!0,x(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:C,resume:C};if(D(T.userStep)){for(var Y=0;Y<k.results.data.length&&(T.userStep({data:k.results.data[Y],errors:k.results.errors,meta:k.results.meta},F),!L);Y++);delete k.results}else D(T.userChunk)&&(T.userChunk(k.results,F,k.file),delete k.results)}k.finished&&!L&&x(k.workerId,k.results)}function x(y,k){var T=i[y];D(T.userComplete)&&T.userComplete(k),T.terminate(),delete i[y]}function C(){throw new Error("Not implemented.")}function R(y){if(typeof y!="object"||y===null)return y;var k=Array.isArray(y)?[]:{};for(var T in y)k[T]=R(y[T]);return k}function M(y,k){return function(){y.apply(k,arguments)}}function D(y){return typeof y=="function"}return r&&(s.onmessage=function(y){var k=y.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 T=l.parse(k.input,k.config);T&&s.postMessage({workerId:l.WORKER_ID,results:T,finished:!0})}}),(f.prototype=Object.create(u.prototype)).constructor=f,(h.prototype=Object.create(u.prototype)).constructor=h,(g.prototype=Object.create(g.prototype)).constructor=g,(p.prototype=Object.create(u.prototype)).constructor=p,l})})(Lp);var y2=Lp.exports;const v2=rs(y2);const w2={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}=v2.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>")}}},Ip=t=>(ns("data-v-3cb88319"),t=t(),ss(),t),x2={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},k2={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},E2=Ip(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),C2={class:"list-disc pl-4"},A2={class:"text-xl font-bold mb-1"},S2=["innerHTML"],T2=Ip(()=>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,[ve("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),M2={class:"mt-8"},O2=zs('<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),R2=["href"];function N2(t,e,n,s,o,r){return S(),O("div",x2,[d("div",k2,[E2,d("ul",C2,[(S(!0),O(De,null,Qe(o.faqs,(i,a)=>(S(),O("li",{key:a},[d("h3",A2,J(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,S2)]))),128))])]),T2,d("div",M2,[O2,d("p",null,[ve("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,R2),ve(".")])])])}const D2=Ge(w2,[["render",N2],["__scopeId","data-v-3cb88319"]]);function qt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)<s)return t+" B";const o=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let r=-1;const i=10**n;do t/=s,++r;while(Math.round(Math.abs(t)*i)/i>=s&&r<o.length-1);return t.toFixed(n)+" "+o[r]}const L2={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},I2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},P2={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},F2={class:"text-lg font-medium"},B2={class:"mt-4 flex justify-center"};function $2(t,e,n,s,o,r){return o.show?(S(),O("div",I2,[d("div",P2,[d("h3",F2,J(o.message),1),d("div",B2,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):U("",!0)}const j2=Ge(L2,[["render",$2]]),z2={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})}}},U2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},q2={class:"relative w-full max-w-md max-h-full"},H2={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},V2=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),G2=d("span",{class:"sr-only"},"Close modal",-1),K2=[V2,G2],W2={class:"p-4 text-center"},Z2=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),Y2={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function Q2(t,e,n,s,o,r){return o.show?(S(),O("div",U2,[d("div",q2,[d("div",H2,[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"},K2),d("div",W2,[Z2,d("h3",Y2,J(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"},J(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"},J(o.DenyButtonText),1)])])])])):U("",!0)}const J2=Ge(z2,[["render",Q2]]);const X2={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),me(()=>{xe.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),me(()=>{xe.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Mn=t=>(ns("data-v-3ffdabf3"),t=t(),ss(),t),ev={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},tv={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"},nv={class:"flex flex-row flex-grow items-center"},sv={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"},ov=Mn(()=>d("i",{"data-feather":"check"},null,-1)),rv=Mn(()=>d("span",{class:"sr-only"},"Check icon",-1)),iv=[ov,rv],av={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"},lv=Mn(()=>d("i",{"data-feather":"x"},null,-1)),cv=Mn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),uv=[lv,cv],dv=["title"],fv={class:"flex"},hv=["onClick"],pv=Mn(()=>d("span",{class:"sr-only"},"Copy message",-1)),gv=Mn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),mv=[pv,gv],_v=["onClick"],bv=Mn(()=>d("span",{class:"sr-only"},"Close",-1)),yv=Mn(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),vv=[bv,yv];function wv(t,e,n,s,o,r){return S(),O("div",ev,[Ae(zt,{name:"toastItem",tag:"div"},{default:We(()=>[(S(!0),O(De,null,Qe(o.toastArr,i=>(S(),O("div",{key:i.id,class:"relative"},[d("div",tv,[d("div",nv,[vh(t.$slots,"default",{},()=>[i.success?(S(),O("div",sv,iv)):U("",!0),i.success?U("",!0):(S(),O("div",av,uv)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},J(i.message),9,dv)],!0)]),d("div",fv,[d("button",{type:"button",onClick:ue(a=>r.copyToClipBoard(i.message),["stop"]),title:"Copy message",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},mv,8,hv),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"},vv,8,_v)])])]))),128))]),_:3})])}const ii=Ge(X2,[["render",wv],["__scopeId","data-v-3ffdabf3"]]),Cr="/assets/default_model-9e24e852.png",xv={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(){me(()=>{xe.replace()})},methods:{computedFileSize(t){return qt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Se.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"?Cr:this.icon},defaultImg(t){t.target.src=Cr},toggleInstall(){this.getFileSize(this.model.path).then(t=>{this.fileSize=t}),this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):(this.installing=!0,this.onInstall(this))},toggleSelected(){this.getFileSize(this.model.path).then(t=>{this.fileSize=t}),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 qt(this.speed)},total_size_computed(){return qt(this.total_size)},downloaded_size_computed(){return qt(this.downloaded_size)}},watch:{linkNotValid(){me(()=>{xe.replace()})}}},kv=["title"],Ev={key:0,class:"flex flex-row"},Cv={class:"flex gap-3 items-center grow"},Av=["src"],Sv={class:"font-bold font-large text-lg truncate"},Tv={key:1,class:"flex items-center flex-row gap-2 my-1"},Mv={class:"flex grow items-center"},Ov=d("i",{"data-feather":"box",class:"w-5"},null,-1),Rv=d("span",{class:"sr-only"},"Custom model / local model",-1),Nv=[Ov,Rv],Dv=d("span",{class:"sr-only"},"Remove",-1),Lv={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"},Iv={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Pv=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),Fv={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Bv={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},$v={class:"flex justify-between mb-1"},jv=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),zv={class:"text-sm font-medium text-blue-700 dark:text-white"},Uv={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},qv={class:"flex justify-between mb-1"},Hv={class:"text-base font-medium text-blue-700 dark:text-white"},Vv={class:"text-sm font-medium text-blue-700 dark:text-white"},Gv={class:"flex flex-grow"},Kv={class:"flex flex-row flex-grow gap-3"},Wv={class:"p-2 text-center grow"},Zv={key:3},Yv={class:"flex flex-row items-center gap-3"},Qv=["src"],Jv={class:"font-bold font-large text-lg truncate"},Xv=d("div",{class:"grow"},null,-1),ew=d("div",{class:"flex-none gap-1"},null,-1),tw={class:"flex items-center flex-row-reverse gap-2 my-1"},nw=d("span",{class:"sr-only"},"Copy info",-1),sw={class:"flex flex-row items-center"},ow={key:0,class:"text-base text-red-600 flex items-center mt-1"},rw=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),iw=d("span",{class:"sr-only"},"Click to install",-1),aw=d("span",{class:"sr-only"},"Remove",-1),lw=["title"],cw={class:""},uw={class:"flex flex-row items-center"},dw=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),fw=d("b",null,"Manual download: ",-1),hw=["href","title"],pw=d("div",{class:"grow"},null,-1),gw=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),mw=[gw],_w={class:"flex items-center"},bw=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),yw=d("b",null,"File size: ",-1),vw={class:"flex items-center"},ww=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),xw=d("b",null,"License: ",-1),kw={class:"flex items-center"},Ew=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Cw=d("b",null,"Owner: ",-1),Aw=["href"],Sw=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Tw=["title"];function Mw(t,e,n,s,o,r){return S(),O("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]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(S(),O("div",Ev,[d("div",Cv,[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,Av),d("h3",Sv,J(n.title),1)])])):U("",!0),n.model.isCustomModel?(S(),O("div",Tv,[d("div",Mv,[d("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ue(()=>{},["stop"]))},Nv),ve(" Custom model ")]),d("div",null,[n.model.isInstalled?(S(),O("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ve(" Uninstall "),Dv])):U("",!0)])])):U("",!0),o.installing?(S(),O("div",Lv,[d("div",Iv,[Pv,d("div",Fv,[d("div",Bv,[d("div",$v,[jv,d("span",zv,J(Math.floor(o.progress))+"%",1)]),d("div",Uv,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt({width:o.progress+"%"})},null,4)]),d("div",qv,[d("span",Hv,"Download speed: "+J(r.speed_computed)+"/s",1),d("span",Vv,J(r.downloaded_size_computed)+"/"+J(r.total_size_computed),1)])])]),d("div",Gv,[d("div",Kv,[d("div",Wv,[d("button",{onClick:e[3]||(e[3]=ue((...i)=>r.toggleCancelInstall&&r.toggleCancelInstall(...i),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):U("",!0),n.model.isCustomModel?U("",!0):(S(),O("div",Zv,[d("div",Yv,[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,Qv),d("h3",Jv,J(n.title),1),Xv,ew]),d("div",tw,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=ue(i=>r.toggleCopy(),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ve(" Copy info "),nw]),d("div",sw,[o.linkNotValid?(S(),O("div",ow,[rw,ve(" Link is not valid ")])):U("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(S(),O("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ve(" Install "),iw])):U("",!0),n.model.isInstalled?(S(),O("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ve(" Uninstall "),aw])):U("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",cw,[d("div",uw,[dw,fw,d("a",{href:n.path,onClick:e[8]||(e[8]=ue(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/<current binding> folder then refresh"}," Click here to download ",8,hw),pw,d("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[9]||(e[9]=ue(i=>r.toggleCopyLink(),["stop"]))},mw)]),d("div",_w,[d("div",{class:Te(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[bw,yw,ve(" "+J(o.fileSize),1)],2)]),d("div",vw,[ww,xw,ve(" "+J(n.license),1)]),d("div",kw,[Ew,Cw,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=ue(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},J(n.owner),9,Aw)])]),Sw,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},J(n.description.replace(/<\/?[^>]+>/ig," ")),9,Tw)],8,lw)]))],10,kv)}const Ow=Ge(xv,[["render",Mw]]),Rw={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}}},Nw={class:"p-4"},Dw={class:"flex items-center mb-4"},Lw=["src"],Iw={class:"text-lg font-semibold"},Pw=d("strong",null,"Author:",-1),Fw=d("strong",null,"Description:",-1),Bw=d("strong",null,"Language:",-1),$w=d("strong",null,"Category:",-1),jw={key:0},zw=d("strong",null,"Disclaimer:",-1),Uw=d("strong",null,"Conditioning Text:",-1),qw=d("strong",null,"AI Prefix:",-1),Hw=d("strong",null,"User Prefix:",-1),Vw=d("strong",null,"Antiprompts:",-1);function Gw(t,e,n,s,o,r){return S(),O("div",Nw,[d("div",Dw,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Lw),d("h2",Iw,J(o.personalityName),1)]),d("p",null,[Pw,ve(" "+J(o.personalityAuthor),1)]),d("p",null,[Fw,ve(" "+J(o.personalityDescription),1)]),d("p",null,[Bw,ve(" "+J(o.personalityLanguage),1)]),d("p",null,[$w,ve(" "+J(o.personalityCategory),1)]),o.disclaimer?(S(),O("p",jw,[zw,ve(" "+J(o.disclaimer),1)])):U("",!0),d("p",null,[Uw,ve(" "+J(o.conditioningText),1)]),d("p",null,[qw,ve(" "+J(o.aiPrefix),1)]),d("p",null,[Hw,ve(" "+J(o.userPrefix),1)]),d("div",null,[Vw,d("ul",null,[(S(!0),O(De,null,Qe(o.antipromptsList,i=>(S(),O("li",{key:i.id},J(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?(S(),O("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):U("",!0)])}const Kw=Ge(Rw,[["render",Gw]]),Jn="/assets/logo-9d653710.svg",Ww="/assets/default_user-17642e5a.svg",Zw="/",Yw={props:{personality:{},onSelected:Function,selected:Boolean,onMounted:Function,onReinstall:Function,full_path:String,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,me(()=>{xe.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return Zw+this.personality.avatar},defaultImg(t){t.target.src=Jn},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){me(()=>{xe.replace()})}}},Qw=["title"],Jw={class:"flex flex-row items-center flex-shrink-0 gap-3"},Xw=["src"],ex={class:"font-bold font-large text-lg line-clamp-3"},tx={class:"flex items-center flex-row-reverse gap-2 my-1"},nx=d("span",{class:"sr-only"},"Settings",-1),sx=d("span",{class:"sr-only"},"Reinstall personality",-1),ox=d("span",{class:"sr-only"},"Click to install",-1),rx=d("span",{class:"sr-only"},"Remove",-1),ix={class:""},ax={class:""},lx={class:"flex items-center"},cx=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),ux=d("b",null,"Author: ",-1),dx={class:"flex items-center"},fx=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),hx=d("b",null,"Language: ",-1),px={class:"flex items-center"},gx=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),mx=d("b",null,"Category: ",-1),_x=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),bx=["title"];function yx(t,e,n,s,o,r){return S(),O("div",{class:Te(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer active:scale-95 duration-75 select-none",r.selected_computed?"border-primary-light":"border-transparent"]),onClick:e[5]||(e[5]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Te(n.personality.installed?"":"opacity-50")},[d("div",Jw,[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,Xw),d("h3",ex,J(n.personality.name),1)]),d("div",tx,[r.selected_computed?(S(),O("button",{key:0,type:"button",title:"Settings",onClick:e[1]||(e[1]=ue((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ve(" Settings "),nx])):U("",!0),r.selected_computed?(S(),O("button",{key:1,title:"Click to Reinstall personality",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ve(" Reinstall personality "),sx])):U("",!0),o.isMounted?U("",!0):(S(),O("button",{key:2,title:"Mount personality",type:"button",onClick:e[3]||(e[3]=ue((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center 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"},[ve(" Mount "),ox])),o.isMounted?(S(),O("button",{key:3,title:"Unmount personality",type:"button",onClick:e[4]||(e[4]=ue((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ve(" Unmount "),rx])):U("",!0)]),d("div",ix,[d("div",ax,[d("div",lx,[cx,ux,ve(" "+J(n.personality.author),1)]),d("div",dx,[fx,hx,ve(" "+J(n.personality.language),1)]),d("div",px,[gx,mx,ve(" "+J(n.personality.category),1)])]),_x,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},J(n.personality.description),9,bx)])],2)],10,Qw)}const Pp=Ge(Yw,[["render",yx]]),vx="/",wx={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){me(()=>{xe.replace()})},methods:{getImgUrl(){return vx+this.binding.icon},defaultImg(t){t.target.src=Jn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){me(()=>{xe.replace()})}}},xx=["title"],kx={class:"flex flex-row items-center gap-3"},Ex=["src"],Cx={class:"font-bold font-large text-lg truncate"},Ax=d("div",{class:"grow"},null,-1),Sx=d("div",{class:"flex-none gap-1"},null,-1),Tx={class:"flex items-center flex-row-reverse gap-2 my-1"},Mx=d("span",{class:"sr-only"},"Click to install",-1),Ox=d("span",{class:"sr-only"},"Reinstall binding",-1),Rx=d("span",{class:"sr-only"},"Settings",-1),Nx={class:""},Dx={class:""},Lx={class:"flex items-center"},Ix=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Px=d("b",null,"Author: ",-1),Fx={class:"flex items-center"},Bx=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),$x=d("b",null,"Folder: ",-1),jx={class:"flex items-center"},zx=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Ux=d("b",null,"Version: ",-1),qx={class:"flex items-center"},Hx=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),Vx=d("b",null,"Link: ",-1),Gx=["href"],Kx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Wx=["title"];function Zx(t,e,n,s,o,r){return S(),O("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]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",kx,[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,Ex),d("h3",Cx,J(n.binding.name),1),Ax,Sx]),d("div",Tx,[n.binding.installed?U("",!0):(S(),O("button",{key:0,title:"Click to install",type:"button",onClick:e[1]||(e[1]=ue((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ve(" Install "),Mx])),n.binding.installed?(S(),O("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[2]||(e[2]=ue((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ve(" Reinstall binding "),Ox])):U("",!0),n.selected?(S(),O("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[3]||(e[3]=ue((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ve(" Settings "),Rx])):U("",!0)]),d("div",Nx,[d("div",Dx,[d("div",Lx,[Ix,Px,ve(" "+J(n.binding.author),1)]),d("div",Fx,[Bx,$x,ve(" "+J(n.binding.folder),1)]),d("div",jx,[zx,Ux,ve(" "+J(n.binding.version),1)]),d("div",qx,[Hx,Vx,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},J(n.binding.link),9,Gx)])]),Kx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},J(n.binding.description),9,Wx)])])],10,xx)}const Yx=Ge(wx,[["render",Zx]]),Zt=Object.create(null);Zt.open="0";Zt.close="1";Zt.ping="2";Zt.pong="3";Zt.message="4";Zt.upgrade="5";Zt.noop="6";const dr=Object.create(null);Object.keys(Zt).forEach(t=>{dr[Zt[t]]=t});const Qx={type:"error",data:"parser error"},Jx=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Xx=typeof ArrayBuffer=="function",ek=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Fp=({type:t,data:e},n,s)=>Jx&&e instanceof Blob?n?s(e):Fu(e,s):Xx&&(e instanceof ArrayBuffer||ek(e))?n?s(e):Fu(new Blob([e]),s):s(Zt[t]+(e||"")),Fu=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Bu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",no=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<Bu.length;t++)no[Bu.charCodeAt(t)]=t;const tk=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=no[t.charCodeAt(s)],i=no[t.charCodeAt(s+1)],a=no[t.charCodeAt(s+2)],l=no[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},nk=typeof ArrayBuffer=="function",Bp=(t,e)=>{if(typeof t!="string")return{type:"message",data:$p(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:sk(t.substring(1),e)}:dr[n]?t.length>1?{type:dr[n],data:t.substring(1)}:{type:dr[n]}:Qx},sk=(t,e)=>{if(nk){const n=tk(t);return $p(n,e)}else return{base64:!0,data:t}},$p=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},jp=String.fromCharCode(30),ok=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{Fp(r,!1,a=>{s[i]=a,++o===n&&e(s.join(jp))})})},rk=(t,e)=>{const n=t.split(jp),s=[];for(let o=0;o<n.length;o++){const r=Bp(n[o],e);if(s.push(r),r.type==="error")break}return s},zp=4;function Je(t){if(t)return ik(t)}function ik(t){for(var e in Je.prototype)t[e]=Je.prototype[e];return t}Je.prototype.on=Je.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};Je.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};Je.prototype.off=Je.prototype.removeListener=Je.prototype.removeAllListeners=Je.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};Je.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};Je.prototype.emitReserved=Je.prototype.emit;Je.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};Je.prototype.hasListeners=function(t){return!!this.listeners(t).length};const wt=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Up(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const ak=wt.setTimeout,lk=wt.clearTimeout;function ai(t,e){e.useNativeTimers?(t.setTimeoutFn=ak.bind(wt),t.clearTimeoutFn=lk.bind(wt)):(t.setTimeoutFn=wt.setTimeout.bind(wt),t.clearTimeoutFn=wt.clearTimeout.bind(wt))}const ck=1.33;function uk(t){return typeof t=="string"?dk(t):Math.ceil((t.byteLength||t.size)*ck)}function dk(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 fk extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class qp extends Je{constructor(e){super(),this.writable=!1,ai(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new fk(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=Bp(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 Hp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),ol=64,hk={};let $u=0,Vo=0,ju;function zu(t){let e="";do e=Hp[t%ol]+e,t=Math.floor(t/ol);while(t>0);return e}function Vp(){const t=zu(+new Date);return t!==ju?($u=0,ju=t):t+"."+zu($u++)}for(;Vo<ol;Vo++)hk[Hp[Vo]]=Vo;function Gp(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function pk(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 Kp=!1;try{Kp=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const gk=Kp;function Wp(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||gk))return new XMLHttpRequest}catch{}if(!e)try{return new wt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function mk(){}const _k=function(){return new Wp({xdomain:!1}).responseType!=null}();class bk extends qp{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=_k&&!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)};rk(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,ok(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]=Vp()),!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=Gp(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 Gt(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 Gt extends Je{constructor(e,n){super(),ai(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=Up(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 Wp(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=Gt.requestsCount++,Gt.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=mk,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Gt.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()}}Gt.requestsCount=0;Gt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Uu);else if(typeof addEventListener=="function"){const t="onpagehide"in wt?"pagehide":"unload";addEventListener(t,Uu,!1)}}function Uu(){for(let t in Gt.requests)Gt.requests.hasOwnProperty(t)&&Gt.requests[t].abort()}const Zp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Go=wt.WebSocket||wt.MozWebSocket,qu=!0,yk="arraybuffer",Hu=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class vk extends qp{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=Hu?{}:Up(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=qu&&!Hu?n?new Go(e,n):new Go(e):new Go(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||yk,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;Fp(s,this.supportsBinary,r=>{const i={};try{qu&&this.ws.send(r)}catch{}o&&Zp(()=>{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]=Vp()),this.supportsBinary||(e.b64=1);const o=Gp(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!!Go}}const wk={websocket:vk,polling:bk},xk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,kk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function rl(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=xk.exec(t||""),r={},i=14;for(;i--;)r[kk[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=Ek(r,r.path),r.queryKey=Ck(r,r.query),r}function Ek(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 Ck(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Yp=class hs extends Je{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=rl(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=rl(n.host).host),ai(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=pk(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=zp,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 wk[e](s)}open(){let e;if(this.opts.rememberUpgrade&&hs.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;hs.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!s)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;hs.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=f=>{const h=new Error("probe error: "+f);h.transport=n.name,r(),this.emitReserved("upgradeError",h)};function a(){i("transport closed")}function l(){i("socket closed")}function c(f){n&&f.name!==n.name&&r()}const u=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",hs.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+=uk(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){hs.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}};Yp.protocol=zp;function Ak(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=rl(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 Sk=typeof ArrayBuffer=="function",Tk=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Qp=Object.prototype.toString,Mk=typeof Blob=="function"||typeof Blob<"u"&&Qp.call(Blob)==="[object BlobConstructor]",Ok=typeof File=="function"||typeof File<"u"&&Qp.call(File)==="[object FileConstructor]";function Xl(t){return Sk&&(t instanceof ArrayBuffer||Tk(t))||Mk&&t instanceof Blob||Ok&&t instanceof File}function fr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n<s;n++)if(fr(t[n]))return!0;return!1}if(Xl(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return fr(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&fr(t[n]))return!0;return!1}function Rk(t){const e=[],n=t.data,s=t;return s.data=il(n,e),s.attachments=e.length,{packet:s,buffers:e}}function il(t,e){if(!t)return t;if(Xl(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]=il(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]=il(t[s],e));return n}return t}function Nk(t,e){return t.data=al(t.data,e),delete t.attachments,t}function al(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]=al(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=al(t[n],e));return t}const Dk=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 Lk{constructor(e){this.replacer=e}encode(e){return(e.type===Le.EVENT||e.type===Le.ACK)&&fr(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=Rk(e),s=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(s),o}}class ec extends Je{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 Ik(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Xl(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(ec.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 Ik{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=Nk(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Pk=Object.freeze(Object.defineProperty({__proto__:null,Decoder:ec,Encoder:Lk,get PacketType(){return Le},protocol:Dk},Symbol.toStringTag,{value:"Module"}));function Rt(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const Fk=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Jp extends Je{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=[Rt(e,"open",this.onopen.bind(this)),Rt(e,"packet",this.onpacket.bind(this)),Rt(e,"error",this.onerror.bind(this)),Rt(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(Fk.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 Hs(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}Hs.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};Hs.prototype.reset=function(){this.attempts=0};Hs.prototype.setMin=function(t){this.ms=t};Hs.prototype.setMax=function(t){this.max=t};Hs.prototype.setJitter=function(t){this.jitter=t};class ll extends Je{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,ai(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 Hs({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||Pk;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 Yp(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Rt(n,"open",function(){s.onopen(),e&&e()}),r=Rt(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(Rt(e,"ping",this.onping.bind(this)),Rt(e,"data",this.ondata.bind(this)),Rt(e,"error",this.onerror.bind(this)),Rt(e,"close",this.onclose.bind(this)),Rt(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){Zp(()=>{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 Jp(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 Js={};function hr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=Ak(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Js[o]&&r in Js[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new ll(s,e):(Js[o]||(Js[o]=new ll(s,e)),l=Js[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(hr,{Manager:ll,Socket:Jp,io:hr,connect:hr});const Bk=void 0,$e=new hr(Bk);$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 $k={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})}}},jk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},zk={class:"relative w-full max-w-md max-h-full"},Uk={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},qk=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Hk=d("span",{class:"sr-only"},"Close modal",-1),Vk=[qk,Hk],Gk={class:"p-4 text-center"},Kk=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),Wk={class:"p-4 text-center mx-auto mb-4"},Zk=d("label",{class:"mr-2"},"Model path",-1);function Yk(t,e,n,s,o,r){return o.show?(S(),O("div",jk,[d("div",zk,[d("div",Uk,[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"},Vk),d("div",Gk,[Kk,d("div",Wk,[Zk,ye(d("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[je,o.model_path]])]),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),d("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):U("",!0)}const Qk=Ge($k,[["render",Yk]]),Jk={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){me(()=>{xe.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o<t.length;o++)t[o].isHelp=!1;return new Promise(o=>{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){me(()=>{xe.replace()})}}},Xk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},eE={class:"relative w-full max-w-md"},tE={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},nE={class:"flex flex-row flex-grow items-center m-2 p-1"},sE={class:"grow flex items-center"},oE=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),rE={class:"text-lg font-semibold select-none mr-2"},iE={class:"items-end"},aE=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),lE=d("span",{class:"sr-only"},"Close form modal",-1),cE=[aE,lE],uE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},dE={class:"px-2"},fE={key:0},hE={key:0},pE={class:"text-base font-semibold"},gE={key:0,class:"relative inline-flex"},mE=["onUpdate:modelValue"],_E=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),bE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},yE=["onUpdate:modelValue"],vE={key:1},wE={class:"text-base font-semibold"},xE={key:0,class:"relative inline-flex"},kE=["onUpdate:modelValue"],EE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),CE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},AE=["onUpdate:modelValue"],SE=["value","selected"],TE={key:1},ME={class:"text-base font-semibold"},OE={key:0,class:"relative inline-flex"},RE=["onUpdate:modelValue"],NE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),DE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},LE=["onUpdate:modelValue"],IE=["onUpdate:modelValue","min","max"],PE={key:2},FE={class:"mb-2 relative flex items-center gap-2"},BE={for:"default-checkbox",class:"text-base font-semibold"},$E=["onUpdate:modelValue"],jE={key:0,class:"relative inline-flex"},zE=["onUpdate:modelValue"],UE=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),qE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},HE={key:3},VE={class:"text-base font-semibold"},GE={key:0,class:"relative inline-flex"},KE=["onUpdate:modelValue"],WE=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),ZE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},YE=["onUpdate:modelValue"],QE=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),JE={class:"flex flex-row flex-grow gap-3"},XE={class:"p-2 text-center grow"};function e5(t,e,n,s,o,r){return o.show?(S(),O("div",Xk,[d("div",eE,[d("div",tE,[d("div",nE,[d("div",sE,[oE,d("h3",rE,J(o.title),1)]),d("div",iE,[d("button",{type:"button",onClick:e[0]||(e[0]=ue(i=>r.hide(!1),["stop"])),title:"Close",class:"bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},cE)])]),d("div",uE,[(S(!0),O(De,null,Qe(o.controls_array,(i,a)=>(S(),O("div",dE,[i.type=="str"?(S(),O("div",fE,[i.options?U("",!0):(S(),O("div",hE,[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",pE,J(i.name)+": ",1),i.help?(S(),O("label",gE,[ye(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,mE),[[_n,i.isHelp]]),_E])):U("",!0)],2),i.isHelp?(S(),O("p",bE,J(i.help),1)):U("",!0),ye(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,yE),[[je,i.value]])])),i.options?(S(),O("div",vE,[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",wE,J(i.name)+": ",1),i.help?(S(),O("label",xE,[ye(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,kE),[[_n,i.isHelp]]),EE])):U("",!0)],2),i.isHelp?(S(),O("p",CE,J(i.help),1)):U("",!0),ye(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"},[(S(!0),O(De,null,Qe(i.options,l=>(S(),O("option",{value:l,selected:i.value===l},J(l),9,SE))),256))],8,AE),[[q1,i.value]])])):U("",!0)])):U("",!0),i.type=="int"||i.type=="float"?(S(),O("div",TE,[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",ME,J(i.name)+": ",1),i.help?(S(),O("label",OE,[ye(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,RE),[[_n,i.isHelp]]),NE])):U("",!0)],2),i.isHelp?(S(),O("p",DE,J(i.help),1)):U("",!0),ye(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,LE),[[je,i.value]]),i.min!=null&&i.max!=null?ye((S(),O("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,IE)),[[je,i.value]]):U("",!0)])):U("",!0),i.type=="bool"?(S(),O("div",PE,[d("div",FE,[d("label",BE,J(i.name)+": ",1),ye(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,$E),[[_n,i.value]]),i.help?(S(),O("label",jE,[ye(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,zE),[[_n,i.isHelp]]),UE])):U("",!0)]),i.isHelp?(S(),O("p",qE,J(i.help),1)):U("",!0)])):U("",!0),i.type=="list"?(S(),O("div",HE,[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",VE,J(i.name)+": ",1),i.help?(S(),O("label",GE,[ye(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,KE),[[_n,i.isHelp]]),WE])):U("",!0)],2),i.isHelp?(S(),O("p",ZE,J(i.help),1)):U("",!0),ye(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,YE),[[je,i.value]])])):U("",!0),QE]))),256)),d("div",JE,[d("div",XE,[d("button",{onClick:e[1]||(e[1]=ue(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},J(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=ue(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},J(o.DenyButtonText),1)])])])])])])):U("",!0)}const Xp=Ge(Jk,[["render",e5]]);const t5="/";Se.defaults.baseURL="/";const n5={components:{AddModelDialog:Qk,MessageBox:j2,YesNoDialog:J2,ModelEntry:Ow,PersonalityViewer:Kw,Toast:ii,PersonalityEntry:Pp,BindingEntry:Yx,UniversalForm:Xp},data(){return{addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],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,persLangArr:[],persCatgArr:[],persArr:[],langArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:t5,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){},methods:{async constructor(){for(this.isLoading=!0,me(()=>{xe.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.configFile.model_name&&(this.isModelSelected=!0),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((t,e)=>t.name.localeCompare(e.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),this.personalitiesFiltered=this.personalities.filter(t=>t.category===this.configFile.personality_category&&t.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.modelsFiltered=this.models,this.bindingsArr.sort((t,e)=>t.name.localeCompare(e.name)),this.isLoading=!1,this.isMounted=!0},async open_mzl(){this.mzl_collapsed=!this.mzl_collapsed,console.log("Fetching models")},async getVramUsage(){await this.api_get_req("vram_usage")},async progressListener(t){if(console.log("received something"),t.status==="progress"){if(this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.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.$store.dispatch("refreshDiskUsage")}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.$store.dispatch("refreshDiskUsage")}},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},fetchPersonalities(){this.api_get_req("list_personalities_categories").then(t=>{this.persCatgArr=t,this.persCatgArr.sort()}),this.api_get_req("list_personalities").then(t=>{this.persArr=t,this.persArr.sort(),console.log(`Listed personalities:
${t}`)})},fetchHardwareInfos(){this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage")},async onPersonalitySelected(t){if(console.log("on pers",t),this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}if(t.isMounted&&this.configFile.personalities.includes(t.personality.full_path)){const e=await this.select_personality(t);console.log("pers is mounted",e),e&&e.status&&e.active_personality_id>-1?this.$refs.toast.showToast(`Selected personality:
`+t.name,4,!0):this.$refs.toast.showToast(`Error on select personality:
`+t.name,4,!1),this.isLoading=!1}else console.log("mounting pers"),this.onPersonalityMounted(t);me(()=>{xe.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).then(e=>{console.log("update_model",e),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),me(()=>{xe.replace()}))},onCopy(t){let e;t.model.isCustomModel?e=`Model name: ${t.title}
File size: ${t.fileSize}
Manually downloaded model `:e=`Model name: ${t.title}
File size: ${t.fileSize}
Download: ${t.path}
License: ${t.license}
Owner: ${t.owner}
Website: ${t.owner_link}
Description: ${t.description}`,this.$refs.toast.showToast("Copied model info to clipboard!",4,!0),navigator.clipboard.writeText(e.trim())},onCopyLink(t){this.$refs.toast.showToast("Copied link to clipboard!",4,!0),navigator.clipboard.writeText(t.path)},onCancelInstall(){const t=this.addModel;console.log("cancel install",t),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,this.addModel={model_name:t.model.title,binding_folder:this.configFile.binding_name,model_url:t.path},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),$e.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model:
`+t.title+`
installed!`,4,!0),this.$store.dispatch("refreshDiskUsage")}}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.$store.dispatch("refreshDiskUsage")};$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.$store.dispatch("refreshDiskUsage"))):($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.$store.dispatch("refreshDiskUsage"))};$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.$store.dispatch("refreshDiskUsage"))):($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.$store.dispatch("refreshDiskUsage"))};$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.$store.dispatch("refreshDiskUsage")}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.$store.dispatch("refreshDiskUsage")};$e.on("install_progress",n),$e.emit("uninstall_model",{path:t.path})}})},onSelectedBinding(t){if(console.log("Binding selected"),!t.binding.installed){this.$refs.toast.showToast(`Binding is not installed:
`+t.binding.name,4,!1);return}this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onInstallBinding(t){this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onReinstallBinding(t){this.isLoading=!0,Se.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,Se.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{Se.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,Se.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{Se.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(){console.log("Refreshing")},toggleAccordion(){this.showAccordion=!this.showAccordion},async update_setting(t,e,n){this.isLoading=!0;const s={setting_name:t,setting_value:e};let o=await Se.post("/update_setting",s);if(o)return this.isLoading=!1,console.log("update_setting",o),n!==void 0&&n(o),o.data;this.isLoading=!1},update_binding(t){this.isLoading=!0,console.log("updating binding_name"),this.update_setting("binding_name",t,e=>{console.log("updated binding_name");const n=this.bindingsArr.findIndex(o=>o.folder==t),s=this.bindingsArr[n];s&&(s.installed=!0),this.settingsChanged=!0,this.isLoading=!1,console.log("updating model"),this.update_model(null).then(()=>{console.log("updated model"),this.configFile.model_name=null,this.$store.dispatch("refreshConfig"),this.$store.dispatch("refreshModelsZoo"),this.$refs.toast.showToast("Binding changed.",4,!0),this.$forceUpdate()}),me(()=>{xe.replace()})})},async update_model(t){console.log("hjsdfhksdjufkdshf"),t||(this.isModelSelected=!1),this.isLoading=!0;let e=await this.update_setting("model_name",t);return this.isLoading=!1,e},applyConfiguration(){this.isLoading=!0,Se.post("/apply_settings").then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),me(()=>{xe.replace()})})},save_configuration(){this.showConfirmation=!1,Se.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&&Se.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 Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=this.$store.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(f=>{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let g={};return g=f,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+f.folder,g.isMounted=h,g});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},async filterModels(){if(!this.searchModel){console.log("Searching model"),this.modelsFiltered=this.models,this.modelsFiltered.sort(),this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase(),e=this.models.filter(n=>{if(n.title&&n.title.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.path&&n.path.toLowerCase().includes(t))return n});e.length>0?this.modelsFiltered=e.sort():(this.modelsFiltered=this.models,this.modelsFiltered.sort()),this.searchModelInProgress=!1},computedFileSize(t){return qt(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 Se.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 Se.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 Se.post("/select_personality",n);if(s)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),s.data}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+t.personality.name,4,!0),this.$store.dispatch("refreshMountedPersonalities")):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
Error: `+e.error+`
Response:
`+e,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.$store.dispatch("refreshMountedPersonalities");const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
Error: `+e.error,4,!1);this.isLoading=!1},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,Se.post("/reinstall_binding",{name:binding_object.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}))},onPersonalityMounted(t){console.log("on sel ",t),this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},personalityImgPlacehodler(t){t.target.src=Jn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){clearTimeout(this.searchModelTimer),this.searchModel&&(this.searchModelInProgress=!0,setTimeout(this.filterModels,this.searchModelTimer))}},async mounted(){this.constructor()},activated(){this.isMounted&&this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},bindingsArr:{get(){return this.$store.state.bindingsArr},set(t){this.$store.commit("setBindingsArr",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.$store.state.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return Cr}},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 Cr}},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return qt(this.addModel.speed)},total_size_computed(){return qt(this.addModel.total_size)},downloaded_size_computed(){return qt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){me(()=>{xe.replace()})},pc_collapsed(){me(()=>{xe.replace()})},mc_collapsed(){me(()=>{xe.replace()})},sc_collapsed(){me(()=>{xe.replace()})},showConfirmation(){me(()=>{xe.replace()})},mzl_collapsed(){me(()=>{xe.replace()})},pzl_collapsed(){me(()=>{xe.replace()})},bzl_collapsed(){me(()=>{xe.replace()})},all_collapsed(t){this.collapseAll(t),me(()=>{xe.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,me(()=>{xe.replace()})},isLoading(){me(()=>{xe.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){me(()=>{xe.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}},ge=t=>(ns("data-v-8059edcb"),t=t(),ss(),t),s5={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},o5={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"},r5={key:0,class:"flex gap-3 flex-1 items-center duration-75"},i5=ge(()=>d("i",{"data-feather":"x"},null,-1)),a5=[i5],l5=ge(()=>d("i",{"data-feather":"check"},null,-1)),c5=[l5],u5={key:1,class:"flex gap-3 flex-1 items-center"},d5=ge(()=>d("i",{"data-feather":"save"},null,-1)),f5=[d5],h5=ge(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),p5=[h5],g5=ge(()=>d("i",{"data-feather":"list"},null,-1)),m5=[g5],_5={class:"flex gap-3 flex-1 items-center justify-end"},b5={class:"flex gap-3 items-center"},y5={key:0,class:"flex gap-3 items-center"},v5=ge(()=>d("i",{"data-feather":"check"},null,-1)),w5=[v5],x5={key:1,role:"status"},k5=ge(()=>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)),E5=ge(()=>d("span",{class:"sr-only"},"Loading...",-1)),C5=[k5,E5],A5={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"},S5={class:"flex flex-row p-3"},T5=ge(()=>d("i",{"data-feather":"chevron-right"},null,-1)),M5=[T5],O5=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),R5=[O5],N5=ge(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),D5=ge(()=>d("div",{class:"mr-2"},"|",-1)),L5={class:"text-base font-semibold cursor-pointer select-none items-center"},I5={class:"flex gap-2 items-center"},P5={key:0},F5={class:"flex gap-2 items-center"},B5=["title"],$5=zs('<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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></path>',34),j5=[$5],z5={class:"font-bold font-large text-lg"},U5={key:1},q5={class:"flex gap-2 items-center"},H5=zs('<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-8059edcb><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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></path></svg>',1),V5={class:"font-bold font-large text-lg"},G5=ge(()=>d("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),K5={class:"font-bold font-large text-lg"},W5=ge(()=>d("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Z5={class:"font-bold font-large text-lg"},Y5={class:"mb-2"},Q5=ge(()=>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"})]),ve(" CPU Ram usage: ")],-1)),J5={class:"flex flex-col mx-2"},X5=ge(()=>d("b",null,"Avaliable ram: ",-1)),e4=ge(()=>d("b",null,"Ram usage: ",-1)),t4={class:"p-2"},n4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},s4={class:"mb-2"},o4=ge(()=>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"}),ve(" Disk usage: ")],-1)),r4={class:"flex flex-col mx-2"},i4=ge(()=>d("b",null,"Avaliable disk space: ",-1)),a4=ge(()=>d("b",null,"Disk usage: ",-1)),l4={class:"p-2"},c4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},u4={class:"mb-2"},d4=zs('<label class="flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white" data-v-8059edcb><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-8059edcb><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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></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-8059edcb></path></svg> GPU usage: </label>',1),f4={class:"flex flex-col mx-2"},h4=ge(()=>d("b",null,"Model: ",-1)),p4=ge(()=>d("b",null,"Avaliable vram: ",-1)),g4=ge(()=>d("b",null,"GPU usage: ",-1)),m4={class:"p-2"},_4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},b4={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"},y4={class:"flex flex-row p-3"},v4=ge(()=>d("i",{"data-feather":"chevron-right"},null,-1)),w4=[v4],x4=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),k4=[x4],E4=ge(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),C4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},A4=ge(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),S4={key:1,class:"mr-2"},T4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},M4={class:"flex gap-1 items-center"},O4=["src"],R4={class:"font-bold font-large text-lg line-clamp-1"},N4={key:0,class:"mb-2"},D4={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},L4=ge(()=>d("i",{"data-feather":"chevron-up"},null,-1)),I4=[L4],P4=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),F4=[P4],B4={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"},$4={class:"flex flex-row p-3"},j4=ge(()=>d("i",{"data-feather":"chevron-right"},null,-1)),z4=[j4],U4=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),q4=[U4],H4=ge(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),V4={class:"flex flex-row items-center"},G4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},K4=ge(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),W4={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Z4=ge(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),Y4={key:2,class:"mr-2"},Q4={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},J4={class:"flex gap-1 items-center"},X4=["src"],eC={class:"font-bold font-large text-lg line-clamp-1"},tC={class:"mx-2 mb-4"},nC={class:"relative"},sC={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},oC={key:0},rC=ge(()=>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)),iC=[rC],aC={key:1},lC=ge(()=>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)),cC=[lC],uC={key:0},dC={key:0,class:"mb-2"},fC={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},hC={key:1},pC={key:0,class:"mb-2"},gC={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},mC=ge(()=>d("i",{"data-feather":"chevron-up"},null,-1)),_C=[mC],bC=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),yC=[bC],vC={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"},wC={class:"flex flex-row p-3"},xC=ge(()=>d("i",{"data-feather":"chevron-right"},null,-1)),kC=[xC],EC=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),CC=[EC],AC=ge(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),SC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},TC=ge(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),MC={key:1,class:"mr-2"},OC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},RC={class:"flex gap-1 items-center"},NC=["src"],DC={class:"font-bold font-large text-lg line-clamp-1"},LC={class:"mb-2"},IC={class:"p-2"},PC={key:0},FC={class:"mb-3"},BC=ge(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),$C={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},jC=ge(()=>d("div",{role:"status",class:"justify-center"},null,-1)),zC={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},UC={class:"w-full p-2"},qC={class:"flex justify-between mb-1"},HC=zs('<span class="flex flex-row items-center gap-2 text-base font-medium text-blue-700 dark:text-white" data-v-8059edcb> 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-8059edcb><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-8059edcb></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-8059edcb></path></svg><span class="sr-only" data-v-8059edcb>Loading...</span></span>',1),VC={class:"text-sm font-medium text-blue-700 dark:text-white"},GC=["title"],KC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},WC={class:"flex justify-between mb-1"},ZC={class:"text-base font-medium text-blue-700 dark:text-white"},YC={class:"text-sm font-medium text-blue-700 dark:text-white"},QC={class:"flex flex-grow"},JC={class:"flex flex-row flex-grow gap-3"},XC={class:"p-2 text-center grow"},e3={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"},t3={class:"flex flex-row p-3 items-center"},n3=ge(()=>d("i",{"data-feather":"chevron-right"},null,-1)),s3=[n3],o3=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),r3=[o3],i3=ge(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),a3={key:0,class:"mr-2"},l3={class:"mr-2 font-bold font-large text-lg line-clamp-1"},c3={key:1,class:"mr-2"},u3={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},d3={key:0,class:"flex -space-x-4 items-center"},f3={class:"group items-center flex flex-row"},h3=["onClick"],p3=["src","title"],g3=["onClick"],m3=ge(()=>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)),_3=[m3],b3={class:"mx-2 mb-4"},y3=ge(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),v3={class:"relative"},w3={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},x3={key:0},k3=ge(()=>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)),E3=[k3],C3={key:1},A3=ge(()=>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)),S3=[A3],T3={key:0,class:"mx-2 mb-4"},M3={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},O3=["selected"],R3={key:1,class:"mx-2 mb-4"},N3={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},D3=["selected"],L3={key:0,class:"mb-2"},I3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},P3=ge(()=>d("i",{"data-feather":"chevron-up"},null,-1)),F3=[P3],B3=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),$3=[B3],j3={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"},z3={class:"flex flex-row"},U3=ge(()=>d("i",{"data-feather":"chevron-right"},null,-1)),q3=[U3],H3=ge(()=>d("i",{"data-feather":"chevron-down"},null,-1)),V3=[H3],G3=ge(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),K3={class:"m-2"},W3={class:"flex flex-row gap-2 items-center"},Z3=ge(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),Y3={class:"m-2"},Q3=ge(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),J3={class:"m-2"},X3={class:"flex flex-col align-bottom"},e8={class:"relative"},t8=ge(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),n8={class:"absolute right-0"},s8={class:"m-2"},o8={class:"flex flex-col align-bottom"},r8={class:"relative"},i8=ge(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),a8={class:"absolute right-0"},l8={class:"m-2"},c8={class:"flex flex-col align-bottom"},u8={class:"relative"},d8=ge(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),f8={class:"absolute right-0"},h8={class:"m-2"},p8={class:"flex flex-col align-bottom"},g8={class:"relative"},m8=ge(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),_8={class:"absolute right-0"},b8={class:"m-2"},y8={class:"flex flex-col align-bottom"},v8={class:"relative"},w8=ge(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),x8={class:"absolute right-0"},k8={class:"m-2"},E8={class:"flex flex-col align-bottom"},C8={class:"relative"},A8=ge(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),S8={class:"absolute right-0"};function T8(t,e,n,s,o,r){const i=at("BindingEntry"),a=at("model-entry"),l=at("personality-entry"),c=at("YesNoDialog"),u=at("AddModelDialog"),f=at("MessageBox"),h=at("Toast"),g=at("UniversalForm");return S(),O(De,null,[d("div",s5,[d("div",o5,[o.showConfirmation?(S(),O("div",r5,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ue(p=>o.showConfirmation=!1,["stop"]))},a5),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ue(p=>r.save_configuration(),["stop"]))},c5)])):U("",!0),o.showConfirmation?U("",!0):(S(),O("div",u5,[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)},f5),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())},p5),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=ue(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},m5)])),d("div",_5,[d("div",b5,[o.settingsChanged?(S(),O("div",y5,[ve(" Apply changes: "),o.isLoading?U("",!0):(S(),O("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ue(p=>r.applyConfiguration(),["stop"]))},w5))])):U("",!0),o.isLoading?(S(),O("div",x5,C5)):U("",!0)])])]),d("div",{class:Te(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",A5,[d("div",S5,[d("button",{onClick:e[6]||(e[6]=ue(p=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[ye(d("div",null,M5,512),[[dt,o.sc_collapsed]]),ye(d("div",null,R5,512),[[dt,!o.sc_collapsed]]),N5,D5,d("div",L5,[d("div",I5,[d("div",null,[r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(S(),O("div",P5,[(S(!0),O(De,null,Qe(r.vramUsage.gpus,p=>(S(),O("div",F5,[(S(),O("svg",{title:p.gpu_model,"aria-hidden":"true",class:"w-10 h-10 fill-secondary",viewBox:"0 -3 82 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j5,8,B5)),d("h3",z5,[d("div",null,J(r.computedFileSize(p.used_vram))+" / "+J(r.computedFileSize(p.total_vram))+" ("+J(p.percentage)+"%) ",1)])]))),256))])):U("",!0),r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(S(),O("div",U5,[d("div",q5,[H5,d("h3",V5,[d("div",null,J(r.vramUsage.gpus.length)+"x ",1)])])])):U("",!0)]),G5,d("h3",K5,[d("div",null,J(r.ram_usage)+" / "+J(r.ram_total_space)+" ("+J(r.ram_percent_usage)+"%)",1)]),W5,d("h3",Z5,[d("div",null,J(r.disk_binding_models_usage)+" / "+J(r.disk_total_space)+" ("+J(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Te([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",Y5,[Q5,d("div",J5,[d("div",null,[X5,ve(J(r.ram_available_space),1)]),d("div",null,[e4,ve(" "+J(r.ram_usage)+" / "+J(r.ram_total_space)+" ("+J(r.ram_percent_usage)+")% ",1)])]),d("div",t4,[d("div",n4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",s4,[o4,d("div",r4,[d("div",null,[i4,ve(J(r.disk_available_space),1)]),d("div",null,[a4,ve(" "+J(r.disk_binding_models_usage)+" / "+J(r.disk_total_space)+" ("+J(r.disk_percent_usage)+"%)",1)])]),d("div",l4,[d("div",c4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(S(!0),O(De,null,Qe(r.vramUsage.gpus,p=>(S(),O("div",u4,[d4,d("div",f4,[d("div",null,[h4,ve(J(p.gpu_model),1)]),d("div",null,[p4,ve(J(this.computedFileSize(p.available_space)),1)]),d("div",null,[g4,ve(" "+J(this.computedFileSize(p.used_vram))+" / "+J(this.computedFileSize(p.total_vram))+" ("+J(p.percentage)+"%)",1)])]),d("div",m4,[d("div",_4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),d("div",b4,[d("div",y4,[d("button",{onClick:e[7]||(e[7]=ue(p=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[ye(d("div",null,w4,512),[[dt,o.bzc_collapsed]]),ye(d("div",null,k4,512),[[dt,!o.bzc_collapsed]]),E4,r.configFile.binding_name?U("",!0):(S(),O("div",C4,[A4,ve(" No binding selected! ")])),r.configFile.binding_name?(S(),O("div",S4,"|")):U("",!0),r.configFile.binding_name?(S(),O("div",T4,[d("div",M4,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,O4),d("h3",R4,J(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Te([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr.length>0?(S(),O("div",N4,[d("label",D4," Bindings: ("+J(r.bindingsArr.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"])},[Ae(zt,{name:"list"},{default:We(()=>[(S(!0),O(De,null,Qe(r.bindingsArr,(p,m)=>(S(),ot(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===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","selected"]))),128))]),_:1})],2)])):U("",!0),o.bzl_collapsed?(S(),O("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)},I4)):(S(),O("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)},F4))],2)]),d("div",B4,[d("div",$4,[d("button",{onClick:e[10]||(e[10]=ue(p=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[ye(d("div",null,z4,512),[[dt,o.mzc_collapsed]]),ye(d("div",null,q4,512),[[dt,!o.mzc_collapsed]]),H4,d("div",V4,[r.configFile.binding_name?U("",!0):(S(),O("div",G4,[K4,ve(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(S(),O("div",W4,[Z4,ve(" No model selected! ")])):U("",!0),r.configFile.model_name?(S(),O("div",Y4,"|")):U("",!0),r.configFile.model_name?(S(),O("div",Q4,[d("div",J4,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,X4),d("h3",eC,J(r.model_name),1)])])):U("",!0)])])]),d("div",{class:Te([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",tC,[d("form",null,[d("div",nC,[d("div",sC,[o.searchModelInProgress?(S(),O("div",oC,iC)):U("",!0),o.searchModelInProgress?U("",!0):(S(),O("div",aC,cC))]),ye(d("input",{type:"search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search models...",required:"","onUpdate:modelValue":e[11]||(e[11]=p=>o.searchModel=p),onKeyup:e[12]||(e[12]=ue((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[je,o.searchModel]]),o.searchModel?(S(),O("button",{key:0,onClick:e[13]||(e[13]=ue(p=>o.searchModel="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):U("",!0)])])]),o.searchModel?(S(),O("div",uC,[o.modelsFiltered.length>0?(S(),O("div",dC,[d("label",fC," Search results: ("+J(o.modelsFiltered.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"])},[Ae(zt,{name:"list"},{default:We(()=>[(S(!0),O(De,null,Qe(o.modelsFiltered,(p,m)=>(S(),ot(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===r.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):U("",!0)])):U("",!0),o.searchModel?U("",!0):(S(),O("div",hC,[r.models.length>0?(S(),O("div",pC,[d("label",gC," Models: ("+J(r.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"])},[Ae(zt,{name:"list"},{default:We(()=>[(S(!0),O(De,null,Qe(r.models,(p,m)=>(S(),ot(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===r.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):U("",!0)])),o.mzl_collapsed?(S(),O("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[14]||(e[14]=(...p)=>r.open_mzl&&r.open_mzl(...p))},_C)):(S(),O("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[15]||(e[15]=(...p)=>r.open_mzl&&r.open_mzl(...p))},yC))],2)]),d("div",vC,[d("div",wC,[d("button",{onClick:e[16]||(e[16]=ue(p=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[ye(d("div",null,kC,512),[[dt,o.mzdc_collapsed]]),ye(d("div",null,CC,512),[[dt,!o.mzdc_collapsed]]),AC,r.binding_name?U("",!0):(S(),O("div",SC,[TC,ve(" No binding selected! ")])),r.configFile.binding_name?(S(),O("div",MC,"|")):U("",!0),r.configFile.binding_name?(S(),O("div",OC,[d("div",RC,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,NC),d("h3",DC,J(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Te([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",LC,[d("div",IC,[o.modelDownlaodInProgress?U("",!0):(S(),O("div",PC,[d("div",FC,[BC,ye(d("input",{type:"text","onUpdate:modelValue":e[17]||(e[17]=p=>o.addModel.url=p),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[je,o.addModel.url]])]),d("button",{type:"button",onClick:e[18]||(e[18]=ue(p=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(S(),O("div",$C,[jC,d("div",zC,[d("div",UC,[d("div",qC,[HC,d("span",VC,J(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},J(o.addModel.url),9,GC),d("div",KC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt({width:o.addModel.progress+"%"})},null,4)]),d("div",WC,[d("span",ZC,"Download speed: "+J(r.speed_computed)+"/s",1),d("span",YC,J(r.downloaded_size_computed)+"/"+J(r.total_size_computed),1)])])]),d("div",QC,[d("div",JC,[d("div",XC,[d("button",{onClick:e[19]||(e[19]=ue((...p)=>r.onCancelInstall&&r.onCancelInstall(...p),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):U("",!0)])])],2)]),d("div",e3,[d("div",t3,[d("button",{onClick:e[21]||(e[21]=ue(p=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[ye(d("div",null,s3,512),[[dt,o.pzc_collapsed]]),ye(d("div",null,r3,512),[[dt,!o.pzc_collapsed]]),i3,r.configFile.personalities?(S(),O("div",a3,"|")):U("",!0),d("div",l3,J(r.active_pesonality),1),r.configFile.personalities?(S(),O("div",c3,"|")):U("",!0),r.configFile.personalities?(S(),O("div",u3,[r.mountedPersArr.length>0?(S(),O("div",d3,[(S(!0),O(De,null,Qe(r.mountedPersArr,(p,m)=>(S(),O("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",f3,[d("button",{onClick:ue(v=>r.onPersonalitySelected(p),["stop"])},[d("img",{src:o.bUrl+p.avatar,onError:e[20]||(e[20]=(...v)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...v)),class:Te(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,p3)],8,h3),d("button",{onClick:ue(v=>r.onPersonalityMounted(p),["stop"])},_3,8,g3)])]))),128))])):U("",!0)])):U("",!0)])]),d("div",{class:Te([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",b3,[d("form",null,[y3,d("div",v3,[d("div",w3,[o.searchPersonalityInProgress?(S(),O("div",x3,E3)):U("",!0),o.searchPersonalityInProgress?U("",!0):(S(),O("div",C3,S3))]),ye(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[22]||(e[22]=p=>o.searchPersonality=p),onKeyup:e[23]||(e[23]=ue((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[je,o.searchPersonality]]),o.searchPersonality?(S(),O("button",{key:0,onClick:e[24]||(e[24]=ue(p=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):U("",!0)])])]),o.searchPersonality?U("",!0):(S(),O("div",T3,[d("label",M3," Personalities Languages: ("+J(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[25]||(e[25]=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"},[(S(!0),O(De,null,Qe(o.persLangArr,p=>(S(),O("option",{selected:p===this.configFile.personality_language},J(p),9,O3))),256))],32)])),o.searchPersonality?U("",!0):(S(),O("div",R3,[d("label",N3," Personalities Category: ("+J(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[26]||(e[26]=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"},[(S(!0),O(De,null,Qe(o.persCatgArr,(p,m)=>(S(),O("option",{key:m,selected:p==this.configFile.personality_category},J(p),9,D3))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(S(),O("div",L3,[d("label",I3,J(o.searchPersonality?"Search results":"Personalities")+": ("+J(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"])},[Ae(zt,{name:"bounce"},{default:We(()=>[(S(!0),O(De,null,Qe(o.personalitiesFiltered,(p,m)=>(S(),ot(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+p.name,personality:p,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(v=>v===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-reinstall":"onPersonalityReinstall","on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):U("",!0)]),o.pzl_collapsed?(S(),O("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[27]||(e[27]=p=>o.pzl_collapsed=!o.pzl_collapsed)},F3)):(S(),O("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[28]||(e[28]=p=>o.pzl_collapsed=!o.pzl_collapsed)},$3))],2)]),d("div",j3,[d("div",z3,[d("button",{onClick:e[29]||(e[29]=ue(p=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[ye(d("div",null,q3,512),[[dt,o.mc_collapsed]]),ye(d("div",null,V3,512),[[dt,!o.mc_collapsed]]),G3])]),d("div",{class:Te([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",K3,[d("div",W3,[ye(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[30]||(e[30]=ue(()=>{},["stop"])),"onUpdate:modelValue":e[31]||(e[31]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[32]||(e[32]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[_n,r.configFile.override_personality_model_parameters]]),Z3])]),d("div",{class:Te(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",Y3,[Q3,ye(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[33]||(e[33]=p=>r.configFile.seed=p),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,r.configFile.seed]])]),d("div",J3,[d("div",X3,[d("div",e8,[t8,d("p",n8,[ye(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[34]||(e[34]=p=>r.configFile.temperature=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,r.configFile.temperature]])])]),ye(d("input",{id:"temperature",onChange:e[35]||(e[35]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[36]||(e[36]=p=>r.configFile.temperature=p),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,r.configFile.temperature]])])]),d("div",s8,[d("div",o8,[d("div",r8,[i8,d("p",a8,[ye(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[37]||(e[37]=p=>r.configFile.n_predict=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,r.configFile.n_predict]])])]),ye(d("input",{id:"predict",onChange:e[38]||(e[38]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[39]||(e[39]=p=>r.configFile.n_predict=p),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,r.configFile.n_predict]])])]),d("div",l8,[d("div",c8,[d("div",u8,[d8,d("p",f8,[ye(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[40]||(e[40]=p=>r.configFile.top_k=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,r.configFile.top_k]])])]),ye(d("input",{id:"top_k",onChange:e[41]||(e[41]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[42]||(e[42]=p=>r.configFile.top_k=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,r.configFile.top_k]])])]),d("div",h8,[d("div",p8,[d("div",g8,[m8,d("p",_8,[ye(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[43]||(e[43]=p=>r.configFile.top_p=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,r.configFile.top_p]])])]),ye(d("input",{id:"top_p",onChange:e[44]||(e[44]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[45]||(e[45]=p=>r.configFile.top_p=p),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,r.configFile.top_p]])])]),d("div",b8,[d("div",y8,[d("div",v8,[w8,d("p",x8,[ye(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[46]||(e[46]=p=>r.configFile.repeat_penalty=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,r.configFile.repeat_penalty]])])]),ye(d("input",{id:"repeat_penalty",onChange:e[47]||(e[47]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[48]||(e[48]=p=>r.configFile.repeat_penalty=p),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,r.configFile.repeat_penalty]])])]),d("div",k8,[d("div",E8,[d("div",C8,[A8,d("p",S8,[ye(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[49]||(e[49]=p=>r.configFile.repeat_last_n=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[je,r.configFile.repeat_last_n]])])]),ye(d("input",{id:"repeat_last_n",onChange:e[50]||(e[50]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[51]||(e[51]=p=>r.configFile.repeat_last_n=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[je,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ae(c,{ref:"yesNoDialog",class:"z-20"},null,512),Ae(u,{ref:"addmodeldialog"},null,512),Ae(f,{ref:"messageBox"},null,512),Ae(h,{ref:"toast"},null,512),Ae(g,{ref:"universalForm",class:"z-20"},null,512)],64)}const M8=Ge(n5,[["render",T8],["__scopeId","data-v-8059edcb"]]),O8={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)}}},R8={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"},N8={class:"mb-4"},D8=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),L8={class:"mb-4"},I8=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),P8={class:"mb-4"},F8=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),B8={class:"mt-2 text-xs"},$8={class:"mb-4"},j8=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),z8={class:"mb-4"},U8=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),q8={class:"mb-4"},H8=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),V8={class:"mb-4"},G8=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),K8={class:"mb-4"},W8=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),Z8=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function Y8(t,e,n,s,o,r){return S(),O("div",R8,[d("form",{onSubmit:e[10]||(e[10]=ue((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",N8,[D8,ye(d("input",{type:"text",id:"model_name","onUpdate:modelValue":e[0]||(e[0]=i=>o.model_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.model_name]])]),d("div",L8,[I8,ye(d("input",{type:"text",id:"tokenizer_name","onUpdate:modelValue":e[1]||(e[1]=i=>o.tokenizer_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.tokenizer_name]])]),d("div",P8,[F8,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",B8,"Selected File: "+J(o.selectedDatasetPath),1)]),d("div",$8,[j8,ye(d("input",{type:"number",id:"max_length","onUpdate:modelValue":e[3]||(e[3]=i=>o.max_length=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.max_length,void 0,{number:!0}]])]),d("div",z8,[U8,ye(d("input",{type:"number",id:"batch_size","onUpdate:modelValue":e[4]||(e[4]=i=>o.batch_size=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.batch_size,void 0,{number:!0}]])]),d("div",q8,[H8,ye(d("input",{type:"number",id:"lr","onUpdate:modelValue":e[5]||(e[5]=i=>o.lr=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.lr,void 0,{number:!0}]])]),d("div",V8,[G8,ye(d("input",{type:"number",id:"num_epochs","onUpdate:modelValue":e[6]||(e[6]=i=>o.num_epochs=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.num_epochs,void 0,{number:!0}]])]),d("div",K8,[W8,ye(d("input",{type:"text",id:"output_dir","onUpdate:modelValue":e[7]||(e[7]=i=>o.selectedFolder=i),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded",placeholder:"Enter or select the output folder"},null,512),[[je,o.selectedFolder]]),d("input",{type:"file",id:"folder_selector",ref:"folder_selector",style:{display:"none"},webkitdirectory:"",onChange:e[8]||(e[8]=(...i)=>r.selectOutputDirectory&&r.selectOutputDirectory(...i))},null,544),d("button",{type:"button",onClick:e[9]||(e[9]=(...i)=>r.openFolderSelector&&r.openFolderSelector(...i)),class:"bg-blue-500 text-white px-4 py-2 rounded"},"Select Folder")]),Z8],32)])}const Q8=Ge(O8,[["render",Y8]]),J8={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,me(()=>{xe.replace()})},watch:{showConfirmation(){me(()=>{xe.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&me(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},X8=["id"],e9={class:"flex flex-row items-center gap-2"},t9={key:0},n9=["title"],s9=["value"],o9={class:"flex items-center flex-1 max-h-6"},r9={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},i9=d("i",{"data-feather":"check"},null,-1),a9=[i9],l9=d("i",{"data-feather":"x"},null,-1),c9=[l9],u9={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},d9=d("i",{"data-feather":"x"},null,-1),f9=[d9],h9=d("i",{"data-feather":"check"},null,-1),p9=[h9],g9={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},m9=d("i",{"data-feather":"edit-2"},null,-1),_9=[m9],b9=d("i",{"data-feather":"trash"},null,-1),y9=[b9];function v9(t,e,n,s,o,r){return S(),O("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]=ue(i=>r.selectEvent(),["stop"]))},[d("div",e9,[n.isCheckbox?(S(),O("div",t9,[ye(d("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ue(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=i=>o.checkBoxValue_local=i),onInput:e[2]||(e[2]=i=>r.checkedChangeEvent(i,n.id))},null,544),[[_n,o.checkBoxValue_local]])])):U("",!0),n.selected?(S(),O("div",{key:1,class:Te(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):U("",!0),n.selected?U("",!0):(S(),O("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?U("",!0):(S(),O("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},J(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,n9)),o.editTitle?(S(),O("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]=Wa(ue(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Wa(ue(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ue(()=>{},["stop"]))},null,40,s9)):U("",!0),d("div",o9,[o.showConfirmation&&!o.editTitleMode?(S(),O("div",r9,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(i=>r.deleteEvent(),["stop"]))},a9),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ue(i=>o.showConfirmation=!1,["stop"]))},c9)])):U("",!0),o.showConfirmation&&o.editTitleMode?(S(),O("div",u9,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=ue(i=>o.editTitleMode=!1,["stop"]))},f9),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ue(i=>r.editTitleEvent(),["stop"]))},p9)])):U("",!0),o.showConfirmation?U("",!0):(S(),O("div",g9,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ue(i=>o.editTitleMode=!0,["stop"]))},_9),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ue(i=>o.showConfirmation=!0,["stop"]))},y9)]))])],10,X8)}const eg=Ge(J8,[["render",v9]]);var ze={};const w9="Á",x9="á",k9="Ă",E9="ă",C9="∾",A9="∿",S9="∾̳",T9="Â",M9="â",O9="´",R9="А",N9="а",D9="Æ",L9="æ",I9="",P9="𝔄",F9="𝔞",B9="À",$9="à",j9="ℵ",z9="ℵ",U9="Α",q9="α",H9="Ā",V9="ā",G9="⨿",K9="&",W9="&",Z9="⩕",Y9="⩓",Q9="∧",J9="⩜",X9="⩘",eA="⩚",tA="∠",nA="⦤",sA="∠",oA="⦨",rA="⦩",iA="⦪",aA="⦫",lA="⦬",cA="⦭",uA="⦮",dA="⦯",fA="∡",hA="∟",pA="⊾",gA="⦝",mA="∢",_A="Å",bA="⍼",yA="Ą",vA="ą",wA="𝔸",xA="𝕒",kA="⩯",EA="≈",CA="⩰",AA="≊",SA="≋",TA="'",MA="",OA="≈",RA="≊",NA="Å",DA="å",LA="𝒜",IA="𝒶",PA="≔",FA="*",BA="≈",$A="≍",jA="Ã",zA="ã",UA="Ä",qA="ä",HA="∳",VA="⨑",GA="≌",KA="϶",WA="",ZA="∽",YA="⋍",QA="",JA="⫧",XA="⊽",eS="⌅",tS="⌆",nS="⌅",sS="⎵",oS="⎶",rS="≌",iS="Б",aS="б",lS="„",cS="∵",uS="∵",dS="∵",fS="⦰",hS="϶",pS="",gS="",mS="Β",_S="β",bS="ℶ",yS="≬",vS="𝔅",wS="𝔟",xS="⋂",kS="◯",ES="",CS="⨀",AS="⨁",SS="⨂",TS="⨆",MS="★",OS="▽",RS="△",NS="⨄",DS="",LS="⋀",IS="⤍",PS="⧫",FS="▪",BS="▴",$S="▾",jS="◂",zS="▸",US="␣",qS="▒",HS="░",VS="▓",GS="█",KS="=⃥",WS="≡⃥",ZS="⫭",YS="⌐",QS="𝔹",JS="𝕓",XS="⊥",e6="⊥",t6="⋈",n6="⧉",s6="┐",o6="╕",r6="╖",i6="╗",a6="┌",l6="╒",c6="╓",u6="╔",d6="─",f6="═",h6="┬",p6="╤",g6="╥",m6="╦",_6="┴",b6="╧",y6="╨",v6="╩",w6="⊟",x6="⊞",k6="⊠",E6="┘",C6="╛",A6="╜",S6="╝",T6="└",M6="╘",O6="╙",R6="╚",N6="│",D6="║",L6="┼",I6="╪",P6="╫",F6="╬",B6="┤",$6="╡",j6="╢",z6="╣",U6="├",q6="╞",H6="╟",V6="╠",G6="",K6="˘",W6="˘",Z6="¦",Y6="𝒷",Q6="",J6="⁏",X6="∽",eT="⋍",tT="⧅",nT="\\",sT="⟈",oT="•",rT="•",iT="≎",aT="⪮",lT="≏",cT="≎",uT="≏",dT="Ć",fT="ć",hT="⩄",pT="⩉",gT="⩋",mT="∩",_T="⋒",bT="⩇",yT="⩀",vT="",wT="∩︀",xT="",kT="ˇ",ET="",CT="⩍",AT="Č",ST="č",TT="Ç",MT="ç",OT="Ĉ",RT="ĉ",NT="∰",DT="⩌",LT="⩐",IT="Ċ",PT="ċ",FT="¸",BT="¸",$T="⦲",jT="¢",zT="·",UT="·",qT="𝔠",HT="",VT="Ч",GT="ч",KT="✓",WT="✓",ZT="Χ",YT="χ",QT="ˆ",JT="≗",XT="↺",e7="↻",t7="⊛",n7="⊚",s7="⊝",o7="⊙",r7="®",i7="Ⓢ",a7="⊖",l7="⊕",c7="⊗",u7="○",d7="⧃",f7="≗",h7="⨐",p7="⫯",g7="⧂",m7="∲",_7="”",b7="",y7="♣",v7="♣",w7=":",x7="∷",k7="⩴",E7="≔",C7="≔",A7=",",S7="@",T7="∁",M7="∘",O7="∁",R7="",N7="≅",D7="⩭",L7="≡",I7="∮",P7="∯",F7="∮",B7="𝕔",$7="",j7="∐",z7="∐",U7="©",q7="©",H7="℗",V7="∳",G7="↵",K7="✗",W7="",Z7="𝒞",Y7="𝒸",Q7="⫏",J7="⫑",X7="⫐",eM="⫒",tM="⋯",nM="⤸",sM="⤵",oM="⋞",rM="⋟",iM="↶",aM="⤽",lM="⩈",cM="⩆",uM="≍",dM="",fM="⋓",hM="⩊",pM="⊍",gM="⩅",mM="",_M="↷",bM="⤼",yM="⋞",vM="⋟",wM="⋎",xM="⋏",kM="¤",EM="↶",CM="↷",AM="⋎",SM="⋏",TM="∲",MM="∱",OM="⌭",RM="†",NM="‡",DM="ℸ",LM="↓",IM="↡",PM="⇓",FM="",BM="⫤",$M="⊣",jM="⤏",zM="˝",UM="Ď",qM="ď",HM="Д",VM="д",GM="‡",KM="⇊",WM="",ZM="",YM="⤑",QM="⩷",JM="°",XM="∇",eO="Δ",tO="δ",nO="⦱",sO="⥿",oO="𝔇",rO="𝔡",iO="⥥",aO="⇃",lO="⇂",cO="´",uO="˙",dO="˝",fO="`",hO="˜",pO="",gO="",mO="",_O="",bO="",yO="¨",vO="",wO="ϝ",xO="",kO="÷",EO="÷",CO="",AO="",SO="Ђ",TO="ђ",MO="",OO="",RO="$",NO="𝔻",DO="𝕕",LO="¨",IO="˙",PO="",FO="",BO="",$O="",jO="",zO="",UO="",qO="",HO="",VO="¨",GO="",KO="",WO="",ZO="",YO="",QO="",JO="",XO="",eR="",tR="",nR="",sR="",oR="",rR="",iR="",aR="",lR="",cR="̑",uR="",dR="",fR="",hR="",pR="",gR="",mR="",_R="",bR="",yR="",vR="",wR="",xR="",kR="",ER="",CR="𝒟",AR="𝒹",SR="Ѕ",TR="ѕ",MR="",OR="Đ",RR="đ",NR="",DR="",LR="",IR="",PR="",FR="",BR="Џ",$R="џ",jR="",zR="É",UR="é",qR="",HR="Ě",VR="ě",GR="Ê",KR="ê",WR="",ZR="",YR="Э",QR="э",JR="",XR="Ė",eN="ė",tN="",nN="",sN="",oN="𝔈",rN="𝔢",iN="",aN="È",lN="è",cN="",uN="",dN="",fN="",hN="",pN="",gN="",mN="",_N="Ē",bN="ē",yN="",vN="",wN="",xN="",kN="",EN="",CN="",AN="",SN="Ŋ",TN="ŋ",MN="",ON="Ę",RN="ę",NN="𝔼",DN="𝕖",LN="",IN="",PN="",FN="ε",BN="Ε",$N="ε",jN="ϵ",zN="",UN="",qN="",HN="",VN="",GN="",KN="=",WN="",ZN="",YN="",QN="",JN="",XN="",eD="",tD="",nD="",sD="",oD="",rD="",iD="",aD="Η",lD="η",cD="Ð",uD="ð",dD="Ë",fD="ë",hD="",pD="!",gD="",mD="",_D="",bD="",yD="",vD="",wD="Ф",xD="ф",kD="",ED="",CD="",AD="",SD="𝔉",TD="𝔣",MD="",OD="",RD="",ND="fj",DD="",LD="",ID="",PD="ƒ",FD="𝔽",BD="𝕗",$D="",jD="",zD="",UD="",qD="",HD="",VD="½",GD="",KD="¼",WD="",ZD="",YD="",QD="",JD="",XD="¾",eL="",tL="",nL="",sL="",oL="",rL="",iL="",aL="",lL="𝒻",cL="",uL="ǵ",dL="Γ",fL="γ",hL="Ϝ",pL="ϝ",gL="",mL="Ğ",_L="ğ",bL="Ģ",yL="Ĝ",vL="ĝ",wL="Г",xL="г",kL="Ġ",EL="ġ",CL="",AL="",SL="",TL="",ML="",OL="",RL="",NL="",DL="",LL="",IL="",PL="",FL="",BL="",$L="𝔊",jL="𝔤",zL="",UL="",qL="",HL="",VL="Ѓ",GL="ѓ",KL="",WL="",ZL="",YL="",QL="",JL="",XL="",eI="",tI="",nI="",sI="",oI="𝔾",rI="𝕘",iI="`",aI="≥",lI="⋛",cI="≧",uI="⪢",dI="≷",fI="⩾",hI="≳",pI="𝒢",gI="",mI="≳",_I="⪎",bI="⪐",yI="⪧",vI="⩺",wI=">",xI=">",kI="≫",EI="⋗",CI="⦕",AI="⩼",SI="⪆",TI="⥸",MI="⋗",OI="⋛",RI="⪌",NI="≷",DI="≳",LI="≩︀",II="≩︀",PI="ˇ",FI="",BI="½",$I="",jI="Ъ",zI="ъ",UI="⥈",qI="↔",HI="⇔",VI="↭",GI="^",KI="ℏ",WI="Ĥ",ZI="ĥ",YI="♥",QI="♥",JI="…",XI="⊹",eP="𝔥",tP="",nP="",sP="⤥",oP="⤦",rP="⇿",iP="∻",aP="↩",lP="↪",cP="𝕙",uP="",dP="―",fP="─",hP="𝒽",pP="",gP="ℏ",mP="Ħ",_P="ħ",bP="≎",yP="≏",vP="",wP="",xP="Í",kP="í",EP="",CP="Î",AP="î",SP="И",TP="и",MP="İ",OP="Е",RP="е",NP="¡",DP="⇔",LP="𝔦",IP="",PP="Ì",FP="ì",BP="",$P="⨌",jP="∭",zP="⧜",UP="℩",qP="IJ",HP="ij",VP="Ī",GP="ī",KP="",WP="",ZP="",YP="",QP="ı",JP="",XP="⊷",eF="Ƶ",tF="⇒",nF="℅",sF="∞",oF="⧝",rF="ı",iF="⊺",aF="∫",lF="∬",cF="",uF="∫",dF="⊺",fF="⋂",hF="⨗",pF="⨼",gF="",mF="",_F="Ё",bF="ё",yF="Į",vF="į",wF="𝕀",xF="𝕚",kF="Ι",EF="ι",CF="⨼",AF="¿",SF="𝒾",TF="",MF="∈",OF="⋵",RF="⋹",NF="⋴",DF="⋳",LF="∈",IF="",PF="Ĩ",FF="ĩ",BF="І",$F="і",jF="Ï",zF="ï",UF="Ĵ",qF="ĵ",HF="Й",VF="й",GF="𝔍",KF="𝔧",WF="ȷ",ZF="𝕁",YF="𝕛",QF="𝒥",JF="𝒿",XF="Ј",eB="ј",tB="Є",nB="є",sB="Κ",oB="κ",rB="ϰ",iB="Ķ",aB="ķ",lB="К",cB="к",uB="𝔎",dB="𝔨",fB="ĸ",hB="Х",pB="х",gB="Ќ",mB="ќ",_B="𝕂",bB="𝕜",yB="𝒦",vB="𝓀",wB="⇚",xB="Ĺ",kB="ĺ",EB="⦴",CB="",AB="Λ",SB="λ",TB="⟨",MB="⟪",OB="⦑",RB="⟨",NB="⪅",DB="",LB="«",IB="⇤",PB="⤟",FB="←",BB="↞",$B="⇐",jB="⤝",zB="↩",UB="↫",qB="⤹",HB="⥳",VB="↢",GB="⤙",KB="⤛",WB="⪫",ZB="⪭",YB="⪭︀",QB="⤌",JB="⤎",XB="",e$="{",t$="[",n$="⦋",s$="⦏",o$="⦍",r$="Ľ",i$="ľ",a$="Ļ",l$="ļ",c$="⌈",u$="{",d$="Л",f$="л",h$="⤶",p$="“",g$="„",m$="⥧",_$="⥋",b$="↲",y$="≤",v$="≦",w$="⟨",x$="⇤",k$="←",E$="←",C$="⇐",A$="⇆",S$="↢",T$="⌈",M$="⟦",O$="⥡",R$="⥙",N$="⇃",D$="⌊",L$="↽",I$="↼",P$="⇇",F$="↔",B$="↔",$$="⇔",j$="⇆",z$="⇋",U$="↭",q$="⥎",H$="↤",V$="⊣",G$="⥚",K$="⋋",W$="⧏",Z$="⊲",Y$="⊴",Q$="⥑",J$="⥠",X$="⥘",ej="↿",tj="⥒",nj="↼",sj="⪋",oj="⋚",rj="≤",ij="≦",aj="⩽",lj="⪨",cj="⩽",uj="⩿",dj="⪁",fj="⪃",hj="⋚︀",pj="⪓",gj="⪅",mj="⋖",_j="⋚",bj="⪋",yj="⋚",vj="≦",wj="≶",xj="≶",kj="⪡",Ej="≲",Cj="⩽",Aj="≲",Sj="⥼",Tj="⌊",Mj="𝔏",Oj="𝔩",Rj="≶",Nj="⪑",Dj="⥢",Lj="↽",Ij="↼",Pj="⥪",Fj="▄",Bj="Љ",$j="љ",jj="⇇",zj="≪",Uj="⋘",qj="⌞",Hj="⇚",Vj="⥫",Gj="◺",Kj="Ŀ",Wj="ŀ",Zj="⎰",Yj="⎰",Qj="⪉",Jj="⪉",Xj="⪇",ez="≨",tz="⪇",nz="≨",sz="⋦",oz="⟬",rz="⇽",iz="⟦",az="⟵",lz="⟵",cz="⟸",uz="⟷",dz="⟷",fz="⟺",hz="⟼",pz="⟶",gz="⟶",mz="⟹",_z="↫",bz="↬",yz="⦅",vz="𝕃",wz="𝕝",xz="⨭",kz="⨴",Ez="",Cz="_",Az="↙",Sz="↘",Tz="◊",Mz="◊",Oz="⧫",Rz="(",Nz="⦓",Dz="⇆",Lz="⌟",Iz="⇋",Pz="⥭",Fz="",Bz="⊿",$z="",jz="𝓁",zz="",Uz="↰",qz="↰",Hz="≲",Vz="⪍",Gz="⪏",Kz="[",Wz="",Zz="",Yz="Ł",Qz="ł",Jz="⪦",Xz="⩹",eU="<",tU="<",nU="≪",sU="⋖",oU="⋋",rU="⋉",iU="⥶",aU="⩻",lU="◃",cU="⊴",uU="◂",dU="⦖",fU="⥊",hU="⥦",pU="≨︀",gU="≨︀",mU="¯",_U="♂",bU="✠",yU="✠",vU="↦",wU="↦",xU="↧",kU="↤",EU="↥",CU="▮",AU="⨩",SU="М",TU="м",MU="—",OU="∺",RU="∡",NU="",DU="",LU="𝔐",IU="𝔪",PU="℧",FU="µ",BU="*",$U="⫰",jU="",zU="·",UU="⊟",qU="",HU="∸",VU="⨪",GU="∓",KU="⫛",WU="…",ZU="∓",YU="⊧",QU="𝕄",JU="𝕞",XU="∓",eq="𝓂",tq="",nq="∾",sq="Μ",oq="μ",rq="⊸",iq="⊸",aq="∇",lq="Ń",cq="ń",uq="∠⃒",dq="≉",fq="⩰̸",hq="≋̸",pq="ʼn",gq="≉",mq="♮",_q="",bq="♮",yq=" ",vq="≎̸",wq="≏̸",xq="⩃",kq="Ň",Eq="ň",Cq="Ņ",Aq="ņ",Sq="≇",Tq="⩭̸",Mq="⩂",Oq="Н",Rq="н",Nq="",Dq="⤤",Lq="↗",Iq="⇗",Pq="↗",Fq="≠",Bq="≐̸",$q="",jq="",zq="",Uq="",qq="≢",Hq="⤨",Vq="≂̸",Gq="≫",Kq="≪",Wq=`
`,Zq="∄",Yq="∄",Qq="𝔑",Jq="𝔫",Xq="≧̸",eH="≱",tH="≱",nH="≧̸",sH="⩾̸",oH="⩾̸",rH="⋙̸",iH="≵",aH="≫⃒",lH="≯",cH="≯",uH="≫̸",dH="↮",fH="⇎",hH="⫲",pH="∋",gH="⋼",mH="⋺",_H="∋",bH="Њ",yH="њ",vH="↚",wH="⇍",xH="‥",kH="≦̸",EH="≰",CH="↚",AH="⇍",SH="↮",TH="⇎",MH="≰",OH="≦̸",RH="⩽̸",NH="⩽̸",DH="≮",LH="⋘̸",IH="≴",PH="≪⃒",FH="≮",BH="⋪",$H="⋬",jH="≪̸",zH="∤",UH="",qH=" ",HH="𝕟",VH="",GH="⫬",KH="¬",WH="≢",ZH="≭",YH="∦",QH="∉",JH="≠",XH="≂̸",eV="∄",tV="≯",nV="≱",sV="≧̸",oV="≫̸",rV="≹",iV="⩾̸",aV="≵",lV="≎̸",cV="≏̸",uV="∉",dV="⋵̸",fV="⋹̸",hV="∉",pV="⋷",gV="⋶",mV="⧏̸",_V="⋪",bV="⋬",yV="≮",vV="≰",wV="≸",xV="≪̸",kV="⩽̸",EV="≴",CV="⪢̸",AV="⪡̸",SV="∌",TV="∌",MV="⋾",OV="⋽",RV="⊀",NV="⪯̸",DV="⋠",LV="∌",IV="⧐̸",PV="⋫",FV="⋭",BV="⊏̸",$V="⋢",jV="⊐̸",zV="⋣",UV="⊂⃒",qV="⊈",HV="⊁",VV="⪰̸",GV="⋡",KV="≿̸",WV="⊃⃒",ZV="⊉",YV="≁",QV="≄",JV="≇",XV="≉",eG="∤",tG="∦",nG="∦",sG="⫽⃥",oG="∂̸",rG="⨔",iG="⊀",aG="⋠",lG="⊀",cG="⪯̸",uG="⪯̸",dG="⤳̸",fG="↛",hG="⇏",pG="↝̸",gG="↛",mG="⇏",_G="⋫",bG="⋭",yG="⊁",vG="⋡",wG="⪰̸",xG="𝒩",kG="𝓃",EG="∤",CG="∦",AG="≁",SG="≄",TG="≄",MG="∤",OG="∦",RG="⋢",NG="⋣",DG="⊄",LG="⫅̸",IG="⊈",PG="⊂⃒",FG="⊈",BG="⫅̸",$G="⊁",jG="⪰̸",zG="⊅",UG="⫆̸",qG="⊉",HG="⊃⃒",VG="⊉",GG="⫆̸",KG="≹",WG="Ñ",ZG="ñ",YG="≸",QG="⋪",JG="⋬",XG="⋫",eK="⋭",tK="Ν",nK="ν",sK="#",oK="№",rK="",iK="≍⃒",aK="⊬",lK="⊭",cK="⊮",uK="⊯",dK="≥⃒",fK=">⃒",hK="⤄",pK="⧞",gK="⤂",mK="≤⃒",_K="<⃒",bK="⊴⃒",yK="⤃",vK="⊵⃒",wK="∼⃒",xK="⤣",kK="↖",EK="⇖",CK="↖",AK="⤧",SK="Ó",TK="ó",MK="⊛",OK="Ô",RK="ô",NK="⊚",DK="О",LK="о",IK="⊝",PK="Ő",FK="ő",BK="⨸",$K="⊙",jK="⦼",zK="Œ",UK="œ",qK="⦿",HK="𝔒",VK="𝔬",GK="˛",KK="Ò",WK="ò",ZK="⧁",YK="⦵",QK="Ω",JK="∮",XK="↺",eW="⦾",tW="⦻",nW="‾",sW="⧀",oW="Ō",rW="ō",iW="Ω",aW="ω",lW="Ο",cW="ο",uW="⦶",dW="⊖",fW="𝕆",hW="𝕠",pW="⦷",gW="“",mW="",_W="⦹",bW="⊕",yW="↻",vW="⩔",wW="",xW="⩝",kW="",EW="",CW="ª",AW="º",SW="⊶",TW="⩖",MW="⩗",OW="⩛",RW="Ⓢ",NW="𝒪",DW="",LW="Ø",IW="ø",PW="⊘",FW="Õ",BW="õ",$W="⨶",jW="⨷",zW="⊗",UW="Ö",qW="ö",HW="⌽",VW="‾",GW="⏞",KW="⎴",WW="⏜",ZW="¶",YW="∥",QW="∥",JW="⫳",XW="⫽",eZ="∂",tZ="∂",nZ="П",sZ="п",oZ="%",rZ=".",iZ="‰",aZ="⊥",lZ="‱",cZ="𝔓",uZ="𝔭",dZ="Φ",fZ="φ",hZ="ϕ",pZ="",gZ="☎",mZ="Π",_Z="π",bZ="⋔",yZ="ϖ",vZ="ℏ",wZ="",xZ="ℏ",kZ="⨣",EZ="⊞",CZ="⨢",AZ="+",SZ="∔",TZ="⨥",MZ="⩲",OZ="±",RZ="±",NZ="⨦",DZ="⨧",LZ="±",IZ="",PZ="⨕",FZ="𝕡",BZ="",$Z="£",jZ="⪷",zZ="⪻",UZ="≺",qZ="≼",HZ="⪷",VZ="≺",GZ="≼",KZ="≺",WZ="⪯",ZZ="≼",YZ="≾",QZ="⪯",JZ="⪹",XZ="⪵",eY="⋨",tY="⪯",nY="⪳",sY="≾",oY="",rY="″",iY="",aY="⪹",lY="⪵",cY="⋨",uY="∏",dY="∏",fY="⌮",hY="⌒",pY="⌓",gY="∝",mY="∝",_Y="∷",bY="∝",yY="≾",vY="⊰",wY="𝒫",xY="𝓅",kY="Ψ",EY="ψ",CY="",AY="𝔔",SY="𝔮",TY="⨌",MY="𝕢",OY="",RY="⁗",NY="𝒬",DY="𝓆",LY="",IY="⨖",PY="?",FY="≟",BY='"',$Y='"',jY="⇛",zY="∽̱",UY="Ŕ",qY="ŕ",HY="√",VY="⦳",GY="⟩",KY="⟫",WY="⦒",ZY="⦥",YY="⟩",QY="»",JY="⥵",XY="⇥",eQ="⤠",tQ="⤳",nQ="→",sQ="↠",oQ="⇒",rQ="⤞",iQ="↪",aQ="↬",lQ="⥅",cQ="⥴",uQ="⤖",dQ="↣",fQ="↝",hQ="⤚",pQ="⤜",gQ="",mQ="",_Q="⤍",bQ="⤏",yQ="⤐",vQ="",wQ="}",xQ="]",kQ="⦌",EQ="⦎",CQ="⦐",AQ="Ř",SQ="ř",TQ="Ŗ",MQ="ŗ",OQ="⌉",RQ="}",NQ="Р",DQ="р",LQ="⤷",IQ="⥩",PQ="”",FQ="”",BQ="↳",$Q="",jQ="",zQ="",UQ="",qQ="",HQ="▭",VQ="®",GQ="®",KQ="∋",WQ="⇋",ZQ="⥯",YQ="⥽",QQ="⌋",JQ="𝔯",XQ="",eJ="⥤",tJ="⇁",nJ="⇀",sJ="⥬",oJ="Ρ",rJ="ρ",iJ="ϱ",aJ="⟩",lJ="⇥",cJ="→",uJ="→",dJ="⇒",fJ="⇄",hJ="↣",pJ="⌉",gJ="⟧",mJ="⥝",_J="⥕",bJ="⇂",yJ="⌋",vJ="⇁",wJ="⇀",xJ="⇄",kJ="⇌",EJ="⇉",CJ="↝",AJ="↦",SJ="⊢",TJ="⥛",MJ="⋌",OJ="⧐",RJ="⊳",NJ="⊵",DJ="⥏",LJ="⥜",IJ="⥔",PJ="↾",FJ="⥓",BJ="⇀",$J="˚",jJ="≓",zJ="⇄",UJ="⇌",qJ="",HJ="⎱",VJ="⎱",GJ="⫮",KJ="⟭",WJ="⇾",ZJ="⟧",YJ="⦆",QJ="𝕣",JJ="",XJ="⨮",eX="⨵",tX="⥰",nX=")",sX="⦔",oX="⨒",rX="⇉",iX="⇛",aX="",lX="𝓇",cX="",uX="↱",dX="↱",fX="]",hX="",pX="",gX="⋌",mX="⋊",_X="▹",bX="⊵",yX="▸",vX="⧎",wX="⧴",xX="⥨",kX="℞",EX="Ś",CX="ś",AX="",SX="⪸",TX="Š",MX="š",OX="⪼",RX="≻",NX="≽",DX="⪰",LX="⪴",IX="Ş",PX="ş",FX="Ŝ",BX="ŝ",$X="⪺",jX="⪶",zX="⋩",UX="⨓",qX="≿",HX="С",VX="с",GX="⊡",KX="⋅",WX="⩦",ZX="⤥",YX="↘",QX="⇘",JX="↘",XX="§",eee=";",tee="⤩",nee="",see="",oee="✶",ree="𝔖",iee="𝔰",aee="⌢",lee="♯",cee="Щ",uee="щ",dee="Ш",fee="ш",hee="↓",pee="←",gee="",mee="∥",_ee="→",bee="↑",yee="­",vee="Σ",wee="σ",xee="ς",kee="ς",Eee="",Cee="⩪",Aee="≃",See="≃",Tee="⪞",Mee="⪠",Oee="⪝",Ree="⪟",Nee="≆",Dee="⨤",Lee="⥲",Iee="←",Pee="∘",Fee="",Bee="⨳",$ee="⧤",jee="",zee="⌣",Uee="⪪",qee="⪬",Hee="⪬︀",Vee="Ь",Gee="ь",Kee="⌿",Wee="⧄",Zee="/",Yee="𝕊",Qee="𝕤",Jee="♠",Xee="♠",ete="∥",tte="⊓",nte="⊓︀",ste="⊔",ote="⊔︀",rte="√",ite="⊏",ate="⊑",lte="⊏",cte="⊑",ute="⊐",dte="⊒",fte="⊐",hte="⊒",pte="□",gte="□",mte="⊓",_te="⊏",bte="⊑",yte="⊐",vte="⊒",wte="⊔",xte="▪",kte="□",Ete="▪",Cte="→",Ate="𝒮",Ste="𝓈",Tte="",Mte="⌣",Ote="⋆",Rte="⋆",Nte="☆",Dte="★",Lte="ϵ",Ite="ϕ",Pte="¯",Fte="⊂",Bte="⋐",$te="⪽",jte="⫅",zte="⊆",Ute="⫃",qte="⫁",Hte="⫋",Vte="⊊",Gte="⪿",Kte="⥹",Wte="⊂",Zte="⋐",Yte="⊆",Qte="⫅",Jte="⊆",Xte="⊊",ene="⫋",tne="⫇",nne="⫕",sne="⫓",one="⪸",rne="≻",ine="≽",ane="≻",lne="⪰",cne="≽",une="≿",dne="⪰",fne="⪺",hne="⪶",pne="⋩",gne="≿",mne="∋",_ne="∑",bne="∑",yne="♪",vne="¹",wne="²",xne="³",kne="⊃",Ene="⋑",Cne="⪾",Ane="⫘",Sne="⫆",Tne="⊇",Mne="⫄",One="⊃",Rne="⊇",Nne="⟉",Dne="⫗",Lne="⥻",Ine="⫂",Pne="⫌",Fne="⊋",Bne="⫀",$ne="⊃",jne="⋑",zne="⊇",Une="⫆",qne="⊋",Hne="⫌",Vne="⫈",Gne="⫔",Kne="⫖",Wne="⤦",Zne="↙",Yne="⇙",Qne="↙",Jne="⤪",Xne="ß",ese=" ",tse="⌖",nse="Τ",sse="τ",ose="⎴",rse="Ť",ise="ť",ase="Ţ",lse="ţ",cse="Т",use="т",dse="⃛",fse="⌕",hse="𝔗",pse="𝔱",gse="∴",mse="∴",_se="∴",bse="Θ",yse="θ",vse="ϑ",wse="ϑ",xse="≈",kse="",Ese="",Cse="",Ase="",Sse="≈",Tse="",Mse="Þ",Ose="þ",Rse="˜",Nse="",Dse="≃",Lse="≅",Ise="≈",Pse="⨱",Fse="⊠",Bse="×",$se="⨰",jse="∭",zse="⤨",Use="⌶",qse="⫱",Hse="",Vse="𝕋",Gse="𝕥",Kse="⫚",Wse="⤩",Zse="‴",Yse="™",Qse="™",Jse="▵",Xse="▿",eoe="◃",toe="⊴",noe="≜",soe="▹",ooe="⊵",roe="◬",ioe="≜",aoe="⨺",loe="⃛",coe="⨹",uoe="⧍",doe="⨻",foe="⏢",hoe="𝒯",poe="𝓉",goe="Ц",moe="ц",_oe="Ћ",boe="ћ",yoe="Ŧ",voe="ŧ",woe="≬",xoe="↞",koe="↠",Eoe="Ú",Coe="ú",Aoe="↑",Soe="↟",Toe="⇑",Moe="⥉",Ooe="Ў",Roe="ў",Noe="Ŭ",Doe="ŭ",Loe="Û",Ioe="û",Poe="У",Foe="у",Boe="⇅",$oe="Ű",joe="ű",zoe="⥮",Uoe="⥾",qoe="𝔘",Hoe="𝔲",Voe="Ù",Goe="ù",Koe="⥣",Woe="↿",Zoe="↾",Yoe="▀",Qoe="⌜",Joe="⌜",Xoe="⌏",ere="◸",tre="Ū",nre="ū",sre="¨",ore="_",rre="⏟",ire="⎵",are="⏝",lre="",cre="⊎",ure="Ų",dre="ų",fre="𝕌",hre="𝕦",pre="⤒",gre="↑",mre="↑",_re="⇑",bre="⇅",yre="↕",vre="↕",wre="⇕",xre="⥮",kre="↿",Ere="↾",Cre="⊎",Are="↖",Sre="↗",Tre="υ",Mre="ϒ",Ore="ϒ",Rre="Υ",Nre="υ",Dre="↥",Lre="⊥",Ire="⇈",Pre="⌝",Fre="⌝",Bre="⌎",$re="Ů",jre="ů",zre="◹",Ure="𝒰",qre="𝓊",Hre="⋰",Vre="Ũ",Gre="ũ",Kre="▵",Wre="▴",Zre="⇈",Yre="Ü",Qre="ü",Jre="⦧",Xre="⦜",eie="ϵ",tie="ϰ",nie="∅",sie="ϕ",oie="ϖ",rie="∝",iie="↕",aie="⇕",lie="ϱ",cie="ς",uie="⊊︀",die="⫋︀",fie="⊋︀",hie="⫌︀",pie="ϑ",gie="⊲",mie="⊳",_ie="⫨",bie="⫫",yie="⫩",vie="В",wie="в",xie="⊢",kie="⊨",Eie="⊩",Cie="⊫",Aie="⫦",Sie="⊻",Tie="",Mie="",Oie="≚",Rie="⋮",Nie="|",Die="‖",Lie="|",Iie="‖",Pie="",Fie="|",Bie="❘",$ie="≀",jie="",zie="𝔙",Uie="𝔳",qie="⊲",Hie="⊂⃒",Vie="⊃⃒",Gie="𝕍",Kie="𝕧",Wie="∝",Zie="⊳",Yie="𝒱",Qie="𝓋",Jie="⫋︀",Xie="⊊︀",eae="⫌︀",tae="⊋︀",nae="⊪",sae="⦚",oae="Ŵ",rae="ŵ",iae="⩟",aae="∧",lae="⋀",cae="≙",uae="℘",dae="𝔚",fae="𝔴",hae="𝕎",pae="𝕨",gae="℘",mae="≀",_ae="≀",bae="𝒲",yae="𝓌",vae="⋂",wae="◯",xae="",kae="▽",Eae="𝔛",Cae="𝔵",Aae="⟷",Sae="⟺",Tae="Ξ",Mae="ξ",Oae="⟵",Rae="⟸",Nae="⟼",Dae="⋻",Lae="⨀",Iae="𝕏",Pae="𝕩",Fae="⨁",Bae="⨂",$ae="⟶",jae="⟹",zae="𝒳",Uae="𝓍",qae="⨆",Hae="⨄",Vae="△",Gae="",Kae="⋀",Wae="Ý",Zae="ý",Yae="Я",Qae="я",Jae="Ŷ",Xae="ŷ",ele="Ы",tle="ы",nle="¥",sle="𝔜",ole="𝔶",rle="Ї",ile="ї",ale="𝕐",lle="𝕪",cle="𝒴",ule="𝓎",dle="Ю",fle="ю",hle="ÿ",ple="Ÿ",gle="Ź",mle="ź",_le="Ž",ble="ž",yle="З",vle="з",wle="Ż",xle="ż",kle="",Ele="",Cle="Ζ",Ale="ζ",Sle="𝔷",Tle="",Mle="Ж",Ole="ж",Rle="⇝",Nle="𝕫",Dle="",Lle="𝒵",Ile="𝓏",Ple="",Fle="",Ble={Aacute:w9,aacute:x9,Abreve:k9,abreve:E9,ac:C9,acd:A9,acE:S9,Acirc:T9,acirc:M9,acute:O9,Acy:R9,acy:N9,AElig:D9,aelig:L9,af:I9,Afr:P9,afr:F9,Agrave:B9,agrave:$9,alefsym:j9,aleph:z9,Alpha:U9,alpha:q9,Amacr:H9,amacr:V9,amalg:G9,amp:K9,AMP:W9,andand:Z9,And:Y9,and:Q9,andd:J9,andslope:X9,andv:eA,ang:tA,ange:nA,angle:sA,angmsdaa:oA,angmsdab:rA,angmsdac:iA,angmsdad:aA,angmsdae:lA,angmsdaf:cA,angmsdag:uA,angmsdah:dA,angmsd:fA,angrt:hA,angrtvb:pA,angrtvbd:gA,angsph:mA,angst:_A,angzarr:bA,Aogon:yA,aogon:vA,Aopf:wA,aopf:xA,apacir:kA,ap:EA,apE:CA,ape:AA,apid:SA,apos:TA,ApplyFunction:MA,approx:OA,approxeq:RA,Aring:NA,aring:DA,Ascr:LA,ascr:IA,Assign:PA,ast:FA,asymp:BA,asympeq:$A,Atilde:jA,atilde:zA,Auml:UA,auml:qA,awconint:HA,awint:VA,backcong:GA,backepsilon:KA,backprime:WA,backsim:ZA,backsimeq:YA,Backslash:QA,Barv:JA,barvee:XA,barwed:eS,Barwed:tS,barwedge:nS,bbrk:sS,bbrktbrk:oS,bcong:rS,Bcy:iS,bcy:aS,bdquo:lS,becaus:cS,because:uS,Because:dS,bemptyv:fS,bepsi:hS,bernou:pS,Bernoullis:gS,Beta:mS,beta:_S,beth:bS,between:yS,Bfr:vS,bfr:wS,bigcap:xS,bigcirc:kS,bigcup:ES,bigodot:CS,bigoplus:AS,bigotimes:SS,bigsqcup:TS,bigstar:MS,bigtriangledown:OS,bigtriangleup:RS,biguplus:NS,bigvee:DS,bigwedge:LS,bkarow:IS,blacklozenge:PS,blacksquare:FS,blacktriangle:BS,blacktriangledown:$S,blacktriangleleft:jS,blacktriangleright:zS,blank:US,blk12:qS,blk14:HS,blk34:VS,block:GS,bne:KS,bnequiv:WS,bNot:ZS,bnot:YS,Bopf:QS,bopf:JS,bot:XS,bottom:e6,bowtie:t6,boxbox:n6,boxdl:s6,boxdL:o6,boxDl:r6,boxDL:i6,boxdr:a6,boxdR:l6,boxDr:c6,boxDR:u6,boxh:d6,boxH:f6,boxhd:h6,boxHd:p6,boxhD:g6,boxHD:m6,boxhu:_6,boxHu:b6,boxhU:y6,boxHU:v6,boxminus:w6,boxplus:x6,boxtimes:k6,boxul:E6,boxuL:C6,boxUl:A6,boxUL:S6,boxur:T6,boxuR:M6,boxUr:O6,boxUR:R6,boxv:N6,boxV:D6,boxvh:L6,boxvH:I6,boxVh:P6,boxVH:F6,boxvl:B6,boxvL:$6,boxVl:j6,boxVL:z6,boxvr:U6,boxvR:q6,boxVr:H6,boxVR:V6,bprime:G6,breve:K6,Breve:W6,brvbar:Z6,bscr:Y6,Bscr:Q6,bsemi:J6,bsim:X6,bsime:eT,bsolb:tT,bsol:nT,bsolhsub:sT,bull:oT,bullet:rT,bump:iT,bumpE:aT,bumpe:lT,Bumpeq:cT,bumpeq:uT,Cacute:dT,cacute:fT,capand:hT,capbrcup:pT,capcap:gT,cap:mT,Cap:_T,capcup:bT,capdot:yT,CapitalDifferentialD:vT,caps:wT,caret:xT,caron:kT,Cayleys:ET,ccaps:CT,Ccaron:AT,ccaron:ST,Ccedil:TT,ccedil:MT,Ccirc:OT,ccirc:RT,Cconint:NT,ccups:DT,ccupssm:LT,Cdot:IT,cdot:PT,cedil:FT,Cedilla:BT,cemptyv:$T,cent:jT,centerdot:zT,CenterDot:UT,cfr:qT,Cfr:HT,CHcy:VT,chcy:GT,check:KT,checkmark:WT,Chi:ZT,chi:YT,circ:QT,circeq:JT,circlearrowleft:XT,circlearrowright:e7,circledast:t7,circledcirc:n7,circleddash:s7,CircleDot:o7,circledR:r7,circledS:i7,CircleMinus:a7,CirclePlus:l7,CircleTimes:c7,cir:u7,cirE:d7,cire:f7,cirfnint:h7,cirmid:p7,cirscir:g7,ClockwiseContourIntegral:m7,CloseCurlyDoubleQuote:_7,CloseCurlyQuote:b7,clubs:y7,clubsuit:v7,colon:w7,Colon:x7,Colone:k7,colone:E7,coloneq:C7,comma:A7,commat:S7,comp:T7,compfn:M7,complement:O7,complexes:R7,cong:N7,congdot:D7,Congruent:L7,conint:I7,Conint:P7,ContourIntegral:F7,copf:B7,Copf:$7,coprod:j7,Coproduct:z7,copy:U7,COPY:q7,copysr:H7,CounterClockwiseContourIntegral:V7,crarr:G7,cross:K7,Cross:W7,Cscr:Z7,cscr:Y7,csub:Q7,csube:J7,csup:X7,csupe:eM,ctdot:tM,cudarrl:nM,cudarrr:sM,cuepr:oM,cuesc:rM,cularr:iM,cularrp:aM,cupbrcap:lM,cupcap:cM,CupCap:uM,cup:dM,Cup:fM,cupcup:hM,cupdot:pM,cupor:gM,cups:mM,curarr:_M,curarrm:bM,curlyeqprec:yM,curlyeqsucc:vM,curlyvee:wM,curlywedge:xM,curren:kM,curvearrowleft:EM,curvearrowright:CM,cuvee:AM,cuwed:SM,cwconint:TM,cwint:MM,cylcty:OM,dagger:RM,Dagger:NM,daleth:DM,darr:LM,Darr:IM,dArr:PM,dash:FM,Dashv:BM,dashv:$M,dbkarow:jM,dblac:zM,Dcaron:UM,dcaron:qM,Dcy:HM,dcy:VM,ddagger:GM,ddarr:KM,DD:WM,dd:ZM,DDotrahd:YM,ddotseq:QM,deg:JM,Del:XM,Delta:eO,delta:tO,demptyv:nO,dfisht:sO,Dfr:oO,dfr:rO,dHar:iO,dharl:aO,dharr:lO,DiacriticalAcute:cO,DiacriticalDot:uO,DiacriticalDoubleAcute:dO,DiacriticalGrave:fO,DiacriticalTilde:hO,diam:pO,diamond:gO,Diamond:mO,diamondsuit:_O,diams:bO,die:yO,DifferentialD:vO,digamma:wO,disin:xO,div:kO,divide:EO,divideontimes:CO,divonx:AO,DJcy:SO,djcy:TO,dlcorn:MO,dlcrop:OO,dollar:RO,Dopf:NO,dopf:DO,Dot:LO,dot:IO,DotDot:PO,doteq:FO,doteqdot:BO,DotEqual:$O,dotminus:jO,dotplus:zO,dotsquare:UO,doublebarwedge:qO,DoubleContourIntegral:HO,DoubleDot:VO,DoubleDownArrow:GO,DoubleLeftArrow:KO,DoubleLeftRightArrow:WO,DoubleLeftTee:ZO,DoubleLongLeftArrow:YO,DoubleLongLeftRightArrow:QO,DoubleLongRightArrow:JO,DoubleRightArrow:XO,DoubleRightTee:eR,DoubleUpArrow:tR,DoubleUpDownArrow:nR,DoubleVerticalBar:sR,DownArrowBar:oR,downarrow:rR,DownArrow:iR,Downarrow:aR,DownArrowUpArrow:lR,DownBreve:cR,downdownarrows:uR,downharpoonleft:dR,downharpoonright:fR,DownLeftRightVector:hR,DownLeftTeeVector:pR,DownLeftVectorBar:gR,DownLeftVector:mR,DownRightTeeVector:_R,DownRightVectorBar:bR,DownRightVector:yR,DownTeeArrow:vR,DownTee:wR,drbkarow:xR,drcorn:kR,drcrop:ER,Dscr:CR,dscr:AR,DScy:SR,dscy:TR,dsol:MR,Dstrok:OR,dstrok:RR,dtdot:NR,dtri:DR,dtrif:LR,duarr:IR,duhar:PR,dwangle:FR,DZcy:BR,dzcy:$R,dzigrarr:jR,Eacute:zR,eacute:UR,easter:qR,Ecaron:HR,ecaron:VR,Ecirc:GR,ecirc:KR,ecir:WR,ecolon:ZR,Ecy:YR,ecy:QR,eDDot:JR,Edot:XR,edot:eN,eDot:tN,ee:nN,efDot:sN,Efr:oN,efr:rN,eg:iN,Egrave:aN,egrave:lN,egs:cN,egsdot:uN,el:dN,Element:fN,elinters:hN,ell:pN,els:gN,elsdot:mN,Emacr:_N,emacr:bN,empty:yN,emptyset:vN,EmptySmallSquare:wN,emptyv:xN,EmptyVerySmallSquare:kN,emsp13:EN,emsp14:CN,emsp:AN,ENG:SN,eng:TN,ensp:MN,Eogon:ON,eogon:RN,Eopf:NN,eopf:DN,epar:LN,eparsl:IN,eplus:PN,epsi:FN,Epsilon:BN,epsilon:$N,epsiv:jN,eqcirc:zN,eqcolon:UN,eqsim:qN,eqslantgtr:HN,eqslantless:VN,Equal:GN,equals:KN,EqualTilde:WN,equest:ZN,Equilibrium:YN,equiv:QN,equivDD:JN,eqvparsl:XN,erarr:eD,erDot:tD,escr:nD,Escr:sD,esdot:oD,Esim:rD,esim:iD,Eta:aD,eta:lD,ETH:cD,eth:uD,Euml:dD,euml:fD,euro:hD,excl:pD,exist:gD,Exists:mD,expectation:_D,exponentiale:bD,ExponentialE:yD,fallingdotseq:vD,Fcy:wD,fcy:xD,female:kD,ffilig:ED,fflig:CD,ffllig:AD,Ffr:SD,ffr:TD,filig:MD,FilledSmallSquare:OD,FilledVerySmallSquare:RD,fjlig:ND,flat:DD,fllig:LD,fltns:ID,fnof:PD,Fopf:FD,fopf:BD,forall:$D,ForAll:jD,fork:zD,forkv:UD,Fouriertrf:qD,fpartint:HD,frac12:VD,frac13:GD,frac14:KD,frac15:WD,frac16:ZD,frac18:YD,frac23:QD,frac25:JD,frac34:XD,frac35:eL,frac38:tL,frac45:nL,frac56:sL,frac58:oL,frac78:rL,frasl:iL,frown:aL,fscr:lL,Fscr:cL,gacute:uL,Gamma:dL,gamma:fL,Gammad:hL,gammad:pL,gap:gL,Gbreve:mL,gbreve:_L,Gcedil:bL,Gcirc:yL,gcirc:vL,Gcy:wL,gcy:xL,Gdot:kL,gdot:EL,ge:CL,gE:AL,gEl:SL,gel:TL,geq:ML,geqq:OL,geqslant:RL,gescc:NL,ges:DL,gesdot:LL,gesdoto:IL,gesdotol:PL,gesl:FL,gesles:BL,Gfr:$L,gfr:jL,gg:zL,Gg:UL,ggg:qL,gimel:HL,GJcy:VL,gjcy:GL,gla:KL,gl:WL,glE:ZL,glj:YL,gnap:QL,gnapprox:JL,gne:XL,gnE:eI,gneq:tI,gneqq:nI,gnsim:sI,Gopf:oI,gopf:rI,grave:iI,GreaterEqual:aI,GreaterEqualLess:lI,GreaterFullEqual:cI,GreaterGreater:uI,GreaterLess:dI,GreaterSlantEqual:fI,GreaterTilde:hI,Gscr:pI,gscr:gI,gsim:mI,gsime:_I,gsiml:bI,gtcc:yI,gtcir:vI,gt:wI,GT:xI,Gt:kI,gtdot:EI,gtlPar:CI,gtquest:AI,gtrapprox:SI,gtrarr:TI,gtrdot:MI,gtreqless:OI,gtreqqless:RI,gtrless:NI,gtrsim:DI,gvertneqq:LI,gvnE:II,Hacek:PI,hairsp:FI,half:BI,hamilt:$I,HARDcy:jI,hardcy:zI,harrcir:UI,harr:qI,hArr:HI,harrw:VI,Hat:GI,hbar:KI,Hcirc:WI,hcirc:ZI,hearts:YI,heartsuit:QI,hellip:JI,hercon:XI,hfr:eP,Hfr:tP,HilbertSpace:nP,hksearow:sP,hkswarow:oP,hoarr:rP,homtht:iP,hookleftarrow:aP,hookrightarrow:lP,hopf:cP,Hopf:uP,horbar:dP,HorizontalLine:fP,hscr:hP,Hscr:pP,hslash:gP,Hstrok:mP,hstrok:_P,HumpDownHump:bP,HumpEqual:yP,hybull:vP,hyphen:wP,Iacute:xP,iacute:kP,ic:EP,Icirc:CP,icirc:AP,Icy:SP,icy:TP,Idot:MP,IEcy:OP,iecy:RP,iexcl:NP,iff:DP,ifr:LP,Ifr:IP,Igrave:PP,igrave:FP,ii:BP,iiiint:$P,iiint:jP,iinfin:zP,iiota:UP,IJlig:qP,ijlig:HP,Imacr:VP,imacr:GP,image:KP,ImaginaryI:WP,imagline:ZP,imagpart:YP,imath:QP,Im:JP,imof:XP,imped:eF,Implies:tF,incare:nF,in:"∈",infin:sF,infintie:oF,inodot:rF,intcal:iF,int:aF,Int:lF,integers:cF,Integral:uF,intercal:dF,Intersection:fF,intlarhk:hF,intprod:pF,InvisibleComma:gF,InvisibleTimes:mF,IOcy:_F,iocy:bF,Iogon:yF,iogon:vF,Iopf:wF,iopf:xF,Iota:kF,iota:EF,iprod:CF,iquest:AF,iscr:SF,Iscr:TF,isin:MF,isindot:OF,isinE:RF,isins:NF,isinsv:DF,isinv:LF,it:IF,Itilde:PF,itilde:FF,Iukcy:BF,iukcy:$F,Iuml:jF,iuml:zF,Jcirc:UF,jcirc:qF,Jcy:HF,jcy:VF,Jfr:GF,jfr:KF,jmath:WF,Jopf:ZF,jopf:YF,Jscr:QF,jscr:JF,Jsercy:XF,jsercy:eB,Jukcy:tB,jukcy:nB,Kappa:sB,kappa:oB,kappav:rB,Kcedil:iB,kcedil:aB,Kcy:lB,kcy:cB,Kfr:uB,kfr:dB,kgreen:fB,KHcy:hB,khcy:pB,KJcy:gB,kjcy:mB,Kopf:_B,kopf:bB,Kscr:yB,kscr:vB,lAarr:wB,Lacute:xB,lacute:kB,laemptyv:EB,lagran:CB,Lambda:AB,lambda:SB,lang:TB,Lang:MB,langd:OB,langle:RB,lap:NB,Laplacetrf:DB,laquo:LB,larrb:IB,larrbfs:PB,larr:FB,Larr:BB,lArr:$B,larrfs:jB,larrhk:zB,larrlp:UB,larrpl:qB,larrsim:HB,larrtl:VB,latail:GB,lAtail:KB,lat:WB,late:ZB,lates:YB,lbarr:QB,lBarr:JB,lbbrk:XB,lbrace:e$,lbrack:t$,lbrke:n$,lbrksld:s$,lbrkslu:o$,Lcaron:r$,lcaron:i$,Lcedil:a$,lcedil:l$,lceil:c$,lcub:u$,Lcy:d$,lcy:f$,ldca:h$,ldquo:p$,ldquor:g$,ldrdhar:m$,ldrushar:_$,ldsh:b$,le:y$,lE:v$,LeftAngleBracket:w$,LeftArrowBar:x$,leftarrow:k$,LeftArrow:E$,Leftarrow:C$,LeftArrowRightArrow:A$,leftarrowtail:S$,LeftCeiling:T$,LeftDoubleBracket:M$,LeftDownTeeVector:O$,LeftDownVectorBar:R$,LeftDownVector:N$,LeftFloor:D$,leftharpoondown:L$,leftharpoonup:I$,leftleftarrows:P$,leftrightarrow:F$,LeftRightArrow:B$,Leftrightarrow:$$,leftrightarrows:j$,leftrightharpoons:z$,leftrightsquigarrow:U$,LeftRightVector:q$,LeftTeeArrow:H$,LeftTee:V$,LeftTeeVector:G$,leftthreetimes:K$,LeftTriangleBar:W$,LeftTriangle:Z$,LeftTriangleEqual:Y$,LeftUpDownVector:Q$,LeftUpTeeVector:J$,LeftUpVectorBar:X$,LeftUpVector:ej,LeftVectorBar:tj,LeftVector:nj,lEg:sj,leg:oj,leq:rj,leqq:ij,leqslant:aj,lescc:lj,les:cj,lesdot:uj,lesdoto:dj,lesdotor:fj,lesg:hj,lesges:pj,lessapprox:gj,lessdot:mj,lesseqgtr:_j,lesseqqgtr:bj,LessEqualGreater:yj,LessFullEqual:vj,LessGreater:wj,lessgtr:xj,LessLess:kj,lesssim:Ej,LessSlantEqual:Cj,LessTilde:Aj,lfisht:Sj,lfloor:Tj,Lfr:Mj,lfr:Oj,lg:Rj,lgE:Nj,lHar:Dj,lhard:Lj,lharu:Ij,lharul:Pj,lhblk:Fj,LJcy:Bj,ljcy:$j,llarr:jj,ll:zj,Ll:Uj,llcorner:qj,Lleftarrow:Hj,llhard:Vj,lltri:Gj,Lmidot:Kj,lmidot:Wj,lmoustache:Zj,lmoust:Yj,lnap:Qj,lnapprox:Jj,lne:Xj,lnE:ez,lneq:tz,lneqq:nz,lnsim:sz,loang:oz,loarr:rz,lobrk:iz,longleftarrow:az,LongLeftArrow:lz,Longleftarrow:cz,longleftrightarrow:uz,LongLeftRightArrow:dz,Longleftrightarrow:fz,longmapsto:hz,longrightarrow:pz,LongRightArrow:gz,Longrightarrow:mz,looparrowleft:_z,looparrowright:bz,lopar:yz,Lopf:vz,lopf:wz,loplus:xz,lotimes:kz,lowast:Ez,lowbar:Cz,LowerLeftArrow:Az,LowerRightArrow:Sz,loz:Tz,lozenge:Mz,lozf:Oz,lpar:Rz,lparlt:Nz,lrarr:Dz,lrcorner:Lz,lrhar:Iz,lrhard:Pz,lrm:Fz,lrtri:Bz,lsaquo:$z,lscr:jz,Lscr:zz,lsh:Uz,Lsh:qz,lsim:Hz,lsime:Vz,lsimg:Gz,lsqb:Kz,lsquo:Wz,lsquor:Zz,Lstrok:Yz,lstrok:Qz,ltcc:Jz,ltcir:Xz,lt:eU,LT:tU,Lt:nU,ltdot:sU,lthree:oU,ltimes:rU,ltlarr:iU,ltquest:aU,ltri:lU,ltrie:cU,ltrif:uU,ltrPar:dU,lurdshar:fU,luruhar:hU,lvertneqq:pU,lvnE:gU,macr:mU,male:_U,malt:bU,maltese:yU,Map:"⤅",map:vU,mapsto:wU,mapstodown:xU,mapstoleft:kU,mapstoup:EU,marker:CU,mcomma:AU,Mcy:SU,mcy:TU,mdash:MU,mDDot:OU,measuredangle:RU,MediumSpace:NU,Mellintrf:DU,Mfr:LU,mfr:IU,mho:PU,micro:FU,midast:BU,midcir:$U,mid:jU,middot:zU,minusb:UU,minus:qU,minusd:HU,minusdu:VU,MinusPlus:GU,mlcp:KU,mldr:WU,mnplus:ZU,models:YU,Mopf:QU,mopf:JU,mp:XU,mscr:eq,Mscr:tq,mstpos:nq,Mu:sq,mu:oq,multimap:rq,mumap:iq,nabla:aq,Nacute:lq,nacute:cq,nang:uq,nap:dq,napE:fq,napid:hq,napos:pq,napprox:gq,natural:mq,naturals:_q,natur:bq,nbsp:yq,nbump:vq,nbumpe:wq,ncap:xq,Ncaron:kq,ncaron:Eq,Ncedil:Cq,ncedil:Aq,ncong:Sq,ncongdot:Tq,ncup:Mq,Ncy:Oq,ncy:Rq,ndash:Nq,nearhk:Dq,nearr:Lq,neArr:Iq,nearrow:Pq,ne:Fq,nedot:Bq,NegativeMediumSpace:$q,NegativeThickSpace:jq,NegativeThinSpace:zq,NegativeVeryThinSpace:Uq,nequiv:qq,nesear:Hq,nesim:Vq,NestedGreaterGreater:Gq,NestedLessLess:Kq,NewLine:Wq,nexist:Zq,nexists:Yq,Nfr:Qq,nfr:Jq,ngE:Xq,nge:eH,ngeq:tH,ngeqq:nH,ngeqslant:sH,nges:oH,nGg:rH,ngsim:iH,nGt:aH,ngt:lH,ngtr:cH,nGtv:uH,nharr:dH,nhArr:fH,nhpar:hH,ni:pH,nis:gH,nisd:mH,niv:_H,NJcy:bH,njcy:yH,nlarr:vH,nlArr:wH,nldr:xH,nlE:kH,nle:EH,nleftarrow:CH,nLeftarrow:AH,nleftrightarrow:SH,nLeftrightarrow:TH,nleq:MH,nleqq:OH,nleqslant:RH,nles:NH,nless:DH,nLl:LH,nlsim:IH,nLt:PH,nlt:FH,nltri:BH,nltrie:$H,nLtv:jH,nmid:zH,NoBreak:UH,NonBreakingSpace:qH,nopf:HH,Nopf:VH,Not:GH,not:KH,NotCongruent:WH,NotCupCap:ZH,NotDoubleVerticalBar:YH,NotElement:QH,NotEqual:JH,NotEqualTilde:XH,NotExists:eV,NotGreater:tV,NotGreaterEqual:nV,NotGreaterFullEqual:sV,NotGreaterGreater:oV,NotGreaterLess:rV,NotGreaterSlantEqual:iV,NotGreaterTilde:aV,NotHumpDownHump:lV,NotHumpEqual:cV,notin:uV,notindot:dV,notinE:fV,notinva:hV,notinvb:pV,notinvc:gV,NotLeftTriangleBar:mV,NotLeftTriangle:_V,NotLeftTriangleEqual:bV,NotLess:yV,NotLessEqual:vV,NotLessGreater:wV,NotLessLess:xV,NotLessSlantEqual:kV,NotLessTilde:EV,NotNestedGreaterGreater:CV,NotNestedLessLess:AV,notni:SV,notniva:TV,notnivb:MV,notnivc:OV,NotPrecedes:RV,NotPrecedesEqual:NV,NotPrecedesSlantEqual:DV,NotReverseElement:LV,NotRightTriangleBar:IV,NotRightTriangle:PV,NotRightTriangleEqual:FV,NotSquareSubset:BV,NotSquareSubsetEqual:$V,NotSquareSuperset:jV,NotSquareSupersetEqual:zV,NotSubset:UV,NotSubsetEqual:qV,NotSucceeds:HV,NotSucceedsEqual:VV,NotSucceedsSlantEqual:GV,NotSucceedsTilde:KV,NotSuperset:WV,NotSupersetEqual:ZV,NotTilde:YV,NotTildeEqual:QV,NotTildeFullEqual:JV,NotTildeTilde:XV,NotVerticalBar:eG,nparallel:tG,npar:nG,nparsl:sG,npart:oG,npolint:rG,npr:iG,nprcue:aG,nprec:lG,npreceq:cG,npre:uG,nrarrc:dG,nrarr:fG,nrArr:hG,nrarrw:pG,nrightarrow:gG,nRightarrow:mG,nrtri:_G,nrtrie:bG,nsc:yG,nsccue:vG,nsce:wG,Nscr:xG,nscr:kG,nshortmid:EG,nshortparallel:CG,nsim:AG,nsime:SG,nsimeq:TG,nsmid:MG,nspar:OG,nsqsube:RG,nsqsupe:NG,nsub:DG,nsubE:LG,nsube:IG,nsubset:PG,nsubseteq:FG,nsubseteqq:BG,nsucc:$G,nsucceq:jG,nsup:zG,nsupE:UG,nsupe:qG,nsupset:HG,nsupseteq:VG,nsupseteqq:GG,ntgl:KG,Ntilde:WG,ntilde:ZG,ntlg:YG,ntriangleleft:QG,ntrianglelefteq:JG,ntriangleright:XG,ntrianglerighteq:eK,Nu:tK,nu:nK,num:sK,numero:oK,numsp:rK,nvap:iK,nvdash:aK,nvDash:lK,nVdash:cK,nVDash:uK,nvge:dK,nvgt:fK,nvHarr:hK,nvinfin:pK,nvlArr:gK,nvle:mK,nvlt:_K,nvltrie:bK,nvrArr:yK,nvrtrie:vK,nvsim:wK,nwarhk:xK,nwarr:kK,nwArr:EK,nwarrow:CK,nwnear:AK,Oacute:SK,oacute:TK,oast:MK,Ocirc:OK,ocirc:RK,ocir:NK,Ocy:DK,ocy:LK,odash:IK,Odblac:PK,odblac:FK,odiv:BK,odot:$K,odsold:jK,OElig:zK,oelig:UK,ofcir:qK,Ofr:HK,ofr:VK,ogon:GK,Ograve:KK,ograve:WK,ogt:ZK,ohbar:YK,ohm:QK,oint:JK,olarr:XK,olcir:eW,olcross:tW,oline:nW,olt:sW,Omacr:oW,omacr:rW,Omega:iW,omega:aW,Omicron:lW,omicron:cW,omid:uW,ominus:dW,Oopf:fW,oopf:hW,opar:pW,OpenCurlyDoubleQuote:gW,OpenCurlyQuote:mW,operp:_W,oplus:bW,orarr:yW,Or:vW,or:wW,ord:xW,order:kW,orderof:EW,ordf:CW,ordm:AW,origof:SW,oror:TW,orslope:MW,orv:OW,oS:RW,Oscr:NW,oscr:DW,Oslash:LW,oslash:IW,osol:PW,Otilde:FW,otilde:BW,otimesas:$W,Otimes:jW,otimes:zW,Ouml:UW,ouml:qW,ovbar:HW,OverBar:VW,OverBrace:GW,OverBracket:KW,OverParenthesis:WW,para:ZW,parallel:YW,par:QW,parsim:JW,parsl:XW,part:eZ,PartialD:tZ,Pcy:nZ,pcy:sZ,percnt:oZ,period:rZ,permil:iZ,perp:aZ,pertenk:lZ,Pfr:cZ,pfr:uZ,Phi:dZ,phi:fZ,phiv:hZ,phmmat:pZ,phone:gZ,Pi:mZ,pi:_Z,pitchfork:bZ,piv:yZ,planck:vZ,planckh:wZ,plankv:xZ,plusacir:kZ,plusb:EZ,pluscir:CZ,plus:AZ,plusdo:SZ,plusdu:TZ,pluse:MZ,PlusMinus:OZ,plusmn:RZ,plussim:NZ,plustwo:DZ,pm:LZ,Poincareplane:IZ,pointint:PZ,popf:FZ,Popf:BZ,pound:$Z,prap:jZ,Pr:zZ,pr:UZ,prcue:qZ,precapprox:HZ,prec:VZ,preccurlyeq:GZ,Precedes:KZ,PrecedesEqual:WZ,PrecedesSlantEqual:ZZ,PrecedesTilde:YZ,preceq:QZ,precnapprox:JZ,precneqq:XZ,precnsim:eY,pre:tY,prE:nY,precsim:sY,prime:oY,Prime:rY,primes:iY,prnap:aY,prnE:lY,prnsim:cY,prod:uY,Product:dY,profalar:fY,profline:hY,profsurf:pY,prop:gY,Proportional:mY,Proportion:_Y,propto:bY,prsim:yY,prurel:vY,Pscr:wY,pscr:xY,Psi:kY,psi:EY,puncsp:CY,Qfr:AY,qfr:SY,qint:TY,qopf:MY,Qopf:OY,qprime:RY,Qscr:NY,qscr:DY,quaternions:LY,quatint:IY,quest:PY,questeq:FY,quot:BY,QUOT:$Y,rAarr:jY,race:zY,Racute:UY,racute:qY,radic:HY,raemptyv:VY,rang:GY,Rang:KY,rangd:WY,range:ZY,rangle:YY,raquo:QY,rarrap:JY,rarrb:XY,rarrbfs:eQ,rarrc:tQ,rarr:nQ,Rarr:sQ,rArr:oQ,rarrfs:rQ,rarrhk:iQ,rarrlp:aQ,rarrpl:lQ,rarrsim:cQ,Rarrtl:uQ,rarrtl:dQ,rarrw:fQ,ratail:hQ,rAtail:pQ,ratio:gQ,rationals:mQ,rbarr:_Q,rBarr:bQ,RBarr:yQ,rbbrk:vQ,rbrace:wQ,rbrack:xQ,rbrke:kQ,rbrksld:EQ,rbrkslu:CQ,Rcaron:AQ,rcaron:SQ,Rcedil:TQ,rcedil:MQ,rceil:OQ,rcub:RQ,Rcy:NQ,rcy:DQ,rdca:LQ,rdldhar:IQ,rdquo:PQ,rdquor:FQ,rdsh:BQ,real:$Q,realine:jQ,realpart:zQ,reals:UQ,Re:qQ,rect:HQ,reg:VQ,REG:GQ,ReverseElement:KQ,ReverseEquilibrium:WQ,ReverseUpEquilibrium:ZQ,rfisht:YQ,rfloor:QQ,rfr:JQ,Rfr:XQ,rHar:eJ,rhard:tJ,rharu:nJ,rharul:sJ,Rho:oJ,rho:rJ,rhov:iJ,RightAngleBracket:aJ,RightArrowBar:lJ,rightarrow:cJ,RightArrow:uJ,Rightarrow:dJ,RightArrowLeftArrow:fJ,rightarrowtail:hJ,RightCeiling:pJ,RightDoubleBracket:gJ,RightDownTeeVector:mJ,RightDownVectorBar:_J,RightDownVector:bJ,RightFloor:yJ,rightharpoondown:vJ,rightharpoonup:wJ,rightleftarrows:xJ,rightleftharpoons:kJ,rightrightarrows:EJ,rightsquigarrow:CJ,RightTeeArrow:AJ,RightTee:SJ,RightTeeVector:TJ,rightthreetimes:MJ,RightTriangleBar:OJ,RightTriangle:RJ,RightTriangleEqual:NJ,RightUpDownVector:DJ,RightUpTeeVector:LJ,RightUpVectorBar:IJ,RightUpVector:PJ,RightVectorBar:FJ,RightVector:BJ,ring:$J,risingdotseq:jJ,rlarr:zJ,rlhar:UJ,rlm:qJ,rmoustache:HJ,rmoust:VJ,rnmid:GJ,roang:KJ,roarr:WJ,robrk:ZJ,ropar:YJ,ropf:QJ,Ropf:JJ,roplus:XJ,rotimes:eX,RoundImplies:tX,rpar:nX,rpargt:sX,rppolint:oX,rrarr:rX,Rrightarrow:iX,rsaquo:aX,rscr:lX,Rscr:cX,rsh:uX,Rsh:dX,rsqb:fX,rsquo:hX,rsquor:pX,rthree:gX,rtimes:mX,rtri:_X,rtrie:bX,rtrif:yX,rtriltri:vX,RuleDelayed:wX,ruluhar:xX,rx:kX,Sacute:EX,sacute:CX,sbquo:AX,scap:SX,Scaron:TX,scaron:MX,Sc:OX,sc:RX,sccue:NX,sce:DX,scE:LX,Scedil:IX,scedil:PX,Scirc:FX,scirc:BX,scnap:$X,scnE:jX,scnsim:zX,scpolint:UX,scsim:qX,Scy:HX,scy:VX,sdotb:GX,sdot:KX,sdote:WX,searhk:ZX,searr:YX,seArr:QX,searrow:JX,sect:XX,semi:eee,seswar:tee,setminus:nee,setmn:see,sext:oee,Sfr:ree,sfr:iee,sfrown:aee,sharp:lee,SHCHcy:cee,shchcy:uee,SHcy:dee,shcy:fee,ShortDownArrow:hee,ShortLeftArrow:pee,shortmid:gee,shortparallel:mee,ShortRightArrow:_ee,ShortUpArrow:bee,shy:yee,Sigma:vee,sigma:wee,sigmaf:xee,sigmav:kee,sim:Eee,simdot:Cee,sime:Aee,simeq:See,simg:Tee,simgE:Mee,siml:Oee,simlE:Ree,simne:Nee,simplus:Dee,simrarr:Lee,slarr:Iee,SmallCircle:Pee,smallsetminus:Fee,smashp:Bee,smeparsl:$ee,smid:jee,smile:zee,smt:Uee,smte:qee,smtes:Hee,SOFTcy:Vee,softcy:Gee,solbar:Kee,solb:Wee,sol:Zee,Sopf:Yee,sopf:Qee,spades:Jee,spadesuit:Xee,spar:ete,sqcap:tte,sqcaps:nte,sqcup:ste,sqcups:ote,Sqrt:rte,sqsub:ite,sqsube:ate,sqsubset:lte,sqsubseteq:cte,sqsup:ute,sqsupe:dte,sqsupset:fte,sqsupseteq:hte,square:pte,Square:gte,SquareIntersection:mte,SquareSubset:_te,SquareSubsetEqual:bte,SquareSuperset:yte,SquareSupersetEqual:vte,SquareUnion:wte,squarf:xte,squ:kte,squf:Ete,srarr:Cte,Sscr:Ate,sscr:Ste,ssetmn:Tte,ssmile:Mte,sstarf:Ote,Star:Rte,star:Nte,starf:Dte,straightepsilon:Lte,straightphi:Ite,strns:Pte,sub:Fte,Sub:Bte,subdot:$te,subE:jte,sube:zte,subedot:Ute,submult:qte,subnE:Hte,subne:Vte,subplus:Gte,subrarr:Kte,subset:Wte,Subset:Zte,subseteq:Yte,subseteqq:Qte,SubsetEqual:Jte,subsetneq:Xte,subsetneqq:ene,subsim:tne,subsub:nne,subsup:sne,succapprox:one,succ:rne,succcurlyeq:ine,Succeeds:ane,SucceedsEqual:lne,SucceedsSlantEqual:cne,SucceedsTilde:une,succeq:dne,succnapprox:fne,succneqq:hne,succnsim:pne,succsim:gne,SuchThat:mne,sum:_ne,Sum:bne,sung:yne,sup1:vne,sup2:wne,sup3:xne,sup:kne,Sup:Ene,supdot:Cne,supdsub:Ane,supE:Sne,supe:Tne,supedot:Mne,Superset:One,SupersetEqual:Rne,suphsol:Nne,suphsub:Dne,suplarr:Lne,supmult:Ine,supnE:Pne,supne:Fne,supplus:Bne,supset:$ne,Supset:jne,supseteq:zne,supseteqq:Une,supsetneq:qne,supsetneqq:Hne,supsim:Vne,supsub:Gne,supsup:Kne,swarhk:Wne,swarr:Zne,swArr:Yne,swarrow:Qne,swnwar:Jne,szlig:Xne,Tab:ese,target:tse,Tau:nse,tau:sse,tbrk:ose,Tcaron:rse,tcaron:ise,Tcedil:ase,tcedil:lse,Tcy:cse,tcy:use,tdot:dse,telrec:fse,Tfr:hse,tfr:pse,there4:gse,therefore:mse,Therefore:_se,Theta:bse,theta:yse,thetasym:vse,thetav:wse,thickapprox:xse,thicksim:kse,ThickSpace:Ese,ThinSpace:Cse,thinsp:Ase,thkap:Sse,thksim:Tse,THORN:Mse,thorn:Ose,tilde:Rse,Tilde:Nse,TildeEqual:Dse,TildeFullEqual:Lse,TildeTilde:Ise,timesbar:Pse,timesb:Fse,times:Bse,timesd:$se,tint:jse,toea:zse,topbot:Use,topcir:qse,top:Hse,Topf:Vse,topf:Gse,topfork:Kse,tosa:Wse,tprime:Zse,trade:Yse,TRADE:Qse,triangle:Jse,triangledown:Xse,triangleleft:eoe,trianglelefteq:toe,triangleq:noe,triangleright:soe,trianglerighteq:ooe,tridot:roe,trie:ioe,triminus:aoe,TripleDot:loe,triplus:coe,trisb:uoe,tritime:doe,trpezium:foe,Tscr:hoe,tscr:poe,TScy:goe,tscy:moe,TSHcy:_oe,tshcy:boe,Tstrok:yoe,tstrok:voe,twixt:woe,twoheadleftarrow:xoe,twoheadrightarrow:koe,Uacute:Eoe,uacute:Coe,uarr:Aoe,Uarr:Soe,uArr:Toe,Uarrocir:Moe,Ubrcy:Ooe,ubrcy:Roe,Ubreve:Noe,ubreve:Doe,Ucirc:Loe,ucirc:Ioe,Ucy:Poe,ucy:Foe,udarr:Boe,Udblac:$oe,udblac:joe,udhar:zoe,ufisht:Uoe,Ufr:qoe,ufr:Hoe,Ugrave:Voe,ugrave:Goe,uHar:Koe,uharl:Woe,uharr:Zoe,uhblk:Yoe,ulcorn:Qoe,ulcorner:Joe,ulcrop:Xoe,ultri:ere,Umacr:tre,umacr:nre,uml:sre,UnderBar:ore,UnderBrace:rre,UnderBracket:ire,UnderParenthesis:are,Union:lre,UnionPlus:cre,Uogon:ure,uogon:dre,Uopf:fre,uopf:hre,UpArrowBar:pre,uparrow:gre,UpArrow:mre,Uparrow:_re,UpArrowDownArrow:bre,updownarrow:yre,UpDownArrow:vre,Updownarrow:wre,UpEquilibrium:xre,upharpoonleft:kre,upharpoonright:Ere,uplus:Cre,UpperLeftArrow:Are,UpperRightArrow:Sre,upsi:Tre,Upsi:Mre,upsih:Ore,Upsilon:Rre,upsilon:Nre,UpTeeArrow:Dre,UpTee:Lre,upuparrows:Ire,urcorn:Pre,urcorner:Fre,urcrop:Bre,Uring:$re,uring:jre,urtri:zre,Uscr:Ure,uscr:qre,utdot:Hre,Utilde:Vre,utilde:Gre,utri:Kre,utrif:Wre,uuarr:Zre,Uuml:Yre,uuml:Qre,uwangle:Jre,vangrt:Xre,varepsilon:eie,varkappa:tie,varnothing:nie,varphi:sie,varpi:oie,varpropto:rie,varr:iie,vArr:aie,varrho:lie,varsigma:cie,varsubsetneq:uie,varsubsetneqq:die,varsupsetneq:fie,varsupsetneqq:hie,vartheta:pie,vartriangleleft:gie,vartriangleright:mie,vBar:_ie,Vbar:bie,vBarv:yie,Vcy:vie,vcy:wie,vdash:xie,vDash:kie,Vdash:Eie,VDash:Cie,Vdashl:Aie,veebar:Sie,vee:Tie,Vee:Mie,veeeq:Oie,vellip:Rie,verbar:Nie,Verbar:Die,vert:Lie,Vert:Iie,VerticalBar:Pie,VerticalLine:Fie,VerticalSeparator:Bie,VerticalTilde:$ie,VeryThinSpace:jie,Vfr:zie,vfr:Uie,vltri:qie,vnsub:Hie,vnsup:Vie,Vopf:Gie,vopf:Kie,vprop:Wie,vrtri:Zie,Vscr:Yie,vscr:Qie,vsubnE:Jie,vsubne:Xie,vsupnE:eae,vsupne:tae,Vvdash:nae,vzigzag:sae,Wcirc:oae,wcirc:rae,wedbar:iae,wedge:aae,Wedge:lae,wedgeq:cae,weierp:uae,Wfr:dae,wfr:fae,Wopf:hae,wopf:pae,wp:gae,wr:mae,wreath:_ae,Wscr:bae,wscr:yae,xcap:vae,xcirc:wae,xcup:xae,xdtri:kae,Xfr:Eae,xfr:Cae,xharr:Aae,xhArr:Sae,Xi:Tae,xi:Mae,xlarr:Oae,xlArr:Rae,xmap:Nae,xnis:Dae,xodot:Lae,Xopf:Iae,xopf:Pae,xoplus:Fae,xotime:Bae,xrarr:$ae,xrArr:jae,Xscr:zae,xscr:Uae,xsqcup:qae,xuplus:Hae,xutri:Vae,xvee:Gae,xwedge:Kae,Yacute:Wae,yacute:Zae,YAcy:Yae,yacy:Qae,Ycirc:Jae,ycirc:Xae,Ycy:ele,ycy:tle,yen:nle,Yfr:sle,yfr:ole,YIcy:rle,yicy:ile,Yopf:ale,yopf:lle,Yscr:cle,yscr:ule,YUcy:dle,yucy:fle,yuml:hle,Yuml:ple,Zacute:gle,zacute:mle,Zcaron:_le,zcaron:ble,Zcy:yle,zcy:vle,Zdot:wle,zdot:xle,zeetrf:kle,ZeroWidthSpace:Ele,Zeta:Cle,zeta:Ale,zfr:Sle,Zfr:Tle,ZHcy:Mle,zhcy:Ole,zigrarr:Rle,zopf:Nle,Zopf:Dle,Zscr:Lle,zscr:Ile,zwj:Ple,zwnj:Fle};var tg=Ble,tc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Vs={},Vu={};function $le(t){var e,n,s=Vu[t];if(s)return s;for(s=Vu[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 li(t,e,n){var s,o,r,i,a,l="";for(typeof e!="string"&&(n=e,e=li.defaultChars),typeof n>"u"&&(n=!0),a=$le(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}li.defaultChars=";/?:@&=+$,-_.!~*'()#";li.componentChars="-_.!~*'()";var jle=li,Gu={};function zle(t){var e,n,s=Gu[t];if(s)return s;for(s=Gu[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 ci(t,e){var n;return typeof e!="string"&&(e=ci.defaultChars),n=zle(e),t.replace(/(%[a-f0-9]{2})+/gi,function(s){var o,r,i,a,l,c,u,f="";for(o=0,r=s.length;o<r;o+=3){if(i=parseInt(s.slice(o+1,o+3),16),i<128){f+=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?f+="<22><>":f+=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?f+="<22><><EFBFBD>":f+=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?f+="<22><><EFBFBD><EFBFBD>":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}f+="<22>"}return f})}ci.defaultChars=";/?:@&=+$,#";ci.componentChars="";var Ule=ci,qle=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 Ar(){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 Hle=/^([a-z0-9.+-]+:)/i,Vle=/:[0-9]*$/,Gle=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Kle=["<",">",'"',"`"," ","\r",`
`," "],Wle=["{","}","|","\\","^","`"].concat(Kle),Zle=["'"].concat(Wle),Ku=["%","/","?",";","#"].concat(Zle),Wu=["/","?","#"],Yle=255,Zu=/^[+a-z0-9A-Z_-]{0,63}$/,Qle=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Yu={javascript:!0,"javascript:":!0},Qu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Jle(t,e){if(t&&t instanceof Ar)return t;var n=new Ar;return n.parse(t,e),n}Ar.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=Gle.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Hle.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&&Yu[c])&&(a=a.substr(2),this.slashes=!0)),!Yu[c]&&(i||c&&!Qu[c])){var u=-1;for(n=0;n<Wu.length;n++)r=a.indexOf(Wu[n]),r!==-1&&(u===-1||r<u)&&(u=r);var f,h;for(u===-1?h=a.lastIndexOf("@"):h=a.lastIndexOf("@",u),h!==-1&&(f=a.slice(0,h),a=a.slice(h+1),this.auth=f),u=-1,n=0;n<Ku.length;n++)r=a.indexOf(Ku[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 v=m[n];if(v&&!v.match(Zu)){for(var _="",b=0,x=v.length;b<x;b++)v.charCodeAt(b)>127?_+="x":_+=v[b];if(!_.match(Zu)){var C=m.slice(0,n),R=m.slice(n+1),M=v.match(Qle);M&&(C.push(M[1]),R.unshift(M[2])),R.length&&(a=R.join(".")+a),this.hostname=C.join(".");break}}}}this.hostname.length>Yle&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=a.indexOf("#");D!==-1&&(this.hash=a.substr(D),a=a.slice(0,D));var y=a.indexOf("?");return y!==-1&&(this.search=a.substr(y),a=a.slice(0,y)),a&&(this.pathname=a),Qu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ar.prototype.parseHost=function(t){var e=Vle.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 Xle=Jle;Vs.encode=jle;Vs.decode=Ule;Vs.format=qle;Vs.parse=Xle;var In={},$i,Ju;function ng(){return Ju||(Ju=1,$i=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),$i}var ji,Xu;function sg(){return Xu||(Xu=1,ji=/[\0-\x1F\x7F-\x9F]/),ji}var zi,ed;function ece(){return ed||(ed=1,zi=/[\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]/),zi}var Ui,td;function og(){return td||(td=1,Ui=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ui}var nd;function tce(){return nd||(nd=1,In.Any=ng(),In.Cc=sg(),In.Cf=ece(),In.P=tc,In.Z=og()),In}(function(t){function e(I){return Object.prototype.toString.call(I)}function n(I){return e(I)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(I,ae){return s.call(I,ae)}function r(I){var ae=Array.prototype.slice.call(arguments,1);return ae.forEach(function(W){if(W){if(typeof W!="object")throw new TypeError(W+"must be object");Object.keys(W).forEach(function(A){I[A]=W[A]})}}),I}function i(I,ae,W){return[].concat(I.slice(0,ae),W,I.slice(ae+1))}function a(I){return!(I>=55296&&I<=57343||I>=64976&&I<=65007||(I&65535)===65535||(I&65535)===65534||I>=0&&I<=8||I===11||I>=14&&I<=31||I>=127&&I<=159||I>1114111)}function l(I){if(I>65535){I-=65536;var ae=55296+(I>>10),W=56320+(I&1023);return String.fromCharCode(ae,W)}return String.fromCharCode(I)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(c.source+"|"+u.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=tg;function p(I,ae){var W=0;return o(g,ae)?g[ae]:ae.charCodeAt(0)===35&&h.test(ae)&&(W=ae[1].toLowerCase()==="x"?parseInt(ae.slice(2),16):parseInt(ae.slice(1),10),a(W))?l(W):I}function m(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function v(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(f,function(ae,W,A){return W||p(ae,A)})}var _=/[&<>"]/,b=/[&<>"]/g,x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function C(I){return x[I]}function R(I){return _.test(I)?I.replace(b,C):I}var M=/[.?*+^$[\]\\(){}|-]/g;function D(I){return I.replace(M,"\\$&")}function y(I){switch(I){case 9:case 32:return!0}return!1}function k(I){if(I>=8192&&I<=8202)return!0;switch(I){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=tc;function L(I){return T.test(I)}function F(I){switch(I){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Y(I){return I=I.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(I=I.replace(/ẞ/g,"ß")),I.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Vs,t.lib.ucmicro=tce(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=m,t.unescapeAll=v,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=y,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=Y})(ze);var ui={},nce=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},sd=ze.unescapeAll,sce=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=sd(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=sd(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},oce=ze.unescapeAll,rce=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=oce(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};ui.parseLinkLabel=nce;ui.parseLinkDestination=sce;ui.parseLinkTitle=rce;var ice=ze.assign,ace=ze.unescapeAll,Xn=ze.escapeHtml,Qt={};Qt.code_inline=function(t,e,n,s,o){var r=t[e];return"<code"+o.renderAttrs(r)+">"+Xn(t[e].content)+"</code>"};Qt.code_block=function(t,e,n,s,o){var r=t[e];return"<pre"+o.renderAttrs(r)+"><code>"+Xn(t[e].content)+`</code></pre>
`};Qt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?ace(r.info).trim():"",a="",l="",c,u,f,h,g;return i&&(f=i.split(/(\s+)/g),a=f[0],l=f.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Xn(r.content):c=Xn(r.content),c.indexOf("<pre")===0?c+`
`:i?(u=r.attrIndex("class"),h=r.attrs?r.attrs.slice():[],u<0?h.push(["class",n.langPrefix+a]):(h[u]=h[u].slice(),h[u][1]+=" "+n.langPrefix+a),g={attrs:h},"<pre><code"+o.renderAttrs(g)+">"+c+`</code></pre>
`):"<pre><code"+o.renderAttrs(r)+">"+c+`</code></pre>
`};Qt.image=function(t,e,n,s,o){var r=t[e];return r.attrs[r.attrIndex("alt")][1]=o.renderInlineAsText(r.children,n,s),o.renderToken(t,e,n)};Qt.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
`:`<br>
`};Qt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`};Qt.text=function(t,e){return Xn(t[e].content)};Qt.html_block=function(t,e){return t[e].content};Qt.html_inline=function(t,e){return t[e].content};function Gs(){this.rules=ice({},Qt)}Gs.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n<s;n++)o+=" "+Xn(e.attrs[n][0])+'="'+Xn(e.attrs[n][1])+'"';return o};Gs.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)};Gs.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};Gs.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};Gs.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 lce=Gs;function Ft(){this.__rules__=[],this.__cache__=null}Ft.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};Ft.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))})})};Ft.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};Ft.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};Ft.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};Ft.prototype.push=function(t,e,n){var s=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:s.alt||[]}),this.__cache__=null};Ft.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};Ft.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)};Ft.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};Ft.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var nc=Ft,cce=/\r\n?|\n/g,uce=/\0/g,dce=function(e){var n;n=e.src.replace(cce,`
`),n=n.replace(uce,"<22>"),e.src=n},fce=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)},hce=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)},pce=ze.arrayReplaceAt;function gce(t){return/^<a[>\s]/i.test(t)}function mce(t){return/^<\/a\s*>/i.test(t)}var _ce=function(e){var n,s,o,r,i,a,l,c,u,f,h,g,p,m,v,_,b=e.tokens,x;if(e.md.options.linkify){for(s=0,o=b.length;s<o;s++)if(!(b[s].type!=="inline"||!e.md.linkify.pretest(b[s].content)))for(r=b[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"&&(gce(a.content)&&p>0&&p--,mce(a.content)&&p++),!(p>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=a.level,h=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),c=0;c<x.length;c++)m=x[c].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(_=x[c].text,x[c].schema?x[c].schema==="mailto:"&&!/^mailto:/i.test(_)?_=e.md.normalizeLinkText("mailto:"+_).replace(/^mailto:/,""):_=e.md.normalizeLinkText(_):_=e.md.normalizeLinkText("http://"+_).replace(/^http:\/\//,""),f=x[c].index,f>h&&(i=new e.Token("text","",0),i.content=u.slice(h,f),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",v]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=_,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",l.push(i),h=x[c].lastIndex);h<u.length&&(i=new e.Token("text","",0),i.content=u.slice(h),i.level=g,l.push(i)),b[s].children=r=pce(r,n,l)}}}},rg=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,bce=/\((c|tm|r)\)/i,yce=/\((c|tm|r)\)/ig,vce={c:"©",r:"®",tm:"™"};function wce(t,e){return vce[e.toLowerCase()]}function xce(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(yce,wce)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function kce(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&rg.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1")),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}var Ece=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(bce.test(e.tokens[n].content)&&xce(e.tokens[n].children),rg.test(e.tokens[n].content)&&kce(e.tokens[n].children))},od=ze.isWhiteSpace,rd=ze.isPunctChar,id=ze.isMdAsciiPunct,Cce=/['"]/,ad=/['"]/g,ld="";function Ko(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Ace(t,e){var n,s,o,r,i,a,l,c,u,f,h,g,p,m,v,_,b,x,C,R,M;for(C=[],n=0;n<t.length;n++){for(s=t[n],l=t[n].level,b=C.length-1;b>=0&&!(C[b].level<=l);b--);if(C.length=b+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i<a&&(ad.lastIndex=i,r=ad.exec(o),!!r);){if(v=_=!0,i=r.index+1,x=r[0]==="'",u=32,r.index-1>=0)u=o.charCodeAt(r.index-1);else for(b=n-1;b>=0&&!(t[b].type==="softbreak"||t[b].type==="hardbreak");b--)if(t[b].content){u=t[b].content.charCodeAt(t[b].content.length-1);break}if(f=32,i<a)f=o.charCodeAt(i);else for(b=n+1;b<t.length&&!(t[b].type==="softbreak"||t[b].type==="hardbreak");b++)if(t[b].content){f=t[b].content.charCodeAt(0);break}if(h=id(u)||rd(String.fromCharCode(u)),g=id(f)||rd(String.fromCharCode(f)),p=od(u),m=od(f),m?v=!1:g&&(p||h||(v=!1)),p?_=!1:h&&(m||g||(_=!1)),f===34&&r[0]==='"'&&u>=48&&u<=57&&(_=v=!1),v&&_&&(v=h,_=g),!v&&!_){x&&(s.content=Ko(s.content,r.index,ld));continue}if(_){for(b=C.length-1;b>=0&&(c=C[b],!(C[b].level<l));b--)if(c.single===x&&C[b].level===l){c=C[b],x?(R=e.md.options.quotes[2],M=e.md.options.quotes[3]):(R=e.md.options.quotes[0],M=e.md.options.quotes[1]),s.content=Ko(s.content,r.index,M),t[c.token].content=Ko(t[c.token].content,c.pos,R),i+=M.length-1,c.token===n&&(i+=R.length-1),o=s.content,a=o.length,C.length=b;continue e}}v?C.push({token:n,pos:r.index,single:x,level:l}):_&&x&&(s.content=Ko(s.content,r.index,ld))}}}}var Sce=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!Cce.test(e.tokens[n].content)||Ace(e.tokens[n].children,e)},Tce=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 Ks(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}Ks.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};Ks.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};Ks.prototype.attrSet=function(e,n){var s=this.attrIndex(e),o=[e,n];s<0?this.attrPush(o):this.attrs[s]=o};Ks.prototype.attrGet=function(e){var n=this.attrIndex(e),s=null;return n>=0&&(s=this.attrs[n][1]),s};Ks.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 sc=Ks,Mce=sc;function ig(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}ig.prototype.Token=Mce;var Oce=ig,Rce=nc,qi=[["normalize",dce],["block",fce],["inline",hce],["linkify",_ce],["replacements",Ece],["smartquotes",Sce],["text_join",Tce]];function oc(){this.ruler=new Rce;for(var t=0;t<qi.length;t++)this.ruler.push(qi[t][0],qi[t][1])}oc.prototype.process=function(t){var e,n,s;for(s=this.ruler.getRules(""),e=0,n=s.length;e<n;e++)s[e](t)};oc.prototype.State=Oce;var Nce=oc,Hi=ze.isSpace;function Vi(t,e){var n=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];return t.src.slice(n,s)}function cd(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 Dce=function(e,n,s,o){var r,i,a,l,c,u,f,h,g,p,m,v,_,b,x,C,R,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])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[u]||(M=e.src.charCodeAt(a++),M!==124&&M!==45&&M!==58&&!Hi(M))||R===45&&Hi(M))return!1;for(;a<e.eMarks[u];){if(r=e.src.charCodeAt(a),r!==124&&r!==45&&r!==58&&!Hi(r))return!1;a++}for(i=Vi(e,n+1),f=i.split("|"),p=[],l=0;l<f.length;l++){if(m=f[l].trim(),!m){if(l===0||l===f.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=Vi(e,n).trim(),i.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(f=cd(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==p.length))return!1;if(o)return!0;for(b=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=v=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l<f.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=f[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=C.length;l<c;l++)if(C[l](e,u,s,!0)){x=!0;break}if(x||(i=Vi(e,u).trim(),!i)||e.sCount[u]-e.blkIndent>=4)break;for(f=cd(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),u===n+2&&(g=e.push("tbody_open","tbody",1),g.map=_=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[u,u+1],l=0;l<h;l++)g=e.push("td_open","td",1),p[l]&&(g.attrs=[["style","text-align:"+p[l]]]),g=e.push("inline","",0),g.content=f[l]?f[l].trim():"",g.children=[],g=e.push("td_close","td",-1);g=e.push("tr_close","tr",-1)}return _&&(g=e.push("tbody_close","tbody",-1),_[1]=u),g=e.push("table_close","table",-1),v[1]=u,e.parentType=b,e.line=u,!0},Lce=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},Ice=function(e,n,s,o){var r,i,a,l,c,u,f,h=!1,g=e.bMarks[n]+e.tShift[n],p=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>p||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(f=e.src.slice(c,g),a=e.src.slice(g,p),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=c=e.bMarks[l]+e.tShift[l],p=e.eMarks[l],g<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)))){h=!0;break}return i=e.sCount[n],e.line=l+(h?1:0),u=e.push("fence","code",0),u.info=a,u.content=e.getLines(n+1,l,i,!0),u.markup=f,u.map=[n,e.line],!0},ud=ze.isSpace,Pce=function(e,n,s,o){var r,i,a,l,c,u,f,h,g,p,m,v,_,b,x,C,R,M,D,y,k=e.lineMax,T=e.bMarks[n]+e.tShift[n],L=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(T++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(T)===32?(T++,l++,g++,r=!1,C=!0):e.src.charCodeAt(T)===9?(C=!0,(e.bsCount[n]+g)%4===3?(T++,l++,g++,r=!1):r=!0):C=!1,p=[e.bMarks[n]],e.bMarks[n]=T;T<L&&(i=e.src.charCodeAt(T),ud(i));){i===9?g+=4-(g+e.bsCount[n]+(r?1:0))%4:g++;T++}for(m=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(C?1:0),u=T>=L,b=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=T-e.bMarks[n],M=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",h=n+1;h<s&&(y=e.sCount[h]<e.blkIndent,T=e.bMarks[h]+e.tShift[h],L=e.eMarks[h],!(T>=L));h++){if(e.src.charCodeAt(T++)===62&&!y){for(l=g=e.sCount[h]+1,e.src.charCodeAt(T)===32?(T++,l++,g++,r=!1,C=!0):e.src.charCodeAt(T)===9?(C=!0,(e.bsCount[h]+g)%4===3?(T++,l++,g++,r=!1):r=!0):C=!1,p.push(e.bMarks[h]),e.bMarks[h]=T;T<L&&(i=e.src.charCodeAt(T),ud(i));){i===9?g+=4-(g+e.bsCount[h]+(r?1:0))%4:g++;T++}u=T>=L,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(C?1:0),b.push(e.sCount[h]),e.sCount[h]=g-l,x.push(e.tShift[h]),e.tShift[h]=T-e.bMarks[h];continue}if(u)break;for(R=!1,a=0,c=M.length;a<c;a++)if(M[a](e,h,s,!0)){R=!0;break}if(R){e.lineMax=h,e.blkIndent!==0&&(p.push(e.bMarks[h]),m.push(e.bsCount[h]),x.push(e.tShift[h]),b.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}p.push(e.bMarks[h]),m.push(e.bsCount[h]),x.push(e.tShift[h]),b.push(e.sCount[h]),e.sCount[h]=-1}for(v=e.blkIndent,e.blkIndent=0,D=e.push("blockquote_open","blockquote",1),D.markup=">",D.map=f=[n,0],e.md.block.tokenize(e,n,h),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,f[1]=e.line,a=0;a<x.length;a++)e.bMarks[a+n]=p[a],e.tShift[a+n]=x[a],e.sCount[a+n]=b[a],e.bsCount[a+n]=m[a];return e.blkIndent=v,!0},Fce=ze.isSpace,Bce=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&&!Fce(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)},ag=ze.isSpace;function dd(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),!ag(r))?-1:s}function fd(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),!ag(n))?-1:o}function $ce(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 jce=function(e,n,s,o){var r,i,a,l,c,u,f,h,g,p,m,v,_,b,x,C,R,M,D,y,k,T,L,F,Y,I,ae,W,A=!1,q=!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),(L=fd(e,n))>=0){if(f=!0,Y=e.bMarks[n]+e.tShift[n],_=Number(e.src.slice(Y,L-1)),A&&_!==1)return!1}else if((L=dd(e,n))>=0)f=!1;else return!1;if(A&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(v=e.src.charCodeAt(L-1),o)return!0;for(m=e.tokens.length,f?(W=e.push("ordered_list_open","ol",1),_!==1&&(W.attrs=[["start",_]])):W=e.push("bullet_list_open","ul",1),W.map=p=[n,0],W.markup=String.fromCharCode(v),x=n,F=!1,ae=e.md.block.ruler.getRules("list"),M=e.parentType,e.parentType="list";x<s;){for(T=L,b=e.eMarks[x],u=C=e.sCount[x]+L-(e.bMarks[n]+e.tShift[n]);T<b;){if(r=e.src.charCodeAt(T),r===9)C+=4-(C+e.bsCount[x])%4;else if(r===32)C++;else break;T++}if(i=T,i>=b?c=1:c=C-u,c>4&&(c=1),l=u+c,W=e.push("list_item_open","li",1),W.markup=String.fromCharCode(v),W.map=h=[n,0],f&&(W.info=e.src.slice(Y,L-1)),k=e.tight,y=e.tShift[n],D=e.sCount[n],R=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=C,i>=b&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&(q=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=y,e.sCount[n]=D,e.tight=k,W=e.push("list_item_close","li",-1),W.markup=String.fromCharCode(v),x=n=e.line,h[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]<e.blkIndent||e.sCount[n]-e.blkIndent>=4)break;for(I=!1,a=0,g=ae.length;a<g;a++)if(ae[a](e,x,s,!0)){I=!0;break}if(I)break;if(f){if(L=fd(e,x),L<0)break;Y=e.bMarks[x]+e.tShift[x]}else if(L=dd(e,x),L<0)break;if(v!==e.src.charCodeAt(L-1))break}return f?W=e.push("ordered_list_close","ol",-1):W=e.push("bullet_list_close","ul",-1),W.markup=String.fromCharCode(v),p[1]=x,e.line=x,e.parentType=M,q&&$ce(e,m),!0},zce=ze.normalizeReference,Wo=ze.isSpace,Uce=function(e,n,s,o){var r,i,a,l,c,u,f,h,g,p,m,v,_,b,x,C,R=0,M=e.bMarks[n]+e.tShift[n],D=e.eMarks[n],y=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(M)!==91)return!1;for(;++M<D;)if(e.src.charCodeAt(M)===93&&e.src.charCodeAt(M-1)!==92){if(M+1===D||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";y<l&&!e.isEmpty(y);y++)if(!(e.sCount[y]-e.blkIndent>3)&&!(e.sCount[y]<0)){for(b=!1,u=0,f=x.length;u<f;u++)if(x[u](e,y,l,!0)){b=!0;break}if(b)break}for(_=e.getLines(n,y,e.blkIndent,!1).trim(),D=_.length,M=1;M<D;M++){if(r=_.charCodeAt(M),r===91)return!1;if(r===93){g=M;break}else r===10?R++:r===92&&(M++,M<D&&_.charCodeAt(M)===10&&R++)}if(g<0||_.charCodeAt(g+1)!==58)return!1;for(M=g+2;M<D;M++)if(r=_.charCodeAt(M),r===10)R++;else if(!Wo(r))break;if(m=e.md.helpers.parseLinkDestination(_,M,D),!m.ok||(c=e.md.normalizeLink(m.str),!e.md.validateLink(c)))return!1;for(M=m.pos,R+=m.lines,i=M,a=R,v=M;M<D;M++)if(r=_.charCodeAt(M),r===10)R++;else if(!Wo(r))break;for(m=e.md.helpers.parseLinkTitle(_,M,D),M<D&&v!==M&&m.ok?(C=m.str,M=m.pos,R+=m.lines):(C="",M=i,R=a);M<D&&(r=_.charCodeAt(M),!!Wo(r));)M++;if(M<D&&_.charCodeAt(M)!==10&&C)for(C="",M=i,R=a;M<D&&(r=_.charCodeAt(M),!!Wo(r));)M++;return M<D&&_.charCodeAt(M)!==10||(h=zce(_.slice(1,g)),!h)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:C,href:c}),e.parentType=p,e.line=n+R+1),!0)},qce=["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"],di={},Hce="[a-zA-Z_:][a-zA-Z0-9:._-]*",Vce="[^\"'=<>`\\x00-\\x20]+",Gce="'[^']*'",Kce='"[^"]*"',Wce="(?:"+Vce+"|"+Gce+"|"+Kce+")",Zce="(?:\\s+"+Hce+"(?:\\s*=\\s*"+Wce+")?)",lg="<[A-Za-z][A-Za-z0-9\\-]*"+Zce+"*\\s*\\/?>",cg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Yce="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Qce="<[?][\\s\\S]*?[?]>",Jce="<![A-Z]+\\s+[^>]*>",Xce="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",eue=new RegExp("^(?:"+lg+"|"+cg+"|"+Yce+"|"+Qce+"|"+Jce+"|"+Xce+")"),tue=new RegExp("^(?:"+lg+"|"+cg+")");di.HTML_TAG_RE=eue;di.HTML_OPEN_CLOSE_TAG_RE=tue;var nue=qce,sue=di.HTML_OPEN_CLOSE_TAG_RE,us=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+nue.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(sue.source+"\\s*$"),/^$/,!1]],oue=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<us.length&&!us[r][0].test(l);r++);if(r===us.length)return!1;if(o)return us[r][2];if(i=n+1,!us[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),us[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},hd=ze.isSpace,rue=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&&!hd(r)?!1:(o||(u=e.skipSpacesBack(u,c),a=e.skipCharsBack(u,35,c),a>c&&hd(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)},iue=function(e,n,s){var o,r,i,a,l,c,u,f,h,g=n+1,p,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";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&&(h=e.src.charCodeAt(c),(h===45||h===61)&&(c=e.skipChars(c,h),c=e.skipSpaces(c),c>=u)))){f=h===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 f?(o=e.getLines(n,g,e.blkIndent,!1).trim(),e.line=g+1,l=e.push("heading_open","h"+String(f),1),l.markup=String.fromCharCode(h),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(f),-1),l.markup=String.fromCharCode(h),e.parentType=p,!0):!1},aue=function(e,n){var s,o,r,i,a,l,c=n+1,u=e.md.block.ruler.getRules("paragraph"),f=e.lineMax;for(l=e.parentType,e.parentType="paragraph";c<f&&!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,f,!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},ug=sc,fi=ze.isSpace;function Jt(t,e,n,s){var o,r,i,a,l,c,u,f;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,f=!1,i=a=c=u=0,l=r.length;a<l;a++){if(o=r.charCodeAt(a),!f)if(fi(o)){c++,o===9?u+=4-u%4:u++;continue}else f=!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),f=!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}Jt.prototype.push=function(t,e,n){var s=new ug(t,e,n);return s.block=!0,n<0&&this.level--,s.level=this.level,n>0&&this.level++,this.tokens.push(s),s};Jt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Jt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Jt.prototype.skipSpaces=function(e){for(var n,s=this.src.length;e<s&&(n=this.src.charCodeAt(e),!!fi(n));e++);return e};Jt.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!fi(this.src.charCodeAt(--e)))return e+1;return e};Jt.prototype.skipChars=function(e,n){for(var s=this.src.length;e<s&&this.src.charCodeAt(e)===n;e++);return e};Jt.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};Jt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,u,f,h=e;if(e>=n)return"";for(u=new Array(n-e),r=0;h<n;h++,r++){for(i=0,f=l=this.bMarks[h],h+1<n||o?c=this.eMarks[h]+1:c=this.eMarks[h];l<c&&i<s;){if(a=this.src.charCodeAt(l),fi(a))a===9?i+=4-(i+this.bsCount[h])%4:i++;else if(l-f<this.tShift[h])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("")};Jt.prototype.Token=ug;var lue=Jt,cue=nc,Zo=[["table",Dce,["paragraph","reference"]],["code",Lce],["fence",Ice,["paragraph","reference","blockquote","list"]],["blockquote",Pce,["paragraph","reference","blockquote","list"]],["hr",Bce,["paragraph","reference","blockquote","list"]],["list",jce,["paragraph","reference","blockquote"]],["reference",Uce],["html_block",oue,["paragraph","reference","blockquote"]],["heading",rue,["paragraph","reference","blockquote"]],["lheading",iue],["paragraph",aue]];function hi(){this.ruler=new cue;for(var t=0;t<Zo.length;t++)this.ruler.push(Zo[t][0],Zo[t][1],{alt:(Zo[t][2]||[]).slice()})}hi.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)}};hi.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))};hi.prototype.State=lue;var uue=hi;function due(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 fue=function(e,n){for(var s=e.pos;s<e.posMax&&!due(e.src.charCodeAt(s));)s++;return s===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,s)),e.pos=s,!0)},hue=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,pue=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(hue),!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)},gue=ze.isSpace,mue=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&&gue(e.src.charCodeAt(i));)i++;return e.pos=i,!0},_ue=ze.isSpace,rc=[];for(var pd=0;pd<256;pd++)rc.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){rc[t.charCodeAt(0)]=1});var bue=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),!!_ue(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&&rc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},yue=function(e,n){var s,o,r,i,a,l,c,u,f=e.pos,h=e.src.charCodeAt(f);if(h!==96)return!1;for(s=f,f++,o=e.posMax;f<o&&e.src.charCodeAt(f)===96;)f++;if(r=e.src.slice(s,f),c=r.length,e.backticksScanned&&(e.backticks[c]||0)<=s)return n||(e.pending+=r),e.pos+=c,!0;for(a=l=f;(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(f,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},pi={};pi.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 gd(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)}}pi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(gd(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&gd(e,s[n].delimiters)};var gi={};gi.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 md(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--))}gi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(md(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&md(e,s[n].delimiters)};var vue=ze.normalizeReference,Gi=ze.isSpace,wue=function(e,n){var s,o,r,i,a,l,c,u,f,h="",g="",p=e.pos,m=e.posMax,v=e.pos,_=!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(_=!1,l++;l<m&&(o=e.src.charCodeAt(l),!(!Gi(o)&&o!==10));l++);if(l>=m)return!1;if(v=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?l=c.pos:h="",v=l;l<m&&(o=e.src.charCodeAt(l),!(!Gi(o)&&o!==10));l++);if(c=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<m&&v!==l&&c.ok)for(g=c.str,l=c.pos;l<m&&(o=e.src.charCodeAt(l),!(!Gi(o)&&o!==10));l++);}(l>=m||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l<m&&e.src.charCodeAt(l)===91?(v=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(v,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[vue(r)],!u)return e.pos=p,!1;h=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,f=e.push("link_open","a",1),f.attrs=s=[["href",h]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},xue=ze.normalizeReference,Ki=ze.isSpace,kue=function(e,n){var s,o,r,i,a,l,c,u,f,h,g,p,m,v="",_=e.pos,b=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(c=a+1,c<b&&e.src.charCodeAt(c)===40){for(c++;c<b&&(o=e.src.charCodeAt(c),!(!Ki(o)&&o!==10));c++);if(c>=b)return!1;for(m=c,f=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?c=f.pos:v=""),m=c;c<b&&(o=e.src.charCodeAt(c),!(!Ki(o)&&o!==10));c++);if(f=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<b&&m!==c&&f.ok)for(h=f.str,c=f.pos;c<b&&(o=e.src.charCodeAt(c),!(!Ki(o)&&o!==10));c++);else h="";if(c>=b||e.src.charCodeAt(c)!==41)return e.pos=_,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c<b&&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[xue(i)],!u)return e.pos=_,!1;v=u.href,h=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,p=[]),g=e.push("image","img",0),g.attrs=s=[["src",v],["alt",""]],g.children=p,g.content=r,h&&s.push(["title",h])),e.pos=c,e.posMax=b,!0},Eue=/^([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])?)*)$/,Cue=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Aue=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),Cue.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):Eue.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},Sue=di.HTML_TAG_RE;function Tue(t){return/^<a[>\s]/i.test(t)}function Mue(t){return/^<\/a\s*>/i.test(t)}function Oue(t){var e=t|32;return e>=97&&e<=122}var Rue=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&&!Oue(s))||(o=e.src.slice(a).match(Sue),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Tue(i.content)&&e.linkLevel++,Mue(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},_d=tg,Nue=ze.has,Due=ze.isValidEntityCode,bd=ze.fromCodePoint,Lue=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Iue=/^&([a-z][a-z0-9]{1,31});/i,Pue=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(Lue),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=Due(o)?bd(o):bd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Iue),r&&Nue(_d,r[1]))return n||(i=e.push("text_special","",0),i.content=_d[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function yd(t,e){var n,s,o,r,i,a,l,c,u={},f=e.length;if(f){var h=0,g=-2,p=[];for(n=0;n<f;n++)if(o=e[n],p.push(0),(e[h].marker!==o.marker||g!==o.token-1)&&(h=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=h-p[h]-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 Fue=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(yd(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&yd(e,s[n].delimiters)},Bue=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)},ic=sc,vd=ze.isWhiteSpace,wd=ze.isPunctChar,xd=ze.isMdAsciiPunct;function Lo(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}Lo.prototype.pushPending=function(){var t=new ic("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};Lo.prototype.push=function(t,e,n){this.pending&&this.pushPending();var s=new ic(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};Lo.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,u,f,h=!0,g=!0,p=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n<p&&this.src.charCodeAt(n)===m;)n++;return r=n-t,o=n<p?this.src.charCodeAt(n):32,c=xd(s)||wd(String.fromCharCode(s)),f=xd(o)||wd(String.fromCharCode(o)),l=vd(s),u=vd(o),u?h=!1:f&&(l||c||(h=!1)),l?g=!1:c&&(u||f||(g=!1)),e?(i=h,a=g):(i=h&&(!g||c),a=g&&(!h||f)),{can_open:i,can_close:a,length:r}};Lo.prototype.Token=ic;var $ue=Lo,kd=nc,Wi=[["text",fue],["linkify",pue],["newline",mue],["escape",bue],["backticks",yue],["strikethrough",pi.tokenize],["emphasis",gi.tokenize],["link",wue],["image",kue],["autolink",Aue],["html_inline",Rue],["entity",Pue]],Zi=[["balance_pairs",Fue],["strikethrough",pi.postProcess],["emphasis",gi.postProcess],["fragments_join",Bue]];function Io(){var t;for(this.ruler=new kd,t=0;t<Wi.length;t++)this.ruler.push(Wi[t][0],Wi[t][1]);for(this.ruler2=new kd,t=0;t<Zi.length;t++)this.ruler2.push(Zi[t][0],Zi[t][1])}Io.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};Io.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()};Io.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)};Io.prototype.State=$ue;var jue=Io,Yi,Ed;function zue(){return Ed||(Ed=1,Yi=function(t){var e={};t=t||{},e.src_Any=ng().source,e.src_Cc=sg().source,e.src_Z=og().source,e.src_P=tc.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}),Yi}function cl(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 mi(t){return Object.prototype.toString.call(t)}function Uue(t){return mi(t)==="[object String]"}function que(t){return mi(t)==="[object Object]"}function Hue(t){return mi(t)==="[object RegExp]"}function Cd(t){return mi(t)==="[object Function]"}function Vue(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var dg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Gue(t){return Object.keys(t||{}).reduce(function(e,n){return e||dg.hasOwnProperty(n)},!1)}var Kue={"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}}},Wue="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]",Zue="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Yue(t){t.__index__=-1,t.__text_cache__=""}function Que(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Ad(){return function(t,e){e.normalize(t)}}function Sr(t){var e=t.re=zue()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Wue),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,que(l)){Hue(l.validate)?c.validate=Que(l.validate):Cd(l.validate)?c.validate=l.validate:r(a,l),Cd(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Ad();return}if(Uue(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:Ad()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(Vue).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"),Yue(t)}function Jue(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 ul(t,e){var n=new Jue(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function _t(t,e){if(!(this instanceof _t))return new _t(t,e);e||Gue(t)&&(e=t,t={}),this.__opts__=cl({},dg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=cl({},Kue,t),this.__compiled__={},this.__tlds__=Zue,this.__tlds_replaced__=!1,this.re={},Sr(this)}_t.prototype.add=function(e,n){return this.__schemas__[e]=n,Sr(this),this};_t.prototype.set=function(e){return this.__opts__=cl(this.__opts__,e),this};_t.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};_t.prototype.pretest=function(e){return this.re.pretest.test(e)};_t.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};_t.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(ul(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(ul(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};_t.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,ul(this,0)):null};_t.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(),Sr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Sr(this),this)};_t.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};_t.prototype.onCompile=function(){};var Xue=_t;const xs=2147483647,Ht=36,ac=1,Co=26,ede=38,tde=700,fg=72,hg=128,pg="-",nde=/^xn--/,sde=/[^\0-\x7F]/,ode=/[\x2E\u3002\uFF0E\uFF61]/g,rde={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qi=Ht-ac,Vt=Math.floor,Ji=String.fromCharCode;function yn(t){throw new RangeError(rde[t])}function ide(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function gg(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(ode,".");const o=t.split("."),r=ide(o,e).join(".");return s+r}function lc(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 mg=t=>String.fromCodePoint(...t),ade=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Ht},Sd=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},_g=function(t,e,n){let s=0;for(t=n?Vt(t/tde):t>>1,t+=Vt(t/e);t>Qi*Co>>1;s+=Ht)t=Vt(t/Qi);return Vt(s+(Qi+1)*t/(t+ede))},cc=function(t){const e=[],n=t.length;let s=0,o=hg,r=fg,i=t.lastIndexOf(pg);i<0&&(i=0);for(let a=0;a<i;++a)t.charCodeAt(a)>=128&&yn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a<n;){const l=s;for(let u=1,f=Ht;;f+=Ht){a>=n&&yn("invalid-input");const h=ade(t.charCodeAt(a++));h>=Ht&&yn("invalid-input"),h>Vt((xs-s)/u)&&yn("overflow"),s+=h*u;const g=f<=r?ac:f>=r+Co?Co:f-r;if(h<g)break;const p=Ht-g;u>Vt(xs/p)&&yn("overflow"),u*=p}const c=e.length+1;r=_g(s-l,c,l==0),Vt(s/c)>xs-o&&yn("overflow"),o+=Vt(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},uc=function(t){const e=[];t=lc(t);const n=t.length;let s=hg,o=0,r=fg;for(const l of t)l<128&&e.push(Ji(l));const i=e.length;let a=i;for(i&&e.push(pg);a<n;){let l=xs;for(const u of t)u>=s&&u<l&&(l=u);const c=a+1;l-s>Vt((xs-o)/c)&&yn("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(u<s&&++o>xs&&yn("overflow"),u===s){let f=o;for(let h=Ht;;h+=Ht){const g=h<=r?ac:h>=r+Co?Co:h-r;if(f<g)break;const p=f-g,m=Ht-g;e.push(Ji(Sd(g+p%m,0))),f=Vt(p/m)}e.push(Ji(Sd(f,0))),r=_g(o,c,a===i),o=0,++a}++o,++s}return e.join("")},bg=function(t){return gg(t,function(e){return nde.test(e)?cc(e.slice(4).toLowerCase()):e})},yg=function(t){return gg(t,function(e){return sde.test(e)?"xn--"+uc(e):e})},lde={version:"2.1.0",ucs2:{decode:lc,encode:mg},decode:cc,encode:uc,toASCII:yg,toUnicode:bg},cde=Object.freeze(Object.defineProperty({__proto__:null,decode:cc,default:lde,encode:uc,toASCII:yg,toUnicode:bg,ucs2decode:lc,ucs2encode:mg},Symbol.toStringTag,{value:"Module"})),ude=Hy(cde);var dde={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},fde={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"]}}},hde={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"]}}},ao=ze,pde=ui,gde=lce,mde=Nce,_de=uue,bde=jue,yde=Xue,Gn=Vs,vg=ude,vde={default:dde,zero:fde,commonmark:hde},wde=/^(vbscript|javascript|file|data):/,xde=/^data:image\/(gif|png|jpeg|webp);/;function kde(t){var e=t.trim().toLowerCase();return wde.test(e)?!!xde.test(e):!0}var wg=["http:","https:","mailto:"];function Ede(t){var e=Gn.parse(t,!0);if(e.hostname&&(!e.protocol||wg.indexOf(e.protocol)>=0))try{e.hostname=vg.toASCII(e.hostname)}catch{}return Gn.encode(Gn.format(e))}function Cde(t){var e=Gn.parse(t,!0);if(e.hostname&&(!e.protocol||wg.indexOf(e.protocol)>=0))try{e.hostname=vg.toUnicode(e.hostname)}catch{}return Gn.decode(Gn.format(e),Gn.decode.defaultChars+"%")}function At(t,e){if(!(this instanceof At))return new At(t,e);e||ao.isString(t)||(e=t||{},t="default"),this.inline=new bde,this.block=new _de,this.core=new mde,this.renderer=new gde,this.linkify=new yde,this.validateLink=kde,this.normalizeLink=Ede,this.normalizeLinkText=Cde,this.utils=ao,this.helpers=ao.assign({},pde),this.options={},this.configure(t),e&&this.set(e)}At.prototype.set=function(t){return ao.assign(this.options,t),this};At.prototype.configure=function(t){var e=this,n;if(ao.isString(t)&&(n=t,t=vde[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};At.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};At.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};At.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};At.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};At.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};At.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};At.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Ade=At,Sde=Ade;const Tde=rs(Sde),Mde="😀",Ode="😃",Rde="😄",Nde="😁",Dde="😆",Lde="😆",Ide="😅",Pde="🤣",Fde="😂",Bde="🙂",$de="🙃",jde="😉",zde="😊",Ude="😇",qde="🥰",Hde="😍",Vde="🤩",Gde="😘",Kde="😗",Wde="☺️",Zde="😚",Yde="😙",Qde="🥲",Jde="😋",Xde="😛",efe="😜",tfe="🤪",nfe="😝",sfe="🤑",ofe="🤗",rfe="🤭",ife="🤫",afe="🤔",lfe="🤐",cfe="🤨",ufe="😐",dfe="😑",ffe="😶",hfe="😏",pfe="😒",gfe="🙄",mfe="😬",_fe="🤥",bfe="😌",yfe="😔",vfe="😪",wfe="🤤",xfe="😴",kfe="😷",Efe="🤒",Cfe="🤕",Afe="🤢",Sfe="🤮",Tfe="🤧",Mfe="🥵",Ofe="🥶",Rfe="🥴",Nfe="😵",Dfe="🤯",Lfe="🤠",Ife="🥳",Pfe="🥸",Ffe="😎",Bfe="🤓",$fe="🧐",jfe="😕",zfe="😟",Ufe="🙁",qfe="☹️",Hfe="😮",Vfe="😯",Gfe="😲",Kfe="😳",Wfe="🥺",Zfe="😦",Yfe="😧",Qfe="😨",Jfe="😰",Xfe="😥",ehe="😢",the="😭",nhe="😱",she="😖",ohe="😣",rhe="😞",ihe="😓",ahe="😩",lhe="😫",che="🥱",uhe="😤",dhe="😡",fhe="😡",hhe="😠",phe="🤬",ghe="😈",mhe="👿",_he="💀",bhe="☠️",yhe="💩",vhe="💩",whe="💩",xhe="🤡",khe="👹",Ehe="👺",Che="👻",Ahe="👽",She="👾",The="🤖",Mhe="😺",Ohe="😸",Rhe="😹",Nhe="😻",Dhe="😼",Lhe="😽",Ihe="🙀",Phe="😿",Fhe="😾",Bhe="🙈",$he="🙉",jhe="🙊",zhe="💋",Uhe="💌",qhe="💘",Hhe="💝",Vhe="💖",Ghe="💗",Khe="💓",Whe="💞",Zhe="💕",Yhe="💟",Qhe="❣️",Jhe="💔",Xhe="❤️",epe="🧡",tpe="💛",npe="💚",spe="💙",ope="💜",rpe="🤎",ipe="🖤",ape="🤍",lpe="💢",cpe="💥",upe="💥",dpe="💫",fpe="💦",hpe="💨",ppe="🕳️",gpe="💣",mpe="💬",_pe="👁️‍🗨️",bpe="🗨️",ype="🗯️",vpe="💭",wpe="💤",xpe="👋",kpe="🤚",Epe="🖐️",Cpe="✋",Ape="✋",Spe="🖖",Tpe="👌",Mpe="🤌",Ope="🤏",Rpe="✌️",Npe="🤞",Dpe="🤟",Lpe="🤘",Ipe="🤙",Ppe="👈",Fpe="👉",Bpe="👆",$pe="🖕",jpe="🖕",zpe="👇",Upe="☝️",qpe="👍",Hpe="👎",Vpe="✊",Gpe="✊",Kpe="👊",Wpe="👊",Zpe="👊",Ype="🤛",Qpe="🤜",Jpe="👏",Xpe="🙌",ege="👐",tge="🤲",nge="🤝",sge="🙏",oge="✍️",rge="💅",ige="🤳",age="💪",lge="🦾",cge="🦿",uge="🦵",dge="🦶",fge="👂",hge="🦻",pge="👃",gge="🧠",mge="🫀",_ge="🫁",bge="🦷",yge="🦴",vge="👀",wge="👁️",xge="👅",kge="👄",Ege="👶",Cge="🧒",Age="👦",Sge="👧",Tge="🧑",Mge="👱",Oge="👨",Rge="🧔",Nge="👨‍🦰",Dge="👨‍🦱",Lge="👨‍🦳",Ige="👨‍🦲",Pge="👩",Fge="👩‍🦰",Bge="🧑‍🦰",$ge="👩‍🦱",jge="🧑‍🦱",zge="👩‍🦳",Uge="🧑‍🦳",qge="👩‍🦲",Hge="🧑‍🦲",Vge="👱‍♀️",Gge="👱‍♀️",Kge="👱‍♂️",Wge="🧓",Zge="👴",Yge="👵",Qge="🙍",Jge="🙍‍♂️",Xge="🙍‍♀️",eme="🙎",tme="🙎‍♂️",nme="🙎‍♀️",sme="🙅",ome="🙅‍♂️",rme="🙅‍♂️",ime="🙅‍♀️",ame="🙅‍♀️",lme="🙆",cme="🙆‍♂️",ume="🙆‍♀️",dme="💁",fme="💁",hme="💁‍♂️",pme="💁‍♂️",gme="💁‍♀️",mme="💁‍♀️",_me="🙋",bme="🙋‍♂️",yme="🙋‍♀️",vme="🧏",wme="🧏‍♂️",xme="🧏‍♀️",kme="🙇",Eme="🙇‍♂️",Cme="🙇‍♀️",Ame="🤦",Sme="🤦‍♂️",Tme="🤦‍♀️",Mme="🤷",Ome="🤷‍♂️",Rme="🤷‍♀️",Nme="🧑‍⚕️",Dme="👨‍⚕️",Lme="👩‍⚕️",Ime="🧑‍🎓",Pme="👨‍🎓",Fme="👩‍🎓",Bme="🧑‍🏫",$me="👨‍🏫",jme="👩‍🏫",zme="🧑‍⚖️",Ume="👨‍⚖️",qme="👩‍⚖️",Hme="🧑‍🌾",Vme="👨‍🌾",Gme="👩‍🌾",Kme="🧑‍🍳",Wme="👨‍🍳",Zme="👩‍🍳",Yme="🧑‍🔧",Qme="👨‍🔧",Jme="👩‍🔧",Xme="🧑‍🏭",e_e="👨‍🏭",t_e="👩‍🏭",n_e="🧑‍💼",s_e="👨‍💼",o_e="👩‍💼",r_e="🧑‍🔬",i_e="👨‍🔬",a_e="👩‍🔬",l_e="🧑‍💻",c_e="👨‍💻",u_e="👩‍💻",d_e="🧑‍🎤",f_e="👨‍🎤",h_e="👩‍🎤",p_e="🧑‍🎨",g_e="👨‍🎨",m_e="👩‍🎨",__e="🧑‍✈️",b_e="👨‍✈️",y_e="👩‍✈️",v_e="🧑‍🚀",w_e="👨‍🚀",x_e="👩‍🚀",k_e="🧑‍🚒",E_e="👨‍🚒",C_e="👩‍🚒",A_e="👮",S_e="👮",T_e="👮‍♂️",M_e="👮‍♀️",O_e="🕵️",R_e="🕵️‍♂️",N_e="🕵️‍♀️",D_e="💂",L_e="💂‍♂️",I_e="💂‍♀️",P_e="🥷",F_e="👷",B_e="👷‍♂️",$_e="👷‍♀️",j_e="🤴",z_e="👸",U_e="👳",q_e="👳‍♂️",H_e="👳‍♀️",V_e="👲",G_e="🧕",K_e="🤵",W_e="🤵‍♂️",Z_e="🤵‍♀️",Y_e="👰",Q_e="👰‍♂️",J_e="👰‍♀️",X_e="👰‍♀️",e1e="🤰",t1e="🤱",n1e="👩‍🍼",s1e="👨‍🍼",o1e="🧑‍🍼",r1e="👼",i1e="🎅",a1e="🤶",l1e="🧑‍🎄",c1e="🦸",u1e="🦸‍♂️",d1e="🦸‍♀️",f1e="🦹",h1e="🦹‍♂️",p1e="🦹‍♀️",g1e="🧙",m1e="🧙‍♂️",_1e="🧙‍♀️",b1e="🧚",y1e="🧚‍♂️",v1e="🧚‍♀️",w1e="🧛",x1e="🧛‍♂️",k1e="🧛‍♀️",E1e="🧜",C1e="🧜‍♂️",A1e="🧜‍♀️",S1e="🧝",T1e="🧝‍♂️",M1e="🧝‍♀️",O1e="🧞",R1e="🧞‍♂️",N1e="🧞‍♀️",D1e="🧟",L1e="🧟‍♂️",I1e="🧟‍♀️",P1e="💆",F1e="💆‍♂️",B1e="💆‍♀️",$1e="💇",j1e="💇‍♂️",z1e="💇‍♀️",U1e="🚶",q1e="🚶‍♂️",H1e="🚶‍♀️",V1e="🧍",G1e="🧍‍♂️",K1e="🧍‍♀️",W1e="🧎",Z1e="🧎‍♂️",Y1e="🧎‍♀️",Q1e="🧑‍🦯",J1e="👨‍🦯",X1e="👩‍🦯",e0e="🧑‍🦼",t0e="👨‍🦼",n0e="👩‍🦼",s0e="🧑‍🦽",o0e="👨‍🦽",r0e="👩‍🦽",i0e="🏃",a0e="🏃",l0e="🏃‍♂️",c0e="🏃‍♀️",u0e="💃",d0e="💃",f0e="🕺",h0e="🕴️",p0e="👯",g0e="👯‍♂️",m0e="👯‍♀️",_0e="🧖",b0e="🧖‍♂️",y0e="🧖‍♀️",v0e="🧗",w0e="🧗‍♂️",x0e="🧗‍♀️",k0e="🤺",E0e="🏇",C0e="⛷️",A0e="🏂",S0e="🏌️",T0e="🏌️‍♂️",M0e="🏌️‍♀️",O0e="🏄",R0e="🏄‍♂️",N0e="🏄‍♀️",D0e="🚣",L0e="🚣‍♂️",I0e="🚣‍♀️",P0e="🏊",F0e="🏊‍♂️",B0e="🏊‍♀️",$0e="⛹️",j0e="⛹️‍♂️",z0e="⛹️‍♂️",U0e="⛹️‍♀️",q0e="⛹️‍♀️",H0e="🏋️",V0e="🏋️‍♂️",G0e="🏋️‍♀️",K0e="🚴",W0e="🚴‍♂️",Z0e="🚴‍♀️",Y0e="🚵",Q0e="🚵‍♂️",J0e="🚵‍♀️",X0e="🤸",ebe="🤸‍♂️",tbe="🤸‍♀️",nbe="🤼",sbe="🤼‍♂️",obe="🤼‍♀️",rbe="🤽",ibe="🤽‍♂️",abe="🤽‍♀️",lbe="🤾",cbe="🤾‍♂️",ube="🤾‍♀️",dbe="🤹",fbe="🤹‍♂️",hbe="🤹‍♀️",pbe="🧘",gbe="🧘‍♂️",mbe="🧘‍♀️",_be="🛀",bbe="🛌",ybe="🧑‍🤝‍🧑",vbe="👭",wbe="👫",xbe="👬",kbe="💏",Ebe="👩‍❤️‍💋‍👨",Cbe="👨‍❤️‍💋‍👨",Abe="👩‍❤️‍💋‍👩",Sbe="💑",Tbe="👩‍❤️‍👨",Mbe="👨‍❤️‍👨",Obe="👩‍❤️‍👩",Rbe="👪",Nbe="👨‍👩‍👦",Dbe="👨‍👩‍👧",Lbe="👨‍👩‍👧‍👦",Ibe="👨‍👩‍👦‍👦",Pbe="👨‍👩‍👧‍👧",Fbe="👨‍👨‍👦",Bbe="👨‍👨‍👧",$be="👨‍👨‍👧‍👦",jbe="👨‍👨‍👦‍👦",zbe="👨‍👨‍👧‍👧",Ube="👩‍👩‍👦",qbe="👩‍👩‍👧",Hbe="👩‍👩‍👧‍👦",Vbe="👩‍👩‍👦‍👦",Gbe="👩‍👩‍👧‍👧",Kbe="👨‍👦",Wbe="👨‍👦‍👦",Zbe="👨‍👧",Ybe="👨‍👧‍👦",Qbe="👨‍👧‍👧",Jbe="👩‍👦",Xbe="👩‍👦‍👦",eye="👩‍👧",tye="👩‍👧‍👦",nye="👩‍👧‍👧",sye="🗣️",oye="👤",rye="👥",iye="🫂",aye="👣",lye="🐵",cye="🐒",uye="🦍",dye="🦧",fye="🐶",hye="🐕",pye="🦮",gye="🐕‍🦺",mye="🐩",_ye="🐺",bye="🦊",yye="🦝",vye="🐱",wye="🐈",xye="🐈‍⬛",kye="🦁",Eye="🐯",Cye="🐅",Aye="🐆",Sye="🐴",Tye="🐎",Mye="🦄",Oye="🦓",Rye="🦌",Nye="🦬",Dye="🐮",Lye="🐂",Iye="🐃",Pye="🐄",Fye="🐷",Bye="🐖",$ye="🐗",jye="🐽",zye="🐏",Uye="🐑",qye="🐐",Hye="🐪",Vye="🐫",Gye="🦙",Kye="🦒",Wye="🐘",Zye="🦣",Yye="🦏",Qye="🦛",Jye="🐭",Xye="🐁",e2e="🐀",t2e="🐹",n2e="🐰",s2e="🐇",o2e="🐿️",r2e="🦫",i2e="🦔",a2e="🦇",l2e="🐻",c2e="🐻‍❄️",u2e="🐨",d2e="🐼",f2e="🦥",h2e="🦦",p2e="🦨",g2e="🦘",m2e="🦡",_2e="🐾",b2e="🐾",y2e="🦃",v2e="🐔",w2e="🐓",x2e="🐣",k2e="🐤",E2e="🐥",C2e="🐦",A2e="🐧",S2e="🕊️",T2e="🦅",M2e="🦆",O2e="🦢",R2e="🦉",N2e="🦤",D2e="🪶",L2e="🦩",I2e="🦚",P2e="🦜",F2e="🐸",B2e="🐊",$2e="🐢",j2e="🦎",z2e="🐍",U2e="🐲",q2e="🐉",H2e="🦕",V2e="🐳",G2e="🐋",K2e="🐬",W2e="🐬",Z2e="🦭",Y2e="🐟",Q2e="🐠",J2e="🐡",X2e="🦈",eve="🐙",tve="🐚",nve="🐌",sve="🦋",ove="🐛",rve="🐜",ive="🐝",ave="🐝",lve="🪲",cve="🐞",uve="🦗",dve="🪳",fve="🕷️",hve="🕸️",pve="🦂",gve="🦟",mve="🪰",_ve="🪱",bve="🦠",yve="💐",vve="🌸",wve="💮",xve="🏵️",kve="🌹",Eve="🥀",Cve="🌺",Ave="🌻",Sve="🌼",Tve="🌷",Mve="🌱",Ove="🪴",Rve="🌲",Nve="🌳",Dve="🌴",Lve="🌵",Ive="🌾",Pve="🌿",Fve="☘️",Bve="🍀",$ve="🍁",jve="🍂",zve="🍃",Uve="🍇",qve="🍈",Hve="🍉",Vve="🍊",Gve="🍊",Kve="🍊",Wve="🍋",Zve="🍌",Yve="🍍",Qve="🥭",Jve="🍎",Xve="🍏",ewe="🍐",twe="🍑",nwe="🍒",swe="🍓",owe="🫐",rwe="🥝",iwe="🍅",awe="🫒",lwe="🥥",cwe="🥑",uwe="🍆",dwe="🥔",fwe="🥕",hwe="🌽",pwe="🌶️",gwe="🫑",mwe="🥒",_we="🥬",bwe="🥦",ywe="🧄",vwe="🧅",wwe="🍄",xwe="🥜",kwe="🌰",Ewe="🍞",Cwe="🥐",Awe="🥖",Swe="🫓",Twe="🥨",Mwe="🥯",Owe="🥞",Rwe="🧇",Nwe="🧀",Dwe="🍖",Lwe="🍗",Iwe="🥩",Pwe="🥓",Fwe="🍔",Bwe="🍟",$we="🍕",jwe="🌭",zwe="🥪",Uwe="🌮",qwe="🌯",Hwe="🫔",Vwe="🥙",Gwe="🧆",Kwe="🥚",Wwe="🍳",Zwe="🥘",Ywe="🍲",Qwe="🫕",Jwe="🥣",Xwe="🥗",exe="🍿",txe="🧈",nxe="🧂",sxe="🥫",oxe="🍱",rxe="🍘",ixe="🍙",axe="🍚",lxe="🍛",cxe="🍜",uxe="🍝",dxe="🍠",fxe="🍢",hxe="🍣",pxe="🍤",gxe="🍥",mxe="🥮",_xe="🍡",bxe="🥟",yxe="🥠",vxe="🥡",wxe="🦀",xxe="🦞",kxe="🦐",Exe="🦑",Cxe="🦪",Axe="🍦",Sxe="🍧",Txe="🍨",Mxe="🍩",Oxe="🍪",Rxe="🎂",Nxe="🍰",Dxe="🧁",Lxe="🥧",Ixe="🍫",Pxe="🍬",Fxe="🍭",Bxe="🍮",$xe="🍯",jxe="🍼",zxe="🥛",Uxe="☕",qxe="🫖",Hxe="🍵",Vxe="🍶",Gxe="🍾",Kxe="🍷",Wxe="🍸",Zxe="🍹",Yxe="🍺",Qxe="🍻",Jxe="🥂",Xxe="🥃",eke="🥤",tke="🧋",nke="🧃",ske="🧉",oke="🧊",rke="🥢",ike="🍽️",ake="🍴",lke="🥄",cke="🔪",uke="🔪",dke="🏺",fke="🌍",hke="🌎",pke="🌏",gke="🌐",mke="🗺️",_ke="🗾",bke="🧭",yke="🏔️",vke="⛰️",wke="🌋",xke="🗻",kke="🏕️",Eke="🏖️",Cke="🏜️",Ake="🏝️",Ske="🏞️",Tke="🏟️",Mke="🏛️",Oke="🏗️",Rke="🧱",Nke="🪨",Dke="🪵",Lke="🛖",Ike="🏘️",Pke="🏚️",Fke="🏠",Bke="🏡",$ke="🏢",jke="🏣",zke="🏤",Uke="🏥",qke="🏦",Hke="🏨",Vke="🏩",Gke="🏪",Kke="🏫",Wke="🏬",Zke="🏭",Yke="🏯",Qke="🏰",Jke="💒",Xke="🗼",eEe="🗽",tEe="⛪",nEe="🕌",sEe="🛕",oEe="🕍",rEe="⛩️",iEe="🕋",aEe="⛲",lEe="⛺",cEe="🌁",uEe="🌃",dEe="🏙️",fEe="🌄",hEe="🌅",pEe="🌆",gEe="🌇",mEe="🌉",_Ee="♨️",bEe="🎠",yEe="🎡",vEe="🎢",wEe="💈",xEe="🎪",kEe="🚂",EEe="🚃",CEe="🚄",AEe="🚅",SEe="🚆",TEe="🚇",MEe="🚈",OEe="🚉",REe="🚊",NEe="🚝",DEe="🚞",LEe="🚋",IEe="🚌",PEe="🚍",FEe="🚎",BEe="🚐",$Ee="🚑",jEe="🚒",zEe="🚓",UEe="🚔",qEe="🚕",HEe="🚖",VEe="🚗",GEe="🚗",KEe="🚘",WEe="🚙",ZEe="🛻",YEe="🚚",QEe="🚛",JEe="🚜",XEe="🏎️",e5e="🏍️",t5e="🛵",n5e="🦽",s5e="🦼",o5e="🛺",r5e="🚲",i5e="🛴",a5e="🛹",l5e="🛼",c5e="🚏",u5e="🛣️",d5e="🛤️",f5e="🛢️",h5e="⛽",p5e="🚨",g5e="🚥",m5e="🚦",_5e="🛑",b5e="🚧",y5e="⚓",v5e="⛵",w5e="⛵",x5e="🛶",k5e="🚤",E5e="🛳️",C5e="⛴️",A5e="🛥️",S5e="🚢",T5e="✈️",M5e="🛩️",O5e="🛫",R5e="🛬",N5e="🪂",D5e="💺",L5e="🚁",I5e="🚟",P5e="🚠",F5e="🚡",B5e="🛰️",$5e="🚀",j5e="🛸",z5e="🛎️",U5e="🧳",q5e="⌛",H5e="⏳",V5e="⌚",G5e="⏰",K5e="⏱️",W5e="⏲️",Z5e="🕰️",Y5e="🕛",Q5e="🕧",J5e="🕐",X5e="🕜",e4e="🕑",t4e="🕝",n4e="🕒",s4e="🕞",o4e="🕓",r4e="🕟",i4e="🕔",a4e="🕠",l4e="🕕",c4e="🕡",u4e="🕖",d4e="🕢",f4e="🕗",h4e="🕣",p4e="🕘",g4e="🕤",m4e="🕙",_4e="🕥",b4e="🕚",y4e="🕦",v4e="🌑",w4e="🌒",x4e="🌓",k4e="🌔",E4e="🌔",C4e="🌕",A4e="🌖",S4e="🌗",T4e="🌘",M4e="🌙",O4e="🌚",R4e="🌛",N4e="🌜",D4e="🌡️",L4e="☀️",I4e="🌝",P4e="🌞",F4e="🪐",B4e="⭐",$4e="🌟",j4e="🌠",z4e="🌌",U4e="☁️",q4e="⛅",H4e="⛈️",V4e="🌤️",G4e="🌥️",K4e="🌦️",W4e="🌧️",Z4e="🌨️",Y4e="🌩️",Q4e="🌪️",J4e="🌫️",X4e="🌬️",eCe="🌀",tCe="🌈",nCe="🌂",sCe="☂️",oCe="☔",rCe="⛱️",iCe="⚡",aCe="❄️",lCe="☃️",cCe="⛄",uCe="☄️",dCe="🔥",fCe="💧",hCe="🌊",pCe="🎃",gCe="🎄",mCe="🎆",_Ce="🎇",bCe="🧨",yCe="✨",vCe="🎈",wCe="🎉",xCe="🎊",kCe="🎋",ECe="🎍",CCe="🎎",ACe="🎏",SCe="🎐",TCe="🎑",MCe="🧧",OCe="🎀",RCe="🎁",NCe="🎗️",DCe="🎟️",LCe="🎫",ICe="🎖️",PCe="🏆",FCe="🏅",BCe="⚽",$Ce="⚾",jCe="🥎",zCe="🏀",UCe="🏐",qCe="🏈",HCe="🏉",VCe="🎾",GCe="🥏",KCe="🎳",WCe="🏏",ZCe="🏑",YCe="🏒",QCe="🥍",JCe="🏓",XCe="🏸",e3e="🥊",t3e="🥋",n3e="🥅",s3e="⛳",o3e="⛸️",r3e="🎣",i3e="🤿",a3e="🎽",l3e="🎿",c3e="🛷",u3e="🥌",d3e="🎯",f3e="🪀",h3e="🪁",p3e="🔮",g3e="🪄",m3e="🧿",_3e="🎮",b3e="🕹️",y3e="🎰",v3e="🎲",w3e="🧩",x3e="🧸",k3e="🪅",E3e="🪆",C3e="♠️",A3e="♥️",S3e="♦️",T3e="♣️",M3e="♟️",O3e="🃏",R3e="🀄",N3e="🎴",D3e="🎭",L3e="🖼️",I3e="🎨",P3e="🧵",F3e="🪡",B3e="🧶",$3e="🪢",j3e="👓",z3e="🕶️",U3e="🥽",q3e="🥼",H3e="🦺",V3e="👔",G3e="👕",K3e="👕",W3e="👖",Z3e="🧣",Y3e="🧤",Q3e="🧥",J3e="🧦",X3e="👗",e8e="👘",t8e="🥻",n8e="🩱",s8e="🩲",o8e="🩳",r8e="👙",i8e="👚",a8e="👛",l8e="👜",c8e="👝",u8e="🛍️",d8e="🎒",f8e="🩴",h8e="👞",p8e="👞",g8e="👟",m8e="🥾",_8e="🥿",b8e="👠",y8e="👡",v8e="🩰",w8e="👢",x8e="👑",k8e="👒",E8e="🎩",C8e="🎓",A8e="🧢",S8e="🪖",T8e="⛑️",M8e="📿",O8e="💄",R8e="💍",N8e="💎",D8e="🔇",L8e="🔈",I8e="🔉",P8e="🔊",F8e="📢",B8e="📣",$8e="📯",j8e="🔔",z8e="🔕",U8e="🎼",q8e="🎵",H8e="🎶",V8e="🎙️",G8e="🎚️",K8e="🎛️",W8e="🎤",Z8e="🎧",Y8e="📻",Q8e="🎷",J8e="🪗",X8e="🎸",e9e="🎹",t9e="🎺",n9e="🎻",s9e="🪕",o9e="🥁",r9e="🪘",i9e="📱",a9e="📲",l9e="☎️",c9e="☎️",u9e="📞",d9e="📟",f9e="📠",h9e="🔋",p9e="🔌",g9e="💻",m9e="🖥️",_9e="🖨️",b9e="⌨️",y9e="🖱️",v9e="🖲️",w9e="💽",x9e="💾",k9e="💿",E9e="📀",C9e="🧮",A9e="🎥",S9e="🎞️",T9e="📽️",M9e="🎬",O9e="📺",R9e="📷",N9e="📸",D9e="📹",L9e="📼",I9e="🔍",P9e="🔎",F9e="🕯️",B9e="💡",$9e="🔦",j9e="🏮",z9e="🏮",U9e="🪔",q9e="📔",H9e="📕",V9e="📖",G9e="📖",K9e="📗",W9e="📘",Z9e="📙",Y9e="📚",Q9e="📓",J9e="📒",X9e="📃",eAe="📜",tAe="📄",nAe="📰",sAe="🗞️",oAe="📑",rAe="🔖",iAe="🏷️",aAe="💰",lAe="🪙",cAe="💴",uAe="💵",dAe="💶",fAe="💷",hAe="💸",pAe="💳",gAe="🧾",mAe="💹",_Ae="✉️",bAe="📧",yAe="📨",vAe="📩",wAe="📤",xAe="📥",kAe="📫",EAe="📪",CAe="📬",AAe="📭",SAe="📮",TAe="🗳️",MAe="✏️",OAe="✒️",RAe="🖋️",NAe="🖊️",DAe="🖌️",LAe="🖍️",IAe="📝",PAe="📝",FAe="💼",BAe="📁",$Ae="📂",jAe="🗂️",zAe="📅",UAe="📆",qAe="🗒️",HAe="🗓️",VAe="📇",GAe="📈",KAe="📉",WAe="📊",ZAe="📋",YAe="📌",QAe="📍",JAe="📎",XAe="🖇️",eSe="📏",tSe="📐",nSe="✂️",sSe="🗃️",oSe="🗄️",rSe="🗑️",iSe="🔒",aSe="🔓",lSe="🔏",cSe="🔐",uSe="🔑",dSe="🗝️",fSe="🔨",hSe="🪓",pSe="⛏️",gSe="⚒️",mSe="🛠️",_Se="🗡️",bSe="⚔️",ySe="🔫",vSe="🪃",wSe="🏹",xSe="🛡️",kSe="🪚",ESe="🔧",CSe="🪛",ASe="🔩",SSe="⚙️",TSe="🗜️",MSe="⚖️",OSe="🦯",RSe="🔗",NSe="⛓️",DSe="🪝",LSe="🧰",ISe="🧲",PSe="🪜",FSe="⚗️",BSe="🧪",$Se="🧫",jSe="🧬",zSe="🔬",USe="🔭",qSe="📡",HSe="💉",VSe="🩸",GSe="💊",KSe="🩹",WSe="🩺",ZSe="🚪",YSe="🛗",QSe="🪞",JSe="🪟",XSe="🛏️",e6e="🛋️",t6e="🪑",n6e="🚽",s6e="🪠",o6e="🚿",r6e="🛁",i6e="🪤",a6e="🪒",l6e="🧴",c6e="🧷",u6e="🧹",d6e="🧺",f6e="🧻",h6e="🪣",p6e="🧼",g6e="🪥",m6e="🧽",_6e="🧯",b6e="🛒",y6e="🚬",v6e="⚰️",w6e="🪦",x6e="⚱️",k6e="🗿",E6e="🪧",C6e="🏧",A6e="🚮",S6e="🚰",T6e="♿",M6e="🚹",O6e="🚺",R6e="🚻",N6e="🚼",D6e="🚾",L6e="🛂",I6e="🛃",P6e="🛄",F6e="🛅",B6e="⚠️",$6e="🚸",j6e="⛔",z6e="🚫",U6e="🚳",q6e="🚭",H6e="🚯",V6e="🚷",G6e="📵",K6e="🔞",W6e="☢️",Z6e="☣️",Y6e="⬆️",Q6e="↗️",J6e="➡️",X6e="↘️",eTe="⬇️",tTe="↙️",nTe="⬅️",sTe="↖️",oTe="↕️",rTe="↔️",iTe="↩️",aTe="↪️",lTe="⤴️",cTe="⤵️",uTe="🔃",dTe="🔄",fTe="🔙",hTe="🔚",pTe="🔛",gTe="🔜",mTe="🔝",_Te="🛐",bTe="⚛️",yTe="🕉️",vTe="✡️",wTe="☸️",xTe="☯️",kTe="✝️",ETe="☦️",CTe="☪️",ATe="☮️",STe="🕎",TTe="🔯",MTe="♈",OTe="♉",RTe="♊",NTe="♋",DTe="♌",LTe="♍",ITe="♎",PTe="♏",FTe="♐",BTe="♑",$Te="♒",jTe="♓",zTe="⛎",UTe="🔀",qTe="🔁",HTe="🔂",VTe="▶️",GTe="⏩",KTe="⏭️",WTe="⏯️",ZTe="◀️",YTe="⏪",QTe="⏮️",JTe="🔼",XTe="⏫",e7e="🔽",t7e="⏬",n7e="⏸️",s7e="⏹️",o7e="⏺️",r7e="⏏️",i7e="🎦",a7e="🔅",l7e="🔆",c7e="📶",u7e="📳",d7e="📴",f7e="♀️",h7e="♂️",p7e="⚧️",g7e="✖️",m7e="",_7e="",b7e="➗",y7e="♾️",v7e="‼️",w7e="⁉️",x7e="❓",k7e="❔",E7e="❕",C7e="❗",A7e="❗",S7e="〰️",T7e="💱",M7e="💲",O7e="⚕️",R7e="♻️",N7e="⚜️",D7e="🔱",L7e="📛",I7e="🔰",P7e="⭕",F7e="✅",B7e="☑️",$7e="✔️",j7e="❌",z7e="❎",U7e="➰",q7e="➿",H7e="〽️",V7e="✳️",G7e="✴️",K7e="❇️",W7e="©️",Z7e="®️",Y7e="™️",Q7e="#️⃣",J7e="*️⃣",X7e="0⃣",eMe="1⃣",tMe="2⃣",nMe="3⃣",sMe="4⃣",oMe="5⃣",rMe="6⃣",iMe="7⃣",aMe="8⃣",lMe="9⃣",cMe="🔟",uMe="🔠",dMe="🔡",fMe="🔣",hMe="🔤",pMe="🅰️",gMe="🆎",mMe="🅱️",_Me="🆑",bMe="🆒",yMe="🆓",vMe="",wMe="🆔",xMe="Ⓜ️",kMe="🆖",EMe="🅾️",CMe="🆗",AMe="🅿️",SMe="🆘",TMe="🆙",MMe="🆚",OMe="🈁",RMe="🈂️",NMe="🉐",DMe="🉑",LMe="㊗️",IMe="㊙️",PMe="🈵",FMe="🔴",BMe="🟠",$Me="🟡",jMe="🟢",zMe="🔵",UMe="🟣",qMe="🟤",HMe="⚫",VMe="⚪",GMe="🟥",KMe="🟧",WMe="🟨",ZMe="🟩",YMe="🟦",QMe="🟪",JMe="🟫",XMe="⬛",eOe="⬜",tOe="◼️",nOe="◻️",sOe="◾",oOe="◽",rOe="▪️",iOe="▫️",aOe="🔶",lOe="🔷",cOe="🔸",uOe="🔹",dOe="🔺",fOe="🔻",hOe="💠",pOe="🔘",gOe="🔳",mOe="🔲",_Oe="🏁",bOe="🚩",yOe="🎌",vOe="🏴",wOe="🏳️",xOe="🏳️‍🌈",kOe="🏳️‍⚧️",EOe="🏴‍☠️",COe="🇦🇨",AOe="🇦🇩",SOe="🇦🇪",TOe="🇦🇫",MOe="🇦🇬",OOe="🇦🇮",ROe="🇦🇱",NOe="🇦🇲",DOe="🇦🇴",LOe="🇦🇶",IOe="🇦🇷",POe="🇦🇸",FOe="🇦🇹",BOe="🇦🇺",$Oe="🇦🇼",jOe="🇦🇽",zOe="🇦🇿",UOe="🇧🇦",qOe="🇧🇧",HOe="🇧🇩",VOe="🇧🇪",GOe="🇧🇫",KOe="🇧🇬",WOe="🇧🇭",ZOe="🇧🇮",YOe="🇧🇯",QOe="🇧🇱",JOe="🇧🇲",XOe="🇧🇳",eRe="🇧🇴",tRe="🇧🇶",nRe="🇧🇷",sRe="🇧🇸",oRe="🇧🇹",rRe="🇧🇻",iRe="🇧🇼",aRe="🇧🇾",lRe="🇧🇿",cRe="🇨🇦",uRe="🇨🇨",dRe="🇨🇩",fRe="🇨🇫",hRe="🇨🇬",pRe="🇨🇭",gRe="🇨🇮",mRe="🇨🇰",_Re="🇨🇱",bRe="🇨🇲",yRe="🇨🇳",vRe="🇨🇴",wRe="🇨🇵",xRe="🇨🇷",kRe="🇨🇺",ERe="🇨🇻",CRe="🇨🇼",ARe="🇨🇽",SRe="🇨🇾",TRe="🇨🇿",MRe="🇩🇪",ORe="🇩🇬",RRe="🇩🇯",NRe="🇩🇰",DRe="🇩🇲",LRe="🇩🇴",IRe="🇩🇿",PRe="🇪🇦",FRe="🇪🇨",BRe="🇪🇪",$Re="🇪🇬",jRe="🇪🇭",zRe="🇪🇷",URe="🇪🇸",qRe="🇪🇹",HRe="🇪🇺",VRe="🇪🇺",GRe="🇫🇮",KRe="🇫🇯",WRe="🇫🇰",ZRe="🇫🇲",YRe="🇫🇴",QRe="🇫🇷",JRe="🇬🇦",XRe="🇬🇧",eNe="🇬🇧",tNe="🇬🇩",nNe="🇬🇪",sNe="🇬🇫",oNe="🇬🇬",rNe="🇬🇭",iNe="🇬🇮",aNe="🇬🇱",lNe="🇬🇲",cNe="🇬🇳",uNe="🇬🇵",dNe="🇬🇶",fNe="🇬🇷",hNe="🇬🇸",pNe="🇬🇹",gNe="🇬🇺",mNe="🇬🇼",_Ne="🇬🇾",bNe="🇭🇰",yNe="🇭🇲",vNe="🇭🇳",wNe="🇭🇷",xNe="🇭🇹",kNe="🇭🇺",ENe="🇮🇨",CNe="🇮🇩",ANe="🇮🇪",SNe="🇮🇱",TNe="🇮🇲",MNe="🇮🇳",ONe="🇮🇴",RNe="🇮🇶",NNe="🇮🇷",DNe="🇮🇸",LNe="🇮🇹",INe="🇯🇪",PNe="🇯🇲",FNe="🇯🇴",BNe="🇯🇵",$Ne="🇰🇪",jNe="🇰🇬",zNe="🇰🇭",UNe="🇰🇮",qNe="🇰🇲",HNe="🇰🇳",VNe="🇰🇵",GNe="🇰🇷",KNe="🇰🇼",WNe="🇰🇾",ZNe="🇰🇿",YNe="🇱🇦",QNe="🇱🇧",JNe="🇱🇨",XNe="🇱🇮",eDe="🇱🇰",tDe="🇱🇷",nDe="🇱🇸",sDe="🇱🇹",oDe="🇱🇺",rDe="🇱🇻",iDe="🇱🇾",aDe="🇲🇦",lDe="🇲🇨",cDe="🇲🇩",uDe="🇲🇪",dDe="🇲🇫",fDe="🇲🇬",hDe="🇲🇭",pDe="🇲🇰",gDe="🇲🇱",mDe="🇲🇲",_De="🇲🇳",bDe="🇲🇴",yDe="🇲🇵",vDe="🇲🇶",wDe="🇲🇷",xDe="🇲🇸",kDe="🇲🇹",EDe="🇲🇺",CDe="🇲🇻",ADe="🇲🇼",SDe="🇲🇽",TDe="🇲🇾",MDe="🇲🇿",ODe="🇳🇦",RDe="🇳🇨",NDe="🇳🇪",DDe="🇳🇫",LDe="🇳🇬",IDe="🇳🇮",PDe="🇳🇱",FDe="🇳🇴",BDe="🇳🇵",$De="🇳🇷",jDe="🇳🇺",zDe="🇳🇿",UDe="🇴🇲",qDe="🇵🇦",HDe="🇵🇪",VDe="🇵🇫",GDe="🇵🇬",KDe="🇵🇭",WDe="🇵🇰",ZDe="🇵🇱",YDe="🇵🇲",QDe="🇵🇳",JDe="🇵🇷",XDe="🇵🇸",eLe="🇵🇹",tLe="🇵🇼",nLe="🇵🇾",sLe="🇶🇦",oLe="🇷🇪",rLe="🇷🇴",iLe="🇷🇸",aLe="🇷🇺",lLe="🇷🇼",cLe="🇸🇦",uLe="🇸🇧",dLe="🇸🇨",fLe="🇸🇩",hLe="🇸🇪",pLe="🇸🇬",gLe="🇸🇭",mLe="🇸🇮",_Le="🇸🇯",bLe="🇸🇰",yLe="🇸🇱",vLe="🇸🇲",wLe="🇸🇳",xLe="🇸🇴",kLe="🇸🇷",ELe="🇸🇸",CLe="🇸🇹",ALe="🇸🇻",SLe="🇸🇽",TLe="🇸🇾",MLe="🇸🇿",OLe="🇹🇦",RLe="🇹🇨",NLe="🇹🇩",DLe="🇹🇫",LLe="🇹🇬",ILe="🇹🇭",PLe="🇹🇯",FLe="🇹🇰",BLe="🇹🇱",$Le="🇹🇲",jLe="🇹🇳",zLe="🇹🇴",ULe="🇹🇷",qLe="🇹🇹",HLe="🇹🇻",VLe="🇹🇼",GLe="🇹🇿",KLe="🇺🇦",WLe="🇺🇬",ZLe="🇺🇲",YLe="🇺🇳",QLe="🇺🇸",JLe="🇺🇾",XLe="🇺🇿",eIe="🇻🇦",tIe="🇻🇨",nIe="🇻🇪",sIe="🇻🇬",oIe="🇻🇮",rIe="🇻🇳",iIe="🇻🇺",aIe="🇼🇫",lIe="🇼🇸",cIe="🇽🇰",uIe="🇾🇪",dIe="🇾🇹",fIe="🇿🇦",hIe="🇿🇲",pIe="🇿🇼",gIe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",mIe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",_Ie="🏴󠁧󠁢󠁷󠁬󠁳󠁿",bIe={100:"💯",1234:"🔢",grinning:Mde,smiley:Ode,smile:Rde,grin:Nde,laughing:Dde,satisfied:Lde,sweat_smile:Ide,rofl:Pde,joy:Fde,slightly_smiling_face:Bde,upside_down_face:$de,wink:jde,blush:zde,innocent:Ude,smiling_face_with_three_hearts:qde,heart_eyes:Hde,star_struck:Vde,kissing_heart:Gde,kissing:Kde,relaxed:Wde,kissing_closed_eyes:Zde,kissing_smiling_eyes:Yde,smiling_face_with_tear:Qde,yum:Jde,stuck_out_tongue:Xde,stuck_out_tongue_winking_eye:efe,zany_face:tfe,stuck_out_tongue_closed_eyes:nfe,money_mouth_face:sfe,hugs:ofe,hand_over_mouth:rfe,shushing_face:ife,thinking:afe,zipper_mouth_face:lfe,raised_eyebrow:cfe,neutral_face:ufe,expressionless:dfe,no_mouth:ffe,smirk:hfe,unamused:pfe,roll_eyes:gfe,grimacing:mfe,lying_face:_fe,relieved:bfe,pensive:yfe,sleepy:vfe,drooling_face:wfe,sleeping:xfe,mask:kfe,face_with_thermometer:Efe,face_with_head_bandage:Cfe,nauseated_face:Afe,vomiting_face:Sfe,sneezing_face:Tfe,hot_face:Mfe,cold_face:Ofe,woozy_face:Rfe,dizzy_face:Nfe,exploding_head:Dfe,cowboy_hat_face:Lfe,partying_face:Ife,disguised_face:Pfe,sunglasses:Ffe,nerd_face:Bfe,monocle_face:$fe,confused:jfe,worried:zfe,slightly_frowning_face:Ufe,frowning_face:qfe,open_mouth:Hfe,hushed:Vfe,astonished:Gfe,flushed:Kfe,pleading_face:Wfe,frowning:Zfe,anguished:Yfe,fearful:Qfe,cold_sweat:Jfe,disappointed_relieved:Xfe,cry:ehe,sob:the,scream:nhe,confounded:she,persevere:ohe,disappointed:rhe,sweat:ihe,weary:ahe,tired_face:lhe,yawning_face:che,triumph:uhe,rage:dhe,pout:fhe,angry:hhe,cursing_face:phe,smiling_imp:ghe,imp:mhe,skull:_he,skull_and_crossbones:bhe,hankey:yhe,poop:vhe,shit:whe,clown_face:xhe,japanese_ogre:khe,japanese_goblin:Ehe,ghost:Che,alien:Ahe,space_invader:She,robot:The,smiley_cat:Mhe,smile_cat:Ohe,joy_cat:Rhe,heart_eyes_cat:Nhe,smirk_cat:Dhe,kissing_cat:Lhe,scream_cat:Ihe,crying_cat_face:Phe,pouting_cat:Fhe,see_no_evil:Bhe,hear_no_evil:$he,speak_no_evil:jhe,kiss:zhe,love_letter:Uhe,cupid:qhe,gift_heart:Hhe,sparkling_heart:Vhe,heartpulse:Ghe,heartbeat:Khe,revolving_hearts:Whe,two_hearts:Zhe,heart_decoration:Yhe,heavy_heart_exclamation:Qhe,broken_heart:Jhe,heart:Xhe,orange_heart:epe,yellow_heart:tpe,green_heart:npe,blue_heart:spe,purple_heart:ope,brown_heart:rpe,black_heart:ipe,white_heart:ape,anger:lpe,boom:cpe,collision:upe,dizzy:dpe,sweat_drops:fpe,dash:hpe,hole:ppe,bomb:gpe,speech_balloon:mpe,eye_speech_bubble:_pe,left_speech_bubble:bpe,right_anger_bubble:ype,thought_balloon:vpe,zzz:wpe,wave:xpe,raised_back_of_hand:kpe,raised_hand_with_fingers_splayed:Epe,hand:Cpe,raised_hand:Ape,vulcan_salute:Spe,ok_hand:Tpe,pinched_fingers:Mpe,pinching_hand:Ope,v:Rpe,crossed_fingers:Npe,love_you_gesture:Dpe,metal:Lpe,call_me_hand:Ipe,point_left:Ppe,point_right:Fpe,point_up_2:Bpe,middle_finger:$pe,fu:jpe,point_down:zpe,point_up:Upe,"+1":"👍",thumbsup:qpe,"-1":"👎",thumbsdown:Hpe,fist_raised:Vpe,fist:Gpe,fist_oncoming:Kpe,facepunch:Wpe,punch:Zpe,fist_left:Ype,fist_right:Qpe,clap:Jpe,raised_hands:Xpe,open_hands:ege,palms_up_together:tge,handshake:nge,pray:sge,writing_hand:oge,nail_care:rge,selfie:ige,muscle:age,mechanical_arm:lge,mechanical_leg:cge,leg:uge,foot:dge,ear:fge,ear_with_hearing_aid:hge,nose:pge,brain:gge,anatomical_heart:mge,lungs:_ge,tooth:bge,bone:yge,eyes:vge,eye:wge,tongue:xge,lips:kge,baby:Ege,child:Cge,boy:Age,girl:Sge,adult:Tge,blond_haired_person:Mge,man:Oge,bearded_person:Rge,red_haired_man:Nge,curly_haired_man:Dge,white_haired_man:Lge,bald_man:Ige,woman:Pge,red_haired_woman:Fge,person_red_hair:Bge,curly_haired_woman:$ge,person_curly_hair:jge,white_haired_woman:zge,person_white_hair:Uge,bald_woman:qge,person_bald:Hge,blond_haired_woman:Vge,blonde_woman:Gge,blond_haired_man:Kge,older_adult:Wge,older_man:Zge,older_woman:Yge,frowning_person:Qge,frowning_man:Jge,frowning_woman:Xge,pouting_face:eme,pouting_man:tme,pouting_woman:nme,no_good:sme,no_good_man:ome,ng_man:rme,no_good_woman:ime,ng_woman:ame,ok_person:lme,ok_man:cme,ok_woman:ume,tipping_hand_person:dme,information_desk_person:fme,tipping_hand_man:hme,sassy_man:pme,tipping_hand_woman:gme,sassy_woman:mme,raising_hand:_me,raising_hand_man:bme,raising_hand_woman:yme,deaf_person:vme,deaf_man:wme,deaf_woman:xme,bow:kme,bowing_man:Eme,bowing_woman:Cme,facepalm:Ame,man_facepalming:Sme,woman_facepalming:Tme,shrug:Mme,man_shrugging:Ome,woman_shrugging:Rme,health_worker:Nme,man_health_worker:Dme,woman_health_worker:Lme,student:Ime,man_student:Pme,woman_student:Fme,teacher:Bme,man_teacher:$me,woman_teacher:jme,judge:zme,man_judge:Ume,woman_judge:qme,farmer:Hme,man_farmer:Vme,woman_farmer:Gme,cook:Kme,man_cook:Wme,woman_cook:Zme,mechanic:Yme,man_mechanic:Qme,woman_mechanic:Jme,factory_worker:Xme,man_factory_worker:e_e,woman_factory_worker:t_e,office_worker:n_e,man_office_worker:s_e,woman_office_worker:o_e,scientist:r_e,man_scientist:i_e,woman_scientist:a_e,technologist:l_e,man_technologist:c_e,woman_technologist:u_e,singer:d_e,man_singer:f_e,woman_singer:h_e,artist:p_e,man_artist:g_e,woman_artist:m_e,pilot:__e,man_pilot:b_e,woman_pilot:y_e,astronaut:v_e,man_astronaut:w_e,woman_astronaut:x_e,firefighter:k_e,man_firefighter:E_e,woman_firefighter:C_e,police_officer:A_e,cop:S_e,policeman:T_e,policewoman:M_e,detective:O_e,male_detective:R_e,female_detective:N_e,guard:D_e,guardsman:L_e,guardswoman:I_e,ninja:P_e,construction_worker:F_e,construction_worker_man:B_e,construction_worker_woman:$_e,prince:j_e,princess:z_e,person_with_turban:U_e,man_with_turban:q_e,woman_with_turban:H_e,man_with_gua_pi_mao:V_e,woman_with_headscarf:G_e,person_in_tuxedo:K_e,man_in_tuxedo:W_e,woman_in_tuxedo:Z_e,person_with_veil:Y_e,man_with_veil:Q_e,woman_with_veil:J_e,bride_with_veil:X_e,pregnant_woman:e1e,breast_feeding:t1e,woman_feeding_baby:n1e,man_feeding_baby:s1e,person_feeding_baby:o1e,angel:r1e,santa:i1e,mrs_claus:a1e,mx_claus:l1e,superhero:c1e,superhero_man:u1e,superhero_woman:d1e,supervillain:f1e,supervillain_man:h1e,supervillain_woman:p1e,mage:g1e,mage_man:m1e,mage_woman:_1e,fairy:b1e,fairy_man:y1e,fairy_woman:v1e,vampire:w1e,vampire_man:x1e,vampire_woman:k1e,merperson:E1e,merman:C1e,mermaid:A1e,elf:S1e,elf_man:T1e,elf_woman:M1e,genie:O1e,genie_man:R1e,genie_woman:N1e,zombie:D1e,zombie_man:L1e,zombie_woman:I1e,massage:P1e,massage_man:F1e,massage_woman:B1e,haircut:$1e,haircut_man:j1e,haircut_woman:z1e,walking:U1e,walking_man:q1e,walking_woman:H1e,standing_person:V1e,standing_man:G1e,standing_woman:K1e,kneeling_person:W1e,kneeling_man:Z1e,kneeling_woman:Y1e,person_with_probing_cane:Q1e,man_with_probing_cane:J1e,woman_with_probing_cane:X1e,person_in_motorized_wheelchair:e0e,man_in_motorized_wheelchair:t0e,woman_in_motorized_wheelchair:n0e,person_in_manual_wheelchair:s0e,man_in_manual_wheelchair:o0e,woman_in_manual_wheelchair:r0e,runner:i0e,running:a0e,running_man:l0e,running_woman:c0e,woman_dancing:u0e,dancer:d0e,man_dancing:f0e,business_suit_levitating:h0e,dancers:p0e,dancing_men:g0e,dancing_women:m0e,sauna_person:_0e,sauna_man:b0e,sauna_woman:y0e,climbing:v0e,climbing_man:w0e,climbing_woman:x0e,person_fencing:k0e,horse_racing:E0e,skier:C0e,snowboarder:A0e,golfing:S0e,golfing_man:T0e,golfing_woman:M0e,surfer:O0e,surfing_man:R0e,surfing_woman:N0e,rowboat:D0e,rowing_man:L0e,rowing_woman:I0e,swimmer:P0e,swimming_man:F0e,swimming_woman:B0e,bouncing_ball_person:$0e,bouncing_ball_man:j0e,basketball_man:z0e,bouncing_ball_woman:U0e,basketball_woman:q0e,weight_lifting:H0e,weight_lifting_man:V0e,weight_lifting_woman:G0e,bicyclist:K0e,biking_man:W0e,biking_woman:Z0e,mountain_bicyclist:Y0e,mountain_biking_man:Q0e,mountain_biking_woman:J0e,cartwheeling:X0e,man_cartwheeling:ebe,woman_cartwheeling:tbe,wrestling:nbe,men_wrestling:sbe,women_wrestling:obe,water_polo:rbe,man_playing_water_polo:ibe,woman_playing_water_polo:abe,handball_person:lbe,man_playing_handball:cbe,woman_playing_handball:ube,juggling_person:dbe,man_juggling:fbe,woman_juggling:hbe,lotus_position:pbe,lotus_position_man:gbe,lotus_position_woman:mbe,bath:_be,sleeping_bed:bbe,people_holding_hands:ybe,two_women_holding_hands:vbe,couple:wbe,two_men_holding_hands:xbe,couplekiss:kbe,couplekiss_man_woman:Ebe,couplekiss_man_man:Cbe,couplekiss_woman_woman:Abe,couple_with_heart:Sbe,couple_with_heart_woman_man:Tbe,couple_with_heart_man_man:Mbe,couple_with_heart_woman_woman:Obe,family:Rbe,family_man_woman_boy:Nbe,family_man_woman_girl:Dbe,family_man_woman_girl_boy:Lbe,family_man_woman_boy_boy:Ibe,family_man_woman_girl_girl:Pbe,family_man_man_boy:Fbe,family_man_man_girl:Bbe,family_man_man_girl_boy:$be,family_man_man_boy_boy:jbe,family_man_man_girl_girl:zbe,family_woman_woman_boy:Ube,family_woman_woman_girl:qbe,family_woman_woman_girl_boy:Hbe,family_woman_woman_boy_boy:Vbe,family_woman_woman_girl_girl:Gbe,family_man_boy:Kbe,family_man_boy_boy:Wbe,family_man_girl:Zbe,family_man_girl_boy:Ybe,family_man_girl_girl:Qbe,family_woman_boy:Jbe,family_woman_boy_boy:Xbe,family_woman_girl:eye,family_woman_girl_boy:tye,family_woman_girl_girl:nye,speaking_head:sye,bust_in_silhouette:oye,busts_in_silhouette:rye,people_hugging:iye,footprints:aye,monkey_face:lye,monkey:cye,gorilla:uye,orangutan:dye,dog:fye,dog2:hye,guide_dog:pye,service_dog:gye,poodle:mye,wolf:_ye,fox_face:bye,raccoon:yye,cat:vye,cat2:wye,black_cat:xye,lion:kye,tiger:Eye,tiger2:Cye,leopard:Aye,horse:Sye,racehorse:Tye,unicorn:Mye,zebra:Oye,deer:Rye,bison:Nye,cow:Dye,ox:Lye,water_buffalo:Iye,cow2:Pye,pig:Fye,pig2:Bye,boar:$ye,pig_nose:jye,ram:zye,sheep:Uye,goat:qye,dromedary_camel:Hye,camel:Vye,llama:Gye,giraffe:Kye,elephant:Wye,mammoth:Zye,rhinoceros:Yye,hippopotamus:Qye,mouse:Jye,mouse2:Xye,rat:e2e,hamster:t2e,rabbit:n2e,rabbit2:s2e,chipmunk:o2e,beaver:r2e,hedgehog:i2e,bat:a2e,bear:l2e,polar_bear:c2e,koala:u2e,panda_face:d2e,sloth:f2e,otter:h2e,skunk:p2e,kangaroo:g2e,badger:m2e,feet:_2e,paw_prints:b2e,turkey:y2e,chicken:v2e,rooster:w2e,hatching_chick:x2e,baby_chick:k2e,hatched_chick:E2e,bird:C2e,penguin:A2e,dove:S2e,eagle:T2e,duck:M2e,swan:O2e,owl:R2e,dodo:N2e,feather:D2e,flamingo:L2e,peacock:I2e,parrot:P2e,frog:F2e,crocodile:B2e,turtle:$2e,lizard:j2e,snake:z2e,dragon_face:U2e,dragon:q2e,sauropod:H2e,"t-rex":"🦖",whale:V2e,whale2:G2e,dolphin:K2e,flipper:W2e,seal:Z2e,fish:Y2e,tropical_fish:Q2e,blowfish:J2e,shark:X2e,octopus:eve,shell:tve,snail:nve,butterfly:sve,bug:ove,ant:rve,bee:ive,honeybee:ave,beetle:lve,lady_beetle:cve,cricket:uve,cockroach:dve,spider:fve,spider_web:hve,scorpion:pve,mosquito:gve,fly:mve,worm:_ve,microbe:bve,bouquet:yve,cherry_blossom:vve,white_flower:wve,rosette:xve,rose:kve,wilted_flower:Eve,hibiscus:Cve,sunflower:Ave,blossom:Sve,tulip:Tve,seedling:Mve,potted_plant:Ove,evergreen_tree:Rve,deciduous_tree:Nve,palm_tree:Dve,cactus:Lve,ear_of_rice:Ive,herb:Pve,shamrock:Fve,four_leaf_clover:Bve,maple_leaf:$ve,fallen_leaf:jve,leaves:zve,grapes:Uve,melon:qve,watermelon:Hve,tangerine:Vve,orange:Gve,mandarin:Kve,lemon:Wve,banana:Zve,pineapple:Yve,mango:Qve,apple:Jve,green_apple:Xve,pear:ewe,peach:twe,cherries:nwe,strawberry:swe,blueberries:owe,kiwi_fruit:rwe,tomato:iwe,olive:awe,coconut:lwe,avocado:cwe,eggplant:uwe,potato:dwe,carrot:fwe,corn:hwe,hot_pepper:pwe,bell_pepper:gwe,cucumber:mwe,leafy_green:_we,broccoli:bwe,garlic:ywe,onion:vwe,mushroom:wwe,peanuts:xwe,chestnut:kwe,bread:Ewe,croissant:Cwe,baguette_bread:Awe,flatbread:Swe,pretzel:Twe,bagel:Mwe,pancakes:Owe,waffle:Rwe,cheese:Nwe,meat_on_bone:Dwe,poultry_leg:Lwe,cut_of_meat:Iwe,bacon:Pwe,hamburger:Fwe,fries:Bwe,pizza:$we,hotdog:jwe,sandwich:zwe,taco:Uwe,burrito:qwe,tamale:Hwe,stuffed_flatbread:Vwe,falafel:Gwe,egg:Kwe,fried_egg:Wwe,shallow_pan_of_food:Zwe,stew:Ywe,fondue:Qwe,bowl_with_spoon:Jwe,green_salad:Xwe,popcorn:exe,butter:txe,salt:nxe,canned_food:sxe,bento:oxe,rice_cracker:rxe,rice_ball:ixe,rice:axe,curry:lxe,ramen:cxe,spaghetti:uxe,sweet_potato:dxe,oden:fxe,sushi:hxe,fried_shrimp:pxe,fish_cake:gxe,moon_cake:mxe,dango:_xe,dumpling:bxe,fortune_cookie:yxe,takeout_box:vxe,crab:wxe,lobster:xxe,shrimp:kxe,squid:Exe,oyster:Cxe,icecream:Axe,shaved_ice:Sxe,ice_cream:Txe,doughnut:Mxe,cookie:Oxe,birthday:Rxe,cake:Nxe,cupcake:Dxe,pie:Lxe,chocolate_bar:Ixe,candy:Pxe,lollipop:Fxe,custard:Bxe,honey_pot:$xe,baby_bottle:jxe,milk_glass:zxe,coffee:Uxe,teapot:qxe,tea:Hxe,sake:Vxe,champagne:Gxe,wine_glass:Kxe,cocktail:Wxe,tropical_drink:Zxe,beer:Yxe,beers:Qxe,clinking_glasses:Jxe,tumbler_glass:Xxe,cup_with_straw:eke,bubble_tea:tke,beverage_box:nke,mate:ske,ice_cube:oke,chopsticks:rke,plate_with_cutlery:ike,fork_and_knife:ake,spoon:lke,hocho:cke,knife:uke,amphora:dke,earth_africa:fke,earth_americas:hke,earth_asia:pke,globe_with_meridians:gke,world_map:mke,japan:_ke,compass:bke,mountain_snow:yke,mountain:vke,volcano:wke,mount_fuji:xke,camping:kke,beach_umbrella:Eke,desert:Cke,desert_island:Ake,national_park:Ske,stadium:Tke,classical_building:Mke,building_construction:Oke,bricks:Rke,rock:Nke,wood:Dke,hut:Lke,houses:Ike,derelict_house:Pke,house:Fke,house_with_garden:Bke,office:$ke,post_office:jke,european_post_office:zke,hospital:Uke,bank:qke,hotel:Hke,love_hotel:Vke,convenience_store:Gke,school:Kke,department_store:Wke,factory:Zke,japanese_castle:Yke,european_castle:Qke,wedding:Jke,tokyo_tower:Xke,statue_of_liberty:eEe,church:tEe,mosque:nEe,hindu_temple:sEe,synagogue:oEe,shinto_shrine:rEe,kaaba:iEe,fountain:aEe,tent:lEe,foggy:cEe,night_with_stars:uEe,cityscape:dEe,sunrise_over_mountains:fEe,sunrise:hEe,city_sunset:pEe,city_sunrise:gEe,bridge_at_night:mEe,hotsprings:_Ee,carousel_horse:bEe,ferris_wheel:yEe,roller_coaster:vEe,barber:wEe,circus_tent:xEe,steam_locomotive:kEe,railway_car:EEe,bullettrain_side:CEe,bullettrain_front:AEe,train2:SEe,metro:TEe,light_rail:MEe,station:OEe,tram:REe,monorail:NEe,mountain_railway:DEe,train:LEe,bus:IEe,oncoming_bus:PEe,trolleybus:FEe,minibus:BEe,ambulance:$Ee,fire_engine:jEe,police_car:zEe,oncoming_police_car:UEe,taxi:qEe,oncoming_taxi:HEe,car:VEe,red_car:GEe,oncoming_automobile:KEe,blue_car:WEe,pickup_truck:ZEe,truck:YEe,articulated_lorry:QEe,tractor:JEe,racing_car:XEe,motorcycle:e5e,motor_scooter:t5e,manual_wheelchair:n5e,motorized_wheelchair:s5e,auto_rickshaw:o5e,bike:r5e,kick_scooter:i5e,skateboard:a5e,roller_skate:l5e,busstop:c5e,motorway:u5e,railway_track:d5e,oil_drum:f5e,fuelpump:h5e,rotating_light:p5e,traffic_light:g5e,vertical_traffic_light:m5e,stop_sign:_5e,construction:b5e,anchor:y5e,boat:v5e,sailboat:w5e,canoe:x5e,speedboat:k5e,passenger_ship:E5e,ferry:C5e,motor_boat:A5e,ship:S5e,airplane:T5e,small_airplane:M5e,flight_departure:O5e,flight_arrival:R5e,parachute:N5e,seat:D5e,helicopter:L5e,suspension_railway:I5e,mountain_cableway:P5e,aerial_tramway:F5e,artificial_satellite:B5e,rocket:$5e,flying_saucer:j5e,bellhop_bell:z5e,luggage:U5e,hourglass:q5e,hourglass_flowing_sand:H5e,watch:V5e,alarm_clock:G5e,stopwatch:K5e,timer_clock:W5e,mantelpiece_clock:Z5e,clock12:Y5e,clock1230:Q5e,clock1:J5e,clock130:X5e,clock2:e4e,clock230:t4e,clock3:n4e,clock330:s4e,clock4:o4e,clock430:r4e,clock5:i4e,clock530:a4e,clock6:l4e,clock630:c4e,clock7:u4e,clock730:d4e,clock8:f4e,clock830:h4e,clock9:p4e,clock930:g4e,clock10:m4e,clock1030:_4e,clock11:b4e,clock1130:y4e,new_moon:v4e,waxing_crescent_moon:w4e,first_quarter_moon:x4e,moon:k4e,waxing_gibbous_moon:E4e,full_moon:C4e,waning_gibbous_moon:A4e,last_quarter_moon:S4e,waning_crescent_moon:T4e,crescent_moon:M4e,new_moon_with_face:O4e,first_quarter_moon_with_face:R4e,last_quarter_moon_with_face:N4e,thermometer:D4e,sunny:L4e,full_moon_with_face:I4e,sun_with_face:P4e,ringed_planet:F4e,star:B4e,star2:$4e,stars:j4e,milky_way:z4e,cloud:U4e,partly_sunny:q4e,cloud_with_lightning_and_rain:H4e,sun_behind_small_cloud:V4e,sun_behind_large_cloud:G4e,sun_behind_rain_cloud:K4e,cloud_with_rain:W4e,cloud_with_snow:Z4e,cloud_with_lightning:Y4e,tornado:Q4e,fog:J4e,wind_face:X4e,cyclone:eCe,rainbow:tCe,closed_umbrella:nCe,open_umbrella:sCe,umbrella:oCe,parasol_on_ground:rCe,zap:iCe,snowflake:aCe,snowman_with_snow:lCe,snowman:cCe,comet:uCe,fire:dCe,droplet:fCe,ocean:hCe,jack_o_lantern:pCe,christmas_tree:gCe,fireworks:mCe,sparkler:_Ce,firecracker:bCe,sparkles:yCe,balloon:vCe,tada:wCe,confetti_ball:xCe,tanabata_tree:kCe,bamboo:ECe,dolls:CCe,flags:ACe,wind_chime:SCe,rice_scene:TCe,red_envelope:MCe,ribbon:OCe,gift:RCe,reminder_ribbon:NCe,tickets:DCe,ticket:LCe,medal_military:ICe,trophy:PCe,medal_sports:FCe,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:BCe,baseball:$Ce,softball:jCe,basketball:zCe,volleyball:UCe,football:qCe,rugby_football:HCe,tennis:VCe,flying_disc:GCe,bowling:KCe,cricket_game:WCe,field_hockey:ZCe,ice_hockey:YCe,lacrosse:QCe,ping_pong:JCe,badminton:XCe,boxing_glove:e3e,martial_arts_uniform:t3e,goal_net:n3e,golf:s3e,ice_skate:o3e,fishing_pole_and_fish:r3e,diving_mask:i3e,running_shirt_with_sash:a3e,ski:l3e,sled:c3e,curling_stone:u3e,dart:d3e,yo_yo:f3e,kite:h3e,"8ball":"🎱",crystal_ball:p3e,magic_wand:g3e,nazar_amulet:m3e,video_game:_3e,joystick:b3e,slot_machine:y3e,game_die:v3e,jigsaw:w3e,teddy_bear:x3e,pinata:k3e,nesting_dolls:E3e,spades:C3e,hearts:A3e,diamonds:S3e,clubs:T3e,chess_pawn:M3e,black_joker:O3e,mahjong:R3e,flower_playing_cards:N3e,performing_arts:D3e,framed_picture:L3e,art:I3e,thread:P3e,sewing_needle:F3e,yarn:B3e,knot:$3e,eyeglasses:j3e,dark_sunglasses:z3e,goggles:U3e,lab_coat:q3e,safety_vest:H3e,necktie:V3e,shirt:G3e,tshirt:K3e,jeans:W3e,scarf:Z3e,gloves:Y3e,coat:Q3e,socks:J3e,dress:X3e,kimono:e8e,sari:t8e,one_piece_swimsuit:n8e,swim_brief:s8e,shorts:o8e,bikini:r8e,womans_clothes:i8e,purse:a8e,handbag:l8e,pouch:c8e,shopping:u8e,school_satchel:d8e,thong_sandal:f8e,mans_shoe:h8e,shoe:p8e,athletic_shoe:g8e,hiking_boot:m8e,flat_shoe:_8e,high_heel:b8e,sandal:y8e,ballet_shoes:v8e,boot:w8e,crown:x8e,womans_hat:k8e,tophat:E8e,mortar_board:C8e,billed_cap:A8e,military_helmet:S8e,rescue_worker_helmet:T8e,prayer_beads:M8e,lipstick:O8e,ring:R8e,gem:N8e,mute:D8e,speaker:L8e,sound:I8e,loud_sound:P8e,loudspeaker:F8e,mega:B8e,postal_horn:$8e,bell:j8e,no_bell:z8e,musical_score:U8e,musical_note:q8e,notes:H8e,studio_microphone:V8e,level_slider:G8e,control_knobs:K8e,microphone:W8e,headphones:Z8e,radio:Y8e,saxophone:Q8e,accordion:J8e,guitar:X8e,musical_keyboard:e9e,trumpet:t9e,violin:n9e,banjo:s9e,drum:o9e,long_drum:r9e,iphone:i9e,calling:a9e,phone:l9e,telephone:c9e,telephone_receiver:u9e,pager:d9e,fax:f9e,battery:h9e,electric_plug:p9e,computer:g9e,desktop_computer:m9e,printer:_9e,keyboard:b9e,computer_mouse:y9e,trackball:v9e,minidisc:w9e,floppy_disk:x9e,cd:k9e,dvd:E9e,abacus:C9e,movie_camera:A9e,film_strip:S9e,film_projector:T9e,clapper:M9e,tv:O9e,camera:R9e,camera_flash:N9e,video_camera:D9e,vhs:L9e,mag:I9e,mag_right:P9e,candle:F9e,bulb:B9e,flashlight:$9e,izakaya_lantern:j9e,lantern:z9e,diya_lamp:U9e,notebook_with_decorative_cover:q9e,closed_book:H9e,book:V9e,open_book:G9e,green_book:K9e,blue_book:W9e,orange_book:Z9e,books:Y9e,notebook:Q9e,ledger:J9e,page_with_curl:X9e,scroll:eAe,page_facing_up:tAe,newspaper:nAe,newspaper_roll:sAe,bookmark_tabs:oAe,bookmark:rAe,label:iAe,moneybag:aAe,coin:lAe,yen:cAe,dollar:uAe,euro:dAe,pound:fAe,money_with_wings:hAe,credit_card:pAe,receipt:gAe,chart:mAe,envelope:_Ae,email:bAe,"e-mail":"📧",incoming_envelope:yAe,envelope_with_arrow:vAe,outbox_tray:wAe,inbox_tray:xAe,package:"📦",mailbox:kAe,mailbox_closed:EAe,mailbox_with_mail:CAe,mailbox_with_no_mail:AAe,postbox:SAe,ballot_box:TAe,pencil2:MAe,black_nib:OAe,fountain_pen:RAe,pen:NAe,paintbrush:DAe,crayon:LAe,memo:IAe,pencil:PAe,briefcase:FAe,file_folder:BAe,open_file_folder:$Ae,card_index_dividers:jAe,date:zAe,calendar:UAe,spiral_notepad:qAe,spiral_calendar:HAe,card_index:VAe,chart_with_upwards_trend:GAe,chart_with_downwards_trend:KAe,bar_chart:WAe,clipboard:ZAe,pushpin:YAe,round_pushpin:QAe,paperclip:JAe,paperclips:XAe,straight_ruler:eSe,triangular_ruler:tSe,scissors:nSe,card_file_box:sSe,file_cabinet:oSe,wastebasket:rSe,lock:iSe,unlock:aSe,lock_with_ink_pen:lSe,closed_lock_with_key:cSe,key:uSe,old_key:dSe,hammer:fSe,axe:hSe,pick:pSe,hammer_and_pick:gSe,hammer_and_wrench:mSe,dagger:_Se,crossed_swords:bSe,gun:ySe,boomerang:vSe,bow_and_arrow:wSe,shield:xSe,carpentry_saw:kSe,wrench:ESe,screwdriver:CSe,nut_and_bolt:ASe,gear:SSe,clamp:TSe,balance_scale:MSe,probing_cane:OSe,link:RSe,chains:NSe,hook:DSe,toolbox:LSe,magnet:ISe,ladder:PSe,alembic:FSe,test_tube:BSe,petri_dish:$Se,dna:jSe,microscope:zSe,telescope:USe,satellite:qSe,syringe:HSe,drop_of_blood:VSe,pill:GSe,adhesive_bandage:KSe,stethoscope:WSe,door:ZSe,elevator:YSe,mirror:QSe,window:JSe,bed:XSe,couch_and_lamp:e6e,chair:t6e,toilet:n6e,plunger:s6e,shower:o6e,bathtub:r6e,mouse_trap:i6e,razor:a6e,lotion_bottle:l6e,safety_pin:c6e,broom:u6e,basket:d6e,roll_of_paper:f6e,bucket:h6e,soap:p6e,toothbrush:g6e,sponge:m6e,fire_extinguisher:_6e,shopping_cart:b6e,smoking:y6e,coffin:v6e,headstone:w6e,funeral_urn:x6e,moyai:k6e,placard:E6e,atm:C6e,put_litter_in_its_place:A6e,potable_water:S6e,wheelchair:T6e,mens:M6e,womens:O6e,restroom:R6e,baby_symbol:N6e,wc:D6e,passport_control:L6e,customs:I6e,baggage_claim:P6e,left_luggage:F6e,warning:B6e,children_crossing:$6e,no_entry:j6e,no_entry_sign:z6e,no_bicycles:U6e,no_smoking:q6e,do_not_litter:H6e,"non-potable_water":"🚱",no_pedestrians:V6e,no_mobile_phones:G6e,underage:K6e,radioactive:W6e,biohazard:Z6e,arrow_up:Y6e,arrow_upper_right:Q6e,arrow_right:J6e,arrow_lower_right:X6e,arrow_down:eTe,arrow_lower_left:tTe,arrow_left:nTe,arrow_upper_left:sTe,arrow_up_down:oTe,left_right_arrow:rTe,leftwards_arrow_with_hook:iTe,arrow_right_hook:aTe,arrow_heading_up:lTe,arrow_heading_down:cTe,arrows_clockwise:uTe,arrows_counterclockwise:dTe,back:fTe,end:hTe,on:pTe,soon:gTe,top:mTe,place_of_worship:_Te,atom_symbol:bTe,om:yTe,star_of_david:vTe,wheel_of_dharma:wTe,yin_yang:xTe,latin_cross:kTe,orthodox_cross:ETe,star_and_crescent:CTe,peace_symbol:ATe,menorah:STe,six_pointed_star:TTe,aries:MTe,taurus:OTe,gemini:RTe,cancer:NTe,leo:DTe,virgo:LTe,libra:ITe,scorpius:PTe,sagittarius:FTe,capricorn:BTe,aquarius:$Te,pisces:jTe,ophiuchus:zTe,twisted_rightwards_arrows:UTe,repeat:qTe,repeat_one:HTe,arrow_forward:VTe,fast_forward:GTe,next_track_button:KTe,play_or_pause_button:WTe,arrow_backward:ZTe,rewind:YTe,previous_track_button:QTe,arrow_up_small:JTe,arrow_double_up:XTe,arrow_down_small:e7e,arrow_double_down:t7e,pause_button:n7e,stop_button:s7e,record_button:o7e,eject_button:r7e,cinema:i7e,low_brightness:a7e,high_brightness:l7e,signal_strength:c7e,vibration_mode:u7e,mobile_phone_off:d7e,female_sign:f7e,male_sign:h7e,transgender_symbol:p7e,heavy_multiplication_x:g7e,heavy_plus_sign:m7e,heavy_minus_sign:_7e,heavy_division_sign:b7e,infinity:y7e,bangbang:v7e,interrobang:w7e,question:x7e,grey_question:k7e,grey_exclamation:E7e,exclamation:C7e,heavy_exclamation_mark:A7e,wavy_dash:S7e,currency_exchange:T7e,heavy_dollar_sign:M7e,medical_symbol:O7e,recycle:R7e,fleur_de_lis:N7e,trident:D7e,name_badge:L7e,beginner:I7e,o:P7e,white_check_mark:F7e,ballot_box_with_check:B7e,heavy_check_mark:$7e,x:j7e,negative_squared_cross_mark:z7e,curly_loop:U7e,loop:q7e,part_alternation_mark:H7e,eight_spoked_asterisk:V7e,eight_pointed_black_star:G7e,sparkle:K7e,copyright:W7e,registered:Z7e,tm:Y7e,hash:Q7e,asterisk:J7e,zero:X7e,one:eMe,two:tMe,three:nMe,four:sMe,five:oMe,six:rMe,seven:iMe,eight:aMe,nine:lMe,keycap_ten:cMe,capital_abcd:uMe,abcd:dMe,symbols:fMe,abc:hMe,a:pMe,ab:gMe,b:mMe,cl:_Me,cool:bMe,free:yMe,information_source:vMe,id:wMe,m:xMe,new:"🆕",ng:kMe,o2:EMe,ok:CMe,parking:AMe,sos:SMe,up:TMe,vs:MMe,koko:OMe,sa:RMe,ideograph_advantage:NMe,accept:DMe,congratulations:LMe,secret:IMe,u6e80:PMe,red_circle:FMe,orange_circle:BMe,yellow_circle:$Me,green_circle:jMe,large_blue_circle:zMe,purple_circle:UMe,brown_circle:qMe,black_circle:HMe,white_circle:VMe,red_square:GMe,orange_square:KMe,yellow_square:WMe,green_square:ZMe,blue_square:YMe,purple_square:QMe,brown_square:JMe,black_large_square:XMe,white_large_square:eOe,black_medium_square:tOe,white_medium_square:nOe,black_medium_small_square:sOe,white_medium_small_square:oOe,black_small_square:rOe,white_small_square:iOe,large_orange_diamond:aOe,large_blue_diamond:lOe,small_orange_diamond:cOe,small_blue_diamond:uOe,small_red_triangle:dOe,small_red_triangle_down:fOe,diamond_shape_with_a_dot_inside:hOe,radio_button:pOe,white_square_button:gOe,black_square_button:mOe,checkered_flag:_Oe,triangular_flag_on_post:bOe,crossed_flags:yOe,black_flag:vOe,white_flag:wOe,rainbow_flag:xOe,transgender_flag:kOe,pirate_flag:EOe,ascension_island:COe,andorra:AOe,united_arab_emirates:SOe,afghanistan:TOe,antigua_barbuda:MOe,anguilla:OOe,albania:ROe,armenia:NOe,angola:DOe,antarctica:LOe,argentina:IOe,american_samoa:POe,austria:FOe,australia:BOe,aruba:$Oe,aland_islands:jOe,azerbaijan:zOe,bosnia_herzegovina:UOe,barbados:qOe,bangladesh:HOe,belgium:VOe,burkina_faso:GOe,bulgaria:KOe,bahrain:WOe,burundi:ZOe,benin:YOe,st_barthelemy:QOe,bermuda:JOe,brunei:XOe,bolivia:eRe,caribbean_netherlands:tRe,brazil:nRe,bahamas:sRe,bhutan:oRe,bouvet_island:rRe,botswana:iRe,belarus:aRe,belize:lRe,canada:cRe,cocos_islands:uRe,congo_kinshasa:dRe,central_african_republic:fRe,congo_brazzaville:hRe,switzerland:pRe,cote_divoire:gRe,cook_islands:mRe,chile:_Re,cameroon:bRe,cn:yRe,colombia:vRe,clipperton_island:wRe,costa_rica:xRe,cuba:kRe,cape_verde:ERe,curacao:CRe,christmas_island:ARe,cyprus:SRe,czech_republic:TRe,de:MRe,diego_garcia:ORe,djibouti:RRe,denmark:NRe,dominica:DRe,dominican_republic:LRe,algeria:IRe,ceuta_melilla:PRe,ecuador:FRe,estonia:BRe,egypt:$Re,western_sahara:jRe,eritrea:zRe,es:URe,ethiopia:qRe,eu:HRe,european_union:VRe,finland:GRe,fiji:KRe,falkland_islands:WRe,micronesia:ZRe,faroe_islands:YRe,fr:QRe,gabon:JRe,gb:XRe,uk:eNe,grenada:tNe,georgia:nNe,french_guiana:sNe,guernsey:oNe,ghana:rNe,gibraltar:iNe,greenland:aNe,gambia:lNe,guinea:cNe,guadeloupe:uNe,equatorial_guinea:dNe,greece:fNe,south_georgia_south_sandwich_islands:hNe,guatemala:pNe,guam:gNe,guinea_bissau:mNe,guyana:_Ne,hong_kong:bNe,heard_mcdonald_islands:yNe,honduras:vNe,croatia:wNe,haiti:xNe,hungary:kNe,canary_islands:ENe,indonesia:CNe,ireland:ANe,israel:SNe,isle_of_man:TNe,india:MNe,british_indian_ocean_territory:ONe,iraq:RNe,iran:NNe,iceland:DNe,it:LNe,jersey:INe,jamaica:PNe,jordan:FNe,jp:BNe,kenya:$Ne,kyrgyzstan:jNe,cambodia:zNe,kiribati:UNe,comoros:qNe,st_kitts_nevis:HNe,north_korea:VNe,kr:GNe,kuwait:KNe,cayman_islands:WNe,kazakhstan:ZNe,laos:YNe,lebanon:QNe,st_lucia:JNe,liechtenstein:XNe,sri_lanka:eDe,liberia:tDe,lesotho:nDe,lithuania:sDe,luxembourg:oDe,latvia:rDe,libya:iDe,morocco:aDe,monaco:lDe,moldova:cDe,montenegro:uDe,st_martin:dDe,madagascar:fDe,marshall_islands:hDe,macedonia:pDe,mali:gDe,myanmar:mDe,mongolia:_De,macau:bDe,northern_mariana_islands:yDe,martinique:vDe,mauritania:wDe,montserrat:xDe,malta:kDe,mauritius:EDe,maldives:CDe,malawi:ADe,mexico:SDe,malaysia:TDe,mozambique:MDe,namibia:ODe,new_caledonia:RDe,niger:NDe,norfolk_island:DDe,nigeria:LDe,nicaragua:IDe,netherlands:PDe,norway:FDe,nepal:BDe,nauru:$De,niue:jDe,new_zealand:zDe,oman:UDe,panama:qDe,peru:HDe,french_polynesia:VDe,papua_new_guinea:GDe,philippines:KDe,pakistan:WDe,poland:ZDe,st_pierre_miquelon:YDe,pitcairn_islands:QDe,puerto_rico:JDe,palestinian_territories:XDe,portugal:eLe,palau:tLe,paraguay:nLe,qatar:sLe,reunion:oLe,romania:rLe,serbia:iLe,ru:aLe,rwanda:lLe,saudi_arabia:cLe,solomon_islands:uLe,seychelles:dLe,sudan:fLe,sweden:hLe,singapore:pLe,st_helena:gLe,slovenia:mLe,svalbard_jan_mayen:_Le,slovakia:bLe,sierra_leone:yLe,san_marino:vLe,senegal:wLe,somalia:xLe,suriname:kLe,south_sudan:ELe,sao_tome_principe:CLe,el_salvador:ALe,sint_maarten:SLe,syria:TLe,swaziland:MLe,tristan_da_cunha:OLe,turks_caicos_islands:RLe,chad:NLe,french_southern_territories:DLe,togo:LLe,thailand:ILe,tajikistan:PLe,tokelau:FLe,timor_leste:BLe,turkmenistan:$Le,tunisia:jLe,tonga:zLe,tr:ULe,trinidad_tobago:qLe,tuvalu:HLe,taiwan:VLe,tanzania:GLe,ukraine:KLe,uganda:WLe,us_outlying_islands:ZLe,united_nations:YLe,us:QLe,uruguay:JLe,uzbekistan:XLe,vatican_city:eIe,st_vincent_grenadines:tIe,venezuela:nIe,british_virgin_islands:sIe,us_virgin_islands:oIe,vietnam:rIe,vanuatu:iIe,wallis_futuna:aIe,samoa:lIe,kosovo:cIe,yemen:uIe,mayotte:dIe,south_africa:fIe,zambia:hIe,zimbabwe:pIe,england:gIe,scotland:mIe,wales:_Ie};var yIe={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:[";)",";-)"]},vIe=function(e,n){return e[n].content},wIe=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,f,h){var g,p=0,m=[];return u.replace(r,function(v,_,b){var x;if(s.hasOwnProperty(v)){if(x=s[v],_>0&&!l.test(b[_-1])||_+v.length<b.length&&!l.test(b[_+v.length]))return}else x=v.slice(1,-1);_>p&&(g=new h("text","",0),g.content=u.slice(p,_),m.push(g)),g=new h("emoji","",0),g.markup=x,g.content=n[x],m.push(g),p=_+v.length}),p<u.length&&(g=new h("text","",0),g.content=u.slice(p),m.push(g)),m}return function(f){var h,g,p,m,v,_=f.tokens,b=0;for(g=0,p=_.length;g<p;g++)if(_[g].type==="inline")for(m=_[g].children,h=m.length-1;h>=0;h--)v=m[h],(v.type==="link_open"||v.type==="link_close")&&v.info==="auto"&&(b-=v.nesting),v.type==="text"&&b===0&&o.test(v.content)&&(_[g].children=m=i(m,h,c(v.content,v.level,f.Token)))}};function xIe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var kIe=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 xIe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},EIe=vIe,CIe=wIe,AIe=kIe,SIe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=AIe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=EIe,e.core.ruler.after("linkify","emoji",CIe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},TIe=bIe,MIe=yIe,OIe=SIe,RIe=function(e,n){var s={defs:TIe,shortcuts:MIe,enabled:[]},o=e.utils.assign({},s,n||{});OIe(e,o)};const NIe=rs(RIe);var Td=!1,Os={false:"push",true:"unshift",after:"push",before:"unshift"},Tr={isPermalinkSymbol:!0};function dl(t,e,n,s){var o;if(!Td){var r="Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks";typeof process=="object"&&process&&process.emitWarning?process.emitWarning(r):console.warn(r),Td=!0}var i=[Object.assign(new n.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(t,n)]],Object.entries(e.permalinkAttrs(t,n)))}),Object.assign(new n.Token("html_block","",0),{content:e.permalinkSymbol,meta:Tr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Os[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Os[e.permalinkBefore]].apply(o,i)}function xg(t){return"#"+t}function kg(t){return{}}var DIe={class:"header-anchor",symbol:"#",renderHref:xg,renderAttrs:kg};function Po(t){function e(n){return n=Object.assign({},e.defaults,n),function(s,o,r,i){return t(s,n,o,r,i)}}return e.defaults=Object.assign({},DIe),e.renderPermalinkImpl=t,e}var _i=Po(function(t,e,n,s,o){var r,i=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(t,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Tr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Os[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Os[e.placement]].apply(r,i)});Object.assign(_i.defaults,{space:!0,placement:"after",ariaHidden:!1});var Bn=Po(_i.renderPermalinkImpl);Bn.defaults=Object.assign({},_i.defaults,{ariaHidden:!0});var Eg=Po(function(t,e,n,s,o){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],Object.entries(e.renderAttrs(t,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[o+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[o+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(Eg.defaults,{safariReaderFix:!1});var Md=Po(function(t,e,n,s,o){var r;if(!["visually-hidden","aria-label","aria-describedby","aria-labelledby"].includes(e.style))throw new Error("`permalink.linkAfterHeader` called with unknown style option `"+e.style+"`");if(!["aria-describedby","aria-labelledby"].includes(e.style)&&!e.assistiveText)throw new Error("`permalink.linkAfterHeader` called without the `assistiveText` option in `"+e.style+"` style");if(e.style==="visually-hidden"&&!e.visuallyHiddenClass)throw new Error("`permalink.linkAfterHeader` called without the `visuallyHiddenClass` option in `visually-hidden` style");var i=s.tokens[o+1].children.filter(function(f){return f.type==="text"||f.type==="code_inline"}).reduce(function(f,h){return f+h.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(t,s)]),l.push.apply(l,Object.entries(e.renderAttrs(t,s))),e.style==="visually-hidden"){if(a.push(Object.assign(new s.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new s.Token("text","",0),{content:e.assistiveText(i)}),new s.Token("span_close","span",-1)),e.space){var c=typeof e.space=="string"?e.space:" ";a[Os[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[Os[e.placement]](Object.assign(new s.Token("span_open","span",1),{attrs:[["aria-hidden","true"]]}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Tr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Tr}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(i)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,t]);var u=[Object.assign(new s.Token("link_open","a",1),{attrs:l})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[o+3,0].concat(u)),e.wrapper&&(s.tokens.splice(o,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+`
`})),s.tokens.splice(o+3+u.length+1,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[1]+`
`})))});function Od(t,e,n,s){var o=t,r=s;if(n&&Object.prototype.hasOwnProperty.call(e,o))throw new Error("User defined `id` attribute `"+t+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,o);)o=t+"-"+r,r+=1;return e[o]=!0,o}function ps(t,e){e=Object.assign({},ps.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(f){return s.includes(f)}):function(f){return function(h){return h>=f}}(e.level),a=0;a<r.length;a++){var l=r[a];if(l.type==="heading_open"&&i(Number(l.tag.substr(1)))){var c=e.getTokensText(r[a+1].children),u=l.attrGet("id");u=u==null?Od(e.slugify(c),o,!1,e.uniqueSlugStartIndex):Od(u,o,!0,e.uniqueSlugStartIndex),l.attrSet("id",u),e.tabIndex!==!1&&l.attrSet("tabindex",""+e.tabIndex),typeof e.permalink=="function"?e.permalink(u,e,n,a):(e.permalink||e.renderPermalink&&e.renderPermalink!==dl)&&e.renderPermalink(u,e,n,a),a=r.indexOf(l),e.callback&&e.callback(l,{slug:u,title:c})}}})}Object.assign(Md.defaults,{style:"visually-hidden",space:!0,placement:"after",wrapper:null}),ps.permalink={__proto__:null,legacy:dl,renderHref:xg,renderAttrs:kg,makePermalink:Po,linkInsideHeader:_i,ariaHidden:Bn,headerLink:Eg,linkAfterHeader:Md},ps.defaults={level:1,slugify:function(t){return encodeURIComponent(String(t).trim().toLowerCase().replace(/\s+/g,"-"))},uniqueSlugStartIndex:1,tabIndex:"-1",getTokensText:function(t){return t.filter(function(e){return["text","code_inline"].includes(e.type)}).map(function(e){return e.content}).join("")},permalink:!1,renderPermalink:dl,permalinkClass:Bn.defaults.class,permalinkSpace:Bn.defaults.space,permalinkSymbol:"¶",permalinkBefore:Bn.defaults.placement==="before",permalinkHref:Bn.defaults.renderHref,permalinkAttrs:Bn.defaults.renderAttrs},ps.default=ps;var LIe=function(e,n){n=n||{};function s(o){for(var r=1,i=1,a=o.tokens.length;i<a-1;++i){var l=o.tokens[i];if(l.type==="inline"&&!(!l.children||l.children.length!==1&&l.children.length!==3)&&!(l.children.length===1&&l.children[0].type!=="image")&&!(l.children.length===3&&(l.children[0].type!=="link_open"||l.children[1].type!=="image"||l.children[2].type!=="link_close"))&&!(i!==0&&o.tokens[i-1].type!=="paragraph_open")&&!(i!==a-1&&o.tokens[i+1].type!=="paragraph_close")){var c=o.tokens[i-1];c.type="figure_open",c.tag="figure",o.tokens[i+1].type="figure_close",o.tokens[i+1].tag="figure",n.dataType==!0&&o.tokens[i-1].attrPush(["data-type","image"]);var u;if(n.link==!0&&l.children.length===1&&(u=l.children[0],l.children.unshift(new o.Token("link_open","a",1)),l.children[0].attrPush(["href",u.attrGet("src")]),l.children.push(new o.Token("link_close","a",-1))),u=l.children.length===1?l.children[0]:l.children[1],n.figcaption==!0&&u.children&&u.children.length&&(l.children.push(new o.Token("figcaption_open","figcaption",1)),l.children.splice(l.children.length,0,...u.children),l.children.push(new o.Token("figcaption_close","figcaption",-1)),u.children.length=0),n.copyAttrs&&u.attrs){const f=n.copyAttrs===!0?"":n.copyAttrs;c.attrs=u.attrs.filter(([h,g])=>h.match(f))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&u.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const IIe=rs(LIe);function Cg(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],s=typeof n;(s==="object"||s==="function")&&!Object.isFrozen(n)&&Cg(n)}),t}class Rd{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Ag(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Cn(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const PIe="</span>",Nd=t=>!!t.scope,FIe=(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 BIe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Ag(e)}openNode(e){if(!Nd(e))return;const n=FIe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Nd(e)&&(this.buffer+=PIe)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const Dd=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class dc{constructor(){this.rootNode=Dd(),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=Dd({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=>{dc._collapse(n)}))}}class $Ie extends dc{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 BIe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Ao(t){return t?typeof t=="string"?t:t.source:null}function Sg(t){return is("(?=",t,")")}function jIe(t){return is("(?:",t,")*")}function zIe(t){return is("(?:",t,")?")}function is(...t){return t.map(n=>Ao(n)).join("")}function UIe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function fc(...t){return"("+(UIe(t).capture?"":"?:")+t.map(s=>Ao(s)).join("|")+")"}function Tg(t){return new RegExp(t.toString()+"|").exec("").length-1}function qIe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const HIe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function hc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=Ao(s),i="";for(;r.length>0;){const a=HIe.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 VIe=/\b\B/,Mg="[a-zA-Z]\\w*",pc="[a-zA-Z_]\\w*",Og="\\b\\d+(\\.\\d+)?",Rg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ng="\\b(0b[01]+)",GIe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",KIe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=is(e,/.*\b/,t.binary,/\b.*/)),Cn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},So={begin:"\\\\[\\s\\S]",relevance:0},WIe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[So]},ZIe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[So]},YIe={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/},bi=function(t,e,n={}){const s=Cn({scope:"comment",begin:t,end:e,contains:[]},n);s.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=fc("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:is(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},QIe=bi("//","$"),JIe=bi("/\\*","\\*/"),XIe=bi("#","$"),ePe={scope:"number",begin:Og,relevance:0},tPe={scope:"number",begin:Rg,relevance:0},nPe={scope:"number",begin:Ng,relevance:0},sPe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[So,{begin:/\[/,end:/\]/,relevance:0,contains:[So]}]}]},oPe={scope:"title",begin:Mg,relevance:0},rPe={scope:"title",begin:pc,relevance:0},iPe={begin:"\\.\\s*"+pc,relevance:0},aPe=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 Yo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:VIe,IDENT_RE:Mg,UNDERSCORE_IDENT_RE:pc,NUMBER_RE:Og,C_NUMBER_RE:Rg,BINARY_NUMBER_RE:Ng,RE_STARTERS_RE:GIe,SHEBANG:KIe,BACKSLASH_ESCAPE:So,APOS_STRING_MODE:WIe,QUOTE_STRING_MODE:ZIe,PHRASAL_WORDS_MODE:YIe,COMMENT:bi,C_LINE_COMMENT_MODE:QIe,C_BLOCK_COMMENT_MODE:JIe,HASH_COMMENT_MODE:XIe,NUMBER_MODE:ePe,C_NUMBER_MODE:tPe,BINARY_NUMBER_MODE:nPe,REGEXP_MODE:sPe,TITLE_MODE:oPe,UNDERSCORE_TITLE_MODE:rPe,METHOD_GUARD:iPe,END_SAME_AS_BEGIN:aPe});function lPe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function cPe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function uPe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=lPe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function dPe(t,e){Array.isArray(t.illegal)&&(t.illegal=fc(...t.illegal))}function fPe(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 hPe(t,e){t.relevance===void 0&&(t.relevance=1)}const pPe=(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=is(n.beforeMatch,Sg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},gPe=["of","and","for","in","not","or","if","then","parent","list","value"],mPe="keyword";function Dg(t,e,n=mPe){const s=Object.create(null);return typeof t=="string"?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach(function(r){Object.assign(s,Dg(t[r],e,r))}),s;function o(r,i){e&&(i=i.map(a=>a.toLowerCase())),i.forEach(function(a){const l=a.split("|");s[l[0]]=[r,_Pe(l[0],l[1])]})}}function _Pe(t,e){return e?Number(e):bPe(t)?0:1}function bPe(t){return gPe.includes(t.toLowerCase())}const Ld={},Yn=t=>{console.error(t)},Id=(t,...e)=>{console.log(`WARN: ${t}`,...e)},ds=(t,e)=>{Ld[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Ld[`${t}/${e}`]=!0)},Mr=new Error;function Lg(t,e,{key:n}){let s=0;const o=t[n],r={},i={};for(let a=1;a<=e.length;a++)i[a+s]=o[a],r[a+s]=!0,s+=Tg(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function yPe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Yn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Mr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Yn("beginScope must be object"),Mr;Lg(t,t.begin,{key:"beginScope"}),t.begin=hc(t.begin,{joinWith:""})}}function vPe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Yn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Mr;if(typeof t.endScope!="object"||t.endScope===null)throw Yn("endScope must be object"),Mr;Lg(t,t.end,{key:"endScope"}),t.end=hc(t.end,{joinWith:""})}}function wPe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function xPe(t){wPe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),yPe(t),vPe(t)}function kPe(t){function e(i,a){return new RegExp(Ao(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=Tg(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(hc(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((f,h)=>h>0&&f!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[cPe,fPe,xPe,pPe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[uPe,dPe,hPe].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=Dg(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=Ao(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 EPe(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=Cn(t.classNameAliases||{}),r(t)}function Ig(t){return t?t.endsWithParent||Ig(t.starts):!1}function EPe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Cn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Ig(t)?Cn(t,{starts:t.starts?Cn(t.starts):null}):Object.isFrozen(t)?Cn(t):t}var CPe="11.8.0";class APe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Xi=Ag,Pd=Cn,Fd=Symbol("nomatch"),SPe=7,Pg=function(t){const e=Object.create(null),n=Object.create(null),s=[];let o=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:$Ie};function l(A){return a.noHighlightRe.test(A)}function c(A){let q=A.className+" ";q+=A.parentNode?A.parentNode.className:"";const V=a.languageDetectRe.exec(q);if(V){const _e=k(V[1]);return _e||(Id(r.replace("{}",V[1])),Id("Falling back to no-highlight mode for this block.",A)),_e?V[1]:"no-highlight"}return q.split(/\s+/).find(_e=>l(_e)||k(_e))}function u(A,q,V){let _e="",pe="";typeof q=="object"?(_e=A,V=q.ignoreIllegals,pe=q.language):(ds("10.7.0","highlight(lang, code, ...args) has been deprecated."),ds("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),pe=A,_e=q),V===void 0&&(V=!0);const ee={code:_e,language:pe};ae("before:highlight",ee);const be=ee.result?ee.result:f(ee.language,ee.code,V);return be.code=ee.code,ae("after:highlight",be),be}function f(A,q,V,_e){const pe=Object.create(null);function ee(K,oe){return K.keywords[oe]}function be(){if(!j.keywords){z.addText(Z);return}let K=0;j.keywordPatternRe.lastIndex=0;let oe=j.keywordPatternRe.exec(Z),he="";for(;oe;){he+=Z.substring(K,oe.index);const Ce=$.case_insensitive?oe[0].toLowerCase():oe[0],Ie=ee(j,Ce);if(Ie){const[qe,Ne]=Ie;if(z.addText(he),he="",pe[Ce]=(pe[Ce]||0)+1,pe[Ce]<=SPe&&(ie+=Ne),qe.startsWith("_"))he+=oe[0];else{const Ye=$.classNameAliases[qe]||qe;Q(oe[0],Ye)}}else he+=oe[0];K=j.keywordPatternRe.lastIndex,oe=j.keywordPatternRe.exec(Z)}he+=Z.substring(K),z.addText(he)}function Ee(){if(Z==="")return;let K=null;if(typeof j.subLanguage=="string"){if(!e[j.subLanguage]){z.addText(Z);return}K=f(j.subLanguage,Z,!0,se[j.subLanguage]),se[j.subLanguage]=K._top}else K=g(Z,j.subLanguage.length?j.subLanguage:null);j.relevance>0&&(ie+=K.relevance),z.__addSublanguage(K._emitter,K.language)}function N(){j.subLanguage!=null?Ee():be(),Z=""}function Q(K,oe){K!==""&&(z.startScope(oe),z.addText(K),z.endScope())}function H(K,oe){let he=1;const Ce=oe.length-1;for(;he<=Ce;){if(!K._emit[he]){he++;continue}const Ie=$.classNameAliases[K[he]]||K[he],qe=oe[he];Ie?Q(qe,Ie):(Z=qe,be(),Z=""),he++}}function te(K,oe){return K.scope&&typeof K.scope=="string"&&z.openNode($.classNameAliases[K.scope]||K.scope),K.beginScope&&(K.beginScope._wrap?(Q(Z,$.classNameAliases[K.beginScope._wrap]||K.beginScope._wrap),Z=""):K.beginScope._multi&&(H(K.beginScope,oe),Z="")),j=Object.create(K,{parent:{value:j}}),j}function X(K,oe,he){let Ce=qIe(K.endRe,he);if(Ce){if(K["on:end"]){const Ie=new Rd(K);K["on:end"](oe,Ie),Ie.isMatchIgnored&&(Ce=!1)}if(Ce){for(;K.endsParent&&K.parent;)K=K.parent;return K}}if(K.endsWithParent)return X(K.parent,oe,he)}function fe(K){return j.matcher.regexIndex===0?(Z+=K[0],1):(we=!0,0)}function le(K){const oe=K[0],he=K.rule,Ce=new Rd(he),Ie=[he.__beforeBegin,he["on:begin"]];for(const qe of Ie)if(qe&&(qe(K,Ce),Ce.isMatchIgnored))return fe(oe);return he.skip?Z+=oe:(he.excludeBegin&&(Z+=oe),N(),!he.returnBegin&&!he.excludeBegin&&(Z=oe)),te(he,K),he.returnBegin?0:oe.length}function w(K){const oe=K[0],he=q.substring(K.index),Ce=X(j,K,he);if(!Ce)return Fd;const Ie=j;j.endScope&&j.endScope._wrap?(N(),Q(oe,j.endScope._wrap)):j.endScope&&j.endScope._multi?(N(),H(j.endScope,K)):Ie.skip?Z+=oe:(Ie.returnEnd||Ie.excludeEnd||(Z+=oe),N(),Ie.excludeEnd&&(Z=oe));do j.scope&&z.closeNode(),!j.skip&&!j.subLanguage&&(ie+=j.relevance),j=j.parent;while(j!==Ce.parent);return Ce.starts&&te(Ce.starts,K),Ie.returnEnd?0:oe.length}function E(){const K=[];for(let oe=j;oe!==$;oe=oe.parent)oe.scope&&K.unshift(oe.scope);K.forEach(oe=>z.openNode(oe))}let P={};function B(K,oe){const he=oe&&oe[0];if(Z+=K,he==null)return N(),0;if(P.type==="begin"&&oe.type==="end"&&P.index===oe.index&&he===""){if(Z+=q.slice(oe.index,oe.index+1),!o){const Ce=new Error(`0 width match regex (${A})`);throw Ce.languageName=A,Ce.badRule=P.rule,Ce}return 1}if(P=oe,oe.type==="begin")return le(oe);if(oe.type==="illegal"&&!V){const Ce=new Error('Illegal lexeme "'+he+'" for mode "'+(j.scope||"<unnamed>")+'"');throw Ce.mode=j,Ce}else if(oe.type==="end"){const Ce=w(oe);if(Ce!==Fd)return Ce}if(oe.type==="illegal"&&he==="")return 1;if(ce>1e5&&ce>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Z+=he,he.length}const $=k(A);if(!$)throw Yn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const ne=kPe($);let re="",j=_e||ne;const se={},z=new a.__emitter(a);E();let Z="",ie=0,de=0,ce=0,we=!1;try{if($.__emitTokens)$.__emitTokens(q,z);else{for(j.matcher.considerAll();;){ce++,we?we=!1:j.matcher.considerAll(),j.matcher.lastIndex=de;const K=j.matcher.exec(q);if(!K)break;const oe=q.substring(de,K.index),he=B(oe,K);de=K.index+he}B(q.substring(de))}return z.finalize(),re=z.toHTML(),{language:A,value:re,relevance:ie,illegal:!1,_emitter:z,_top:j}}catch(K){if(K.message&&K.message.includes("Illegal"))return{language:A,value:Xi(q),illegal:!0,relevance:0,_illegalBy:{message:K.message,index:de,context:q.slice(de-100,de+100),mode:K.mode,resultSoFar:re},_emitter:z};if(o)return{language:A,value:Xi(q),illegal:!1,relevance:0,errorRaised:K,_emitter:z,_top:j};throw K}}function h(A){const q={value:Xi(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return q._emitter.addText(A),q}function g(A,q){q=q||a.languages||Object.keys(e);const V=h(A),_e=q.filter(k).filter(L).map(N=>f(N,A,!1));_e.unshift(V);const pe=_e.sort((N,Q)=>{if(N.relevance!==Q.relevance)return Q.relevance-N.relevance;if(N.language&&Q.language){if(k(N.language).supersetOf===Q.language)return 1;if(k(Q.language).supersetOf===N.language)return-1}return 0}),[ee,be]=pe,Ee=ee;return Ee.secondBest=be,Ee}function p(A,q,V){const _e=q&&n[q]||V;A.classList.add("hljs"),A.classList.add(`language-${_e}`)}function m(A){let q=null;const V=c(A);if(l(V))return;if(ae("before:highlightElement",{el:A,language:V}),A.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(A)),a.throwUnescapedHTML))throw new APe("One of your code blocks includes unescaped HTML.",A.innerHTML);q=A;const _e=q.textContent,pe=V?u(_e,{language:V,ignoreIllegals:!0}):g(_e);A.innerHTML=pe.value,p(A,V,pe.language),A.result={language:pe.language,re:pe.relevance,relevance:pe.relevance},pe.secondBest&&(A.secondBest={language:pe.secondBest.language,relevance:pe.secondBest.relevance}),ae("after:highlightElement",{el:A,result:pe,text:_e})}function v(A){a=Pd(a,A)}const _=()=>{C(),ds("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){C(),ds("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function C(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function R(){x&&C()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function M(A,q){let V=null;try{V=q(t)}catch(_e){if(Yn("Language definition for '{}' could not be registered.".replace("{}",A)),o)Yn(_e);else throw _e;V=i}V.name||(V.name=A),e[A]=V,V.rawDefinition=q.bind(null,t),V.aliases&&T(V.aliases,{languageName:A})}function D(A){delete e[A];for(const q of Object.keys(n))n[q]===A&&delete n[q]}function y(){return Object.keys(e)}function k(A){return A=(A||"").toLowerCase(),e[A]||e[n[A]]}function T(A,{languageName:q}){typeof A=="string"&&(A=[A]),A.forEach(V=>{n[V.toLowerCase()]=q})}function L(A){const q=k(A);return q&&!q.disableAutodetect}function F(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=q=>{A["before:highlightBlock"](Object.assign({block:q.el},q))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=q=>{A["after:highlightBlock"](Object.assign({block:q.el},q))})}function Y(A){F(A),s.push(A)}function I(A){const q=s.indexOf(A);q!==-1&&s.splice(q,1)}function ae(A,q){const V=A;s.forEach(function(_e){_e[V]&&_e[V](q)})}function W(A){return ds("10.7.0","highlightBlock will be removed entirely in v12.0"),ds("10.7.0","Please use highlightElement now."),m(A)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:C,highlightElement:m,highlightBlock:W,configure:v,initHighlighting:_,initHighlightingOnLoad:b,registerLanguage:M,unregisterLanguage:D,listLanguages:y,getLanguage:k,registerAliases:T,autoDetection:L,inherit:Pd,addPlugin:Y,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=CPe,t.regex={concat:is,lookahead:Sg,either:fc,optional:zIe,anyNumberOfTimes:jIe};for(const A in Yo)typeof Yo[A]=="object"&&Cg(Yo[A]);return Object.assign(t,Yo),t},Rs=Pg({});Rs.newInstance=()=>Pg({});var TPe=Rs;Rs.HighlightJS=Rs;Rs.default=Rs;var ea,Bd;function MPe(){if(Bd)return ea;Bd=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:o,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,a,c,l]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(s,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:u}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return ea=t,ea}var ta,$d;function OPe(){if($d)return ta;$d=1;function t(e){const n=e.regex,s={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]};r.contains.push(a);const l={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=e.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],m=["true","false"],v={match:/(\/[a-z._-]+)+/},_=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],b=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],C=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:m,built_in:[..._,...b,"set","shopt",...x,...C]},contains:[h,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,v,a,l,c,s]}}return ta=t,ta}var na,jd;function RPe(){if(jd)return na;jd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",_={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},b=[h,l,s,e.C_BLOCK_COMMENT_MODE,f,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:b.concat([{begin:/\(/,end:/\)/,keywords:_,contains:b.concat(["self"]),relevance:0}]),relevance:0},C={begin:"("+a+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,f,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"</",contains:[].concat(x,C,b,[h,{begin:e.IDENT_RE+"::",keywords:_},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:h,strings:u,keywords:_}}}return na=t,na}var sa,zd;function NPe(){if(zd)return sa;zd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",m=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],v=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],_=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],R={type:v,keyword:m,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},M={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[M,h,l,s,e.C_BLOCK_COMMENT_MODE,f,u],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:D.concat([{begin:/\(/,end:/\)/,keywords:R,contains:D.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+a+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:p,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,f,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(y,k,M,D,[h,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:R,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return sa=t,sa}var oa,Ud;function DPe(){if(Ud)return oa;Ud=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],s=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],i=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:r.concat(i),built_in:n,literal:o},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},f=e.inherit(u,{illegal:/\n/}),h={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(h,{illegal:/\n/}),p={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},m={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]},v=e.inherit(m,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});h.contains=[m,p,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],g.contains=[v,p,f,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const _={variants:[m,p,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",C={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,b],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[_,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},C]}}return oa=t,oa}var ra,qd;function LPe(){if(qd)return ra;qd=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=a.regex,c=t(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},f="and or not only",h=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",p=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,u,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+g,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...p,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:h},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return ra=i,ra}var ia,Hd;function IPe(){if(Hd)return ia;Hd=1;function t(e){const n=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=e.inherit(u,{contains:[]}),g=e.inherit(f,{contains:[]});u.contains.push(g),f.contains.push(h);let p=[s,c];return[u,f,h,g].forEach(_=>{_.contains=_.contains.concat(p)}),p=p.concat(u,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},s,i,u,f,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},r,o,c,a]}}return ia=t,ia}var aa,Vd;function PPe(){if(Vd)return aa;Vd=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return aa=t,aa}var la,Gd;function FPe(){if(Gd)return la;Gd=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],f={className:"subst",begin:/#\{/,end:/\}/,keywords:a},h={className:"string",contains:[e.BACKSLASH_ESCAPE,f],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,f]})]}]},g="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",m={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},v={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[h,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[v]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:s}],relevance:0},m,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,f],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,u),relevance:0}].concat(c,u);f.contains=D,v.contains=D;const y="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",T="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+y+"|"+k+"|"+T+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return u.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(L).concat(u).concat(D)}}return la=t,la}var ca,Kd;function BPe(){if(Kd)return ca;Kd=1;function t(e){const i={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:i,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,illegal:/["']/}]}]}}return ca=t,ca}var ua,Wd;function $Pe(){if(Wd)return ua;Wd=1;function t(e){const n=e.regex,s=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:n.concat(s,n.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return ua=t,ua}var da,Zd;function jPe(){if(Zd)return da;Zd=1;function t(e){const n=e.regex,s={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},o=e.COMMENT();o.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[o,i,r,a,s,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,f=/'[^']*'/,h=n.either(c,u,f),g=n.concat(h,"(\\s*\\.\\s*",h,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[o,{className:"section",begin:/\[+/,end:/\]+/},{begin:g,className:"attr",starts:{end:/$/,contains:[o,l,i,r,a,s]}}]}}return da=t,da}var fa,Yd;function zPe(){if(Yd)return fa;Yd=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(i,a,l){return l===-1?"":i.replace(a,c=>o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),p={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},m={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},v={className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:p,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[v,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:p,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[m,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,m]}}return fa=r,fa}var ha,Qd;function UPe(){if(Qd)return ha;Qd=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(c){const u=c.regex,f=(H,{after:te})=>{const X="</"+H[0].slice(1);return H.input.indexOf(X,te)!==-1},h=t,g={begin:"<>",end:"</>"},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(H,te)=>{const X=H[0].length+H.index,fe=H.input[X];if(fe==="<"||fe===","){te.ignoreMatch();return}fe===">"&&(f(H,{after:X})||te.ignoreMatch());let le;const w=H.input.substring(X);if(le=w.match(/^\s*=/)){te.ignoreMatch();return}if((le=w.match(/^\s+extends\s+/))&&le.index===0){te.ignoreMatch();return}}},v={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},_="[0-9](_?[0-9])*",b=`\\.(${_})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",C={className:"number",variants:[{begin:`(\\b(${x})((${b})|\\.)?|(${b}))[eE][+-]?(${_})\\b`},{begin:`\\b(${x})\\b((${b})\\b|\\.)?|(${b})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:v,contains:[]},M={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"css"}},y={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,R]},L={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},F=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,M,D,y,k,{match:/\$\d+/},C];R.contains=F.concat({begin:/\{/,end:/\}/,keywords:v,contains:["self"].concat(F)});const Y=[].concat(L,R.contains),I=Y.concat([{begin:/\(/,end:/\)/,keywords:v,contains:["self"].concat(Y)}]),ae={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:I},W={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,u.concat(h,"(",u.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},A={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...o]}},q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},V={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ae],illegal:/%/},_e={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function pe(H){return u.concat("(?!",H.join("|"),")")}const ee={match:u.concat(/\b/,pe([...r,"super","import"]),h,u.lookahead(/\(/)),className:"title.function",relevance:0},be={begin:u.concat(/\./,u.lookahead(u.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ee={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ae]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Q={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ae]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:v,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),q,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,M,D,y,k,L,{match:/\$\d+/},C,A,{className:"attr",begin:h+u.lookahead(":"),relevance:0},Q,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[L,c.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:p},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},V,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ae,c.inherit(c.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},be,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ae]},ee,_e,W,Ee,{match:/\$[(.]/}]}}return ha=l,ha}var pa,Jd;function qPe(){if(Jd)return pa;Jd=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],r={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",keywords:{literal:o},contains:[n,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return pa=t,pa}var ga,Xd;function HPe(){if(Xd)return ga;Xd=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},f={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,c]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,c]}]};c.contains.push(f);const h={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(f,{className:"string"}),"self"]}]},p=s,m=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),v={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=v;return _.variants[1].contains=[v],v.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,m,a,l,h,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[v,r.C_LINE_COMMENT_MODE,m],relevance:0},r.C_LINE_COMMENT_MODE,m,h,g,f,r.C_NUMBER_MODE]},m]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},h,g]},f,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
`},p]}}return ga=o,ga}var ma,ef;function VPe(){if(ef)return ma;ef=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),i=s.concat(o);function a(l){const c=t(l),u=i,f="and or not only",h="[\\w-]+",g="("+h+"|@\\{"+h+"\\})",p=[],m=[],v=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},_=function(L,F,Y){return{className:L,begin:F,relevance:Y}},b={$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:m,keywords:b,relevance:0};m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v("'"),v('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,x,_("variable","@@?"+h,10),_("variable","@\\{"+h+"\\}"),_("built_in","~?`[^`]*?`"),{className:"attribute",begin:h+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const C=m.concat({begin:/\{/,end:/\}/,contains:p}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(m)},M={begin:g+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:m}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:m,relevance:0}},y={className:"variable",variants:[{begin:"@"+h+"\\s*:",relevance:15},{begin:"@"+h}],starts:{end:"[;}]",returnEnd:!0,contains:C}},k={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:g,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,R,_("keyword","all\\b"),_("variable","@\\{"+h+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,_("selector-tag",g,0),_("selector-id","#"+g),_("selector-class","\\."+g,0),_("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:C},{begin:"!important"},c.FUNCTION_DISPATCH]},T={begin:h+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[k]};return p.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,y,T,M,k,R,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:p}}return ma=a,ma}var _a,tf;function GPe(){if(tf)return _a;tf=1;function t(e){const n="\\[=*\\[",s="\\]=*\\]",o={begin:n,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,s,{contains:[o],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:s,contains:[o],relevance:5}])}}return _a=t,_a}var ba,nf;function KPe(){if(nf)return ba;nf=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n]},o={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[n]},r={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[n]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,n,s,o,r,i,a]}}return ba=t,ba}var ya,sf;function WPe(){if(sf)return ya;sf=1;function t(e){const n=e.regex,s=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:s.join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={begin:/->\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,i,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(p,m,v="\\1")=>{const _=v==="\\1"?v:n.concat(v,m);return n.concat(n.concat("(?:",p,")"),m,/(?:\\.|[^\\\/])*?/,_,/(?:\\.|[^\\\/])*?/,v,o)},h=(p,m,v)=>n.concat(n.concat("(?:",p,")"),m,/(?:\\.|[^\\\/])*?/,v,o),g=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:f("s|tr|y",n.either(...u,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=g,a.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:g}}return ya=t,ya}var va,of;function ZPe(){if(of)return va;of=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"</",contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return va=t,va}var wa,rf;function YPe(){if(rf)return wa;rf=1;function t(e){const n=e.regex,s=/(?![A-Za-z0-9])(?![$])/,o=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),i={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),f={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(I,ae)=>{ae.data._beginMatch=I[1]||I[2]},"on:end":(I,ae)=>{ae.data._beginMatch!==I[1]&&ae.ignoreMatch()}},h=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[
]`,p={scope:"string",variants:[u,c,f,h]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},v=["false","null","true"],_=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],C={keyword:_,literal:(I=>{const ae=[];return I.forEach(W=>{ae.push(W),W.toLowerCase()===W?ae.push(W.toUpperCase()):ae.push(W.toLowerCase())}),ae})(v),built_in:b},R=I=>I.map(ae=>ae.replace(/\|\d+$/,"")),M={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",R(b).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),y={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},T={relevance:0,begin:/\(/,end:/\)/,keywords:C,contains:[k,i,y,e.C_BLOCK_COMMENT_MODE,p,m,M]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(_).join("\\b|"),"|",R(b).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[T]};T.contains.push(L);const F=[k,y,e.C_BLOCK_COMMENT_MODE,p,m,M],Y={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...F]},...F,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:C,contains:[Y,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},i,L,y,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},M,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:C,contains:["self",i,y,e.C_BLOCK_COMMENT_MODE,p,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,m]}}return wa=t,wa}var xa,af;function QPe(){if(af)return xa;af=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return xa=t,xa}var ka,lf;function JPe(){if(lf)return ka;lf=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return ka=t,ka}var Ea,cf;function XPe(){if(cf)return Ea;cf=1;function t(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},f={begin:/\{\{/,relevance:0},h={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,f,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,f,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",p=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,m=`\\b|${o.join("|")}`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${p}))[eE][+-]?(${g})[jJ]?(?=${m})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${g})[jJ](?=${m})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,v,h,e.HASH_COMMENT_MODE]}]};return u.contains=[h,v,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,v,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},h,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[v,b,h]}]}}return Ea=t,Ea}var Ca,uf;function eFe(){if(uf)return Ca;uf=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Ca=t,Ca}var Aa,df;function tFe(){if(df)return Aa;df=1;function t(e){const n=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[i,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Aa=t,Aa}var Sa,ff;function nFe(){if(ff)return Sa;ff=1;function t(e){const n=e.regex,s={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],i=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:r,literal:i,built_in:a},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+o},{begin:"\\b0o([0-7_]+)"+o},{begin:"\\b0x([A-Fa-f0-9_]+)"+o},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+o}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:a,type:l}},{className:"punctuation",begin:"->"},s]}}return Sa=t,Sa}var Ta,hf;function sFe(){if(hf)return Ta;hf=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=t(a),c=o,u=s,f="@[a-z-]+",h="and or not only",p={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},p,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,p,l.HEXCOLOR,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:f,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:f,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},p,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Ta=i,Ta}var Ma,pf;function oFe(){if(pf)return Ma;pf=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Ma=t,Ma}var Oa,gf;function rFe(){if(gf)return Oa;gf=1;function t(e){const n=e.regex,s=e.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],f=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],h=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=f,m=[...u,...c].filter(C=>!f.includes(C)),v={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={begin:n.concat(/\b/,n.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function x(C,{exceptions:R,when:M}={}){const D=M;return R=R||[],C.map(y=>y.match(/\|\d+$/)||R.includes(y)?y:D(y)?`${y}|0`:y)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(m,{when:C=>C.length<3}),literal:i,type:l,built_in:h},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:m.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},b,v,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}return Oa=t,Oa}var Ra,mf;function iFe(){if(mf)return Ra;mf=1;function t(y){return y?typeof y=="string"?y:y.source:null}function e(y){return n("(?=",y,")")}function n(...y){return y.map(T=>t(T)).join("")}function s(y){const k=y[y.length-1];return typeof k=="object"&&k.constructor===Object?(y.splice(y.length-1,1),k):{}}function o(...y){return"("+(s(y).capture?"":"?:")+y.map(L=>t(L)).join("|")+")"}const r=y=>n(/\b/,y,/\w$/.test(y)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],f=["assignment","associativity","higherThan","left","lowerThan","none","right"],h=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],p=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),m=o(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),v=n(p,m,"*"),_=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),b=o(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(_,b,"*"),C=n(/[A-Z]/,b,"*"),R=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,x,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],M=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(y){const k={match:/\s+/,relevance:0},T=y.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[y.C_LINE_COMMENT_MODE,T],F={match:[/\./,o(...i,...a)],className:{2:"keyword"}},Y={match:n(/\./,o(...c)),relevance:0},I=c.filter(Ne=>typeof Ne=="string").concat(["_|0"]),ae=c.filter(Ne=>typeof Ne!="string").concat(l).map(r),W={variants:[{className:"keyword",match:o(...ae,...a)}]},A={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(h),literal:u},q=[F,Y,W],V={match:n(/\./,o(...g)),relevance:0},_e={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},pe=[V,_e],ee={match:/->/,relevance:0},be={className:"operator",relevance:0,variants:[{match:v},{match:`\\.(\\.|${m})+`}]},Ee=[ee,be],N="([0-9]_*)+",Q="([0-9a-fA-F]_*)+",H={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${Q})(\\.(${Q}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},te=(Ne="")=>({className:"subst",variants:[{match:n(/\\/,Ne,/[0\\tnr"']/)},{match:n(/\\/,Ne,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(Ne="")=>({className:"subst",match:n(/\\/,Ne,/[\t ]*(?:[\r\n]|\r\n)/)}),fe=(Ne="")=>({className:"subst",label:"interpol",begin:n(/\\/,Ne,/\(/),end:/\)/}),le=(Ne="")=>({begin:n(Ne,/"""/),end:n(/"""/,Ne),contains:[te(Ne),X(Ne),fe(Ne)]}),w=(Ne="")=>({begin:n(Ne,/"/),end:n(/"/,Ne),contains:[te(Ne),fe(Ne)]}),E={className:"string",variants:[le(),le("#"),le("##"),le("###"),w(),w("#"),w("##"),w("###")]},P={match:n(/`/,x,/`/)},B={className:"variable",match:/\$\d+/},$={className:"variable",match:`\\$${b}+`},ne=[P,B,$],re={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:M,contains:[...Ee,H,E]}]}},j={className:"keyword",match:n(/@/,o(...R))},se={className:"meta",match:n(/@/,x)},z=[re,j,se],Z={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,b,"+")},{className:"type",match:C,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(C)),relevance:0}]},ie={begin:/</,end:/>/,keywords:A,contains:[...L,...q,...z,ee,Z]};Z.contains.push(ie);const de={match:n(x,/\s*:/),keywords:"_|0",relevance:0},ce={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",de,...L,...q,...pe,...Ee,H,E,...ne,...z,Z]},we={begin:/</,end:/>/,contains:[...L,Z]},K={begin:o(e(n(x,/\s*:/)),e(n(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:x}]},oe={begin:/\(/,end:/\)/,keywords:A,contains:[K,...L,...q,...Ee,H,E,...z,Z,ce],endsParent:!0,illegal:/["']/},he={match:[/func/,/\s+/,o(P.match,x,v)],className:{1:"keyword",3:"title.function"},contains:[we,oe,k],illegal:[/\[/,/%/]},Ce={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[we,oe,k],illegal:/\[|%/},Ie={match:[/operator/,/\s+/,v],className:{1:"keyword",3:"title"}},qe={begin:[/precedencegroup/,/\s+/,C],className:{1:"keyword",3:"title"},contains:[Z],keywords:[...f,...u],end:/}/};for(const Ne of E.variants){const Ye=Ne.contains.find(it=>it.label==="interpol");Ye.keywords=A;const et=[...q,...pe,...Ee,H,E,...ne];Ye.contains=[...et,{begin:/\(/,end:/\)/,contains:["self",...et]}]}return{name:"Swift",keywords:A,contains:[...L,he,Ce,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:A,contains:[y.inherit(y.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...q]},Ie,qe,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...q,...pe,...Ee,H,E,...ne,...z,Z,ce]}}return Ra=D,Ra}var Na,_f;function aFe(){if(_f)return Na;_f=1;function t(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",f="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",h={className:"number",begin:"\\b"+l+c+u+f+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},p={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},v=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},h,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},p,m,i],_=[...v];return _.pop(),_.push(a),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return Na=t,Na}var Da,bf;function lFe(){if(bf)return Da;bf=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(u){const f=u.regex,h=(te,{after:X})=>{const fe="</"+te[0].slice(1);return te.input.indexOf(fe,X)!==-1},g=t,p={begin:"<>",end:"</>"},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const fe=te[0].length+te.index,le=te.input[fe];if(le==="<"||le===","){X.ignoreMatch();return}le===">"&&(h(te,{after:fe})||X.ignoreMatch());let w;const E=te.input.substring(fe);if(w=E.match(/^\s*=/)){X.ignoreMatch();return}if((w=E.match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},_={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",x=`\\.(${b})`,C="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${C})((${x})|\\.)?|(${x}))[eE][+-]?(${b})\\b`},{begin:`\\b(${C})\\b((${x})\\b|\\.)?|(${x})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},M={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,M],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,M],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,M],subLanguage:"graphql"}},T={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,M]},F={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},Y=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,k,T,{match:/\$\d+/},R];M.contains=Y.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(Y)});const I=[].concat(F,M.contains),ae=I.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:ae},A={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,f.concat(g,"(",f.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},q={relevance:0,match:f.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...o]}},V={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},_e={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},pe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(te){return f.concat("(?!",te.join("|"),")")}const be={match:f.concat(/\b/,ee([...r,"super","import"]),g,f.lookahead(/\(/)),className:"title.function",relevance:0},Ee={begin:f.concat(/\./,f.lookahead(f.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},W]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",H={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,f.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:q},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),V,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,k,T,F,{match:/\$\d+/},R,q,{className:"attr",begin:g+f.lookahead(":"),relevance:0},H,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,u.REGEXP_MODE,{className:"function",begin:Q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:m},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.end,skip:!0,contains:["self"]}]}]},_e,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ee,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},be,pe,A,N,{match:/\$[(.]/}]}}function c(u){const f=l(u),h=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[f.exports.CLASS_REFERENCE]},m={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[f.exports.CLASS_REFERENCE]},v={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],b={$pattern:t,keyword:e.concat(_),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+h},C=(M,D,y)=>{const k=M.contains.findIndex(T=>T.label===D);if(k===-1)throw new Error("can not find mode to replace");M.contains.splice(k,1,y)};Object.assign(f.keywords,b),f.exports.PARAMS_CONTAINS.push(x),f.contains=f.contains.concat([x,p,m]),C(f,"shebang",u.SHEBANG()),C(f,"use_strict",v);const R=f.contains.find(M=>M.label==="func.def");return R.relevance=0,Object.assign(f,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),f}return Da=c,Da}var La,yf;function cFe(){if(yf)return La;yf=1;function t(e){const n=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(i,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(i,r),/ +/,n.either(a,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},f={className:"label",begin:/^\w+:/},h=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,o,c,u,f,h,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return La=t,La}var Ia,vf;function uFe(){if(vf)return Ia;vf=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const s=e.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[s,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,r,e.QUOTE_STRING_MODE,c,u,l]}}return Ia=t,Ia}var Oe=TPe;Oe.registerLanguage("xml",MPe());Oe.registerLanguage("bash",OPe());Oe.registerLanguage("c",RPe());Oe.registerLanguage("cpp",NPe());Oe.registerLanguage("csharp",DPe());Oe.registerLanguage("css",LPe());Oe.registerLanguage("markdown",IPe());Oe.registerLanguage("diff",PPe());Oe.registerLanguage("ruby",FPe());Oe.registerLanguage("go",BPe());Oe.registerLanguage("graphql",$Pe());Oe.registerLanguage("ini",jPe());Oe.registerLanguage("java",zPe());Oe.registerLanguage("javascript",UPe());Oe.registerLanguage("json",qPe());Oe.registerLanguage("kotlin",HPe());Oe.registerLanguage("less",VPe());Oe.registerLanguage("lua",GPe());Oe.registerLanguage("makefile",KPe());Oe.registerLanguage("perl",WPe());Oe.registerLanguage("objectivec",ZPe());Oe.registerLanguage("php",YPe());Oe.registerLanguage("php-template",QPe());Oe.registerLanguage("plaintext",JPe());Oe.registerLanguage("python",XPe());Oe.registerLanguage("python-repl",eFe());Oe.registerLanguage("r",tFe());Oe.registerLanguage("rust",nFe());Oe.registerLanguage("scss",sFe());Oe.registerLanguage("shell",oFe());Oe.registerLanguage("sql",rFe());Oe.registerLanguage("swift",iFe());Oe.registerLanguage("yaml",aFe());Oe.registerLanguage("typescript",lFe());Oe.registerLanguage("vbnet",cFe());Oe.registerLanguage("wasm",uFe());Oe.HighlightJS=Oe;Oe.default=Oe;var dFe=Oe;const lo=rs(dFe);var On={};On.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",f=!0,h=!1;for(let g=e+n.leftDelimiter.length;g<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&&f){f=!1;continue}if(p===i&&c===""){t.charAt(g+1)===i?(c="css-module",g+=1):c="class",f=!1;continue}if(p===a&&c===""){c="id",f=!1;continue}if(p==='"'&&u===""&&!h){h=!0;continue}if(p==='"'&&h){h=!1;continue}if(p===o&&!h){if(c==="")continue;l.push([c,u]),c="",u="",f=!0;continue}if(!(f&&p.search(s)===-1)){if(f){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 v(_){return m===_||_ instanceof RegExp&&_.test(m)}return g.some(v)})}return l};On.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};On.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 f=u.charAt(e.leftDelimiter.length)===".",h=u.charAt(e.leftDelimiter.length)==="#";return f||h?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))}};On.removeDelimiter=function(t,e){const n=fl(e.leftDelimiter),s=fl(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function fl(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}On.escapeRegExp=fl;On.getMatchingOpeningToken=function(t,e){if(t[e].type==="softbreak")return!1;if(t[e].nesting===0)return t[e];const n=t[e].level,s=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===s&&t[e].level===n)return t[e];return!1};const fFe=/[&<>"]/,hFe=/[&<>"]/g,pFe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function gFe(t){return pFe[t]}On.escapeHtml=function(t){return fFe.test(t)?t.replace(hFe,gFe):t};const Re=On;var mFe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Re.escapeRegExp(t.leftDelimiter)+"[^"+Re.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Re.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Re.getAttrs(o.info,r,t);Re.addAttrs(i,o),o.info=Re.removeDelimiter(o.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:n=>n==="image"||n==="code_inline"},{shift:0,type:"text",content:Re.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content.indexOf(t.rightDelimiter),a=n[s].children[o-1],l=Re.getAttrs(r.content,0,t);Re.addAttrs(l,a),r.content.length===i+t.rightDelimiter.length?n[s].children.splice(o,1):r.content=r.content.slice(i+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Re.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Re.getMatchingOpeningToken(n,s),i=Re.getAttrs(o.content,0,t);Re.addAttrs(i,r),n.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Re.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,0,t),l=Re.getMatchingOpeningToken(n[s].children,o-1);Re.addAttrs(a,l),r.content=i.slice(i.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Re.getAttrs(i,0,t);let l=s-2;for(;n[l-1]&&n[l-1].type!=="ordered_list_open"&&n[l-1].type!=="bullet_list_open";)l--;Re.addAttrs(a,n[l-1]),n[s].children=n[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:n=>n==="bullet_list_close"||n==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Re.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Re.getAttrs(r,0,t),a=Re.getMatchingOpeningToken(n,s);Re.addAttrs(i,a),n.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Re.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Re.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=wf(l)!==" "?l:l.slice(0,-1)}},{name:`
{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Re.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Re.getMatchingOpeningToken(n,a);Re.addAttrs(i,l),n[s].children=n[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:n=>n.length===1,content:n=>n.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(n,s)=>{const o=n[s];o.type="hr",o.tag="hr",o.nesting=0;const r=n[s+1].content,i=r.lastIndexOf(t.leftDelimiter),a=Re.getAttrs(r,i,t);Re.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Re.hasDelimiters("end",t),type:n=>n!=="code_inline"&&n!=="math_inline"}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Re.getMatchingOpeningToken(n,l);Re.addAttrs(a,c);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=wf(u)!==" "?u:u.slice(0,-1)}}]};function wf(t){return t.slice(-1)[0]}const _Fe=mFe,bFe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var yFe=function(e,n){let s=Object.assign({},bFe);s=Object.assign(s,n);const o=_Fe(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 f=null;u.tests.every(g=>{const p=hl(a,l,g);return p.j!==null&&(f=p.j),p.match})&&(u.transform(a,l,f),(u.name==="inline attributes"||u.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function hl(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=xFe(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"&&vFe(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=>hl(c,u.position,u).match),a){const u=kFe(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;u<c.length;u++)if(a=l.every(f=>hl(c,u,f).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(wFe(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 vFe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function wFe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function xFe(t,e){return e>=0?t[e]:t[t.length+e]}function kFe(t){return t.slice(-1)[0]||{}}const EFe=rs(yFe);function CFe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const To=new Tde("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=CFe();if(e&&lo.getLanguage(e))try{const o=lo.highlight(e,t).value;return'<div class="bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm">'+e+'<button class="px-2 py-1 ml-10 mb-2 text-left p-2 text-sm font-medium bg-bg-dark-tone-panel dark:bg-bg-dark-tone rounded-lg hover:bg-primary dark:hover:bg-primary text-white text-xs transition-colors duration-200"><span class="mr-1" id="copy-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copy</span><span class="hidden text-xs text-green-500" id="copyed-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copied!</span></button><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)}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">'+lo.highlightAuto(t).value+"</code></pre></div>"},bulletListMarker:"•"}).use(EFe).use(ps).use(IIe).use(NIe);lo.configure({languages:[]});lo.configure({languages:["javascript"]});To.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 Fg=(t,e,n,s,o)=>{const i=t[e].attrGet("type")||"ul";return i==="ul"?'<ul class="list-disc ml-4">'+o.renderToken(t,e,n)+"</ul>":i==="ol"?'<ol class="list-decimal ml-4">'+o.renderToken(t,e,n)+"</ol>":o.renderToken(t,e,n)};To.renderer.rules.bullet_list_open=Fg;To.renderer.rules.ordered_list_open=Fg;const AFe={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();
}
`,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=To.render(this.markdownText),me(()=>{xe.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=To.render(t),me(()=>{xe.replace()})}}},SFe={class:"break-all"},TFe=["innerHTML"];function MFe(t,e,n,s,o,r){return S(),O("div",SFe,[d("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,TFe)])}const OFe=Ge(AFe,[["render",MFe]]),RFe={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0}}},NFe={class:"step flex items-center mb-4"},DFe={class:"checkbox flex items-center justify-center w-6 h-6 rounded border border-gray-300 mr-2"},LFe={key:0,"data-feather":"square",class:"text-gray-400 w-4 h-4"},IFe={key:1,"data-feather":"check-square",class:"text-green-500 w-4 h-4"},PFe={key:0,class:"loader w-6 h-6 border-t-4 border-b-4 border-blue-500 rounded-full animate-spin ml-2"};function FFe(t,e,n,s,o,r){return S(),O("div",NFe,[d("div",DFe,[n.done?U("",!0):(S(),O("i",LFe)),n.done?(S(),O("i",IFe)):U("",!0)]),d("div",{class:Te(["content flex-1",{"text-green-500":n.done,"text-yellow-500":!n.done}])},J(n.message),3),n.done?U("",!0):(S(),O("div",PFe))])}const BFe=Ge(RFe,[["render",FFe]]);const $Fe="/",jFe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:OFe,Step:BFe},props:{message:Object,avatar:""},data(){return{expanded:!1,new_message_content:"",showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){console.log("Mounted message"),console.log(this.message),this.new_message_content=this.message.content,me(()=>{xe.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.new_message_content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.new_message_content)},getImgUrl(){return this.message.sender=="user"?this.avatar?this.avatar:Ww:this.avatar?$Fe+this.avatar:Jn},defaultImg(t){t.target.src=Jn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{showConfirmation(){me(()=>{xe.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),me(()=>{xe.replace()})},deleteMsgMode(){me(()=>{xe.replace()})}},computed:{created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(c){return c<10&&(c="0"+c),c}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},zFe={class:"relative group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},UFe={class:"flex flex-row gap-2"},qFe={class:"flex-shrink-0"},HFe={class:"group/avatar"},VFe=["src","data-popover-target"],GFe={class:"flex flex-col w-full flex-grow-0"},KFe={class:"flex flex-row flex-grow items-start"},WFe={class:"flex flex-col mb-2"},ZFe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},YFe=["title"],QFe=d("div",{class:"flex-grow"},null,-1),JFe={class:"flex-row justify-end mx-2"},XFe={class:"invisible group-hover:visible flex flex-row"},eBe={key:0,class:"flex items-center duration-75"},tBe=d("i",{"data-feather":"x"},null,-1),nBe=[tBe],sBe=d("i",{"data-feather":"check"},null,-1),oBe=[sBe],rBe=d("i",{"data-feather":"edit"},null,-1),iBe=[rBe],aBe=d("i",{"data-feather":"copy"},null,-1),lBe=[aBe],cBe=d("i",{"data-feather":"refresh-cw"},null,-1),uBe=[cBe],dBe={key:2,class:"flex items-center duration-75"},fBe=d("i",{"data-feather":"x"},null,-1),hBe=[fBe],pBe=d("i",{"data-feather":"check"},null,-1),gBe=[pBe],mBe=d("i",{"data-feather":"trash"},null,-1),_Be=[mBe],bBe=d("i",{"data-feather":"thumbs-up"},null,-1),yBe=[bBe],vBe={class:"flex flex-row items-center"},wBe=d("i",{"data-feather":"thumbs-down"},null,-1),xBe=[wBe],kBe={class:"overflow-x-auto w-full"},EBe={class:"flex flex-col items-start w-full"},CBe={class:"text-sm text-gray-400 mt-2"},ABe={class:"flex flex-row items-center gap-2"},SBe={key:0},TBe={class:"font-thin"},MBe={key:1},OBe={class:"font-thin"},RBe={key:2},NBe={class:"font-thin"},DBe={key:3},LBe=["title"];function IBe(t,e,n,s,o,r){const i=at("Step"),a=at("MarkdownRenderer");return S(),O("div",zFe,[d("div",UFe,[d("div",qFe,[d("div",HFe,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=l=>r.defaultImg(l)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,VFe)])]),d("div",GFe,[d("div",KFe,[d("div",WFe,[d("div",ZFe,J(n.message.sender)+" ",1),n.message.created_at?(S(),O("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},J(r.created_at),9,YFe)):U("",!0)]),QFe,d("div",JFe,[d("div",XFe,[o.editMsgMode?(S(),O("div",eBe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=ue(l=>o.editMsgMode=!1,["stop"]))},nBe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=ue((...l)=>r.updateMessage&&r.updateMessage(...l),["stop"]))},oBe)])):U("",!0),o.editMsgMode?U("",!0):(S(),O("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ue(l=>o.editMsgMode=!0,["stop"]))},iBe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=ue(l=>r.copyContentToClipboard(),["stop"]))},lBe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ue(l=>r.resendMessage(),["stop"]))},uBe),o.deleteMsgMode?(S(),O("div",dBe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[6]||(e[6]=ue(l=>o.deleteMsgMode=!1,["stop"]))},hBe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(l=>r.deleteMsg(),["stop"]))},gBe)])):U("",!0),o.deleteMsgMode?U("",!0):(S(),O("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]=l=>o.deleteMsgMode=!0)},_Be)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=ue(l=>r.rankUp(),["stop"]))},yBe),d("div",vBe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=ue(l=>r.rankDown(),["stop"]))},xBe),n.message.rank!=0?(S(),O("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"},J(n.message.rank),3)):U("",!0)])])])]),d("div",kBe,[d("div",EBe,[(S(!0),O(De,null,Qe(n.message.steps,(l,c)=>(S(),O("div",{key:"step-"+n.message.id+"-"+c,class:"step font-bold",style:jt({backgroundColor:l.done?"transparent":"inherit"})},[Ae(i,{done:l.done,message:l.message},null,8,["done","message"])],4))),128))]),o.editMsgMode?U("",!0):(S(),ot(a,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?ye((S(),O("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:jt({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[11]||(e[11]=l=>o.new_message_content=l)},null,4)),[[je,o.new_message_content]]):U("",!0)]),d("div",CBe,[d("div",ABe,[n.message.binding?(S(),O("p",SBe,[ve("Binding: "),d("span",TBe,J(n.message.binding),1)])):U("",!0),n.message.model?(S(),O("p",MBe,[ve("Model: "),d("span",OBe,J(n.message.model),1)])):U("",!0),n.message.seed?(S(),O("p",RBe,[ve("Seed: "),d("span",NBe,J(n.message.seed),1)])):U("",!0),r.time_spent?(S(),O("p",DBe,[ve("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},J(r.time_spent),9,LBe)])):U("",!0)])])])])])}const Bg=Ge(jFe,[["render",IBe]]),PBe="/";Se.defaults.baseURL="/";const FBe={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},data(){return{bUrl:PBe,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){for(me(()=>{xe.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Jn}}},BBe={class:"w-fit select-none"},$Be={key:0,class:"flex -space-x-4"},jBe=["src","title"],zBe={key:1,class:"flex -space-x-4"},UBe=["src","title"],qBe={key:2,title:"Loading personalities"},HBe=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),VBe=[HBe];function GBe(t,e,n,s,o,r){return S(),O("div",BBe,[r.mountedPersArr.length>1?(S(),O("div",$Be,[d("img",{src:o.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+r.mountedPers.name},null,40,jBe),d("div",{class:"flex items-center justify-center w-8 h-8 cursor-pointer text-xs font-medium bg-bg-light dark:bg-bg-dark border-2 hover:border-secondary rounded-full hover:bg-bg-light-tone dark:hover:bg-bg-dark-tone dark:border-gray-800 hover:z-20 hover:-translate-y-2 duration-150 active:scale-90",onClick:e[1]||(e[1]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+J(r.mountedPersArr.length-1),1)])):U("",!0),r.mountedPersArr.length==1?(S(),O("div",zBe,[d("img",{src:o.bUrl+this.$store.state.mountedPers.avatar,onError:e[2]||(e[2]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+this.$store.state.mountedPers.name,onClick:e[3]||(e[3]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,UBe)])):U("",!0),r.mountedPersArr.length==0?(S(),O("div",qBe,VBe)):U("",!0)])}const KBe=Ge(FBe,[["render",GBe]]);const WBe="/";Se.defaults.baseURL="/";const ZBe={props:{onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Pp,Toast:ii,UniversalForm:Xp},name:"MountedPersonalitiesList",data(){return{bUrl:WBe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){this.onMountUnmount(this)},async constructor(){},async api_get_req(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Jn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality:
`+t.name,4,!0))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{Se.get("/get_active_personality_settings").then(e=>{e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{Se.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses.
`+s,4,!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses.
Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Se.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 Se.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 Se.post("/select_personality",n);if(s)return this.toggleMountUnmount(),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),s.data}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,this.toggleMountUnmount(),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.toggleMountUnmount(),console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.configFile.personalities[this.configFile.active_personality_id];console.log();const s=this.personalities.findIndex(a=>a.full_path==n),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[s]);const r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[o].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&this.$refs.toast.showToast(`Selected personality:
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;e<this.configFile.personalities.length;e++){const n=this.configFile.personalities[e],s=this.personalities.findIndex(r=>r.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities!=null&&this.discussionPersonalities.length>0)for(let e=0;e<this.discussionPersonalities.length;e++){const n=this.discussionPersonalities[e];console.log("discussionPersonalities - per",n);const s=this.mountedPersArr.findIndex(o=>o.full_path==n);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const o=this.personalities.findIndex(i=>i.full_path==n),r=this.personalities[o];console.log("adding discucc121",r,n),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},gc=t=>(ns("data-v-86b9cc46"),t=t(),ss(),t),YBe={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},QBe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},JBe=gc(()=>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)),XBe=gc(()=>d("span",{class:"sr-only"},"Loading...",-1)),e$e=[JBe,XBe],t$e=gc(()=>d("i",{"data-feather":"chevron-down"},null,-1)),n$e=[t$e],s$e={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},o$e={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function r$e(t,e,n,s,o,r){const i=at("personality-entry"),a=at("Toast"),l=at("UniversalForm");return S(),O("div",YBe,[o.isLoading?(S(),O("div",QBe,e$e)):U("",!0),d("div",null,[r.mountedPersArr.length>0?(S(),O("div",{key:0,class:Te(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[d("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=ue((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},n$e),d("label",s$e," Mounted Personalities: ("+J(r.mountedPersArr.length)+") ",1),d("div",o$e,[Ae(zt,{name:"bounce"},{default:We(()=>[(S(!0),O(De,null,Qe(this.$store.state.mountedPersArr,(c,u)=>(S(),ot(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+c.name,personality:c,full_path:c.full_path,selected:r.configFile.personalities[r.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})])],2)):U("",!0)]),Ae(a,{ref:"toast"},null,512),Ae(l,{ref:"universalForm",class:"z-20"},null,512)])}const i$e=Ge(ZBe,[["render",r$e],["__scopeId","data-v-86b9cc46"]]);const a$e={props:{commandsList:{type:Array,required:!0},sendCommand:Function},data(){return{showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){nextTick(()=>{xe.replace()})},methods:{async constructor(){nextTick(()=>{xe.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,this.sendCommand(t)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},l$e=t=>(ns("data-v-5e12025d"),t=t(),ss(),t),c$e={class:"menu relative"},u$e={class:"commands-menu-items-wrapper"},d$e=l$e(()=>d("i",{"data-feather":"command",class:"w-5 h-5"},null,-1)),f$e=[d$e],h$e={key:0,id:"commands-menu-items",class:"absolute mb-4 bg-white border border-gray-300 z-10 w-fit"},p$e=["onClick","title","onMouseover"];function g$e(t,e,n,s,o,r){return S(),O("div",c$e,[d("div",u$e,[d("button",{id:"commands-menu",onClick:e[0]||(e[0]=ue((...i)=>r.toggleMenu&&r.toggleMenu(...i),["prevent"])),class:"menu-button bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded-full flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-gray-300 border-secondary cursor-pointer"},f$e),o.showMenu?(S(),O("div",h$e,[(S(!0),O(De,null,Qe(o.commands,i=>(S(),O("button",{key:i.value,onClick:ue(a=>r.execute_cmd(i.value),["prevent"]),class:Te(["menu-button py-2 px-4 cursor-pointer bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 hover:bg-blue-400",{"bg-blue-400 text-white":t.hoveredCommand===i.value}]),title:i.help,onMouseover:a=>t.hoveredCommand=i.value,onMouseout:e[1]||(e[1]=a=>t.hoveredCommand=null)},J(i.name),43,p$e))),128))])):U("",!0)])])}const m$e=Ge(a$e,[["render",g$e],["__scopeId","data-v-5e12025d"]]);const _$e={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{discussionList:Array,loading:!1},components:{MountedPersonalities:KBe,MountedPersonalitiesList:i$e,PersonalitiesCommands:m$e},setup(){},data(){return{message:"",fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1,personalities_ready:!1}},computed:{config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e<this.discussionList.length;e++)!t.includes(this.discussionList[e].personality)&&!this.discussionList[e].personality==""&&t.push(this.discussionList[e].personality);return console.log("conputer pers",t),console.log("dis conputer pers",this.discussionList),t}}},methods:{onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(t){this.showPersonalities=!this.showPersonalities},onMountUnmountFun(t){console.log("Mounting/unmounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(t){return me(()=>{xe.replace()}),qt(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{showFileList(){me(()=>{xe.replace()})},loading(t,e){me(()=>{xe.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s<t.length;s++)n=n+parseInt(t[s].size);this.totalSize=qt(n,!0)},deep:!0},discussionList(t){console.log("discussion arr",t)}},mounted(){console.log("mnted all chat",this.allDiscussionPersonalities),me(()=>{xe.replace()})},activated(){me(()=>{xe.replace()})}},Mt=t=>(ns("data-v-48edbc97"),t=t(),ss(),t),b$e={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},y$e={key:0,class:"flex items-center justify-center w-full"},v$e={class:"flex flex-row p-2 rounded-t-lg"},w$e=Mt(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),x$e={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},k$e={class:"flex flex-col gap-2"},E$e=["title"],C$e=Mt(()=>d("i",{"data-feather":"list"},null,-1)),A$e=[C$e],S$e={key:1},T$e={key:0,class:"flex flex-col max-h-64"},M$e=["title"],O$e={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"},R$e=Mt(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),N$e={class:"line-clamp-1 w-3/5"},D$e=Mt(()=>d("div",{class:"grow"},null,-1)),L$e={class:"flex flex-row items-center"},I$e={class:"whitespace-nowrap"},P$e=["onClick"],F$e=Mt(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),B$e=[F$e],$$e={key:2,class:"flex items-center mx-1"},j$e={class:"whitespace-nowrap flex flex-row gap-2"},z$e=Mt(()=>d("p",{class:"font-bold"}," Total size: ",-1)),U$e=Mt(()=>d("div",{class:"grow"},null,-1)),q$e=Mt(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),H$e=[q$e],V$e={key:3,class:"mx-1"},G$e={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},K$e={class:"w-fit"},W$e={class:"w-fit"},Z$e={class:"relative grow"},Y$e=Mt(()=>d("i",{"data-feather":"file-plus"},null,-1)),Q$e=[Y$e],J$e={class:"inline-flex justify-center rounded-full"},X$e=Mt(()=>d("i",{"data-feather":"send"},null,-1)),eje=Mt(()=>d("span",{class:"sr-only"},"Send message",-1)),tje=[X$e,eje],nje={key:1,title:"Waiting for reply"},sje=Mt(()=>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)),oje=[sje];function rje(t,e,n,s,o,r){const i=at("MountedPersonalitiesList"),a=at("MountedPersonalities"),l=at("PersonalitiesCommands");return S(),O("div",b$e,[n.loading?(S(),O("div",y$e,[d("div",v$e,[d("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=ue((...c)=>r.stopGenerating&&r.stopGenerating(...c),["stop"]))}," Stop generating ")])])):U("",!0),d("form",null,[w$e,d("div",x$e,[d("div",k$e,[o.fileList.length>0?(S(),O("button",{key:0,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showFileList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=ue(c=>o.showFileList=!o.showFileList,["stop"]))},A$e,8,E$e)):U("",!0),o.fileList.length>0&&o.showFileList==!0?(S(),O("div",S$e,[o.fileList.length>0?(S(),O("div",T$e,[Ae(zt,{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:We(()=>[(S(!0),O(De,null,Qe(o.fileList,(c,u)=>(S(),O("div",{key:u+"-"+c.name},[d("div",{class:"m-1",title:c.name},[d("div",O$e,[R$e,d("div",N$e,J(c.name),1),D$e,d("div",L$e,[d("p",I$e,J(r.computedFileSize(c.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:f=>r.removeItem(c)},B$e,8,P$e)])])],8,M$e)]))),128))]),_:1})])):U("",!0)])):U("",!0),o.fileList.length>0?(S(),O("div",$$e,[d("div",j$e,[z$e,ve(" "+J(o.totalSize)+" ("+J(o.fileList.length)+") ",1)]),U$e,d("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=c=>o.fileList=[])},H$e)])):U("",!0),o.showPersonalities?(S(),O("div",V$e,[Ae(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","discussionPersonalities"])])):U("",!0),d("div",G$e,[d("div",K$e,[Ae(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),d("div",W$e,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(S(),ot(l,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendMessageEvent,ref:"personalityCMD"},null,8,["commandsList","sendCommand"])):U("",!0)]),d("div",Z$e,[ye(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=c=>o.message=c),title:"Hold SHIFT + ENTER to add new line",class:"inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:e[4]||(e[4]=Wa(ue(c=>r.submitOnEnter(c),["exact"]),["enter"]))},`\r
\r
\r
`,544),[[je,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...c)=>r.addFiles&&r.addFiles(...c)),multiple:""},null,544),d("button",{type:"button",onClick:e[6]||(e[6]=ue(c=>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"},Q$e)]),d("div",J$e,[n.loading?U("",!0):(S(),O("button",{key:0,type:"button",onClick:e[7]||(e[7]=(...c)=>r.submit&&r.submit(...c)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},tje)),n.loading?(S(),O("div",nje,oje)):U("",!0)])])])])])])}const $g=Ge(_$e,[["render",rje],["__scopeId","data-v-48edbc97"]]),ije={name:"WelcomeComponent",setup(){return{}}},aje={class:"flex flex-col text-center"},lje=zs('<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="'+Op+'" 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),cje=[lje];function uje(t,e,n,s,o,r){return S(),O("div",aje,cje)}const jg=Ge(ije,[["render",uje]]);const dje={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){me(()=>{xe.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),me(()=>{xe.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,me(()=>{xe.replace()})}}},fje={class:"text-4xl text-center"};function hje(t,e,n,s,o,r){return S(),ot(zt,{name:"list",tag:"div"},{default:We(()=>[o.show?(S(),O("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=ue(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ue(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class: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",fje,[vh(t.$slots,"default",{},()=>[ve(" Drop your files here ")])])],2)],32)):U("",!0)]),_:3})}const pl=Ge(dje,[["render",hje]]);var pje=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}(),Or=globalThis&&globalThis.__assign||function(){return Or=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},Or.apply(this,arguments)},Rr={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(){}},zg=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=Rr),this._items=e,this._options=Or(Or({},Rr),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=zg);function Ug(){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 zg(o,{alwaysOpen:e==="open",activeClasses:n||Rr.activeClasses,inactiveClasses:s||Rr.inactiveClasses})})}var Nr=globalThis&&globalThis.__assign||function(){return Nr=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},Nr.apply(this,arguments)},xf={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},qg=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=xf),this._targetEl=e,this._triggerEl=n,this._options=Nr(Nr({},xf),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=qg);function Hg(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var e=t.getAttribute("data-collapse-toggle"),n=document.getElementById(e);n?new qg(n,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))})}var Un=globalThis&&globalThis.__assign||function(){return Un=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},Un.apply(this,arguments)},pr={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(){}},Vg=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=pr),this._items=e,this._options=Un(Un(Un({},pr),n),{indicators:Un(Un({},pr.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=Vg);function Gg(){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 Vg(s,{defaultPosition:o,indicators:{items:r},interval:e||pr.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 Dr=globalThis&&globalThis.__assign||function(){return Dr=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},Dr.apply(this,arguments)},kf={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},Kg=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=kf),this._targetEl=e,this._triggerEl=n,this._options=Dr(Dr({},kf),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=Kg);function Wg(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var e=t.getAttribute("data-dismiss-target"),n=document.querySelector(e);n?new Kg(n,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))})}var ft="top",St="bottom",Tt="right",ht="left",mc="auto",Fo=[ft,St,Tt,ht],Ns="start",Mo="end",gje="clippingParents",Zg="viewport",Xs="popper",mje="reference",Ef=Fo.reduce(function(t,e){return t.concat([e+"-"+Ns,e+"-"+Mo])},[]),Yg=[].concat(Fo,[mc]).reduce(function(t,e){return t.concat([e,e+"-"+Ns,e+"-"+Mo])},[]),_je="beforeRead",bje="read",yje="afterRead",vje="beforeMain",wje="main",xje="afterMain",kje="beforeWrite",Eje="write",Cje="afterWrite",Aje=[_je,bje,yje,vje,wje,xje,kje,Eje,Cje];function Yt(t){return t?(t.nodeName||"").toLowerCase():null}function bt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function es(t){var e=bt(t).Element;return t instanceof e||t instanceof Element}function Ct(t){var e=bt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function _c(t){if(typeof ShadowRoot>"u")return!1;var e=bt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Sje(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];!Ct(r)||!Yt(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 Tje(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},{});!Ct(o)||!Yt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const Mje={name:"applyStyles",enabled:!0,phase:"write",fn:Sje,effect:Tje,requires:["computeStyles"]};function Kt(t){return t.split("-")[0]}var Qn=Math.max,Lr=Math.min,Ds=Math.round;function gl(){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 Qg(){return!/^((?!chrome|android).)*safari/i.test(gl())}function Ls(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Ct(t)&&(o=t.offsetWidth>0&&Ds(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Ds(s.height)/t.offsetHeight||1);var i=es(t)?bt(t):window,a=i.visualViewport,l=!Qg()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,f=s.width/o,h=s.height/r;return{width:f,height:h,top:u,right:c+f,bottom:u+h,left:c,x:c,y:u}}function bc(t){var e=Ls(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 Jg(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&_c(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function ln(t){return bt(t).getComputedStyle(t)}function Oje(t){return["table","td","th"].indexOf(Yt(t))>=0}function Rn(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function yi(t){return Yt(t)==="html"?t:t.assignedSlot||t.parentNode||(_c(t)?t.host:null)||Rn(t)}function Cf(t){return!Ct(t)||ln(t).position==="fixed"?null:t.offsetParent}function Rje(t){var e=/firefox/i.test(gl()),n=/Trident/i.test(gl());if(n&&Ct(t)){var s=ln(t);if(s.position==="fixed")return null}var o=yi(t);for(_c(o)&&(o=o.host);Ct(o)&&["html","body"].indexOf(Yt(o))<0;){var r=ln(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 Bo(t){for(var e=bt(t),n=Cf(t);n&&Oje(n)&&ln(n).position==="static";)n=Cf(n);return n&&(Yt(n)==="html"||Yt(n)==="body"&&ln(n).position==="static")?e:n||Rje(t)||e}function yc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function co(t,e,n){return Qn(t,Lr(e,n))}function Nje(t,e,n){var s=co(t,e,n);return s>n?n:s}function Xg(){return{top:0,right:0,bottom:0,left:0}}function em(t){return Object.assign({},Xg(),t)}function tm(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var Dje=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,em(typeof e!="number"?e:tm(e,Fo))};function Lje(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Kt(n.placement),l=yc(a),c=[ht,Tt].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var f=Dje(o.padding,n),h=bc(r),g=l==="y"?ft:ht,p=l==="y"?St:Tt,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],v=i[l]-n.rects.reference[l],_=Bo(r),b=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,x=m/2-v/2,C=f[g],R=b-h[u]-f[p],M=b/2-h[u]/2+x,D=co(C,M,R),y=l;n.modifiersData[s]=(e={},e[y]=D,e.centerOffset=D-M,e)}}function Ije(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)||Jg(e.elements.popper,o)&&(e.elements.arrow=o))}const Pje={name:"arrow",enabled:!0,phase:"main",fn:Lje,effect:Ije,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Is(t){return t.split("-")[1]}var Fje={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bje(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Ds(n*o)/o||0,y:Ds(s*o)/o||0}}function Af(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,h=i.x,g=h===void 0?0:h,p=i.y,m=p===void 0?0:p,v=typeof u=="function"?u({x:g,y:m}):{x:g,y:m};g=v.x,m=v.y;var _=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),x=ht,C=ft,R=window;if(c){var M=Bo(n),D="clientHeight",y="clientWidth";if(M===bt(n)&&(M=Rn(n),ln(M).position!=="static"&&a==="absolute"&&(D="scrollHeight",y="scrollWidth")),M=M,o===ft||(o===ht||o===Tt)&&r===Mo){C=St;var k=f&&M===R&&R.visualViewport?R.visualViewport.height:M[D];m-=k-s.height,m*=l?1:-1}if(o===ht||(o===ft||o===St)&&r===Mo){x=Tt;var T=f&&M===R&&R.visualViewport?R.visualViewport.width:M[y];g-=T-s.width,g*=l?1:-1}}var L=Object.assign({position:a},c&&Fje),F=u===!0?Bje({x:g,y:m},bt(n)):{x:g,y:m};if(g=F.x,m=F.y,l){var Y;return Object.assign({},L,(Y={},Y[C]=b?"0":"",Y[x]=_?"0":"",Y.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",Y))}return Object.assign({},L,(e={},e[C]=b?m+"px":"",e[x]=_?g+"px":"",e.transform="",e))}function $je(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Kt(e.placement),variation:Is(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,Af(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,Af(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 jje={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$je,data:{}};var Qo={passive:!0};function zje(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=bt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",n.update,Qo)}),a&&l.addEventListener("resize",n.update,Qo),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Qo)}),a&&l.removeEventListener("resize",n.update,Qo)}}const Uje={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zje,data:{}};var qje={left:"right",right:"left",bottom:"top",top:"bottom"};function gr(t){return t.replace(/left|right|bottom|top/g,function(e){return qje[e]})}var Hje={start:"end",end:"start"};function Sf(t){return t.replace(/start|end/g,function(e){return Hje[e]})}function vc(t){var e=bt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function wc(t){return Ls(Rn(t)).left+vc(t).scrollLeft}function Vje(t,e){var n=bt(t),s=Rn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=Qg();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+wc(t),y:l}}function Gje(t){var e,n=Rn(t),s=vc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Qn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Qn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+wc(t),l=-s.scrollTop;return ln(o||n).direction==="rtl"&&(a+=Qn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function xc(t){var e=ln(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function nm(t){return["html","body","#document"].indexOf(Yt(t))>=0?t.ownerDocument.body:Ct(t)&&xc(t)?t:nm(yi(t))}function uo(t,e){var n;e===void 0&&(e=[]);var s=nm(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=bt(s),i=o?[r].concat(r.visualViewport||[],xc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(uo(yi(i)))}function ml(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Kje(t,e){var n=Ls(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 Tf(t,e,n){return e===Zg?ml(Vje(t,n)):es(e)?Kje(e,n):ml(Gje(Rn(t)))}function Wje(t){var e=uo(yi(t)),n=["absolute","fixed"].indexOf(ln(t).position)>=0,s=n&&Ct(t)?Bo(t):t;return es(s)?e.filter(function(o){return es(o)&&Jg(o,s)&&Yt(o)!=="body"}):[]}function Zje(t,e,n,s){var o=e==="clippingParents"?Wje(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var u=Tf(t,c,s);return l.top=Qn(u.top,l.top),l.right=Lr(u.right,l.right),l.bottom=Lr(u.bottom,l.bottom),l.left=Qn(u.left,l.left),l},Tf(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 sm(t){var e=t.reference,n=t.element,s=t.placement,o=s?Kt(s):null,r=s?Is(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case ft:l={x:i,y:e.y-n.height};break;case St:l={x:i,y:e.y+e.height};break;case Tt:l={x:e.x+e.width,y:a};break;case ht:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?yc(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case Ns:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Mo:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Oo(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?gje:a,c=n.rootBoundary,u=c===void 0?Zg:c,f=n.elementContext,h=f===void 0?Xs:f,g=n.altBoundary,p=g===void 0?!1:g,m=n.padding,v=m===void 0?0:m,_=em(typeof v!="number"?v:tm(v,Fo)),b=h===Xs?mje:Xs,x=t.rects.popper,C=t.elements[p?b:h],R=Zje(es(C)?C:C.contextElement||Rn(t.elements.popper),l,u,i),M=Ls(t.elements.reference),D=sm({reference:M,element:x,strategy:"absolute",placement:o}),y=ml(Object.assign({},x,D)),k=h===Xs?y:M,T={top:R.top-k.top+_.top,bottom:k.bottom-R.bottom+_.bottom,left:R.left-k.left+_.left,right:k.right-R.right+_.right},L=t.modifiersData.offset;if(h===Xs&&L){var F=L[o];Object.keys(T).forEach(function(Y){var I=[Tt,St].indexOf(Y)>=0?1:-1,ae=[ft,St].indexOf(Y)>=0?"y":"x";T[Y]+=F[ae]*I})}return T}function Yje(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?Yg:l,u=Is(s),f=u?a?Ef:Ef.filter(function(p){return Is(p)===u}):Fo,h=f.filter(function(p){return c.indexOf(p)>=0});h.length===0&&(h=f);var g=h.reduce(function(p,m){return p[m]=Oo(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Kt(m)],p},{});return Object.keys(g).sort(function(p,m){return g[p]-g[m]})}function Qje(t){if(Kt(t)===mc)return[];var e=gr(t);return[Sf(t),e,Sf(e)]}function Jje(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,g=n.flipVariations,p=g===void 0?!0:g,m=n.allowedAutoPlacements,v=e.options.placement,_=Kt(v),b=_===v,x=l||(b||!p?[gr(v)]:Qje(v)),C=[v].concat(x).reduce(function(Ee,N){return Ee.concat(Kt(N)===mc?Yje(e,{placement:N,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}):N)},[]),R=e.rects.reference,M=e.rects.popper,D=new Map,y=!0,k=C[0],T=0;T<C.length;T++){var L=C[T],F=Kt(L),Y=Is(L)===Ns,I=[ft,St].indexOf(F)>=0,ae=I?"width":"height",W=Oo(e,{placement:L,boundary:u,rootBoundary:f,altBoundary:h,padding:c}),A=I?Y?Tt:ht:Y?St:ft;R[ae]>M[ae]&&(A=gr(A));var q=gr(A),V=[];if(r&&V.push(W[F]<=0),a&&V.push(W[A]<=0,W[q]<=0),V.every(function(Ee){return Ee})){k=L,y=!1;break}D.set(L,V)}if(y)for(var _e=p?3:1,pe=function(N){var Q=C.find(function(H){var te=D.get(H);if(te)return te.slice(0,N).every(function(X){return X})});if(Q)return k=Q,"break"},ee=_e;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 Xje={name:"flip",enabled:!0,phase:"main",fn:Jje,requiresIfExists:["offset"],data:{_skip:!1}};function Mf(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 Of(t){return[ft,Tt,St,ht].some(function(e){return t[e]>=0})}function eze(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Oo(e,{elementContext:"reference"}),a=Oo(e,{altBoundary:!0}),l=Mf(i,s),c=Mf(a,o,r),u=Of(l),f=Of(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const tze={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:eze};function nze(t,e,n){var s=Kt(t),o=[ht,ft].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,[ht,Tt].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function sze(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=Yg.reduce(function(u,f){return u[f]=nze(f,e.rects,r),u},{}),a=i[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=i}const oze={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:sze};function rze(t){var e=t.state,n=t.name;e.modifiersData[n]=sm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ize={name:"popperOffsets",enabled:!0,phase:"read",fn:rze,data:{}};function aze(t){return t==="x"?"y":"x"}function lze(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,h=n.tether,g=h===void 0?!0:h,p=n.tetherOffset,m=p===void 0?0:p,v=Oo(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),_=Kt(e.placement),b=Is(e.placement),x=!b,C=yc(_),R=aze(C),M=e.modifiersData.popperOffsets,D=e.rects.reference,y=e.rects.popper,k=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,T=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(M){if(r){var Y,I=C==="y"?ft:ht,ae=C==="y"?St:Tt,W=C==="y"?"height":"width",A=M[C],q=A+v[I],V=A-v[ae],_e=g?-y[W]/2:0,pe=b===Ns?D[W]:y[W],ee=b===Ns?-y[W]:-D[W],be=e.elements.arrow,Ee=g&&be?bc(be):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Xg(),Q=N[I],H=N[ae],te=co(0,D[W],Ee[W]),X=x?D[W]/2-_e-te-Q-T.mainAxis:pe-te-Q-T.mainAxis,fe=x?-D[W]/2+_e+te+H+T.mainAxis:ee+te+H+T.mainAxis,le=e.elements.arrow&&Bo(e.elements.arrow),w=le?C==="y"?le.clientTop||0:le.clientLeft||0:0,E=(Y=L==null?void 0:L[C])!=null?Y:0,P=A+X-E-w,B=A+fe-E,$=co(g?Lr(q,P):q,A,g?Qn(V,B):V);M[C]=$,F[C]=$-A}if(a){var ne,re=C==="x"?ft:ht,j=C==="x"?St:Tt,se=M[R],z=R==="y"?"height":"width",Z=se+v[re],ie=se-v[j],de=[ft,ht].indexOf(_)!==-1,ce=(ne=L==null?void 0:L[R])!=null?ne:0,we=de?Z:se-D[z]-y[z]-ce+T.altAxis,K=de?se+D[z]+y[z]-ce-T.altAxis:ie,oe=g&&de?Nje(we,se,K):co(g?we:Z,se,g?K:ie);M[R]=oe,F[R]=oe-se}e.modifiersData[s]=F}}const cze={name:"preventOverflow",enabled:!0,phase:"main",fn:lze,requiresIfExists:["offset"]};function uze(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function dze(t){return t===bt(t)||!Ct(t)?vc(t):uze(t)}function fze(t){var e=t.getBoundingClientRect(),n=Ds(e.width)/t.offsetWidth||1,s=Ds(e.height)/t.offsetHeight||1;return n!==1||s!==1}function hze(t,e,n){n===void 0&&(n=!1);var s=Ct(e),o=Ct(e)&&fze(e),r=Rn(e),i=Ls(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Yt(e)!=="body"||xc(r))&&(a=dze(e)),Ct(e)?(l=Ls(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=wc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function pze(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 gze(t){var e=pze(t);return Aje.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function mze(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function _ze(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 Rf={placement:"bottom",modifiers:[],strategy:"absolute"};function Nf(){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 bze(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,s=n===void 0?[]:n,o=e.defaultOptions,r=o===void 0?Rf:o;return function(a,l,c){c===void 0&&(c=r);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rf,r),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},f=[],h=!1,g={state:u,setOptions:function(_){var b=typeof _=="function"?_(u.options):_;m(),u.options=Object.assign({},r,u.options,b),u.scrollParents={reference:es(a)?uo(a):a.contextElement?uo(a.contextElement):[],popper:uo(l)};var x=gze(_ze([].concat(s,u.options.modifiers)));return u.orderedModifiers=x.filter(function(C){return C.enabled}),p(),g.update()},forceUpdate:function(){if(!h){var _=u.elements,b=_.reference,x=_.popper;if(Nf(b,x)){u.rects={reference:hze(b,Bo(x),u.options.strategy==="fixed"),popper:bc(x)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(T){return u.modifiersData[T.name]=Object.assign({},T.data)});for(var C=0;C<u.orderedModifiers.length;C++){if(u.reset===!0){u.reset=!1,C=-1;continue}var R=u.orderedModifiers[C],M=R.fn,D=R.options,y=D===void 0?{}:D,k=R.name;typeof M=="function"&&(u=M({state:u,options:y,name:k,instance:g})||u)}}}},update:mze(function(){return new Promise(function(v){g.forceUpdate(),v(u)})}),destroy:function(){m(),h=!0}};if(!Nf(a,l))return g;g.setOptions(c).then(function(v){!h&&c.onFirstUpdate&&c.onFirstUpdate(v)});function p(){u.orderedModifiers.forEach(function(v){var _=v.name,b=v.options,x=b===void 0?{}:b,C=v.effect;if(typeof C=="function"){var R=C({state:u,name:_,instance:g,options:x}),M=function(){};f.push(R||M)}})}function m(){f.forEach(function(v){return v()}),f=[]}return g}}var yze=[Uje,ize,jje,Mje,oze,Xje,cze,Pje,tze],kc=bze({defaultModifiers:yze}),vn=globalThis&&globalThis.__assign||function(){return vn=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},vn.apply(this,arguments)},Jo=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(){}},om=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=vn(vn({},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 kc(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 vn(vn({},e),{modifiers:Jo(Jo([],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 vn(vn({},e),{modifiers:Jo(Jo([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();typeof window<"u"&&(window.Dropdown=om);function rm(){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 om(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 Ir=globalThis&&globalThis.__assign||function(){return Ir=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},Ir.apply(this,arguments)},gs={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(){}},_l=function(){function t(e,n){e===void 0&&(e=null),n===void 0&&(n=gs),this._targetEl=e,this._options=Ir(Ir({},gs),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=_l);var Xo=function(t,e){return e.some(function(n){return n.id===t})?e.find(function(n){return n.id===t}):null};function im(){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");Xo(n,t)||t.push({id:n,object:new _l(s,{placement:o||gs.placement,backdrop:r||gs.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=Xo(n,t);i||(i={id:n,object:new _l(s,{placement:o||gs.placement,backdrop:r||gs.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=Xo(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=Xo(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 Pr=globalThis&&globalThis.__assign||function(){return Pr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Pr.apply(this,arguments)},Hn={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(){}},am=function(){function t(e,n){e===void 0&&(e=null),n===void 0&&(n=Hn),this._targetEl=e,this._options=Pr(Pr({},Hn),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=am);var er=function(t,e){if(e.some(function(n){return n.id===t}))return e.find(function(n){return n.id===t})};function lm(){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");er(n,t)||t.push({id:n,object:new am(s,{placement:o||Hn.placement,bodyScrolling:r?r==="true":Hn.bodyScrolling,backdrop:i?i==="true":Hn.backdrop,edge:a?a==="true":Hn.edge,edgeOffset:l||Hn.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=er(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=er(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=er(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 Fr=globalThis&&globalThis.__assign||function(){return Fr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Fr.apply(this,arguments)},Df={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(){}},cm=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=Df),this._items=e,this._activeTab=n?this.getTab(n.defaultTabId):null,this._options=Fr(Fr({},Df),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=cm);function um(){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 cm(e,{defaultTabId:n})})}var wn=globalThis&&globalThis.__assign||function(){return wn=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},wn.apply(this,arguments)},tr=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))},Br={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},dm=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Br),this._targetEl=e,this._triggerEl=n,this._options=wn(wn({},Br),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 kc(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 wn(wn({},e),{modifiers:tr(tr([],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 wn(wn({},e),{modifiers:tr(tr([],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=dm);function fm(){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 dm(n,t,{placement:o||Br.placement,triggerType:s||Br.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))})}var xn=globalThis&&globalThis.__assign||function(){return xn=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},xn.apply(this,arguments)},nr=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))},fo={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},hm=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=fo),this._targetEl=e,this._triggerEl=n,this._options=xn(xn({},fo),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 kc(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 xn(xn({},e),{modifiers:nr(nr([],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 xn(xn({},e),{modifiers:nr(nr([],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=hm);function pm(){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 hm(n,t,{placement:o||fo.placement,offset:r?parseInt(r):fo.offset,triggerType:s||fo.triggerType})}else console.error('The popover element with id "'.concat(e,'" does not exist. Please check the data-popover-target attribute.'))})}var $r=globalThis&&globalThis.__assign||function(){return $r=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},$r.apply(this,arguments)},bl={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},gm=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=bl),this._parentEl=e,this._triggerEl=n,this._targetEl=s,this._options=$r($r({},bl),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=gm);function mm(){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 gm(t,e,s,{triggerType:o||bl.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 vze(){Ug(),Hg(),Gg(),Wg(),rm(),im(),lm(),um(),fm(),pm(),mm()}var wze=new pje("load",[Ug,Hg,Gg,Wg,rm,im,lm,um,fm,pm,mm]);wze.init();const Xe=t=>(ns("data-v-b7b99c53"),t=t(),ss(),t),xze={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},kze=Xe(()=>d("div",{role:"status",class:"text-center flex items-center"},[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:"text-2xl font-bold ml-4"},"Loading...")],-1)),Eze=[kze],Cze=Xe(()=>d("i",{"data-feather":"chevron-right"},null,-1)),Aze=[Cze],Sze=Xe(()=>d("i",{"data-feather":"chevron-left"},null,-1)),Tze=[Sze],Mze={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},Oze={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},Rze={class:"flex-row p-4 flex items-center gap-3 flex-0"},Nze=Xe(()=>d("i",{"data-feather":"plus"},null,-1)),Dze=[Nze],Lze=Xe(()=>d("i",{"data-feather":"check-square"},null,-1)),Ize=[Lze],Pze=Xe(()=>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)),Fze=Xe(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),Bze=Xe(()=>d("i",{"data-feather":"log-in"},null,-1)),$ze=[Bze],jze=Xe(()=>d("i",{"data-feather":"search"},null,-1)),zze=[jze],Uze={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},qze=Xe(()=>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)),Hze=[qze],Vze={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},Gze={class:"p-4 pt-2"},Kze={class:"relative"},Wze=Xe(()=>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)),Zze={class:"absolute inset-y-0 right-0 flex items-center pr-3"},Yze=Xe(()=>d("i",{"data-feather":"x"},null,-1)),Qze=[Yze],Jze={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},Xze={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},eUe={class:"flex flex-row flex-grow"},tUe={key:0},nUe={class:"flex flex-row"},sUe={key:0,class:"flex gap-3"},oUe=Xe(()=>d("i",{"data-feather":"trash"},null,-1)),rUe=[oUe],iUe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},aUe=Xe(()=>d("i",{"data-feather":"check"},null,-1)),lUe=[aUe],cUe=Xe(()=>d("i",{"data-feather":"x"},null,-1)),uUe=[cUe],dUe={class:"flex gap-3"},fUe=Xe(()=>d("i",{"data-feather":"log-out"},null,-1)),hUe=[fUe],pUe=Xe(()=>d("i",{"data-feather":"list"},null,-1)),gUe=[pUe],mUe={class:"z-20"},_Ue={class:"relative flex flex-row flex-grow mb-10"},bUe={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"},yUe=Xe(()=>d("p",{class:"px-3"},"No discussions are found",-1)),vUe=[yUe],wUe=Xe(()=>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)),xUe={class:"z-20 h-max"},kUe={class:"container pt-4 pb-10 mb-28"},EUe=Xe(()=>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)),CUe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},AUe={setup(){},data(){return{msgTypes:{MSG_TYPE_CHUNK:0,MSG_TYPE_FULL:1,MSG_TYPE_FULL_INVISIBLE_TO_AI:2,MSG_TYPE_FULL_INVISIBLE_TO_USER:3,MSG_TYPE_EXCEPTION:4,MSG_TYPE_WARNING:5,MSG_TYPE_INFO:6,MSG_TYPE_STEP:7,MSG_TYPE_STEP_START:8,MSG_TYPE_STEP_PROGRESS:9,MSG_TYPE_STEP_END:10,MSG_TYPE_JSON_INFOS:11,MSG_TYPE_REF:12,MSG_TYPE_CODE:13,MSG_TYPE_UI:14},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1,panelCollapsed:!1}},methods:{togglePanel(){this.panelCollapsed=!this.panelCollapsed},socketIOConnected(){return console.log("socketIOConnected"),this.$store.state.isConnected=!0,!0},socketIODisonnected(){return console.log("socketIOConnected"),this.$store.state.isConnected=!1,!0},async api_get_req(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Se.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Se.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==this.msgTypes.MSG_TYPE_CHUNK||n.type==this.msgTypes.MSG_TYPE_FULL),console.log("this.discussionArr"),console.log(this.discussionArr))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await Se.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 Se.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 Se.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 Se.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 Se.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 Se.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 Se.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 Se.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 Se.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),me(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at,steps:[]};this.discussionArr.push(e),me(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user};e!==-1&&(this.discussionArr[e]=n)},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",id:t.ai_message_id,parent:t.user_message_id,rank:0,sender:t.bot,created_at:t.created_at,steps:[]};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),Se.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];if(o&&t.message_type<this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_USER)o.content=t.data;else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_START)o.steps.push({message:t.data,done:!1});else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_END){const r=o.steps.find(i=>i.message===t.data);r&&(r.done=!0)}}this.$nextTick(()=>{})},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),me(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){const t=localStorage.getItem("selected_discussion");if(t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;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),Se.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):$e.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),me(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,steps:this.discussionArr[s].steps,sender:t.bot,type:t.type};this.discussionArr[s]=o}me(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=`
Personality: ${t.message.personality}`);let s="";t.created_at_parsed&&(s=`
Created: ${t.created_at_parsed}`);let o="";t.message.content&&(o=t.message.content);let r="";t.message.model&&(r=`Model: ${t.message.model}`);let i="";t.message.seed&&(i=`Seed: ${t.message.seed}`);let a="";t.time_spent&&(a=`
Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const c=`${t.message.sender}${n}${s}
${o}
${l}`;navigator.clipboard.writeText(c),me(()=>{xe.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON.
`+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const s=new FileReader;s.onload=o=>e(this.parseJsonObj(o.target.result)),s.onerror=o=>n(o),s.readAsText(t)})},async exportDiscussions(){const t=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){console.log("export",t);let e=new Date;const n=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t);u?(this.saveJSONtoFile(u,c),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){for(;this.$store.state.personalities===null;)await new Promise(e=>setTimeout(e,100));let t=this.$store.state.personalities;this.personalityAvatars=t.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(t){const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox
`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,me(()=>{xe.replace()}),$e.on("infos",this.createBotMsg),$e.on("message",this.streamMessageContent),$e.on("final",this.finalMsgEvent),$e.on("connected",this.socketIOConnected),$e.on("disconnected",this.socketIODisconnected),console.log("Added events")},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&me(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:eg,Message:Bg,ChatBox:$g,WelcomeComponent:jg,Toast:ii,DragDrop:pl},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){me(()=>{xe.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){me(()=>{xe.replace()})},isSearch(){me(()=>{xe.replace()})}},computed:{showPanel(){return this.$store.state.ready&&!this.panelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.state.isConnected=!0,!0},socketDisconnected(){return this.$store.state.isConnected=!1,console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return me(()=>{xe.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},SUe=Object.assign(AUe,{__name:"DiscussionsView",setup(t){return Zr(()=>{vze()}),Se.defaults.baseURL="/",(e,n)=>(S(),O(De,null,[Ae(wr,{name:"fade-and-fly"},{default:We(()=>[e.$store.state.ready?U("",!0):(S(),O("div",xze,Eze))]),_:1}),this.$store.state.ready?(S(),O("button",{key:0,onClick:n[0]||(n[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-0 left-0 z-50 p-2 m-2 bg-white rounded-full shadow-md bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-primary-light dark:hover:bg-primary"},[ye(d("div",null,Aze,512),[[dt,e.panelCollapsed]]),ye(d("div",null,Tze,512),[[dt,!e.panelCollapsed]])])):U("",!0),Ae(wr,{name:"slide-right"},{default:We(()=>[e.showPanel?(S(),O("div",Mze,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[14]||(n[14]=ue(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",Oze,[d("div",Rze,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[1]||(n[1]=s=>e.createNewDiscussion())},Dze),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[2]||(n[2]=s=>e.isCheckbox=!e.isCheckbox)},Ize,2),Pze,Fze,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[3]||(n[3]=(...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[4]||(n[4]=ue(s=>e.$refs.fileDialog.click(),["stop"]))},$ze),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[5]||(n[5]=s=>e.isSearch=!e.isSearch)},zze,2),e.loading?(S(),O("div",Uze,Hze)):U("",!0)]),e.isSearch?(S(),O("div",Vze,[d("div",Gze,[d("div",Kze,[Wze,d("div",Zze,[d("div",{class:Te(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[6]||(n[6]=s=>e.filterTitle="")},Qze,2)]),ye(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[7]||(n[7]=s=>e.filterTitle=s),onInput:n[8]||(n[8]=s=>e.filterDiscussions())},null,544),[[je,e.filterTitle]])])])])):U("",!0),e.isCheckbox?(S(),O("hr",Jze)):U("",!0),e.isCheckbox?(S(),O("div",Xze,[d("div",eUe,[e.selectedDiscussions.length>0?(S(),O("p",tUe,"Selected: "+J(e.selectedDiscussions.length),1)):U("",!0)]),d("div",nUe,[e.selectedDiscussions.length>0?(S(),O("div",sUe,[e.showConfirmation?U("",!0):(S(),O("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[9]||(n[9]=ue(s=>e.showConfirmation=!0,["stop"]))},rUe)),e.showConfirmation?(S(),O("div",iUe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[10]||(n[10]=ue((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},lUe),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[11]||(n[11]=ue(s=>e.showConfirmation=!1,["stop"]))},uUe)])):U("",!0)])):U("",!0),d("div",dUe,[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[12]||(n[12]=ue((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},hUe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[13]||(n[13]=ue((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},gUe)])])])):U("",!0)]),d("div",mUe,[Ae(pl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:We(()=>[ve("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",_Ue,[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?(S(),ot(zt,{key:0,name:"list"},{default:We(()=>[(S(!0),O(De,null,Qe(e.list,(s,o)=>(S(),ot(eg,{key:s.id,id:s.id,title:s.title,selected:e.currentDiscussion.id==s.id,loading:s.loading,isCheckbox:e.isCheckbox,checkBoxValue:s.checkBoxValue,onSelect:r=>e.selectDiscussion(s),onDelete:r=>e.deleteDiscussion(s.id),onEditTitle:e.editTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128))]),_:1})):U("",!0),e.list.length<1?(S(),O("div",bUe,vUe)):U("",!0),wUe],2)],2)])],32)])):U("",!0)]),_:1}),this.$store.state.ready===!0?(S(),O("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[15]||(n[15]=ue(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",xUe,[Ae(pl,{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",kUe,[e.discussionArr.length>0?(S(),ot(zt,{key:0,name:"list"},{default:We(()=>[(S(!0),O(De,null,Qe(e.discussionArr,(s,o)=>(S(),ot(Bg,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","avatar"]))),128))]),_:1})):U("",!0),e.currentDiscussion.id?U("",!0):(S(),ot(jg,{key:1}))]),EUe,e.currentDiscussion.id?(S(),O("div",CUe,[Ae($g,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating"])])):U("",!0)],2)],32)):U("",!0),Ae(ii,{ref:"toast"},null,512)],64))}}),TUe=Ge(SUe,[["__scopeId","data-v-b7b99c53"]]),MUe=jy({history:oy("/"),routes:[{path:"/extensions/",name:"extensions",component:b2},{path:"/help/",name:"help",component:D2},{path:"/settings/",name:"settings",component:M8},{path:"/training/",name:"training",component:Q8},{path:"/",name:"discussions",component:TUe}]});const vi=Z1(g2);console.log("Loaded main.js");const OUe=w0({state(){return{ready:!1,settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:null,bindingsArr:null,modelsArr:null,models_zoo:null,personalities:null,diskUsage:null,ramUsage:null,vramUsage:null}},mutations:{setIsConnected(t,e){t.isConnected=e},setConfig(t,e){t.config=e},setPersonalities(t,e){t.personalities=e},setMountedPers(t,e){t.mountedPers=e},setMountedPersArr(t,e){t.mountedPersArr=e},setBindingsArr(t,e){t.bindingsArr=e},setModelsArr(t,e){t.modelsArr=e},setDiskUsage(t,e){t.diskUsage=e},setRamUsage(t,e){t.ramUsage=e},setVramUsage(t,e){t.vramUsage=e},setModelsZoo(t,e){t.models_zoo=e}},getters:{getIsConnected(t){return t.isConnected},getConfig(t){return t.config},getPersonalities(t){return t.personalities},getMountedPersArr(t){return t.mountedPersArr},getMountedPers(t){return t.mountedPers},getbindingsArr(t){return t.bindingsArr},getModelsArr(t){return t.modelsArr},getDiskUsage(t){return t.diskUsage},getRamUsage(t){return t.ramUsage},getVramUsage(t){return t.vramUsage},getModelsZoo(t){return t.models_zoo}},actions:{async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await Pn("get_config");let n=e.personalities[e.active_personality_id].split("/");e.personality_language=n[0],e.personality_category=n[1],e.personality_folder=n[2],t("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshPersonalitiesArr({commit:t}){let e=[];const n=await Pn("get_all_personalities"),s=Object.keys(n);for(let o=0;o<s.length;o++){const r=s[o],i=n[r],a=Object.keys(i);for(let l=0;l<a.length;l++){const c=a[l],f=i[c].map(h=>{const g=this.state.config.personalities.includes(r+"/"+c+"/"+h.folder);let p={};return p=h,p.category=c,p.language=r,p.full_path=r+"/"+c+"/"+h.folder,p.isMounted=g,p});e.length==0?e=f:e=e.concat(f)}}e.sort((o,r)=>o.name.localeCompare(r.name)),console.log("personalities",e),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){let e=[];console.log(this.state.config.personalities.length);for(let n=0;n<this.state.config.personalities.length;n++){const s=this.state.config.personalities[n],o=this.state.personalities.findIndex(i=>i.full_path==s),r=this.state.personalities[o];r?e.push(r):e.push(this.state.personalities[this.state.personalities.findIndex(i=>i.full_path=="english/generic/lollms")])}t("setMountedPersArr",e),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])]},async refreshBindings({commit:t}){let e=await Pn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await Pn("list_models");t("setModelsArr",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await Pn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await Pn("ram_usage")},async refreshVramUsage({commit:t}){console.log("getting gpu data");const e=await Pn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o<e.nb_gpus;o++){const r=e[`gpu_${o}_total_vram`],i=e[`gpu_${o}_used_vram`],a=e[`gpu_${o}_model`],l=i/r*100,c=r-i;n.push({total_vram:r,used_vram:i,gpu_index:o,gpu_model:a,percentage:l.toFixed(2),available_space:c})}const s={nb_gpus:e.nb_gpus,gpus:n};console.log("gpu usage: ",s),this.state.vramUsage=s}else{const s={nb_gpus:0,gpus:[]};console.log("gpu usage: ",s),this.state.vramUsage=s}},async refreshModelsZoo({commit:t}){console.log("Refreshing models zoo"),Se.get("/get_available_models").then(e=>{console.log("found models");let n=e.data;n.sort((s,o)=>s.title.localeCompare(o.title));for(let s=0;s<this.state.modelsArr.length;s++){const o=this.state.modelsArr[s];if(n.findIndex(i=>i.title==o)==-1){let i={};i.title=o,i.path=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}}n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.title==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),console.log("Models zoo loaded successfully")}).catch(e=>{console.log(e.message,"fetchModels")})},fetchCustomModels({commit:t}){Se.get("/list_models").then(e=>{}).catch(e=>{console.log(e.message,"fetchCustomModels")})}}});async function Pn(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){throw console.log(e.message,"api_get_req"),e}}let Lf=!1;vi.mixin({created(){Lf||(Lf=!0,console.log("Calling"),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities"),this.$store.dispatch("refreshBindings"),this.$store.dispatch("refreshModels"),this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage"),this.$store.dispatch("refreshVramUsage"),this.$store.dispatch("refreshModelsZoo"),this.$store.state.ready=!0,console.log("done loading data")})}))},beforeMount(){}});vi.use(MUe);vi.use(OUe);vi.mount("#app");