mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-07 19:30:17 +00:00
12 lines
336 KiB
JavaScript
12 lines
336 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Ai(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}function Oi(e){if(G(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ee(r)?xu(r):Oi(r);if(s)for(const i in s)t[i]=s[i]}return t}else{if(Ee(e))return e;if(ge(e))return e}}const yu=/;(?![^(]*\))/g,mu=/:([^]+)/,vu=/\/\*.*?\*\//gs;function xu(e){const t={};return e.replace(vu,"").split(yu).forEach(n=>{if(n){const r=n.split(mu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ie(e){let t="";if(Ee(e))t=e;else if(G(e))for(let n=0;n<e.length;n++){const r=Ie(e[n]);r&&(t+=r+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const bu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wu=Ai(bu);function Na(e){return!!e||e===""}function _u(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=us(e[r],t[r]);return n}function us(e,t){if(e===t)return!0;let n=po(e),r=po(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=rr(e),r=rr(t),n||r)return e===t;if(n=G(e),r=G(t),n||r)return n&&r?_u(e,t):!1;if(n=ge(e),r=ge(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!us(e[o],t[o]))return!1}}return String(e)===String(t)}function Fa(e,t){return e.findIndex(n=>us(n,t))}const lt=e=>Ee(e)?e:e==null?"":G(e)||ge(e)&&(e.toString===$a||!Z(e.toString))?JSON.stringify(e,Ha,2):String(e),Ha=(e,t)=>t&&t.__v_isRef?Ha(e,t.value):wn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:fs(t)?{[`Set(${t.size})`]:[...t.values()]}:ge(t)&&!G(t)&&!za(t)?String(t):t,me={},bn=[],dt=()=>{},Eu=()=>!1,ju=/^on[^a-z]/,ds=e=>ju.test(e),Ci=e=>e.startsWith("onUpdate:"),Ne=Object.assign,Ti=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ku=Object.prototype.hasOwnProperty,ie=(e,t)=>ku.call(e,t),G=Array.isArray,wn=e=>Pn(e)==="[object Map]",fs=e=>Pn(e)==="[object Set]",po=e=>Pn(e)==="[object Date]",Au=e=>Pn(e)==="[object RegExp]",Z=e=>typeof e=="function",Ee=e=>typeof e=="string",rr=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",Va=e=>ge(e)&&Z(e.then)&&Z(e.catch),$a=Object.prototype.toString,Pn=e=>$a.call(e),Ou=e=>Pn(e).slice(8,-1),za=e=>Pn(e)==="[object Object]",Si=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rr=Ai(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Cu=/-(\w)/g,_t=hs(e=>e.replace(Cu,(t,n)=>n?n.toUpperCase():"")),Tu=/\B([A-Z])/g,pn=hs(e=>e.replace(Tu,"-$1").toLowerCase()),ps=hs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ls=hs(e=>e?`on${ps(e)}`:""),sr=(e,t)=>!Object.is(e,t),_n=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Kr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Gs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let go;const Su=()=>go||(go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ot;class Mu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ot,!t&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Ru(e,t=ot){t&&t.active&&t.effects.push(e)}function Lu(){return ot}const Mi=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ua=e=>(e.w&Gt)>0,Ka=e=>(e.n&Gt)>0,Pu=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Gt},Iu=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Ua(s)&&!Ka(s)?s.delete(e):t[n++]=s,s.w&=~Gt,s.n&=~Gt}t.length=n}},Ys=new WeakMap;let Kn=0,Gt=1;const Js=30;let ct;const un=Symbol(""),Xs=Symbol("");class Ri{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ru(this,r)}run(){if(!this.active)return this.fn();let t=ct,n=Wt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ct,ct=this,Wt=!0,Gt=1<<++Kn,Kn<=Js?Pu(this):yo(this),this.fn()}finally{Kn<=Js&&Iu(this),Gt=1<<--Kn,ct=this.parent,Wt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ct===this?this.deferStop=!0:this.active&&(yo(this),this.onStop&&this.onStop(),this.active=!1)}}function yo(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Wt=!0;const Wa=[];function In(){Wa.push(Wt),Wt=!1}function Bn(){const e=Wa.pop();Wt=e===void 0?!0:e}function Ue(e,t,n){if(Wt&&ct){let r=Ys.get(e);r||Ys.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Mi()),qa(s)}}function qa(e,t){let n=!1;Kn<=Js?Ka(e)||(e.n|=Gt,n=!Ua(e)):n=!e.has(ct),n&&(e.add(ct),ct.deps.push(e))}function St(e,t,n,r,s,i){const o=Ys.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&G(e)){const l=Number(r);o.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":G(e)?Si(n)&&a.push(o.get("length")):(a.push(o.get(un)),wn(e)&&a.push(o.get(Xs)));break;case"delete":G(e)||(a.push(o.get(un)),wn(e)&&a.push(o.get(Xs)));break;case"set":wn(e)&&a.push(o.get(un));break}if(a.length===1)a[0]&&Qs(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Qs(Mi(l))}}function Qs(e,t){const n=G(e)?e:[...e];for(const r of n)r.computed&&mo(r);for(const r of n)r.computed||mo(r)}function mo(e,t){(e!==ct||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Bu=Ai("__proto__,__v_isRef,__isVue"),Ga=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rr)),Du=Li(),Nu=Li(!1,!0),Fu=Li(!0),vo=Hu();function Hu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ae(this);for(let i=0,o=this.length;i<o;i++)Ue(r,"get",i+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(ae)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){In();const r=ae(this)[t].apply(this,n);return Bn(),r}}),e}function Vu(e){const t=ae(this);return Ue(t,"has",e),t.hasOwnProperty(e)}function Li(e=!1,t=!1){return function(r,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?rd:Za:t?Qa:Xa).get(r))return r;const o=G(r);if(!e){if(o&&ie(vo,s))return Reflect.get(vo,s,i);if(s==="hasOwnProperty")return Vu}const a=Reflect.get(r,s,i);return(rr(s)?Ga.has(s):Bu(s))||(e||Ue(r,"get",s),t)?a:De(a)?o&&Si(s)?a:a.value:ge(a)?e?el(a):Dn(a):a}}const $u=Ya(),zu=Ya(!0);function Ya(e=!1){return function(n,r,s,i){let o=n[r];if(kn(o)&&De(o)&&!De(s))return!1;if(!e&&(!Wr(s)&&!kn(s)&&(o=ae(o),s=ae(s)),!G(n)&&De(o)&&!De(s)))return o.value=s,!0;const a=G(n)&&Si(r)?Number(r)<n.length:ie(n,r),l=Reflect.set(n,r,s,i);return n===ae(i)&&(a?sr(s,o)&&St(n,"set",r,s):St(n,"add",r,s)),l}}function Uu(e,t){const n=ie(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&St(e,"delete",t,void 0),r}function Ku(e,t){const n=Reflect.has(e,t);return(!rr(t)||!Ga.has(t))&&Ue(e,"has",t),n}function Wu(e){return Ue(e,"iterate",G(e)?"length":un),Reflect.ownKeys(e)}const Ja={get:Du,set:$u,deleteProperty:Uu,has:Ku,ownKeys:Wu},qu={get:Fu,set(e,t){return!0},deleteProperty(e,t){return!0}},Gu=Ne({},Ja,{get:Nu,set:zu}),Pi=e=>e,gs=e=>Reflect.getPrototypeOf(e);function vr(e,t,n=!1,r=!1){e=e.__v_raw;const s=ae(e),i=ae(t);n||(t!==i&&Ue(s,"get",t),Ue(s,"get",i));const{has:o}=gs(s),a=r?Pi:n?Di:ir;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function xr(e,t=!1){const n=this.__v_raw,r=ae(n),s=ae(e);return t||(e!==s&&Ue(r,"has",e),Ue(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function br(e,t=!1){return e=e.__v_raw,!t&&Ue(ae(e),"iterate",un),Reflect.get(e,"size",e)}function xo(e){e=ae(e);const t=ae(this);return gs(t).has.call(t,e)||(t.add(e),St(t,"add",e,e)),this}function bo(e,t){t=ae(t);const n=ae(this),{has:r,get:s}=gs(n);let i=r.call(n,e);i||(e=ae(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?sr(t,o)&&St(n,"set",e,t):St(n,"add",e,t),this}function wo(e){const t=ae(this),{has:n,get:r}=gs(t);let s=n.call(t,e);s||(e=ae(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&St(t,"delete",e,void 0),i}function _o(){const e=ae(this),t=e.size!==0,n=e.clear();return t&&St(e,"clear",void 0,void 0),n}function wr(e,t){return function(r,s){const i=this,o=i.__v_raw,a=ae(o),l=t?Pi:e?Di:ir;return!e&&Ue(a,"iterate",un),o.forEach((c,u)=>r.call(s,l(c),l(u),i))}}function _r(e,t,n){return function(...r){const s=this.__v_raw,i=ae(s),o=wn(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=s[e](...r),u=n?Pi:t?Di:ir;return!t&&Ue(i,"iterate",l?Xs:un),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Bt(e){return function(...t){return e==="delete"?!1:this}}function Yu(){const e={get(i){return vr(this,i)},get size(){return br(this)},has:xr,add:xo,set:bo,delete:wo,clear:_o,forEach:wr(!1,!1)},t={get(i){return vr(this,i,!1,!0)},get size(){return br(this)},has:xr,add:xo,set:bo,delete:wo,clear:_o,forEach:wr(!1,!0)},n={get(i){return vr(this,i,!0)},get size(){return br(this,!0)},has(i){return xr.call(this,i,!0)},add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear"),forEach:wr(!0,!1)},r={get(i){return vr(this,i,!0,!0)},get size(){return br(this,!0)},has(i){return xr.call(this,i,!0)},add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear"),forEach:wr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=_r(i,!1,!1),n[i]=_r(i,!0,!1),t[i]=_r(i,!1,!0),r[i]=_r(i,!0,!0)}),[e,n,t,r]}const[Ju,Xu,Qu,Zu]=Yu();function Ii(e,t){const n=t?e?Zu:Qu:e?Xu:Ju;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ie(n,s)&&s in r?n:r,s,i)}const ed={get:Ii(!1,!1)},td={get:Ii(!1,!0)},nd={get:Ii(!0,!1)},Xa=new WeakMap,Qa=new WeakMap,Za=new WeakMap,rd=new WeakMap;function sd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function id(e){return e.__v_skip||!Object.isExtensible(e)?0:sd(Ou(e))}function Dn(e){return kn(e)?e:Bi(e,!1,Ja,ed,Xa)}function od(e){return Bi(e,!1,Gu,td,Qa)}function el(e){return Bi(e,!0,qu,nd,Za)}function Bi(e,t,n,r,s){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=id(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function En(e){return kn(e)?En(e.__v_raw):!!(e&&e.__v_isReactive)}function kn(e){return!!(e&&e.__v_isReadonly)}function Wr(e){return!!(e&&e.__v_isShallow)}function tl(e){return En(e)||kn(e)}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function nl(e){return Kr(e,"__v_skip",!0),e}const ir=e=>ge(e)?Dn(e):e,Di=e=>ge(e)?el(e):e;function rl(e){Wt&&ct&&(e=ae(e),qa(e.dep||(e.dep=Mi())))}function sl(e,t){e=ae(e);const n=e.dep;n&&Qs(n)}function De(e){return!!(e&&e.__v_isRef===!0)}function ad(e){return il(e,!1)}function ld(e){return il(e,!0)}function il(e,t){return De(e)?e:new cd(e,t)}class cd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ae(t),this._value=n?t:ir(t)}get value(){return rl(this),this._value}set value(t){const n=this.__v_isShallow||Wr(t)||kn(t);t=n?t:ae(t),sr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ir(t),sl(this))}}function We(e){return De(e)?e.value:e}const ud={get:(e,t,n)=>We(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return De(s)&&!De(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function ol(e){return En(e)?e:new Proxy(e,ud)}var al;class dd{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[al]=!1,this._dirty=!0,this.effect=new Ri(t,()=>{this._dirty||(this._dirty=!0,sl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ae(this);return rl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}al="__v_isReadonly";function fd(e,t,n=!1){let r,s;const i=Z(e);return i?(r=e,s=dt):(r=e.get,s=e.set),new dd(r,s,i||!s,n)}function qt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){ys(i,t,n)}return s}function tt(e,t,n,r){if(Z(e)){const i=qt(e,t,n,r);return i&&Va(i)&&i.catch(o=>{ys(o,t,n)}),i}const s=[];for(let i=0;i<e.length;i++)s.push(tt(e[i],t,n,r));return s}function ys(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,a=n;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,o,a)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){qt(l,null,10,[e,o,a]);return}}hd(e,n,s,r)}function hd(e,t,n,r=!0){console.error(e)}let or=!1,Zs=!1;const Be=[];let yt=0;const jn=[];let Ot=null,Zt=0;const ll=Promise.resolve();let Ni=null;function Me(e){const t=Ni||ll;return e?t.then(this?e.bind(this):e):t}function pd(e){let t=yt+1,n=Be.length;for(;t<n;){const r=t+n>>>1;ar(Be[r])<e?t=r+1:n=r}return t}function Fi(e){(!Be.length||!Be.includes(e,or&&e.allowRecurse?yt+1:yt))&&(e.id==null?Be.push(e):Be.splice(pd(e.id),0,e),cl())}function cl(){!or&&!Zs&&(Zs=!0,Ni=ll.then(dl))}function gd(e){const t=Be.indexOf(e);t>yt&&Be.splice(t,1)}function yd(e){G(e)?jn.push(...e):(!Ot||!Ot.includes(e,e.allowRecurse?Zt+1:Zt))&&jn.push(e),cl()}function Eo(e,t=or?yt+1:0){for(;t<Be.length;t++){const n=Be[t];n&&n.pre&&(Be.splice(t,1),t--,n())}}function ul(e){if(jn.length){const t=[...new Set(jn)];if(jn.length=0,Ot){Ot.push(...t);return}for(Ot=t,Ot.sort((n,r)=>ar(n)-ar(r)),Zt=0;Zt<Ot.length;Zt++)Ot[Zt]();Ot=null,Zt=0}}const ar=e=>e.id==null?1/0:e.id,md=(e,t)=>{const n=ar(e)-ar(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function dl(e){Zs=!1,or=!0,Be.sort(md);const t=dt;try{for(yt=0;yt<Be.length;yt++){const n=Be[yt];n&&n.active!==!1&&qt(n,null,14)}}finally{yt=0,Be.length=0,ul(),or=!1,Ni=null,(Be.length||jn.length)&&dl()}}function vd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||me;let s=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in r){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:d,trim:f}=r[u]||me;f&&(s=n.map(p=>Ee(p)?p.trim():p)),d&&(s=n.map(Gs))}let a,l=r[a=Ls(t)]||r[a=Ls(_t(t))];!l&&i&&(l=r[a=Ls(pn(t))]),l&&tt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,tt(c,e,6,s)}}function fl(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!Z(e)){const l=c=>{const u=fl(c,t,!0);u&&(a=!0,Ne(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(ge(e)&&r.set(e,null),null):(G(i)?i.forEach(l=>o[l]=null):Ne(o,i),ge(e)&&r.set(e,o),o)}function ms(e,t){return!e||!ds(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,pn(t))||ie(e,t))}let qe=null,vs=null;function qr(e){const t=qe;return qe=e,vs=e&&e.type.__scopeId||null,t}function xd(e){vs=e}function bd(){vs=null}function Ut(e,t=qe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Po(-1);const i=qr(t);let o;try{o=e(...s)}finally{qr(i),r._d&&Po(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Ps(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:g,inheritAttrs:y}=e;let _,w;const x=qr(e);try{if(n.shapeFlag&4){const E=s||r;_=gt(u.call(E,E,d,i,p,f,g)),w=l}else{const E=t;_=gt(E.length>1?E(i,{attrs:l,slots:a,emit:c}):E(i,null)),w=t.props?l:wd(l)}}catch(E){Xn.length=0,ys(E,e,1),_=ve(ft)}let b=_;if(w&&y!==!1){const E=Object.keys(w),{shapeFlag:S}=b;E.length&&S&7&&(o&&E.some(Ci)&&(w=_d(w,o)),b=Mt(b,w))}return n.dirs&&(b=Mt(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),_=b,qr(x),_}const wd=e=>{let t;for(const n in e)(n==="class"||n==="style"||ds(n))&&((t||(t={}))[n]=e[n]);return t},_d=(e,t)=>{const n={};for(const r in e)(!Ci(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ed(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?jo(r,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(o[f]!==r[f]&&!ms(c,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?jo(r,o,c):!0:!!o;return!1}function jo(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(t[i]!==e[i]&&!ms(n,i))return!0}return!1}function jd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const hl=e=>e.__isSuspense;function kd(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):yd(e)}function Lr(e,t){if(_e){let n=_e.provides;const r=_e.parent&&_e.parent.provides;r===n&&(n=_e.provides=Object.create(r)),n[e]=t}}function Ct(e,t,n=!1){const r=_e||qe;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Z(t)?t.call(r.proxy):t}}const Er={};function Gn(e,t,n){return pl(e,t,n)}function pl(e,t,{immediate:n,deep:r,flush:s,onTrack:i,onTrigger:o}=me){const a=Lu()===(_e==null?void 0:_e.scope)?_e:null;let l,c=!1,u=!1;if(De(e)?(l=()=>e.value,c=Wr(e)):En(e)?(l=()=>e,r=!0):G(e)?(u=!0,c=e.some(b=>En(b)||Wr(b)),l=()=>e.map(b=>{if(De(b))return b.value;if(En(b))return ln(b);if(Z(b))return qt(b,a,2)})):Z(e)?t?l=()=>qt(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),tt(e,a,3,[f])}:l=dt,t&&r){const b=l;l=()=>ln(b())}let d,f=b=>{d=w.onStop=()=>{qt(b,a,4)}},p;if(cr)if(f=dt,t?n&&tt(t,a,3,[l(),u?[]:void 0,f]):l(),s==="sync"){const b=bf();p=b.__watcherHandles||(b.__watcherHandles=[])}else return dt;let g=u?new Array(e.length).fill(Er):Er;const y=()=>{if(w.active)if(t){const b=w.run();(r||c||(u?b.some((E,S)=>sr(E,g[S])):sr(b,g)))&&(d&&d(),tt(t,a,3,[b,g===Er?void 0:u&&g[0]===Er?[]:g,f]),g=b)}else w.run()};y.allowRecurse=!!t;let _;s==="sync"?_=y:s==="post"?_=()=>Te(y,a&&a.suspense):(y.pre=!0,a&&(y.id=a.uid),_=()=>Fi(y));const w=new Ri(l,_);t?n?y():g=w.run():s==="post"?Te(w.run.bind(w),a&&a.suspense):w.run();const x=()=>{w.stop(),a&&a.scope&&Ti(a.scope.effects,w)};return p&&p.push(x),x}function Ad(e,t,n){const r=this.proxy,s=Ee(e)?e.includes(".")?gl(r,e):()=>r[e]:e.bind(r,r);let i;Z(t)?i=t:(i=t.handler,n=t);const o=_e;An(this);const a=pl(s,i.bind(r),n);return o?An(o):dn(),a}function gl(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function ln(e,t){if(!ge(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),De(e))ln(e.value,t);else if(G(e))for(let n=0;n<e.length;n++)ln(e[n],t);else if(fs(e)||wn(e))e.forEach(n=>{ln(n,t)});else if(za(e))for(const n in e)ln(e[n],t);return e}function Od(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ws(()=>{e.isMounted=!0}),Hi(()=>{e.isUnmounting=!0}),e}const Je=[Function,Array],Cd={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Je,onEnter:Je,onAfterEnter:Je,onEnterCancelled:Je,onBeforeLeave:Je,onLeave:Je,onAfterLeave:Je,onLeaveCancelled:Je,onBeforeAppear:Je,onAppear:Je,onAfterAppear:Je,onAppearCancelled:Je},setup(e,{slots:t}){const n=Il(),r=Od();let s;return()=>{const i=t.default&&ml(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const y of i)if(y.type!==ft){o=y;break}}const a=ae(e),{mode:l}=a;if(r.isLeaving)return Is(o);const c=ko(o);if(!c)return Is(o);const u=ei(c,a,r,n);Gr(c,u);const d=n.subTree,f=d&&ko(d);let p=!1;const{getTransitionKey:g}=c.type;if(g){const y=g();s===void 0?s=y:y!==s&&(s=y,p=!0)}if(f&&f.type!==ft&&(!Kt(c,f)||p)){const y=ei(f,a,r,n);if(Gr(f,y),l==="out-in")return r.isLeaving=!0,y.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Is(o);l==="in-out"&&c.type!==ft&&(y.delayLeave=(_,w,x)=>{const b=yl(r,f);b[String(f.key)]=f,_._leaveCb=()=>{w(),_._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=x})}return o}}},Td=Cd;function yl(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ei(e,t,n,r){const{appear:s,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:y,onAppear:_,onAfterAppear:w,onAppearCancelled:x}=t,b=String(e.key),E=yl(n,e),S=(I,W)=>{I&&tt(I,r,9,W)},P=(I,W)=>{const K=W[1];S(I,W),G(I)?I.every(X=>X.length<=1)&&K():I.length<=1&&K()},D={mode:i,persisted:o,beforeEnter(I){let W=a;if(!n.isMounted)if(s)W=y||a;else return;I._leaveCb&&I._leaveCb(!0);const K=E[b];K&&Kt(e,K)&&K.el._leaveCb&&K.el._leaveCb(),S(W,[I])},enter(I){let W=l,K=c,X=u;if(!n.isMounted)if(s)W=_||l,K=w||c,X=x||u;else return;let ce=!1;const ue=I._enterCb=we=>{ce||(ce=!0,we?S(X,[I]):S(K,[I]),D.delayedLeave&&D.delayedLeave(),I._enterCb=void 0)};W?P(W,[I,ue]):ue()},leave(I,W){const K=String(e.key);if(I._enterCb&&I._enterCb(!0),n.isUnmounting)return W();S(d,[I]);let X=!1;const ce=I._leaveCb=ue=>{X||(X=!0,W(),ue?S(g,[I]):S(p,[I]),I._leaveCb=void 0,E[K]===e&&delete E[K])};E[K]=e,f?P(f,[I,ce]):ce()},clone(I){return ei(I,t,n,r)}};return D}function Is(e){if(xs(e))return e=Mt(e),e.children=null,e}function ko(e){return xs(e)?e.children?e.children[0]:void 0:e}function Gr(e,t){e.shapeFlag&6&&e.component?Gr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ml(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Ae?(o.patchFlag&128&&s++,r=r.concat(ml(o.children,t,a))):(t||o.type!==ft)&&r.push(a!=null?Mt(o,{key:a}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function vl(e){return Z(e)?{setup:e,name:e.name}:e}const Yn=e=>!!e.type.__asyncLoader,xs=e=>e.type.__isKeepAlive,Sd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Il(),r=n.ctx;if(!r.renderer)return()=>{const x=t.default&&t.default();return x&&x.length===1?x[0]:x};const s=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,f=d("div");r.activate=(x,b,E,S,P)=>{const D=x.component;c(x,b,E,0,a),l(D.vnode,x,b,E,D,a,S,x.slotScopeIds,P),Te(()=>{D.isDeactivated=!1,D.a&&_n(D.a);const I=x.props&&x.props.onVnodeMounted;I&&Xe(I,D.parent,x)},a)},r.deactivate=x=>{const b=x.component;c(x,f,null,1,a),Te(()=>{b.da&&_n(b.da);const E=x.props&&x.props.onVnodeUnmounted;E&&Xe(E,b.parent,x),b.isDeactivated=!0},a)};function p(x){Bs(x),u(x,n,a,!0)}function g(x){s.forEach((b,E)=>{const S=oi(b.type);S&&(!x||!x(S))&&y(E)})}function y(x){const b=s.get(x);!o||!Kt(b,o)?p(b):o&&Bs(o),s.delete(x),i.delete(x)}Gn(()=>[e.include,e.exclude],([x,b])=>{x&&g(E=>Wn(x,E)),b&&g(E=>!Wn(b,E))},{flush:"post",deep:!0});let _=null;const w=()=>{_!=null&&s.set(_,Ds(n.subTree))};return ws(w),bl(w),Hi(()=>{s.forEach(x=>{const{subTree:b,suspense:E}=n,S=Ds(b);if(x.type===S.type&&x.key===S.key){Bs(S);const P=S.component.da;P&&Te(P,E);return}p(x)})}),()=>{if(_=null,!t.default)return null;const x=t.default(),b=x[0];if(x.length>1)return o=null,x;if(!Jr(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return o=null,b;let E=Ds(b);const S=E.type,P=oi(Yn(E)?E.type.__asyncResolved||{}:S),{include:D,exclude:I,max:W}=e;if(D&&(!P||!Wn(D,P))||I&&P&&Wn(I,P))return o=E,b;const K=E.key==null?S:E.key,X=s.get(K);return E.el&&(E=Mt(E),b.shapeFlag&128&&(b.ssContent=E)),_=K,X?(E.el=X.el,E.component=X.component,E.transition&&Gr(E,E.transition),E.shapeFlag|=512,i.delete(K),i.add(K)):(i.add(K),W&&i.size>parseInt(W,10)&&y(i.values().next().value)),E.shapeFlag|=256,o=E,hl(b.type)?b:E}}},Md=Sd;function Wn(e,t){return G(e)?e.some(n=>Wn(n,t)):Ee(e)?e.split(",").includes(t):Au(e)?e.test(t):!1}function Rd(e,t){xl(e,"a",t)}function Ld(e,t){xl(e,"da",t)}function xl(e,t,n=_e){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(bs(t,r,n),n){let s=n.parent;for(;s&&s.parent;)xs(s.parent.vnode)&&Pd(r,t,n,s),s=s.parent}}function Pd(e,t,n,r){const s=bs(t,e,r,!0);wl(()=>{Ti(r[t],s)},n)}function Bs(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ds(e){return e.shapeFlag&128?e.ssContent:e}function bs(e,t,n=_e,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;In(),An(n);const a=tt(t,n,e,o);return dn(),Bn(),a});return r?s.unshift(i):s.push(i),i}}const Pt=e=>(t,n=_e)=>(!cr||e==="sp")&&bs(e,(...r)=>t(...r),n),Id=Pt("bm"),ws=Pt("m"),Bd=Pt("bu"),bl=Pt("u"),Hi=Pt("bum"),wl=Pt("um"),Dd=Pt("sp"),Nd=Pt("rtg"),Fd=Pt("rtc");function Hd(e,t=_e){bs("ec",e,t)}function Pe(e,t){const n=qe;if(n===null)return e;const r=js(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,a,l,c=me]=t[i];o&&(Z(o)&&(o={mounted:o,updated:o}),o.deep&&ln(a),s.push({dir:o,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Jt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];i&&(a.oldValue=i[o].value);let l=a.dir[r];l&&(In(),tt(l,n,8,[e.el,a,e,t]),Bn())}}const Vi="components";function Ao(e,t){return El(Vi,e,!0,t)||e}const _l=Symbol();function Vd(e){return Ee(e)?El(Vi,e,!1)||e:e||_l}function El(e,t,n=!0,r=!1){const s=qe||_e;if(s){const i=s.type;if(e===Vi){const a=oi(i,!1);if(a&&(a===t||a===_t(t)||a===ps(_t(t))))return i}const o=Oo(s[e]||i[e],t)||Oo(s.appContext[e],t);return!o&&r?i:o}}function Oo(e,t){return e&&(e[t]||e[_t(t)]||e[ps(_t(t))])}function en(e,t,n,r){let s;const i=n&&n[r];if(G(e)||Ee(e)){s=new Array(e.length);for(let o=0,a=e.length;o<a;o++)s[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){s=new Array(e);for(let o=0;o<e;o++)s[o]=t(o+1,o,void 0,i&&i[o])}else if(ge(e))if(e[Symbol.iterator])s=Array.from(e,(o,a)=>t(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];s[a]=t(e[c],c,a,i&&i[a])}}else s=[];return n&&(n[r]=s),s}const ti=e=>e?Bl(e)?js(e)||e.proxy:ti(e.parent):null,Jn=Ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ti(e.parent),$root:e=>ti(e.root),$emit:e=>e.emit,$options:e=>$i(e),$forceUpdate:e=>e.f||(e.f=()=>Fi(e.update)),$nextTick:e=>e.n||(e.n=Me.bind(e.proxy)),$watch:e=>Ad.bind(e)}),Ns=(e,t)=>e!==me&&!e.__isScriptSetup&&ie(e,t),$d={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Ns(r,t))return o[t]=1,r[t];if(s!==me&&ie(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&ie(c,t))return o[t]=3,i[t];if(n!==me&&ie(n,t))return o[t]=4,n[t];ni&&(o[t]=0)}}const u=Jn[t];let d,f;if(u)return t==="$attrs"&&Ue(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==me&&ie(n,t))return o[t]=4,n[t];if(f=l.config.globalProperties,ie(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Ns(s,t)?(s[t]=n,!0):r!==me&&ie(r,t)?(r[t]=n,!0):ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==me&&ie(e,o)||Ns(t,o)||(a=i[0])&&ie(a,o)||ie(r,o)||ie(Jn,o)||ie(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ni=!0;function zd(e){const t=$i(e),n=e.proxy,r=e.ctx;ni=!1,t.beforeCreate&&Co(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:g,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:b,unmounted:E,render:S,renderTracked:P,renderTriggered:D,errorCaptured:I,serverPrefetch:W,expose:K,inheritAttrs:X,components:ce,directives:ue,filters:we}=t;if(c&&Ud(c,r,null,e.appContext.config.unwrapInjectedRef),o)for(const q in o){const ee=o[q];Z(ee)&&(r[q]=ee.bind(n))}if(s){const q=s.call(n,n);ge(q)&&(e.data=Dn(q))}if(ni=!0,i)for(const q in i){const ee=i[q],he=Z(ee)?ee.bind(n,n):Z(ee.get)?ee.get.bind(n,n):dt,Fe=!Z(ee)&&Z(ee.set)?ee.set.bind(n):dt,xe=et({get:he,set:Fe});Object.defineProperty(r,q,{enumerable:!0,configurable:!0,get:()=>xe.value,set:pe=>xe.value=pe})}if(a)for(const q in a)jl(a[q],r,n,q);if(l){const q=Z(l)?l.call(n):l;Reflect.ownKeys(q).forEach(ee=>{Lr(ee,q[ee])})}u&&Co(u,e,"c");function ne(q,ee){G(ee)?ee.forEach(he=>q(he.bind(n))):ee&&q(ee.bind(n))}if(ne(Id,d),ne(ws,f),ne(Bd,p),ne(bl,g),ne(Rd,y),ne(Ld,_),ne(Hd,I),ne(Fd,P),ne(Nd,D),ne(Hi,x),ne(wl,E),ne(Dd,W),G(K))if(K.length){const q=e.exposed||(e.exposed={});K.forEach(ee=>{Object.defineProperty(q,ee,{get:()=>n[ee],set:he=>n[ee]=he})})}else e.exposed||(e.exposed={});S&&e.render===dt&&(e.render=S),X!=null&&(e.inheritAttrs=X),ce&&(e.components=ce),ue&&(e.directives=ue)}function Ud(e,t,n=dt,r=!1){G(e)&&(e=ri(e));for(const s in e){const i=e[s];let o;ge(i)?"default"in i?o=Ct(i.from||s,i.default,!0):o=Ct(i.from||s):o=Ct(i),De(o)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Co(e,t,n){tt(G(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function jl(e,t,n,r){const s=r.includes(".")?gl(n,r):()=>n[r];if(Ee(e)){const i=t[e];Z(i)&&Gn(s,i)}else if(Z(e))Gn(s,e.bind(n));else if(ge(e))if(G(e))e.forEach(i=>jl(i,t,n,r));else{const i=Z(e.handler)?e.handler.bind(n):t[e.handler];Z(i)&&Gn(s,i,e)}}function $i(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Yr(l,c,o,!0)),Yr(l,t,o)),ge(t)&&i.set(t,l),l}function Yr(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Yr(e,i,n,!0),s&&s.forEach(o=>Yr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Kd[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Kd={data:To,props:Qt,emits:Qt,methods:Qt,computed:Qt,beforeCreate:He,created:He,beforeMount:He,mounted:He,beforeUpdate:He,updated:He,beforeDestroy:He,beforeUnmount:He,destroyed:He,unmounted:He,activated:He,deactivated:He,errorCaptured:He,serverPrefetch:He,components:Qt,directives:Qt,watch:qd,provide:To,inject:Wd};function To(e,t){return t?e?function(){return Ne(Z(e)?e.call(this,this):e,Z(t)?t.call(this,this):t)}:t:e}function Wd(e,t){return Qt(ri(e),ri(t))}function ri(e){if(G(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function He(e,t){return e?[...new Set([].concat(e,t))]:t}function Qt(e,t){return e?Ne(Ne(Object.create(null),e),t):t}function qd(e,t){if(!e)return t;if(!t)return e;const n=Ne(Object.create(null),e);for(const r in t)n[r]=He(e[r],t[r]);return n}function Gd(e,t,n,r=!1){const s={},i={};Kr(i,Es,1),e.propsDefaults=Object.create(null),kl(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:od(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Yd(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=ae(s),[l]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(ms(e.emitsOptions,f))continue;const p=t[f];if(l)if(ie(i,f))p!==i[f]&&(i[f]=p,c=!0);else{const g=_t(f);s[g]=si(l,a,g,p,e,!1)}else p!==i[f]&&(i[f]=p,c=!0)}}}else{kl(e,t,s,i)&&(c=!0);let u;for(const d in a)(!t||!ie(t,d)&&((u=pn(d))===d||!ie(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(s[d]=si(l,a,d,void 0,e,!0)):delete s[d]);if(i!==a)for(const d in i)(!t||!ie(t,d))&&(delete i[d],c=!0)}c&&St(e,"set","$attrs")}function kl(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(Rr(l))continue;const c=t[l];let u;s&&ie(s,u=_t(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:ms(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,o=!0)}if(i){const l=ae(n),c=a||me;for(let u=0;u<i.length;u++){const d=i[u];n[d]=si(s,l,d,c[d],e,!ie(c,d))}}return o}function si(e,t,n,r,s,i){const o=e[n];if(o!=null){const a=ie(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&Z(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(An(s),r=c[n]=l.call(null,t),dn())}else r=l}o[0]&&(i&&!a?r=!1:o[1]&&(r===""||r===pn(n))&&(r=!0))}return r}function Al(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},a=[];let l=!1;if(!Z(e)){const u=d=>{l=!0;const[f,p]=Al(d,t,!0);Ne(o,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return ge(e)&&r.set(e,bn),bn;if(G(i))for(let u=0;u<i.length;u++){const d=_t(i[u]);So(d)&&(o[d]=me)}else if(i)for(const u in i){const d=_t(u);if(So(d)){const f=i[u],p=o[d]=G(f)||Z(f)?{type:f}:Object.assign({},f);if(p){const g=Lo(Boolean,p.type),y=Lo(String,p.type);p[0]=g>-1,p[1]=y<0||g<y,(g>-1||ie(p,"default"))&&a.push(d)}}}const c=[o,a];return ge(e)&&r.set(e,c),c}function So(e){return e[0]!=="$"}function Mo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ro(e,t){return Mo(e)===Mo(t)}function Lo(e,t){return G(t)?t.findIndex(n=>Ro(n,e)):Z(t)&&Ro(t,e)?0:-1}const Ol=e=>e[0]==="_"||e==="$stable",zi=e=>G(e)?e.map(gt):[gt(e)],Jd=(e,t,n)=>{if(t._n)return t;const r=Ut((...s)=>zi(t(...s)),n);return r._c=!1,r},Cl=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ol(s))continue;const i=e[s];if(Z(i))t[s]=Jd(s,i,r);else if(i!=null){const o=zi(i);t[s]=()=>o}}},Tl=(e,t)=>{const n=zi(t);e.slots.default=()=>n},Xd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ae(t),Kr(t,"_",n)):Cl(t,e.slots={})}else e.slots={},t&&Tl(e,t);Kr(e.slots,Es,1)},Qd=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=me;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(Ne(s,t),!n&&a===1&&delete s._):(i=!t.$stable,Cl(t,s)),o=t}else t&&(Tl(e,t),o={default:1});if(i)for(const a in s)!Ol(a)&&!(a in o)&&delete s[a]};function Sl(){return{app:null,config:{isNativeTag:Eu,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 Zd=0;function ef(e,t){return function(r,s=null){Z(r)||(r=Object.assign({},r)),s!=null&&!ge(s)&&(s=null);const i=Sl(),o=new Set;let a=!1;const l=i.app={_uid:Zd++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:wf,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&&Z(c.install)?(o.add(c),c.install(l,...u)):Z(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,d){if(!a){const f=ve(r,s);return f.appContext=i,u&&t?t(f,c):e(f,c,d),a=!0,l._container=c,c.__vue_app__=l,js(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l}};return l}}function ii(e,t,n,r,s=!1){if(G(e)){e.forEach((f,p)=>ii(f,t&&(G(t)?t[p]:t),n,r,s));return}if(Yn(r)&&!s)return;const i=r.shapeFlag&4?js(r.component)||r.component.proxy:r.el,o=s?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===me?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(Ee(c)?(u[c]=null,ie(d,c)&&(d[c]=null)):De(c)&&(c.value=null)),Z(l))qt(l,a,12,[o,u]);else{const f=Ee(l),p=De(l);if(f||p){const g=()=>{if(e.f){const y=f?ie(d,l)?d[l]:u[l]:l.value;s?G(y)&&Ti(y,i):G(y)?y.includes(i)||y.push(i):f?(u[l]=[i],ie(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=o,ie(d,l)&&(d[l]=o)):p&&(l.value=o,e.k&&(u[e.k]=o))};o?(g.id=-1,Te(g,n)):g()}}}const Te=kd;function tf(e){return nf(e)}function nf(e,t){const n=Su();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=dt,insertStaticContent:g}=e,y=(h,m,j,A=null,C=null,R=null,F=!1,M=null,L=!!m.dynamicChildren)=>{if(h===m)return;h&&!Kt(h,m)&&(A=B(h),pe(h,C,R,!0),h=null),m.patchFlag===-2&&(L=!1,m.dynamicChildren=null);const{type:T,ref:z,shapeFlag:H}=m;switch(T){case _s:_(h,m,j,A);break;case ft:w(h,m,j,A);break;case Pr:h==null&&x(m,j,A,F);break;case Ae:ce(h,m,j,A,C,R,F,M,L);break;default:H&1?S(h,m,j,A,C,R,F,M,L):H&6?ue(h,m,j,A,C,R,F,M,L):(H&64||H&128)&&T.process(h,m,j,A,C,R,F,M,L,re)}z!=null&&C&&ii(z,h&&h.ref,R,m||h,!m)},_=(h,m,j,A)=>{if(h==null)r(m.el=a(m.children),j,A);else{const C=m.el=h.el;m.children!==h.children&&c(C,m.children)}},w=(h,m,j,A)=>{h==null?r(m.el=l(m.children||""),j,A):m.el=h.el},x=(h,m,j,A)=>{[h.el,h.anchor]=g(h.children,m,j,A,h.el,h.anchor)},b=({el:h,anchor:m},j,A)=>{let C;for(;h&&h!==m;)C=f(h),r(h,j,A),h=C;r(m,j,A)},E=({el:h,anchor:m})=>{let j;for(;h&&h!==m;)j=f(h),s(h),h=j;s(m)},S=(h,m,j,A,C,R,F,M,L)=>{F=F||m.type==="svg",h==null?P(m,j,A,C,R,F,M,L):W(h,m,C,R,F,M,L)},P=(h,m,j,A,C,R,F,M)=>{let L,T;const{type:z,props:H,shapeFlag:$,transition:J,dirs:te}=h;if(L=h.el=o(h.type,R,H&&H.is,H),$&8?u(L,h.children):$&16&&I(h.children,L,null,A,C,R&&z!=="foreignObject",F,M),te&&Jt(h,null,A,"created"),D(L,h,h.scopeId,F,A),H){for(const le in H)le!=="value"&&!Rr(le)&&i(L,le,null,H[le],R,h.children,A,C,N);"value"in H&&i(L,"value",null,H.value),(T=H.onVnodeBeforeMount)&&Xe(T,A,h)}te&&Jt(h,null,A,"beforeMount");const de=(!C||C&&!C.pendingBranch)&&J&&!J.persisted;de&&J.beforeEnter(L),r(L,m,j),((T=H&&H.onVnodeMounted)||de||te)&&Te(()=>{T&&Xe(T,A,h),de&&J.enter(L),te&&Jt(h,null,A,"mounted")},C)},D=(h,m,j,A,C)=>{if(j&&p(h,j),A)for(let R=0;R<A.length;R++)p(h,A[R]);if(C){let R=C.subTree;if(m===R){const F=C.vnode;D(h,F,F.scopeId,F.slotScopeIds,C.parent)}}},I=(h,m,j,A,C,R,F,M,L=0)=>{for(let T=L;T<h.length;T++){const z=h[T]=M?Ft(h[T]):gt(h[T]);y(null,z,m,j,A,C,R,F,M)}},W=(h,m,j,A,C,R,F)=>{const M=m.el=h.el;let{patchFlag:L,dynamicChildren:T,dirs:z}=m;L|=h.patchFlag&16;const H=h.props||me,$=m.props||me;let J;j&&Xt(j,!1),(J=$.onVnodeBeforeUpdate)&&Xe(J,j,m,h),z&&Jt(m,h,j,"beforeUpdate"),j&&Xt(j,!0);const te=C&&m.type!=="foreignObject";if(T?K(h.dynamicChildren,T,M,j,A,te,R):F||ee(h,m,M,null,j,A,te,R,!1),L>0){if(L&16)X(M,m,H,$,j,A,C);else if(L&2&&H.class!==$.class&&i(M,"class",null,$.class,C),L&4&&i(M,"style",H.style,$.style,C),L&8){const de=m.dynamicProps;for(let le=0;le<de.length;le++){const ke=de[le],it=H[ke],gn=$[ke];(gn!==it||ke==="value")&&i(M,ke,it,gn,C,h.children,j,A,N)}}L&1&&h.children!==m.children&&u(M,m.children)}else!F&&T==null&&X(M,m,H,$,j,A,C);((J=$.onVnodeUpdated)||z)&&Te(()=>{J&&Xe(J,j,m,h),z&&Jt(m,h,j,"updated")},A)},K=(h,m,j,A,C,R,F)=>{for(let M=0;M<m.length;M++){const L=h[M],T=m[M],z=L.el&&(L.type===Ae||!Kt(L,T)||L.shapeFlag&70)?d(L.el):j;y(L,T,z,null,A,C,R,F,!0)}},X=(h,m,j,A,C,R,F)=>{if(j!==A){if(j!==me)for(const M in j)!Rr(M)&&!(M in A)&&i(h,M,j[M],null,F,m.children,C,R,N);for(const M in A){if(Rr(M))continue;const L=A[M],T=j[M];L!==T&&M!=="value"&&i(h,M,T,L,F,m.children,C,R,N)}"value"in A&&i(h,"value",j.value,A.value)}},ce=(h,m,j,A,C,R,F,M,L)=>{const T=m.el=h?h.el:a(""),z=m.anchor=h?h.anchor:a("");let{patchFlag:H,dynamicChildren:$,slotScopeIds:J}=m;J&&(M=M?M.concat(J):J),h==null?(r(T,j,A),r(z,j,A),I(m.children,j,z,C,R,F,M,L)):H>0&&H&64&&$&&h.dynamicChildren?(K(h.dynamicChildren,$,j,C,R,F,M),(m.key!=null||C&&m===C.subTree)&&Ml(h,m,!0)):ee(h,m,j,z,C,R,F,M,L)},ue=(h,m,j,A,C,R,F,M,L)=>{m.slotScopeIds=M,h==null?m.shapeFlag&512?C.ctx.activate(m,j,A,F,L):we(m,j,A,C,R,F,L):Re(h,m,L)},we=(h,m,j,A,C,R,F)=>{const M=h.component=hf(h,A,C);if(xs(h)&&(M.ctx.renderer=re),pf(M),M.asyncDep){if(C&&C.registerDep(M,ne),!h.el){const L=M.subTree=ve(ft);w(null,L,m,j)}return}ne(M,h,m,j,C,R,F)},Re=(h,m,j)=>{const A=m.component=h.component;if(Ed(h,m,j))if(A.asyncDep&&!A.asyncResolved){q(A,m,j);return}else A.next=m,gd(A.update),A.update();else m.el=h.el,A.vnode=m},ne=(h,m,j,A,C,R,F)=>{const M=()=>{if(h.isMounted){let{next:z,bu:H,u:$,parent:J,vnode:te}=h,de=z,le;Xt(h,!1),z?(z.el=te.el,q(h,z,F)):z=te,H&&_n(H),(le=z.props&&z.props.onVnodeBeforeUpdate)&&Xe(le,J,z,te),Xt(h,!0);const ke=Ps(h),it=h.subTree;h.subTree=ke,y(it,ke,d(it.el),B(it),h,C,R),z.el=ke.el,de===null&&jd(h,ke.el),$&&Te($,C),(le=z.props&&z.props.onVnodeUpdated)&&Te(()=>Xe(le,J,z,te),C)}else{let z;const{el:H,props:$}=m,{bm:J,m:te,parent:de}=h,le=Yn(m);if(Xt(h,!1),J&&_n(J),!le&&(z=$&&$.onVnodeBeforeMount)&&Xe(z,de,m),Xt(h,!0),H&&Q){const ke=()=>{h.subTree=Ps(h),Q(H,h.subTree,h,C,null)};le?m.type.__asyncLoader().then(()=>!h.isUnmounted&&ke()):ke()}else{const ke=h.subTree=Ps(h);y(null,ke,j,A,h,C,R),m.el=ke.el}if(te&&Te(te,C),!le&&(z=$&&$.onVnodeMounted)){const ke=m;Te(()=>Xe(z,de,ke),C)}(m.shapeFlag&256||de&&Yn(de.vnode)&&de.vnode.shapeFlag&256)&&h.a&&Te(h.a,C),h.isMounted=!0,m=j=A=null}},L=h.effect=new Ri(M,()=>Fi(T),h.scope),T=h.update=()=>L.run();T.id=h.uid,Xt(h,!0),T()},q=(h,m,j)=>{m.component=h;const A=h.vnode.props;h.vnode=m,h.next=null,Yd(h,m.props,A,j),Qd(h,m.children,j),In(),Eo(),Bn()},ee=(h,m,j,A,C,R,F,M,L=!1)=>{const T=h&&h.children,z=h?h.shapeFlag:0,H=m.children,{patchFlag:$,shapeFlag:J}=m;if($>0){if($&128){Fe(T,H,j,A,C,R,F,M,L);return}else if($&256){he(T,H,j,A,C,R,F,M,L);return}}J&8?(z&16&&N(T,C,R),H!==T&&u(j,H)):z&16?J&16?Fe(T,H,j,A,C,R,F,M,L):N(T,C,R,!0):(z&8&&u(j,""),J&16&&I(H,j,A,C,R,F,M,L))},he=(h,m,j,A,C,R,F,M,L)=>{h=h||bn,m=m||bn;const T=h.length,z=m.length,H=Math.min(T,z);let $;for($=0;$<H;$++){const J=m[$]=L?Ft(m[$]):gt(m[$]);y(h[$],J,j,null,C,R,F,M,L)}T>z?N(h,C,R,!0,!1,H):I(m,j,A,C,R,F,M,L,H)},Fe=(h,m,j,A,C,R,F,M,L)=>{let T=0;const z=m.length;let H=h.length-1,$=z-1;for(;T<=H&&T<=$;){const J=h[T],te=m[T]=L?Ft(m[T]):gt(m[T]);if(Kt(J,te))y(J,te,j,null,C,R,F,M,L);else break;T++}for(;T<=H&&T<=$;){const J=h[H],te=m[$]=L?Ft(m[$]):gt(m[$]);if(Kt(J,te))y(J,te,j,null,C,R,F,M,L);else break;H--,$--}if(T>H){if(T<=$){const J=$+1,te=J<z?m[J].el:A;for(;T<=$;)y(null,m[T]=L?Ft(m[T]):gt(m[T]),j,te,C,R,F,M,L),T++}}else if(T>$)for(;T<=H;)pe(h[T],C,R,!0),T++;else{const J=T,te=T,de=new Map;for(T=te;T<=$;T++){const Ke=m[T]=L?Ft(m[T]):gt(m[T]);Ke.key!=null&&de.set(Ke.key,T)}let le,ke=0;const it=$-te+1;let gn=!1,uo=0;const Hn=new Array(it);for(T=0;T<it;T++)Hn[T]=0;for(T=J;T<=H;T++){const Ke=h[T];if(ke>=it){pe(Ke,C,R,!0);continue}let pt;if(Ke.key!=null)pt=de.get(Ke.key);else for(le=te;le<=$;le++)if(Hn[le-te]===0&&Kt(Ke,m[le])){pt=le;break}pt===void 0?pe(Ke,C,R,!0):(Hn[pt-te]=T+1,pt>=uo?uo=pt:gn=!0,y(Ke,m[pt],j,null,C,R,F,M,L),ke++)}const fo=gn?rf(Hn):bn;for(le=fo.length-1,T=it-1;T>=0;T--){const Ke=te+T,pt=m[Ke],ho=Ke+1<z?m[Ke+1].el:A;Hn[T]===0?y(null,pt,j,ho,C,R,F,M,L):gn&&(le<0||T!==fo[le]?xe(pt,j,ho,2):le--)}}},xe=(h,m,j,A,C=null)=>{const{el:R,type:F,transition:M,children:L,shapeFlag:T}=h;if(T&6){xe(h.component.subTree,m,j,A);return}if(T&128){h.suspense.move(m,j,A);return}if(T&64){F.move(h,m,j,re);return}if(F===Ae){r(R,m,j);for(let H=0;H<L.length;H++)xe(L[H],m,j,A);r(h.anchor,m,j);return}if(F===Pr){b(h,m,j);return}if(A!==2&&T&1&&M)if(A===0)M.beforeEnter(R),r(R,m,j),Te(()=>M.enter(R),C);else{const{leave:H,delayLeave:$,afterLeave:J}=M,te=()=>r(R,m,j),de=()=>{H(R,()=>{te(),J&&J()})};$?$(R,te,de):de()}else r(R,m,j)},pe=(h,m,j,A=!1,C=!1)=>{const{type:R,props:F,ref:M,children:L,dynamicChildren:T,shapeFlag:z,patchFlag:H,dirs:$}=h;if(M!=null&&ii(M,null,j,h,!0),z&256){m.ctx.deactivate(h);return}const J=z&1&&$,te=!Yn(h);let de;if(te&&(de=F&&F.onVnodeBeforeUnmount)&&Xe(de,m,h),z&6)k(h.component,j,A);else{if(z&128){h.suspense.unmount(j,A);return}J&&Jt(h,null,m,"beforeUnmount"),z&64?h.type.remove(h,m,j,C,re,A):T&&(R!==Ae||H>0&&H&64)?N(T,m,j,!1,!0):(R===Ae&&H&384||!C&&z&16)&&N(L,m,j),A&&Le(h)}(te&&(de=F&&F.onVnodeUnmounted)||J)&&Te(()=>{de&&Xe(de,m,h),J&&Jt(h,null,m,"unmounted")},j)},Le=h=>{const{type:m,el:j,anchor:A,transition:C}=h;if(m===Ae){je(j,A);return}if(m===Pr){E(h);return}const R=()=>{s(j),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(h.shapeFlag&1&&C&&!C.persisted){const{leave:F,delayLeave:M}=C,L=()=>F(j,R);M?M(h.el,R,L):L()}else R()},je=(h,m)=>{let j;for(;h!==m;)j=f(h),s(h),h=j;s(m)},k=(h,m,j)=>{const{bum:A,scope:C,update:R,subTree:F,um:M}=h;A&&_n(A),C.stop(),R&&(R.active=!1,pe(F,h,m,j)),M&&Te(M,m),Te(()=>{h.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},N=(h,m,j,A=!1,C=!1,R=0)=>{for(let F=R;F<h.length;F++)pe(h[F],m,j,A,C)},B=h=>h.shapeFlag&6?B(h.component.subTree):h.shapeFlag&128?h.suspense.next():f(h.anchor||h.el),V=(h,m,j)=>{h==null?m._vnode&&pe(m._vnode,null,null,!0):y(m._vnode||null,h,m,null,null,null,j),Eo(),ul(),m._vnode=h},re={p:y,um:pe,m:xe,r:Le,mt:we,mc:I,pc:ee,pbc:K,n:B,o:e};let ye,Q;return t&&([ye,Q]=t(re)),{render:V,hydrate:ye,createApp:ef(V,ye)}}function Xt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ml(e,t,n=!1){const r=e.children,s=t.children;if(G(r)&&G(s))for(let i=0;i<r.length;i++){const o=r[i];let a=s[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[i]=Ft(s[i]),a.el=o.el),n||Ml(o,a)),a.type===_s&&(a.el=o.el)}}function rf(e){const t=e.slice(),n=[0];let r,s,i,o,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<c?i=a+1:o=a;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const sf=e=>e.__isTeleport,Ae=Symbol(void 0),_s=Symbol(void 0),ft=Symbol(void 0),Pr=Symbol(void 0),Xn=[];let ut=null;function U(e=!1){Xn.push(ut=e?null:[])}function of(){Xn.pop(),ut=Xn[Xn.length-1]||null}let lr=1;function Po(e){lr+=e}function Rl(e){return e.dynamicChildren=lr>0?ut||bn:null,of(),lr>0&&ut&&ut.push(e),e}function Y(e,t,n,r,s,i){return Rl(v(e,t,n,r,s,i,!0))}function cn(e,t,n,r,s){return Rl(ve(e,t,n,r,s,!0))}function Jr(e){return e?e.__v_isVNode===!0:!1}function Kt(e,t){return e.type===t.type&&e.key===t.key}const Es="__vInternal",Ll=({key:e})=>e??null,Ir=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ee(e)||De(e)||Z(e)?{i:qe,r:e,k:t,f:!!n}:e:null;function v(e,t=null,n=null,r=0,s=null,i=e===Ae?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ll(t),ref:t&&Ir(t),scopeId:vs,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:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:qe};return a?(Ui(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Ee(n)?8:16),lr>0&&!o&&ut&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ut.push(l),l}const ve=af;function af(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===_l)&&(e=ft),Jr(e)){const a=Mt(e,t,!0);return n&&Ui(a,n),lr>0&&!i&&ut&&(a.shapeFlag&6?ut[ut.indexOf(e)]=a:ut.push(a)),a.patchFlag|=-2,a}if(vf(e)&&(e=e.__vccOpts),t){t=lf(t);let{class:a,style:l}=t;a&&!Ee(a)&&(t.class=Ie(a)),ge(l)&&(tl(l)&&!G(l)&&(l=Ne({},l)),t.style=Oi(l))}const o=Ee(e)?1:hl(e)?128:sf(e)?64:ge(e)?4:Z(e)?2:0;return v(e,t,n,r,s,o,i,!0)}function lf(e){return e?tl(e)||Es in e?Ne({},e):e:null}function Mt(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,a=t?uf(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ll(a),ref:t&&t.ref?n&&s?G(s)?s.concat(Ir(t)):[s,Ir(t)]:Ir(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ae?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mt(e.ssContent),ssFallback:e.ssFallback&&Mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function cf(e=" ",t=0){return ve(_s,null,e,t)}function Pl(e,t){const n=ve(Pr,null,e);return n.staticCount=t,n}function be(e="",t=!1){return t?(U(),cn(ft,null,e)):ve(ft,null,e)}function gt(e){return e==null||typeof e=="boolean"?ve(ft):G(e)?ve(Ae,null,e.slice()):typeof e=="object"?Ft(e):ve(_s,null,String(e))}function Ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mt(e)}function Ui(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ui(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Es in t)?t._ctx=qe:s===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Z(t)?(t={default:t,_ctx:qe},n=32):(t=String(t),r&64?(n=16,t=[cf(t)]):n=8);e.children=t,e.shapeFlag|=n}function uf(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Ie([t.class,r.class]));else if(s==="style")t.style=Oi([t.style,r.style]);else if(ds(s)){const i=t[s],o=r[s];o&&i!==o&&!(G(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function Xe(e,t,n,r=null){tt(e,t,7,[n,r])}const df=Sl();let ff=0;function hf(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||df,i={uid:ff++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Al(r,s),emitsOptions:fl(r,s),emit:null,emitted:null,propsDefaults:me,inheritAttrs:r.inheritAttrs,ctx:me,data:me,props:me,attrs:me,slots:me,refs:me,setupState:me,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=vd.bind(null,i),e.ce&&e.ce(i),i}let _e=null;const Il=()=>_e||qe,An=e=>{_e=e,e.scope.on()},dn=()=>{_e&&_e.scope.off(),_e=null};function Bl(e){return e.vnode.shapeFlag&4}let cr=!1;function pf(e,t=!1){cr=t;const{props:n,children:r}=e.vnode,s=Bl(e);Gd(e,n,s,t),Xd(e,r);const i=s?gf(e,t):void 0;return cr=!1,i}function gf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nl(new Proxy(e.ctx,$d));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?mf(e):null;An(e),In();const i=qt(r,e,0,[e.props,s]);if(Bn(),dn(),Va(i)){if(i.then(dn,dn),t)return i.then(o=>{Io(e,o,t)}).catch(o=>{ys(o,e,0)});e.asyncDep=i}else Io(e,i,t)}else Dl(e,t)}function Io(e,t,n){Z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=ol(t)),Dl(e,n)}let Bo;function Dl(e,t,n){const r=e.type;if(!e.render){if(!t&&Bo&&!r.render){const s=r.template||$i(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ne(Ne({isCustomElement:i,delimiters:a},o),l);r.render=Bo(s,c)}}e.render=r.render||dt}An(e),In(),zd(e),Bn(),dn()}function yf(e){return new Proxy(e.attrs,{get(t,n){return Ue(e,"get","$attrs"),t[n]}})}function mf(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=yf(e))},slots:e.slots,emit:e.emit,expose:t}}function js(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ol(nl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jn)return Jn[n](e)},has(t,n){return n in t||n in Jn}}))}function oi(e,t=!0){return Z(e)?e.displayName||e.name:e.name||t&&e.__name}function vf(e){return Z(e)&&"__vccOpts"in e}const et=(e,t)=>fd(e,t,cr);function Nl(e,t,n){const r=arguments.length;return r===2?ge(t)&&!G(t)?Jr(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Jr(n)&&(n=[n]),ve(e,t,n))}const xf=Symbol(""),bf=()=>Ct(xf),wf="3.2.47",_f="http://www.w3.org/2000/svg",tn=typeof document<"u"?document:null,Do=tn&&tn.createElement("template"),Ef={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?tn.createElementNS(_f,e):tn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>tn.createTextNode(e),createComment:e=>tn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>tn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Do.innerHTML=r?`<svg>${e}</svg>`:e;const a=Do.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function jf(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function kf(e,t,n){const r=e.style,s=Ee(n);if(n&&!s){if(t&&!Ee(t))for(const i in t)n[i]==null&&ai(r,i,"");for(const i in n)ai(r,i,n[i])}else{const i=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const No=/\s*!important$/;function ai(e,t,n){if(G(n))n.forEach(r=>ai(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Af(e,t);No.test(n)?e.setProperty(pn(r),n.replace(No,""),"important"):e[r]=n}}const Fo=["Webkit","Moz","ms"],Fs={};function Af(e,t){const n=Fs[t];if(n)return n;let r=_t(t);if(r!=="filter"&&r in e)return Fs[t]=r;r=ps(r);for(let s=0;s<Fo.length;s++){const i=Fo[s]+r;if(i in e)return Fs[t]=i}return t}const Ho="http://www.w3.org/1999/xlink";function Of(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ho,t.slice(6,t.length)):e.setAttributeNS(Ho,t,n);else{const i=wu(t);n==null||i&&!Na(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Cf(e,t,n,r,s,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,s,i),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n??"";(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Na(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function nn(e,t,n,r){e.addEventListener(t,n,r)}function Tf(e,t,n,r){e.removeEventListener(t,n,r)}function Sf(e,t,n,r,s=null){const i=e._vei||(e._vei={}),o=i[t];if(r&&o)o.value=r;else{const[a,l]=Mf(t);if(r){const c=i[t]=Pf(r,s);nn(e,a,c,l)}else o&&(Tf(e,a,o,l),i[t]=void 0)}}const Vo=/(?:Once|Passive|Capture)$/;function Mf(e){let t;if(Vo.test(e)){t={};let r;for(;r=e.match(Vo);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pn(e.slice(2)),t]}let Hs=0;const Rf=Promise.resolve(),Lf=()=>Hs||(Rf.then(()=>Hs=0),Hs=Date.now());function Pf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;tt(If(r,n.value),t,5,[r])};return n.value=e,n.attached=Lf(),n}function If(e,t){if(G(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const $o=/^on[a-z]/,Bf=(e,t,n,r,s=!1,i,o,a,l)=>{t==="class"?jf(e,r,s):t==="style"?kf(e,n,r):ds(t)?Ci(t)||Sf(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Df(e,t,r,s))?Cf(e,t,r,i,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Of(e,t,r,s))};function Df(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&$o.test(t)&&Z(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||$o.test(t)&&Ee(n)?!1:t in e}const Nf={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};Td.props;const Xr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?n=>_n(t,n):t};function Ff(e){e.target.composing=!0}function zo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ve={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Xr(s);const i=r||s.props&&s.props.type==="number";nn(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=Gs(a)),e._assign(a)}),n&&nn(e,"change",()=>{e.value=e.value.trim()}),t||(nn(e,"compositionstart",Ff),nn(e,"compositionend",zo),nn(e,"change",zo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},i){if(e._assign=Xr(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Gs(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},Hf={deep:!0,created(e,t,n){e._assign=Xr(n),nn(e,"change",()=>{const r=e._modelValue,s=Vf(e),i=e.checked,o=e._assign;if(G(r)){const a=Fa(r,s),l=a!==-1;if(i&&!l)o(r.concat(s));else if(!i&&l){const c=[...r];c.splice(a,1),o(c)}}else if(fs(r)){const a=new Set(r);i?a.add(s):a.delete(s),o(a)}else o(Fl(e,i))})},mounted:Uo,beforeUpdate(e,t,n){e._assign=Xr(n),Uo(e,t,n)}};function Uo(e,{value:t,oldValue:n},r){e._modelValue=t,G(t)?e.checked=Fa(t,r.props.value)>-1:fs(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=us(t,Fl(e,!0)))}function Vf(e){return"_value"in e?e._value:e.value}function Fl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const $f=["ctrl","shift","alt","meta"],zf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>$f.some(n=>e[`${n}Key`]&&!t.includes(n))},Se=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const i=zf[t[s]];if(i&&i(n,t))return}return e(n,...r)},Uf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},li=(e,t)=>n=>{if(!("key"in n))return;const r=pn(n.key);if(t.some(s=>s===r||Uf[s]===r))return e(n)},Kf=Ne({patchProp:Bf},Ef);let Ko;function Wf(){return Ko||(Ko=tf(Kf))}const qf=(...e)=>{const t=Wf().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Gf(r);if(!s)return;const i=t._component;!Z(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Gf(e){return Ee(e)?document.querySelector(e):e}/*!
|
|
* vue-router v4.1.6
|
|
* (c) 2022 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const mn=typeof window<"u";function Yf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const fe=Object.assign;function Vs(e,t){const n={};for(const r in t){const s=t[r];n[r]=ht(s)?s.map(e):e(s)}return n}const Qn=()=>{},ht=Array.isArray,Jf=/\/$/,Xf=e=>e.replace(Jf,"");function $s(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=th(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:o}}function Qf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Zf(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&On(t.matched[r],n.matched[s])&&Hl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function On(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Hl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!eh(e[n],t[n]))return!1;return!0}function eh(e,t){return ht(e)?qo(e,t):ht(t)?qo(t,e):e===t}function qo(e,t){return ht(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function th(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,i,o;for(i=0;i<r.length;i++)if(o=r[i],o!==".")if(o==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var ur;(function(e){e.pop="pop",e.push="push"})(ur||(ur={}));var Zn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Zn||(Zn={}));function nh(e){if(!e)if(mn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Xf(e)}const rh=/^[^#]+#/;function sh(e,t){return e.replace(rh,"#")+t}function ih(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ks=()=>({left:window.pageXOffset,top:window.pageYOffset});function oh(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=ih(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Go(e,t){return(history.state?history.state.position-t:-1)+e}const ci=new Map;function ah(e,t){ci.set(e,t)}function lh(e){const t=ci.get(e);return ci.delete(e),t}let ch=()=>location.protocol+"//"+location.host;function Vl(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Wo(l,"")}return Wo(n,e)+r+s}function uh(e,t,n,r){let s=[],i=[],o=null;const a=({state:f})=>{const p=Vl(e,location),g=n.value,y=t.value;let _=0;if(f){if(n.value=p,t.value=f,o&&o===g){o=null;return}_=y?f.position-y.position:0}else r(p);s.forEach(w=>{w(n.value,g,{delta:_,type:ur.pop,direction:_?_>0?Zn.forward:Zn.back:Zn.unknown})})};function l(){o=n.value}function c(f){s.push(f);const p=()=>{const g=s.indexOf(f);g>-1&&s.splice(g,1)};return i.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(fe({},f.state,{scroll:ks()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:d}}function Yo(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ks():null}}function dh(e){const{history:t,location:n}=window,r={value:Vl(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:ch()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),s.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function o(l,c){const u=fe({},t.state,Yo(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});i(l,u,!0),r.value=l}function a(l,c){const u=fe({},s.value,t.state,{forward:l,scroll:ks()});i(u.current,u,!0);const d=fe({},Yo(r.value,l,null),{position:u.position+1},c);i(l,d,!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function fh(e){e=nh(e);const t=dh(e),n=uh(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=fe({location:"",base:e,go:r,createHref:sh.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function hh(e){return typeof e=="string"||e&&typeof e=="object"}function $l(e){return typeof e=="string"||typeof e=="symbol"}const Dt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},zl=Symbol("");var Jo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Jo||(Jo={}));function Cn(e,t){return fe(new Error,{type:e,[zl]:!0},t)}function At(e,t){return e instanceof Error&&zl in e&&(t==null||!!(e.type&t))}const Xo="[^/]+?",ph={sensitive:!1,strict:!1,start:!0,end:!0},gh=/[.+*?^${}()[\]/\\]/g;function yh(e,t){const n=fe({},ph,t),r=[];let s=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let d=0;d<c.length;d++){const f=c[d];let p=40+(n.sensitive?.25:0);if(f.type===0)d||(s+="/"),s+=f.value.replace(gh,"\\$&"),p+=40;else if(f.type===1){const{value:g,repeatable:y,optional:_,regexp:w}=f;i.push({name:g,repeatable:y,optional:_});const x=w||Xo;if(x!==Xo){p+=10;try{new RegExp(`(${x})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${g}" (${x}): `+E.message)}}let b=y?`((?:${x})(?:/(?:${x}))*)`:`(${x})`;d||(b=_&&c.length<2?`(?:/${b})`:"/"+b),_&&(b+="?"),s+=b,p+=20,_&&(p+=-8),y&&(p+=-20),x===".*"&&(p+=-50)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const o=new RegExp(s,n.sensitive?"":"i");function a(c){const u=c.match(o),d={};if(!u)return null;for(let f=1;f<u.length;f++){const p=u[f]||"",g=i[f-1];d[g.name]=p&&g.repeatable?p.split("/"):p}return d}function l(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const p of f)if(p.type===0)u+=p.value;else if(p.type===1){const{value:g,repeatable:y,optional:_}=p,w=g in c?c[g]:"";if(ht(w)&&!y)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const x=ht(w)?w.join("/"):w;if(!x)if(_)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=x}}return u||"/"}return{re:o,score:r,keys:i,parse:a,stringify:l}}function mh(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function vh(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const i=mh(r[n],s[n]);if(i)return i;n++}if(Math.abs(s.length-r.length)===1){if(Qo(r))return 1;if(Qo(s))return-1}return s.length-r.length}function Qo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const xh={type:0,value:""},bh=/[a-zA-Z0-9_]/;function wh(e){if(!e)return[[]];if(e==="/")return[[xh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),o()):l===":"?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:bh.test(l)?f():(d(),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:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),o(),s}function _h(e,t,n){const r=yh(wh(e.path),n),s=fe(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Eh(e,t){const n=[],r=new Map;t=ta({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function i(u,d,f){const p=!f,g=jh(u);g.aliasOf=f&&f.record;const y=ta(t,u),_=[g];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const E of b)_.push(fe({},g,{components:f?f.record.components:g.components,path:E,aliasOf:f?f.record:g}))}let w,x;for(const b of _){const{path:E}=b;if(d&&E[0]!=="/"){const S=d.record.path,P=S[S.length-1]==="/"?"":"/";b.path=d.record.path+(E&&P+E)}if(w=_h(b,d,y),f?f.alias.push(w):(x=x||w,x!==w&&x.alias.push(w),p&&u.name&&!ea(w)&&o(u.name)),g.children){const S=g.children;for(let P=0;P<S.length;P++)i(S[P],w,f&&f.children[P])}f=f||w,(w.record.components&&Object.keys(w.record.components).length||w.record.name||w.record.redirect)&&l(w)}return x?()=>{o(x)}:Qn}function o(u){if($l(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let d=0;for(;d<n.length&&vh(u,n[d])>=0&&(u.record.path!==n[d].record.path||!Ul(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!ea(u)&&r.set(u.record.name,u)}function c(u,d){let f,p={},g,y;if("name"in u&&u.name){if(f=r.get(u.name),!f)throw Cn(1,{location:u});y=f.record.name,p=fe(Zo(d.params,f.keys.filter(x=>!x.optional).map(x=>x.name)),u.params&&Zo(u.params,f.keys.map(x=>x.name))),g=f.stringify(p)}else if("path"in u)g=u.path,f=n.find(x=>x.re.test(g)),f&&(p=f.parse(g),y=f.record.name);else{if(f=d.name?r.get(d.name):n.find(x=>x.re.test(d.path)),!f)throw Cn(1,{location:u,currentLocation:d});y=f.record.name,p=fe({},d.params,u.params),g=f.stringify(p)}const _=[];let w=f;for(;w;)_.unshift(w.record),w=w.parent;return{name:y,path:g,params:p,matched:_,meta:Ah(_)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function Zo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function jh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:kh(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function kh(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function ea(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ah(e){return e.reduce((t,n)=>fe(t,n.meta),{})}function ta(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ul(e,t){return t.children.some(n=>n===e||Ul(e,n))}const Kl=/#/g,Oh=/&/g,Ch=/\//g,Th=/=/g,Sh=/\?/g,Wl=/\+/g,Mh=/%5B/g,Rh=/%5D/g,ql=/%5E/g,Lh=/%60/g,Gl=/%7B/g,Ph=/%7C/g,Yl=/%7D/g,Ih=/%20/g;function Ki(e){return encodeURI(""+e).replace(Ph,"|").replace(Mh,"[").replace(Rh,"]")}function Bh(e){return Ki(e).replace(Gl,"{").replace(Yl,"}").replace(ql,"^")}function ui(e){return Ki(e).replace(Wl,"%2B").replace(Ih,"+").replace(Kl,"%23").replace(Oh,"%26").replace(Lh,"`").replace(Gl,"{").replace(Yl,"}").replace(ql,"^")}function Dh(e){return ui(e).replace(Th,"%3D")}function Nh(e){return Ki(e).replace(Kl,"%23").replace(Sh,"%3F")}function Fh(e){return e==null?"":Nh(e).replace(Ch,"%2F")}function Qr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Hh(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const i=r[s].replace(Wl," "),o=i.indexOf("="),a=Qr(o<0?i:i.slice(0,o)),l=o<0?null:Qr(i.slice(o+1));if(a in t){let c=t[a];ht(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function na(e){let t="";for(let n in e){const r=e[n];if(n=Dh(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ht(r)?r.map(i=>i&&ui(i)):[r&&ui(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Vh(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ht(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const $h=Symbol(""),ra=Symbol(""),Wi=Symbol(""),Jl=Symbol(""),di=Symbol("");function Vn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Ht(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=d=>{d===!1?a(Cn(4,{from:n,to:t})):d instanceof Error?a(d):hh(d)?a(Cn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),o())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function zs(e,t,n,r){const s=[];for(const i of e)for(const o in i.components){let a=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(zh(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Ht(c,n,r,i,o))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const u=Yf(c)?c.default:c;i.components[o]=u;const f=(u.__vccOpts||u)[t];return f&&Ht(f,n,r,i,o)()}))}}return s}function zh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function sa(e){const t=Ct(Wi),n=Ct(Jl),r=et(()=>t.resolve(We(e.to))),s=et(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(On.bind(null,u));if(f>-1)return f;const p=ia(l[c-2]);return c>1&&ia(u)===p&&d[d.length-1].path!==p?d.findIndex(On.bind(null,l[c-2])):f}),i=et(()=>s.value>-1&&Wh(n.params,r.value.params)),o=et(()=>s.value>-1&&s.value===n.matched.length-1&&Hl(n.params,r.value.params));function a(l={}){return Kh(l)?t[We(e.replace)?"replace":"push"](We(e.to)).catch(Qn):Promise.resolve()}return{route:r,href:et(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const Uh=vl({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:sa,setup(e,{slots:t}){const n=Dn(sa(e)),{options:r}=Ct(Wi),s=et(()=>({[oa(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[oa(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Nl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),rn=Uh;function Kh(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Wh(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!ht(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function ia(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const oa=(e,t,n)=>e??t??n,qh=vl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ct(di),s=et(()=>e.route||r.value),i=Ct(ra,0),o=et(()=>{let c=We(i);const{matched:u}=s.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=et(()=>s.value.matched[o.value]);Lr(ra,et(()=>o.value+1)),Lr($h,a),Lr(di,s);const l=ad();return Gn(()=>[l.value,a.value,e.name],([c,u,d],[f,p,g])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!On(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,d=a.value,f=d&&d.components[u];if(!f)return aa(n.default,{Component:f,route:c});const p=d.props[u],g=p?p===!0?c.params:typeof p=="function"?p(c):p:null,_=Nl(f,fe({},g,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return aa(n.default,{Component:_,route:c})||_}}});function aa(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Xl=qh;function Gh(e){const t=Eh(e.routes,e),n=e.parseQuery||Hh,r=e.stringifyQuery||na,s=e.history,i=Vn(),o=Vn(),a=Vn(),l=ld(Dt);let c=Dt;mn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Vs.bind(null,k=>""+k),d=Vs.bind(null,Fh),f=Vs.bind(null,Qr);function p(k,N){let B,V;return $l(k)?(B=t.getRecordMatcher(k),V=N):V=k,t.addRoute(V,B)}function g(k){const N=t.getRecordMatcher(k);N&&t.removeRoute(N)}function y(){return t.getRoutes().map(k=>k.record)}function _(k){return!!t.getRecordMatcher(k)}function w(k,N){if(N=fe({},N||l.value),typeof k=="string"){const h=$s(n,k,N.path),m=t.resolve({path:h.path},N),j=s.createHref(h.fullPath);return fe(h,m,{params:f(m.params),hash:Qr(h.hash),redirectedFrom:void 0,href:j})}let B;if("path"in k)B=fe({},k,{path:$s(n,k.path,N.path).path});else{const h=fe({},k.params);for(const m in h)h[m]==null&&delete h[m];B=fe({},k,{params:d(k.params)}),N.params=d(N.params)}const V=t.resolve(B,N),re=k.hash||"";V.params=u(f(V.params));const ye=Qf(r,fe({},k,{hash:Bh(re),path:V.path})),Q=s.createHref(ye);return fe({fullPath:ye,hash:re,query:r===na?Vh(k.query):k.query||{}},V,{redirectedFrom:void 0,href:Q})}function x(k){return typeof k=="string"?$s(n,k,l.value.path):fe({},k)}function b(k,N){if(c!==k)return Cn(8,{from:N,to:k})}function E(k){return D(k)}function S(k){return E(fe(x(k),{replace:!0}))}function P(k){const N=k.matched[k.matched.length-1];if(N&&N.redirect){const{redirect:B}=N;let V=typeof B=="function"?B(k):B;return typeof V=="string"&&(V=V.includes("?")||V.includes("#")?V=x(V):{path:V},V.params={}),fe({query:k.query,hash:k.hash,params:"path"in V?{}:k.params},V)}}function D(k,N){const B=c=w(k),V=l.value,re=k.state,ye=k.force,Q=k.replace===!0,h=P(B);if(h)return D(fe(x(h),{state:typeof h=="object"?fe({},re,h.state):re,force:ye,replace:Q}),N||B);const m=B;m.redirectedFrom=N;let j;return!ye&&Zf(r,V,B)&&(j=Cn(16,{to:m,from:V}),Fe(V,V,!0,!1)),(j?Promise.resolve(j):W(m,V)).catch(A=>At(A)?At(A,2)?A:he(A):q(A,m,V)).then(A=>{if(A){if(At(A,2))return D(fe({replace:Q},x(A.to),{state:typeof A.to=="object"?fe({},re,A.to.state):re,force:ye}),N||m)}else A=X(m,V,!0,Q,re);return K(m,V,A),A})}function I(k,N){const B=b(k,N);return B?Promise.reject(B):Promise.resolve()}function W(k,N){let B;const[V,re,ye]=Yh(k,N);B=zs(V.reverse(),"beforeRouteLeave",k,N);for(const h of V)h.leaveGuards.forEach(m=>{B.push(Ht(m,k,N))});const Q=I.bind(null,k,N);return B.push(Q),yn(B).then(()=>{B=[];for(const h of i.list())B.push(Ht(h,k,N));return B.push(Q),yn(B)}).then(()=>{B=zs(re,"beforeRouteUpdate",k,N);for(const h of re)h.updateGuards.forEach(m=>{B.push(Ht(m,k,N))});return B.push(Q),yn(B)}).then(()=>{B=[];for(const h of k.matched)if(h.beforeEnter&&!N.matched.includes(h))if(ht(h.beforeEnter))for(const m of h.beforeEnter)B.push(Ht(m,k,N));else B.push(Ht(h.beforeEnter,k,N));return B.push(Q),yn(B)}).then(()=>(k.matched.forEach(h=>h.enterCallbacks={}),B=zs(ye,"beforeRouteEnter",k,N),B.push(Q),yn(B))).then(()=>{B=[];for(const h of o.list())B.push(Ht(h,k,N));return B.push(Q),yn(B)}).catch(h=>At(h,8)?h:Promise.reject(h))}function K(k,N,B){for(const V of a.list())V(k,N,B)}function X(k,N,B,V,re){const ye=b(k,N);if(ye)return ye;const Q=N===Dt,h=mn?history.state:{};B&&(V||Q?s.replace(k.fullPath,fe({scroll:Q&&h&&h.scroll},re)):s.push(k.fullPath,re)),l.value=k,Fe(k,N,B,Q),he()}let ce;function ue(){ce||(ce=s.listen((k,N,B)=>{if(!je.listening)return;const V=w(k),re=P(V);if(re){D(fe(re,{replace:!0}),V).catch(Qn);return}c=V;const ye=l.value;mn&&ah(Go(ye.fullPath,B.delta),ks()),W(V,ye).catch(Q=>At(Q,12)?Q:At(Q,2)?(D(Q.to,V).then(h=>{At(h,20)&&!B.delta&&B.type===ur.pop&&s.go(-1,!1)}).catch(Qn),Promise.reject()):(B.delta&&s.go(-B.delta,!1),q(Q,V,ye))).then(Q=>{Q=Q||X(V,ye,!1),Q&&(B.delta&&!At(Q,8)?s.go(-B.delta,!1):B.type===ur.pop&&At(Q,20)&&s.go(-1,!1)),K(V,ye,Q)}).catch(Qn)}))}let we=Vn(),Re=Vn(),ne;function q(k,N,B){he(k);const V=Re.list();return V.length?V.forEach(re=>re(k,N,B)):console.error(k),Promise.reject(k)}function ee(){return ne&&l.value!==Dt?Promise.resolve():new Promise((k,N)=>{we.add([k,N])})}function he(k){return ne||(ne=!k,ue(),we.list().forEach(([N,B])=>k?B(k):N()),we.reset()),k}function Fe(k,N,B,V){const{scrollBehavior:re}=e;if(!mn||!re)return Promise.resolve();const ye=!B&&lh(Go(k.fullPath,0))||(V||!B)&&history.state&&history.state.scroll||null;return Me().then(()=>re(k,N,ye)).then(Q=>Q&&oh(Q)).catch(Q=>q(Q,k,N))}const xe=k=>s.go(k);let pe;const Le=new Set,je={currentRoute:l,listening:!0,addRoute:p,removeRoute:g,hasRoute:_,getRoutes:y,resolve:w,options:e,push:E,replace:S,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:Re.add,isReady:ee,install(k){const N=this;k.component("RouterLink",rn),k.component("RouterView",Xl),k.config.globalProperties.$router=N,Object.defineProperty(k.config.globalProperties,"$route",{enumerable:!0,get:()=>We(l)}),mn&&!pe&&l.value===Dt&&(pe=!0,E(s.location).catch(re=>{}));const B={};for(const re in Dt)B[re]=et(()=>l.value[re]);k.provide(Wi,N),k.provide(Jl,Dn(B)),k.provide(di,l);const V=k.unmount;Le.add(k),k.unmount=function(){Le.delete(k),Le.size<1&&(c=Dt,ce&&ce(),ce=null,l.value=Dt,pe=!1,ne=!1),V()}}};return je}function yn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Yh(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(c=>On(c,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>On(c,l))||s.push(l))}return[n,r,s]}const Ql="/assets/logo-9d653710.svg";var Jh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fi={},Qh={get exports(){return fi},set exports(e){fi=e}};(function(e,t){(function(r,s){e.exports=s()})(typeof self<"u"?self:Jh,function(){return function(n){var r={};function s(i){if(r[i])return r[i].exports;var o=r[i]={i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,s),o.l=!0,o.exports}return s.m=n,s.c=r,s.d=function(i,o,a){s.o(i,o)||Object.defineProperty(i,o,{configurable:!1,enumerable:!0,get:a})},s.r=function(i){Object.defineProperty(i,"__esModule",{value:!0})},s.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return s.d(o,"a",o),o},s.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},s.p="",s(s.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,r,s){var i,o;/*!
|
|
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(w,x){for(var b=x.length,E=0;E<b;++E)y(w,x[E])}var u={}.hasOwnProperty;function d(w,x){w[x]=!0}function f(w,x){for(var b in x)u.call(x,b)&&(w[b]=!!x[b])}var p=/\s+/;function g(w,x){for(var b=x.split(p),E=b.length,S=0;S<E;++S)w[b[S]]=!0}function y(w,x){if(x){var b=typeof x;b==="string"?g(w,x):Array.isArray(x)?c(w,x):b==="object"?f(w,x):b==="number"&&d(w,x)}}function _(){for(var w=arguments.length,x=Array(w),b=0;b<w;b++)x[b]=arguments[b];var E=new l;c(E,x);var S=[];for(var P in E)E[P]&&S.push(P);return S.join(" ")}return _}();typeof n<"u"&&n.exports?n.exports=a:(i=[],o=function(){return a}.apply(r,i),o!==void 0&&(n.exports=o))})()},"./node_modules/core-js/es/array/from.js":function(n,r,s){s("./node_modules/core-js/modules/es.string.iterator.js"),s("./node_modules/core-js/modules/es.array.from.js");var i=s("./node_modules/core-js/internals/path.js");n.exports=i.Array.from},"./node_modules/core-js/internals/a-function.js":function(n,r){n.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},"./node_modules/core-js/internals/an-object.js":function(n,r,s){var i=s("./node_modules/core-js/internals/is-object.js");n.exports=function(o){if(!i(o))throw TypeError(String(o)+" is not an object");return o}},"./node_modules/core-js/internals/array-from.js":function(n,r,s){var i=s("./node_modules/core-js/internals/bind-context.js"),o=s("./node_modules/core-js/internals/to-object.js"),a=s("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),l=s("./node_modules/core-js/internals/is-array-iterator-method.js"),c=s("./node_modules/core-js/internals/to-length.js"),u=s("./node_modules/core-js/internals/create-property.js"),d=s("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(p){var g=o(p),y=typeof this=="function"?this:Array,_=arguments.length,w=_>1?arguments[1]:void 0,x=w!==void 0,b=0,E=d(g),S,P,D,I;if(x&&(w=i(w,_>2?arguments[2]:void 0,2)),E!=null&&!(y==Array&&l(E)))for(I=E.call(g),P=new y;!(D=I.next()).done;b++)u(P,b,x?a(I,w,[D.value,b],!0):D.value);else for(S=c(g.length),P=new y(S);S>b;b++)u(P,b,x?w(g[b],b):g[b]);return P.length=b,P}},"./node_modules/core-js/internals/array-includes.js":function(n,r,s){var i=s("./node_modules/core-js/internals/to-indexed-object.js"),o=s("./node_modules/core-js/internals/to-length.js"),a=s("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(c,u,d){var f=i(c),p=o(f.length),g=a(d,p),y;if(l&&u!=u){for(;p>g;)if(y=f[g++],y!=y)return!0}else for(;p>g;g++)if((l||g in f)&&f[g]===u)return l||g||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,s){var i=s("./node_modules/core-js/internals/a-function.js");n.exports=function(o,a,l){if(i(o),a===void 0)return o;switch(l){case 0:return function(){return o.call(a)};case 1:return function(c){return o.call(a,c)};case 2:return function(c,u){return o.call(a,c,u)};case 3:return function(c,u,d){return o.call(a,c,u,d)}}return function(){return o.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,s){var i=s("./node_modules/core-js/internals/an-object.js");n.exports=function(o,a,l,c){try{return c?a(i(l)[0],l[1]):a(l)}catch(d){var u=o.return;throw u!==void 0&&i(u.call(o)),d}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,s){var i=s("./node_modules/core-js/internals/well-known-symbol.js"),o=i("iterator"),a=!1;try{var l=0,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[o]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,d){if(!d&&!a)return!1;var f=!1;try{var p={};p[o]=function(){return{next:function(){return{done:f=!0}}}},u(p)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var s={}.toString;n.exports=function(i){return s.call(i).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,s){var i=s("./node_modules/core-js/internals/classof-raw.js"),o=s("./node_modules/core-js/internals/well-known-symbol.js"),a=o("toStringTag"),l=i(function(){return arguments}())=="Arguments",c=function(u,d){try{return u[d]}catch{}};n.exports=function(u){var d,f,p;return u===void 0?"Undefined":u===null?"Null":typeof(f=c(d=Object(u),a))=="string"?f:l?i(d):(p=i(d))=="Object"&&typeof d.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,r,s){var i=s("./node_modules/core-js/internals/has.js"),o=s("./node_modules/core-js/internals/own-keys.js"),a=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=s("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var d=o(u),f=l.f,p=a.f,g=0;g<d.length;g++){var y=d[g];i(c,y)||f(c,y,p(u,y))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(n,r,s){var i=s("./node_modules/core-js/internals/fails.js");n.exports=!i(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},"./node_modules/core-js/internals/create-iterator-constructor.js":function(n,r,s){var i=s("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,o=s("./node_modules/core-js/internals/object-create.js"),a=s("./node_modules/core-js/internals/create-property-descriptor.js"),l=s("./node_modules/core-js/internals/set-to-string-tag.js"),c=s("./node_modules/core-js/internals/iterators.js"),u=function(){return this};n.exports=function(d,f,p){var g=f+" Iterator";return d.prototype=o(i,{next:a(1,p)}),l(d,g,!1,!0),c[g]=u,d}},"./node_modules/core-js/internals/create-property-descriptor.js":function(n,r){n.exports=function(s,i){return{enumerable:!(s&1),configurable:!(s&2),writable:!(s&4),value:i}}},"./node_modules/core-js/internals/create-property.js":function(n,r,s){var i=s("./node_modules/core-js/internals/to-primitive.js"),o=s("./node_modules/core-js/internals/object-define-property.js"),a=s("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=function(l,c,u){var d=i(c);d in l?o.f(l,d,a(0,u)):l[d]=u}},"./node_modules/core-js/internals/define-iterator.js":function(n,r,s){var i=s("./node_modules/core-js/internals/export.js"),o=s("./node_modules/core-js/internals/create-iterator-constructor.js"),a=s("./node_modules/core-js/internals/object-get-prototype-of.js"),l=s("./node_modules/core-js/internals/object-set-prototype-of.js"),c=s("./node_modules/core-js/internals/set-to-string-tag.js"),u=s("./node_modules/core-js/internals/hide.js"),d=s("./node_modules/core-js/internals/redefine.js"),f=s("./node_modules/core-js/internals/well-known-symbol.js"),p=s("./node_modules/core-js/internals/is-pure.js"),g=s("./node_modules/core-js/internals/iterators.js"),y=s("./node_modules/core-js/internals/iterators-core.js"),_=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,x=f("iterator"),b="keys",E="values",S="entries",P=function(){return this};n.exports=function(D,I,W,K,X,ce,ue){o(W,I,K);var we=function(je){if(je===X&&he)return he;if(!w&&je in q)return q[je];switch(je){case b:return function(){return new W(this,je)};case E:return function(){return new W(this,je)};case S:return function(){return new W(this,je)}}return function(){return new W(this)}},Re=I+" Iterator",ne=!1,q=D.prototype,ee=q[x]||q["@@iterator"]||X&&q[X],he=!w&&ee||we(X),Fe=I=="Array"&&q.entries||ee,xe,pe,Le;if(Fe&&(xe=a(Fe.call(new D)),_!==Object.prototype&&xe.next&&(!p&&a(xe)!==_&&(l?l(xe,_):typeof xe[x]!="function"&&u(xe,x,P)),c(xe,Re,!0,!0),p&&(g[Re]=P))),X==E&&ee&&ee.name!==E&&(ne=!0,he=function(){return ee.call(this)}),(!p||ue)&&q[x]!==he&&u(q,x,he),g[I]=he,X)if(pe={values:we(E),keys:ce?he:we(b),entries:we(S)},ue)for(Le in pe)(w||ne||!(Le in q))&&d(q,Le,pe[Le]);else i({target:I,proto:!0,forced:w||ne},pe);return pe}},"./node_modules/core-js/internals/descriptors.js":function(n,r,s){var i=s("./node_modules/core-js/internals/fails.js");n.exports=!i(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/document-create-element.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/is-object.js"),a=i.document,l=o(a)&&o(a.createElement);n.exports=function(c){return l?a.createElement(c):{}}},"./node_modules/core-js/internals/enum-bug-keys.js":function(n,r){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,a=s("./node_modules/core-js/internals/hide.js"),l=s("./node_modules/core-js/internals/redefine.js"),c=s("./node_modules/core-js/internals/set-global.js"),u=s("./node_modules/core-js/internals/copy-constructor-properties.js"),d=s("./node_modules/core-js/internals/is-forced.js");n.exports=function(f,p){var g=f.target,y=f.global,_=f.stat,w,x,b,E,S,P;if(y?x=i:_?x=i[g]||c(g,{}):x=(i[g]||{}).prototype,x)for(b in p){if(S=p[b],f.noTargetGet?(P=o(x,b),E=P&&P.value):E=x[b],w=d(y?b:g+(_?".":"#")+b,f.forced),!w&&E!==void 0){if(typeof S==typeof E)continue;u(S,E)}(f.sham||E&&E.sham)&&a(S,"sham",!0),l(x,b,S,f)}}},"./node_modules/core-js/internals/fails.js":function(n,r){n.exports=function(s){try{return!!s()}catch{return!0}}},"./node_modules/core-js/internals/function-to-string.js":function(n,r,s){var i=s("./node_modules/core-js/internals/shared.js");n.exports=i("native-function-to-string",Function.toString)},"./node_modules/core-js/internals/get-iterator-method.js":function(n,r,s){var i=s("./node_modules/core-js/internals/classof.js"),o=s("./node_modules/core-js/internals/iterators.js"),a=s("./node_modules/core-js/internals/well-known-symbol.js"),l=a("iterator");n.exports=function(c){if(c!=null)return c[l]||c["@@iterator"]||o[i(c)]}},"./node_modules/core-js/internals/global.js":function(n,r,s){(function(i){var o="object",a=function(l){return l&&l.Math==Math&&l};n.exports=a(typeof globalThis==o&&globalThis)||a(typeof window==o&&window)||a(typeof self==o&&self)||a(typeof i==o&&i)||Function("return this")()}).call(this,s("./node_modules/webpack/buildin/global.js"))},"./node_modules/core-js/internals/has.js":function(n,r){var s={}.hasOwnProperty;n.exports=function(i,o){return s.call(i,o)}},"./node_modules/core-js/internals/hidden-keys.js":function(n,r){n.exports={}},"./node_modules/core-js/internals/hide.js":function(n,r,s){var i=s("./node_modules/core-js/internals/descriptors.js"),o=s("./node_modules/core-js/internals/object-define-property.js"),a=s("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=i?function(l,c,u){return o.f(l,c,a(1,u))}:function(l,c,u){return l[c]=u,l}},"./node_modules/core-js/internals/html.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=i.document;n.exports=o&&o.documentElement},"./node_modules/core-js/internals/ie8-dom-define.js":function(n,r,s){var i=s("./node_modules/core-js/internals/descriptors.js"),o=s("./node_modules/core-js/internals/fails.js"),a=s("./node_modules/core-js/internals/document-create-element.js");n.exports=!i&&!o(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(n,r,s){var i=s("./node_modules/core-js/internals/fails.js"),o=s("./node_modules/core-js/internals/classof-raw.js"),a="".split;n.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(l){return o(l)=="String"?a.call(l,""):Object(l)}:Object},"./node_modules/core-js/internals/internal-state.js":function(n,r,s){var i=s("./node_modules/core-js/internals/native-weak-map.js"),o=s("./node_modules/core-js/internals/global.js"),a=s("./node_modules/core-js/internals/is-object.js"),l=s("./node_modules/core-js/internals/hide.js"),c=s("./node_modules/core-js/internals/has.js"),u=s("./node_modules/core-js/internals/shared-key.js"),d=s("./node_modules/core-js/internals/hidden-keys.js"),f=o.WeakMap,p,g,y,_=function(D){return y(D)?g(D):p(D,{})},w=function(D){return function(I){var W;if(!a(I)||(W=g(I)).type!==D)throw TypeError("Incompatible receiver, "+D+" required");return W}};if(i){var x=new f,b=x.get,E=x.has,S=x.set;p=function(D,I){return S.call(x,D,I),I},g=function(D){return b.call(x,D)||{}},y=function(D){return E.call(x,D)}}else{var P=u("state");d[P]=!0,p=function(D,I){return l(D,P,I),I},g=function(D){return c(D,P)?D[P]:{}},y=function(D){return c(D,P)}}n.exports={set:p,get:g,has:y,enforce:_,getterFor:w}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(n,r,s){var i=s("./node_modules/core-js/internals/well-known-symbol.js"),o=s("./node_modules/core-js/internals/iterators.js"),a=i("iterator"),l=Array.prototype;n.exports=function(c){return c!==void 0&&(o.Array===c||l[a]===c)}},"./node_modules/core-js/internals/is-forced.js":function(n,r,s){var i=s("./node_modules/core-js/internals/fails.js"),o=/#|\.prototype\./,a=function(f,p){var g=c[l(f)];return g==d?!0:g==u?!1:typeof p=="function"?i(p):!!p},l=a.normalize=function(f){return String(f).replace(o,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",d=a.POLYFILL="P";n.exports=a},"./node_modules/core-js/internals/is-object.js":function(n,r){n.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},"./node_modules/core-js/internals/is-pure.js":function(n,r){n.exports=!1},"./node_modules/core-js/internals/iterators-core.js":function(n,r,s){var i=s("./node_modules/core-js/internals/object-get-prototype-of.js"),o=s("./node_modules/core-js/internals/hide.js"),a=s("./node_modules/core-js/internals/has.js"),l=s("./node_modules/core-js/internals/well-known-symbol.js"),c=s("./node_modules/core-js/internals/is-pure.js"),u=l("iterator"),d=!1,f=function(){return this},p,g,y;[].keys&&(y=[].keys(),"next"in y?(g=i(i(y)),g!==Object.prototype&&(p=g)):d=!0),p==null&&(p={}),!c&&!a(p,u)&&o(p,u,f),n.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:d}},"./node_modules/core-js/internals/iterators.js":function(n,r){n.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(n,r,s){var i=s("./node_modules/core-js/internals/fails.js");n.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},"./node_modules/core-js/internals/native-weak-map.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/function-to-string.js"),a=i.WeakMap;n.exports=typeof a=="function"&&/native code/.test(o.call(a))},"./node_modules/core-js/internals/object-create.js":function(n,r,s){var i=s("./node_modules/core-js/internals/an-object.js"),o=s("./node_modules/core-js/internals/object-define-properties.js"),a=s("./node_modules/core-js/internals/enum-bug-keys.js"),l=s("./node_modules/core-js/internals/hidden-keys.js"),c=s("./node_modules/core-js/internals/html.js"),u=s("./node_modules/core-js/internals/document-create-element.js"),d=s("./node_modules/core-js/internals/shared-key.js"),f=d("IE_PROTO"),p="prototype",g=function(){},y=function(){var _=u("iframe"),w=a.length,x="<",b="script",E=">",S="java"+b+":",P;for(_.style.display="none",c.appendChild(_),_.src=String(S),P=_.contentWindow.document,P.open(),P.write(x+b+E+"document.F=Object"+x+"/"+b+E),P.close(),y=P.F;w--;)delete y[p][a[w]];return y()};n.exports=Object.create||function(w,x){var b;return w!==null?(g[p]=i(w),b=new g,g[p]=null,b[f]=w):b=y(),x===void 0?b:o(b,x)},l[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,r,s){var i=s("./node_modules/core-js/internals/descriptors.js"),o=s("./node_modules/core-js/internals/object-define-property.js"),a=s("./node_modules/core-js/internals/an-object.js"),l=s("./node_modules/core-js/internals/object-keys.js");n.exports=i?Object.defineProperties:function(u,d){a(u);for(var f=l(d),p=f.length,g=0,y;p>g;)o.f(u,y=f[g++],d[y]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,r,s){var i=s("./node_modules/core-js/internals/descriptors.js"),o=s("./node_modules/core-js/internals/ie8-dom-define.js"),a=s("./node_modules/core-js/internals/an-object.js"),l=s("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;r.f=i?c:function(d,f,p){if(a(d),f=l(f,!0),a(p),o)try{return c(d,f,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(d[f]=p.value),d}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,r,s){var i=s("./node_modules/core-js/internals/descriptors.js"),o=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=s("./node_modules/core-js/internals/create-property-descriptor.js"),l=s("./node_modules/core-js/internals/to-indexed-object.js"),c=s("./node_modules/core-js/internals/to-primitive.js"),u=s("./node_modules/core-js/internals/has.js"),d=s("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;r.f=i?f:function(g,y){if(g=l(g),y=c(y,!0),d)try{return f(g,y)}catch{}if(u(g,y))return a(!o.f.call(g,y),g[y])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,r,s){var i=s("./node_modules/core-js/internals/object-keys-internal.js"),o=s("./node_modules/core-js/internals/enum-bug-keys.js"),a=o.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(c){return i(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,r){r.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,r,s){var i=s("./node_modules/core-js/internals/has.js"),o=s("./node_modules/core-js/internals/to-object.js"),a=s("./node_modules/core-js/internals/shared-key.js"),l=s("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(d){return d=o(d),i(d,c)?d[c]:typeof d.constructor=="function"&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,r,s){var i=s("./node_modules/core-js/internals/has.js"),o=s("./node_modules/core-js/internals/to-indexed-object.js"),a=s("./node_modules/core-js/internals/array-includes.js"),l=s("./node_modules/core-js/internals/hidden-keys.js"),c=a(!1);n.exports=function(u,d){var f=o(u),p=0,g=[],y;for(y in f)!i(l,y)&&i(f,y)&&g.push(y);for(;d.length>p;)i(f,y=d[p++])&&(~c(g,y)||g.push(y));return g}},"./node_modules/core-js/internals/object-keys.js":function(n,r,s){var i=s("./node_modules/core-js/internals/object-keys-internal.js"),o=s("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return i(l,o)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,r,s){var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!i.call({1:2},1);r.f=a?function(c){var u=o(this,c);return!!u&&u.enumerable}:i},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,r,s){var i=s("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),o=a instanceof Array}catch{}return function(u,d){return i(u,d),o?l.call(u,d):u.__proto__=d,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/object-get-own-property-names.js"),a=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=s("./node_modules/core-js/internals/an-object.js"),c=i.Reflect;n.exports=c&&c.ownKeys||function(d){var f=o.f(l(d)),p=a.f;return p?f.concat(p(d)):f}},"./node_modules/core-js/internals/path.js":function(n,r,s){n.exports=s("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/shared.js"),a=s("./node_modules/core-js/internals/hide.js"),l=s("./node_modules/core-js/internals/has.js"),c=s("./node_modules/core-js/internals/set-global.js"),u=s("./node_modules/core-js/internals/function-to-string.js"),d=s("./node_modules/core-js/internals/internal-state.js"),f=d.get,p=d.enforce,g=String(u).split("toString");o("inspectSource",function(y){return u.call(y)}),(n.exports=function(y,_,w,x){var b=x?!!x.unsafe:!1,E=x?!!x.enumerable:!1,S=x?!!x.noTargetGet:!1;if(typeof w=="function"&&(typeof _=="string"&&!l(w,"name")&&a(w,"name",_),p(w).source=g.join(typeof _=="string"?_:"")),y===i){E?y[_]=w:c(_,w);return}else b?!S&&y[_]&&(E=!0):delete y[_];E?y[_]=w:a(y,_,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,r){n.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"./node_modules/core-js/internals/set-global.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{o(i,a,l)}catch{i[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,r,s){var i=s("./node_modules/core-js/internals/object-define-property.js").f,o=s("./node_modules/core-js/internals/has.js"),a=s("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(c,u,d){c&&!o(c=d?c:c.prototype,l)&&i(c,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,r,s){var i=s("./node_modules/core-js/internals/shared.js"),o=s("./node_modules/core-js/internals/uid.js"),a=i("keys");n.exports=function(l){return a[l]||(a[l]=o(l))}},"./node_modules/core-js/internals/shared.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/set-global.js"),a=s("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=i[l]||o(l,{});(n.exports=function(u,d){return c[u]||(c[u]=d!==void 0?d:{})})("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,r,s){var i=s("./node_modules/core-js/internals/to-integer.js"),o=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,c){var u=String(o(a)),d=i(l),f=u.length,p,g;return d<0||d>=f?c?"":void 0:(p=u.charCodeAt(d),p<55296||p>56319||d+1===f||(g=u.charCodeAt(d+1))<56320||g>57343?c?u.charAt(d):p:c?u.slice(d,d+2):(p-55296<<10)+(g-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,r,s){var i=s("./node_modules/core-js/internals/to-integer.js"),o=Math.max,a=Math.min;n.exports=function(l,c){var u=i(l);return u<0?o(u+c,0):a(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,r,s){var i=s("./node_modules/core-js/internals/indexed-object.js"),o=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return i(o(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,r){var s=Math.ceil,i=Math.floor;n.exports=function(o){return isNaN(o=+o)?0:(o>0?i:s)(o)}},"./node_modules/core-js/internals/to-length.js":function(n,r,s){var i=s("./node_modules/core-js/internals/to-integer.js"),o=Math.min;n.exports=function(a){return a>0?o(i(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,r,s){var i=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(o){return Object(i(o))}},"./node_modules/core-js/internals/to-primitive.js":function(n,r,s){var i=s("./node_modules/core-js/internals/is-object.js");n.exports=function(o,a){if(!i(o))return o;var l,c;if(a&&typeof(l=o.toString)=="function"&&!i(c=l.call(o))||typeof(l=o.valueOf)=="function"&&!i(c=l.call(o))||!a&&typeof(l=o.toString)=="function"&&!i(c=l.call(o)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,r){var s=0,i=Math.random();n.exports=function(o){return"Symbol(".concat(o===void 0?"":o,")_",(++s+i).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,r,s){var i=s("./node_modules/core-js/internals/is-object.js"),o=s("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(o(a),!i(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,r,s){var i=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/shared.js"),a=s("./node_modules/core-js/internals/uid.js"),l=s("./node_modules/core-js/internals/native-symbol.js"),c=i.Symbol,u=o("wks");n.exports=function(d){return u[d]||(u[d]=l&&c[d]||(l?c:a)("Symbol."+d))}},"./node_modules/core-js/modules/es.array.from.js":function(n,r,s){var i=s("./node_modules/core-js/internals/export.js"),o=s("./node_modules/core-js/internals/array-from.js"),a=s("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(c){Array.from(c)});i({target:"Array",stat:!0,forced:l},{from:o})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,r,s){var i=s("./node_modules/core-js/internals/string-at.js"),o=s("./node_modules/core-js/internals/internal-state.js"),a=s("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=o.set,u=o.getterFor(l);a(String,"String",function(d){c(this,{type:l,string:String(d),index:0})},function(){var f=u(this),p=f.string,g=f.index,y;return g>=p.length?{value:void 0,done:!0}:(y=i(p,g,!0),f.index+=y.length,{value:y,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,r){var s;s=function(){return this}();try{s=s||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(s=window)}n.exports=s},"./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,r,s){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(y){for(var _=1;_<arguments.length;_++){var w=arguments[_];for(var x in w)Object.prototype.hasOwnProperty.call(w,x)&&(y[x]=w[x])}return y},o=function(){function y(_,w){for(var x=0;x<w.length;x++){var b=w[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,w,x){return w&&y(_.prototype,w),x&&y(_,x),_}}(),a=s("./node_modules/classnames/dedupe.js"),l=d(a),c=s("./src/default-attrs.json"),u=d(c);function d(y){return y&&y.__esModule?y:{default:y}}function f(y,_){if(!(y instanceof _))throw new TypeError("Cannot call a class as a function")}var p=function(){function y(_,w){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];f(this,y),this.name=_,this.contents=w,this.tags=x,this.attrs=i({},u.default,{class:"feather feather-"+_})}return o(y,[{key:"toSvg",value:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=i({},this.attrs,w,{class:(0,l.default)(this.attrs.class,w.class)});return"<svg "+g(x)+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),y}();function g(y){return Object.keys(y).map(function(_){return _+'="'+y[_]+'"'}).join(" ")}r.default=p},"./src/icons.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var i=s("./src/icon.js"),o=d(i),a=s("./dist/icons.json"),l=d(a),c=s("./src/tags.json"),u=d(c);function d(f){return f&&f.__esModule?f:{default:f}}r.default=Object.keys(l.default).map(function(f){return new o.default(f,l.default[f],u.default[f])}).reduce(function(f,p){return f[p.name]=p,f},{})},"./src/index.js":function(n,r,s){var i=s("./src/icons.js"),o=d(i),a=s("./src/to-svg.js"),l=d(a),c=s("./src/replace.js"),u=d(c);function d(f){return f&&f.__esModule?f:{default:f}}n.exports={icons:o.default,toSvg:l.default,replace:u.default}},"./src/replace.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(g){for(var y=1;y<arguments.length;y++){var _=arguments[y];for(var w in _)Object.prototype.hasOwnProperty.call(_,w)&&(g[w]=_[w])}return g},o=s("./node_modules/classnames/dedupe.js"),a=u(o),l=s("./src/icons.js"),c=u(l);function u(g){return g&&g.__esModule?g:{default:g}}function d(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var y=document.querySelectorAll("[data-feather]");Array.from(y).forEach(function(_){return f(_,g)})}function f(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=p(g),w=_["data-feather"];delete _["data-feather"];var x=c.default[w].toSvg(i({},y,_,{class:(0,a.default)(y.class,_.class)})),b=new DOMParser().parseFromString(x,"image/svg+xml"),E=b.querySelector("svg");g.parentNode.replaceChild(E,g)}function p(g){return Array.from(g.attributes).reduce(function(y,_){return y[_.name]=_.value,y},{})}r.default=d},"./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,r,s){Object.defineProperty(r,"__esModule",{value:!0});var i=s("./src/icons.js"),o=a(i);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(!o.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return o.default[c].toSvg(u)}r.default=l},0:function(n,r,s){s("./node_modules/core-js/es/array/from.js"),n.exports=s("./src/index.js")}})})})(Qh);const mt=Xh(fi),Zh={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},ep={class:"items-center justify-between hidden w-full md:flex md:w-auto md:order-1"},tp={class:"flex flex-col font-medium p-4 md:p-0 mt-4 md:flex-row md:space-x-8 md:mt-0"},np=v("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),rp=v("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),sp=v("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),ip=v("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),op=v("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),Zl={__name:"Navigation",setup(e){return(t,n)=>(U(),Y("div",Zh,[v("div",ep,[v("ul",tp,[v("li",null,[ve(We(rn),{to:{name:"discussions"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ut(()=>[np]),_:1})]),v("li",null,[ve(We(rn),{to:{name:"settings"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ut(()=>[rp]),_:1})]),v("li",null,[ve(We(rn),{to:{name:"extensions"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ut(()=>[sp]),_:1})]),v("li",null,[ve(We(rn),{to:{name:"training"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ut(()=>[ip]),_:1})]),v("li",null,[ve(We(rn),{to:{name:"help"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ut(()=>[op]),_:1})])])])]))}},ap={class:"top-0 shadow-lg"},lp={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},cp=v("div",{class:"flex items-center gap-3 flex-1"},[v("img",{class:"w-12 hover:scale-95 duration-150",title:"GPT4ALL-UI",src:Ql,alt:"Logo"}),v("p",{class:"text-2xl"},"GPT4ALL-UI")],-1),up={class:"flex gap-3 flex-1 items-center justify-end"},dp=v("a",{href:"https://github.com/nomic-ai/gpt4all-ui",target:"_blank"},[v("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[v("i",{"data-feather":"github"})])],-1),fp=v("i",{"data-feather":"sun"},null,-1),hp=[fp],pp=v("i",{"data-feather":"moon"},null,-1),gp=[pp],yp=v("body",null,null,-1),mp={name:"TopBar",data(){return{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(()=>{mt.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");return}this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.iconToggle();return}document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:Zl}},vp=Object.assign(mp,{setup(e){return(t,n)=>(U(),Y(Ae,null,[v("header",ap,[v("nav",lp,[ve(We(rn),{to:{name:"discussions"}},{default:Ut(()=>[cp]),_:1}),v("div",up,[dp,v("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=r=>t.themeSwitch())},hp),v("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=r=>t.themeSwitch())},gp)])]),ve(Zl)]),yp],64))}}),kt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},xp={class:"flex flex-col h-screen max-h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},bp={class:"flex overflow-hidden flex-grow"},wp={__name:"App",setup(e){return(t,n)=>(U(),Y("div",xp,[ve(vp),v("div",bp,[ve(We(Xl),null,{default:Ut(({Component:r})=>[(U(),cn(Md,null,[(U(),cn(Vd(r)))],1024))]),_:1})])]))}},_p={setup(){return{}}};function Ep(e,t,n,r,s,i){return U(),Y("div",null," Extensions ")}const jp=kt(_p,[["render",Ep]]),kp={setup(){return{}}};function Ap(e,t,n,r,s,i){return U(),Y("div",null," Help ")}const Op=kt(kp,[["render",Ap]]);function ec(e,t){return function(){return e.apply(t,arguments)}}const{toString:Cp}=Object.prototype,{getPrototypeOf:qi}=Object,As=(e=>t=>{const n=Cp.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),It=e=>(e=e.toLowerCase(),t=>As(t)===e),Os=e=>t=>typeof t===e,{isArray:Nn}=Array,dr=Os("undefined");function Tp(e){return e!==null&&!dr(e)&&e.constructor!==null&&!dr(e.constructor)&&Rt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tc=It("ArrayBuffer");function Sp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tc(e.buffer),t}const Mp=Os("string"),Rt=Os("function"),nc=Os("number"),Gi=e=>e!==null&&typeof e=="object",Rp=e=>e===!0||e===!1,Br=e=>{if(As(e)!=="object")return!1;const t=qi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Lp=It("Date"),Pp=It("File"),Ip=It("Blob"),Bp=It("FileList"),Dp=e=>Gi(e)&&Rt(e.pipe),Np=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Rt(e.append)&&((t=As(e))==="formdata"||t==="object"&&Rt(e.toString)&&e.toString()==="[object FormData]"))},Fp=It("URLSearchParams"),Hp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Nn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function rc(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const sc=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ic=e=>!dr(e)&&e!==sc;function hi(){const{caseless:e}=ic(this)&&this||{},t={},n=(r,s)=>{const i=e&&rc(t,s)||s;Br(t[i])&&Br(r)?t[i]=hi(t[i],r):Br(r)?t[i]=hi({},r):Nn(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&pr(arguments[r],n);return t}const Vp=(e,t,n,{allOwnKeys:r}={})=>(pr(t,(s,i)=>{n&&Rt(s)?e[i]=ec(s,n):e[i]=s},{allOwnKeys:r}),e),$p=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zp=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Up=(e,t,n,r)=>{let s,i,o;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&qi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Kp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Wp=e=>{if(!e)return null;if(Nn(e))return e;let t=e.length;if(!nc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},qp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&qi(Uint8Array)),Gp=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},Yp=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Jp=It("HTMLFormElement"),Xp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),la=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Qp=It("RegExp"),oc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};pr(n,(s,i)=>{t(s,i,e)!==!1&&(r[i]=s)}),Object.defineProperties(e,r)},Zp=e=>{oc(e,(t,n)=>{if(Rt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Rt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},e1=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Nn(e)?r(e):r(String(e).split(t)),n},t1=()=>{},n1=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Us="abcdefghijklmnopqrstuvwxyz",ca="0123456789",ac={DIGIT:ca,ALPHA:Us,ALPHA_DIGIT:Us+Us.toUpperCase()+ca},r1=(e=16,t=ac.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function s1(e){return!!(e&&Rt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const i1=e=>{const t=new Array(10),n=(r,s)=>{if(Gi(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=Nn(r)?[]:{};return pr(r,(o,a)=>{const l=n(o,s+1);!dr(l)&&(i[a]=l)}),t[s]=void 0,i}}return r};return n(e,0)},O={isArray:Nn,isArrayBuffer:tc,isBuffer:Tp,isFormData:Np,isArrayBufferView:Sp,isString:Mp,isNumber:nc,isBoolean:Rp,isObject:Gi,isPlainObject:Br,isUndefined:dr,isDate:Lp,isFile:Pp,isBlob:Ip,isRegExp:Qp,isFunction:Rt,isStream:Dp,isURLSearchParams:Fp,isTypedArray:qp,isFileList:Bp,forEach:pr,merge:hi,extend:Vp,trim:Hp,stripBOM:$p,inherits:zp,toFlatObject:Up,kindOf:As,kindOfTest:It,endsWith:Kp,toArray:Wp,forEachEntry:Gp,matchAll:Yp,isHTMLForm:Jp,hasOwnProperty:la,hasOwnProp:la,reduceDescriptors:oc,freezeMethods:Zp,toObjectSet:e1,toCamelCase:Xp,noop:t1,toFiniteNumber:n1,findKey:rc,global:sc,isContextDefined:ic,ALPHABET:ac,generateString:r1,isSpecCompliantForm:s1,toJSONObject:i1};function oe(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}O.inherits(oe,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:O.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const lc=oe.prototype,cc={};["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(e=>{cc[e]={value:e}});Object.defineProperties(oe,cc);Object.defineProperty(lc,"isAxiosError",{value:!0});oe.from=(e,t,n,r,s,i)=>{const o=Object.create(lc);return O.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),oe.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const o1=null;function pi(e){return O.isPlainObject(e)||O.isArray(e)}function uc(e){return O.endsWith(e,"[]")?e.slice(0,-2):e}function ua(e,t,n){return e?e.concat(t).map(function(s,i){return s=uc(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function a1(e){return O.isArray(e)&&!e.some(pi)}const l1=O.toFlatObject(O,{},null,function(t){return/^is[A-Z]/.test(t)});function Cs(e,t,n){if(!O.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=O.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,_){return!O.isUndefined(_[y])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(t);if(!O.isFunction(s))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(O.isDate(g))return g.toISOString();if(!l&&O.isBlob(g))throw new oe("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(g)||O.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,y,_){let w=g;if(g&&!_&&typeof g=="object"){if(O.endsWith(y,"{}"))y=r?y:y.slice(0,-2),g=JSON.stringify(g);else if(O.isArray(g)&&a1(g)||(O.isFileList(g)||O.endsWith(y,"[]"))&&(w=O.toArray(g)))return y=uc(y),w.forEach(function(b,E){!(O.isUndefined(b)||b===null)&&t.append(o===!0?ua([y],E,i):o===null?y:y+"[]",c(b))}),!1}return pi(g)?!0:(t.append(ua(_,y,i),c(g)),!1)}const d=[],f=Object.assign(l1,{defaultVisitor:u,convertValue:c,isVisitable:pi});function p(g,y){if(!O.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(g),O.forEach(g,function(w,x){(!(O.isUndefined(w)||w===null)&&s.call(t,w,O.isString(x)?x.trim():x,y,f))===!0&&p(w,y?y.concat(x):[x])}),d.pop()}}if(!O.isObject(e))throw new TypeError("data must be an object");return p(e),t}function da(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Yi(e,t){this._pairs=[],e&&Cs(e,this,t)}const dc=Yi.prototype;dc.append=function(t,n){this._pairs.push([t,n])};dc.toString=function(t){const n=t?function(r){return t.call(this,r,da)}:da;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function c1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fc(e,t,n){if(!t)return e;const r=n&&n.encode||c1,s=n&&n.serialize;let i;if(s?i=s(t,n):i=O.isURLSearchParams(t)?t.toString():new Yi(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class u1{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){O.forEach(this.handlers,function(r){r!==null&&t(r)})}}const fa=u1,hc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},d1=typeof URLSearchParams<"u"?URLSearchParams:Yi,f1=typeof FormData<"u"?FormData:null,h1=typeof Blob<"u"?Blob:null,p1=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),g1=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),vt={isBrowser:!0,classes:{URLSearchParams:d1,FormData:f1,Blob:h1},isStandardBrowserEnv:p1,isStandardBrowserWebWorkerEnv:g1,protocols:["http","https","file","blob","url","data"]};function y1(e,t){return Cs(e,new vt.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return vt.isNode&&O.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function m1(e){return O.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function v1(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],t[i]=e[i];return t}function pc(e){function t(n,r,s,i){let o=n[i++];const a=Number.isFinite(+o),l=i>=n.length;return o=!o&&O.isArray(s)?s.length:o,l?(O.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!a):((!s[o]||!O.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&O.isArray(s[o])&&(s[o]=v1(s[o])),!a)}if(O.isFormData(e)&&O.isFunction(e.entries)){const n={};return O.forEachEntry(e,(r,s)=>{t(m1(r),s,n,0)}),n}return null}const x1={"Content-Type":void 0};function b1(e,t,n){if(O.isString(e))try{return(t||JSON.parse)(e),O.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ts={transitional:hc,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=O.isObject(t);if(i&&O.isHTMLForm(t)&&(t=new FormData(t)),O.isFormData(t))return s&&s?JSON.stringify(pc(t)):t;if(O.isArrayBuffer(t)||O.isBuffer(t)||O.isStream(t)||O.isFile(t)||O.isBlob(t))return t;if(O.isArrayBufferView(t))return t.buffer;if(O.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return y1(t,this.formSerializer).toString();if((a=O.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Cs(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),b1(t)):t}],transformResponse:[function(t){const n=this.transitional||Ts.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&O.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?oe.from(a,oe.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vt.classes.FormData,Blob:vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};O.forEach(["delete","get","head"],function(t){Ts.headers[t]={}});O.forEach(["post","put","patch"],function(t){Ts.headers[t]=O.merge(x1)});const Ji=Ts,w1=O.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"]),_1=e=>{const t={};let n,r,s;return e&&e.split(`
|
|
`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&w1[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ha=Symbol("internals");function $n(e){return e&&String(e).trim().toLowerCase()}function Dr(e){return e===!1||e==null?e:O.isArray(e)?e.map(Dr):String(e)}function E1(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const j1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ks(e,t,n,r,s){if(O.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!O.isString(t)){if(O.isString(r))return t.indexOf(r)!==-1;if(O.isRegExp(r))return r.test(t)}}function k1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function A1(e,t){const n=O.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}class Ss{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(a,l,c){const u=$n(l);if(!u)throw new Error("header name must be a non-empty string");const d=O.findKey(s,u);(!d||s[d]===void 0||c===!0||c===void 0&&s[d]!==!1)&&(s[d||l]=Dr(a))}const o=(a,l)=>O.forEach(a,(c,u)=>i(c,u,l));return O.isPlainObject(t)||t instanceof this.constructor?o(t,n):O.isString(t)&&(t=t.trim())&&!j1(t)?o(_1(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=$n(t),t){const r=O.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return E1(s);if(O.isFunction(n))return n.call(this,s,r);if(O.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$n(t),t){const r=O.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ks(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=$n(o),o){const a=O.findKey(r,o);a&&(!n||Ks(r,r[a],a,n))&&(delete r[a],s=!0)}}return O.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||Ks(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return O.forEach(this,(s,i)=>{const o=O.findKey(r,i);if(o){n[o]=Dr(s),delete n[i];return}const a=t?k1(i):String(i).trim();a!==i&&delete n[i],n[a]=Dr(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return O.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&O.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[ha]=this[ha]={accessors:{}}).accessors,s=this.prototype;function i(o){const a=$n(o);r[a]||(A1(s,o),r[a]=!0)}return O.isArray(t)?t.forEach(i):i(t),this}}Ss.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);O.freezeMethods(Ss.prototype);O.freezeMethods(Ss);const Tt=Ss;function Ws(e,t){const n=this||Ji,r=t||n,s=Tt.from(r.headers);let i=r.data;return O.forEach(e,function(a){i=a.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function gc(e){return!!(e&&e.__CANCEL__)}function gr(e,t,n){oe.call(this,e??"canceled",oe.ERR_CANCELED,t,n),this.name="CanceledError"}O.inherits(gr,oe,{__CANCEL__:!0});function O1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new oe("Request failed with status code "+n.status,[oe.ERR_BAD_REQUEST,oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const C1=vt.isStandardBrowserEnv?function(){return{write:function(n,r,s,i,o,a){const l=[];l.push(n+"="+encodeURIComponent(r)),O.isNumber(s)&&l.push("expires="+new Date(s).toGMTString()),O.isString(i)&&l.push("path="+i),O.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function T1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function S1(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function yc(e,t){return e&&!T1(t)?S1(e,t):t}const M1=vt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 r=s(window.location.href),function(o){const a=O.isString(o)?s(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function R1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function L1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];o||(o=c),n[s]=l,r[s]=c;let d=i,f=0;for(;d!==s;)f+=n[d++],d=d%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),c-o<t)return;const p=u&&c-u;return p?Math.round(f*1e3/p):void 0}}function pa(e,t){let n=0;const r=L1(50,250);return s=>{const i=s.loaded,o=s.lengthComputable?s.total:void 0,a=i-n,l=r(a),c=i<=o;n=i;const u={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&c?(o-i)/l:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const P1=typeof XMLHttpRequest<"u",I1=P1&&function(e){return new Promise(function(n,r){let s=e.data;const i=Tt.from(e.headers).normalize(),o=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}O.isFormData(s)&&(vt.isStandardBrowserEnv||vt.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+g))}const u=yc(e.baseURL,e.url);c.open(e.method.toUpperCase(),fc(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const p=Tt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),y={data:!o||o==="text"||o==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};O1(function(w){n(w),l()},function(w){r(w),l()},y),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(r(new oe("Request aborted",oe.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new oe("Network Error",oe.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const y=e.transitional||hc;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),r(new oe(g,y.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,e,c)),c=null},vt.isStandardBrowserEnv){const p=(e.withCredentials||M1(u))&&e.xsrfCookieName&&C1.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}s===void 0&&i.setContentType(null),"setRequestHeader"in c&&O.forEach(i.toJSON(),function(g,y){c.setRequestHeader(y,g)}),O.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),o&&o!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",pa(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",pa(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=p=>{c&&(r(!p||p.type?new gr(null,e,c):p),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const f=R1(u);if(f&&vt.protocols.indexOf(f)===-1){r(new oe("Unsupported protocol "+f+":",oe.ERR_BAD_REQUEST,e));return}c.send(s||null)})},Nr={http:o1,xhr:I1};O.forEach(Nr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const B1={getAdapter:e=>{e=O.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;s<t&&(n=e[s],!(r=O.isString(n)?Nr[n.toLowerCase()]:n));s++);if(!r)throw r===!1?new oe(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(O.hasOwnProp(Nr,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!O.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:Nr};function qs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gr(null,e)}function ga(e){return qs(e),e.headers=Tt.from(e.headers),e.data=Ws.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),B1.getAdapter(e.adapter||Ji.adapter)(e).then(function(r){return qs(e),r.data=Ws.call(e,e.transformResponse,r),r.headers=Tt.from(r.headers),r},function(r){return gc(r)||(qs(e),r&&r.response&&(r.response.data=Ws.call(e,e.transformResponse,r.response),r.response.headers=Tt.from(r.response.headers))),Promise.reject(r)})}const ya=e=>e instanceof Tt?e.toJSON():e;function Tn(e,t){t=t||{};const n={};function r(c,u,d){return O.isPlainObject(c)&&O.isPlainObject(u)?O.merge.call({caseless:d},c,u):O.isPlainObject(u)?O.merge({},u):O.isArray(u)?u.slice():u}function s(c,u,d){if(O.isUndefined(u)){if(!O.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!O.isUndefined(u))return r(void 0,u)}function o(c,u){if(O.isUndefined(u)){if(!O.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,u)=>s(ya(c),ya(u),!0)};return O.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const d=l[u]||s,f=d(e[u],t[u],u);O.isUndefined(f)&&d!==a||(n[u]=f)}),n}const mc="1.3.6",Xi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xi[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ma={};Xi.transitional=function(t,n,r){function s(i,o){return"[Axios v"+mc+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(t===!1)throw new oe(s(o," has been removed"+(n?" in "+n:"")),oe.ERR_DEPRECATED);return n&&!ma[o]&&(ma[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function D1(e,t,n){if(typeof e!="object")throw new oe("options must be an object",oe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new oe("option "+i+" must be "+l,oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new oe("Unknown option "+i,oe.ERR_BAD_OPTION)}}const gi={assertOptions:D1,validators:Xi},Nt=gi.validators;class Zr{constructor(t){this.defaults=t,this.interceptors={request:new fa,response:new fa}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Tn(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&gi.assertOptions(r,{silentJSONParsing:Nt.transitional(Nt.boolean),forcedJSONParsing:Nt.transitional(Nt.boolean),clarifyTimeoutError:Nt.transitional(Nt.boolean)},!1),s!=null&&(O.isFunction(s)?n.paramsSerializer={serialize:s}:gi.assertOptions(s,{encode:Nt.function,serialize:Nt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o;o=i&&O.merge(i.common,i[n.method]),o&&O.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=Tt.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(l=l&&y.synchronous,a.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let u,d=0,f;if(!l){const g=[ga.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,c),f=g.length,u=Promise.resolve(n);d<f;)u=u.then(g[d++],g[d++]);return u}f=a.length;let p=n;for(d=0;d<f;){const g=a[d++],y=a[d++];try{p=g(p)}catch(_){y.call(this,_);break}}try{u=ga.call(this,p)}catch(g){return Promise.reject(g)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Tn(this.defaults,t);const n=yc(t.baseURL,t.url);return fc(n,t.params,t.paramsSerializer)}}O.forEach(["delete","get","head","options"],function(t){Zr.prototype[t]=function(n,r){return this.request(Tn(r||{},{method:t,url:n,data:(r||{}).data}))}});O.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,a){return this.request(Tn(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Zr.prototype[t]=n(),Zr.prototype[t+"Form"]=n(!0)});const Fr=Zr;class Qi{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(a=>{r.subscribe(a),i=a}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,a){r.reason||(r.reason=new gr(i,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Qi(function(s){t=s}),cancel:t}}}const N1=Qi;function F1(e){return function(n){return e.apply(null,n)}}function H1(e){return O.isObject(e)&&e.isAxiosError===!0}const yi={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(yi).forEach(([e,t])=>{yi[t]=e});const V1=yi;function vc(e){const t=new Fr(e),n=ec(Fr.prototype.request,t);return O.extend(n,Fr.prototype,t,{allOwnKeys:!0}),O.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return vc(Tn(e,s))},n}const Ce=vc(Ji);Ce.Axios=Fr;Ce.CanceledError=gr;Ce.CancelToken=N1;Ce.isCancel=gc;Ce.VERSION=mc;Ce.toFormData=Cs;Ce.AxiosError=oe;Ce.Cancel=Ce.CanceledError;Ce.all=function(t){return Promise.all(t)};Ce.spread=F1;Ce.isAxiosError=H1;Ce.mergeConfig=Tn;Ce.AxiosHeaders=Tt;Ce.formToJSON=e=>pc(O.isHTMLForm(e)?new FormData(e):e);Ce.HttpStatusCode=V1;Ce.default=Ce;const Qe=Ce,$1={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(e){this.message=e,this.show=!0}}},z1={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},U1={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},K1={class:"text-lg font-medium"},W1={class:"mt-4 flex justify-end"};function q1(e,t,n,r,s,i){return s.show?(U(),Y("div",z1,[v("div",U1,[v("h3",K1,lt(s.message),1),v("div",W1,[v("button",{onClick:t[0]||(t[0]=(...o)=>i.hide&&i.hide(...o)),class:"bg-secondary text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):be("",!0)}const G1=kt($1,[["render",q1]]);const Y1={components:{MessageBox:G1},setup(){return{}},data(){return{bec_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,backendsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{}}},methods:{onMessageBoxOk(){console.log("OK button clicked")},refresh(){this.api_get_req("list_backends").then(e=>{this.backendsArr=e}),this.api_get_req("list_models").then(e=>{this.modelsArr=e}),this.api_get_req("list_personalities_languages").then(e=>{this.persLangArr=e}),this.api_get_req("list_personalities_categories").then(e=>{this.persCatgArr=e}),this.api_get_req("list_personalities").then(e=>{this.persArr=e}),this.api_get_req("list_languages").then(e=>{this.langArr=e}),this.api_get_req("get_config").then(e=>{this.configFile=e})},toggleAccordion(){this.showAccordion=!this.showAccordion},update_setting(e,t,n=void 0){Qe.post("/update_setting",{setting_name:e,setting_value:t}).then(r=>{if(r)return n!==void 0&&n(),r.data}).catch(r=>({status:!1}))},save_configuration(){Qe.post("/save_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings saved"):this.$refs.messageBox.showMessage("Couldn't save settings!"),e.data}).catch(e=>(console.log(e),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion("Are you sure?<br>This will delete all your configurations and get back to default configuration.").then(e=>{e&&Qe.post("/reset_settings",{}).then(t=>{if(t)return t.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),t.data}).catch(t=>(console.log(t),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},update_backend(e){res=update_setting("backend",e),res.status&&console.log("Backend changed")},async api_get_req(e){try{const t=await Qe.get("/"+e);if(t)return t.data}catch(t){return console.log(t),[]}}},async mounted(){this.backendsArr=await this.api_get_req("list_backends"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.configFile=await this.api_get_req("get_config")}},J1={class:"overflow-y-scroll flex flex-col no-scrollbar shadow-lg w-full bg-bg-light-tone dark:bg-bg-dark-tone"},X1={class:"flex flex-row justify-start"},Q1={class:"overflow-y-scroll flex-col no-scrollbar shadow-lg bg-bg-light-tone dark:bg-bg-dark-tone"},Z1=v("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[v("path",{d:"M5 3H19C20.1046 3 21 3.89543 21 5V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V5C3 3.89543 3.89543 3 5 3Z"}),v("path",{d:"M17 8L12 13L7 8"})],-1),e2=[Z1],t2={class:"overflow-y-scroll flex-col no-scrollbar shadow-lg bg-bg-light-tone dark:bg-bg-dark-tone"},n2=v("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[v("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),r2=[n2],s2={class:"flex flex-row"},i2=v("path",{d:"M9 19l7-7-7-7","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1),o2=[i2],a2=v("h3",{class:"text-lg font-semibold"},"Backend Configuration",-1),l2={class:"m-2"},c2=v("label",{for:"backend",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Backend: ",-1),u2={class:"m-2"},d2=v("label",{for:"model",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Model: ",-1),f2={id:"model",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"},h2={class:"flex flex-row"},p2=v("path",{d:"M9 19l7-7-7-7","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1),g2=[p2],y2=v("h3",{class:"text-lg font-semibold"},"Personality Configuration",-1),m2={class:"m-2"},v2=v("label",{for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Languages: ",-1),x2={class:"m-2"},b2=v("label",{for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Category: ",-1),w2={class:"m-2"},_2=v("label",{for:"persona",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personality: ",-1),E2={class:"flex flex-row"},j2=v("path",{d:"M9 19l7-7-7-7","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1),k2=[j2],A2=v("h3",{class:"text-lg font-semibold"},"Model Configuration",-1),O2={class:"m-2"},C2=v("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1),T2={class:"m-2"},S2={class:"flex flex-col align-bottom"},M2={class:"relative"},R2=v("p",{class:"absolute left-0 mt-6"},[v("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1),L2={class:"absolute right-0"},P2={class:"m-2"},I2={class:"flex flex-col align-bottom"},B2={class:"relative"},D2=v("p",{class:"absolute left-0 mt-6"},[v("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1),N2={class:"absolute right-0"},F2={class:"m-2"},H2={class:"flex flex-col align-bottom"},V2={class:"relative"},$2=v("p",{class:"absolute left-0 mt-6"},[v("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1),z2={class:"absolute right-0"},U2={class:"m-2"},K2={class:"flex flex-col align-bottom"},W2={class:"relative"},q2=v("p",{class:"absolute left-0 mt-6"},[v("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1),G2={class:"absolute right-0"},Y2={class:"m-2"},J2={class:"flex flex-col align-bottom"},X2={class:"relative"},Q2=v("p",{class:"absolute left-0 mt-6"},[v("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1),Z2={class:"absolute right-0"},eg={class:"m-2"},tg={class:"flex flex-col align-bottom"},ng={class:"relative"},rg=v("p",{class:"absolute left-0 mt-6"},[v("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1),sg={class:"absolute right-0"};function ig(e,t,n,r,s,i){const o=Ao("YesNoDialog"),a=Ao("MessageBox");return U(),Y(Ae,null,[v("div",J1,[v("div",X1,[v("div",Q1,[v("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90 mr-2",onClick:t[0]||(t[0]=l=>i.save_configuration())},e2)]),v("div",t2,[v("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90 mr-2",onClick:t[1]||(t[1]=l=>i.reset_configuration())},r2)])]),v("div",s2,[v("button",{onClick:t[2]||(t[2]=l=>s.bec_collapsed=!s.bec_collapsed)},[(U(),Y("svg",{class:Ie(["h-6 w-6 hover:text-secondary duration-75 active:scale-90",{"rotate-90":!s.bec_collapsed}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o2,2))]),a2]),v("div",{class:Ie({hidden:s.bec_collapsed})},[v("div",l2,[c2,v("select",{id:"backend",onChange:t[3]||(t[3]=l=>i.update_backend(l.target.value)),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"},[(U(!0),Y(Ae,null,en(s.backendsArr,l=>(U(),Y("option",null,lt(l),1))),256))],32)]),v("div",u2,[d2,v("select",f2,[(U(!0),Y(Ae,null,en(s.modelsArr,l=>(U(),Y("option",null,lt(l),1))),256))])])],2),v("div",h2,[v("button",{onClick:t[4]||(t[4]=l=>s.pc_collapsed=!s.pc_collapsed)},[(U(),Y("svg",{class:Ie(["h-6 w-6 hover:text-secondary duration-75 active:scale-90",{"rotate-90":!s.pc_collapsed}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},g2,2))]),y2]),v("div",{class:Ie({hidden:s.pc_collapsed})},[v("div",m2,[v2,v("select",{id:"persLang",onChange:t[5]||(t[5]=l=>i.update_setting("personality_language",l.target.value,i.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"},[(U(!0),Y(Ae,null,en(s.persLangArr,l=>(U(),Y("option",null,lt(l),1))),256))],32)]),v("div",x2,[b2,v("select",{id:"persCat",onChange:t[6]||(t[6]=l=>i.update_setting("personality_category",l.target.value,i.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"},[(U(!0),Y(Ae,null,en(s.persCatgArr,l=>(U(),Y("option",null,lt(l),1))),256))],32)]),v("div",w2,[_2,v("select",{id:"persona",onChange:t[7]||(t[7]=l=>i.update_setting("personality",l.target.value,i.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"},[(U(!0),Y(Ae,null,en(s.persArr,l=>(U(),Y("option",null,lt(l),1))),256))],32)])],2),v("div",E2,[v("button",{onClick:t[8]||(t[8]=l=>s.mc_collapsed=!s.mc_collapsed)},[(U(),Y("svg",{class:Ie(["h-6 w-6 hover:text-secondary duration-75 active:scale-90",{"rotate-90":!s.mc_collapsed}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},k2,2))]),A2]),v("div",{class:Ie({hidden:s.mc_collapsed})},[v("div",O2,[C2,Pe(v("input",{type:"text",id:"seed","onUpdate:modelValue":t[9]||(t[9]=l=>s.configFile.seed=l),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),[[Ve,s.configFile.seed]])]),v("div",T2,[v("div",S2,[v("div",M2,[R2,v("p",L2,[Pe(v("input",{type:"text",id:"temp-val","onUpdate:modelValue":t[10]||(t[10]=l=>s.configFile.temp=l),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),[[Ve,s.configFile.temp]])])]),Pe(v("input",{id:"temperature",onChange:t[11]||(t[11]=l=>i.update_setting("temperature",l.target.value)),type:"range","onUpdate:modelValue":t[12]||(t[12]=l=>s.configFile.temp=l),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),[[Ve,s.configFile.temp]])])]),v("div",P2,[v("div",I2,[v("div",B2,[D2,v("p",N2,[Pe(v("input",{type:"text",id:"predict-val","onUpdate:modelValue":t[13]||(t[13]=l=>s.configFile.n_predict=l),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),[[Ve,s.configFile.n_predict]])])]),Pe(v("input",{id:"predict",onChange:t[14]||(t[14]=l=>i.update_setting("n_predict",l.target.value)),type:"range","onUpdate:modelValue":t[15]||(t[15]=l=>s.configFile.n_predict=l),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),[[Ve,s.configFile.n_predict]])])]),v("div",F2,[v("div",H2,[v("div",V2,[$2,v("p",z2,[Pe(v("input",{type:"text",id:"top_k-val","onUpdate:modelValue":t[16]||(t[16]=l=>s.configFile.top_k=l),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),[[Ve,s.configFile.top_k]])])]),Pe(v("input",{id:"top_k",onChange:t[17]||(t[17]=l=>i.update_setting("top_k",l.target.value)),type:"range","onUpdate:modelValue":t[18]||(t[18]=l=>s.configFile.top_k=l),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),[[Ve,s.configFile.top_k]])])]),v("div",U2,[v("div",K2,[v("div",W2,[q2,v("p",G2,[Pe(v("input",{type:"text",id:"top_p-val","onUpdate:modelValue":t[19]||(t[19]=l=>s.configFile.top_p=l),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),[[Ve,s.configFile.top_p]])])]),Pe(v("input",{id:"top_p",onChange:t[20]||(t[20]=l=>i.update_setting("top_p",l.target.value)),type:"range","onUpdate:modelValue":t[21]||(t[21]=l=>s.configFile.top_p=l),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),[[Ve,s.configFile.top_p]])])]),v("div",Y2,[v("div",J2,[v("div",X2,[Q2,v("p",Z2,[Pe(v("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":t[22]||(t[22]=l=>s.configFile.repeat_penalty=l),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),[[Ve,s.configFile.repeat_penalty]])])]),Pe(v("input",{id:"repeat_penalty",onChange:t[23]||(t[23]=l=>i.update_setting("repeat_penalty",l.target.value)),type:"range","onUpdate:modelValue":t[24]||(t[24]=l=>s.configFile.repeat_penalty=l),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),[[Ve,s.configFile.repeat_penalty]])])]),v("div",eg,[v("div",tg,[v("div",ng,[rg,v("p",sg,[Pe(v("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":t[25]||(t[25]=l=>s.configFile.repeat_last_n=l),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),[[Ve,s.configFile.repeat_last_n]])])]),Pe(v("input",{id:"repeat_last_n",onChange:t[26]||(t[26]=l=>i.update_setting("repeat_last_n",l.target.value)),type:"range","onUpdate:modelValue":t[27]||(t[27]=l=>s.configFile.repeat_last_n=l),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),[[Ve,s.configFile.repeat_last_n]])])])],2)]),ve(o,{ref:"yesNoDialog"},null,512),ve(a,{ref:"messageBox"},null,512)],64)}const og=kt(Y1,[["render",ig]]),ag={setup(){return{}}};function lg(e,t,n,r,s,i){return U(),Y("div",null," Training ")}const cg=kt(ag,[["render",lg]]),ug={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(e){this.newTitle=e},checkedChangeEvent(e,t){this.$emit("checked",e,t)}},mounted(){this.newTitle=this.title,Me(()=>{mt.replace()})},watch:{showConfirmation(){Me(()=>{mt.replace()})},editTitleMode(e){this.showConfirmation=e,this.editTitle=e},checkBoxValue(e,t){this.checkBoxValue_local=e}}},dg=["id"],fg={class:"flex flex-row items-center gap-2"},hg={key:0},pg=["title"],gg=["value"],yg={class:"flex items-center flex-1 max-h-6"},mg={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},vg=v("i",{"data-feather":"check"},null,-1),xg=[vg],bg=v("i",{"data-feather":"x"},null,-1),wg=[bg],_g={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},Eg=v("i",{"data-feather":"x"},null,-1),jg=[Eg],kg=v("i",{"data-feather":"check"},null,-1),Ag=[kg],Og={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},Cg=v("i",{"data-feather":"edit-2"},null,-1),Tg=[Cg],Sg=v("i",{"data-feather":"trash"},null,-1),Mg=[Sg];function Rg(e,t,n,r,s,i){return U(),Y("div",{class:Ie([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","container flex 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:t[13]||(t[13]=Se(o=>i.selectEvent(),["stop"]))},[v("div",fg,[n.isCheckbox?(U(),Y("div",hg,[Pe(v("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:t[0]||(t[0]=Se(()=>{},["stop"])),"onUpdate:modelValue":t[1]||(t[1]=o=>s.checkBoxValue_local=o),onInput:t[2]||(t[2]=o=>i.checkedChangeEvent(o,n.id))},null,544),[[Hf,s.checkBoxValue_local]])])):be("",!0),n.selected?(U(),Y("div",{key:1,class:Ie(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):be("",!0),n.selected?be("",!0):(U(),Y("div",{key:2,class:Ie(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),s.editTitle?be("",!0):(U(),Y("p",{key:0,title:n.title,class:"truncate w-full"},lt(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,pg)),s.editTitle?(U(),Y("input",{key:1,type:"text",id:"title-box",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[t[3]||(t[3]=li(Se(o=>i.editTitleEvent(),["exact"]),["enter"])),t[4]||(t[4]=li(Se(o=>s.editTitleMode=!1,["exact"]),["esc"]))],onInput:t[5]||(t[5]=o=>i.chnageTitle(o.target.value)),onClick:t[6]||(t[6]=Se(()=>{},["stop"]))},null,40,gg)):be("",!0),v("div",yg,[s.showConfirmation&&!s.editTitleMode?(U(),Y("div",mg,[v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:t[7]||(t[7]=Se(o=>i.deleteEvent(),["stop"]))},xg),v("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:t[8]||(t[8]=Se(o=>s.showConfirmation=!1,["stop"]))},wg)])):be("",!0),s.showConfirmation&&s.editTitleMode?(U(),Y("div",_g,[v("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:t[9]||(t[9]=Se(o=>s.editTitleMode=!1,["stop"]))},jg),v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:t[10]||(t[10]=Se(o=>i.editTitleEvent(),["stop"]))},Ag)])):be("",!0),s.showConfirmation?be("",!0):(U(),Y("div",Og,[v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:t[11]||(t[11]=Se(o=>s.editTitleMode=!0,["stop"]))},Tg),v("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:t[12]||(t[12]=Se(o=>s.showConfirmation=!0,["stop"]))},Mg)]))])],10,dg)}const xc=kt(ug,[["render",Rg]]),Lg={name:"Message",props:{message:Object},data(){return{senderImg:""}},mounted(){Me(()=>{mt.replace()})}},Pg={class:"group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex-row p-4 pb-2"},Ig={class:"w-30 flex"},Bg={class:"w-10 h-10 rounded-lg object-fill drop-shadow-md group-even:bg-primary bg-secondary"},Dg=["src"],Ng={class:"drop-shadow-sm py-0 px-2 text-lg text-opacity-95 font-bold"},Fg={class:"-mt-4 ml-10 mr-0 pt-1 px-2 max-w-screen-2xl"},Hg={class:"invisible group-hover:visible flex flex-row mt-3 -mb-2"},Vg=Pl('<div class="text-lg hover:text-secondary duration-75 active:scale-90 p-2" title="Edit message"><i data-feather="edit"></i></div><div class="text-lg hover:text-secondary duration-75 active:scale-90 p-2" title="Copy message to clipboard"><i data-feather="copy"></i></div><div class="text-lg hover:text-secondary duration-75 active:scale-90 p-2" title="Resend message"><i data-feather="refresh-cw"></i></div><div class="text-lg hover:text-red-600 duration-75 active:scale-90 p-2" title="Remove message"><i data-feather="trash"></i></div><div class="text-lg hover:text-secondary duration-75 active:scale-90 p-2" title="Upvote"><i data-feather="thumbs-up"></i></div>',5),$g={class:"flex flex-row items-center"},zg=v("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote"},[v("i",{"data-feather":"thumbs-down"})],-1);function Ug(e,t,n,r,s,i){return U(),Y("div",Pg,[v("div",Ig,[v("div",Bg,[s.senderImg?(U(),Y("img",{key:0,src:s.senderImg,class:"w-10 h-10 rounded-full object-fill"},null,8,Dg)):be("",!0)]),v("p",Ng,lt(n.message.sender),1)]),v("div",Fg,lt(n.message.content),1),v("div",Hg,[Vg,v("div",$g,[zg,n.message.rank!=0?(U(),Y("div",{key:0,class:Ie(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},lt(n.message.rank),3)):be("",!0)])])])}const bc=kt(Lg,[["render",Ug]]),Kg={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{loading:!1},setup(){return{}},data(){return{message:""}},methods:{sendMessageEvent(e){this.$emit("messageSentEvent",e)},submitOnEnter(e){e.which===13&&(e.preventDefault(),e.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")}},watch:{loading(e,t){Me(()=>{mt.replace()})}},mounted(){Me(()=>{mt.replace()})},activated(){}},Wg={class:"flex-none sticky bottom-0 p-0 items-center justify-center px-32 self-center w-full"},qg={key:0,class:"flex items-center justify-center w-full"},Gg={class:"flex flex-row p-2 rounded-t-lg"},Yg=v("label",{for:"chat",class:"sr-only"},"Send message",-1),Jg={class:"flex items-center gap-2 px-3 py-3 rounded-t-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},Xg={class:"inline-flex justify-center rounded-full"},Qg=v("i",{"data-feather":"send"},null,-1),Zg=v("span",{class:"sr-only"},"Send message",-1),e0=[Qg,Zg],t0={key:1,title:"Waiting for reply"},n0=v("div",{role:"status"},[v("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"},[v("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"}),v("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"})]),v("span",{class:"sr-only"},"Loading...")],-1),r0=[n0];function s0(e,t,n,r,s,i){return U(),Y("div",Wg,[n.loading?(U(),Y("div",qg,[v("div",Gg,[v("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:t[0]||(t[0]=Se((...o)=>i.stopGenerating&&i.stopGenerating(...o),["stop"]))}," Stop generating ")])])):be("",!0),v("form",null,[Yg,v("div",Jg,[Pe(v("textarea",{id:"chat",rows:"1","onUpdate:modelValue":t[1]||(t[1]=o=>s.message=o),class:"block min-h-11 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:t[2]||(t[2]=li(Se(o=>i.submitOnEnter(o),["exact"]),["enter"]))},null,544),[[Ve,s.message]]),v("div",Xg,[n.loading?be("",!0):(U(),Y("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...o)=>i.submit&&i.submit(...o)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},e0)),n.loading?(U(),Y("div",t0,r0)):be("",!0)])])])])}const wc=kt(Kg,[["render",s0]]),i0={name:"WelcomeComponent",setup(){return{}}},o0={class:"flex flex-col text-center"},a0=Pl('<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="GPT4ALL-UI" src="'+Ql+'" alt="Logo"><p class="">GPT4ALL-UI</p></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-lg">Welcome, please create a new discussion or select existing one to start</p></div>',1),l0=[a0];function c0(e,t,n,r,s,i){return U(),Y("div",o0,l0)}const _c=kt(i0,[["render",c0]]),Et=Object.create(null);Et.open="0";Et.close="1";Et.ping="2";Et.pong="3";Et.message="4";Et.upgrade="5";Et.noop="6";const Hr=Object.create(null);Object.keys(Et).forEach(e=>{Hr[Et[e]]=e});const u0={type:"error",data:"parser error"},d0=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",f0=typeof ArrayBuffer=="function",h0=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Ec=({type:e,data:t},n,r)=>d0&&t instanceof Blob?n?r(t):va(t,r):f0&&(t instanceof ArrayBuffer||h0(t))?n?r(t):va(new Blob([t]),r):r(Et[e]+(t||"")),va=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)},xa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qn=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<xa.length;e++)qn[xa.charCodeAt(e)]=e;const p0=e=>{let t=e.length*.75,n=e.length,r,s=0,i,o,a,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const c=new ArrayBuffer(t),u=new Uint8Array(c);for(r=0;r<n;r+=4)i=qn[e.charCodeAt(r)],o=qn[e.charCodeAt(r+1)],a=qn[e.charCodeAt(r+2)],l=qn[e.charCodeAt(r+3)],u[s++]=i<<2|o>>4,u[s++]=(o&15)<<4|a>>2,u[s++]=(a&3)<<6|l&63;return c},g0=typeof ArrayBuffer=="function",jc=(e,t)=>{if(typeof e!="string")return{type:"message",data:kc(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:y0(e.substring(1),t)}:Hr[n]?e.length>1?{type:Hr[n],data:e.substring(1)}:{type:Hr[n]}:u0},y0=(e,t)=>{if(g0){const n=p0(e);return kc(n,t)}else return{base64:!0,data:e}},kc=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},Ac=String.fromCharCode(30),m0=(e,t)=>{const n=e.length,r=new Array(n);let s=0;e.forEach((i,o)=>{Ec(i,!1,a=>{r[o]=a,++s===n&&t(r.join(Ac))})})},v0=(e,t)=>{const n=e.split(Ac),r=[];for(let s=0;s<n.length;s++){const i=jc(n[s],t);if(r.push(i),i.type==="error")break}return r},Oc=4;function Oe(e){if(e)return x0(e)}function x0(e){for(var t in Oe.prototype)e[t]=Oe.prototype[t];return e}Oe.prototype.on=Oe.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Oe.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Oe.prototype.off=Oe.prototype.removeListener=Oe.prototype.removeAllListeners=Oe.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,s=0;s<n.length;s++)if(r=n[s],r===t||r.fn===t){n.splice(s,1);break}return n.length===0&&delete this._callbacks["$"+e],this};Oe.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,s=n.length;r<s;++r)n[r].apply(this,t)}return this};Oe.prototype.emitReserved=Oe.prototype.emit;Oe.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Oe.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ze=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Cc(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const b0=Ze.setTimeout,w0=Ze.clearTimeout;function Ms(e,t){t.useNativeTimers?(e.setTimeoutFn=b0.bind(Ze),e.clearTimeoutFn=w0.bind(Ze)):(e.setTimeoutFn=Ze.setTimeout.bind(Ze),e.clearTimeoutFn=Ze.clearTimeout.bind(Ze))}const _0=1.33;function E0(e){return typeof e=="string"?j0(e):Math.ceil((e.byteLength||e.size)*_0)}function j0(e){let t=0,n=0;for(let r=0,s=e.length;r<s;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}class k0 extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Tc extends Oe{constructor(t){super(),this.writable=!1,Ms(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new k0(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=jc(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}}const Sc="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),mi=64,A0={};let ba=0,jr=0,wa;function _a(e){let t="";do t=Sc[e%mi]+t,e=Math.floor(e/mi);while(e>0);return t}function Mc(){const e=_a(+new Date);return e!==wa?(ba=0,wa=e):e+"."+_a(ba++)}for(;jr<mi;jr++)A0[Sc[jr]]=jr;function Rc(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function O0(e){let t={},n=e.split("&");for(let r=0,s=n.length;r<s;r++){let i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}let Lc=!1;try{Lc=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const C0=Lc;function Pc(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||C0))return new XMLHttpRequest}catch{}if(!t)try{return new Ze[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function T0(){}const S0=function(){return new Pc({xdomain:!1}).responseType!=null}();class M0 extends Tc{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const r=location.protocol==="https:";let s=location.port;s||(s=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||s!==t.port,this.xs=t.secure!==r}const n=t&&t.forceBase64;this.supportsBinary=S0&&!n}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};v0(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,m0(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Mc()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const s=Rc(t),i=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(i?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new bt(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(s,i)=>{this.onError("xhr post error",s,i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class bt extends Oe{constructor(t,n){super(),Ms(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=Cc(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new Pc(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}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(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=bt.requestsCount++,bt.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=T0,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete bt.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}bt.requestsCount=0;bt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Ea);else if(typeof addEventListener=="function"){const e="onpagehide"in Ze?"pagehide":"unload";addEventListener(e,Ea,!1)}}function Ea(){for(let e in bt.requests)bt.requests.hasOwnProperty(e)&&bt.requests[e].abort()}const Ic=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),kr=Ze.WebSocket||Ze.MozWebSocket,ja=!0,R0="arraybuffer",ka=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class L0 extends Tc{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=ka?{}:Cc(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=ja&&!ka?n?new kr(t,n):new kr(t):new kr(t,n,r)}catch(s){return this.emitReserved("error",s)}this.ws.binaryType=this.socket.binaryType||R0,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],s=n===t.length-1;Ec(r,this.supportsBinary,i=>{const o={};try{ja&&this.ws.send(i)}catch{}s&&Ic(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=Mc()),this.supportsBinary||(t.b64=1);const s=Rc(t),i=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(i?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}check(){return!!kr}}const P0={websocket:L0,polling:M0},I0=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,B0=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function vi(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let s=I0.exec(e||""),i={},o=14;for(;o--;)i[B0[o]]=s[o]||"";return n!=-1&&r!=-1&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=D0(i,i.path),i.queryKey=N0(i,i.query),i}function D0(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function N0(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,s,i){s&&(n[s]=i)}),n}let Bc=class vn extends Oe{constructor(t,n={}){super(),this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=vi(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=vi(n.host).host),Ms(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=O0(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(t){const n=Object.assign({},this.opts.query);n.EIO=Oc,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new P0[t](r)}open(){let t;if(this.opts.rememberUpgrade&&vn.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.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(t){let n=this.createTransport(t),r=!1;vn.priorWebsocketSuccess=!1;const s=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",d=>{if(!r)if(d.type==="pong"&&d.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;vn.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function i(){r||(r=!0,u(),n.close(),n=null)}const o=d=>{const f=new Error("probe error: "+d);f.transport=n.name,i(),this.emitReserved("upgradeError",f)};function a(){o("transport closed")}function l(){o("socket closed")}function c(d){n&&d.name!==n.name&&i()}const u=()=>{n.removeListener("open",s),n.removeListener("error",o),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",s),n.once("error",o),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",vn.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t<n;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.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=t.data,this.onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.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 t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const s=this.writeBuffer[r].data;if(s&&(n+=E0(s)),r>0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,s){if(typeof n=="function"&&(s=n,n=void 0),typeof r=="function"&&(s=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const i={type:t,data:n,options:r};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),s&&this.once("flush",s),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{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?r():t()}):this.upgrading?r():t()),this}onError(t){vn.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,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",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const s=t.length;for(;r<s;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}};Bc.protocol=Oc;function F0(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=vi(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const i=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}const H0=typeof ArrayBuffer=="function",V0=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Dc=Object.prototype.toString,$0=typeof Blob=="function"||typeof Blob<"u"&&Dc.call(Blob)==="[object BlobConstructor]",z0=typeof File=="function"||typeof File<"u"&&Dc.call(File)==="[object FileConstructor]";function Zi(e){return H0&&(e instanceof ArrayBuffer||V0(e))||$0&&e instanceof Blob||z0&&e instanceof File}function Vr(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(Vr(e[n]))return!0;return!1}if(Zi(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Vr(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Vr(e[n]))return!0;return!1}function U0(e){const t=[],n=e.data,r=e;return r.data=xi(n,t),r.attachments=t.length,{packet:r,buffers:t}}function xi(e,t){if(!e)return e;if(Zi(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=xi(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=xi(e[r],t));return n}return e}function K0(e,t){return e.data=bi(e.data,t),delete e.attachments,e}function bi(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=bi(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=bi(e[n],t));return e}const W0=5;var se;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(se||(se={}));class q0{constructor(t){this.replacer=t}encode(t){return(t.type===se.EVENT||t.type===se.ACK)&&Vr(t)?this.encodeAsBinary({type:t.type===se.EVENT?se.BINARY_EVENT:se.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===se.BINARY_EVENT||t.type===se.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=U0(t),r=this.encodeAsString(n.packet),s=n.buffers;return s.unshift(r),s}}class eo extends Oe{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===se.BINARY_EVENT;r||n.type===se.BINARY_ACK?(n.type=r?se.EVENT:se.ACK,this.reconstructor=new G0(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Zi(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),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: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(se[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===se.BINARY_EVENT||r.type===se.BINARY_ACK){const i=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const o=t.substring(i,n);if(o!=Number(o)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(o)}if(t.charAt(n+1)==="/"){const i=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(i,n)}else r.nsp="/";const s=t.charAt(n+1);if(s!==""&&Number(s)==s){const i=n+1;for(;++n;){const o=t.charAt(n);if(o==null||Number(o)!=o){--n;break}if(n===t.length)break}r.id=Number(t.substring(i,n+1))}if(t.charAt(++n)){const i=this.tryParse(t.substr(n));if(eo.isPayloadValid(r.type,i))r.data=i;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case se.CONNECT:return typeof n=="object";case se.DISCONNECT:return n===void 0;case se.CONNECT_ERROR:return typeof n=="string"||typeof n=="object";case se.EVENT:case se.BINARY_EVENT:return Array.isArray(n)&&n.length>0;case se.ACK:case se.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class G0{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=K0(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Y0=Object.freeze(Object.defineProperty({__proto__:null,Decoder:eo,Encoder:q0,get PacketType(){return se},protocol:W0},Symbol.toStringTag,{value:"Module"}));function at(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const J0=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Nc extends Oe{constructor(t,n,r){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=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[at(t,"open",this.onopen.bind(this)),at(t,"packet",this.onpacket.bind(this)),at(t,"error",this.onerror.bind(this)),at(t,"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(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(J0.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const r={type:se.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const o=this.ids++,a=n.pop();this._registerAckCallback(o,a),r.id=o}const s=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!s||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){var r;const s=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(s===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===t&&this.sendBuffer.splice(o,1);n.call(this,new Error("operation has timed out"))},s);this.acks[t]=(...o)=>{this.io.clearTimeoutFn(i),n.apply(this,[null,...o])}}emitWithAck(t,...n){const r=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((s,i)=>{n.push((o,a)=>r?o?i(o):s(a):s(o)),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((s,...i)=>r!==this._queue[0]?void 0:(s!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(s)):(this._queue.shift(),n&&n(null,...i)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:se.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case se.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.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 se.EVENT:case se.BINARY_EVENT:this.onevent(t);break;case se.ACK:case se.BINARY_ACK:this.onack(t);break;case se.DISCONNECT:this.ondisconnect();break;case se.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...s){r||(r=!0,n.packet({type:se.ACK,id:t,data:s}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:se.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function Fn(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Fn.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};Fn.prototype.reset=function(){this.attempts=0};Fn.prototype.setMin=function(e){this.ms=e};Fn.prototype.setMax=function(e){this.max=e};Fn.prototype.setJitter=function(e){this.jitter=e};class wi extends Oe{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Ms(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((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Fn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const s=n.parser||Y0;this.encoder=new s.Encoder,this.decoder=new s.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new Bc(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const s=at(n,"open",function(){r.onopen(),t&&t()}),i=at(n,"error",o=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",o),t?t(o):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const o=this._timeout;o===0&&s();const a=this.setTimeoutFn(()=>{s(),n.close(),n.emit("error",new Error("timeout"))},o);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(s),this.subs.push(i),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(at(t,"ping",this.onping.bind(this)),at(t,"data",this.ondata.bind(this)),at(t,"error",this.onerror.bind(this)),at(t,"close",this.onclose.bind(this)),at(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Ic(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new Nc(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),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(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=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 r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(s=>{s?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",s)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const zn={};function $r(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=F0(e,t.path||"/socket.io"),r=n.source,s=n.id,i=n.path,o=zn[s]&&i in zn[s].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||o;let l;return a?l=new wi(r,t):(zn[s]||(zn[s]=new wi(r,t)),l=zn[s]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign($r,{Manager:wi,Socket:Nc,io:$r,connect:$r});const to=Dn({connected:!1}),xt=new $r("http://localhost:9600");xt.onopen=()=>{console.log("WebSocket connection established.")};xt.onclose=e=>{console.log("WebSocket connection closed:",e.code,e.reason)};xt.onerror=e=>{console.error("WebSocket error:",e),xt.disconnect()};xt.on("connect",()=>{to.connected=!0,console.log("WebSocket connected (websocket)")});xt.on("disconnect",()=>{to.connected=!1,console.log("WebSocket disonnected (websocket)")});var X0=function(){function e(t,n){n===void 0&&(n=[]),this._eventType=t,this._eventFunctions=n}return e.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(t._eventType,n)})},e}(),es=globalThis&&globalThis.__assign||function(){return es=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},es.apply(this,arguments)},ts={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(){}},Fc=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=ts),this._items=t,this._options=es(es({},ts),n),this._init()}return e.prototype._init=function(){var t=this;this._items.length&&this._items.map(function(n){n.active&&t.open(n.id),n.triggerEl.addEventListener("click",function(){t.toggle(n.id)})})},e.prototype.getItem=function(t){return this._items.filter(function(n){return n.id===t})[0]},e.prototype.open=function(t){var n,r,s=this,i=this.getItem(t);this._options.alwaysOpen||this._items.map(function(o){var a,l;o!==i&&((a=o.triggerEl.classList).remove.apply(a,s._options.activeClasses.split(" ")),(l=o.triggerEl.classList).add.apply(l,s._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"))}),(n=i.triggerEl.classList).add.apply(n,this._options.activeClasses.split(" ")),(r=i.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),i.triggerEl.setAttribute("aria-expanded","true"),i.targetEl.classList.remove("hidden"),i.active=!0,i.iconEl&&i.iconEl.classList.add("rotate-180"),this._options.onOpen(this,i)},e.prototype.toggle=function(t){var n=this.getItem(t);n.active?this.close(t):this.open(t),this._options.onToggle(this,n)},e.prototype.close=function(t){var n,r,s=this.getItem(t);(n=s.triggerEl.classList).remove.apply(n,this._options.activeClasses.split(" ")),(r=s.triggerEl.classList).add.apply(r,this._options.inactiveClasses.split(" ")),s.targetEl.classList.add("hidden"),s.triggerEl.setAttribute("aria-expanded","false"),s.active=!1,s.iconEl&&s.iconEl.classList.remove("rotate-180"),this._options.onClose(this,s)},e}();typeof window<"u"&&(window.Accordion=Fc);function Hc(){document.querySelectorAll("[data-accordion]").forEach(function(e){var t=e.getAttribute("data-accordion"),n=e.getAttribute("data-active-classes"),r=e.getAttribute("data-inactive-classes"),s=[];e.querySelectorAll("[data-accordion-target]").forEach(function(i){var o={id:i.getAttribute("data-accordion-target"),triggerEl:i,targetEl:document.querySelector(i.getAttribute("data-accordion-target")),iconEl:i.querySelector("[data-accordion-icon]"),active:i.getAttribute("aria-expanded")==="true"};s.push(o)}),new Fc(s,{alwaysOpen:t==="open",activeClasses:n||ts.activeClasses,inactiveClasses:r||ts.inactiveClasses})})}var ns=globalThis&&globalThis.__assign||function(){return ns=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},ns.apply(this,arguments)},Aa={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},Vc=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=Aa),this._targetEl=t,this._triggerEl=n,this._options=ns(ns({},Aa),r),this._visible=!1,this._init()}return e.prototype._init=function(){var t=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(){t.toggle()}))},e.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},e.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},e.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},e}();typeof window<"u"&&(window.Collapse=Vc);function $c(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(e){var t=e.getAttribute("data-collapse-toggle"),n=document.getElementById(t);n?new Vc(n,e):console.error('The target element with id "'.concat(t,'" does not exist. Please check the data-collapse-toggle attribute.'))})}var sn=globalThis&&globalThis.__assign||function(){return sn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},sn.apply(this,arguments)},zr={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(){}},zc=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=zr),this._items=t,this._options=sn(sn(sn({},zr),n),{indicators:sn(sn({},zr.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 e.prototype._init=function(){var t=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,r){n.el.addEventListener("click",function(){t.slideTo(r)})})},e.prototype.getItem=function(t){return this._items[t]},e.prototype.slideTo=function(t){var n=this._items[t],r={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(r),this._setActiveItem(n),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},e.prototype.next=function(){var t=this._getActiveItem(),n=null;t.position===this._items.length-1?n=this._items[0]:n=this._items[t.position+1],this.slideTo(n.position),this._options.onNext(this)},e.prototype.prev=function(){var t=this._getActiveItem(),n=null;t.position===0?n=this._items[this._items.length-1]:n=this._items[t.position-1],this.slideTo(n.position),this._options.onPrev(this)},e.prototype._rotate=function(t){this._items.map(function(n){n.el.classList.add("hidden")}),t.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.left.el.classList.add("-translate-x-full","z-10"),t.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),t.middle.el.classList.add("translate-x-0","z-20"),t.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.right.el.classList.add("translate-x-full","z-10")},e.prototype.cycle=function(){var t=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){t.next()},this._intervalDuration))},e.prototype.pause=function(){clearInterval(this._intervalInstance)},e.prototype._getActiveItem=function(){return this._activeItem},e.prototype._setActiveItem=function(t){var n,r,s=this;this._activeItem=t;var i=t.position;this._indicators.length&&(this._indicators.map(function(o){var a,l;o.el.setAttribute("aria-current","false"),(a=o.el.classList).remove.apply(a,s._options.indicators.activeClasses.split(" ")),(l=o.el.classList).add.apply(l,s._options.indicators.inactiveClasses.split(" "))}),(n=this._indicators[i].el.classList).add.apply(n,this._options.indicators.activeClasses.split(" ")),(r=this._indicators[i].el.classList).remove.apply(r,this._options.indicators.inactiveClasses.split(" ")),this._indicators[i].el.setAttribute("aria-current","true"))},e}();typeof window<"u"&&(window.Carousel=zc);function Uc(){document.querySelectorAll("[data-carousel]").forEach(function(e){var t=e.getAttribute("data-carousel-interval"),n=e.getAttribute("data-carousel")==="slide",r=[],s=0;e.querySelectorAll("[data-carousel-item]").length&&Array.from(e.querySelectorAll("[data-carousel-item]")).map(function(c,u){r.push({position:u,el:c}),c.getAttribute("data-carousel-item")==="active"&&(s=u)});var i=[];e.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(e.querySelectorAll("[data-carousel-slide-to]")).map(function(c){i.push({position:parseInt(c.getAttribute("data-carousel-slide-to")),el:c})});var o=new zc(r,{defaultPosition:s,indicators:{items:i},interval:t||zr.interval});n&&o.cycle();var a=e.querySelector("[data-carousel-next]"),l=e.querySelector("[data-carousel-prev]");a&&a.addEventListener("click",function(){o.next()}),l&&l.addEventListener("click",function(){o.prev()})})}var rs=globalThis&&globalThis.__assign||function(){return rs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},rs.apply(this,arguments)},Oa={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},Kc=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=Oa),this._targetEl=t,this._triggerEl=n,this._options=rs(rs({},Oa),r),this._init()}return e.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){t.hide()})},e.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){t._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},e}();typeof window<"u"&&(window.Dismiss=Kc);function Wc(){document.querySelectorAll("[data-dismiss-target]").forEach(function(e){var t=e.getAttribute("data-dismiss-target"),n=document.querySelector(t);n?new Kc(n,e):console.error('The dismiss element with id "'.concat(t,'" does not exist. Please check the data-dismiss-target attribute.'))})}var $e="top",rt="bottom",st="right",ze="left",no="auto",yr=[$e,rt,st,ze],Sn="start",fr="end",Q0="clippingParents",qc="viewport",Un="popper",Z0="reference",Ca=yr.reduce(function(e,t){return e.concat([t+"-"+Sn,t+"-"+fr])},[]),Gc=[].concat(yr,[no]).reduce(function(e,t){return e.concat([t,t+"-"+Sn,t+"-"+fr])},[]),ey="beforeRead",ty="read",ny="afterRead",ry="beforeMain",sy="main",iy="afterMain",oy="beforeWrite",ay="write",ly="afterWrite",cy=[ey,ty,ny,ry,sy,iy,oy,ay,ly];function jt(e){return e?(e.nodeName||"").toLowerCase():null}function Ge(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function hn(e){var t=Ge(e).Element;return e instanceof t||e instanceof Element}function nt(e){var t=Ge(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ro(e){if(typeof ShadowRoot>"u")return!1;var t=Ge(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function uy(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},i=t.elements[n];!nt(i)||!jt(i)||(Object.assign(i.style,r),Object.keys(s).forEach(function(o){var a=s[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function dy(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(l,c){return l[c]="",l},{});!nt(s)||!jt(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(l){s.removeAttribute(l)}))})}}const fy={name:"applyStyles",enabled:!0,phase:"write",fn:uy,effect:dy,requires:["computeStyles"]};function wt(e){return e.split("-")[0]}var fn=Math.max,ss=Math.min,Mn=Math.round;function _i(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Yc(){return!/^((?!chrome|android).)*safari/i.test(_i())}function Rn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,i=1;t&&nt(e)&&(s=e.offsetWidth>0&&Mn(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Mn(r.height)/e.offsetHeight||1);var o=hn(e)?Ge(e):window,a=o.visualViewport,l=!Yc()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/s,u=(r.top+(l&&a?a.offsetTop:0))/i,d=r.width/s,f=r.height/i;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function so(e){var t=Rn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Jc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ro(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Lt(e){return Ge(e).getComputedStyle(e)}function hy(e){return["table","td","th"].indexOf(jt(e))>=0}function Yt(e){return((hn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rs(e){return jt(e)==="html"?e:e.assignedSlot||e.parentNode||(ro(e)?e.host:null)||Yt(e)}function Ta(e){return!nt(e)||Lt(e).position==="fixed"?null:e.offsetParent}function py(e){var t=/firefox/i.test(_i()),n=/Trident/i.test(_i());if(n&&nt(e)){var r=Lt(e);if(r.position==="fixed")return null}var s=Rs(e);for(ro(s)&&(s=s.host);nt(s)&&["html","body"].indexOf(jt(s))<0;){var i=Lt(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function mr(e){for(var t=Ge(e),n=Ta(e);n&&hy(n)&&Lt(n).position==="static";)n=Ta(n);return n&&(jt(n)==="html"||jt(n)==="body"&&Lt(n).position==="static")?t:n||py(e)||t}function io(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function er(e,t,n){return fn(e,ss(t,n))}function gy(e,t,n){var r=er(e,t,n);return r>n?n:r}function Xc(){return{top:0,right:0,bottom:0,left:0}}function Qc(e){return Object.assign({},Xc(),e)}function Zc(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var yy=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Qc(typeof t!="number"?t:Zc(t,yr))};function my(e){var t,n=e.state,r=e.name,s=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=wt(n.placement),l=io(a),c=[ze,st].indexOf(a)>=0,u=c?"height":"width";if(!(!i||!o)){var d=yy(s.padding,n),f=so(i),p=l==="y"?$e:ze,g=l==="y"?rt:st,y=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],_=o[l]-n.rects.reference[l],w=mr(i),x=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,b=y/2-_/2,E=d[p],S=x-f[u]-d[g],P=x/2-f[u]/2+b,D=er(E,P,S),I=l;n.modifiersData[r]=(t={},t[I]=D,t.centerOffset=D-P,t)}}function vy(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||Jc(t.elements.popper,s)&&(t.elements.arrow=s))}const xy={name:"arrow",enabled:!0,phase:"main",fn:my,effect:vy,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ln(e){return e.split("-")[1]}var by={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wy(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Mn(n*s)/s||0,y:Mn(r*s)/s||0}}function Sa(e){var t,n=e.popper,r=e.popperRect,s=e.placement,i=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,g=o.y,y=g===void 0?0:g,_=typeof u=="function"?u({x:p,y}):{x:p,y};p=_.x,y=_.y;var w=o.hasOwnProperty("x"),x=o.hasOwnProperty("y"),b=ze,E=$e,S=window;if(c){var P=mr(n),D="clientHeight",I="clientWidth";if(P===Ge(n)&&(P=Yt(n),Lt(P).position!=="static"&&a==="absolute"&&(D="scrollHeight",I="scrollWidth")),P=P,s===$e||(s===ze||s===st)&&i===fr){E=rt;var W=d&&P===S&&S.visualViewport?S.visualViewport.height:P[D];y-=W-r.height,y*=l?1:-1}if(s===ze||(s===$e||s===rt)&&i===fr){b=st;var K=d&&P===S&&S.visualViewport?S.visualViewport.width:P[I];p-=K-r.width,p*=l?1:-1}}var X=Object.assign({position:a},c&&by),ce=u===!0?wy({x:p,y},Ge(n)):{x:p,y};if(p=ce.x,y=ce.y,l){var ue;return Object.assign({},X,(ue={},ue[E]=x?"0":"",ue[b]=w?"0":"",ue.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+y+"px)":"translate3d("+p+"px, "+y+"px, 0)",ue))}return Object.assign({},X,(t={},t[E]=x?y+"px":"",t[b]=w?p+"px":"",t.transform="",t))}function _y(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:wt(t.placement),variation:Ln(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Sa(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Sa(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ey={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_y,data:{}};var Ar={passive:!0};function jy(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,i=s===void 0?!0:s,o=r.resize,a=o===void 0?!0:o,l=Ge(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,Ar)}),a&&l.addEventListener("resize",n.update,Ar),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Ar)}),a&&l.removeEventListener("resize",n.update,Ar)}}const ky={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:jy,data:{}};var Ay={left:"right",right:"left",bottom:"top",top:"bottom"};function Ur(e){return e.replace(/left|right|bottom|top/g,function(t){return Ay[t]})}var Oy={start:"end",end:"start"};function Ma(e){return e.replace(/start|end/g,function(t){return Oy[t]})}function oo(e){var t=Ge(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ao(e){return Rn(Yt(e)).left+oo(e).scrollLeft}function Cy(e,t){var n=Ge(e),r=Yt(e),s=n.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,l=0;if(s){i=s.width,o=s.height;var c=Yc();(c||!c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:i,height:o,x:a+ao(e),y:l}}function Ty(e){var t,n=Yt(e),r=oo(e),s=(t=e.ownerDocument)==null?void 0:t.body,i=fn(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=fn(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+ao(e),l=-r.scrollTop;return Lt(s||n).direction==="rtl"&&(a+=fn(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function lo(e){var t=Lt(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function eu(e){return["html","body","#document"].indexOf(jt(e))>=0?e.ownerDocument.body:nt(e)&&lo(e)?e:eu(Rs(e))}function tr(e,t){var n;t===void 0&&(t=[]);var r=eu(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ge(r),o=s?[i].concat(i.visualViewport||[],lo(r)?r:[]):r,a=t.concat(o);return s?a:a.concat(tr(Rs(o)))}function Ei(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Sy(e,t){var n=Rn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ra(e,t,n){return t===qc?Ei(Cy(e,n)):hn(t)?Sy(t,n):Ei(Ty(Yt(e)))}function My(e){var t=tr(Rs(e)),n=["absolute","fixed"].indexOf(Lt(e).position)>=0,r=n&&nt(e)?mr(e):e;return hn(r)?t.filter(function(s){return hn(s)&&Jc(s,r)&&jt(s)!=="body"}):[]}function Ry(e,t,n,r){var s=t==="clippingParents"?My(e):[].concat(t),i=[].concat(s,[n]),o=i[0],a=i.reduce(function(l,c){var u=Ra(e,c,r);return l.top=fn(u.top,l.top),l.right=ss(u.right,l.right),l.bottom=ss(u.bottom,l.bottom),l.left=fn(u.left,l.left),l},Ra(e,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function tu(e){var t=e.reference,n=e.element,r=e.placement,s=r?wt(r):null,i=r?Ln(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case $e:l={x:o,y:t.y-n.height};break;case rt:l={x:o,y:t.y+t.height};break;case st:l={x:t.x+t.width,y:a};break;case ze:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=s?io(s):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case Sn:l[c]=l[c]-(t[u]/2-n[u]/2);break;case fr:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function hr(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,i=n.strategy,o=i===void 0?e.strategy:i,a=n.boundary,l=a===void 0?Q0:a,c=n.rootBoundary,u=c===void 0?qc:c,d=n.elementContext,f=d===void 0?Un:d,p=n.altBoundary,g=p===void 0?!1:p,y=n.padding,_=y===void 0?0:y,w=Qc(typeof _!="number"?_:Zc(_,yr)),x=f===Un?Z0:Un,b=e.rects.popper,E=e.elements[g?x:f],S=Ry(hn(E)?E:E.contextElement||Yt(e.elements.popper),l,u,o),P=Rn(e.elements.reference),D=tu({reference:P,element:b,strategy:"absolute",placement:s}),I=Ei(Object.assign({},b,D)),W=f===Un?I:P,K={top:S.top-W.top+w.top,bottom:W.bottom-S.bottom+w.bottom,left:S.left-W.left+w.left,right:W.right-S.right+w.right},X=e.modifiersData.offset;if(f===Un&&X){var ce=X[s];Object.keys(K).forEach(function(ue){var we=[st,rt].indexOf(ue)>=0?1:-1,Re=[$e,rt].indexOf(ue)>=0?"y":"x";K[ue]+=ce[Re]*we})}return K}function Ly(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Gc:l,u=Ln(r),d=u?a?Ca:Ca.filter(function(g){return Ln(g)===u}):yr,f=d.filter(function(g){return c.indexOf(g)>=0});f.length===0&&(f=d);var p=f.reduce(function(g,y){return g[y]=hr(e,{placement:y,boundary:s,rootBoundary:i,padding:o})[wt(y)],g},{});return Object.keys(p).sort(function(g,y){return p[g]-p[y]})}function Py(e){if(wt(e)===no)return[];var t=Ur(e);return[Ma(e),t,Ma(t)]}function Iy(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,y=n.allowedAutoPlacements,_=t.options.placement,w=wt(_),x=w===_,b=l||(x||!g?[Ur(_)]:Py(_)),E=[_].concat(b).reduce(function(je,k){return je.concat(wt(k)===no?Ly(t,{placement:k,boundary:u,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:y}):k)},[]),S=t.rects.reference,P=t.rects.popper,D=new Map,I=!0,W=E[0],K=0;K<E.length;K++){var X=E[K],ce=wt(X),ue=Ln(X)===Sn,we=[$e,rt].indexOf(ce)>=0,Re=we?"width":"height",ne=hr(t,{placement:X,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),q=we?ue?st:ze:ue?rt:$e;S[Re]>P[Re]&&(q=Ur(q));var ee=Ur(q),he=[];if(i&&he.push(ne[ce]<=0),a&&he.push(ne[q]<=0,ne[ee]<=0),he.every(function(je){return je})){W=X,I=!1;break}D.set(X,he)}if(I)for(var Fe=g?3:1,xe=function(k){var N=E.find(function(B){var V=D.get(B);if(V)return V.slice(0,k).every(function(re){return re})});if(N)return W=N,"break"},pe=Fe;pe>0;pe--){var Le=xe(pe);if(Le==="break")break}t.placement!==W&&(t.modifiersData[r]._skip=!0,t.placement=W,t.reset=!0)}}const By={name:"flip",enabled:!0,phase:"main",fn:Iy,requiresIfExists:["offset"],data:{_skip:!1}};function La(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Pa(e){return[$e,st,rt,ze].some(function(t){return e[t]>=0})}function Dy(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,i=t.modifiersData.preventOverflow,o=hr(t,{elementContext:"reference"}),a=hr(t,{altBoundary:!0}),l=La(o,r),c=La(a,s,i),u=Pa(l),d=Pa(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const Ny={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Dy};function Fy(e,t,n){var r=wt(e),s=[ze,$e].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*s,[ze,st].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function Hy(e){var t=e.state,n=e.options,r=e.name,s=n.offset,i=s===void 0?[0,0]:s,o=Gc.reduce(function(u,d){return u[d]=Fy(d,t.rects,i),u},{}),a=o[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=o}const Vy={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Hy};function $y(e){var t=e.state,n=e.name;t.modifiersData[n]=tu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const zy={name:"popperOffsets",enabled:!0,phase:"read",fn:$y,data:{}};function Uy(e){return e==="x"?"y":"x"}function Ky(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,g=n.tetherOffset,y=g===void 0?0:g,_=hr(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),w=wt(t.placement),x=Ln(t.placement),b=!x,E=io(w),S=Uy(E),P=t.modifiersData.popperOffsets,D=t.rects.reference,I=t.rects.popper,W=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,K=typeof W=="number"?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),X=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ce={x:0,y:0};if(P){if(i){var ue,we=E==="y"?$e:ze,Re=E==="y"?rt:st,ne=E==="y"?"height":"width",q=P[E],ee=q+_[we],he=q-_[Re],Fe=p?-I[ne]/2:0,xe=x===Sn?D[ne]:I[ne],pe=x===Sn?-I[ne]:-D[ne],Le=t.elements.arrow,je=p&&Le?so(Le):{width:0,height:0},k=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Xc(),N=k[we],B=k[Re],V=er(0,D[ne],je[ne]),re=b?D[ne]/2-Fe-V-N-K.mainAxis:xe-V-N-K.mainAxis,ye=b?-D[ne]/2+Fe+V+B+K.mainAxis:pe+V+B+K.mainAxis,Q=t.elements.arrow&&mr(t.elements.arrow),h=Q?E==="y"?Q.clientTop||0:Q.clientLeft||0:0,m=(ue=X==null?void 0:X[E])!=null?ue:0,j=q+re-m-h,A=q+ye-m,C=er(p?ss(ee,j):ee,q,p?fn(he,A):he);P[E]=C,ce[E]=C-q}if(a){var R,F=E==="x"?$e:ze,M=E==="x"?rt:st,L=P[S],T=S==="y"?"height":"width",z=L+_[F],H=L-_[M],$=[$e,ze].indexOf(w)!==-1,J=(R=X==null?void 0:X[S])!=null?R:0,te=$?z:L-D[T]-I[T]-J+K.altAxis,de=$?L+D[T]+I[T]-J-K.altAxis:H,le=p&&$?gy(te,L,de):er(p?te:z,L,p?de:H);P[S]=le,ce[S]=le-L}t.modifiersData[r]=ce}}const Wy={name:"preventOverflow",enabled:!0,phase:"main",fn:Ky,requiresIfExists:["offset"]};function qy(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Gy(e){return e===Ge(e)||!nt(e)?oo(e):qy(e)}function Yy(e){var t=e.getBoundingClientRect(),n=Mn(t.width)/e.offsetWidth||1,r=Mn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Jy(e,t,n){n===void 0&&(n=!1);var r=nt(t),s=nt(t)&&Yy(t),i=Yt(t),o=Rn(e,s,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((jt(t)!=="body"||lo(i))&&(a=Gy(t)),nt(t)?(l=Rn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=ao(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Xy(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function s(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||s(i)}),r}function Qy(e){var t=Xy(e);return cy.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function Zy(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function em(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ia={placement:"bottom",modifiers:[],strategy:"absolute"};function Ba(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function tm(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,s=t.defaultOptions,i=s===void 0?Ia:s;return function(a,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ia,i),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],f=!1,p={state:u,setOptions:function(w){var x=typeof w=="function"?w(u.options):w;y(),u.options=Object.assign({},i,u.options,x),u.scrollParents={reference:hn(a)?tr(a):a.contextElement?tr(a.contextElement):[],popper:tr(l)};var b=Qy(em([].concat(r,u.options.modifiers)));return u.orderedModifiers=b.filter(function(E){return E.enabled}),g(),p.update()},forceUpdate:function(){if(!f){var w=u.elements,x=w.reference,b=w.popper;if(Ba(x,b)){u.rects={reference:Jy(x,mr(b),u.options.strategy==="fixed"),popper:so(b)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(K){return u.modifiersData[K.name]=Object.assign({},K.data)});for(var E=0;E<u.orderedModifiers.length;E++){if(u.reset===!0){u.reset=!1,E=-1;continue}var S=u.orderedModifiers[E],P=S.fn,D=S.options,I=D===void 0?{}:D,W=S.name;typeof P=="function"&&(u=P({state:u,options:I,name:W,instance:p})||u)}}}},update:Zy(function(){return new Promise(function(_){p.forceUpdate(),_(u)})}),destroy:function(){y(),f=!0}};if(!Ba(a,l))return p;p.setOptions(c).then(function(_){!f&&c.onFirstUpdate&&c.onFirstUpdate(_)});function g(){u.orderedModifiers.forEach(function(_){var w=_.name,x=_.options,b=x===void 0?{}:x,E=_.effect;if(typeof E=="function"){var S=E({state:u,name:w,instance:p,options:b}),P=function(){};d.push(S||P)}})}function y(){d.forEach(function(_){return _()}),d=[]}return p}}var nm=[ky,zy,Ey,fy,Vy,By,Wy,xy,Ny],co=tm({defaultModifiers:nm}),Vt=globalThis&&globalThis.__assign||function(){return Vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},Vt.apply(this,arguments)},Or=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},on={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},nu=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=on),this._targetEl=t,this._triggerEl=n,this._options=Vt(Vt({},on),r),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return e.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();this._options.triggerType==="click"&&n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.toggle()})}),this._options.triggerType==="hover"&&(n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){r==="click"?t.toggle():setTimeout(function(){t.show()},t._options.delay)}),t._targetEl.addEventListener(r,function(){t.show()})}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},t._options.delay)}),t._targetEl.addEventListener(r,function(){setTimeout(function(){t._triggerEl.matches(":hover")||t.hide()},t._options.delay)})}))},e.prototype._createPopperInstance=function(){return co(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target;r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&this.isVisible()&&this.hide()},e.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:[]}}},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},e.prototype.isVisible=function(){return this._visible},e.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(t){return Vt(Vt({},t),{modifiers:Or(Or([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(t){return Vt(Vt({},t),{modifiers:Or(Or([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},e}();typeof window<"u"&&(window.Dropdown=nu);function ru(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(e){var t=e.getAttribute("data-dropdown-toggle"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-dropdown-placement"),s=e.getAttribute("data-dropdown-offset-skidding"),i=e.getAttribute("data-dropdown-offset-distance"),o=e.getAttribute("data-dropdown-trigger"),a=e.getAttribute("data-dropdown-delay");new nu(n,e,{placement:r||on.placement,triggerType:o||on.triggerType,offsetSkidding:s?parseInt(s):on.offsetSkidding,offsetDistance:i?parseInt(i):on.offsetDistance,delay:a?parseInt(a):on.delay})}else console.error('The dropdown element with id "'.concat(t,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}var is=globalThis&&globalThis.__assign||function(){return is=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},is.apply(this,arguments)},xn={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(){}},ji=function(){function e(t,n){t===void 0&&(t=null),n===void 0&&(n=xn),this._targetEl=t,this._options=is(is({},xn),n),this._isHidden=!0,this._backdropEl=null,this._init()}return e.prototype._init=function(){var t=this;this._targetEl&&this._getPlacementClasses().map(function(n){t._targetEl.classList.add(n)})},e.prototype._createBackdrop=function(){var t;if(this._isHidden){var n=document.createElement("div");n.setAttribute("modal-backdrop",""),(t=n.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(n),this._backdropEl=n}},e.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},e.prototype._setupModalCloseEventListeners=function(){var t=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(n){t._handleOutsideClick(n.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},e.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"]}},e.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},e.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))},e.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))},e.prototype.isVisible=function(){return!this._isHidden},e.prototype.isHidden=function(){return this._isHidden},e}();typeof window<"u"&&(window.Modal=ji);var Cr=function(e,t){return t.some(function(n){return n.id===e})?t.find(function(n){return n.id===e}):null};function su(){var e=[];document.querySelectorAll("[data-modal-target]").forEach(function(t){var n=t.getAttribute("data-modal-target"),r=document.getElementById(n);if(r){var s=r.getAttribute("data-modal-placement"),i=r.getAttribute("data-modal-backdrop");Cr(n,e)||e.push({id:n,object:new ji(r,{placement:s||xn.placement,backdrop:i||xn.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(t){var n=t.getAttribute("data-modal-toggle"),r=document.getElementById(n);if(r){var s=r.getAttribute("data-modal-placement"),i=r.getAttribute("data-modal-backdrop"),o=Cr(n,e);o||(o={id:n,object:new ji(r,{placement:s||xn.placement,backdrop:i||xn.backdrop})},e.push(o)),t.addEventListener("click",function(){o.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(t){var n=t.getAttribute("data-modal-show"),r=document.getElementById(n);if(r){var s=Cr(n,e);s?t.addEventListener("click",function(){s.object.isHidden&&s.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(t){var n=t.getAttribute("data-modal-hide"),r=document.getElementById(n);if(r){var s=Cr(n,e);s?t.addEventListener("click",function(){s.object.isVisible&&s.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 os=globalThis&&globalThis.__assign||function(){return os=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},os.apply(this,arguments)},an={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(){}},iu=function(){function e(t,n){t===void 0&&(t=null),n===void 0&&(n=an),this._targetEl=t,this._options=os(os({},an),n),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(n){t._targetEl.classList.add(n)}),document.addEventListener("keydown",function(n){n.key==="Escape"&&t.isVisible()&&t.hide()})},e.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){t._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){t._targetEl.classList.add(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){t._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){t._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)},e.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){t._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){t._targetEl.classList.remove(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){t._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){t._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)},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},e.prototype._createBackdrop=function(){var t,n=this;if(!this._visible){var r=document.createElement("div");r.setAttribute("drawer-backdrop",""),(t=r.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(r),r.addEventListener("click",function(){n.hide()})}},e.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},e.prototype._getPlacementClasses=function(t){switch(t){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"]}}},e.prototype.isHidden=function(){return!this._visible},e.prototype.isVisible=function(){return this._visible},e}();typeof window<"u"&&(window.Drawer=iu);var Tr=function(e,t){if(t.some(function(n){return n.id===e}))return t.find(function(n){return n.id===e})};function ou(){var e=[];document.querySelectorAll("[data-drawer-target]").forEach(function(t){var n=t.getAttribute("data-drawer-target"),r=document.getElementById(n);if(r){var s=t.getAttribute("data-drawer-placement"),i=t.getAttribute("data-drawer-body-scrolling"),o=t.getAttribute("data-drawer-backdrop"),a=t.getAttribute("data-drawer-edge"),l=t.getAttribute("data-drawer-edge-offset");Tr(n,e)||e.push({id:n,object:new iu(r,{placement:s||an.placement,bodyScrolling:i?i==="true":an.bodyScrolling,backdrop:o?o==="true":an.backdrop,edge:a?a==="true":an.edge,edgeOffset:l||an.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(t){var n=t.getAttribute("data-drawer-toggle"),r=document.getElementById(n);if(r){var s=Tr(n,e);s?t.addEventListener("click",function(){s.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(t){var n=t.getAttribute("data-drawer-dismiss")?t.getAttribute("data-drawer-dismiss"):t.getAttribute("data-drawer-hide"),r=document.getElementById(n);if(r){var s=Tr(n,e);s?t.addEventListener("click",function(){s.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(t){var n=t.getAttribute("data-drawer-show"),r=document.getElementById(n);if(r){var s=Tr(n,e);s?t.addEventListener("click",function(){s.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 as=globalThis&&globalThis.__assign||function(){return as=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},as.apply(this,arguments)},Da={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(){}},au=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=Da),this._items=t,this._activeTab=n?this.getTab(n.defaultTabId):null,this._options=as(as({},Da),n),this._init()}return e.prototype._init=function(){var t=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(){t.show(n.id)})}))},e.prototype.getActiveTab=function(){return this._activeTab},e.prototype._setActiveTab=function(t){this._activeTab=t},e.prototype.getTab=function(t){return this._items.filter(function(n){return n.id===t})[0]},e.prototype.show=function(t,n){var r,s,i=this;n===void 0&&(n=!1);var o=this.getTab(t);o===this._activeTab&&!n||(this._items.map(function(a){var l,c;a!==o&&((l=a.triggerEl.classList).remove.apply(l,i._options.activeClasses.split(" ")),(c=a.triggerEl.classList).add.apply(c,i._options.inactiveClasses.split(" ")),a.targetEl.classList.add("hidden"),a.triggerEl.setAttribute("aria-selected","false"))}),(r=o.triggerEl.classList).add.apply(r,this._options.activeClasses.split(" ")),(s=o.triggerEl.classList).remove.apply(s,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-selected","true"),o.targetEl.classList.remove("hidden"),this._setActiveTab(o),this._options.onShow(this,o))},e}();typeof window<"u"&&(window.Tabs=au);function lu(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(e){var t=[],n=null;e.querySelectorAll('[role="tab"]').forEach(function(r){var s=r.getAttribute("aria-selected")==="true",i={id:r.getAttribute("data-tabs-target"),triggerEl:r,targetEl:document.querySelector(r.getAttribute("data-tabs-target"))};t.push(i),s&&(n=i.id)}),new au(t,{defaultTabId:n})})}var $t=globalThis&&globalThis.__assign||function(){return $t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},$t.apply(this,arguments)},Sr=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},ls={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},cu=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=ls),this._targetEl=t,this._triggerEl=n,this._options=$t($t({},ls),r),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return e.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.show()})}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.hide()})})},e.prototype._createPopperInstance=function(){return co(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},e.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"]}}},e.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target;r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&this.isVisible()&&this.hide()},e.prototype.isVisible=function(){return this._visible},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},e.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return $t($t({},t),{modifiers:Sr(Sr([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return $t($t({},t),{modifiers:Sr(Sr([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},e}();typeof window<"u"&&(window.Tooltip=cu);function uu(){document.querySelectorAll("[data-tooltip-target]").forEach(function(e){var t=e.getAttribute("data-tooltip-target"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-tooltip-trigger"),s=e.getAttribute("data-tooltip-placement");new cu(n,e,{placement:s||ls.placement,triggerType:r||ls.triggerType})}else console.error('The tooltip element with id "'.concat(t,'" does not exist. Please check the data-tooltip-target attribute.'))})}var zt=globalThis&&globalThis.__assign||function(){return zt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},zt.apply(this,arguments)},Mr=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},nr={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},du=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=nr),this._targetEl=t,this._triggerEl=n,this._options=zt(zt({},nr),r),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return e.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.show()}),t._targetEl.addEventListener(r,function(){t.show()})}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},100)}),t._targetEl.addEventListener(r,function(){setTimeout(function(){t._triggerEl.matches(":hover")||t.hide()},100)})})},e.prototype._createPopperInstance=function(){return co(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},e.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"]}}},e.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target;r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&this.isVisible()&&this.hide()},e.prototype.isVisible=function(){return this._visible},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},e.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return zt(zt({},t),{modifiers:Mr(Mr([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return zt(zt({},t),{modifiers:Mr(Mr([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},e}();typeof window<"u"&&(window.Popover=du);function fu(){document.querySelectorAll("[data-popover-target]").forEach(function(e){var t=e.getAttribute("data-popover-target"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-popover-trigger"),s=e.getAttribute("data-popover-placement"),i=e.getAttribute("data-popover-offset");new du(n,e,{placement:s||nr.placement,offset:i?parseInt(i):nr.offset,triggerType:r||nr.triggerType})}else console.error('The popover element with id "'.concat(t,'" does not exist. Please check the data-popover-target attribute.'))})}var cs=globalThis&&globalThis.__assign||function(){return cs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},cs.apply(this,arguments)},ki={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},hu=function(){function e(t,n,r,s){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=null),s===void 0&&(s=ki),this._parentEl=t,this._triggerEl=n,this._targetEl=r,this._options=cs(cs({},ki),s),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;if(this._triggerEl){var n=this._getTriggerEventTypes(this._options.triggerType);n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.show()}),t._targetEl.addEventListener(r,function(){t.show()})}),n.hideEvents.forEach(function(r){t._parentEl.addEventListener(r,function(){t._parentEl.matches(":hover")||t.hide()})})}},e.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},e.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},e.prototype.toggle=function(){this._visible?this.hide():this.show()},e.prototype.isHidden=function(){return!this._visible},e.prototype.isVisible=function(){return this._visible},e.prototype._getTriggerEventTypes=function(t){switch(t){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"]}}},e}();typeof window<"u"&&(window.Dial=hu);function pu(){document.querySelectorAll("[data-dial-init]").forEach(function(e){var t=e.querySelector("[data-dial-toggle]");if(t){var n=t.getAttribute("data-dial-toggle"),r=document.getElementById(n);if(r){var s=t.getAttribute("data-dial-trigger");new hu(e,t,r,{triggerType:s||ki.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(e.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}function rm(){Hc(),$c(),Uc(),Wc(),ru(),su(),ou(),lu(),uu(),fu(),pu()}var sm=new X0("load",[Hc,$c,Uc,Wc,ru,su,ou,lu,uu,fu,pu]);sm.init();const Ye=e=>(xd("data-v-5ac9e2c3"),e=e(),bd(),e),im={class:"overflow-y-scroll flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},om={class:"z-10 sticky top-0 flex-col bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},am={class:"flex-row p-4 items-center gap-3 flex-0 w-full"},lm={class:"relative"},cm=Ye(()=>v("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[v("div",{class:"scale-75"},[v("i",{"data-feather":"search"})])],-1)),um={class:"absolute inset-y-0 right-0 flex items-center pr-3"},dm=Ye(()=>v("i",{"data-feather":"x"},null,-1)),fm=[dm],hm={class:"flex-row p-4 pt-0 flex items-center gap-3 flex-0"},pm=Ye(()=>v("i",{"data-feather":"plus"},null,-1)),gm=[pm],ym=Ye(()=>v("i",{"data-feather":"check-square"},null,-1)),mm=[ym],vm=Ye(()=>v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[v("i",{"data-feather":"refresh-ccw"})],-1)),xm=Ye(()=>v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[v("i",{"data-feather":"database"})],-1)),bm={key:0,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},wm={key:1,class:"flex flex-row flex-grow p-4 pt-0 items-center"},_m={class:"flex flex-row flex-grow gap-3"},Em={key:0},jm={class:"flex flex-row gap-3"},km=Ye(()=>v("i",{"data-feather":"list"},null,-1)),Am=[km],Om=Ye(()=>v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button"},[v("i",{"data-feather":"log-out"})],-1)),Cm={key:0,class:"flex flex-row gap-3"},Tm=Ye(()=>v("i",{"data-feather":"trash"},null,-1)),Sm=[Tm],Mm={key:1,class:"flex gap-3 flex-1 items-center justify-end group-hover:visible duration-75"},Rm=Ye(()=>v("i",{"data-feather":"check"},null,-1)),Lm=[Rm],Pm=Ye(()=>v("i",{"data-feather":"x"},null,-1)),Im=[Pm],Bm={class:"relative overflow-y-scroll no-scrollbar"},Dm={key:0,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"},Nm=Ye(()=>v("p",{class:"px-3"},"No discussions are found",-1)),Fm=[Nm],Hm=Ye(()=>v("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex height-64"},null,-1)),Vm={class:"overflow-y-scroll flex flex-col no-scrollbar flex-grow",id:"messages-list"},$m={class:"sticky bottom-0"},zm={setup(){},data(){return{list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav")}},methods:{async list_discussions(){try{const e=await Qe.get("/list_discussions");if(e)return this.createDiscussionList(e.data),e.data}catch(e){return console.log("Error: Could not list discussions",e),[]}},async load_discussion(e){try{if(e){this.loading=!0,this.setDiscussionLoading(e,this.loading);const t=await Qe.post("/load_discussion",{id:e});this.loading=!1,this.setDiscussionLoading(e,this.loading),t&&(this.discussionArr=t.data.filter(r=>r.type==0),this.discussionArr[this.discussionArr.length-1]&&Me(()=>{const r=document.getElementById("messages-list");this.scrollBottom(r)}))}}catch(t){console.log(t),this.loading=!1,this.setDiscussionLoading(e,this.loading)}},async new_discussion(e){try{const t=await Qe.get("/new_discussion",{params:{title:e}});if(t)return t.data}catch(t){return console.log("Error: Could not create new discussion",t),{}}},async delete_discussion(e){try{if(e){this.loading=!0,this.setDiscussionLoading(e,this.loading);const t=await Qe.post("/delete_discussion",{id:e});this.loading=!1,this.setDiscussionLoading(e,this.loading)}}catch(t){console.log("Error: Could not delete discussion",t),this.loading=!1,this.setDiscussionLoading(e,this.loading)}},async edit_title(e,t){try{if(e){this.loading=!0,this.setDiscussionLoading(e,this.loading);const n=await Qe.post("/edit_title",{id:e,title:t});if(this.loading=!1,this.setDiscussionLoading(e,this.loading),n.status==200){const r=this.list.findIndex(i=>i.id==e),s=this.list[r];s.title=t,this.tempList=this.list}}}catch(n){console.log("Error: Could not edit title",n),this.loading=!1,this.setDiscussionLoading(e,this.loading)}},async stop_gen(){try{const e=await Qe.get("/stop_gen");if(e)return e.data}catch(e){return console.log("Error: Could not stop generating",e),{}}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.list=this.tempList.filter(e=>e.title&&e.title.includes(this.filterTitle)),this.filterInProgress=!1},100))},async selectDiscussion(e){e&&(this.currentDiscussion=e,this.setPageTitle(e),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(e.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content),Me(()=>{const t=document.getElementById("dis-"+e.id);this.scrollToElement(t)}))},scrollToElement(e){e?e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollBottom(e){e?e.scrollTo({top:e.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},createUserMsg(e){let t={content:e.message,id:e.id,rank:0,sender:e.user};this.discussionArr.push(t),Me(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(e){const t=this.discussionArr[this.discussionArr.length-1];t.content=e.message,t.id=e.id,t.rank=e.rank,t.sender=e.user},createBotMsg(e){this.updateLastUserMsg(e);let t={content:"..typing",id:e.response_id,rank:0,sender:e.bot};this.discussionArr.push(t),Me(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)}),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,usrMessage.content)},sendMsg(e){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Qe.get("/get_generation_status",{}).then(t=>{if(t)if(console.log(t.data.status),t.data.status)console.log("Already generating");else{xt.emit("generate_msg",{prompt:e});let n={message:e,id:this.discussionArr[this.discussionArr.length-1].id+1,rank:0,user:"user"};this.createUserMsg(n)}}).catch(t=>{console.log("Error: Could not get generation status",t)})},steamMessageContent(e){const t=this.discussionArr[this.discussionArr.length-1];t.content=e.data},async changeTitleUsingUserMSG(e,t){const n=this.list.findIndex(s=>s.id==e),r=this.list[n];t&&(r.title=t,this.tempList=this.list),await this.edit_title(e,t)},async createNewDiscussion(){const e=await this.new_discussion();await this.list_discussions();const t=this.list.findIndex(r=>r.id==e.id),n=this.list[t];this.selectDiscussion(n),Me(()=>{const r=document.getElementById("dis-"+e.id);this.scrollToElement(r)})},loadLastUsedDiscussion(){const e=localStorage.getItem("selected_discussion");if(e){const t=this.list.findIndex(r=>r.id==e),n=this.list[t];n&&this.selectDiscussion(n)}},async deleteDiscussion(e){const t=this.list.findIndex(n=>n.id==e);this.list[t],await this.delete_discussion(e),this.currentDiscussion.id==e&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(n=>n.id==e),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const e=this.selectedDiscussions;for(let t=0;t<e.length;t++){const n=e[t];await this.delete_discussion(n.id),this.currentDiscussion.id==n.id&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(r=>r.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,console.log("Multi delete done")},async editTitle(e){const t=this.list.findIndex(r=>r.id==e.id),n=this.list[t];n.title=e.title,n.loading=!0,await this.edit_title(e.id,e.title),n.loading=!1},checkUncheckDiscussion(e,t){const n=this.list.findIndex(s=>s.id==t),r=this.list[n];r.checkBoxValue=e.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(e=>e.checkBoxValue==!1).length>0;for(let e=0;e<this.tempList.length;e++)this.tempList[e].checkBoxValue=!this.isSelectAll;this.tempList=this.list,this.isSelectAll=!this.isSelectAll},createDiscussionList(e){if(e){const t=e.map(n=>({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1}));this.list=t,this.tempList=t}},setDiscussionLoading(e,t){const n=this.list.findIndex(s=>s.id==e),r=this.list[n];r.loading=t},setPageTitle(e){if(e)if(e.id){const t=e.title?e.title==="untitled"?"New discussion":e.title:"New discussion";document.title="GPT4ALL - WEBUI - "+t}else{const t=e||"Welcome";document.title="GPT4ALL - WEBUI - "+t}else{const t=e||"Welcome";document.title="GPT4ALL - WEBUI - "+t}},stopGenerating(){this.stop_gen(),this.isGenerating=!1,console.log("Stopped generating")},finalMsgEvent(e){console.log("final",e),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,Me(()=>{mt.replace()}),xt.on("infos",this.createBotMsg),xt.on("message",this.steamMessageContent),xt.on("final",this.finalMsgEvent)},activated(){console.log("Websocket connected (activated)",this.socketConnected),this.isCreated&&this.loadLastUsedDiscussion()},components:{Discussion:xc,Message:bc,ChatBox:wc,WelcomeComponent:_c},watch:{filterTitle(e,t){e==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(e,t){Me(()=>{mt.replace()}),e||(this.isSelectAll=!1)},socketConnected(e,t){console.log("Websocket connected (watch)",e)},showConfirmation(){Me(()=>{mt.replace()})}},computed:{socketConnected(){return to.connected},selectedDiscussions(){return Me(()=>{mt.replace()}),this.list.filter(e=>e.checkBoxValue==!0)}}},Um=Object.assign(zm,{__name:"DiscussionsView",setup(e){return ws(()=>{rm()}),Qe.defaults.baseURL="/",(t,n)=>(U(),Y(Ae,null,[v("div",im,[v("div",om,[v("form",am,[v("div",lm,[cm,v("div",um,[v("div",{class:Ie(["hover:text-secondary duration-75 active:scale-90",t.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[0]||(n[0]=r=>t.filterTitle="")},fm,2)]),Pe(v("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[1]||(n[1]=r=>t.filterTitle=r),onInput:n[2]||(n[2]=r=>t.filterDiscussions())},null,544),[[Ve,t.filterTitle]])])]),v("div",hm,[v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[3]||(n[3]=r=>t.createNewDiscussion())},gm),v("button",{class:Ie(["text-2xl hover:text-secondary duration-75 active:scale-90",t.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[4]||(n[4]=r=>t.isCheckbox=!t.isCheckbox)},mm,2),vm,xm]),t.isCheckbox?(U(),Y("hr",bm)):be("",!0),t.isCheckbox?(U(),Y("div",wm,[v("div",_m,[t.selectedDiscussions.length>0?(U(),Y("p",Em,"Selected: "+lt(t.selectedDiscussions.length),1)):be("",!0)]),v("div",jm,[v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[5]||(n[5]=Se((...r)=>t.selectAllDiscussions&&t.selectAllDiscussions(...r),["stop"]))},Am),Om,t.selectedDiscussions.length>0?(U(),Y("div",Cm,[t.showConfirmation?be("",!0):(U(),Y("button",{key:0,class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[6]||(n[6]=Se(r=>t.showConfirmation=!0,["stop"]))},Sm)),t.showConfirmation?(U(),Y("div",Mm,[v("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[7]||(n[7]=Se((...r)=>t.deleteDiscussionMulti&&t.deleteDiscussionMulti(...r),["stop"]))},Lm),v("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[8]||(n[8]=Se(r=>t.showConfirmation=!1,["stop"]))},Im)])):be("",!0)])):be("",!0)])])):be("",!0)]),v("div",Bm,[v("div",{class:Ie(["mx-4 flex-grow",t.filterInProgress?"opacity-20 pointer-events-none":""])},[(U(!0),Y(Ae,null,en(t.list,(r,s)=>(U(),cn(xc,{key:s,id:r.id,title:r.title,selected:t.currentDiscussion.id==r.id,loading:r.loading,isCheckbox:t.isCheckbox,checkBoxValue:r.checkBoxValue,onSelect:i=>t.selectDiscussion(r),onDelete:i=>t.deleteDiscussion(r.id),onEditTitle:t.editTitle,onChecked:t.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128)),t.list.length<1?(U(),Y("div",Dm,Fm)):be("",!0),Hm],2)])]),v("div",Vm,[v("div",null,[(U(!0),Y(Ae,null,en(t.discussionArr,(r,s)=>(U(),cn(bc,{key:s,message:r,onClick:n[9]||(n[9]=i=>t.scrollToElement(i.target)),id:"msg-"+r.id,ref_for:!0,ref:"messages"},null,8,["message","id"]))),128)),t.discussionArr.length<1?(U(),cn(_c,{key:0})):be("",!0)]),v("div",$m,[t.discussionArr.length>0?(U(),cn(wc,{key:0,onMessageSentEvent:t.sendMsg,loading:t.isGenerating,onStopGenerating:t.stopGenerating},null,8,["onMessageSentEvent","loading","onStopGenerating"])):be("",!0)])])],64))}}),Km=kt(Um,[["__scopeId","data-v-5ac9e2c3"]]),Wm=Gh({history:fh("/"),routes:[{path:"/extensions/",name:"extensions",component:jp},{path:"/help/",name:"help",component:Op},{path:"/settings/",name:"settings",component:og},{path:"/training/",name:"training",component:cg},{path:"/",name:"discussions",component:Km}]});const gu=qf(wp);gu.use(Wm);gu.mount("#app");
|