@n8n/chat 0.46.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/dist/__tests__/api/message.spec.d.ts +1 -0
- package/dist/__tests__/utils/fetch.d.ts +9 -0
- package/dist/__tests__/utils/streaming.spec.d.ts +1 -0
- package/dist/__tests__/utils/streamingHandlers.spec.d.ts +1 -0
- package/dist/api/message.d.ts +6 -0
- package/dist/chat.bundle.es.js +13838 -11054
- package/dist/chat.bundle.umd.js +23 -473
- package/dist/chat.es.js +17980 -14069
- package/dist/chat.umd.js +37 -36
- package/dist/style.css +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/options.d.ts +1 -0
- package/dist/types/streaming.d.ts +18 -0
- package/dist/utils/streaming.d.ts +26 -0
- package/dist/utils/streamingHandlers.d.ts +6 -0
- package/package.json +4 -4
package/dist/chat.bundle.umd.js
CHANGED
|
@@ -1,494 +1,41 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(gt,qt){typeof exports=="object"&&typeof module<"u"?qt(exports):typeof define=="function"&&define.amd?define(["exports"],qt):(gt=typeof globalThis<"u"?globalThis:gt||self,qt(gt.N8nChat={}))})(this,function(gt){"use strict";var wN=Object.defineProperty;var kN=(gt,qt,ze)=>qt in gt?wN(gt,qt,{enumerable:!0,configurable:!0,writable:!0,value:ze}):gt[qt]=ze;var va=(gt,qt,ze)=>kN(gt,typeof qt!="symbol"?qt+"":qt,ze);/*! Package version @n8n/chat@0.48.0 *//**
|
|
2
2
|
* @vue/shared v3.5.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function qt(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ze={},ro=[],Lt=()=>{},Xy=()=>!1,Ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ba=e=>e.startsWith("onUpdate:"),kt=Object.assign,_a=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jy=Object.prototype.hasOwnProperty,Ve=(e,t)=>Jy.call(e,t),Te=Array.isArray,oo=e=>Ms(e)==="[object Map]",ud=e=>Ms(e)==="[object Set]",we=e=>typeof e=="function",qe=e=>typeof e=="string",jn=e=>typeof e=="symbol",Pe=e=>e!==null&&typeof e=="object",fd=e=>(Pe(e)||we(e))&&we(e.then)&&we(e.catch),dd=Object.prototype.toString,Ms=e=>dd.call(e),Ls=e=>Ms(e).slice(8,-1),pd=e=>Ms(e)==="[object Object]",ya=e=>qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ro=qt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$s=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yy=/-(\w)/g,cn=$s(e=>e.replace(Yy,(t,n)=>n?n.toUpperCase():"")),Qy=/\B([A-Z])/g,hr=$s(e=>e.replace(Qy,"-$1").toLowerCase()),Is=$s(e=>e.charAt(0).toUpperCase()+e.slice(1)),wa=$s(e=>e?`on${Is(e)}`:""),gr=(e,t)=>!Object.is(e,t),Rs=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},hd=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ka=e=>{const t=parseFloat(e);return isNaN(t)?e:t},e4=e=>{const t=qe(e)?Number(e):NaN;return isNaN(t)?e:t};let gd;const Os=()=>gd||(gd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function tt(e){if(Te(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=qe(r)?o4(r):tt(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(qe(e)||Pe(e))return e}const t4=/;(?![^(]*\))/g,n4=/:([^]+)/,r4=/\/\*[^]*?\*\//g;function o4(e){const t={};return e.replace(r4,"").split(t4).forEach(n=>{if(n){const r=n.split(n4);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Z(e){let t="";if(qe(e))t=e;else if(Te(e))for(let n=0;n<e.length;n++){const r=Z(e[n]);r&&(t+=r+" ")}else if(Pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ps(e){if(!e)return null;let{class:t,style:n}=e;return t&&!qe(t)&&(e.class=Z(t)),n&&(e.style=tt(n)),e}const s4=qt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function md(e){return!!e||e===""}const vd=e=>!!(e&&e.__v_isRef===!0),We=e=>qe(e)?e:e==null?"":Te(e)||Pe(e)&&(e.toString===dd||!we(e.toString))?vd(e)?We(e.value):JSON.stringify(e,bd,2):String(e),bd=(e,t)=>vd(t)?bd(e,t.value):oo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Ca(r,o)+" =>"]=s,n),{})}:ud(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ca(n))}:jn(t)?Ca(t):Pe(t)&&!Te(t)&&!pd(t)?String(t):t,Ca=(e,t="")=>{var n;return jn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
6
|
* @vue/reactivity v3.5.13
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/let Nt;class h_{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Nt,!t&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Nt;try{return Nt=this,t()}finally{Nt=n}}}on(){Nt=this}off(){Nt=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=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}}}function wa(){return Nt}function hd(e,t=!1){Nt&&Nt.cleanups.push(e)}let st;const ka=new WeakSet;class gd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Nt&&Nt.active&&Nt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ka.has(this)&&(ka.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||vd(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,kd(this),bd(this);const t=st,n=_n;st=this,_n=!0;try{return this.fn()}finally{yd(this),st=t,_n=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)xa(t);this.deps=this.depsTail=void 0,kd(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ka.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Sa(this)&&this.run()}get dirty(){return Sa(this)}}let md=0,No,qo;function vd(e,t=!1){if(e.flags|=8,t){e.next=qo,qo=e;return}e.next=No,No=e}function Ea(){md++}function Ca(){if(--md>0)return;if(qo){let t=qo;for(qo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;No;){let t=No;for(No=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function bd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yd(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),xa(r),g_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Sa(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_d(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _d(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Fo))return;e.globalVersion=Fo;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Sa(e)){e.flags&=-3;return}const n=st,r=_n;st=e,_n=!0;try{bd(e);const s=e.fn(e._value);(t.version===0||vr(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{st=n,_n=r,yd(e),e.flags&=-3}}function xa(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)xa(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function g_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let _n=!0;const wd=[];function Gn(){wd.push(_n),_n=!1}function Kn(){const e=wd.pop();_n=e===void 0?!0:e}function kd(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=st;st=void 0;try{t()}finally{st=n}}}let Fo=0;class m_{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Aa{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!st||!_n||st===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==st)n=this.activeLink=new m_(st,this),st.deps?(n.prevDep=st.depsTail,st.depsTail.nextDep=n,st.depsTail=n):st.deps=st.depsTail=n,Ed(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=st.depsTail,n.nextDep=void 0,st.depsTail.nextDep=n,st.depsTail=n,st.deps===n&&(st.deps=r)}return n}trigger(t){this.version++,Fo++,this.notify(t)}notify(t){Ea();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ca()}}}function Ed(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ed(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Fs=new WeakMap,Nr=Symbol(""),Ta=Symbol(""),Bo=Symbol("");function It(e,t,n){if(_n&&st){let r=Fs.get(e);r||Fs.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Aa),s.map=r,s.key=n),s.track()}}function Wn(e,t,n,r,s,o){const i=Fs.get(e);if(!i){Fo++;return}const a=l=>{l&&l.trigger()};if(Ea(),t==="clear")i.forEach(a);else{const l=Te(e),u=l&&va(n);if(l&&n==="length"){const f=Number(r);i.forEach((c,p)=>{(p==="length"||p===Bo||!Vn(p)&&p>=f)&&a(c)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Bo)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Nr)),io(e)&&a(i.get(Ta)));break;case"delete":l||(a(i.get(Nr)),io(e)&&a(i.get(Ta)));break;case"set":io(e)&&a(i.get(Nr));break}}Ca()}function v_(e,t){const n=Fs.get(e);return n&&n.get(t)}function ao(e){const t=Pe(e);return t===e?t:(It(t,"iterate",Bo),dn(e)?t:t.map(Mt))}function Bs(e){return It(e=Pe(e),"iterate",Bo),e}const b_={__proto__:null,[Symbol.iterator](){return Oa(this,Symbol.iterator,Mt)},concat(...e){return ao(this).concat(...e.map(t=>Te(t)?ao(t):t))},entries(){return Oa(this,"entries",e=>(e[1]=Mt(e[1]),e))},every(e,t){return Zn(this,"every",e,t,void 0,arguments)},filter(e,t){return Zn(this,"filter",e,t,n=>n.map(Mt),arguments)},find(e,t){return Zn(this,"find",e,t,Mt,arguments)},findIndex(e,t){return Zn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Zn(this,"findLast",e,t,Mt,arguments)},findLastIndex(e,t){return Zn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Zn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ra(this,"includes",e)},indexOf(...e){return Ra(this,"indexOf",e)},join(e){return ao(this).join(e)},lastIndexOf(...e){return Ra(this,"lastIndexOf",e)},map(e,t){return Zn(this,"map",e,t,void 0,arguments)},pop(){return zo(this,"pop")},push(...e){return zo(this,"push",e)},reduce(e,...t){return Cd(this,"reduce",e,t)},reduceRight(e,...t){return Cd(this,"reduceRight",e,t)},shift(){return zo(this,"shift")},some(e,t){return Zn(this,"some",e,t,void 0,arguments)},splice(...e){return zo(this,"splice",e)},toReversed(){return ao(this).toReversed()},toSorted(e){return ao(this).toSorted(e)},toSpliced(...e){return ao(this).toSpliced(...e)},unshift(...e){return zo(this,"unshift",e)},values(){return Oa(this,"values",Mt)}};function Oa(e,t,n){const r=Bs(e),s=r[t]();return r!==e&&!dn(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const y_=Array.prototype;function Zn(e,t,n,r,s,o){const i=Bs(e),a=i!==e&&!dn(e),l=i[t];if(l!==y_[t]){const c=l.apply(e,o);return a?Mt(c):c}let u=n;i!==e&&(a?u=function(c,p){return n.call(this,Mt(c),p,e)}:n.length>2&&(u=function(c,p){return n.call(this,c,p,e)}));const f=l.call(i,u,r);return a&&s?s(f):f}function Cd(e,t,n,r){const s=Bs(e);let o=n;return s!==e&&(dn(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,Mt(a),l,e)}),s[t](o,...r)}function Ra(e,t,n){const r=Pe(e);It(r,"iterate",Bo);const s=r[t](...n);return(s===-1||s===!1)&&Ma(n[0])?(n[0]=Pe(n[0]),r[t](...n)):s}function zo(e,t,n=[]){Gn(),Ea();const r=Pe(e)[t].apply(e,n);return Ca(),Kn(),r}const __=$r("__proto__,__v_isRef,__isVue"),Sd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vn));function w_(e){Vn(e)||(e=String(e));const t=Pe(this);return It(t,"has",e),t.hasOwnProperty(e)}class xd{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Md:Id:o?Rd:Od).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Te(t);if(!s){let l;if(i&&(l=b_[n]))return l;if(n==="hasOwnProperty")return w_}const a=Reflect.get(t,n,gt(t)?t:r);return(Vn(n)?Sd.has(n):__(n))||(s||It(t,"get",n),o)?a:gt(a)?i&&va(n)?a:a.value:De(a)?s?js(a):wn(a):a}}class Ad extends xd{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=qr(o);if(!dn(r)&&!qr(r)&&(o=Pe(o),r=Pe(r)),!Te(t)&>(o)&&!gt(r))return l?!1:(o.value=r,!0)}const i=Te(t)&&va(n)?Number(n)<t.length:He(t,n),a=Reflect.set(t,n,r,gt(t)?t:s);return t===Pe(s)&&(i?vr(r,o)&&Wn(t,"set",n,r):Wn(t,"add",n,r)),a}deleteProperty(t,n){const r=He(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Wn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Vn(n)||!Sd.has(n))&&It(t,"has",n),r}ownKeys(t){return It(t,"iterate",Te(t)?"length":Nr),Reflect.ownKeys(t)}}class Td extends xd{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const k_=new Ad,E_=new Td,C_=new Ad(!0),S_=new Td(!0),Ia=e=>e,zs=e=>Reflect.getPrototypeOf(e);function x_(e,t,n){return function(...r){const s=this.__v_raw,o=Pe(s),i=io(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),f=n?Ia:t?La:Mt;return!t&&It(o,"iterate",l?Ta:Nr),{next(){const{value:c,done:p}=u.next();return p?{value:c,done:p}:{value:a?[f(c[0]),f(c[1])]:f(c),done:p}},[Symbol.iterator](){return this}}}}function Hs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function A_(e,t){const n={get(s){const o=this.__v_raw,i=Pe(o),a=Pe(s);e||(vr(s,a)&&It(i,"get",s),It(i,"get",a));const{has:l}=zs(i),u=t?Ia:e?La:Mt;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&It(Pe(s),"iterate",Nr),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=Pe(o),a=Pe(s);return e||(vr(s,a)&&It(i,"has",s),It(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=Pe(a),u=t?Ia:e?La:Mt;return!e&&It(l,"iterate",Nr),a.forEach((f,c)=>s.call(o,u(f),u(c),i))}};return kt(n,e?{add:Hs("add"),set:Hs("set"),delete:Hs("delete"),clear:Hs("clear")}:{add(s){!t&&!dn(s)&&!qr(s)&&(s=Pe(s));const o=Pe(this);return zs(o).has.call(o,s)||(o.add(s),Wn(o,"add",s,s)),this},set(s,o){!t&&!dn(o)&&!qr(o)&&(o=Pe(o));const i=Pe(this),{has:a,get:l}=zs(i);let u=a.call(i,s);u||(s=Pe(s),u=a.call(i,s));const f=l.call(i,s);return i.set(s,o),u?vr(o,f)&&Wn(i,"set",s,o):Wn(i,"add",s,o),this},delete(s){const o=Pe(this),{has:i,get:a}=zs(o);let l=i.call(o,s);l||(s=Pe(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&Wn(o,"delete",s,void 0),u},clear(){const s=Pe(this),o=s.size!==0,i=s.clear();return o&&Wn(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=x_(s,e,t)}),n}function Us(e,t){const n=A_(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(He(n,s)&&s in r?n:r,s,o)}const T_={get:Us(!1,!1)},O_={get:Us(!1,!0)},R_={get:Us(!0,!1)},I_={get:Us(!0,!0)},Od=new WeakMap,Rd=new WeakMap,Id=new WeakMap,Md=new WeakMap;function M_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function L_(e){return e.__v_skip||!Object.isExtensible(e)?0:M_(Ls(e))}function wn(e){return qr(e)?e:Vs(e,!1,k_,T_,Od)}function P_(e){return Vs(e,!1,C_,O_,Rd)}function js(e){return Vs(e,!0,E_,R_,Id)}function RD(e){return Vs(e,!0,S_,I_,Md)}function Vs(e,t,n,r,s){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=L_(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function lo(e){return qr(e)?lo(e.__v_raw):!!(e&&e.__v_isReactive)}function qr(e){return!!(e&&e.__v_isReadonly)}function dn(e){return!!(e&&e.__v_isShallow)}function Ma(e){return e?!!e.__v_raw:!1}function Pe(e){const t=e&&e.__v_raw;return t?Pe(t):e}function D_(e){return!He(e,"__v_skip")&&Object.isExtensible(e)&&cd(e,"__v_skip",!0),e}const Mt=e=>De(e)?wn(e):e,La=e=>De(e)?js(e):e;function gt(e){return e?e.__v_isRef===!0:!1}function G(e){return Ld(e,!1)}function Xn(e){return Ld(e,!0)}function Ld(e,t){return gt(e)?e:new $_(e,t)}class $_{constructor(t,n){this.dep=new Aa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Pe(t),this._value=n?t:Mt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||dn(t)||qr(t);t=r?t:Pe(t),vr(t,n)&&(this._rawValue=t,this._value=r?t:Mt(t),this.dep.trigger())}}function Ho(e){e.dep&&e.dep.trigger()}function v(e){return gt(e)?e.value:e}const N_={get:(e,t,n)=>t==="__v_raw"?e:v(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return gt(s)&&!gt(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Pd(e){return lo(e)?e:new Proxy(e,N_)}function Gs(e){const t=Te(e)?new Array(e.length):{};for(const n in e)t[n]=Dd(e,n);return t}class q_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return v_(Pe(this._object),this._key)}}class F_{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function kn(e,t,n){return gt(e)?e:we(e)?new F_(e):De(e)&&arguments.length>1?Dd(e,t,n):G(e)}function Dd(e,t,n){const r=e[t];return gt(r)?r:new q_(e,t,n)}class B_{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Aa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Fo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&st!==this)return vd(this,!0),!0}get value(){const t=this.dep.track();return _d(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function z_(e,t,n=!1){let r,s;return we(e)?r=e:(r=e.get,s=e.set),new B_(r,s,n)}const Ks={},Ws=new WeakMap;let Fr;function H_(e,t=!1,n=Fr){if(n){let r=Ws.get(n);r||Ws.set(n,r=[]),r.push(e)}}function U_(e,t,n=Ye){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=b=>s?b:dn(b)||s===!1||s===0?Yn(b,1):Yn(b);let f,c,p,d,m=!1,g=!1;if(gt(e)?(c=()=>e.value,m=dn(e)):lo(e)?(c=()=>u(e),m=!0):Te(e)?(g=!0,m=e.some(b=>lo(b)||dn(b)),c=()=>e.map(b=>{if(gt(b))return b.value;if(lo(b))return u(b);if(we(b))return l?l(b,2):b()})):we(e)?t?c=l?()=>l(e,2):e:c=()=>{if(p){Gn();try{p()}finally{Kn()}}const b=Fr;Fr=f;try{return l?l(e,3,[d]):e(d)}finally{Fr=b}}:c=Rt,t&&s){const b=c,C=s===!0?1/0:s;c=()=>Yn(b(),C)}const w=wa(),h=()=>{f.stop(),w&&w.active&&ma(w.effects,f)};if(o&&t){const b=t;t=(...C)=>{b(...C),h()}}let _=g?new Array(e.length).fill(Ks):Ks;const y=b=>{if(!(!(f.flags&1)||!f.dirty&&!b))if(t){const C=f.run();if(s||m||(g?C.some((k,S)=>vr(k,_[S])):vr(C,_))){p&&p();const k=Fr;Fr=f;try{const S=[C,_===Ks?void 0:g&&_[0]===Ks?[]:_,d];l?l(t,3,S):t(...S),_=C}finally{Fr=k}}}else f.run()};return a&&a(y),f=new gd(c),f.scheduler=i?()=>i(y,!1):y,d=b=>H_(b,!1,f),p=f.onStop=()=>{const b=Ws.get(f);if(b){if(l)l(b,4);else for(const C of b)C();Ws.delete(f)}},t?r?y(!0):_=f.run():i?i(y.bind(null,!0),!0):f.run(),h.pause=f.pause.bind(f),h.resume=f.resume.bind(f),h.stop=h,h}function Yn(e,t=1/0,n){if(t<=0||!De(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,gt(e))Yn(e.value,t,n);else if(Te(e))for(let r=0;r<e.length;r++)Yn(e[r],t,n);else if(sd(e)||io(e))e.forEach(r=>{Yn(r,t,n)});else if(ld(e)){for(const r in e)Yn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Yn(e[r],t,n)}return e}/**
|
|
9
|
+
**/let Bt;class i4{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Bt,!t&&Bt&&(this.index=(Bt.scopes||(Bt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Bt;try{return Bt=this,t()}finally{Bt=n}}}on(){Bt=this}off(){Bt=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=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}}}function xa(){return Bt}function _d(e,t=!1){Bt&&Bt.cleanups.push(e)}let ot;const Ea=new WeakSet;class yd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Bt&&Bt.active&&Bt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ea.has(this)&&(Ea.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kd(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ad(this),Cd(this);const t=ot,n=vn;ot=this,vn=!0;try{return this.fn()}finally{xd(this),ot=t,vn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ma(t);this.deps=this.depsTail=void 0,Ad(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ea.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ta(this)&&this.run()}get dirty(){return Ta(this)}}let wd=0,Oo,Po;function kd(e,t=!1){if(e.flags|=8,t){e.next=Po,Po=e;return}e.next=Oo,Oo=e}function Sa(){wd++}function Aa(){if(--wd>0)return;if(Po){let t=Po;for(Po=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Oo;){let t=Oo;for(Oo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Cd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xd(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Ma(r),a4(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ta(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ed(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Do))return;e.globalVersion=Do;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ta(e)){e.flags&=-3;return}const n=ot,r=vn;ot=e,vn=!0;try{Cd(e);const s=e.fn(e._value);(t.version===0||gr(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ot=n,vn=r,xd(e),e.flags&=-3}}function Ma(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Ma(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function a4(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let vn=!0;const Sd=[];function Vn(){Sd.push(vn),vn=!1}function Un(){const e=Sd.pop();vn=e===void 0?!0:e}function Ad(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ot;ot=void 0;try{t()}finally{ot=n}}}let Do=0;class l4{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class La{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ot||!vn||ot===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ot)n=this.activeLink=new l4(ot,this),ot.deps?(n.prevDep=ot.depsTail,ot.depsTail.nextDep=n,ot.depsTail=n):ot.deps=ot.depsTail=n,Td(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ot.depsTail,n.nextDep=void 0,ot.depsTail.nextDep=n,ot.depsTail=n,ot.deps===n&&(ot.deps=r)}return n}trigger(t){this.version++,Do++,this.notify(t)}notify(t){Sa();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Aa()}}}function Td(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Td(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ds=new WeakMap,Pr=Symbol(""),$a=Symbol(""),No=Symbol("");function $t(e,t,n){if(vn&&ot){let r=Ds.get(e);r||Ds.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new La),s.map=r,s.key=n),s.track()}}function Kn(e,t,n,r,s,o){const i=Ds.get(e);if(!i){Do++;return}const a=l=>{l&&l.trigger()};if(Sa(),t==="clear")i.forEach(a);else{const l=Te(e),u=l&&ya(n);if(l&&n==="length"){const f=Number(r);i.forEach((c,p)=>{(p==="length"||p===No||!jn(p)&&p>=f)&&a(c)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(No)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Pr)),oo(e)&&a(i.get($a)));break;case"delete":l||(a(i.get(Pr)),oo(e)&&a(i.get($a)));break;case"set":oo(e)&&a(i.get(Pr));break}}Aa()}function c4(e,t){const n=Ds.get(e);return n&&n.get(t)}function so(e){const t=Oe(e);return t===e?t:($t(t,"iterate",No),un(e)?t:t.map(It))}function Ns(e){return $t(e=Oe(e),"iterate",No),e}const u4={__proto__:null,[Symbol.iterator](){return Ia(this,Symbol.iterator,It)},concat(...e){return so(this).concat(...e.map(t=>Te(t)?so(t):t))},entries(){return Ia(this,"entries",e=>(e[1]=It(e[1]),e))},every(e,t){return Gn(this,"every",e,t,void 0,arguments)},filter(e,t){return Gn(this,"filter",e,t,n=>n.map(It),arguments)},find(e,t){return Gn(this,"find",e,t,It,arguments)},findIndex(e,t){return Gn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Gn(this,"findLast",e,t,It,arguments)},findLastIndex(e,t){return Gn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Gn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ra(this,"includes",e)},indexOf(...e){return Ra(this,"indexOf",e)},join(e){return so(this).join(e)},lastIndexOf(...e){return Ra(this,"lastIndexOf",e)},map(e,t){return Gn(this,"map",e,t,void 0,arguments)},pop(){return qo(this,"pop")},push(...e){return qo(this,"push",e)},reduce(e,...t){return Md(this,"reduce",e,t)},reduceRight(e,...t){return Md(this,"reduceRight",e,t)},shift(){return qo(this,"shift")},some(e,t){return Gn(this,"some",e,t,void 0,arguments)},splice(...e){return qo(this,"splice",e)},toReversed(){return so(this).toReversed()},toSorted(e){return so(this).toSorted(e)},toSpliced(...e){return so(this).toSpliced(...e)},unshift(...e){return qo(this,"unshift",e)},values(){return Ia(this,"values",It)}};function Ia(e,t,n){const r=Ns(e),s=r[t]();return r!==e&&!un(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const f4=Array.prototype;function Gn(e,t,n,r,s,o){const i=Ns(e),a=i!==e&&!un(e),l=i[t];if(l!==f4[t]){const c=l.apply(e,o);return a?It(c):c}let u=n;i!==e&&(a?u=function(c,p){return n.call(this,It(c),p,e)}:n.length>2&&(u=function(c,p){return n.call(this,c,p,e)}));const f=l.call(i,u,r);return a&&s?s(f):f}function Md(e,t,n,r){const s=Ns(e);let o=n;return s!==e&&(un(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,It(a),l,e)}),s[t](o,...r)}function Ra(e,t,n){const r=Oe(e);$t(r,"iterate",No);const s=r[t](...n);return(s===-1||s===!1)&&Pa(n[0])?(n[0]=Oe(n[0]),r[t](...n)):s}function qo(e,t,n=[]){Vn(),Sa();const r=Oe(e)[t].apply(e,n);return Aa(),Un(),r}const d4=qt("__proto__,__v_isRef,__isVue"),Ld=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jn));function p4(e){jn(e)||(e=String(e));const t=Oe(this);return $t(t,"has",e),t.hasOwnProperty(e)}class $d{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Nd:Dd:o?Pd:Od).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Te(t);if(!s){let l;if(i&&(l=u4[n]))return l;if(n==="hasOwnProperty")return p4}const a=Reflect.get(t,n,ht(t)?t:r);return(jn(n)?Ld.has(n):d4(n))||(s||$t(t,"get",n),o)?a:ht(a)?i&&ya(n)?a:a.value:Pe(a)?s?zs(a):bn(a):a}}class Id extends $d{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=Dr(o);if(!un(r)&&!Dr(r)&&(o=Oe(o),r=Oe(r)),!Te(t)&&ht(o)&&!ht(r))return l?!1:(o.value=r,!0)}const i=Te(t)&&ya(n)?Number(n)<t.length:Ve(t,n),a=Reflect.set(t,n,r,ht(t)?t:s);return t===Oe(s)&&(i?gr(r,o)&&Kn(t,"set",n,r):Kn(t,"add",n,r)),a}deleteProperty(t,n){const r=Ve(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Kn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!jn(n)||!Ld.has(n))&&$t(t,"has",n),r}ownKeys(t){return $t(t,"iterate",Te(t)?"length":Pr),Reflect.ownKeys(t)}}class Rd extends $d{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const h4=new Id,g4=new Rd,m4=new Id(!0),v4=new Rd(!0),Oa=e=>e,qs=e=>Reflect.getPrototypeOf(e);function b4(e,t,n){return function(...r){const s=this.__v_raw,o=Oe(s),i=oo(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),f=n?Oa:t?Da:It;return!t&&$t(o,"iterate",l?$a:Pr),{next(){const{value:c,done:p}=u.next();return p?{value:c,done:p}:{value:a?[f(c[0]),f(c[1])]:f(c),done:p}},[Symbol.iterator](){return this}}}}function Bs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _4(e,t){const n={get(s){const o=this.__v_raw,i=Oe(o),a=Oe(s);e||(gr(s,a)&&$t(i,"get",s),$t(i,"get",a));const{has:l}=qs(i),u=t?Oa:e?Da:It;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&$t(Oe(s),"iterate",Pr),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=Oe(o),a=Oe(s);return e||(gr(s,a)&&$t(i,"has",s),$t(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=Oe(a),u=t?Oa:e?Da:It;return!e&&$t(l,"iterate",Pr),a.forEach((f,c)=>s.call(o,u(f),u(c),i))}};return kt(n,e?{add:Bs("add"),set:Bs("set"),delete:Bs("delete"),clear:Bs("clear")}:{add(s){!t&&!un(s)&&!Dr(s)&&(s=Oe(s));const o=Oe(this);return qs(o).has.call(o,s)||(o.add(s),Kn(o,"add",s,s)),this},set(s,o){!t&&!un(o)&&!Dr(o)&&(o=Oe(o));const i=Oe(this),{has:a,get:l}=qs(i);let u=a.call(i,s);u||(s=Oe(s),u=a.call(i,s));const f=l.call(i,s);return i.set(s,o),u?gr(o,f)&&Kn(i,"set",s,o):Kn(i,"add",s,o),this},delete(s){const o=Oe(this),{has:i,get:a}=qs(o);let l=i.call(o,s);l||(s=Oe(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&Kn(o,"delete",s,void 0),u},clear(){const s=Oe(this),o=s.size!==0,i=s.clear();return o&&Kn(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=b4(s,e,t)}),n}function Fs(e,t){const n=_4(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ve(n,s)&&s in r?n:r,s,o)}const y4={get:Fs(!1,!1)},w4={get:Fs(!1,!0)},k4={get:Fs(!0,!1)},C4={get:Fs(!0,!0)},Od=new WeakMap,Pd=new WeakMap,Dd=new WeakMap,Nd=new WeakMap;function x4(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function E4(e){return e.__v_skip||!Object.isExtensible(e)?0:x4(Ls(e))}function bn(e){return Dr(e)?e:Hs(e,!1,h4,y4,Od)}function S4(e){return Hs(e,!1,m4,w4,Pd)}function zs(e){return Hs(e,!0,g4,k4,Dd)}function xN(e){return Hs(e,!0,v4,C4,Nd)}function Hs(e,t,n,r,s){if(!Pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=E4(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function io(e){return Dr(e)?io(e.__v_raw):!!(e&&e.__v_isReactive)}function Dr(e){return!!(e&&e.__v_isReadonly)}function un(e){return!!(e&&e.__v_isShallow)}function Pa(e){return e?!!e.__v_raw:!1}function Oe(e){const t=e&&e.__v_raw;return t?Oe(t):e}function A4(e){return!Ve(e,"__v_skip")&&Object.isExtensible(e)&&hd(e,"__v_skip",!0),e}const It=e=>Pe(e)?bn(e):e,Da=e=>Pe(e)?zs(e):e;function ht(e){return e?e.__v_isRef===!0:!1}function U(e){return qd(e,!1)}function Wn(e){return qd(e,!0)}function qd(e,t){return ht(e)?e:new T4(e,t)}class T4{constructor(t,n){this.dep=new La,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Oe(t),this._value=n?t:It(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||un(t)||Dr(t);t=r?t:Oe(t),gr(t,n)&&(this._rawValue=t,this._value=r?t:It(t),this.dep.trigger())}}function Bo(e){e.dep&&e.dep.trigger()}function b(e){return ht(e)?e.value:e}const M4={get:(e,t,n)=>t==="__v_raw"?e:b(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ht(s)&&!ht(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Bd(e){return io(e)?e:new Proxy(e,M4)}function js(e){const t=Te(e)?new Array(e.length):{};for(const n in e)t[n]=Fd(e,n);return t}class L4{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return c4(Oe(this._object),this._key)}}class $4{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function _n(e,t,n){return ht(e)?e:we(e)?new $4(e):Pe(e)&&arguments.length>1?Fd(e,t,n):U(e)}function Fd(e,t,n){const r=e[t];return ht(r)?r:new L4(e,t,n)}class I4{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new La(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Do-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ot!==this)return kd(this,!0),!0}get value(){const t=this.dep.track();return Ed(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function R4(e,t,n=!1){let r,s;return we(e)?r=e:(r=e.get,s=e.set),new I4(r,s,n)}const Vs={},Us=new WeakMap;let Nr;function O4(e,t=!1,n=Nr){if(n){let r=Us.get(n);r||Us.set(n,r=[]),r.push(e)}}function P4(e,t,n=ze){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=_=>s?_:un(_)||s===!1||s===0?Zn(_,1):Zn(_);let f,c,p,d,m=!1,g=!1;if(ht(e)?(c=()=>e.value,m=un(e)):io(e)?(c=()=>u(e),m=!0):Te(e)?(g=!0,m=e.some(_=>io(_)||un(_)),c=()=>e.map(_=>{if(ht(_))return _.value;if(io(_))return u(_);if(we(_))return l?l(_,2):_()})):we(e)?t?c=l?()=>l(e,2):e:c=()=>{if(p){Vn();try{p()}finally{Un()}}const _=Nr;Nr=f;try{return l?l(e,3,[d]):e(d)}finally{Nr=_}}:c=Lt,t&&s){const _=c,S=s===!0?1/0:s;c=()=>Zn(_(),S)}const C=xa(),h=()=>{f.stop(),C&&C.active&&_a(C.effects,f)};if(o&&t){const _=t;t=(...S)=>{_(...S),h()}}let k=g?new Array(e.length).fill(Vs):Vs;const y=_=>{if(!(!(f.flags&1)||!f.dirty&&!_))if(t){const S=f.run();if(s||m||(g?S.some((x,T)=>gr(x,k[T])):gr(S,k))){p&&p();const x=Nr;Nr=f;try{const T=[S,k===Vs?void 0:g&&k[0]===Vs?[]:k,d];l?l(t,3,T):t(...T),k=S}finally{Nr=x}}}else f.run()};return a&&a(y),f=new yd(c),f.scheduler=i?()=>i(y,!1):y,d=_=>O4(_,!1,f),p=f.onStop=()=>{const _=Us.get(f);if(_){if(l)l(_,4);else for(const S of _)S();Us.delete(f)}},t?r?y(!0):k=f.run():i?i(y.bind(null,!0),!0):f.run(),h.pause=f.pause.bind(f),h.resume=f.resume.bind(f),h.stop=h,h}function Zn(e,t=1/0,n){if(t<=0||!Pe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ht(e))Zn(e.value,t,n);else if(Te(e))for(let r=0;r<e.length;r++)Zn(e[r],t,n);else if(ud(e)||oo(e))e.forEach(r=>{Zn(r,t,n)});else if(pd(e)){for(const r in e)Zn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Zn(e[r],t,n)}return e}/**
|
|
10
10
|
* @vue/runtime-core v3.5.13
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
|
-
**/const
|
|
13
|
+
**/const Fo=[];let Na=!1;function EN(e,...t){if(Na)return;Na=!0,Vn();const n=Fo.length?Fo[Fo.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=D4();if(r)ao(r,n,11,[e+t.map(o=>{var i,a;return(a=(i=o.toString)==null?void 0:i.call(o))!=null?a:JSON.stringify(o)}).join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${J0(n,o.type)}>`).join(`
|
|
14
14
|
`),s]);else{const o=[`[Vue warn]: ${e}`,...t];s.length&&o.push(`
|
|
15
|
-
`,...
|
|
16
|
-
`],...G_(n))}),t}function G_({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${Gp(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...K_(e.props),o]:[s+o]}function K_(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...$d(r,e[r]))}),n.length>3&&t.push(" ..."),t}function $d(e,t,n){return qe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:gt(t)?(t=$d(e,Pe(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):we(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Pe(t),n?t:[`${e}=`,t])}function co(e,t,n,r){try{return r?e(...r):e()}catch(s){Zs(s,t,n)}}function En(e,t,n,r){if(we(e)){const s=co(e,t,n,r);return s&&id(s)&&s.catch(o=>{Zs(o,t,n)}),s}if(Te(e)){const s=[];for(let o=0;o<e.length;o++)s.push(En(e[o],t,n,r));return s}}function Zs(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ye;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const f=a.ec;if(f){for(let c=0;c<f.length;c++)if(f[c](e,l,u)===!1)return}a=a.parent}if(o){Gn(),co(o,null,10,[e,l,u]),Kn();return}}W_(e,n,s,r,i)}function W_(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const qt=[];let Ln=-1;const uo=[];let br=null,fo=0;const Nd=Promise.resolve();let Xs=null;function Ue(e){const t=Xs||Nd;return e?t.then(this?e.bind(this):e):t}function Z_(e){let t=Ln+1,n=qt.length;for(;t<n;){const r=t+n>>>1,s=qt[r],o=jo(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Da(e){if(!(e.flags&1)){const t=jo(e),n=qt[qt.length-1];!n||!(e.flags&2)&&t>=jo(n)?qt.push(e):qt.splice(Z_(t),0,e),e.flags|=1,qd()}}function qd(){Xs||(Xs=Nd.then(zd))}function X_(e){Te(e)?uo.push(...e):br&&e.id===-1?br.splice(fo+1,0,e):e.flags&1||(uo.push(e),e.flags|=1),qd()}function Fd(e,t,n=Ln+1){for(;n<qt.length;n++){const r=qt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;qt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Bd(e){if(uo.length){const t=[...new Set(uo)].sort((n,r)=>jo(n)-jo(r));if(uo.length=0,br){br.push(...t);return}for(br=t,fo=0;fo<br.length;fo++){const n=br[fo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}br=null,fo=0}}const jo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zd(e){try{for(Ln=0;Ln<qt.length;Ln++){const t=qt[Ln];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),co(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ln<qt.length;Ln++){const t=qt[Ln];t&&(t.flags&=-2)}Ln=-1,qt.length=0,Bd(),Xs=null,(qt.length||uo.length)&&zd()}}let Et=null,Hd=null;function Ys(e){const t=Et;return Et=e,Hd=e&&e.type.__scopeId||null,t}function ue(e,t=Et,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Np(-1);const o=Ys(t);let i;try{i=e(...s)}finally{Ys(o),r._d&&Np(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ft(e,t){if(Et===null)return e;const n=fi(Et),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Ye]=t[s];o&&(we(o)&&(o={mounted:o,updated:o}),o.deep&&Yn(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Br(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Gn(),En(l,n,8,[e.el,a,e,t]),Kn())}}const Ud=Symbol("_vte"),jd=e=>e.__isTeleport,Vo=e=>e&&(e.disabled||e.disabled===""),Vd=e=>e&&(e.defer||e.defer===""),Gd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Kd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,$a=(e,t)=>{const n=e&&e.to;return qe(n)?t?t(n):null:n},Wd={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:f,pc:c,pbc:p,o:{insert:d,querySelector:m,createText:g,createComment:w}}=u,h=Vo(t.props);let{shapeFlag:_,children:y,dynamicChildren:b}=t;if(e==null){const C=t.el=g(""),k=t.anchor=g("");d(C,n,r),d(k,n,r);const S=(R,L)=>{_&16&&(s&&s.isCE&&(s.ce._teleportTarget=R),f(y,R,L,s,o,i,a,l))},A=()=>{const R=t.target=$a(t.props,m),L=Zd(R,t,g,d);R&&(i!=="svg"&&Gd(R)?i="svg":i!=="mathml"&&Kd(R)&&(i="mathml"),h||(S(R,L),Qs(t,!1)))};h&&(S(n,k),Qs(t,!0)),Vd(t.props)?Ut(()=>{A(),t.el.__isMounted=!0},o):A()}else{if(Vd(t.props)&&!e.el.__isMounted){Ut(()=>{Wd.process(e,t,n,r,s,o,i,a,l,u),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const C=t.anchor=e.anchor,k=t.target=e.target,S=t.targetAnchor=e.targetAnchor,A=Vo(e.props),R=A?n:k,L=A?C:S;if(i==="svg"||Gd(k)?i="svg":(i==="mathml"||Kd(k))&&(i="mathml"),b?(p(e.dynamicChildren,b,R,s,o,i,a),Wa(e,t,!0)):l||c(e,t,R,L,s,o,i,a,!1),h)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Js(t,n,C,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=$a(t.props,m);D&&Js(t,D,null,u,0)}else A&&Js(t,k,S,u,1);Qs(t,h)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:f,target:c,props:p}=e;if(c&&(s(u),s(f)),o&&s(l),i&16){const d=o||!Vo(p);for(let m=0;m<a.length;m++){const g=a[m];r(g,t,n,d,!!g.dynamicChildren)}}},move:Js,hydrate:Y_};function Js(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:f}=e,c=o===2;if(c&&r(i,t,n),(!c||Vo(f))&&l&16)for(let p=0;p<u.length;p++)s(u[p],t,n,2);c&&r(a,t,n)}function Y_(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:f}},c){const p=t.target=$a(t.props,l);if(p){const d=Vo(t.props),m=p._lpa||p.firstChild;if(t.shapeFlag&16)if(d)t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetStart=m,t.targetAnchor=m&&i(m);else{t.anchor=i(e);let g=m;for(;g;){if(g&&g.nodeType===8){if(g.data==="teleport start anchor")t.targetStart=g;else if(g.data==="teleport anchor"){t.targetAnchor=g,p._lpa=t.targetAnchor&&i(t.targetAnchor);break}}g=i(g)}t.targetAnchor||Zd(p,t,f,u),c(m&&i(m),t,p,n,r,s,o)}Qs(t,d)}return t.anchor&&i(t.anchor)}const J_=Wd;function Qs(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Zd(e,t,n,r){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[Ud]=o,e&&(r(s,e),r(o,e)),o}const yr=Symbol("_leaveCb"),ei=Symbol("_enterCb");function Q_(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return rt(()=>{e.isMounted=!0}),Wt(()=>{e.isUnmounting=!0}),e}const pn=[Function,Array],Xd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pn,onEnter:pn,onAfterEnter:pn,onEnterCancelled:pn,onBeforeLeave:pn,onLeave:pn,onAfterLeave:pn,onLeaveCancelled:pn,onBeforeAppear:pn,onAppear:pn,onAfterAppear:pn,onAppearCancelled:pn},Yd=e=>{const t=e.subTree;return t.component?Yd(t.component):t},e1={name:"BaseTransition",props:Xd,setup(e,{slots:t}){const n=mt(),r=Q_();return()=>{const s=t.default&&tp(t.default(),!0);if(!s||!s.length)return;const o=Jd(s),i=Pe(e),{mode:a}=i;if(r.isLeaving)return qa(o);const l=ep(o);if(!l)return qa(o);let u=Na(l,i,r,n,c=>u=c);l.type!==Lt&&Go(l,u);let f=n.subTree&&ep(n.subTree);if(f&&f.type!==Lt&&!Hr(l,f)&&Yd(n).type!==Lt){let c=Na(f,i,r,n);if(Go(f,c),a==="out-in"&&l.type!==Lt)return r.isLeaving=!0,c.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete c.afterLeave,f=void 0},qa(o);a==="in-out"&&l.type!==Lt?c.delayLeave=(p,d,m)=>{const g=Qd(r,f);g[String(f.key)]=f,p[yr]=()=>{d(),p[yr]=void 0,delete u.delayedLeave,f=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return o}}};function Jd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Lt){t=n;break}}return t}const t1=e1;function Qd(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 Na(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:f,onEnterCancelled:c,onBeforeLeave:p,onLeave:d,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:w,onAppear:h,onAfterAppear:_,onAppearCancelled:y}=t,b=String(e.key),C=Qd(n,e),k=(R,L)=>{R&&En(R,r,9,L)},S=(R,L)=>{const D=L[1];k(R,L),Te(R)?R.every(P=>P.length<=1)&&D():R.length<=1&&D()},A={mode:i,persisted:a,beforeEnter(R){let L=l;if(!n.isMounted)if(o)L=w||l;else return;R[yr]&&R[yr](!0);const D=C[b];D&&Hr(e,D)&&D.el[yr]&&D.el[yr](),k(L,[R])},enter(R){let L=u,D=f,P=c;if(!n.isMounted)if(o)L=h||u,D=_||f,P=y||c;else return;let oe=!1;const N=R[ei]=j=>{oe||(oe=!0,j?k(P,[R]):k(D,[R]),A.delayedLeave&&A.delayedLeave(),R[ei]=void 0)};L?S(L,[R,N]):N()},leave(R,L){const D=String(e.key);if(R[ei]&&R[ei](!0),n.isUnmounting)return L();k(p,[R]);let P=!1;const oe=R[yr]=N=>{P||(P=!0,L(),N?k(g,[R]):k(m,[R]),R[yr]=void 0,C[D]===e&&delete C[D])};C[D]=e,d?S(d,[R,oe]):oe()},clone(R){const L=Na(R,t,n,r,s);return s&&s(L),L}};return A}function qa(e){if(ni(e))return e=Qn(e),e.children=null,e}function ep(e){if(!ni(e))return jd(e.type)&&e.children?Jd(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&we(n.default))return n.default()}}function Go(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Go(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 tp(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Ze?(i.patchFlag&128&&s++,r=r.concat(tp(i.children,t,a))):(t||i.type!==Lt)&&r.push(a!=null?Qn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ee(e,t){return we(e)?kt({name:e.name},t,{setup:e}):e}function np(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ti(e,t,n,r,s=!1){if(Te(e)){e.forEach((m,g)=>ti(m,t&&(Te(t)?t[g]:t),n,r,s));return}if(po(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ti(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?fi(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,f=a.refs===Ye?a.refs={}:a.refs,c=a.setupState,p=Pe(c),d=c===Ye?()=>!1:m=>He(p,m);if(u!=null&&u!==l&&(qe(u)?(f[u]=null,d(u)&&(c[u]=null)):gt(u)&&(u.value=null)),we(l))co(l,a,12,[i,f]);else{const m=qe(l),g=gt(l);if(m||g){const w=()=>{if(e.f){const h=m?d(l)?c[l]:f[l]:l.value;s?Te(h)&&ma(h,o):Te(h)?h.includes(o)||h.push(o):m?(f[l]=[o],d(l)&&(c[l]=f[l])):(l.value=[o],e.k&&(f[e.k]=l.value))}else m?(f[l]=i,d(l)&&(c[l]=i)):g&&(l.value=i,e.k&&(f[e.k]=i))};i?(w.id=-1,Ut(w,n)):w()}}}Ns().requestIdleCallback,Ns().cancelIdleCallback;const po=e=>!!e.type.__asyncLoader,ni=e=>e.type.__isKeepAlive;function n1(e,t){op(e,"a",t)}function rp(e,t){op(e,"da",t)}function op(e,t,n=St){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ri(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ni(s.parent.vnode)&&r1(r,t,n,s),s=s.parent}}function r1(e,t,n,r){const s=ri(t,e,r,!0);oi(()=>{ma(r[t],s)},n)}function ri(e,t,n=St,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Gn();const a=Jo(n),l=En(t,n,e,i);return a(),Kn(),l});return r?s.unshift(o):s.push(o),o}}const Jn=e=>(t,n=St)=>{(!Qo||e==="sp")&&ri(e,(...r)=>t(...r),n)},sp=Jn("bm"),rt=Jn("m"),o1=Jn("bu"),ip=Jn("u"),Wt=Jn("bum"),oi=Jn("um"),s1=Jn("sp"),i1=Jn("rtg"),a1=Jn("rtc");function l1(e,t=St){ri("ec",e,t)}const Fa="components",c1="directives";function _r(e,t){return Ba(Fa,e,!0,t)||e}const ap=Symbol.for("v-ndc");function Bt(e){return qe(e)?Ba(Fa,e,!1)||e:e||ap}function lp(e){return Ba(c1,e)}function Ba(e,t,n=!0,r=!1){const s=Et||St;if(s){const o=s.type;if(e===Fa){const a=Vp(o,!1);if(a&&(a===t||a===fn(t)||a===Ds(fn(t))))return o}const i=cp(s[e]||o[e],t)||cp(s.appContext[e],t);return!i&&r?o:i}}function cp(e,t){return e&&(e[t]||e[fn(t)]||e[Ds(fn(t))])}function Cn(e,t,n,r){let s;const o=n,i=Te(e);if(i||qe(e)){const a=i&&lo(e);let l=!1;a&&(l=!dn(e),e=Bs(e)),s=new Array(e.length);for(let u=0,f=e.length;u<f;u++)s[u]=t(l?Mt(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(De(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const f=a[l];s[l]=t(e[f],f,l,o)}}else s=[];return s}function si(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Te(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function ye(e,t,n={},r,s){if(Et.ce||Et.parent&&po(Et.parent)&&Et.parent.ce)return t!=="default"&&(n.name=t),O(),le(Ze,null,[ke("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),O();const i=o&&up(o(n)),a=n.key||i&&i.key,l=le(Ze,{key:(a&&!Vn(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function up(e){return e.some(t=>Yo(t)?!(t.type===Lt||t.type===Ze&&!up(t.children)):!0)?e:null}const za=e=>e?zp(e)?fi(e):za(e.parent):null,Ko=kt(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=>za(e.parent),$root:e=>za(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>mp(e),$forceUpdate:e=>e.f||(e.f=()=>{Da(e.update)}),$nextTick:e=>e.n||(e.n=Ue.bind(e.proxy)),$watch:e=>R1.bind(e)}),Ha=(e,t)=>e!==Ye&&!e.__isScriptSetup&&He(e,t),u1={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Ha(r,t))return i[t]=1,r[t];if(s!==Ye&&He(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&He(u,t))return i[t]=3,o[t];if(n!==Ye&&He(n,t))return i[t]=4,n[t];Ua&&(i[t]=0)}}const f=Ko[t];let c,p;if(f)return t==="$attrs"&&It(e.attrs,"get",""),f(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Ye&&He(n,t))return i[t]=4,n[t];if(p=l.config.globalProperties,He(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Ha(s,t)?(s[t]=n,!0):r!==Ye&&He(r,t)?(r[t]=n,!0):He(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ye&&He(e,i)||Ha(t,i)||(a=o[0])&&He(a,i)||He(r,i)||He(Ko,i)||He(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:He(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function fp(){return dp().slots}function ii(){return dp().attrs}function dp(){const e=mt();return e.setupContext||(e.setupContext=jp(e))}function pp(e){return Te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ua=!0;function f1(e){const t=mp(e),n=e.proxy,r=e.ctx;Ua=!1,t.beforeCreate&&hp(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:f,beforeMount:c,mounted:p,beforeUpdate:d,updated:m,activated:g,deactivated:w,beforeDestroy:h,beforeUnmount:_,destroyed:y,unmounted:b,render:C,renderTracked:k,renderTriggered:S,errorCaptured:A,serverPrefetch:R,expose:L,inheritAttrs:D,components:P,directives:oe,filters:N}=t;if(u&&d1(u,r,null),i)for(const F in i){const B=i[F];we(B)&&(r[F]=B.bind(n))}if(s){const F=s.call(n,n);De(F)&&(e.data=wn(F))}if(Ua=!0,o)for(const F in o){const B=o[F],J=we(B)?B.bind(n,n):we(B.get)?B.get.bind(n,n):Rt,te=!we(B)&&we(B.set)?B.set.bind(n):Rt,Ae=I({get:J,set:te});Object.defineProperty(r,F,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:ve=>Ae.value=ve})}if(a)for(const F in a)gp(a[F],r,n,F);if(l){const F=we(l)?l.call(n):l;Reflect.ownKeys(F).forEach(B=>{Ht(B,F[B])})}f&&hp(f,e,"c");function q(F,B){Te(B)?B.forEach(J=>F(J.bind(n))):B&&F(B.bind(n))}if(q(sp,c),q(rt,p),q(o1,d),q(ip,m),q(n1,g),q(rp,w),q(l1,A),q(a1,k),q(i1,S),q(Wt,_),q(oi,b),q(s1,R),Te(L))if(L.length){const F=e.exposed||(e.exposed={});L.forEach(B=>{Object.defineProperty(F,B,{get:()=>n[B],set:J=>n[B]=J})})}else e.exposed||(e.exposed={});C&&e.render===Rt&&(e.render=C),D!=null&&(e.inheritAttrs=D),P&&(e.components=P),oe&&(e.directives=oe),R&&np(e)}function d1(e,t,n=Rt){Te(e)&&(e=ja(e));for(const r in e){const s=e[r];let o;De(s)?"default"in s?o=$e(s.from||r,s.default,!0):o=$e(s.from||r):o=$e(s),gt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function hp(e,t,n){En(Te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function gp(e,t,n,r){let s=r.includes(".")?Mp(n,r):()=>n[r];if(qe(e)){const o=t[e];we(o)&&Ee(s,o)}else if(we(e))Ee(s,e.bind(n));else if(De(e))if(Te(e))e.forEach(o=>gp(o,t,n,r));else{const o=we(e.handler)?e.handler.bind(n):t[e.handler];we(o)&&Ee(s,o,e)}}function mp(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>ai(l,u,i,!0)),ai(l,t,i)),De(t)&&o.set(t,l),l}function ai(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ai(e,o,n,!0),s&&s.forEach(i=>ai(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=p1[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const p1={data:vp,props:bp,emits:bp,methods:Wo,computed:Wo,beforeCreate:zt,created:zt,beforeMount:zt,mounted:zt,beforeUpdate:zt,updated:zt,beforeDestroy:zt,beforeUnmount:zt,destroyed:zt,unmounted:zt,activated:zt,deactivated:zt,errorCaptured:zt,serverPrefetch:zt,components:Wo,directives:Wo,watch:g1,provide:vp,inject:h1};function vp(e,t){return t?e?function(){return kt(we(e)?e.call(this,this):e,we(t)?t.call(this,this):t)}:t:e}function h1(e,t){return Wo(ja(e),ja(t))}function ja(e){if(Te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function zt(e,t){return e?[...new Set([].concat(e,t))]:t}function Wo(e,t){return e?kt(Object.create(null),e,t):t}function bp(e,t){return e?Te(e)&&Te(t)?[...new Set([...e,...t])]:kt(Object.create(null),pp(e),pp(t??{})):t}function g1(e,t){if(!e)return t;if(!t)return e;const n=kt(Object.create(null),e);for(const r in t)n[r]=zt(e[r],t[r]);return n}function yp(){return{app:null,config:{isNativeTag:o_,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 m1=0;function v1(e,t){return function(r,s=null){we(r)||(r=kt({},r)),s!=null&&!De(s)&&(s=null);const o=yp(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:m1++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Z1,get config(){return o.config},set config(f){},use(f,...c){return i.has(f)||(f&&we(f.install)?(i.add(f),f.install(u,...c)):we(f)&&(i.add(f),f(u,...c))),u},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),u},component(f,c){return c?(o.components[f]=c,u):o.components[f]},directive(f,c){return c?(o.directives[f]=c,u):o.directives[f]},mount(f,c,p){if(!l){const d=u._ceVNode||ke(r,s);return d.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(d,f,p),l=!0,u._container=f,f.__vue_app__=u,fi(d.component)}},onUnmount(f){a.push(f)},unmount(){l&&(En(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(f,c){return o.provides[f]=c,u},runWithContext(f){const c=ho;ho=u;try{return f()}finally{ho=c}}};return u}}let ho=null;function Ht(e,t){if(St){let n=St.provides;const r=St.parent&&St.parent.provides;r===n&&(n=St.provides=Object.create(r)),n[e]=t}}function $e(e,t,n=!1){const r=St||Et;if(r||ho){const s=ho?ho._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&we(t)?t.call(r&&r.proxy):t}}const _p={},wp=()=>Object.create(_p),kp=e=>Object.getPrototypeOf(e)===_p;function b1(e,t,n,r=!1){const s={},o=wp();e.propsDefaults=Object.create(null),Ep(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:P_(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function y1(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Pe(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let c=0;c<f.length;c++){let p=f[c];if(li(e.emitsOptions,p))continue;const d=t[p];if(l)if(He(o,p))d!==o[p]&&(o[p]=d,u=!0);else{const m=fn(p);s[m]=Va(l,a,m,d,e,!1)}else d!==o[p]&&(o[p]=d,u=!0)}}}else{Ep(e,t,s,o)&&(u=!0);let f;for(const c in a)(!t||!He(t,c)&&((f=mr(c))===c||!He(t,f)))&&(l?n&&(n[c]!==void 0||n[f]!==void 0)&&(s[c]=Va(l,a,c,void 0,e,!0)):delete s[c]);if(o!==a)for(const c in o)(!t||!He(t,c))&&(delete o[c],u=!0)}u&&Wn(e.attrs,"set","")}function Ep(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if($o(l))continue;const u=t[l];let f;s&&He(s,f=fn(l))?!o||!o.includes(f)?n[f]=u:(a||(a={}))[f]=u:li(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=Pe(n),u=a||Ye;for(let f=0;f<o.length;f++){const c=o[f];n[c]=Va(s,l,c,u[c],e,!He(u,c))}}return i}function Va(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=He(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&we(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const f=Jo(s);r=u[n]=l.call(null,t),f()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===mr(n))&&(r=!0))}return r}const _1=new WeakMap;function Cp(e,t,n=!1){const r=n?_1:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!we(e)){const f=c=>{l=!0;const[p,d]=Cp(c,t,!0);kt(i,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!l)return De(e)&&r.set(e,so),so;if(Te(o))for(let f=0;f<o.length;f++){const c=fn(o[f]);Sp(c)&&(i[c]=Ye)}else if(o)for(const f in o){const c=fn(f);if(Sp(c)){const p=o[f],d=i[c]=Te(p)||we(p)?{type:p}:kt({},p),m=d.type;let g=!1,w=!0;if(Te(m))for(let h=0;h<m.length;++h){const _=m[h],y=we(_)&&_.name;if(y==="Boolean"){g=!0;break}else y==="String"&&(w=!1)}else g=we(m)&&m.name==="Boolean";d[0]=g,d[1]=w,(g||He(d,"default"))&&a.push(c)}}const u=[i,a];return De(e)&&r.set(e,u),u}function Sp(e){return e[0]!=="$"&&!$o(e)}const xp=e=>e[0]==="_"||e==="$stable",Ga=e=>Te(e)?e.map(Pn):[Pn(e)],w1=(e,t,n)=>{if(t._n)return t;const r=ue((...s)=>Ga(t(...s)),n);return r._c=!1,r},Ap=(e,t,n)=>{const r=e._ctx;for(const s in e){if(xp(s))continue;const o=e[s];if(we(o))t[s]=w1(s,o,r);else if(o!=null){const i=Ga(o);t[s]=()=>i}}},Tp=(e,t)=>{const n=Ga(t);e.slots.default=()=>n},Op=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},k1=(e,t,n)=>{const r=e.slots=wp();if(e.vnode.shapeFlag&32){const s=t._;s?(Op(r,t,n),n&&cd(r,"_",s,!0)):Ap(t,r)}else t&&Tp(e,t)},E1=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ye;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Op(s,t,n):(o=!t.$stable,Ap(t,s)),i=t}else t&&(Tp(e,t),i={default:1});if(o)for(const a in s)!xp(a)&&i[a]==null&&delete s[a]},Ut=N1;function C1(e){return S1(e)}function S1(e,t){const n=Ns();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:f,parentNode:c,nextSibling:p,setScopeId:d=Rt,insertStaticContent:m}=e,g=(x,T,z,Y=null,K=null,Z=null,se=void 0,re=null,Q=!!T.dynamicChildren)=>{if(x===T)return;x&&!Hr(x,T)&&(Y=bt(x),ve(x,K,Z,!0),x=null),T.patchFlag===-2&&(Q=!1,T.dynamicChildren=null);const{type:X,ref:be,shapeFlag:ce}=T;switch(X){case go:w(x,T,z,Y);break;case Lt:h(x,T,z,Y);break;case Ya:x==null&&_(T,z,Y,se);break;case Ze:P(x,T,z,Y,K,Z,se,re,Q);break;default:ce&1?C(x,T,z,Y,K,Z,se,re,Q):ce&6?oe(x,T,z,Y,K,Z,se,re,Q):(ce&64||ce&128)&&X.process(x,T,z,Y,K,Z,se,re,Q,me)}be!=null&&K&&ti(be,x&&x.ref,Z,T||x,!T)},w=(x,T,z,Y)=>{if(x==null)r(T.el=a(T.children),z,Y);else{const K=T.el=x.el;T.children!==x.children&&u(K,T.children)}},h=(x,T,z,Y)=>{x==null?r(T.el=l(T.children||""),z,Y):T.el=x.el},_=(x,T,z,Y)=>{[x.el,x.anchor]=m(x.children,T,z,Y,x.el,x.anchor)},y=({el:x,anchor:T},z,Y)=>{let K;for(;x&&x!==T;)K=p(x),r(x,z,Y),x=K;r(T,z,Y)},b=({el:x,anchor:T})=>{let z;for(;x&&x!==T;)z=p(x),s(x),x=z;s(T)},C=(x,T,z,Y,K,Z,se,re,Q)=>{T.type==="svg"?se="svg":T.type==="math"&&(se="mathml"),x==null?k(T,z,Y,K,Z,se,re,Q):R(x,T,K,Z,se,re,Q)},k=(x,T,z,Y,K,Z,se,re)=>{let Q,X;const{props:be,shapeFlag:ce,transition:pe,dirs:H}=x;if(Q=x.el=i(x.type,Z,be&&be.is,be),ce&8?f(Q,x.children):ce&16&&A(x.children,Q,null,Y,K,Ka(x,Z),se,re),H&&Br(x,null,Y,"created"),S(Q,x,x.scopeId,se,Y),be){for(const Se in be)Se!=="value"&&!$o(Se)&&o(Q,Se,null,be[Se],Z,Y);"value"in be&&o(Q,"value",null,be.value,Z),(X=be.onVnodeBeforeMount)&&Dn(X,Y,x)}H&&Br(x,null,Y,"beforeMount");const ie=x1(K,pe);ie&&pe.beforeEnter(Q),r(Q,T,z),((X=be&&be.onVnodeMounted)||ie||H)&&Ut(()=>{X&&Dn(X,Y,x),ie&&pe.enter(Q),H&&Br(x,null,Y,"mounted")},K)},S=(x,T,z,Y,K)=>{if(z&&d(x,z),Y)for(let Z=0;Z<Y.length;Z++)d(x,Y[Z]);if(K){let Z=K.subTree;if(T===Z||$p(Z.type)&&(Z.ssContent===T||Z.ssFallback===T)){const se=K.vnode;S(x,se,se.scopeId,se.slotScopeIds,K.parent)}}},A=(x,T,z,Y,K,Z,se,re,Q=0)=>{for(let X=Q;X<x.length;X++){const be=x[X]=re?wr(x[X]):Pn(x[X]);g(null,be,T,z,Y,K,Z,se,re)}},R=(x,T,z,Y,K,Z,se)=>{const re=T.el=x.el;let{patchFlag:Q,dynamicChildren:X,dirs:be}=T;Q|=x.patchFlag&16;const ce=x.props||Ye,pe=T.props||Ye;let H;if(z&&zr(z,!1),(H=pe.onVnodeBeforeUpdate)&&Dn(H,z,T,x),be&&Br(T,x,z,"beforeUpdate"),z&&zr(z,!0),(ce.innerHTML&&pe.innerHTML==null||ce.textContent&&pe.textContent==null)&&f(re,""),X?L(x.dynamicChildren,X,re,z,Y,Ka(T,K),Z):se||B(x,T,re,null,z,Y,Ka(T,K),Z,!1),Q>0){if(Q&16)D(re,ce,pe,z,K);else if(Q&2&&ce.class!==pe.class&&o(re,"class",null,pe.class,K),Q&4&&o(re,"style",ce.style,pe.style,K),Q&8){const ie=T.dynamicProps;for(let Se=0;Se<ie.length;Se++){const Re=ie[Se],lt=ce[Re],ht=pe[Re];(ht!==lt||Re==="value")&&o(re,Re,lt,ht,K,z)}}Q&1&&x.children!==T.children&&f(re,T.children)}else!se&&X==null&&D(re,ce,pe,z,K);((H=pe.onVnodeUpdated)||be)&&Ut(()=>{H&&Dn(H,z,T,x),be&&Br(T,x,z,"updated")},Y)},L=(x,T,z,Y,K,Z,se)=>{for(let re=0;re<T.length;re++){const Q=x[re],X=T[re],be=Q.el&&(Q.type===Ze||!Hr(Q,X)||Q.shapeFlag&70)?c(Q.el):z;g(Q,X,be,null,Y,K,Z,se,!0)}},D=(x,T,z,Y,K)=>{if(T!==z){if(T!==Ye)for(const Z in T)!$o(Z)&&!(Z in z)&&o(x,Z,T[Z],null,K,Y);for(const Z in z){if($o(Z))continue;const se=z[Z],re=T[Z];se!==re&&Z!=="value"&&o(x,Z,re,se,K,Y)}"value"in z&&o(x,"value",T.value,z.value,K)}},P=(x,T,z,Y,K,Z,se,re,Q)=>{const X=T.el=x?x.el:a(""),be=T.anchor=x?x.anchor:a("");let{patchFlag:ce,dynamicChildren:pe,slotScopeIds:H}=T;H&&(re=re?re.concat(H):H),x==null?(r(X,z,Y),r(be,z,Y),A(T.children||[],z,be,K,Z,se,re,Q)):ce>0&&ce&64&&pe&&x.dynamicChildren?(L(x.dynamicChildren,pe,z,K,Z,se,re),(T.key!=null||K&&T===K.subTree)&&Wa(x,T,!0)):B(x,T,z,be,K,Z,se,re,Q)},oe=(x,T,z,Y,K,Z,se,re,Q)=>{T.slotScopeIds=re,x==null?T.shapeFlag&512?K.ctx.activate(T,z,Y,se,Q):N(T,z,Y,K,Z,se,Q):j(x,T,Q)},N=(x,T,z,Y,K,Z,se)=>{const re=x.component=H1(x,Y,K);if(ni(x)&&(re.ctx.renderer=me),U1(re,!1,se),re.asyncDep){if(K&&K.registerDep(re,q,se),!x.el){const Q=re.subTree=ke(Lt);h(null,Q,T,z)}}else q(re,x,T,z,K,Z,se)},j=(x,T,z)=>{const Y=T.component=x.component;if(D1(x,T,z))if(Y.asyncDep&&!Y.asyncResolved){F(Y,T,z);return}else Y.next=T,Y.update();else T.el=x.el,Y.vnode=T},q=(x,T,z,Y,K,Z,se)=>{const re=()=>{if(x.isMounted){let{next:ce,bu:pe,u:H,parent:ie,vnode:Se}=x;{const Tt=Rp(x);if(Tt){ce&&(ce.el=Se.el,F(x,ce,se)),Tt.asyncDep.then(()=>{x.isUnmounted||re()});return}}let Re=ce,lt;zr(x,!1),ce?(ce.el=Se.el,F(x,ce,se)):ce=Se,pe&&$s(pe),(lt=ce.props&&ce.props.onVnodeBeforeUpdate)&&Dn(lt,ie,ce,Se),zr(x,!0);const ht=Pp(x),Ct=x.subTree;x.subTree=ht,g(Ct,ht,c(Ct.el),bt(Ct),x,K,Z),ce.el=ht.el,Re===null&&$1(x,ht.el),H&&Ut(H,K),(lt=ce.props&&ce.props.onVnodeUpdated)&&Ut(()=>Dn(lt,ie,ce,Se),K)}else{let ce;const{el:pe,props:H}=T,{bm:ie,m:Se,parent:Re,root:lt,type:ht}=x,Ct=po(T);zr(x,!1),ie&&$s(ie),!Ct&&(ce=H&&H.onVnodeBeforeMount)&&Dn(ce,Re,T),zr(x,!0);{lt.ce&<.ce._injectChildStyle(ht);const Tt=x.subTree=Pp(x);g(null,Tt,z,Y,x,K,Z),T.el=Tt.el}if(Se&&Ut(Se,K),!Ct&&(ce=H&&H.onVnodeMounted)){const Tt=T;Ut(()=>Dn(ce,Re,Tt),K)}(T.shapeFlag&256||Re&&po(Re.vnode)&&Re.vnode.shapeFlag&256)&&x.a&&Ut(x.a,K),x.isMounted=!0,T=z=Y=null}};x.scope.on();const Q=x.effect=new gd(re);x.scope.off();const X=x.update=Q.run.bind(Q),be=x.job=Q.runIfDirty.bind(Q);be.i=x,be.id=x.uid,Q.scheduler=()=>Da(be),zr(x,!0),X()},F=(x,T,z)=>{T.component=x;const Y=x.vnode.props;x.vnode=T,x.next=null,y1(x,T.props,Y,z),E1(x,T.children,z),Gn(),Fd(x),Kn()},B=(x,T,z,Y,K,Z,se,re,Q=!1)=>{const X=x&&x.children,be=x?x.shapeFlag:0,ce=T.children,{patchFlag:pe,shapeFlag:H}=T;if(pe>0){if(pe&128){te(X,ce,z,Y,K,Z,se,re,Q);return}else if(pe&256){J(X,ce,z,Y,K,Z,se,re,Q);return}}H&8?(be&16&&pt(X,K,Z),ce!==X&&f(z,ce)):be&16?H&16?te(X,ce,z,Y,K,Z,se,re,Q):pt(X,K,Z,!0):(be&8&&f(z,""),H&16&&A(ce,z,Y,K,Z,se,re,Q))},J=(x,T,z,Y,K,Z,se,re,Q)=>{x=x||so,T=T||so;const X=x.length,be=T.length,ce=Math.min(X,be);let pe;for(pe=0;pe<ce;pe++){const H=T[pe]=Q?wr(T[pe]):Pn(T[pe]);g(x[pe],H,z,null,K,Z,se,re,Q)}X>be?pt(x,K,Z,!0,!1,ce):A(T,z,Y,K,Z,se,re,Q,ce)},te=(x,T,z,Y,K,Z,se,re,Q)=>{let X=0;const be=T.length;let ce=x.length-1,pe=be-1;for(;X<=ce&&X<=pe;){const H=x[X],ie=T[X]=Q?wr(T[X]):Pn(T[X]);if(Hr(H,ie))g(H,ie,z,null,K,Z,se,re,Q);else break;X++}for(;X<=ce&&X<=pe;){const H=x[ce],ie=T[pe]=Q?wr(T[pe]):Pn(T[pe]);if(Hr(H,ie))g(H,ie,z,null,K,Z,se,re,Q);else break;ce--,pe--}if(X>ce){if(X<=pe){const H=pe+1,ie=H<be?T[H].el:Y;for(;X<=pe;)g(null,T[X]=Q?wr(T[X]):Pn(T[X]),z,ie,K,Z,se,re,Q),X++}}else if(X>pe)for(;X<=ce;)ve(x[X],K,Z,!0),X++;else{const H=X,ie=X,Se=new Map;for(X=ie;X<=pe;X++){const yt=T[X]=Q?wr(T[X]):Pn(T[X]);yt.key!=null&&Se.set(yt.key,X)}let Re,lt=0;const ht=pe-ie+1;let Ct=!1,Tt=0;const In=new Array(ht);for(X=0;X<ht;X++)In[X]=0;for(X=H;X<=ce;X++){const yt=x[X];if(lt>=ht){ve(yt,K,Z,!0);continue}let Dt;if(yt.key!=null)Dt=Se.get(yt.key);else for(Re=ie;Re<=pe;Re++)if(In[Re-ie]===0&&Hr(yt,T[Re])){Dt=Re;break}Dt===void 0?ve(yt,K,Z,!0):(In[Dt-ie]=X+1,Dt>=Tt?Tt=Dt:Ct=!0,g(yt,T[Dt],z,null,K,Z,se,re,Q),lt++)}const yn=Ct?A1(In):so;for(Re=yn.length-1,X=ht-1;X>=0;X--){const yt=ie+X,Dt=T[yt],Hn=yt+1<be?T[yt+1].el:Y;In[X]===0?g(null,Dt,z,Hn,K,Z,se,re,Q):Ct&&(Re<0||X!==yn[Re]?Ae(Dt,z,Hn,2):Re--)}}},Ae=(x,T,z,Y,K=null)=>{const{el:Z,type:se,transition:re,children:Q,shapeFlag:X}=x;if(X&6){Ae(x.component.subTree,T,z,Y);return}if(X&128){x.suspense.move(T,z,Y);return}if(X&64){se.move(x,T,z,me);return}if(se===Ze){r(Z,T,z);for(let ce=0;ce<Q.length;ce++)Ae(Q[ce],T,z,Y);r(x.anchor,T,z);return}if(se===Ya){y(x,T,z);return}if(Y!==2&&X&1&&re)if(Y===0)re.beforeEnter(Z),r(Z,T,z),Ut(()=>re.enter(Z),K);else{const{leave:ce,delayLeave:pe,afterLeave:H}=re,ie=()=>r(Z,T,z),Se=()=>{ce(Z,()=>{ie(),H&&H()})};pe?pe(Z,ie,Se):Se()}else r(Z,T,z)},ve=(x,T,z,Y=!1,K=!1)=>{const{type:Z,props:se,ref:re,children:Q,dynamicChildren:X,shapeFlag:be,patchFlag:ce,dirs:pe,cacheIndex:H}=x;if(ce===-2&&(K=!1),re!=null&&ti(re,null,z,x,!0),H!=null&&(T.renderCache[H]=void 0),be&256){T.ctx.deactivate(x);return}const ie=be&1&&pe,Se=!po(x);let Re;if(Se&&(Re=se&&se.onVnodeBeforeUnmount)&&Dn(Re,T,x),be&6)ot(x.component,z,Y);else{if(be&128){x.suspense.unmount(z,Y);return}ie&&Br(x,null,T,"beforeUnmount"),be&64?x.type.remove(x,T,z,me,Y):X&&!X.hasOnce&&(Z!==Ze||ce>0&&ce&64)?pt(X,T,z,!1,!0):(Z===Ze&&ce&384||!K&&be&16)&&pt(Q,T,z),Y&&Fe(x)}(Se&&(Re=se&&se.onVnodeUnmounted)||ie)&&Ut(()=>{Re&&Dn(Re,T,x),ie&&Br(x,null,T,"unmounted")},z)},Fe=x=>{const{type:T,el:z,anchor:Y,transition:K}=x;if(T===Ze){et(z,Y);return}if(T===Ya){b(x);return}const Z=()=>{s(z),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(x.shapeFlag&1&&K&&!K.persisted){const{leave:se,delayLeave:re}=K,Q=()=>se(z,Z);re?re(x.el,Z,Q):Q()}else Z()},et=(x,T)=>{let z;for(;x!==T;)z=p(x),s(x),x=z;s(T)},ot=(x,T,z)=>{const{bum:Y,scope:K,job:Z,subTree:se,um:re,m:Q,a:X}=x;Ip(Q),Ip(X),Y&&$s(Y),K.stop(),Z&&(Z.flags|=8,ve(se,x,T,z)),re&&Ut(re,T),Ut(()=>{x.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},pt=(x,T,z,Y=!1,K=!1,Z=0)=>{for(let se=Z;se<x.length;se++)ve(x[se],T,z,Y,K)},bt=x=>{if(x.shapeFlag&6)return bt(x.component.subTree);if(x.shapeFlag&128)return x.suspense.next();const T=p(x.anchor||x.el),z=T&&T[Ud];return z?p(z):T};let ft=!1;const ln=(x,T,z)=>{x==null?T._vnode&&ve(T._vnode,null,null,!0):g(T._vnode||null,x,T,null,null,null,z),T._vnode=x,ft||(ft=!0,Fd(),Bd(),ft=!1)},me={p:g,um:ve,m:Ae,r:Fe,mt:N,mc:A,pc:B,pbc:L,n:bt,o:e};return{render:ln,hydrate:void 0,createApp:v1(ln)}}function Ka({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function zr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function x1(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wa(e,t,n=!1){const r=e.children,s=t.children;if(Te(r)&&Te(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=wr(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Wa(i,a)),a.type===go&&(a.el=i.el)}}function A1(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Rp(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Rp(t)}function Ip(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const T1=Symbol.for("v-scx"),O1=()=>$e(T1);function Za(e,t){return Xa(e,null,t)}function Ee(e,t,n){return Xa(e,t,n)}function Xa(e,t,n=Ye){const{immediate:r,deep:s,flush:o,once:i}=n,a=kt({},n),l=t&&r||!t&&o!=="post";let u;if(Qo){if(o==="sync"){const d=O1();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=Rt,d.resume=Rt,d.pause=Rt,d}}const f=St;a.call=(d,m,g)=>En(d,f,m,g);let c=!1;o==="post"?a.scheduler=d=>{Ut(d,f&&f.suspense)}:o!=="sync"&&(c=!0,a.scheduler=(d,m)=>{m?d():Da(d)}),a.augmentJob=d=>{t&&(d.flags|=4),c&&(d.flags|=2,f&&(d.id=f.uid,d.i=f))};const p=U_(e,t,a);return Qo&&(u?u.push(p):l&&p()),p}function R1(e,t,n){const r=this.proxy,s=qe(e)?e.includes(".")?Mp(r,e):()=>r[e]:e.bind(r,r);let o;we(t)?o=t:(o=t.handler,n=t);const i=Jo(this),a=Xa(s,o.bind(r),n);return i(),a}function Mp(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}}const I1=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${fn(t)}Modifiers`]||e[`${mr(t)}Modifiers`];function M1(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ye;let s=n;const o=t.startsWith("update:"),i=o&&I1(r,t.slice(7));i&&(i.trim&&(s=n.map(f=>qe(f)?f.trim():f)),i.number&&(s=n.map(ya)));let a,l=r[a=ba(t)]||r[a=ba(fn(t))];!l&&o&&(l=r[a=ba(mr(t))]),l&&En(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,En(u,e,6,s)}}function Lp(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!we(e)){const l=u=>{const f=Lp(u,t,!0);f&&(a=!0,kt(i,f))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(De(e)&&r.set(e,null),null):(Te(o)?o.forEach(l=>i[l]=null):kt(i,o),De(e)&&r.set(e,i),i)}function li(e,t){return!e||!Is(t)?!1:(t=t.slice(2).replace(/Once$/,""),He(e,t[0].toLowerCase()+t.slice(1))||He(e,mr(t))||He(e,t))}function MD(){}function Pp(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:f,props:c,data:p,setupState:d,ctx:m,inheritAttrs:g}=e,w=Ys(e);let h,_;try{if(n.shapeFlag&4){const b=s||r,C=b;h=Pn(u.call(C,b,f,c,d,p,m)),_=a}else{const b=t;h=Pn(b.length>1?b(c,{attrs:a,slots:i,emit:l}):b(c,null)),_=t.props?a:L1(a)}}catch(b){Zo.length=0,Zs(b,e,1),h=ke(Lt)}let y=h;if(_&&g!==!1){const b=Object.keys(_),{shapeFlag:C}=y;b.length&&C&7&&(o&&b.some(ga)&&(_=P1(_,o)),y=Qn(y,_,!1,!0))}return n.dirs&&(y=Qn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&Go(y,n.transition),h=y,Ys(w),h}const L1=e=>{let t;for(const n in e)(n==="class"||n==="style"||Is(n))&&((t||(t={}))[n]=e[n]);return t},P1=(e,t)=>{const n={};for(const r in e)(!ga(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function D1(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Dp(r,i,u):!!i;if(l&8){const f=t.dynamicProps;for(let c=0;c<f.length;c++){const p=f[c];if(i[p]!==r[p]&&!li(u,p))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Dp(r,i,u):!0:!!i;return!1}function Dp(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 o=r[s];if(t[o]!==e[o]&&!li(n,o))return!0}return!1}function $1({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const $p=e=>e.__isSuspense;function N1(e,t){t&&t.pendingBranch?Te(e)?t.effects.push(...e):t.effects.push(e):X_(e)}const Ze=Symbol.for("v-fgt"),go=Symbol.for("v-txt"),Lt=Symbol.for("v-cmt"),Ya=Symbol.for("v-stc"),Zo=[];let tn=null;function O(e=!1){Zo.push(tn=e?null:[])}function q1(){Zo.pop(),tn=Zo[Zo.length-1]||null}let Xo=1;function Np(e,t=!1){Xo+=e,e<0&&tn&&t&&(tn.hasOnce=!0)}function qp(e){return e.dynamicChildren=Xo>0?tn||so:null,q1(),Xo>0&&tn&&tn.push(e),e}function U(e,t,n,r,s,o){return qp(ne(e,t,n,r,s,o,!0))}function le(e,t,n,r,s){return qp(ke(e,t,n,r,s,!0))}function Yo(e){return e?e.__v_isVNode===!0:!1}function Hr(e,t){return e.type===t.type&&e.key===t.key}const Fp=({key:e})=>e??null,ci=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||gt(e)||we(e)?{i:Et,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,r=0,s=null,o=e===Ze?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fp(t),ref:t&&ci(t),scopeId:Hd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Et};return a?(Qa(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=qe(n)?8:16),Xo>0&&!i&&tn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&tn.push(l),l}const ke=F1;function F1(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===ap)&&(e=Lt),Yo(e)){const a=Qn(e,t,!0);return n&&Qa(a,n),Xo>0&&!o&&tn&&(a.shapeFlag&6?tn[tn.indexOf(e)]=a:tn.push(a)),a.patchFlag=-2,a}if(W1(e)&&(e=e.__vccOpts),t){t=Ja(t);let{class:a,style:l}=t;a&&!qe(a)&&(t.class=W(a)),De(l)&&(Ma(l)&&!Te(l)&&(l=kt({},l)),t.style=nt(l))}const i=qe(e)?1:$p(e)?128:jd(e)?64:De(e)?4:we(e)?2:0;return ne(e,t,n,r,s,i,o,!0)}function Ja(e){return e?Ma(e)||kp(e)?kt({},e):e:null}function Qn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?dt(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Fp(u),ref:t&&t.ref?n&&o?Te(o)?o.concat(ci(t)):[o,ci(t)]:ci(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ze?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Go(f,l.clone(f)),f}function Ur(e=" ",t=0){return ke(go,null,e,t)}function ge(e="",t=!1){return t?(O(),le(Lt,null,e)):ke(Lt,null,e)}function Pn(e){return e==null||typeof e=="boolean"?ke(Lt):Te(e)?ke(Ze,null,e.slice()):Yo(e)?wr(e):ke(go,null,String(e))}function wr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qn(e)}function Qa(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Te(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Qa(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!kp(t)?t._ctx=Et:s===3&&Et&&(Et.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else we(t)?(t={default:t,_ctx:Et},n=32):(t=String(t),r&64?(n=16,t=[Ur(t)]):n=8);e.children=t,e.shapeFlag|=n}function dt(...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=W([t.class,r.class]));else if(s==="style")t.style=nt([t.style,r.style]);else if(Is(s)){const o=t[s],i=r[s];i&&o!==i&&!(Te(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Dn(e,t,n,r=null){En(e,t,7,[n,r])}const B1=yp();let z1=0;function H1(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||B1,o={uid:z1++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new h_(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Cp(r,s),emitsOptions:Lp(r,s),emit:null,emitted:null,propsDefaults:Ye,inheritAttrs:r.inheritAttrs,ctx:Ye,data:Ye,props:Ye,attrs:Ye,slots:Ye,refs:Ye,setupState:Ye,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=M1.bind(null,o),e.ce&&e.ce(o),o}let St=null;const mt=()=>St||Et;let ui,el;{const e=Ns(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ui=t("__VUE_INSTANCE_SETTERS__",n=>St=n),el=t("__VUE_SSR_SETTERS__",n=>Qo=n)}const Jo=e=>{const t=St;return ui(e),e.scope.on(),()=>{e.scope.off(),ui(t)}},Bp=()=>{St&&St.scope.off(),ui(null)};function zp(e){return e.vnode.shapeFlag&4}let Qo=!1;function U1(e,t=!1,n=!1){t&&el(t);const{props:r,children:s}=e.vnode,o=zp(e);b1(e,r,o,t),k1(e,s,n);const i=o?j1(e,t):void 0;return t&&el(!1),i}function j1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,u1);const{setup:r}=n;if(r){Gn();const s=e.setupContext=r.length>1?jp(e):null,o=Jo(e),i=co(r,e,0,[e.props,s]),a=id(i);if(Kn(),o(),(a||e.sp)&&!po(e)&&np(e),a){if(i.then(Bp,Bp),t)return i.then(l=>{Hp(e,l)}).catch(l=>{Zs(l,e,0)});e.asyncDep=i}else Hp(e,i)}else Up(e)}function Hp(e,t,n){we(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=Pd(t)),Up(e)}function Up(e,t,n){const r=e.type;e.render||(e.render=r.render||Rt);{const s=Jo(e);Gn();try{f1(e)}finally{Kn(),s()}}}const V1={get(e,t){return It(e,"get",""),e[t]}};function jp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,V1),slots:e.slots,emit:e.emit,expose:t}}function fi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Pd(D_(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ko)return Ko[n](e)},has(t,n){return n in t||n in Ko}})):e.proxy}const G1=/(?:^|[-_])(\w)/g,K1=e=>e.replace(G1,t=>t.toUpperCase()).replace(/[-_]/g,"");function Vp(e,t=!0){return we(e)?e.displayName||e.name:e.name||t&&e.__name}function Gp(e,t,n=!1){let r=Vp(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e&&e.parent){const s=o=>{for(const i in o)if(o[i]===t)return i};r=s(e.components||e.parent.type.components)||s(e.appContext.components)}return r?K1(r):n?"App":"Anonymous"}function W1(e){return we(e)&&"__vccOpts"in e}const I=(e,t)=>z_(e,t,Qo);function hn(e,t,n){const r=arguments.length;return r===2?De(t)&&!Te(t)?Yo(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yo(n)&&(n=[n]),ke(e,t,n))}const Z1="3.5.13",X1=Rt;/**
|
|
15
|
+
`,...N4(s)),console.warn(...o)}Un(),Na=!1}function D4(){let e=Fo[Fo.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function N4(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
16
|
+
`],...q4(n))}),t}function q4({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${J0(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...B4(e.props),o]:[s+o]}function B4(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...zd(r,e[r]))}),n.length>3&&t.push(" ..."),t}function zd(e,t,n){return qe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ht(t)?(t=zd(e,Oe(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):we(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Oe(t),n?t:[`${e}=`,t])}function ao(e,t,n,r){try{return r?e(...r):e()}catch(s){Ks(s,t,n)}}function yn(e,t,n,r){if(we(e)){const s=ao(e,t,n,r);return s&&fd(s)&&s.catch(o=>{Ks(o,t,n)}),s}if(Te(e)){const s=[];for(let o=0;o<e.length;o++)s.push(yn(e[o],t,n,r));return s}}function Ks(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ze;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const f=a.ec;if(f){for(let c=0;c<f.length;c++)if(f[c](e,l,u)===!1)return}a=a.parent}if(o){Vn(),ao(o,null,10,[e,l,u]),Un();return}}F4(e,n,s,r,i)}function F4(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ft=[];let In=-1;const lo=[];let mr=null,co=0;const Hd=Promise.resolve();let Gs=null;function He(e){const t=Gs||Hd;return e?t.then(this?e.bind(this):e):t}function z4(e){let t=In+1,n=Ft.length;for(;t<n;){const r=t+n>>>1,s=Ft[r],o=zo(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function qa(e){if(!(e.flags&1)){const t=zo(e),n=Ft[Ft.length-1];!n||!(e.flags&2)&&t>=zo(n)?Ft.push(e):Ft.splice(z4(t),0,e),e.flags|=1,jd()}}function jd(){Gs||(Gs=Hd.then(Kd))}function H4(e){Te(e)?lo.push(...e):mr&&e.id===-1?mr.splice(co+1,0,e):e.flags&1||(lo.push(e),e.flags|=1),jd()}function Vd(e,t,n=In+1){for(;n<Ft.length;n++){const r=Ft[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ft.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Ud(e){if(lo.length){const t=[...new Set(lo)].sort((n,r)=>zo(n)-zo(r));if(lo.length=0,mr){mr.push(...t);return}for(mr=t,co=0;co<mr.length;co++){const n=mr[co];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}mr=null,co=0}}const zo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Kd(e){try{for(In=0;In<Ft.length;In++){const t=Ft[In];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ao(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;In<Ft.length;In++){const t=Ft[In];t&&(t.flags&=-2)}In=-1,Ft.length=0,Ud(),Gs=null,(Ft.length||lo.length)&&Kd()}}let Ct=null,Gd=null;function Ws(e){const t=Ct;return Ct=e,Gd=e&&e.type.__scopeId||null,t}function fe(e,t=Ct,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&H0(-1);const o=Ws(t);let i;try{i=e(...s)}finally{Ws(o),r._d&&H0(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function zt(e,t){if(Ct===null)return e;const n=ci(Ct),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=ze]=t[s];o&&(we(o)&&(o={mounted:o,updated:o}),o.deep&&Zn(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function qr(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Vn(),yn(l,n,8,[e.el,a,e,t]),Un())}}const Wd=Symbol("_vte"),Zd=e=>e.__isTeleport,Ho=e=>e&&(e.disabled||e.disabled===""),Xd=e=>e&&(e.defer||e.defer===""),Jd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Yd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ba=(e,t)=>{const n=e&&e.to;return qe(n)?t?t(n):null:n},Qd={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:f,pc:c,pbc:p,o:{insert:d,querySelector:m,createText:g,createComment:C}}=u,h=Ho(t.props);let{shapeFlag:k,children:y,dynamicChildren:_}=t;if(e==null){const S=t.el=g(""),x=t.anchor=g("");d(S,n,r),d(x,n,r);const T=(I,P)=>{k&16&&(s&&s.isCE&&(s.ce._teleportTarget=I),f(y,I,P,s,o,i,a,l))},L=()=>{const I=t.target=Ba(t.props,m),P=e0(I,t,g,d);I&&(i!=="svg"&&Jd(I)?i="svg":i!=="mathml"&&Yd(I)&&(i="mathml"),h||(T(I,P),Xs(t,!1)))};h&&(T(n,x),Xs(t,!0)),Xd(t.props)?Vt(()=>{L(),t.el.__isMounted=!0},o):L()}else{if(Xd(t.props)&&!e.el.__isMounted){Vt(()=>{Qd.process(e,t,n,r,s,o,i,a,l,u),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,x=t.target=e.target,T=t.targetAnchor=e.targetAnchor,L=Ho(e.props),I=L?n:x,P=L?S:T;if(i==="svg"||Jd(x)?i="svg":(i==="mathml"||Yd(x))&&(i="mathml"),_?(p(e.dynamicChildren,_,I,s,o,i,a),Ja(e,t,!0)):l||c(e,t,I,P,s,o,i,a,!1),h)L?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zs(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Ba(t.props,m);N&&Zs(t,N,null,u,0)}else L&&Zs(t,x,T,u,1);Xs(t,h)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:f,target:c,props:p}=e;if(c&&(s(u),s(f)),o&&s(l),i&16){const d=o||!Ho(p);for(let m=0;m<a.length;m++){const g=a[m];r(g,t,n,d,!!g.dynamicChildren)}}},move:Zs,hydrate:j4};function Zs(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:f}=e,c=o===2;if(c&&r(i,t,n),(!c||Ho(f))&&l&16)for(let p=0;p<u.length;p++)s(u[p],t,n,2);c&&r(a,t,n)}function j4(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:f}},c){const p=t.target=Ba(t.props,l);if(p){const d=Ho(t.props),m=p._lpa||p.firstChild;if(t.shapeFlag&16)if(d)t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetStart=m,t.targetAnchor=m&&i(m);else{t.anchor=i(e);let g=m;for(;g;){if(g&&g.nodeType===8){if(g.data==="teleport start anchor")t.targetStart=g;else if(g.data==="teleport anchor"){t.targetAnchor=g,p._lpa=t.targetAnchor&&i(t.targetAnchor);break}}g=i(g)}t.targetAnchor||e0(p,t,f,u),c(m&&i(m),t,p,n,r,s,o)}Xs(t,d)}return t.anchor&&i(t.anchor)}const V4=Qd;function Xs(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function e0(e,t,n,r){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[Wd]=o,e&&(r(s,e),r(o,e)),o}const vr=Symbol("_leaveCb"),Js=Symbol("_enterCb");function U4(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return nt(()=>{e.isMounted=!0}),Wt(()=>{e.isUnmounting=!0}),e}const fn=[Function,Array],t0={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:fn,onEnter:fn,onAfterEnter:fn,onEnterCancelled:fn,onBeforeLeave:fn,onLeave:fn,onAfterLeave:fn,onLeaveCancelled:fn,onBeforeAppear:fn,onAppear:fn,onAfterAppear:fn,onAppearCancelled:fn},n0=e=>{const t=e.subTree;return t.component?n0(t.component):t},K4={name:"BaseTransition",props:t0,setup(e,{slots:t}){const n=mt(),r=U4();return()=>{const s=t.default&&i0(t.default(),!0);if(!s||!s.length)return;const o=r0(s),i=Oe(e),{mode:a}=i;if(r.isLeaving)return za(o);const l=s0(o);if(!l)return za(o);let u=Fa(l,i,r,n,c=>u=c);l.type!==Ot&&jo(l,u);let f=n.subTree&&s0(n.subTree);if(f&&f.type!==Ot&&!Fr(l,f)&&n0(n).type!==Ot){let c=Fa(f,i,r,n);if(jo(f,c),a==="out-in"&&l.type!==Ot)return r.isLeaving=!0,c.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete c.afterLeave,f=void 0},za(o);a==="in-out"&&l.type!==Ot?c.delayLeave=(p,d,m)=>{const g=o0(r,f);g[String(f.key)]=f,p[vr]=()=>{d(),p[vr]=void 0,delete u.delayedLeave,f=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return o}}};function r0(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ot){t=n;break}}return t}const G4=K4;function o0(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 Fa(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:f,onEnterCancelled:c,onBeforeLeave:p,onLeave:d,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:C,onAppear:h,onAfterAppear:k,onAppearCancelled:y}=t,_=String(e.key),S=o0(n,e),x=(I,P)=>{I&&yn(I,r,9,P)},T=(I,P)=>{const N=P[1];x(I,P),Te(I)?I.every(D=>D.length<=1)&&N():I.length<=1&&N()},L={mode:i,persisted:a,beforeEnter(I){let P=l;if(!n.isMounted)if(o)P=C||l;else return;I[vr]&&I[vr](!0);const N=S[_];N&&Fr(e,N)&&N.el[vr]&&N.el[vr](),x(P,[I])},enter(I){let P=u,N=f,D=c;if(!n.isMounted)if(o)P=h||u,N=k||f,D=y||c;else return;let oe=!1;const B=I[Js]=K=>{oe||(oe=!0,K?x(D,[I]):x(N,[I]),L.delayedLeave&&L.delayedLeave(),I[Js]=void 0)};P?T(P,[I,B]):B()},leave(I,P){const N=String(e.key);if(I[Js]&&I[Js](!0),n.isUnmounting)return P();x(p,[I]);let D=!1;const oe=I[vr]=B=>{D||(D=!0,P(),B?x(g,[I]):x(m,[I]),I[vr]=void 0,S[N]===e&&delete S[N])};S[N]=e,d?T(d,[I,oe]):oe()},clone(I){const P=Fa(I,t,n,r,s);return s&&s(P),P}};return L}function za(e){if(Qs(e))return e=Jn(e),e.children=null,e}function s0(e){if(!Qs(e))return Zd(e.type)&&e.children?r0(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&we(n.default))return n.default()}}function jo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,jo(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 i0(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Xe?(i.patchFlag&128&&s++,r=r.concat(i0(i.children,t,a))):(t||i.type!==Ot)&&r.push(a!=null?Jn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ne(e,t){return we(e)?kt({name:e.name},t,{setup:e}):e}function a0(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ys(e,t,n,r,s=!1){if(Te(e)){e.forEach((m,g)=>Ys(m,t&&(Te(t)?t[g]:t),n,r,s));return}if(uo(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ys(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?ci(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,f=a.refs===ze?a.refs={}:a.refs,c=a.setupState,p=Oe(c),d=c===ze?()=>!1:m=>Ve(p,m);if(u!=null&&u!==l&&(qe(u)?(f[u]=null,d(u)&&(c[u]=null)):ht(u)&&(u.value=null)),we(l))ao(l,a,12,[i,f]);else{const m=qe(l),g=ht(l);if(m||g){const C=()=>{if(e.f){const h=m?d(l)?c[l]:f[l]:l.value;s?Te(h)&&_a(h,o):Te(h)?h.includes(o)||h.push(o):m?(f[l]=[o],d(l)&&(c[l]=f[l])):(l.value=[o],e.k&&(f[e.k]=l.value))}else m?(f[l]=i,d(l)&&(c[l]=i)):g&&(l.value=i,e.k&&(f[e.k]=i))};i?(C.id=-1,Vt(C,n)):C()}}}Os().requestIdleCallback,Os().cancelIdleCallback;const uo=e=>!!e.type.__asyncLoader,Qs=e=>e.type.__isKeepAlive;function W4(e,t){c0(e,"a",t)}function l0(e,t){c0(e,"da",t)}function c0(e,t,n=Et){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ei(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Qs(s.parent.vnode)&&Z4(r,t,n,s),s=s.parent}}function Z4(e,t,n,r){const s=ei(t,e,r,!0);ti(()=>{_a(r[t],s)},n)}function ei(e,t,n=Et,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Vn();const a=Zo(n),l=yn(t,n,e,i);return a(),Un(),l});return r?s.unshift(o):s.push(o),o}}const Xn=e=>(t,n=Et)=>{(!Xo||e==="sp")&&ei(e,(...r)=>t(...r),n)},u0=Xn("bm"),nt=Xn("m"),X4=Xn("bu"),f0=Xn("u"),Wt=Xn("bum"),ti=Xn("um"),J4=Xn("sp"),Y4=Xn("rtg"),Q4=Xn("rtc");function ew(e,t=Et){ei("ec",e,t)}const Ha="components",tw="directives";function br(e,t){return ja(Ha,e,!0,t)||e}const d0=Symbol.for("v-ndc");function Rt(e){return qe(e)?ja(Ha,e,!1)||e:e||d0}function p0(e){return ja(tw,e)}function ja(e,t,n=!0,r=!1){const s=Ct||Et;if(s){const o=s.type;if(e===Ha){const a=X0(o,!1);if(a&&(a===t||a===cn(t)||a===Is(cn(t))))return o}const i=h0(s[e]||o[e],t)||h0(s.appContext[e],t);return!i&&r?o:i}}function h0(e,t){return e&&(e[t]||e[cn(t)]||e[Is(cn(t))])}function wn(e,t,n,r){let s;const o=n,i=Te(e);if(i||qe(e)){const a=i&&io(e);let l=!1;a&&(l=!un(e),e=Ns(e)),s=new Array(e.length);for(let u=0,f=e.length;u<f;u++)s[u]=t(l?It(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(Pe(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const f=a[l];s[l]=t(e[f],f,l,o)}}else s=[];return s}function ni(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Te(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function _e(e,t,n={},r,s){if(Ct.ce||Ct.parent&&uo(Ct.parent)&&Ct.parent.ce)return t!=="default"&&(n.name=t),w(),le(Xe,null,[ke("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),w();const i=o&&g0(o(n)),a=n.key||i&&i.key,l=le(Xe,{key:(a&&!jn(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function g0(e){return e.some(t=>Wo(t)?!(t.type===Ot||t.type===Xe&&!g0(t.children)):!0)?e:null}const Va=e=>e?K0(e)?ci(e):Va(e.parent):null,Vo=kt(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=>Va(e.parent),$root:e=>Va(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>w0(e),$forceUpdate:e=>e.f||(e.f=()=>{qa(e.update)}),$nextTick:e=>e.n||(e.n=He.bind(e.proxy)),$watch:e=>kw.bind(e)}),Ua=(e,t)=>e!==ze&&!e.__isScriptSetup&&Ve(e,t),nw={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Ua(r,t))return i[t]=1,r[t];if(s!==ze&&Ve(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&Ve(u,t))return i[t]=3,o[t];if(n!==ze&&Ve(n,t))return i[t]=4,n[t];Ka&&(i[t]=0)}}const f=Vo[t];let c,p;if(f)return t==="$attrs"&&$t(e.attrs,"get",""),f(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==ze&&Ve(n,t))return i[t]=4,n[t];if(p=l.config.globalProperties,Ve(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Ua(s,t)?(s[t]=n,!0):r!==ze&&Ve(r,t)?(r[t]=n,!0):Ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==ze&&Ve(e,i)||Ua(t,i)||(a=o[0])&&Ve(a,i)||Ve(r,i)||Ve(Vo,i)||Ve(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function m0(){return v0().slots}function ri(){return v0().attrs}function v0(){const e=mt();return e.setupContext||(e.setupContext=Z0(e))}function b0(e){return Te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ka=!0;function rw(e){const t=w0(e),n=e.proxy,r=e.ctx;Ka=!1,t.beforeCreate&&_0(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:f,beforeMount:c,mounted:p,beforeUpdate:d,updated:m,activated:g,deactivated:C,beforeDestroy:h,beforeUnmount:k,destroyed:y,unmounted:_,render:S,renderTracked:x,renderTriggered:T,errorCaptured:L,serverPrefetch:I,expose:P,inheritAttrs:N,components:D,directives:oe,filters:B}=t;if(u&&ow(u,r,null),i)for(const z in i){const H=i[z];we(H)&&(r[z]=H.bind(n))}if(s){const z=s.call(n,n);Pe(z)&&(e.data=bn(z))}if(Ka=!0,o)for(const z in o){const H=o[z],Q=we(H)?H.bind(n,n):we(H.get)?H.get.bind(n,n):Lt,te=!we(H)&&we(H.set)?H.set.bind(n):Lt,Ae=O({get:Q,set:te});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:ve=>Ae.value=ve})}if(a)for(const z in a)y0(a[z],r,n,z);if(l){const z=we(l)?l.call(n):l;Reflect.ownKeys(z).forEach(H=>{jt(H,z[H])})}f&&_0(f,e,"c");function F(z,H){Te(H)?H.forEach(Q=>z(Q.bind(n))):H&&z(H.bind(n))}if(F(u0,c),F(nt,p),F(X4,d),F(f0,m),F(W4,g),F(l0,C),F(ew,L),F(Q4,x),F(Y4,T),F(Wt,k),F(ti,_),F(J4,I),Te(P))if(P.length){const z=e.exposed||(e.exposed={});P.forEach(H=>{Object.defineProperty(z,H,{get:()=>n[H],set:Q=>n[H]=Q})})}else e.exposed||(e.exposed={});S&&e.render===Lt&&(e.render=S),N!=null&&(e.inheritAttrs=N),D&&(e.components=D),oe&&(e.directives=oe),I&&a0(e)}function ow(e,t,n=Lt){Te(e)&&(e=Ga(e));for(const r in e){const s=e[r];let o;Pe(s)?"default"in s?o=De(s.from||r,s.default,!0):o=De(s.from||r):o=De(s),ht(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function _0(e,t,n){yn(Te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function y0(e,t,n,r){let s=r.includes(".")?N0(n,r):()=>n[r];if(qe(e)){const o=t[e];we(o)&&xe(s,o)}else if(we(e))xe(s,e.bind(n));else if(Pe(e))if(Te(e))e.forEach(o=>y0(o,t,n,r));else{const o=we(e.handler)?e.handler.bind(n):t[e.handler];we(o)&&xe(s,o,e)}}function w0(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>oi(l,u,i,!0)),oi(l,t,i)),Pe(t)&&o.set(t,l),l}function oi(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&oi(e,o,n,!0),s&&s.forEach(i=>oi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=sw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const sw={data:k0,props:C0,emits:C0,methods:Uo,computed:Uo,beforeCreate:Ht,created:Ht,beforeMount:Ht,mounted:Ht,beforeUpdate:Ht,updated:Ht,beforeDestroy:Ht,beforeUnmount:Ht,destroyed:Ht,unmounted:Ht,activated:Ht,deactivated:Ht,errorCaptured:Ht,serverPrefetch:Ht,components:Uo,directives:Uo,watch:aw,provide:k0,inject:iw};function k0(e,t){return t?e?function(){return kt(we(e)?e.call(this,this):e,we(t)?t.call(this,this):t)}:t:e}function iw(e,t){return Uo(Ga(e),Ga(t))}function Ga(e){if(Te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ht(e,t){return e?[...new Set([].concat(e,t))]:t}function Uo(e,t){return e?kt(Object.create(null),e,t):t}function C0(e,t){return e?Te(e)&&Te(t)?[...new Set([...e,...t])]:kt(Object.create(null),b0(e),b0(t??{})):t}function aw(e,t){if(!e)return t;if(!t)return e;const n=kt(Object.create(null),e);for(const r in t)n[r]=Ht(e[r],t[r]);return n}function x0(){return{app:null,config:{isNativeTag:Xy,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 lw=0;function cw(e,t){return function(r,s=null){we(r)||(r=kt({},r)),s!=null&&!Pe(s)&&(s=null);const o=x0(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:lw++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:zw,get config(){return o.config},set config(f){},use(f,...c){return i.has(f)||(f&&we(f.install)?(i.add(f),f.install(u,...c)):we(f)&&(i.add(f),f(u,...c))),u},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),u},component(f,c){return c?(o.components[f]=c,u):o.components[f]},directive(f,c){return c?(o.directives[f]=c,u):o.directives[f]},mount(f,c,p){if(!l){const d=u._ceVNode||ke(r,s);return d.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(d,f,p),l=!0,u._container=f,f.__vue_app__=u,ci(d.component)}},onUnmount(f){a.push(f)},unmount(){l&&(yn(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(f,c){return o.provides[f]=c,u},runWithContext(f){const c=fo;fo=u;try{return f()}finally{fo=c}}};return u}}let fo=null;function jt(e,t){if(Et){let n=Et.provides;const r=Et.parent&&Et.parent.provides;r===n&&(n=Et.provides=Object.create(r)),n[e]=t}}function De(e,t,n=!1){const r=Et||Ct;if(r||fo){const s=fo?fo._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&we(t)?t.call(r&&r.proxy):t}}const E0={},S0=()=>Object.create(E0),A0=e=>Object.getPrototypeOf(e)===E0;function uw(e,t,n,r=!1){const s={},o=S0();e.propsDefaults=Object.create(null),T0(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:S4(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function fw(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Oe(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let c=0;c<f.length;c++){let p=f[c];if(si(e.emitsOptions,p))continue;const d=t[p];if(l)if(Ve(o,p))d!==o[p]&&(o[p]=d,u=!0);else{const m=cn(p);s[m]=Wa(l,a,m,d,e,!1)}else d!==o[p]&&(o[p]=d,u=!0)}}}else{T0(e,t,s,o)&&(u=!0);let f;for(const c in a)(!t||!Ve(t,c)&&((f=hr(c))===c||!Ve(t,f)))&&(l?n&&(n[c]!==void 0||n[f]!==void 0)&&(s[c]=Wa(l,a,c,void 0,e,!0)):delete s[c]);if(o!==a)for(const c in o)(!t||!Ve(t,c))&&(delete o[c],u=!0)}u&&Kn(e.attrs,"set","")}function T0(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Ro(l))continue;const u=t[l];let f;s&&Ve(s,f=cn(l))?!o||!o.includes(f)?n[f]=u:(a||(a={}))[f]=u:si(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=Oe(n),u=a||ze;for(let f=0;f<o.length;f++){const c=o[f];n[c]=Wa(s,l,c,u[c],e,!Ve(u,c))}}return i}function Wa(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Ve(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&we(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const f=Zo(s);r=u[n]=l.call(null,t),f()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===hr(n))&&(r=!0))}return r}const dw=new WeakMap;function M0(e,t,n=!1){const r=n?dw:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!we(e)){const f=c=>{l=!0;const[p,d]=M0(c,t,!0);kt(i,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!l)return Pe(e)&&r.set(e,ro),ro;if(Te(o))for(let f=0;f<o.length;f++){const c=cn(o[f]);L0(c)&&(i[c]=ze)}else if(o)for(const f in o){const c=cn(f);if(L0(c)){const p=o[f],d=i[c]=Te(p)||we(p)?{type:p}:kt({},p),m=d.type;let g=!1,C=!0;if(Te(m))for(let h=0;h<m.length;++h){const k=m[h],y=we(k)&&k.name;if(y==="Boolean"){g=!0;break}else y==="String"&&(C=!1)}else g=we(m)&&m.name==="Boolean";d[0]=g,d[1]=C,(g||Ve(d,"default"))&&a.push(c)}}const u=[i,a];return Pe(e)&&r.set(e,u),u}function L0(e){return e[0]!=="$"&&!Ro(e)}const $0=e=>e[0]==="_"||e==="$stable",Za=e=>Te(e)?e.map(Rn):[Rn(e)],pw=(e,t,n)=>{if(t._n)return t;const r=fe((...s)=>Za(t(...s)),n);return r._c=!1,r},I0=(e,t,n)=>{const r=e._ctx;for(const s in e){if($0(s))continue;const o=e[s];if(we(o))t[s]=pw(s,o,r);else if(o!=null){const i=Za(o);t[s]=()=>i}}},R0=(e,t)=>{const n=Za(t);e.slots.default=()=>n},O0=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},hw=(e,t,n)=>{const r=e.slots=S0();if(e.vnode.shapeFlag&32){const s=t._;s?(O0(r,t,n),n&&hd(r,"_",s,!0)):I0(t,r)}else t&&R0(e,t)},gw=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ze;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:O0(s,t,n):(o=!t.$stable,I0(t,s)),i=t}else t&&(R0(e,t),i={default:1});if(o)for(const a in s)!$0(a)&&i[a]==null&&delete s[a]},Vt=Mw;function mw(e){return vw(e)}function vw(e,t){const n=Os();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:f,parentNode:c,nextSibling:p,setScopeId:d=Lt,insertStaticContent:m}=e,g=(M,$,j,Y=null,W=null,X=null,se=void 0,re=null,ee=!!$.dynamicChildren)=>{if(M===$)return;M&&!Fr(M,$)&&(Y=bt(M),ve(M,W,X,!0),M=null),$.patchFlag===-2&&(ee=!1,$.dynamicChildren=null);const{type:J,ref:be,shapeFlag:ce}=$;switch(J){case po:C(M,$,j,Y);break;case Ot:h(M,$,j,Y);break;case ii:M==null&&k($,j,Y,se);break;case Xe:D(M,$,j,Y,W,X,se,re,ee);break;default:ce&1?S(M,$,j,Y,W,X,se,re,ee):ce&6?oe(M,$,j,Y,W,X,se,re,ee):(ce&64||ce&128)&&J.process(M,$,j,Y,W,X,se,re,ee,me)}be!=null&&W&&Ys(be,M&&M.ref,X,$||M,!$)},C=(M,$,j,Y)=>{if(M==null)r($.el=a($.children),j,Y);else{const W=$.el=M.el;$.children!==M.children&&u(W,$.children)}},h=(M,$,j,Y)=>{M==null?r($.el=l($.children||""),j,Y):$.el=M.el},k=(M,$,j,Y)=>{[M.el,M.anchor]=m(M.children,$,j,Y,M.el,M.anchor)},y=({el:M,anchor:$},j,Y)=>{let W;for(;M&&M!==$;)W=p(M),r(M,j,Y),M=W;r($,j,Y)},_=({el:M,anchor:$})=>{let j;for(;M&&M!==$;)j=p(M),s(M),M=j;s($)},S=(M,$,j,Y,W,X,se,re,ee)=>{$.type==="svg"?se="svg":$.type==="math"&&(se="mathml"),M==null?x($,j,Y,W,X,se,re,ee):I(M,$,W,X,se,re,ee)},x=(M,$,j,Y,W,X,se,re)=>{let ee,J;const{props:be,shapeFlag:ce,transition:pe,dirs:V}=M;if(ee=M.el=i(M.type,X,be&&be.is,be),ce&8?f(ee,M.children):ce&16&&L(M.children,ee,null,Y,W,Xa(M,X),se,re),V&&qr(M,null,Y,"created"),T(ee,M,M.scopeId,se,Y),be){for(const Ee in be)Ee!=="value"&&!Ro(Ee)&&o(ee,Ee,null,be[Ee],X,Y);"value"in be&&o(ee,"value",null,be.value,X),(J=be.onVnodeBeforeMount)&&On(J,Y,M)}V&&qr(M,null,Y,"beforeMount");const ie=bw(W,pe);ie&&pe.beforeEnter(ee),r(ee,$,j),((J=be&&be.onVnodeMounted)||ie||V)&&Vt(()=>{J&&On(J,Y,M),ie&&pe.enter(ee),V&&qr(M,null,Y,"mounted")},W)},T=(M,$,j,Y,W)=>{if(j&&d(M,j),Y)for(let X=0;X<Y.length;X++)d(M,Y[X]);if(W){let X=W.subTree;if($===X||z0(X.type)&&(X.ssContent===$||X.ssFallback===$)){const se=W.vnode;T(M,se,se.scopeId,se.slotScopeIds,W.parent)}}},L=(M,$,j,Y,W,X,se,re,ee=0)=>{for(let J=ee;J<M.length;J++){const be=M[J]=re?yr(M[J]):Rn(M[J]);g(null,be,$,j,Y,W,X,se,re)}},I=(M,$,j,Y,W,X,se)=>{const re=$.el=M.el;let{patchFlag:ee,dynamicChildren:J,dirs:be}=$;ee|=M.patchFlag&16;const ce=M.props||ze,pe=$.props||ze;let V;if(j&&Br(j,!1),(V=pe.onVnodeBeforeUpdate)&&On(V,j,$,M),be&&qr($,M,j,"beforeUpdate"),j&&Br(j,!0),(ce.innerHTML&&pe.innerHTML==null||ce.textContent&&pe.textContent==null)&&f(re,""),J?P(M.dynamicChildren,J,re,j,Y,Xa($,W),X):se||H(M,$,re,null,j,Y,Xa($,W),X,!1),ee>0){if(ee&16)N(re,ce,pe,j,W);else if(ee&2&&ce.class!==pe.class&&o(re,"class",null,pe.class,W),ee&4&&o(re,"style",ce.style,pe.style,W),ee&8){const ie=$.dynamicProps;for(let Ee=0;Ee<ie.length;Ee++){const Le=ie[Ee],at=ce[Le],pt=pe[Le];(pt!==at||Le==="value")&&o(re,Le,at,pt,W,j)}}ee&1&&M.children!==$.children&&f(re,$.children)}else!se&&J==null&&N(re,ce,pe,j,W);((V=pe.onVnodeUpdated)||be)&&Vt(()=>{V&&On(V,j,$,M),be&&qr($,M,j,"updated")},Y)},P=(M,$,j,Y,W,X,se)=>{for(let re=0;re<$.length;re++){const ee=M[re],J=$[re],be=ee.el&&(ee.type===Xe||!Fr(ee,J)||ee.shapeFlag&70)?c(ee.el):j;g(ee,J,be,null,Y,W,X,se,!0)}},N=(M,$,j,Y,W)=>{if($!==j){if($!==ze)for(const X in $)!Ro(X)&&!(X in j)&&o(M,X,$[X],null,W,Y);for(const X in j){if(Ro(X))continue;const se=j[X],re=$[X];se!==re&&X!=="value"&&o(M,X,re,se,W,Y)}"value"in j&&o(M,"value",$.value,j.value,W)}},D=(M,$,j,Y,W,X,se,re,ee)=>{const J=$.el=M?M.el:a(""),be=$.anchor=M?M.anchor:a("");let{patchFlag:ce,dynamicChildren:pe,slotScopeIds:V}=$;V&&(re=re?re.concat(V):V),M==null?(r(J,j,Y),r(be,j,Y),L($.children||[],j,be,W,X,se,re,ee)):ce>0&&ce&64&&pe&&M.dynamicChildren?(P(M.dynamicChildren,pe,j,W,X,se,re),($.key!=null||W&&$===W.subTree)&&Ja(M,$,!0)):H(M,$,j,be,W,X,se,re,ee)},oe=(M,$,j,Y,W,X,se,re,ee)=>{$.slotScopeIds=re,M==null?$.shapeFlag&512?W.ctx.activate($,j,Y,se,ee):B($,j,Y,W,X,se,ee):K(M,$,ee)},B=(M,$,j,Y,W,X,se)=>{const re=M.component=Ow(M,Y,W);if(Qs(M)&&(re.ctx.renderer=me),Pw(re,!1,se),re.asyncDep){if(W&&W.registerDep(re,F,se),!M.el){const ee=re.subTree=ke(Ot);h(null,ee,$,j)}}else F(re,M,$,j,W,X,se)},K=(M,$,j)=>{const Y=$.component=M.component;if(Aw(M,$,j))if(Y.asyncDep&&!Y.asyncResolved){z(Y,$,j);return}else Y.next=$,Y.update();else $.el=M.el,Y.vnode=$},F=(M,$,j,Y,W,X,se)=>{const re=()=>{if(M.isMounted){let{next:ce,bu:pe,u:V,parent:ie,vnode:Ee}=M;{const Tt=P0(M);if(Tt){ce&&(ce.el=Ee.el,z(M,ce,se)),Tt.asyncDep.then(()=>{M.isUnmounted||re()});return}}let Le=ce,at;Br(M,!1),ce?(ce.el=Ee.el,z(M,ce,se)):ce=Ee,pe&&Rs(pe),(at=ce.props&&ce.props.onVnodeBeforeUpdate)&&On(at,ie,ce,Ee),Br(M,!0);const pt=B0(M),xt=M.subTree;M.subTree=pt,g(xt,pt,c(xt.el),bt(xt),M,W,X),ce.el=pt.el,Le===null&&Tw(M,pt.el),V&&Vt(V,W),(at=ce.props&&ce.props.onVnodeUpdated)&&Vt(()=>On(at,ie,ce,Ee),W)}else{let ce;const{el:pe,props:V}=$,{bm:ie,m:Ee,parent:Le,root:at,type:pt}=M,xt=uo($);Br(M,!1),ie&&Rs(ie),!xt&&(ce=V&&V.onVnodeBeforeMount)&&On(ce,Le,$),Br(M,!0);{at.ce&&at.ce._injectChildStyle(pt);const Tt=M.subTree=B0(M);g(null,Tt,j,Y,M,W,X),$.el=Tt.el}if(Ee&&Vt(Ee,W),!xt&&(ce=V&&V.onVnodeMounted)){const Tt=$;Vt(()=>On(ce,Le,Tt),W)}($.shapeFlag&256||Le&&uo(Le.vnode)&&Le.vnode.shapeFlag&256)&&M.a&&Vt(M.a,W),M.isMounted=!0,$=j=Y=null}};M.scope.on();const ee=M.effect=new yd(re);M.scope.off();const J=M.update=ee.run.bind(ee),be=M.job=ee.runIfDirty.bind(ee);be.i=M,be.id=M.uid,ee.scheduler=()=>qa(be),Br(M,!0),J()},z=(M,$,j)=>{$.component=M;const Y=M.vnode.props;M.vnode=$,M.next=null,fw(M,$.props,Y,j),gw(M,$.children,j),Vn(),Vd(M),Un()},H=(M,$,j,Y,W,X,se,re,ee=!1)=>{const J=M&&M.children,be=M?M.shapeFlag:0,ce=$.children,{patchFlag:pe,shapeFlag:V}=$;if(pe>0){if(pe&128){te(J,ce,j,Y,W,X,se,re,ee);return}else if(pe&256){Q(J,ce,j,Y,W,X,se,re,ee);return}}V&8?(be&16&&ft(J,W,X),ce!==J&&f(j,ce)):be&16?V&16?te(J,ce,j,Y,W,X,se,re,ee):ft(J,W,X,!0):(be&8&&f(j,""),V&16&&L(ce,j,Y,W,X,se,re,ee))},Q=(M,$,j,Y,W,X,se,re,ee)=>{M=M||ro,$=$||ro;const J=M.length,be=$.length,ce=Math.min(J,be);let pe;for(pe=0;pe<ce;pe++){const V=$[pe]=ee?yr($[pe]):Rn($[pe]);g(M[pe],V,j,null,W,X,se,re,ee)}J>be?ft(M,W,X,!0,!1,ce):L($,j,Y,W,X,se,re,ee,ce)},te=(M,$,j,Y,W,X,se,re,ee)=>{let J=0;const be=$.length;let ce=M.length-1,pe=be-1;for(;J<=ce&&J<=pe;){const V=M[J],ie=$[J]=ee?yr($[J]):Rn($[J]);if(Fr(V,ie))g(V,ie,j,null,W,X,se,re,ee);else break;J++}for(;J<=ce&&J<=pe;){const V=M[ce],ie=$[pe]=ee?yr($[pe]):Rn($[pe]);if(Fr(V,ie))g(V,ie,j,null,W,X,se,re,ee);else break;ce--,pe--}if(J>ce){if(J<=pe){const V=pe+1,ie=V<be?$[V].el:Y;for(;J<=pe;)g(null,$[J]=ee?yr($[J]):Rn($[J]),j,ie,W,X,se,re,ee),J++}}else if(J>pe)for(;J<=ce;)ve(M[J],W,X,!0),J++;else{const V=J,ie=J,Ee=new Map;for(J=ie;J<=pe;J++){const _t=$[J]=ee?yr($[J]):Rn($[J]);_t.key!=null&&Ee.set(_t.key,J)}let Le,at=0;const pt=pe-ie+1;let xt=!1,Tt=0;const Ln=new Array(pt);for(J=0;J<pt;J++)Ln[J]=0;for(J=V;J<=ce;J++){const _t=M[J];if(at>=pt){ve(_t,W,X,!0);continue}let Dt;if(_t.key!=null)Dt=Ee.get(_t.key);else for(Le=ie;Le<=pe;Le++)if(Ln[Le-ie]===0&&Fr(_t,$[Le])){Dt=Le;break}Dt===void 0?ve(_t,W,X,!0):(Ln[Dt-ie]=J+1,Dt>=Tt?Tt=Dt:xt=!0,g(_t,$[Dt],j,null,W,X,se,re,ee),at++)}const mn=xt?_w(Ln):ro;for(Le=mn.length-1,J=pt-1;J>=0;J--){const _t=ie+J,Dt=$[_t],Fn=_t+1<be?$[_t+1].el:Y;Ln[J]===0?g(null,Dt,j,Fn,W,X,se,re,ee):xt&&(Le<0||J!==mn[Le]?Ae(Dt,j,Fn,2):Le--)}}},Ae=(M,$,j,Y,W=null)=>{const{el:X,type:se,transition:re,children:ee,shapeFlag:J}=M;if(J&6){Ae(M.component.subTree,$,j,Y);return}if(J&128){M.suspense.move($,j,Y);return}if(J&64){se.move(M,$,j,me);return}if(se===Xe){r(X,$,j);for(let ce=0;ce<ee.length;ce++)Ae(ee[ce],$,j,Y);r(M.anchor,$,j);return}if(se===ii){y(M,$,j);return}if(Y!==2&&J&1&&re)if(Y===0)re.beforeEnter(X),r(X,$,j),Vt(()=>re.enter(X),W);else{const{leave:ce,delayLeave:pe,afterLeave:V}=re,ie=()=>r(X,$,j),Ee=()=>{ce(X,()=>{ie(),V&&V()})};pe?pe(X,ie,Ee):Ee()}else r(X,$,j)},ve=(M,$,j,Y=!1,W=!1)=>{const{type:X,props:se,ref:re,children:ee,dynamicChildren:J,shapeFlag:be,patchFlag:ce,dirs:pe,cacheIndex:V}=M;if(ce===-2&&(W=!1),re!=null&&Ys(re,null,j,M,!0),V!=null&&($.renderCache[V]=void 0),be&256){$.ctx.deactivate(M);return}const ie=be&1&&pe,Ee=!uo(M);let Le;if(Ee&&(Le=se&&se.onVnodeBeforeUnmount)&&On(Le,$,M),be&6)rt(M.component,j,Y);else{if(be&128){M.suspense.unmount(j,Y);return}ie&&qr(M,null,$,"beforeUnmount"),be&64?M.type.remove(M,$,j,me,Y):J&&!J.hasOnce&&(X!==Xe||ce>0&&ce&64)?ft(J,$,j,!1,!0):(X===Xe&&ce&384||!W&&be&16)&&ft(ee,$,j),Y&&Be(M)}(Ee&&(Le=se&&se.onVnodeUnmounted)||ie)&&Vt(()=>{Le&&On(Le,$,M),ie&&qr(M,null,$,"unmounted")},j)},Be=M=>{const{type:$,el:j,anchor:Y,transition:W}=M;if($===Xe){Qe(j,Y);return}if($===ii){_(M);return}const X=()=>{s(j),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(M.shapeFlag&1&&W&&!W.persisted){const{leave:se,delayLeave:re}=W,ee=()=>se(j,X);re?re(M.el,X,ee):ee()}else X()},Qe=(M,$)=>{let j;for(;M!==$;)j=p(M),s(M),M=j;s($)},rt=(M,$,j)=>{const{bum:Y,scope:W,job:X,subTree:se,um:re,m:ee,a:J}=M;D0(ee),D0(J),Y&&Rs(Y),W.stop(),X&&(X.flags|=8,ve(se,M,$,j)),re&&Vt(re,$),Vt(()=>{M.isUnmounted=!0},$),$&&$.pendingBranch&&!$.isUnmounted&&M.asyncDep&&!M.asyncResolved&&M.suspenseId===$.pendingId&&($.deps--,$.deps===0&&$.resolve())},ft=(M,$,j,Y=!1,W=!1,X=0)=>{for(let se=X;se<M.length;se++)ve(M[se],$,j,Y,W)},bt=M=>{if(M.shapeFlag&6)return bt(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const $=p(M.anchor||M.el),j=$&&$[Wd];return j?p(j):$};let ut=!1;const sn=(M,$,j)=>{M==null?$._vnode&&ve($._vnode,null,null,!0):g($._vnode||null,M,$,null,null,null,j),$._vnode=M,ut||(ut=!0,Vd(),Ud(),ut=!1)},me={p:g,um:ve,m:Ae,r:Be,mt:B,mc:L,pc:H,pbc:P,n:bt,o:e};return{render:sn,hydrate:void 0,createApp:cw(sn)}}function Xa({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Br({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function bw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ja(e,t,n=!1){const r=e.children,s=t.children;if(Te(r)&&Te(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=yr(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Ja(i,a)),a.type===po&&(a.el=i.el)}}function _w(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function P0(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:P0(t)}function D0(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const yw=Symbol.for("v-scx"),ww=()=>De(yw);function Ya(e,t){return Qa(e,null,t)}function xe(e,t,n){return Qa(e,t,n)}function Qa(e,t,n=ze){const{immediate:r,deep:s,flush:o,once:i}=n,a=kt({},n),l=t&&r||!t&&o!=="post";let u;if(Xo){if(o==="sync"){const d=ww();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=Lt,d.resume=Lt,d.pause=Lt,d}}const f=Et;a.call=(d,m,g)=>yn(d,f,m,g);let c=!1;o==="post"?a.scheduler=d=>{Vt(d,f&&f.suspense)}:o!=="sync"&&(c=!0,a.scheduler=(d,m)=>{m?d():qa(d)}),a.augmentJob=d=>{t&&(d.flags|=4),c&&(d.flags|=2,f&&(d.id=f.uid,d.i=f))};const p=P4(e,t,a);return Xo&&(u?u.push(p):l&&p()),p}function kw(e,t,n){const r=this.proxy,s=qe(e)?e.includes(".")?N0(r,e):()=>r[e]:e.bind(r,r);let o;we(t)?o=t:(o=t.handler,n=t);const i=Zo(this),a=Qa(s,o.bind(r),n);return i(),a}function N0(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}}const Cw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${cn(t)}Modifiers`]||e[`${hr(t)}Modifiers`];function xw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ze;let s=n;const o=t.startsWith("update:"),i=o&&Cw(r,t.slice(7));i&&(i.trim&&(s=n.map(f=>qe(f)?f.trim():f)),i.number&&(s=n.map(ka)));let a,l=r[a=wa(t)]||r[a=wa(cn(t))];!l&&o&&(l=r[a=wa(hr(t))]),l&&yn(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,yn(u,e,6,s)}}function q0(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!we(e)){const l=u=>{const f=q0(u,t,!0);f&&(a=!0,kt(i,f))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(Pe(e)&&r.set(e,null),null):(Te(o)?o.forEach(l=>i[l]=null):kt(i,o),Pe(e)&&r.set(e,i),i)}function si(e,t){return!e||!Ts(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ve(e,t[0].toLowerCase()+t.slice(1))||Ve(e,hr(t))||Ve(e,t))}function SN(){}function B0(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:f,props:c,data:p,setupState:d,ctx:m,inheritAttrs:g}=e,C=Ws(e);let h,k;try{if(n.shapeFlag&4){const _=s||r,S=_;h=Rn(u.call(S,_,f,c,d,p,m)),k=a}else{const _=t;h=Rn(_.length>1?_(c,{attrs:a,slots:i,emit:l}):_(c,null)),k=t.props?a:Ew(a)}}catch(_){Ko.length=0,Ks(_,e,1),h=ke(Ot)}let y=h;if(k&&g!==!1){const _=Object.keys(k),{shapeFlag:S}=y;_.length&&S&7&&(o&&_.some(ba)&&(k=Sw(k,o)),y=Jn(y,k,!1,!0))}return n.dirs&&(y=Jn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&jo(y,n.transition),h=y,Ws(C),h}const Ew=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ts(n))&&((t||(t={}))[n]=e[n]);return t},Sw=(e,t)=>{const n={};for(const r in e)(!ba(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Aw(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?F0(r,i,u):!!i;if(l&8){const f=t.dynamicProps;for(let c=0;c<f.length;c++){const p=f[c];if(i[p]!==r[p]&&!si(u,p))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?F0(r,i,u):!0:!!i;return!1}function F0(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 o=r[s];if(t[o]!==e[o]&&!si(n,o))return!0}return!1}function Tw({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const z0=e=>e.__isSuspense;function Mw(e,t){t&&t.pendingBranch?Te(e)?t.effects.push(...e):t.effects.push(e):H4(e)}const Xe=Symbol.for("v-fgt"),po=Symbol.for("v-txt"),Ot=Symbol.for("v-cmt"),ii=Symbol.for("v-stc"),Ko=[];let Qt=null;function w(e=!1){Ko.push(Qt=e?null:[])}function Lw(){Ko.pop(),Qt=Ko[Ko.length-1]||null}let Go=1;function H0(e,t=!1){Go+=e,e<0&&Qt&&t&&(Qt.hasOnce=!0)}function j0(e){return e.dynamicChildren=Go>0?Qt||ro:null,Lw(),Go>0&&Qt&&Qt.push(e),e}function A(e,t,n,r,s,o){return j0(v(e,t,n,r,s,o,!0))}function le(e,t,n,r,s){return j0(ke(e,t,n,r,s,!0))}function Wo(e){return e?e.__v_isVNode===!0:!1}function Fr(e,t){return e.type===t.type&&e.key===t.key}const V0=({key:e})=>e??null,ai=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||ht(e)||we(e)?{i:Ct,r:e,k:t,f:!!n}:e:null);function v(e,t=null,n=null,r=0,s=null,o=e===Xe?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&V0(t),ref:t&&ai(t),scopeId:Gd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ct};return a?(tl(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=qe(n)?8:16),Go>0&&!i&&Qt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Qt.push(l),l}const ke=$w;function $w(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===d0)&&(e=Ot),Wo(e)){const a=Jn(e,t,!0);return n&&tl(a,n),Go>0&&!o&&Qt&&(a.shapeFlag&6?Qt[Qt.indexOf(e)]=a:Qt.push(a)),a.patchFlag=-2,a}if(Fw(e)&&(e=e.__vccOpts),t){t=el(t);let{class:a,style:l}=t;a&&!qe(a)&&(t.class=Z(a)),Pe(l)&&(Pa(l)&&!Te(l)&&(l=kt({},l)),t.style=tt(l))}const i=qe(e)?1:z0(e)?128:Zd(e)?64:Pe(e)?4:we(e)?2:0;return v(e,t,n,r,s,i,o,!0)}function el(e){return e?Pa(e)||A0(e)?kt({},e):e:null}function Jn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?dt(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&V0(u),ref:t&&t.ref?n&&o?Te(o)?o.concat(ai(t)):[o,ai(t)]:ai(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Xe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jn(e.ssContent),ssFallback:e.ssFallback&&Jn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&jo(f,l.clone(f)),f}function zr(e=" ",t=0){return ke(po,null,e,t)}function _r(e,t){const n=ke(ii,null,e);return n.staticCount=t,n}function ge(e="",t=!1){return t?(w(),le(Ot,null,e)):ke(Ot,null,e)}function Rn(e){return e==null||typeof e=="boolean"?ke(Ot):Te(e)?ke(Xe,null,e.slice()):Wo(e)?yr(e):ke(po,null,String(e))}function yr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jn(e)}function tl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Te(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),tl(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!A0(t)?t._ctx=Ct:s===3&&Ct&&(Ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else we(t)?(t={default:t,_ctx:Ct},n=32):(t=String(t),r&64?(n=16,t=[zr(t)]):n=8);e.children=t,e.shapeFlag|=n}function dt(...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=Z([t.class,r.class]));else if(s==="style")t.style=tt([t.style,r.style]);else if(Ts(s)){const o=t[s],i=r[s];i&&o!==i&&!(Te(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function On(e,t,n,r=null){yn(e,t,7,[n,r])}const Iw=x0();let Rw=0;function Ow(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Iw,o={uid:Rw++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new i4(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:M0(r,s),emitsOptions:q0(r,s),emit:null,emitted:null,propsDefaults:ze,inheritAttrs:r.inheritAttrs,ctx:ze,data:ze,props:ze,attrs:ze,slots:ze,refs:ze,setupState:ze,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=xw.bind(null,o),e.ce&&e.ce(o),o}let Et=null;const mt=()=>Et||Ct;let li,nl;{const e=Os(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};li=t("__VUE_INSTANCE_SETTERS__",n=>Et=n),nl=t("__VUE_SSR_SETTERS__",n=>Xo=n)}const Zo=e=>{const t=Et;return li(e),e.scope.on(),()=>{e.scope.off(),li(t)}},U0=()=>{Et&&Et.scope.off(),li(null)};function K0(e){return e.vnode.shapeFlag&4}let Xo=!1;function Pw(e,t=!1,n=!1){t&&nl(t);const{props:r,children:s}=e.vnode,o=K0(e);uw(e,r,o,t),hw(e,s,n);const i=o?Dw(e,t):void 0;return t&&nl(!1),i}function Dw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nw);const{setup:r}=n;if(r){Vn();const s=e.setupContext=r.length>1?Z0(e):null,o=Zo(e),i=ao(r,e,0,[e.props,s]),a=fd(i);if(Un(),o(),(a||e.sp)&&!uo(e)&&a0(e),a){if(i.then(U0,U0),t)return i.then(l=>{G0(e,l)}).catch(l=>{Ks(l,e,0)});e.asyncDep=i}else G0(e,i)}else W0(e)}function G0(e,t,n){we(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Pe(t)&&(e.setupState=Bd(t)),W0(e)}function W0(e,t,n){const r=e.type;e.render||(e.render=r.render||Lt);{const s=Zo(e);Vn();try{rw(e)}finally{Un(),s()}}}const Nw={get(e,t){return $t(e,"get",""),e[t]}};function Z0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Nw),slots:e.slots,emit:e.emit,expose:t}}function ci(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Bd(A4(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vo)return Vo[n](e)},has(t,n){return n in t||n in Vo}})):e.proxy}const qw=/(?:^|[-_])(\w)/g,Bw=e=>e.replace(qw,t=>t.toUpperCase()).replace(/[-_]/g,"");function X0(e,t=!0){return we(e)?e.displayName||e.name:e.name||t&&e.__name}function J0(e,t,n=!1){let r=X0(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e&&e.parent){const s=o=>{for(const i in o)if(o[i]===t)return i};r=s(e.components||e.parent.type.components)||s(e.appContext.components)}return r?Bw(r):n?"App":"Anonymous"}function Fw(e){return we(e)&&"__vccOpts"in e}const O=(e,t)=>R4(e,t,Xo);function kn(e,t,n){const r=arguments.length;return r===2?Pe(t)&&!Te(t)?Wo(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Wo(n)&&(n=[n]),ke(e,t,n))}const zw="3.5.13",Hw=Lt;/**
|
|
17
17
|
* @vue/runtime-dom v3.5.13
|
|
18
18
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
19
19
|
* @license MIT
|
|
20
|
-
**/let tl;const Kp=typeof window<"u"&&window.trustedTypes;if(Kp)try{tl=Kp.createPolicy("vue",{createHTML:e=>e})}catch{}const Wp=tl?e=>tl.createHTML(e):e=>e,Y1="http://www.w3.org/2000/svg",J1="http://www.w3.org/1998/Math/MathML",er=typeof document<"u"?document:null,Zp=er&&er.createElement("template"),Q1={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==="svg"?er.createElementNS(Y1,e):t==="mathml"?er.createElementNS(J1,e):n?er.createElement(e,{is:n}):er.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>er.createTextNode(e),createComment:e=>er.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>er.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Zp.innerHTML=Wp(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Zp.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},kr="transition",es="animation",ts=Symbol("_vtc"),Xp={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},ew=kt({},Xd,Xp),jr=(e=>(e.displayName="Transition",e.props=ew,e))((e,{slots:t})=>hn(t1,tw(e),t)),Vr=(e,t=[])=>{Te(e)?e.forEach(n=>n(...t)):e&&e(...t)},Yp=e=>e?Te(e)?e.some(t=>t.length>1):e.length>1:!1;function tw(e){const t={};for(const P in e)P in Xp||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:f=a,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,m=nw(s),g=m&&m[0],w=m&&m[1],{onBeforeEnter:h,onEnter:_,onEnterCancelled:y,onLeave:b,onLeaveCancelled:C,onBeforeAppear:k=h,onAppear:S=_,onAppearCancelled:A=y}=t,R=(P,oe,N,j)=>{P._enterCancelled=j,Gr(P,oe?f:a),Gr(P,oe?u:i),N&&N()},L=(P,oe)=>{P._isLeaving=!1,Gr(P,c),Gr(P,d),Gr(P,p),oe&&oe()},D=P=>(oe,N)=>{const j=P?S:_,q=()=>R(oe,P,N);Vr(j,[oe,q]),Jp(()=>{Gr(oe,P?l:o),tr(oe,P?f:a),Yp(j)||Qp(oe,r,g,q)})};return kt(t,{onBeforeEnter(P){Vr(h,[P]),tr(P,o),tr(P,i)},onBeforeAppear(P){Vr(k,[P]),tr(P,l),tr(P,u)},onEnter:D(!1),onAppear:D(!0),onLeave(P,oe){P._isLeaving=!0;const N=()=>L(P,oe);tr(P,c),P._enterCancelled?(tr(P,p),nh()):(nh(),tr(P,p)),Jp(()=>{P._isLeaving&&(Gr(P,c),tr(P,d),Yp(b)||Qp(P,r,w,N))}),Vr(b,[P,N])},onEnterCancelled(P){R(P,!1,void 0,!0),Vr(y,[P])},onAppearCancelled(P){R(P,!0,void 0,!0),Vr(A,[P])},onLeaveCancelled(P){L(P),Vr(C,[P])}})}function nw(e){if(e==null)return null;if(De(e))return[nl(e.enter),nl(e.leave)];{const t=nl(e);return[t,t]}}function nl(e){return l_(e)}function tr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ts]||(e[ts]=new Set)).add(t)}function Gr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ts];n&&(n.delete(t),n.size||(e[ts]=void 0))}function Jp(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rw=0;function Qp(e,t,n,r){const s=e._endId=++rw,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=ow(e,t);if(!i)return r();const u=i+"end";let f=0;const c=()=>{e.removeEventListener(u,p),o()},p=d=>{d.target===e&&++f>=l&&c()};setTimeout(()=>{f<l&&c()},a+1),e.addEventListener(u,p)}function ow(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),s=r(`${kr}Delay`),o=r(`${kr}Duration`),i=eh(s,o),a=r(`${es}Delay`),l=r(`${es}Duration`),u=eh(a,l);let f=null,c=0,p=0;t===kr?i>0&&(f=kr,c=i,p=o.length):t===es?u>0&&(f=es,c=u,p=l.length):(c=Math.max(i,u),f=c>0?i>u?kr:es:null,p=f?f===kr?o.length:l.length:0);const d=f===kr&&/\b(transform|all)(,|$)/.test(r(`${kr}Property`).toString());return{type:f,timeout:c,propCount:p,hasTransform:d}}function eh(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>th(n)+th(e[r])))}function th(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function nh(){return document.body.offsetHeight}function sw(e,t,n){const r=e[ts];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const di=Symbol("_vod"),rh=Symbol("_vsh"),nr={beforeMount(e,{value:t},{transition:n}){e[di]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ns(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ns(e,!0),r.enter(e)):r.leave(e,()=>{ns(e,!1)}):ns(e,t))},beforeUnmount(e,{value:t}){ns(e,t)}};function ns(e,t){e.style.display=t?e[di]:"none",e[rh]=!t}const iw=Symbol(""),aw=/(^|;)\s*display\s*:/;function lw(e,t,n){const r=e.style,s=qe(n);let o=!1;if(n&&!s){if(t)if(qe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&pi(r,a,"")}else for(const i in t)n[i]==null&&pi(r,i,"");for(const i in n)i==="display"&&(o=!0),pi(r,i,n[i])}else if(s){if(t!==n){const i=r[iw];i&&(n+=";"+i),r.cssText=n,o=aw.test(n)}}else t&&e.removeAttribute("style");di in e&&(e[di]=o?r.display:"",e[rh]&&(r.display="none"))}const oh=/\s*!important$/;function pi(e,t,n){if(Te(n))n.forEach(r=>pi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=cw(e,t);oh.test(n)?e.setProperty(mr(r),n.replace(oh,""),"important"):e[r]=n}}const sh=["Webkit","Moz","ms"],rl={};function cw(e,t){const n=rl[t];if(n)return n;let r=fn(t);if(r!=="filter"&&r in e)return rl[t]=r;r=Ds(r);for(let s=0;s<sh.length;s++){const o=sh[s]+r;if(o in e)return rl[t]=o}return t}const ih="http://www.w3.org/1999/xlink";function ah(e,t,n,r,s,o=p_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ih,t.slice(6,t.length)):e.setAttributeNS(ih,t,n):n==null||o&&!fd(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Vn(n)?String(n):n)}function lh(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Wp(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=fd(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function mo(e,t,n,r){e.addEventListener(t,n,r)}function uw(e,t,n,r){e.removeEventListener(t,n,r)}const ch=Symbol("_vei");function fw(e,t,n,r,s=null){const o=e[ch]||(e[ch]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=dw(t);if(r){const u=o[t]=gw(r,s);mo(e,a,u,l)}else i&&(uw(e,a,i,l),o[t]=void 0)}}const uh=/(?:Once|Passive|Capture)$/;function dw(e){let t;if(uh.test(e)){t={};let r;for(;r=e.match(uh);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):mr(e.slice(2)),t]}let ol=0;const pw=Promise.resolve(),hw=()=>ol||(pw.then(()=>ol=0),ol=Date.now());function gw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;En(mw(r,n.value),t,5,[r])};return n.value=e,n.attached=hw(),n}function mw(e,t){if(Te(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 fh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,vw=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?sw(e,r,i):t==="style"?lw(e,n,r):Is(t)?ga(t)||fw(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bw(e,t,r,i))?(lh(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ah(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!qe(r))?lh(e,fn(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ah(e,t,r,i))};function bw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&fh(t)&&we(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return fh(t)&&qe(n)?!1:t in e}function dh(e="$style"){{const t=mt();if(!t)return Ye;const n=t.type.__cssModules;if(!n)return Ye;const r=n[e];return r||Ye}}const ph=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Te(t)?n=>$s(t,n):t};function yw(e){e.target.composing=!0}function hh(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const sl=Symbol("_assign"),gh={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[sl]=ph(s);const o=r||s.props&&s.props.type==="number";mo(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=ya(a)),e[sl](a)}),n&&mo(e,"change",()=>{e.value=e.value.trim()}),t||(mo(e,"compositionstart",yw),mo(e,"compositionend",hh),mo(e,"change",hh))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[sl]=ph(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?ya(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},_w=["ctrl","shift","alt","meta"],ww={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)=>_w.some(n=>e[`${n}Key`]&&!t.includes(n))},nn=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const a=ww[t[i]];if(a&&a(s,t))return}return e(s,...o)})},kw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},jt=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=mr(s.key);if(t.some(i=>i===o||kw[i]===o))return e(s)})},Ew=kt({patchProp:vw},Q1);let mh;function Cw(){return mh||(mh=C1(Ew))}const Sw=(...e)=>{const t=Cw().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Aw(r);if(!s)return;const o=t._component;!we(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,xw(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function xw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Aw(e){return qe(e)?document.querySelector(e):e}const rs={webhookUrl:"http://localhost:5678",webhookConfig:{method:"POST",headers:{}},target:"#n8n-chat",mode:"window",loadPreviousSession:!0,chatInputKey:"chatInput",chatSessionKey:"sessionId",defaultLanguage:"en",showWelcomeScreen:!1,initialMessages:["Hi there! 👋","My name is Nathan. How can I assist you today?"],i18n:{en:{title:"Hi there! 👋",subtitle:"Start a chat. We're here to help you 24/7.",footer:"",getStarted:"New Conversation",inputPlaceholder:"Type your question..",closeButtonTooltip:"Close chat"}},theme:{}},Tw="#n8n-chat",vh="n8n-chat/sessionId",bh="Chat",yh="ChatOptions";for(var xt=[],il=0;il<256;++il)xt.push((il+256).toString(16).slice(1));function Ow(e,t=0){return(xt[e[t+0]]+xt[e[t+1]]+xt[e[t+2]]+xt[e[t+3]]+"-"+xt[e[t+4]]+xt[e[t+5]]+"-"+xt[e[t+6]]+xt[e[t+7]]+"-"+xt[e[t+8]]+xt[e[t+9]]+"-"+xt[e[t+10]]+xt[e[t+11]]+xt[e[t+12]]+xt[e[t+13]]+xt[e[t+14]]+xt[e[t+15]]).toLowerCase()}var hi,Rw=new Uint8Array(16);function Iw(){if(!hi&&(hi=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!hi))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return hi(Rw)}var Mw=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const _h={randomUUID:Mw};function os(e,t,n){if(_h.randomUUID&&!e)return _h.randomUUID();e=e||{};var r=e.random||(e.rng||Iw)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Ow(r)}async function Lw(){return""}async function al(...e){var o,i;const t=await Lw(),n=(o=e[1])==null?void 0:o.body,r={...t?{authorization:`Bearer ${t}`}:{},...(i=e[1])==null?void 0:i.headers};return n instanceof FormData?delete r["Content-Type"]:r["Content-Type"]="application/json",await(await fetch(e[0],{...e[1],mode:"cors",cache:"no-cache",headers:r})).json()}async function wh(e,t={},n={}){let r=e;return Object.keys(t).length>0&&(r=`${r}?${new URLSearchParams(t).toString()}`),await al(r,{...n,method:"GET"})}async function kh(e,t={},n={}){return await al(e,{...n,method:"POST",body:JSON.stringify(t)})}async function Pw(e,t={},n=[],r={}){const s=new FormData;for(const o in t)s.append(o,t[o]);for(const o of n)s.append("files",o);return await al(e,{...r,method:"POST",body:s})}async function Dw(e,t){var r,s;return await(((r=t.webhookConfig)==null?void 0:r.method)==="POST"?kh:wh)(`${t.webhookUrl}`,{action:"loadPreviousSession",[t.chatSessionKey]:e,...t.metadata?{metadata:t.metadata}:{}},{headers:(s=t.webhookConfig)==null?void 0:s.headers})}async function $w(e,t,n,r){var o,i,a;return t.length>0?await Pw(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},t,{headers:(o=r.webhookConfig)==null?void 0:o.headers}):await(((i=r.webhookConfig)==null?void 0:i.method)==="POST"?kh:wh)(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},{headers:(a=r.webhookConfig)==null?void 0:a.headers})}function Nw(){const e=new Map;function t(s,o){const i=e.get(s);i&&i.splice(i.indexOf(o)>>>0,1)}function n(s,o){let i=e.get(s);return i?i.push(o):i=[o],e.set(s,i),()=>t(s,o)}function r(s,o){const i=e.get(s);i&&i.slice().forEach(async a=>{await a(o)})}return{on:n,off:t,emit:r}}function qw(e){if(!document.querySelector(e)){const n=document.createElement("div");e.startsWith("#")&&(n.id=e.replace("#","")),e.startsWith(".")&&n.classList.add(e.replace(".","")),document.body.appendChild(n)}}const Zt=Nw(),Fw={install(e,t){e.provide(yh,t);const n=G([]),r=G(null),s=G(!1),o=I(()=>(t.initialMessages??[]).map(f=>({id:os(),text:f,sender:"bot"})));async function i(f,c=[]){const p={id:os(),text:f,sender:"user",files:c};n.value.push(p),s.value=!0,Ue(()=>{Zt.emit("scrollToBottom")});const d=await $w(f,c,r.value,t);let m=d.output??d.text??"";if(m===""&&Object.keys(d).length>0)try{m=JSON.stringify(d,null,2)}catch{}const g={id:os(),text:m,sender:"bot"};n.value.push(g),s.value=!1,Ue(()=>{Zt.emit("scrollToBottom")})}async function a(){if(!t.loadPreviousSession)return;const f=localStorage.getItem(vh)??os(),c=await Dw(f,t);return n.value=((c==null?void 0:c.data)||[]).map((p,d)=>({id:`${d}`,text:p.kwargs.content,sender:p.id.includes("HumanMessage")?"user":"bot"})),n.value.length&&(r.value=f),f}async function l(){r.value=os(),localStorage.setItem(vh,r.value)}const u={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:a,startNewSession:l,sendMessage:i};e.provide(bh,u),e.config.globalProperties.$chat=u}};var gi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ll(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Bw(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var cl,Eh;function zw(){if(Eh)return cl;Eh=1;function e(E){return E instanceof Map?E.clear=E.delete=E.set=function(){throw new Error("map is read-only")}:E instanceof Set&&(E.add=E.clear=E.delete=function(){throw new Error("set is read-only")}),Object.freeze(E),Object.getOwnPropertyNames(E).forEach(M=>{const V=E[M],_e=typeof V;(_e==="object"||_e==="function")&&!Object.isFrozen(V)&&e(V)}),E}class t{constructor(M){M.data===void 0&&(M.data={}),this.data=M.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(E){return E.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(E,...M){const V=Object.create(null);for(const _e in E)V[_e]=E[_e];return M.forEach(function(_e){for(const Be in _e)V[Be]=_e[Be]}),V}const s="</span>",o=E=>!!E.scope,i=(E,{prefix:M})=>{if(E.startsWith("language:"))return E.replace("language:","language-");if(E.includes(".")){const V=E.split(".");return[`${M}${V.shift()}`,...V.map((_e,Be)=>`${_e}${"_".repeat(Be+1)}`)].join(" ")}return`${M}${E}`};class a{constructor(M,V){this.buffer="",this.classPrefix=V.classPrefix,M.walk(this)}addText(M){this.buffer+=n(M)}openNode(M){if(!o(M))return;const V=i(M.scope,{prefix:this.classPrefix});this.span(V)}closeNode(M){o(M)&&(this.buffer+=s)}value(){return this.buffer}span(M){this.buffer+=`<span class="${M}">`}}const l=(E={})=>{const M={children:[]};return Object.assign(M,E),M};class u{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(M){this.top.children.push(M)}openNode(M){const V=l({scope:M});this.add(V),this.stack.push(V)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(M){return this.constructor._walk(M,this.rootNode)}static _walk(M,V){return typeof V=="string"?M.addText(V):V.children&&(M.openNode(V),V.children.forEach(_e=>this._walk(M,_e)),M.closeNode(V)),M}static _collapse(M){typeof M!="string"&&M.children&&(M.children.every(V=>typeof V=="string")?M.children=[M.children.join("")]:M.children.forEach(V=>{u._collapse(V)}))}}class f extends u{constructor(M){super(),this.options=M}addText(M){M!==""&&this.add(M)}startScope(M){this.openNode(M)}endScope(){this.closeNode()}__addSublanguage(M,V){const _e=M.root;V&&(_e.scope=`language:${V}`),this.add(_e)}toHTML(){return new a(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function c(E){return E?typeof E=="string"?E:E.source:null}function p(E){return g("(?=",E,")")}function d(E){return g("(?:",E,")*")}function m(E){return g("(?:",E,")?")}function g(...E){return E.map(V=>c(V)).join("")}function w(E){const M=E[E.length-1];return typeof M=="object"&&M.constructor===Object?(E.splice(E.length-1,1),M):{}}function h(...E){return"("+(w(E).capture?"":"?:")+E.map(_e=>c(_e)).join("|")+")"}function _(E){return new RegExp(E.toString()+"|").exec("").length-1}function y(E,M){const V=E&&E.exec(M);return V&&V.index===0}const b=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(E,{joinWith:M}){let V=0;return E.map(_e=>{V+=1;const Be=V;let Ve=c(_e),he="";for(;Ve.length>0;){const fe=b.exec(Ve);if(!fe){he+=Ve;break}he+=Ve.substring(0,fe.index),Ve=Ve.substring(fe.index+fe[0].length),fe[0][0]==="\\"&&fe[1]?he+="\\"+String(Number(fe[1])+Be):(he+=fe[0],fe[0]==="("&&V++)}return he}).map(_e=>`(${_e})`).join(M)}const k=/\b\B/,S="[a-zA-Z]\\w*",A="[a-zA-Z_]\\w*",R="\\b\\d+(\\.\\d+)?",L="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",D="\\b(0b[01]+)",P="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",oe=(E={})=>{const M=/^#![ ]*\//;return E.binary&&(E.begin=g(M,/.*\b/,E.binary,/\b.*/)),r({scope:"meta",begin:M,end:/$/,relevance:0,"on:begin":(V,_e)=>{V.index!==0&&_e.ignoreMatch()}},E)},N={begin:"\\\\[\\s\\S]",relevance:0},j={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[N]},q={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[N]},F={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},B=function(E,M,V={}){const _e=r({scope:"comment",begin:E,end:M,contains:[]},V);_e.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Be=h("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return _e.contains.push({begin:g(/[ ]+/,"(",Be,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),_e},J=B("//","$"),te=B("/\\*","\\*/"),Ae=B("#","$"),ve={scope:"number",begin:R,relevance:0},Fe={scope:"number",begin:L,relevance:0},et={scope:"number",begin:D,relevance:0},ot={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[N,{begin:/\[/,end:/\]/,relevance:0,contains:[N]}]},pt={scope:"title",begin:S,relevance:0},bt={scope:"title",begin:A,relevance:0},ft={begin:"\\.\\s*"+A,relevance:0};var me=Object.freeze({__proto__:null,APOS_STRING_MODE:j,BACKSLASH_ESCAPE:N,BINARY_NUMBER_MODE:et,BINARY_NUMBER_RE:D,COMMENT:B,C_BLOCK_COMMENT_MODE:te,C_LINE_COMMENT_MODE:J,C_NUMBER_MODE:Fe,C_NUMBER_RE:L,END_SAME_AS_BEGIN:function(E){return Object.assign(E,{"on:begin":(M,V)=>{V.data._beginMatch=M[1]},"on:end":(M,V)=>{V.data._beginMatch!==M[1]&&V.ignoreMatch()}})},HASH_COMMENT_MODE:Ae,IDENT_RE:S,MATCH_NOTHING_RE:k,METHOD_GUARD:ft,NUMBER_MODE:ve,NUMBER_RE:R,PHRASAL_WORDS_MODE:F,QUOTE_STRING_MODE:q,REGEXP_MODE:ot,RE_STARTERS_RE:P,SHEBANG:oe,TITLE_MODE:pt,UNDERSCORE_IDENT_RE:A,UNDERSCORE_TITLE_MODE:bt});function Ne(E,M){E.input[E.index-1]==="."&&M.ignoreMatch()}function x(E,M){E.className!==void 0&&(E.scope=E.className,delete E.className)}function T(E,M){M&&E.beginKeywords&&(E.begin="\\b("+E.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",E.__beforeBegin=Ne,E.keywords=E.keywords||E.beginKeywords,delete E.beginKeywords,E.relevance===void 0&&(E.relevance=0))}function z(E,M){Array.isArray(E.illegal)&&(E.illegal=h(...E.illegal))}function Y(E,M){if(E.match){if(E.begin||E.end)throw new Error("begin & end are not supported with match");E.begin=E.match,delete E.match}}function K(E,M){E.relevance===void 0&&(E.relevance=1)}const Z=(E,M)=>{if(!E.beforeMatch)return;if(E.starts)throw new Error("beforeMatch cannot be used with starts");const V=Object.assign({},E);Object.keys(E).forEach(_e=>{delete E[_e]}),E.keywords=V.keywords,E.begin=g(V.beforeMatch,p(V.begin)),E.starts={relevance:0,contains:[Object.assign(V,{endsParent:!0})]},E.relevance=0,delete V.beforeMatch},se=["of","and","for","in","not","or","if","then","parent","list","value"],re="keyword";function Q(E,M,V=re){const _e=Object.create(null);return typeof E=="string"?Be(V,E.split(" ")):Array.isArray(E)?Be(V,E):Object.keys(E).forEach(function(Ve){Object.assign(_e,Q(E[Ve],M,Ve))}),_e;function Be(Ve,he){M&&(he=he.map(fe=>fe.toLowerCase())),he.forEach(function(fe){const Oe=fe.split("|");_e[Oe[0]]=[Ve,X(Oe[0],Oe[1])]})}}function X(E,M){return M?Number(M):be(E)?0:1}function be(E){return se.includes(E.toLowerCase())}const ce={},pe=E=>{console.error(E)},H=(E,...M)=>{console.log(`WARN: ${E}`,...M)},ie=(E,M)=>{ce[`${E}/${M}`]||(console.log(`Deprecated as of ${E}. ${M}`),ce[`${E}/${M}`]=!0)},Se=new Error;function Re(E,M,{key:V}){let _e=0;const Be=E[V],Ve={},he={};for(let fe=1;fe<=M.length;fe++)he[fe+_e]=Be[fe],Ve[fe+_e]=!0,_e+=_(M[fe-1]);E[V]=he,E[V]._emit=Ve,E[V]._multi=!0}function lt(E){if(Array.isArray(E.begin)){if(E.skip||E.excludeBegin||E.returnBegin)throw pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Se;if(typeof E.beginScope!="object"||E.beginScope===null)throw pe("beginScope must be object"),Se;Re(E,E.begin,{key:"beginScope"}),E.begin=C(E.begin,{joinWith:""})}}function ht(E){if(Array.isArray(E.end)){if(E.skip||E.excludeEnd||E.returnEnd)throw pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Se;if(typeof E.endScope!="object"||E.endScope===null)throw pe("endScope must be object"),Se;Re(E,E.end,{key:"endScope"}),E.end=C(E.end,{joinWith:""})}}function Ct(E){E.scope&&typeof E.scope=="object"&&E.scope!==null&&(E.beginScope=E.scope,delete E.scope)}function Tt(E){Ct(E),typeof E.beginScope=="string"&&(E.beginScope={_wrap:E.beginScope}),typeof E.endScope=="string"&&(E.endScope={_wrap:E.endScope}),lt(E),ht(E)}function In(E){function M(he,fe){return new RegExp(c(he),"m"+(E.case_insensitive?"i":"")+(E.unicodeRegex?"u":"")+(fe?"g":""))}class V{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(fe,Oe){Oe.position=this.position++,this.matchIndexes[this.matchAt]=Oe,this.regexes.push([Oe,fe]),this.matchAt+=_(fe)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const fe=this.regexes.map(Oe=>Oe[1]);this.matcherRe=M(C(fe,{joinWith:"|"}),!0),this.lastIndex=0}exec(fe){this.matcherRe.lastIndex=this.lastIndex;const Oe=this.matcherRe.exec(fe);if(!Oe)return null;const _t=Oe.findIndex((cn,Qf)=>Qf>0&&cn!==void 0),Ge=this.matchIndexes[_t];return Oe.splice(0,_t),Object.assign(Oe,Ge)}}class _e{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(fe){if(this.multiRegexes[fe])return this.multiRegexes[fe];const Oe=new V;return this.rules.slice(fe).forEach(([_t,Ge])=>Oe.addRule(_t,Ge)),Oe.compile(),this.multiRegexes[fe]=Oe,Oe}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(fe,Oe){this.rules.push([fe,Oe]),Oe.type==="begin"&&this.count++}exec(fe){const Oe=this.getMatcher(this.regexIndex);Oe.lastIndex=this.lastIndex;let _t=Oe.exec(fe);if(this.resumingScanAtSamePosition()&&!(_t&&_t.index===this.lastIndex)){const Ge=this.getMatcher(0);Ge.lastIndex=this.lastIndex+1,_t=Ge.exec(fe)}return _t&&(this.regexIndex+=_t.position+1,this.regexIndex===this.count&&this.considerAll()),_t}}function Be(he){const fe=new _e;return he.contains.forEach(Oe=>fe.addRule(Oe.begin,{rule:Oe,type:"begin"})),he.terminatorEnd&&fe.addRule(he.terminatorEnd,{type:"end"}),he.illegal&&fe.addRule(he.illegal,{type:"illegal"}),fe}function Ve(he,fe){const Oe=he;if(he.isCompiled)return Oe;[x,Y,Tt,Z].forEach(Ge=>Ge(he,fe)),E.compilerExtensions.forEach(Ge=>Ge(he,fe)),he.__beforeBegin=null,[T,z,K].forEach(Ge=>Ge(he,fe)),he.isCompiled=!0;let _t=null;return typeof he.keywords=="object"&&he.keywords.$pattern&&(he.keywords=Object.assign({},he.keywords),_t=he.keywords.$pattern,delete he.keywords.$pattern),_t=_t||/\w+/,he.keywords&&(he.keywords=Q(he.keywords,E.case_insensitive)),Oe.keywordPatternRe=M(_t,!0),fe&&(he.begin||(he.begin=/\B|\b/),Oe.beginRe=M(Oe.begin),!he.end&&!he.endsWithParent&&(he.end=/\B|\b/),he.end&&(Oe.endRe=M(Oe.end)),Oe.terminatorEnd=c(Oe.end)||"",he.endsWithParent&&fe.terminatorEnd&&(Oe.terminatorEnd+=(he.end?"|":"")+fe.terminatorEnd)),he.illegal&&(Oe.illegalRe=M(he.illegal)),he.contains||(he.contains=[]),he.contains=[].concat(...he.contains.map(function(Ge){return yt(Ge==="self"?he:Ge)})),he.contains.forEach(function(Ge){Ve(Ge,Oe)}),he.starts&&Ve(he.starts,fe),Oe.matcher=Be(Oe),Oe}if(E.compilerExtensions||(E.compilerExtensions=[]),E.contains&&E.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return E.classNameAliases=r(E.classNameAliases||{}),Ve(E)}function yn(E){return E?E.endsWithParent||yn(E.starts):!1}function yt(E){return E.variants&&!E.cachedVariants&&(E.cachedVariants=E.variants.map(function(M){return r(E,{variants:null},M)})),E.cachedVariants?E.cachedVariants:yn(E)?r(E,{starts:E.starts?r(E.starts):null}):Object.isFrozen(E)?r(E):E}var Dt="11.9.0";class Hn extends Error{constructor(M,V){super(M),this.name="HTMLInjectionError",this.html=V}}const Lr=n,Po=r,ro=Symbol("nomatch"),Rs=7,Do=function(E){const M=Object.create(null),V=Object.create(null),_e=[];let Be=!0;const Ve="Could not find the language '{}', did you forget to load/include a language module?",he={disableAutodetect:!0,name:"Plain text",contains:[]};let fe={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:f};function Oe(ae){return fe.noHighlightRe.test(ae)}function _t(ae){let xe=ae.className+" ";xe+=ae.parentNode?ae.parentNode.className:"";const ze=fe.languageDetectRe.exec(xe);if(ze){const it=Pr(ze[1]);return it||(H(Ve.replace("{}",ze[1])),H("Falling back to no-highlight mode for this block.",ae)),it?ze[1]:"no-highlight"}return xe.split(/\s+/).find(it=>Oe(it)||Pr(it))}function Ge(ae,xe,ze){let it="",wt="";typeof xe=="object"?(it=ae,ze=xe.ignoreIllegals,wt=xe.language):(ie("10.7.0","highlight(lang, code, ...args) has been deprecated."),ie("10.7.0",`Please use highlight(code, options) instead.
|
|
21
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),wt=ae,it=xe),ze===void 0&&(ze=!0);const Mn={code:it,language:wt};fa("before:highlight",Mn);const Dr=Mn.result?Mn.result:cn(Mn.language,Mn.code,ze);return Dr.code=Mn.code,fa("after:highlight",Dr),Dr}function cn(ae,xe,ze,it){const wt=Object.create(null);function Mn(de,Ce){return de.keywords[Ce]}function Dr(){if(!Ie.keywords){Ot.addText(ct);return}let de=0;Ie.keywordPatternRe.lastIndex=0;let Ce=Ie.keywordPatternRe.exec(ct),Le="";for(;Ce;){Le+=ct.substring(de,Ce.index);const tt=jn.case_insensitive?Ce[0].toLowerCase():Ce[0],$t=Mn(Ie,tt);if($t){const[gr,AD]=$t;if(Ot.addText(Le),Le="",wt[tt]=(wt[tt]||0)+1,wt[tt]<=Rs&&(ha+=AD),gr.startsWith("_"))Le+=Ce[0];else{const TD=jn.classNameAliases[gr]||gr;Un(Ce[0],TD)}}else Le+=Ce[0];de=Ie.keywordPatternRe.lastIndex,Ce=Ie.keywordPatternRe.exec(ct)}Le+=ct.substring(de),Ot.addText(Le)}function da(){if(ct==="")return;let de=null;if(typeof Ie.subLanguage=="string"){if(!M[Ie.subLanguage]){Ot.addText(ct);return}de=cn(Ie.subLanguage,ct,!0,r_[Ie.subLanguage]),r_[Ie.subLanguage]=de._top}else de=ed(ct,Ie.subLanguage.length?Ie.subLanguage:null);Ie.relevance>0&&(ha+=de.relevance),Ot.__addSublanguage(de._emitter,de.language)}function un(){Ie.subLanguage!=null?da():Dr(),ct=""}function Un(de,Ce){de!==""&&(Ot.startScope(Ce),Ot.addText(de),Ot.endScope())}function Qy(de,Ce){let Le=1;const tt=Ce.length-1;for(;Le<=tt;){if(!de._emit[Le]){Le++;continue}const $t=jn.classNameAliases[de[Le]]||de[Le],gr=Ce[Le];$t?Un(gr,$t):(ct=gr,Dr(),ct=""),Le++}}function e_(de,Ce){return de.scope&&typeof de.scope=="string"&&Ot.openNode(jn.classNameAliases[de.scope]||de.scope),de.beginScope&&(de.beginScope._wrap?(Un(ct,jn.classNameAliases[de.beginScope._wrap]||de.beginScope._wrap),ct=""):de.beginScope._multi&&(Qy(de.beginScope,Ce),ct="")),Ie=Object.create(de,{parent:{value:Ie}}),Ie}function t_(de,Ce,Le){let tt=y(de.endRe,Le);if(tt){if(de["on:end"]){const $t=new t(de);de["on:end"](Ce,$t),$t.isMatchIgnored&&(tt=!1)}if(tt){for(;de.endsParent&&de.parent;)de=de.parent;return de}}if(de.endsWithParent)return t_(de.parent,Ce,Le)}function kD(de){return Ie.matcher.regexIndex===0?(ct+=de[0],1):(od=!0,0)}function ED(de){const Ce=de[0],Le=de.rule,tt=new t(Le),$t=[Le.__beforeBegin,Le["on:begin"]];for(const gr of $t)if(gr&&(gr(de,tt),tt.isMatchIgnored))return kD(Ce);return Le.skip?ct+=Ce:(Le.excludeBegin&&(ct+=Ce),un(),!Le.returnBegin&&!Le.excludeBegin&&(ct=Ce)),e_(Le,de),Le.returnBegin?0:Ce.length}function CD(de){const Ce=de[0],Le=xe.substring(de.index),tt=t_(Ie,de,Le);if(!tt)return ro;const $t=Ie;Ie.endScope&&Ie.endScope._wrap?(un(),Un(Ce,Ie.endScope._wrap)):Ie.endScope&&Ie.endScope._multi?(un(),Qy(Ie.endScope,de)):$t.skip?ct+=Ce:($t.returnEnd||$t.excludeEnd||(ct+=Ce),un(),$t.excludeEnd&&(ct=Ce));do Ie.scope&&Ot.closeNode(),!Ie.skip&&!Ie.subLanguage&&(ha+=Ie.relevance),Ie=Ie.parent;while(Ie!==tt.parent);return tt.starts&&e_(tt.starts,de),$t.returnEnd?0:Ce.length}function SD(){const de=[];for(let Ce=Ie;Ce!==jn;Ce=Ce.parent)Ce.scope&&de.unshift(Ce.scope);de.forEach(Ce=>Ot.openNode(Ce))}let pa={};function n_(de,Ce){const Le=Ce&&Ce[0];if(ct+=de,Le==null)return un(),0;if(pa.type==="begin"&&Ce.type==="end"&&pa.index===Ce.index&&Le===""){if(ct+=xe.slice(Ce.index,Ce.index+1),!Be){const tt=new Error(`0 width match regex (${ae})`);throw tt.languageName=ae,tt.badRule=pa.rule,tt}return 1}if(pa=Ce,Ce.type==="begin")return ED(Ce);if(Ce.type==="illegal"&&!ze){const tt=new Error('Illegal lexeme "'+Le+'" for mode "'+(Ie.scope||"<unnamed>")+'"');throw tt.mode=Ie,tt}else if(Ce.type==="end"){const tt=CD(Ce);if(tt!==ro)return tt}if(Ce.type==="illegal"&&Le==="")return 1;if(rd>1e5&&rd>Ce.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ct+=Le,Le.length}const jn=Pr(ae);if(!jn)throw pe(Ve.replace("{}",ae)),new Error('Unknown language: "'+ae+'"');const xD=In(jn);let nd="",Ie=it||xD;const r_={},Ot=new fe.__emitter(fe);SD();let ct="",ha=0,oo=0,rd=0,od=!1;try{if(jn.__emitTokens)jn.__emitTokens(xe,Ot);else{for(Ie.matcher.considerAll();;){rd++,od?od=!1:Ie.matcher.considerAll(),Ie.matcher.lastIndex=oo;const de=Ie.matcher.exec(xe);if(!de)break;const Ce=xe.substring(oo,de.index),Le=n_(Ce,de);oo=de.index+Le}n_(xe.substring(oo))}return Ot.finalize(),nd=Ot.toHTML(),{language:ae,value:nd,relevance:ha,illegal:!1,_emitter:Ot,_top:Ie}}catch(de){if(de.message&&de.message.includes("Illegal"))return{language:ae,value:Lr(xe),illegal:!0,relevance:0,_illegalBy:{message:de.message,index:oo,context:xe.slice(oo-100,oo+100),mode:de.mode,resultSoFar:nd},_emitter:Ot};if(Be)return{language:ae,value:Lr(xe),illegal:!1,relevance:0,errorRaised:de,_emitter:Ot,_top:Ie};throw de}}function Qf(ae){const xe={value:Lr(ae),illegal:!1,relevance:0,_top:he,_emitter:new fe.__emitter(fe)};return xe._emitter.addText(ae),xe}function ed(ae,xe){xe=xe||fe.languages||Object.keys(M);const ze=Qf(ae),it=xe.filter(Pr).filter(Jy).map(un=>cn(un,ae,!1));it.unshift(ze);const wt=it.sort((un,Un)=>{if(un.relevance!==Un.relevance)return Un.relevance-un.relevance;if(un.language&&Un.language){if(Pr(un.language).supersetOf===Un.language)return 1;if(Pr(Un.language).supersetOf===un.language)return-1}return 0}),[Mn,Dr]=wt,da=Mn;return da.secondBest=Dr,da}function uD(ae,xe,ze){const it=xe&&V[xe]||ze;ae.classList.add("hljs"),ae.classList.add(`language-${it}`)}function td(ae){let xe=null;const ze=_t(ae);if(Oe(ze))return;if(fa("before:highlightElement",{el:ae,language:ze}),ae.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",ae);return}if(ae.children.length>0&&(fe.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(ae)),fe.throwUnescapedHTML))throw new Hn("One of your code blocks includes unescaped HTML.",ae.innerHTML);xe=ae;const it=xe.textContent,wt=ze?Ge(it,{language:ze,ignoreIllegals:!0}):ed(it);ae.innerHTML=wt.value,ae.dataset.highlighted="yes",uD(ae,ze,wt.language),ae.result={language:wt.language,re:wt.relevance,relevance:wt.relevance},wt.secondBest&&(ae.secondBest={language:wt.secondBest.language,relevance:wt.secondBest.relevance}),fa("after:highlightElement",{el:ae,result:wt,text:it})}function fD(ae){fe=Po(fe,ae)}const dD=()=>{ua(),ie("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function pD(){ua(),ie("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Xy=!1;function ua(){if(document.readyState==="loading"){Xy=!0;return}document.querySelectorAll(fe.cssSelector).forEach(td)}function hD(){Xy&&ua()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",hD,!1);function gD(ae,xe){let ze=null;try{ze=xe(E)}catch(it){if(pe("Language definition for '{}' could not be registered.".replace("{}",ae)),Be)pe(it);else throw it;ze=he}ze.name||(ze.name=ae),M[ae]=ze,ze.rawDefinition=xe.bind(null,E),ze.aliases&&Yy(ze.aliases,{languageName:ae})}function mD(ae){delete M[ae];for(const xe of Object.keys(V))V[xe]===ae&&delete V[xe]}function vD(){return Object.keys(M)}function Pr(ae){return ae=(ae||"").toLowerCase(),M[ae]||M[V[ae]]}function Yy(ae,{languageName:xe}){typeof ae=="string"&&(ae=[ae]),ae.forEach(ze=>{V[ze.toLowerCase()]=xe})}function Jy(ae){const xe=Pr(ae);return xe&&!xe.disableAutodetect}function bD(ae){ae["before:highlightBlock"]&&!ae["before:highlightElement"]&&(ae["before:highlightElement"]=xe=>{ae["before:highlightBlock"](Object.assign({block:xe.el},xe))}),ae["after:highlightBlock"]&&!ae["after:highlightElement"]&&(ae["after:highlightElement"]=xe=>{ae["after:highlightBlock"](Object.assign({block:xe.el},xe))})}function yD(ae){bD(ae),_e.push(ae)}function _D(ae){const xe=_e.indexOf(ae);xe!==-1&&_e.splice(xe,1)}function fa(ae,xe){const ze=ae;_e.forEach(function(it){it[ze]&&it[ze](xe)})}function wD(ae){return ie("10.7.0","highlightBlock will be removed entirely in v12.0"),ie("10.7.0","Please use highlightElement now."),td(ae)}Object.assign(E,{highlight:Ge,highlightAuto:ed,highlightAll:ua,highlightElement:td,highlightBlock:wD,configure:fD,initHighlighting:dD,initHighlightingOnLoad:pD,registerLanguage:gD,unregisterLanguage:mD,listLanguages:vD,getLanguage:Pr,registerAliases:Yy,autoDetection:Jy,inherit:Po,addPlugin:yD,removePlugin:_D}),E.debugMode=function(){Be=!1},E.safeMode=function(){Be=!0},E.versionString=Dt,E.regex={concat:g,lookahead:p,either:h,optional:m,anyNumberOfTimes:d};for(const ae in me)typeof me[ae]=="object"&&e(me[ae]);return Object.assign(E,me),E},$=Do({});return $.newInstance=()=>Do({}),cl=$,$.HighlightJS=$,$.default=$,cl}var Hw=zw();const rr=ll(Hw),Ch="[A-Za-z$_][0-9A-Za-z$_]*",Uw=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],jw=["true","false","null","undefined","NaN","Infinity"],Sh=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],xh=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ah=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Vw=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Gw=[].concat(Ah,Sh,xh);function Th(e){const t=e.regex,n=(B,{after:J})=>{const te="</"+B[0].slice(1);return B.input.indexOf(te,J)!==-1},r=Ch,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(B,J)=>{const te=B[0].length+B.index,Ae=B.input[te];if(Ae==="<"||Ae===","){J.ignoreMatch();return}Ae===">"&&(n(B,{after:te})||J.ignoreMatch());let ve;const Fe=B.input.substring(te);if(ve=Fe.match(/^\s*=/)){J.ignoreMatch();return}if((ve=Fe.match(/^\s+extends\s+/))&&ve.index===0){J.ignoreMatch();return}}},a={$pattern:Ch,keyword:Uw,literal:jw,built_in:Gw,"variable.language":Vw},l="[0-9](_?[0-9])*",u=`\\.(${l})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${f})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${f})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},g={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},w={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},_={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},y=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,m,g,w,{match:/\$\d+/},c];p.contains=y.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(y)});const b=[].concat(_,p.contains),C=b.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(b)}]),k={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:C},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},A={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Sh,...xh]}},R={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[k],illegal:/%/},D={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function P(B){return t.concat("(?!",B.join("|"),")")}const oe={match:t.concat(/\b/,P([...Ah,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},N={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},k]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",F={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[k]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:C,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,m,g,w,_,{match:/\$\d+/},c,A,{className:"attr",begin:r+t.lookahead(":"),relevance:0},F,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[_,e.REGEXP_MODE,{className:"function",begin:q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:C}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},L,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[k,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},N,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[k]},oe,D,S,j,{match:/\$[(.]/}]}}function Oh(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(o,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,l,a,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,i,l,a]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:u}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const Kw={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ww(e,t){return O(),U("svg",Kw,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"},null,-1)]))}const Zw={name:"mdi-close",render:Ww},Er=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Xw={},Yw={class:"chat-button"};function Jw(e,t){return O(),U("button",Yw,[ye(e.$slots,"default")])}const Qw=Er(Xw,[["render",Jw]]);function ul(){return $e(bh)}function ss(){return{options:$e(yh)}}function mi(){const{options:e}=ss(),t=(e==null?void 0:e.defaultLanguage)??"en";function n(s){var i,a;const o=(a=(i=e==null?void 0:e.i18n)==null?void 0:i[t])==null?void 0:a[s];return gt(o)?o.value:o??s}function r(s){var o,i;return!!((i=(o=e==null?void 0:e.i18n)==null?void 0:o[t])!=null&&i[s])}return{t:n,te:r}}const ek={class:"chat-get-started"},tk=ee({__name:"GetStarted",setup(e){const{t}=mi();return(n,r)=>(O(),U("div",ek,[ke(Qw,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:ue(()=>[Ur(Ke(v(t)("getStarted")),1)]),_:1})]))}}),nk={},rk={class:"chat-powered-by"};function ok(e,t){return O(),U("div",rk,t[0]||(t[0]=[Ur(" Powered by "),ne("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1)]))}const sk=Er(nk,[["render",ok]]),ik={class:"chat-get-started-footer"},ak={key:0},lk=ee({__name:"GetStartedFooter",setup(e){const{t,te:n}=mi();return(r,s)=>(O(),U("div",ik,[v(n)("footer")?(O(),U("div",ak,Ke(v(t)("footer")),1)):ge("",!0),ke(sk)]))}});function ck(e){return wa()?(hd(e),!0):!1}function uk(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const o=()=>t(s);return ck(o),{off:o}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(o=>o(...s)))}}const fk=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const dk=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),pk=fk?window.document:void 0,hk={multiple:!0,accept:"*",reset:!1,directory:!1};function gk(e={}){const{document:t=pk}=e,n=G(null),{on:r,trigger:s}=uk();let o;t&&(o=t.createElement("input"),o.type="file",o.onchange=l=>{const u=l.target;n.value=u.files,s(n.value)});const i=()=>{n.value=null,o&&o.value&&(o.value="",s(null))},a=l=>{if(!o)return;const u={...hk,...e,...l};o.multiple=u.multiple,o.accept=u.accept,o.webkitdirectory=u.directory,dk(u,"capture")&&(o.capture=u.capture),u.reset&&i(),o.click()};return{files:js(n),open:a,reset:i,onChange:r}}const mk={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function vk(e,t){return O(),U("svg",mk,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M16.5 6v11.5a4 4 0 0 1-4 4a4 4 0 0 1-4-4V5A2.5 2.5 0 0 1 11 2.5A2.5 2.5 0 0 1 13.5 5v10.5a1 1 0 0 1-1 1a1 1 0 0 1-1-1V6H10v9.5a2.5 2.5 0 0 0 2.5 2.5a2.5 2.5 0 0 0 2.5-2.5V5a4 4 0 0 0-4-4a4 4 0 0 0-4 4v12.5a5.5 5.5 0 0 0 5.5 5.5a5.5 5.5 0 0 0 5.5-5.5V6z"},null,-1)]))}const bk={name:"mdi-paperclip",render:vk},yk={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function _k(e,t){return O(),U("svg",yk,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)]))}const wk={name:"mdi-send",render:_k},kk={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ek(e,t){return O(),U("svg",kk,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M20 6.91L17.09 4L12 9.09L6.91 4L4 6.91L9.09 12L4 17.09L6.91 20L12 14.91L17.09 20L20 17.09L14.91 12z"},null,-1)]))}const Ck={name:"mdi-closeThick",render:Ek},Sk={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function xk(e,t){return O(),U("svg",Sk,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m0 18h12v-8l-4 4l-2-2zM8 9a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2"},null,-1)]))}const Ak={name:"mdi-fileImage",render:xk},Tk={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ok(e,t){return O(),U("svg",Tk,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 11h-2v5a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2c.4 0 .7.1 1 .3V11h3zm0-4V3.5L18.5 9z"},null,-1)]))}const Rk={name:"mdi-fileMusic",render:Ok},Ik={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Mk(e,t){return O(),U("svg",Ik,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m9 16v-2H6v2zm3-4v-2H6v2z"},null,-1)]))}const Rh={name:"mdi-fileText",render:Mk},Lk={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Pk(e,t){return O(),U("svg",Lk,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m11 17v-6l-3 2.2V13H7v6h7v-2.2z"},null,-1)]))}const Dk={name:"mdi-fileVideo",render:Pk},$k={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Nk(e,t){return O(),U("svg",$k,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M14 3v2h3.59l-9.83 9.83l1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2z"},null,-1)]))}const qk={name:"mdi-openInNew",render:Nk},Fk={class:"chat-file-name"},Ih=Er(ee({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(e,{emit:t}){const n=e,r=t,s={document:Rh,audio:Rk,image:Ak,video:Dk},o=I(()=>{var u;const l=(u=n.file)==null?void 0:u.type.split("/")[0];return s[l]||Rh});function i(){n.isPreviewable&&window.open(URL.createObjectURL(n.file))}function a(){r("remove",n.file)}return(l,u)=>(O(),U("div",{class:"chat-file",onClick:i},[ke(v(o)),ne("p",Fk,Ke(l.file.name),1),l.isRemovable?(O(),U("span",{key:0,class:"chat-file-delete",onClick:nn(a,["stop"])},[ke(v(Ck))])):l.isPreviewable?(O(),le(v(qk),{key:1,class:"chat-file-preview"})):ge("",!0)]))}}),[["__scopeId","data-v-e0d57af7"]]),Bk={class:"chat-inputs"},zk={key:0,class:"chat-input-left-panel"},Hk=["disabled","placeholder"],Uk={class:"chat-inputs-controls"},jk=["disabled"],Vk=["disabled"],Gk={key:0,class:"chat-files"},Kk=Er(ee({__name:"Input",props:{placeholder:{default:"inputPlaceholder"}},emits:["arrowKeyDown"],setup(e,{emit:t}){const n=e,{t:r}=mi(),s=t,{options:o}=ss(),i=ul(),{waitingForResponse:a}=i,l=G(null),u=G(null),f=G(""),c=G(!1),p=G(null),d=I(()=>{var j;return f.value===""||v(a)||((j=o.disabled)==null?void 0:j.value)===!0}),m=I(()=>{var j;return((j=o.disabled)==null?void 0:j.value)===!0}),g=I(()=>{var j;return w.value&&v(a)&&!((j=o.disabled)!=null&&j.value)}),w=I(()=>v(o.allowFileUploads)===!0),h=I(()=>v(o.allowedFilesMimeTypes)),_=I(()=>({"--controls-count":w.value?2:1})),{open:y,reset:b,onChange:C}=gk({multiple:!0,reset:!1});C(j=>{if(!j)return;const q=new DataTransfer;if(l.value)for(let F=0;F<l.value.length;F++)q.items.add(l.value[F]);for(let F=0;F<j.length;F++)q.items.add(j[F]);l.value=q.files}),rt(()=>{Zt.on("focusInput",S),Zt.on("blurInput",k),Zt.on("setInputValue",A),u.value&&(p.value=new ResizeObserver(j=>{for(const q of j)q.target===u.value&&N()}),p.value.observe(u.value))}),oi(()=>{Zt.off("focusInput",S),Zt.off("blurInput",k),Zt.off("setInputValue",A),p.value&&(p.value.disconnect(),p.value=null)});function k(){u.value&&u.value.blur()}function S(){u.value&&u.value.focus()}function A(j){f.value=j,S()}async function R(j){if(j.preventDefault(),d.value)return;const q=f.value;f.value="",c.value=!0,await i.sendMessage(q,Array.from(l.value??[])),c.value=!1,b(),l.value=null}async function L(j){j.shiftKey||(await R(j),N())}function D(j){if(!l.value)return;const q=new DataTransfer;for(let F=0;F<l.value.length;F++){const B=l.value[F];j.name!==B.name&&q.items.add(B)}b(),l.value=q.files}function P(j){(j.key==="ArrowUp"||j.key==="ArrowDown")&&(j.preventDefault(),s("arrowKeyDown",{key:j.key,currentInputValue:f.value}))}function oe(){g.value||y({accept:v(h)})}function N(){const j=u.value;if(!j)return;j.style.height="var(--chat--textarea--height)";const q=Math.min(j.scrollHeight,480);j.style.height=`${q}px`}return(j,q)=>{var F;return O(),U("div",{class:"chat-input",style:nt(_.value),onKeydown:nn(P,["stop"])},[ne("div",Bk,[j.$slots.leftPanel?(O(),U("div",zk,[ye(j.$slots,"leftPanel",{},void 0,!0)])):ge("",!0),Ft(ne("textarea",{ref_key:"chatTextArea",ref:u,"onUpdate:modelValue":q[0]||(q[0]=B=>f.value=B),"data-test-id":"chat-input",disabled:m.value,placeholder:v(r)(n.placeholder),onKeydown:jt(L,["enter"]),onInput:N,onMousedown:N,onFocus:N},null,40,Hk),[[gh,f.value]]),ne("div",Uk,[w.value?(O(),U("button",{key:0,disabled:g.value,class:"chat-input-file-button","data-test-id":"chat-attach-file-button",onClick:oe},[ke(v(bk),{height:"24",width:"24"})],8,jk)):ge("",!0),ne("button",{disabled:d.value,class:"chat-input-send-button",onClick:R},[ke(v(wk),{height:"24",width:"24"})],8,Vk)])]),(F=l.value)!=null&&F.length&&!c.value?(O(),U("div",Gk,[(O(!0),U(Ze,null,Cn(l.value,B=>(O(),le(Ih,{key:B.name,file:B,"is-removable":!0,"is-previewable":!0,onRemove:D},null,8,["file"]))),128))])):ge("",!0)],36)}}}),[["__scopeId","data-v-31e29ba2"]]),Wk={class:"chat-layout"},Zk={key:0,class:"chat-header"},Xk={key:2,class:"chat-footer"},Yk=ee({__name:"Layout",setup(e){const t=G(null);function n(){const r=t.value;r&&(r.scrollTop=r.scrollHeight)}return rt(()=>{Zt.on("scrollToBottom",n),window.addEventListener("resize",n)}),Wt(()=>{Zt.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(O(),U("main",Wk,[r.$slots.header?(O(),U("div",Zk,[ye(r.$slots,"header")])):ge("",!0),r.$slots.default?(O(),U("div",{key:1,ref_key:"chatBodyRef",ref:t,class:"chat-body"},[ye(r.$slots,"default")],512)):ge("",!0),r.$slots.footer?(O(),U("div",Xk,[ye(r.$slots,"footer")])):ge("",!0)]))}}),or=(e,t,{checkForDefaultPrevented:n=!0}={})=>s=>{const o=e==null?void 0:e(s);if(n===!1||!o)return t==null?void 0:t(s)};var Mh;const Pt=typeof window<"u",Jk=e=>typeof e=="string",Lh=()=>{},Ph=Pt&&((Mh=window==null?void 0:window.navigator)==null?void 0:Mh.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Dh(e){return typeof e=="function"?e():v(e)}function Qk(e){return e}function fl(e){return wa()?(hd(e),!0):!1}function eE(e,t=!0){mt()?rt(e):t?e():Ue(e)}function Cr(e){var t;const n=Dh(e);return(t=n==null?void 0:n.$el)!=null?t:n}const dl=Pt?window:void 0;function Kr(...e){let t,n,r,s;if(Jk(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=dl):[t,n,r,s]=e,!t)return Lh;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},a=(f,c,p,d)=>(f.addEventListener(c,p,d),()=>f.removeEventListener(c,p,d)),l=Ee(()=>[Cr(t),Dh(s)],([f,c])=>{i(),f&&o.push(...n.flatMap(p=>r.map(d=>a(f,p,d,c))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return fl(u),u}let $h=!1;function tE(e,t,n={}){const{window:r=dl,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;Ph&&!$h&&($h=!0,Array.from(r.document.body.children).forEach(p=>p.addEventListener("click",Lh)));let a=!0;const l=p=>s.some(d=>{if(typeof d=="string")return Array.from(r.document.querySelectorAll(d)).some(m=>m===p.target||p.composedPath().includes(m));{const m=Cr(d);return m&&(p.target===m||p.composedPath().includes(m))}}),f=[Kr(r,"click",p=>{const d=Cr(e);if(!(!d||d===p.target||p.composedPath().includes(d))){if(p.detail===0&&(a=!l(p)),!a){a=!0;return}t(p)}},{passive:!0,capture:o}),Kr(r,"pointerdown",p=>{const d=Cr(e);d&&(a=!p.composedPath().includes(d)&&!l(p))},{passive:!0}),i&&Kr(r,"blur",p=>{var d;const m=Cr(e);((d=r.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(p)})].filter(Boolean);return()=>f.forEach(p=>p())}function nE(e,t=!1){const n=G(),r=()=>n.value=!!e();return r(),eE(r,t),n}const Nh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qh="__vueuse_ssr_handlers__";Nh[qh]=Nh[qh]||{};var Fh=Object.getOwnPropertySymbols,rE=Object.prototype.hasOwnProperty,oE=Object.prototype.propertyIsEnumerable,sE=(e,t)=>{var n={};for(var r in e)rE.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Fh)for(var r of Fh(e))t.indexOf(r)<0&&oE.call(e,r)&&(n[r]=e[r]);return n};function vi(e,t,n={}){const r=n,{window:s=dl}=r,o=sE(r,["window"]);let i;const a=nE(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},u=Ee(()=>Cr(e),c=>{l(),a.value&&s&&c&&(i=new ResizeObserver(t),i.observe(c,o))},{immediate:!0,flush:"post"}),f=()=>{l(),u()};return fl(f),{isSupported:a,stop:f}}var Bh;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Bh||(Bh={}));var iE=Object.defineProperty,zh=Object.getOwnPropertySymbols,aE=Object.prototype.hasOwnProperty,lE=Object.prototype.propertyIsEnumerable,Hh=(e,t,n)=>t in e?iE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cE=(e,t)=>{for(var n in t||(t={}))aE.call(t,n)&&Hh(e,n,t[n]);if(zh)for(var n of zh(t))lE.call(t,n)&&Hh(e,n,t[n]);return e};cE({linear:Qk},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const uE=()=>Pt&&/firefox/i.test(window.navigator.userAgent),pl=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}};var Uh=typeof global=="object"&&global&&global.Object===Object&&global,fE=typeof self=="object"&&self&&self.Object===Object&&self,$n=Uh||fE||Function("return this")(),Sr=$n.Symbol,jh=Object.prototype,dE=jh.hasOwnProperty,pE=jh.toString,is=Sr?Sr.toStringTag:void 0;function hE(e){var t=dE.call(e,is),n=e[is];try{e[is]=void 0;var r=!0}catch{}var s=pE.call(e);return r&&(t?e[is]=n:delete e[is]),s}var gE=Object.prototype,mE=gE.toString;function vE(e){return mE.call(e)}var bE="[object Null]",yE="[object Undefined]",Vh=Sr?Sr.toStringTag:void 0;function vo(e){return e==null?e===void 0?yE:bE:Vh&&Vh in Object(e)?hE(e):vE(e)}function bo(e){return e!=null&&typeof e=="object"}var _E="[object Symbol]";function bi(e){return typeof e=="symbol"||bo(e)&&vo(e)==_E}function wE(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}var sr=Array.isArray,Gh=Sr?Sr.prototype:void 0,Kh=Gh?Gh.toString:void 0;function Wh(e){if(typeof e=="string")return e;if(sr(e))return wE(e,Wh)+"";if(bi(e))return Kh?Kh.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var kE=/\s/;function EE(e){for(var t=e.length;t--&&kE.test(e.charAt(t)););return t}var CE=/^\s+/;function SE(e){return e&&e.slice(0,EE(e)+1).replace(CE,"")}function yo(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Zh=NaN,xE=/^[-+]0x[0-9a-f]+$/i,AE=/^0b[01]+$/i,TE=/^0o[0-7]+$/i,OE=parseInt;function Xh(e){if(typeof e=="number")return e;if(bi(e))return Zh;if(yo(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=yo(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=SE(e);var n=AE.test(e);return n||TE.test(e)?OE(e.slice(2),n?2:8):xE.test(e)?Zh:+e}function RE(e){return e}var IE="[object AsyncFunction]",ME="[object Function]",LE="[object GeneratorFunction]",PE="[object Proxy]";function Yh(e){if(!yo(e))return!1;var t=vo(e);return t==ME||t==LE||t==IE||t==PE}var hl=$n["__core-js_shared__"],Jh=function(){var e=/[^.]+$/.exec(hl&&hl.keys&&hl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function DE(e){return!!Jh&&Jh in e}var $E=Function.prototype,NE=$E.toString;function Wr(e){if(e!=null){try{return NE.call(e)}catch{}try{return e+""}catch{}}return""}var qE=/[\\^$.*+?()[\]{}|]/g,FE=/^\[object .+?Constructor\]$/,BE=Function.prototype,zE=Object.prototype,HE=BE.toString,UE=zE.hasOwnProperty,jE=RegExp("^"+HE.call(UE).replace(qE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function VE(e){if(!yo(e)||DE(e))return!1;var t=Yh(e)?jE:FE;return t.test(Wr(e))}function GE(e,t){return e==null?void 0:e[t]}function _o(e,t){var n=GE(e,t);return VE(n)?n:void 0}var gl=_o($n,"WeakMap");function KE(e,t,n,r){e.length;for(var s=n+1;s--;)if(t(e[s],s,e))return s;return-1}var WE=9007199254740991,ZE=/^(?:0|[1-9]\d*)$/;function Qh(e,t){var n=typeof e;return t=t??WE,!!t&&(n=="number"||n!="symbol"&&ZE.test(e))&&e>-1&&e%1==0&&e<t}function eg(e,t){return e===t||e!==e&&t!==t}var XE=9007199254740991;function ml(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=XE}function YE(e){return e!=null&&ml(e.length)&&!Yh(e)}var JE=Object.prototype;function QE(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||JE;return e===n}function eC(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var tC="[object Arguments]";function tg(e){return bo(e)&&vo(e)==tC}var ng=Object.prototype,nC=ng.hasOwnProperty,rC=ng.propertyIsEnumerable,rg=tg(function(){return arguments}())?tg:function(e){return bo(e)&&nC.call(e,"callee")&&!rC.call(e,"callee")};function oC(){return!1}var og=typeof Kt=="object"&&Kt&&!Kt.nodeType&&Kt,sg=og&&typeof module=="object"&&module&&!module.nodeType&&module,sC=sg&&sg.exports===og,ig=sC?$n.Buffer:void 0,iC=ig?ig.isBuffer:void 0,vl=iC||oC,aC="[object Arguments]",lC="[object Array]",cC="[object Boolean]",uC="[object Date]",fC="[object Error]",dC="[object Function]",pC="[object Map]",hC="[object Number]",gC="[object Object]",mC="[object RegExp]",vC="[object Set]",bC="[object String]",yC="[object WeakMap]",_C="[object ArrayBuffer]",wC="[object DataView]",kC="[object Float32Array]",EC="[object Float64Array]",CC="[object Int8Array]",SC="[object Int16Array]",xC="[object Int32Array]",AC="[object Uint8Array]",TC="[object Uint8ClampedArray]",OC="[object Uint16Array]",RC="[object Uint32Array]",at={};at[kC]=at[EC]=at[CC]=at[SC]=at[xC]=at[AC]=at[TC]=at[OC]=at[RC]=!0,at[aC]=at[lC]=at[_C]=at[cC]=at[wC]=at[uC]=at[fC]=at[dC]=at[pC]=at[hC]=at[gC]=at[mC]=at[vC]=at[bC]=at[yC]=!1;function IC(e){return bo(e)&&ml(e.length)&&!!at[vo(e)]}function MC(e){return function(t){return e(t)}}var ag=typeof Kt=="object"&&Kt&&!Kt.nodeType&&Kt,as=ag&&typeof module=="object"&&module&&!module.nodeType&&module,LC=as&&as.exports===ag,bl=LC&&Uh.process,lg=function(){try{var e=as&&as.require&&as.require("util").types;return e||bl&&bl.binding&&bl.binding("util")}catch{}}(),cg=lg&&lg.isTypedArray,ug=cg?MC(cg):IC,PC=Object.prototype,DC=PC.hasOwnProperty;function $C(e,t){var n=sr(e),r=!n&&rg(e),s=!n&&!r&&vl(e),o=!n&&!r&&!s&&ug(e),i=n||r||s||o,a=i?eC(e.length,String):[],l=a.length;for(var u in e)DC.call(e,u)&&!(i&&(u=="length"||s&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Qh(u,l)))&&a.push(u);return a}function NC(e,t){return function(n){return e(t(n))}}var qC=NC(Object.keys,Object),FC=Object.prototype,BC=FC.hasOwnProperty;function zC(e){if(!QE(e))return qC(e);var t=[];for(var n in Object(e))BC.call(e,n)&&n!="constructor"&&t.push(n);return t}function fg(e){return YE(e)?$C(e):zC(e)}var HC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,UC=/^\w*$/;function yl(e,t){if(sr(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||bi(e)?!0:UC.test(e)||!HC.test(e)||t!=null&&e in Object(t)}var ls=_o(Object,"create");function jC(){this.__data__=ls?ls(null):{},this.size=0}function VC(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var GC="__lodash_hash_undefined__",KC=Object.prototype,WC=KC.hasOwnProperty;function ZC(e){var t=this.__data__;if(ls){var n=t[e];return n===GC?void 0:n}return WC.call(t,e)?t[e]:void 0}var XC=Object.prototype,YC=XC.hasOwnProperty;function JC(e){var t=this.__data__;return ls?t[e]!==void 0:YC.call(t,e)}var QC="__lodash_hash_undefined__";function eS(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ls&&t===void 0?QC:t,this}function Zr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zr.prototype.clear=jC,Zr.prototype.delete=VC,Zr.prototype.get=ZC,Zr.prototype.has=JC,Zr.prototype.set=eS;function tS(){this.__data__=[],this.size=0}function yi(e,t){for(var n=e.length;n--;)if(eg(e[n][0],t))return n;return-1}var nS=Array.prototype,rS=nS.splice;function oS(e){var t=this.__data__,n=yi(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():rS.call(t,n,1),--this.size,!0}function sS(e){var t=this.__data__,n=yi(t,e);return n<0?void 0:t[n][1]}function iS(e){return yi(this.__data__,e)>-1}function aS(e,t){var n=this.__data__,r=yi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ir(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ir.prototype.clear=tS,ir.prototype.delete=oS,ir.prototype.get=sS,ir.prototype.has=iS,ir.prototype.set=aS;var cs=_o($n,"Map");function lS(){this.size=0,this.__data__={hash:new Zr,map:new(cs||ir),string:new Zr}}function cS(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function _i(e,t){var n=e.__data__;return cS(t)?n[typeof t=="string"?"string":"hash"]:n.map}function uS(e){var t=_i(this,e).delete(e);return this.size-=t?1:0,t}function fS(e){return _i(this,e).get(e)}function dS(e){return _i(this,e).has(e)}function pS(e,t){var n=_i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function ar(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ar.prototype.clear=lS,ar.prototype.delete=uS,ar.prototype.get=fS,ar.prototype.has=dS,ar.prototype.set=pS;var hS="Expected a function";function _l(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(hS);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],o=n.cache;if(o.has(s))return o.get(s);var i=e.apply(this,r);return n.cache=o.set(s,i)||o,i};return n.cache=new(_l.Cache||ar),n}_l.Cache=ar;var gS=500;function mS(e){var t=_l(e,function(r){return n.size===gS&&n.clear(),r}),n=t.cache;return t}var vS=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bS=/\\(\\)?/g,yS=mS(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(vS,function(n,r,s,o){t.push(s?o.replace(bS,"$1"):r||n)}),t});function _S(e){return e==null?"":Wh(e)}function dg(e,t){return sr(e)?e:yl(e,t)?[e]:yS(_S(e))}function wi(e){if(typeof e=="string"||bi(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function pg(e,t){t=dg(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[wi(t[n++])];return n&&n==r?e:void 0}function rn(e,t,n){var r=e==null?void 0:pg(e,t);return r===void 0?n:r}function wS(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}function kS(){this.__data__=new ir,this.size=0}function ES(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function CS(e){return this.__data__.get(e)}function SS(e){return this.__data__.has(e)}var xS=200;function AS(e,t){var n=this.__data__;if(n instanceof ir){var r=n.__data__;if(!cs||r.length<xS-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ar(r)}return n.set(e,t),this.size=n.size,this}function lr(e){var t=this.__data__=new ir(e);this.size=t.size}lr.prototype.clear=kS,lr.prototype.delete=ES,lr.prototype.get=CS,lr.prototype.has=SS,lr.prototype.set=AS;function TS(e,t){for(var n=-1,r=e==null?0:e.length,s=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[s++]=i)}return o}function OS(){return[]}var RS=Object.prototype,IS=RS.propertyIsEnumerable,hg=Object.getOwnPropertySymbols,MS=hg?function(e){return e==null?[]:(e=Object(e),TS(hg(e),function(t){return IS.call(e,t)}))}:OS;function LS(e,t,n){var r=t(e);return sr(e)?r:wS(r,n(e))}function gg(e){return LS(e,fg,MS)}var wl=_o($n,"DataView"),kl=_o($n,"Promise"),El=_o($n,"Set"),mg="[object Map]",PS="[object Object]",vg="[object Promise]",bg="[object Set]",yg="[object WeakMap]",_g="[object DataView]",DS=Wr(wl),$S=Wr(cs),NS=Wr(kl),qS=Wr(El),FS=Wr(gl),xr=vo;(wl&&xr(new wl(new ArrayBuffer(1)))!=_g||cs&&xr(new cs)!=mg||kl&&xr(kl.resolve())!=vg||El&&xr(new El)!=bg||gl&&xr(new gl)!=yg)&&(xr=function(e){var t=vo(e),n=t==PS?e.constructor:void 0,r=n?Wr(n):"";if(r)switch(r){case DS:return _g;case $S:return mg;case NS:return vg;case qS:return bg;case FS:return yg}return t});var wg=$n.Uint8Array,BS="__lodash_hash_undefined__";function zS(e){return this.__data__.set(e,BS),this}function HS(e){return this.__data__.has(e)}function ki(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ar;++t<n;)this.add(e[t])}ki.prototype.add=ki.prototype.push=zS,ki.prototype.has=HS;function US(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function jS(e,t){return e.has(t)}var VS=1,GS=2;function kg(e,t,n,r,s,o){var i=n&VS,a=e.length,l=t.length;if(a!=l&&!(i&&l>a))return!1;var u=o.get(e),f=o.get(t);if(u&&f)return u==t&&f==e;var c=-1,p=!0,d=n&GS?new ki:void 0;for(o.set(e,t),o.set(t,e);++c<a;){var m=e[c],g=t[c];if(r)var w=i?r(g,m,c,t,e,o):r(m,g,c,e,t,o);if(w!==void 0){if(w)continue;p=!1;break}if(d){if(!US(t,function(h,_){if(!jS(d,_)&&(m===h||s(m,h,n,r,o)))return d.push(_)})){p=!1;break}}else if(!(m===g||s(m,g,n,r,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function KS(e){var t=-1,n=Array(e.size);return e.forEach(function(r,s){n[++t]=[s,r]}),n}function WS(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var ZS=1,XS=2,YS="[object Boolean]",JS="[object Date]",QS="[object Error]",e2="[object Map]",t2="[object Number]",n2="[object RegExp]",r2="[object Set]",o2="[object String]",s2="[object Symbol]",i2="[object ArrayBuffer]",a2="[object DataView]",Eg=Sr?Sr.prototype:void 0,Cl=Eg?Eg.valueOf:void 0;function l2(e,t,n,r,s,o,i){switch(n){case a2:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case i2:return!(e.byteLength!=t.byteLength||!o(new wg(e),new wg(t)));case YS:case JS:case t2:return eg(+e,+t);case QS:return e.name==t.name&&e.message==t.message;case n2:case o2:return e==t+"";case e2:var a=KS;case r2:var l=r&ZS;if(a||(a=WS),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;r|=XS,i.set(e,t);var f=kg(a(e),a(t),r,s,o,i);return i.delete(e),f;case s2:if(Cl)return Cl.call(e)==Cl.call(t)}return!1}var c2=1,u2=Object.prototype,f2=u2.hasOwnProperty;function d2(e,t,n,r,s,o){var i=n&c2,a=gg(e),l=a.length,u=gg(t),f=u.length;if(l!=f&&!i)return!1;for(var c=l;c--;){var p=a[c];if(!(i?p in t:f2.call(t,p)))return!1}var d=o.get(e),m=o.get(t);if(d&&m)return d==t&&m==e;var g=!0;o.set(e,t),o.set(t,e);for(var w=i;++c<l;){p=a[c];var h=e[p],_=t[p];if(r)var y=i?r(_,h,p,t,e,o):r(h,_,p,e,t,o);if(!(y===void 0?h===_||s(h,_,n,r,o):y)){g=!1;break}w||(w=p=="constructor")}if(g&&!w){var b=e.constructor,C=t.constructor;b!=C&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof C=="function"&&C instanceof C)&&(g=!1)}return o.delete(e),o.delete(t),g}var p2=1,Cg="[object Arguments]",Sg="[object Array]",Ei="[object Object]",h2=Object.prototype,xg=h2.hasOwnProperty;function g2(e,t,n,r,s,o){var i=sr(e),a=sr(t),l=i?Sg:xr(e),u=a?Sg:xr(t);l=l==Cg?Ei:l,u=u==Cg?Ei:u;var f=l==Ei,c=u==Ei,p=l==u;if(p&&vl(e)){if(!vl(t))return!1;i=!0,f=!1}if(p&&!f)return o||(o=new lr),i||ug(e)?kg(e,t,n,r,s,o):l2(e,t,l,n,r,s,o);if(!(n&p2)){var d=f&&xg.call(e,"__wrapped__"),m=c&&xg.call(t,"__wrapped__");if(d||m){var g=d?e.value():e,w=m?t.value():t;return o||(o=new lr),s(g,w,n,r,o)}}return p?(o||(o=new lr),d2(e,t,n,r,s,o)):!1}function Ci(e,t,n,r,s){return e===t?!0:e==null||t==null||!bo(e)&&!bo(t)?e!==e&&t!==t:g2(e,t,n,r,Ci,s)}var m2=1,v2=2;function b2(e,t,n,r){var s=n.length,o=s;if(e==null)return!o;for(e=Object(e);s--;){var i=n[s];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++s<o;){i=n[s];var a=i[0],l=e[a],u=i[1];if(i[2]){if(l===void 0&&!(a in e))return!1}else{var f=new lr,c;if(!(c===void 0?Ci(u,l,m2|v2,r,f):c))return!1}}return!0}function Ag(e){return e===e&&!yo(e)}function y2(e){for(var t=fg(e),n=t.length;n--;){var r=t[n],s=e[r];t[n]=[r,s,Ag(s)]}return t}function Tg(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function _2(e){var t=y2(e);return t.length==1&&t[0][2]?Tg(t[0][0],t[0][1]):function(n){return n===e||b2(n,e,t)}}function w2(e,t){return e!=null&&t in Object(e)}function k2(e,t,n){t=dg(t,e);for(var r=-1,s=t.length,o=!1;++r<s;){var i=wi(t[r]);if(!(o=e!=null&&n(e,i)))break;e=e[i]}return o||++r!=s?o:(s=e==null?0:e.length,!!s&&ml(s)&&Qh(i,s)&&(sr(e)||rg(e)))}function E2(e,t){return e!=null&&k2(e,t,w2)}var C2=1,S2=2;function x2(e,t){return yl(e)&&Ag(t)?Tg(wi(e),t):function(n){var r=rn(n,e);return r===void 0&&r===t?E2(n,e):Ci(t,r,C2|S2)}}function A2(e){return function(t){return t==null?void 0:t[e]}}function T2(e){return function(t){return pg(t,e)}}function O2(e){return yl(e)?A2(wi(e)):T2(e)}function R2(e){return typeof e=="function"?e:e==null?RE:typeof e=="object"?sr(e)?x2(e[0],e[1]):_2(e):O2(e)}var Sl=function(){return $n.Date.now()},I2="Expected a function",M2=Math.max,L2=Math.min;function xl(e,t,n){var r,s,o,i,a,l,u=0,f=!1,c=!1,p=!0;if(typeof e!="function")throw new TypeError(I2);t=Xh(t)||0,yo(n)&&(f=!!n.leading,c="maxWait"in n,o=c?M2(Xh(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p);function d(k){var S=r,A=s;return r=s=void 0,u=k,i=e.apply(A,S),i}function m(k){return u=k,a=setTimeout(h,t),f?d(k):i}function g(k){var S=k-l,A=k-u,R=t-S;return c?L2(R,o-A):R}function w(k){var S=k-l,A=k-u;return l===void 0||S>=t||S<0||c&&A>=o}function h(){var k=Sl();if(w(k))return _(k);a=setTimeout(h,g(k))}function _(k){return a=void 0,p&&r?d(k):(r=s=void 0,i)}function y(){a!==void 0&&clearTimeout(a),u=0,r=l=s=a=void 0}function b(){return a===void 0?i:_(Sl())}function C(){var k=Sl(),S=w(k);if(r=arguments,s=this,l=k,S){if(a===void 0)return m(l);if(c)return clearTimeout(a),a=setTimeout(h,t),d(l)}return a===void 0&&(a=setTimeout(h,t)),i}return C.cancel=y,C.flush=b,C}function P2(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var s=r-1;return KE(e,R2(t),s)}function Si(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var s=e[t];r[s[0]]=s[1]}return r}function Al(e,t){return Ci(e,t)}function Xr(e){return e==null}function D2(e){return e===void 0}const Og=e=>e===void 0,Tl=e=>typeof e=="boolean",vt=e=>typeof e=="number",us=e=>typeof Element>"u"?!1:e instanceof Element,$2=e=>qe(e)?!Number.isNaN(Number(e)):!1,N2=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");class q2 extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function F2(e,t){throw new q2(`[${e}] ${t}`)}function qD(e,t){}function wo(e,t="px"){if(!e)return"";if(vt(e)||$2(e))return`${e}${t}`;if(qe(e))return e}function B2(e,t){if(!Pt)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const s=t.offsetTop+n.reduce((l,u)=>l+u.offsetTop,0),o=s+t.offsetHeight,i=e.scrollTop,a=i+e.clientHeight;s<i?e.scrollTop=s:o>a&&(e.scrollTop=o-e.clientHeight)}/*! Element Plus Icons Vue v2.3.1 */var z2=ee({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),Rg=z2,H2=ee({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),U2=H2,j2=ee({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),V2=j2,G2=ee({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),ne("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),K2=G2,W2=ee({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),ne("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Ol=W2,Z2=ee({name:"Close",__name:"close",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Rl=Z2,X2=ee({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),Y2=X2,J2=ee({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),Q2=J2,ex=ee({name:"Hide",__name:"hide",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),ne("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),tx=ex,nx=ee({name:"Loading",__name:"loading",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),Ig=nx,rx=ee({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Mg=rx,ox=ee({name:"View",__name:"view",setup(e){return(t,n)=>(O(),U("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ne("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),sx=ox;const Lg="__epPropKey",Me=e=>e,ix=e=>De(e)&&!!e[Lg],xi=(e,t)=>{if(!De(e)||ix(e))return e;const{values:n,required:r,default:s,type:o,validator:i}=e,l={type:o,required:!!r,validator:n||i?u=>{let f=!1,c=[];if(n&&(c=Array.from(n),He(e,"default")&&c.push(s),f||(f=c.includes(u))),i&&(f||(f=i(u))),!f&&c.length>0){const p=[...new Set(c)].map(d=>JSON.stringify(d)).join(", ");X1(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(u)}.`)}return f}:void 0,[Lg]:!0};return He(e,"default")&&(l.default=s),l},Qe=e=>Si(Object.entries(e).map(([t,n])=>[t,xi(n,t)])),Sn=Me([String,Object,Function]),Pg={validating:Ig,success:K2,error:Ol},xn=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},ax=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Il=e=>(e.install=Rt,e),cr={tab:"Tab",enter:"Enter",space:"Space",esc:"Escape",delete:"Delete",backspace:"Backspace"},Xt="update:modelValue",Ml="change",fs=["","default","small","large"],lx={large:40,default:32,small:24},cx=e=>lx[e||"default"],ux=e=>["",...fs].includes(e),Dg=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),Ll=e=>e,fx=["class","style"],dx=/^on[A-Z]/,px=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=I(()=>((n==null?void 0:n.value)||[]).concat(fx)),s=mt();return I(s?()=>{var o;return Si(Object.entries((o=s.proxy)==null?void 0:o.$attrs).filter(([i])=>!r.value.includes(i)&&!(t&&dx.test(i))))}:()=>({}))},$g=({from:e,replacement:t,scope:n,version:r,ref:s,type:o="API"},i)=>{Ee(()=>v(i),a=>{},{immediate:!0})};var hx={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const gx=e=>(t,n)=>mx(t,n,v(e)),mx=(e,t,n)=>rn(n,e,e).replace(/\{(\w+)\}/g,(r,s)=>{var o;return`${(o=t==null?void 0:t[s])!=null?o:`{${s}}`}`}),vx=e=>{const t=I(()=>v(e).name),n=gt(e)?e:G(e);return{lang:t,locale:n,t:gx(e)}},bx=Symbol("localeContextKey"),An=e=>{const t=$e(bx,G());return vx(I(()=>t.value||hx))},Pl="el",yx="is-",Yr=(e,t,n,r,s)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),s&&(o+=`--${s}`),o},_x=Symbol("namespaceContextKey"),Dl=e=>{const t=mt()?$e(_x,G(Pl)):G(Pl);return I(()=>v(t)||Pl)},We=(e,t)=>{const n=Dl();return{namespace:n,b:(g="")=>Yr(n.value,e,g,"",""),e:g=>g?Yr(n.value,e,"",g,""):"",m:g=>g?Yr(n.value,e,"","",g):"",be:(g,w)=>g&&w?Yr(n.value,e,g,w,""):"",em:(g,w)=>g&&w?Yr(n.value,e,"",g,w):"",bm:(g,w)=>g&&w?Yr(n.value,e,g,"",w):"",bem:(g,w,h)=>g&&w&&h?Yr(n.value,e,g,w,h):"",is:(g,...w)=>{const h=w.length>=1?w[0]:!0;return g&&h?`${yx}${g}`:""},cssVar:g=>{const w={};for(const h in g)g[h]&&(w[`--${n.value}-${h}`]=g[h]);return w},cssVarName:g=>`--${n.value}-${g}`,cssVarBlock:g=>{const w={};for(const h in g)g[h]&&(w[`--${n.value}-${e}-${h}`]=g[h]);return w},cssVarBlockName:g=>`--${n.value}-${e}-${g}`}},wx=xi({type:Me(Boolean),default:null}),kx=xi({type:Me(Function)}),Ex=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],s={[e]:wx,[n]:kx};return{useModelToggle:({indicator:i,toggleReason:a,shouldHideWhenRouteChanges:l,shouldProceed:u,onShow:f,onHide:c})=>{const p=mt(),{emit:d}=p,m=p.props,g=I(()=>we(m[n])),w=I(()=>m[e]===null),h=S=>{i.value!==!0&&(i.value=!0,a&&(a.value=S),we(f)&&f(S))},_=S=>{i.value!==!1&&(i.value=!1,a&&(a.value=S),we(c)&&c(S))},y=S=>{if(m.disabled===!0||we(u)&&!u())return;const A=g.value&&Pt;A&&d(t,!0),(w.value||!A)&&h(S)},b=S=>{if(m.disabled===!0||!Pt)return;const A=g.value&&Pt;A&&d(t,!1),(w.value||!A)&&_(S)},C=S=>{Tl(S)&&(m.disabled&&S?g.value&&d(t,!1):i.value!==S&&(S?h():_()))},k=()=>{i.value?b():y()};return Ee(()=>m[e],C),l&&p.appContext.config.globalProperties.$route!==void 0&&Ee(()=>({...p.proxy.$route}),()=>{l.value&&i.value&&b()}),rt(()=>{C(m[e])}),{hide:b,show:y,toggle:k,hasUpdateHandler:g}},useModelToggleProps:s,useModelToggleEmits:r}},Ng=e=>{const t=mt();return I(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})};var Yt="top",gn="bottom",mn="right",Jt="left",$l="auto",ds=[Yt,gn,mn,Jt],ko="start",ps="end",Cx="clippingParents",qg="viewport",hs="popper",Sx="reference",Fg=ds.reduce(function(e,t){return e.concat([t+"-"+ko,t+"-"+ps])},[]),Ai=[].concat(ds,[$l]).reduce(function(e,t){return e.concat([t,t+"-"+ko,t+"-"+ps])},[]),xx="beforeRead",Ax="read",Tx="afterRead",Ox="beforeMain",Rx="main",Ix="afterMain",Mx="beforeWrite",Lx="write",Px="afterWrite",Dx=[xx,Ax,Tx,Ox,Rx,Ix,Mx,Lx,Px];function Nn(e){return e?(e.nodeName||"").toLowerCase():null}function Tn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Eo(e){var t=Tn(e).Element;return e instanceof t||e instanceof Element}function vn(e){var t=Tn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Nl(e){if(typeof ShadowRoot>"u")return!1;var t=Tn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function $x(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},o=t.elements[n];!vn(o)||!Nn(o)||(Object.assign(o.style,r),Object.keys(s).forEach(function(i){var a=s[i];a===!1?o.removeAttribute(i):o.setAttribute(i,a===!0?"":a)}))})}function Nx(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],o=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=i.reduce(function(l,u){return l[u]="",l},{});!vn(s)||!Nn(s)||(Object.assign(s.style,a),Object.keys(o).forEach(function(l){s.removeAttribute(l)}))})}}var Bg={name:"applyStyles",enabled:!0,phase:"write",fn:$x,effect:Nx,requires:["computeStyles"]};function qn(e){return e.split("-")[0]}var Jr=Math.max,Ti=Math.min,Co=Math.round;function So(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,s=1;if(vn(e)&&t){var o=e.offsetHeight,i=e.offsetWidth;i>0&&(r=Co(n.width)/i||1),o>0&&(s=Co(n.height)/o||1)}return{width:n.width/r,height:n.height/s,top:n.top/s,right:n.right/r,bottom:n.bottom/s,left:n.left/r,x:n.left/r,y:n.top/s}}function ql(e){var t=So(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 zg(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Nl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ur(e){return Tn(e).getComputedStyle(e)}function qx(e){return["table","td","th"].indexOf(Nn(e))>=0}function Ar(e){return((Eo(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oi(e){return Nn(e)==="html"?e:e.assignedSlot||e.parentNode||(Nl(e)?e.host:null)||Ar(e)}function Hg(e){return!vn(e)||ur(e).position==="fixed"?null:e.offsetParent}function Fx(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&vn(e)){var r=ur(e);if(r.position==="fixed")return null}var s=Oi(e);for(Nl(s)&&(s=s.host);vn(s)&&["html","body"].indexOf(Nn(s))<0;){var o=ur(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function gs(e){for(var t=Tn(e),n=Hg(e);n&&qx(n)&&ur(n).position==="static";)n=Hg(n);return n&&(Nn(n)==="html"||Nn(n)==="body"&&ur(n).position==="static")?t:n||Fx(e)||t}function Fl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ms(e,t,n){return Jr(e,Ti(t,n))}function Bx(e,t,n){var r=ms(e,t,n);return r>n?n:r}function Ug(){return{top:0,right:0,bottom:0,left:0}}function jg(e){return Object.assign({},Ug(),e)}function Vg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var zx=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,jg(typeof e!="number"?e:Vg(e,ds))};function Hx(e){var t,n=e.state,r=e.name,s=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=qn(n.placement),l=Fl(a),u=[Jt,mn].indexOf(a)>=0,f=u?"height":"width";if(!(!o||!i)){var c=zx(s.padding,n),p=ql(o),d=l==="y"?Yt:Jt,m=l==="y"?gn:mn,g=n.rects.reference[f]+n.rects.reference[l]-i[l]-n.rects.popper[f],w=i[l]-n.rects.reference[l],h=gs(o),_=h?l==="y"?h.clientHeight||0:h.clientWidth||0:0,y=g/2-w/2,b=c[d],C=_-p[f]-c[m],k=_/2-p[f]/2+y,S=ms(b,k,C),A=l;n.modifiersData[r]=(t={},t[A]=S,t.centerOffset=S-k,t)}}function Ux(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)||!zg(t.elements.popper,s)||(t.elements.arrow=s))}var jx={name:"arrow",enabled:!0,phase:"main",fn:Hx,effect:Ux,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xo(e){return e.split("-")[1]}var Vx={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gx(e){var t=e.x,n=e.y,r=window,s=r.devicePixelRatio||1;return{x:Co(t*s)/s||0,y:Co(n*s)/s||0}}function Gg(e){var t,n=e.popper,r=e.popperRect,s=e.placement,o=e.variation,i=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,c=e.isFixed,p=i.x,d=p===void 0?0:p,m=i.y,g=m===void 0?0:m,w=typeof f=="function"?f({x:d,y:g}):{x:d,y:g};d=w.x,g=w.y;var h=i.hasOwnProperty("x"),_=i.hasOwnProperty("y"),y=Jt,b=Yt,C=window;if(u){var k=gs(n),S="clientHeight",A="clientWidth";if(k===Tn(n)&&(k=Ar(n),ur(k).position!=="static"&&a==="absolute"&&(S="scrollHeight",A="scrollWidth")),k=k,s===Yt||(s===Jt||s===mn)&&o===ps){b=gn;var R=c&&k===C&&C.visualViewport?C.visualViewport.height:k[S];g-=R-r.height,g*=l?1:-1}if(s===Jt||(s===Yt||s===gn)&&o===ps){y=mn;var L=c&&k===C&&C.visualViewport?C.visualViewport.width:k[A];d-=L-r.width,d*=l?1:-1}}var D=Object.assign({position:a},u&&Vx),P=f===!0?Gx({x:d,y:g}):{x:d,y:g};if(d=P.x,g=P.y,l){var oe;return Object.assign({},D,(oe={},oe[b]=_?"0":"",oe[y]=h?"0":"",oe.transform=(C.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",oe))}return Object.assign({},D,(t={},t[b]=_?g+"px":"",t[y]=h?d+"px":"",t.transform="",t))}function Kx(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,o=n.adaptive,i=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:qn(t.placement),variation:xo(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,Gg(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Gg(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Kg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Kx,data:{}},Ri={passive:!0};function Wx(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,o=s===void 0?!0:s,i=r.resize,a=i===void 0?!0:i,l=Tn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(f){f.addEventListener("scroll",n.update,Ri)}),a&&l.addEventListener("resize",n.update,Ri),function(){o&&u.forEach(function(f){f.removeEventListener("scroll",n.update,Ri)}),a&&l.removeEventListener("resize",n.update,Ri)}}var Wg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Wx,data:{}},Zx={left:"right",right:"left",bottom:"top",top:"bottom"};function Ii(e){return e.replace(/left|right|bottom|top/g,function(t){return Zx[t]})}var Xx={start:"end",end:"start"};function Zg(e){return e.replace(/start|end/g,function(t){return Xx[t]})}function Bl(e){var t=Tn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function zl(e){return So(Ar(e)).left+Bl(e).scrollLeft}function Yx(e){var t=Tn(e),n=Ar(e),r=t.visualViewport,s=n.clientWidth,o=n.clientHeight,i=0,a=0;return r&&(s=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,a=r.offsetTop)),{width:s,height:o,x:i+zl(e),y:a}}function Jx(e){var t,n=Ar(e),r=Bl(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=Jr(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),i=Jr(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+zl(e),l=-r.scrollTop;return ur(s||n).direction==="rtl"&&(a+=Jr(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:i,x:a,y:l}}function Hl(e){var t=ur(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function Xg(e){return["html","body","#document"].indexOf(Nn(e))>=0?e.ownerDocument.body:vn(e)&&Hl(e)?e:Xg(Oi(e))}function vs(e,t){var n;t===void 0&&(t=[]);var r=Xg(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=Tn(r),i=s?[o].concat(o.visualViewport||[],Hl(r)?r:[]):r,a=t.concat(i);return s?a:a.concat(vs(Oi(i)))}function Ul(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Qx(e){var t=So(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Yg(e,t){return t===qg?Ul(Yx(e)):Eo(t)?Qx(t):Ul(Jx(Ar(e)))}function eA(e){var t=vs(Oi(e)),n=["absolute","fixed"].indexOf(ur(e).position)>=0,r=n&&vn(e)?gs(e):e;return Eo(r)?t.filter(function(s){return Eo(s)&&zg(s,r)&&Nn(s)!=="body"}):[]}function tA(e,t,n){var r=t==="clippingParents"?eA(e):[].concat(t),s=[].concat(r,[n]),o=s[0],i=s.reduce(function(a,l){var u=Yg(e,l);return a.top=Jr(u.top,a.top),a.right=Ti(u.right,a.right),a.bottom=Ti(u.bottom,a.bottom),a.left=Jr(u.left,a.left),a},Yg(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Jg(e){var t=e.reference,n=e.element,r=e.placement,s=r?qn(r):null,o=r?xo(r):null,i=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case Yt:l={x:i,y:t.y-n.height};break;case gn:l={x:i,y:t.y+t.height};break;case mn:l={x:t.x+t.width,y:a};break;case Jt:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=s?Fl(s):null;if(u!=null){var f=u==="y"?"height":"width";switch(o){case ko:l[u]=l[u]-(t[f]/2-n[f]/2);break;case ps:l[u]=l[u]+(t[f]/2-n[f]/2);break}}return l}function bs(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,o=n.boundary,i=o===void 0?Cx:o,a=n.rootBoundary,l=a===void 0?qg:a,u=n.elementContext,f=u===void 0?hs:u,c=n.altBoundary,p=c===void 0?!1:c,d=n.padding,m=d===void 0?0:d,g=jg(typeof m!="number"?m:Vg(m,ds)),w=f===hs?Sx:hs,h=e.rects.popper,_=e.elements[p?w:f],y=tA(Eo(_)?_:_.contextElement||Ar(e.elements.popper),i,l),b=So(e.elements.reference),C=Jg({reference:b,element:h,placement:s}),k=Ul(Object.assign({},h,C)),S=f===hs?k:b,A={top:y.top-S.top+g.top,bottom:S.bottom-y.bottom+g.bottom,left:y.left-S.left+g.left,right:S.right-y.right+g.right},R=e.modifiersData.offset;if(f===hs&&R){var L=R[s];Object.keys(A).forEach(function(D){var P=[mn,gn].indexOf(D)>=0?1:-1,oe=[Yt,gn].indexOf(D)>=0?"y":"x";A[D]+=L[oe]*P})}return A}function nA(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,o=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Ai:l,f=xo(r),c=f?a?Fg:Fg.filter(function(m){return xo(m)===f}):ds,p=c.filter(function(m){return u.indexOf(m)>=0});p.length===0&&(p=c);var d=p.reduce(function(m,g){return m[g]=bs(e,{placement:g,boundary:s,rootBoundary:o,padding:i})[qn(g)],m},{});return Object.keys(d).sort(function(m,g){return d[m]-d[g]})}function rA(e){if(qn(e)===$l)return[];var t=Ii(e);return[Zg(e),t,Zg(t)]}function oA(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,f=n.boundary,c=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=d===void 0?!0:d,g=n.allowedAutoPlacements,w=t.options.placement,h=qn(w),_=h===w,y=l||(_||!m?[Ii(w)]:rA(w)),b=[w].concat(y).reduce(function(et,ot){return et.concat(qn(ot)===$l?nA(t,{placement:ot,boundary:f,rootBoundary:c,padding:u,flipVariations:m,allowedAutoPlacements:g}):ot)},[]),C=t.rects.reference,k=t.rects.popper,S=new Map,A=!0,R=b[0],L=0;L<b.length;L++){var D=b[L],P=qn(D),oe=xo(D)===ko,N=[Yt,gn].indexOf(P)>=0,j=N?"width":"height",q=bs(t,{placement:D,boundary:f,rootBoundary:c,altBoundary:p,padding:u}),F=N?oe?mn:Jt:oe?gn:Yt;C[j]>k[j]&&(F=Ii(F));var B=Ii(F),J=[];if(o&&J.push(q[P]<=0),a&&J.push(q[F]<=0,q[B]<=0),J.every(function(et){return et})){R=D,A=!1;break}S.set(D,J)}if(A)for(var te=m?3:1,Ae=function(et){var ot=b.find(function(pt){var bt=S.get(pt);if(bt)return bt.slice(0,et).every(function(ft){return ft})});if(ot)return R=ot,"break"},ve=te;ve>0;ve--){var Fe=Ae(ve);if(Fe==="break")break}t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}}var sA={name:"flip",enabled:!0,phase:"main",fn:oA,requiresIfExists:["offset"],data:{_skip:!1}};function Qg(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 em(e){return[Yt,mn,gn,Jt].some(function(t){return e[t]>=0})}function iA(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,i=bs(t,{elementContext:"reference"}),a=bs(t,{altBoundary:!0}),l=Qg(i,r),u=Qg(a,s,o),f=em(l),c=em(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":c})}var aA={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:iA};function lA(e,t,n){var r=qn(e),s=[Jt,Yt].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=o[0],a=o[1];return i=i||0,a=(a||0)*s,[Jt,mn].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function cA(e){var t=e.state,n=e.options,r=e.name,s=n.offset,o=s===void 0?[0,0]:s,i=Ai.reduce(function(f,c){return f[c]=lA(c,t.rects,o),f},{}),a=i[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}var uA={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cA};function fA(e){var t=e.state,n=e.name;t.modifiersData[n]=Jg({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var tm={name:"popperOffsets",enabled:!0,phase:"read",fn:fA,data:{}};function dA(e){return e==="x"?"y":"x"}function pA(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,o=s===void 0?!0:s,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,f=n.altBoundary,c=n.padding,p=n.tether,d=p===void 0?!0:p,m=n.tetherOffset,g=m===void 0?0:m,w=bs(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:f}),h=qn(t.placement),_=xo(t.placement),y=!_,b=Fl(h),C=dA(b),k=t.modifiersData.popperOffsets,S=t.rects.reference,A=t.rects.popper,R=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,L=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(k){if(o){var oe,N=b==="y"?Yt:Jt,j=b==="y"?gn:mn,q=b==="y"?"height":"width",F=k[b],B=F+w[N],J=F-w[j],te=d?-A[q]/2:0,Ae=_===ko?S[q]:A[q],ve=_===ko?-A[q]:-S[q],Fe=t.elements.arrow,et=d&&Fe?ql(Fe):{width:0,height:0},ot=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ug(),pt=ot[N],bt=ot[j],ft=ms(0,S[q],et[q]),ln=y?S[q]/2-te-ft-pt-L.mainAxis:Ae-ft-pt-L.mainAxis,me=y?-S[q]/2+te+ft+bt+L.mainAxis:ve+ft+bt+L.mainAxis,Ne=t.elements.arrow&&gs(t.elements.arrow),x=Ne?b==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,T=(oe=D==null?void 0:D[b])!=null?oe:0,z=F+ln-T-x,Y=F+me-T,K=ms(d?Ti(B,z):B,F,d?Jr(J,Y):J);k[b]=K,P[b]=K-F}if(a){var Z,se=b==="x"?Yt:Jt,re=b==="x"?gn:mn,Q=k[C],X=C==="y"?"height":"width",be=Q+w[se],ce=Q-w[re],pe=[Yt,Jt].indexOf(h)!==-1,H=(Z=D==null?void 0:D[C])!=null?Z:0,ie=pe?be:Q-S[X]-A[X]-H+L.altAxis,Se=pe?Q+S[X]+A[X]-H-L.altAxis:ce,Re=d&&pe?Bx(ie,Q,Se):ms(d?ie:be,Q,d?Se:ce);k[C]=Re,P[C]=Re-Q}t.modifiersData[r]=P}}var hA={name:"preventOverflow",enabled:!0,phase:"main",fn:pA,requiresIfExists:["offset"]};function gA(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mA(e){return e===Tn(e)||!vn(e)?Bl(e):gA(e)}function vA(e){var t=e.getBoundingClientRect(),n=Co(t.width)/e.offsetWidth||1,r=Co(t.height)/e.offsetHeight||1;return n!==1||r!==1}function bA(e,t,n){n===void 0&&(n=!1);var r=vn(t),s=vn(t)&&vA(t),o=Ar(t),i=So(e,s),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Nn(t)!=="body"||Hl(o))&&(a=mA(t)),vn(t)?(l=So(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=zl(o))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function yA(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function s(o){n.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),r}function _A(e){var t=yA(e);return Dx.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function wA(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function kA(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 nm={placement:"bottom",modifiers:[],strategy:"absolute"};function rm(){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 jl(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?nm:s;return function(i,a,l){l===void 0&&(l=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},nm,o),modifiersData:{},elements:{reference:i,popper:a},attributes:{},styles:{}},f=[],c=!1,p={state:u,setOptions:function(g){var w=typeof g=="function"?g(u.options):g;m(),u.options=Object.assign({},o,u.options,w),u.scrollParents={reference:Eo(i)?vs(i):i.contextElement?vs(i.contextElement):[],popper:vs(a)};var h=_A(kA([].concat(r,u.options.modifiers)));return u.orderedModifiers=h.filter(function(_){return _.enabled}),d(),p.update()},forceUpdate:function(){if(!c){var g=u.elements,w=g.reference,h=g.popper;if(rm(w,h)){u.rects={reference:bA(w,gs(h),u.options.strategy==="fixed"),popper:ql(h)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(A){return u.modifiersData[A.name]=Object.assign({},A.data)});for(var _=0;_<u.orderedModifiers.length;_++){if(u.reset===!0){u.reset=!1,_=-1;continue}var y=u.orderedModifiers[_],b=y.fn,C=y.options,k=C===void 0?{}:C,S=y.name;typeof b=="function"&&(u=b({state:u,options:k,name:S,instance:p})||u)}}}},update:wA(function(){return new Promise(function(g){p.forceUpdate(),g(u)})}),destroy:function(){m(),c=!0}};if(!rm(i,a))return p;p.setOptions(l).then(function(g){!c&&l.onFirstUpdate&&l.onFirstUpdate(g)});function d(){u.orderedModifiers.forEach(function(g){var w=g.name,h=g.options,_=h===void 0?{}:h,y=g.effect;if(typeof y=="function"){var b=y({state:u,name:w,instance:p,options:_}),C=function(){};f.push(b||C)}})}function m(){f.forEach(function(g){return g()}),f=[]}return p}}jl();var EA=[Wg,tm,Kg,Bg];jl({defaultModifiers:EA});var CA=[Wg,tm,Kg,Bg,uA,sA,hA,jx,aA],SA=jl({defaultModifiers:CA});const xA=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const u=AA(l);Object.assign(i.value,u)},requires:["computeStyles"]},s=I(()=>{const{onFirstUpdate:l,placement:u,strategy:f,modifiers:c}=v(n);return{onFirstUpdate:l,placement:u||"bottom",strategy:f||"absolute",modifiers:[...c||[],r,{name:"applyStyles",enabled:!1}]}}),o=Xn(),i=G({styles:{popper:{position:v(s).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return Ee(s,l=>{const u=v(o);u&&u.setOptions(l)},{deep:!0}),Ee([e,t],([l,u])=>{a(),!(!l||!u)&&(o.value=SA(l,u,v(s)))}),Wt(()=>{a()}),{state:I(()=>{var l;return{...((l=v(o))==null?void 0:l.state)||{}}}),styles:I(()=>v(i).styles),attributes:I(()=>v(i).attributes),update:()=>{var l;return(l=v(o))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=v(o))==null?void 0:l.forceUpdate()},instanceRef:I(()=>v(o))}};function AA(e){const t=Object.keys(e.elements),n=Si(t.map(s=>[s,e.styles[s]||{}])),r=Si(t.map(s=>[s,e.attributes[s]]));return{styles:n,attributes:r}}function om(){let e;const t=(r,s)=>{n(),e=window.setTimeout(r,s)},n=()=>window.clearTimeout(e);return fl(()=>n()),{registerTimeout:t,cancelTimeout:n}}const sm={prefix:Math.floor(Math.random()*1e4),current:0},TA=Symbol("elIdInjection"),im=()=>mt()?$e(TA,sm):sm,Mi=e=>{const t=im(),n=Dl();return I(()=>v(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Ao=[];const am=e=>{const t=e;t.key===cr.esc&&Ao.forEach(n=>n(t))},OA=e=>{rt(()=>{Ao.length===0&&document.addEventListener("keydown",am),Pt&&Ao.push(e)}),Wt(()=>{Ao=Ao.filter(t=>t!==e),Ao.length===0&&Pt&&document.removeEventListener("keydown",am)})};let lm;const cm=()=>{const e=Dl(),t=im(),n=I(()=>`${e.value}-popper-container-${t.prefix}`),r=I(()=>`#${n.value}`);return{id:n,selector:r}},RA=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},IA=()=>{const{id:e,selector:t}=cm();return sp(()=>{Pt&&!lm&&!document.body.querySelector(t.value)&&(lm=RA(e.value))}),{id:e,selector:t}},MA=Qe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),LA=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:s})=>{const{registerTimeout:o}=om(),{registerTimeout:i,cancelTimeout:a}=om();return{onOpen:f=>{o(()=>{r(f);const c=v(n);vt(c)&&c>0&&i(()=>{s(f)},c)},v(e))},onClose:f=>{a(),o(()=>{s(f)},v(t))}}},um=Symbol("elForwardRef"),PA=e=>{Ht(um,{setForwardRef:n=>{e.value=n}})},DA=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),fm=G(0),$A=2e3,NA=Symbol("zIndexContextKey"),qA=e=>{const t=mt()?$e(NA,void 0):void 0,n=I(()=>{const o=v(t);return vt(o)?o:$A}),r=I(()=>n.value+fm.value);return{initialZIndex:n,currentZIndex:r,nextZIndex:()=>(fm.value++,r.value)}};function FA(e){const t=G();function n(){if(e.value==null)return;const{selectionStart:s,selectionEnd:o,value:i}=e.value;if(s==null||o==null)return;const a=i.slice(0,Math.max(0,s)),l=i.slice(Math.max(0,o));t.value={selectionStart:s,selectionEnd:o,value:i,beforeTxt:a,afterTxt:l}}function r(){if(e.value==null||t.value==null)return;const{value:s}=e.value,{beforeTxt:o,afterTxt:i,selectionStart:a}=t.value;if(o==null||i==null||a==null)return;let l=s.length;if(s.endsWith(i))l=s.length-i.length;else if(s.startsWith(o))l=o.length;else{const u=o[a-1],f=s.indexOf(u,a-1);f!==-1&&(l=f+1)}e.value.setSelectionRange(l,l)}return[n,r]}const Vl=xi({type:String,values:fs,required:!1}),BA=Symbol("size"),zA=()=>{const e=$e(BA,{});return I(()=>v(e.size)||"")};function dm(e,{afterFocus:t,beforeBlur:n,afterBlur:r}={}){const s=mt(),{emit:o}=s,i=Xn(),a=G(!1),l=c=>{a.value||(a.value=!0,o("focus",c),t==null||t())},u=c=>{var p;we(n)&&n(c)||c.relatedTarget&&((p=i.value)!=null&&p.contains(c.relatedTarget))||(a.value=!1,o("blur",c),r==null||r())},f=()=>{var c;(c=e.value)==null||c.focus()};return Ee(i,c=>{c&&c.setAttribute("tabindex","-1")}),Kr(i,"click",f),{wrapperRef:i,isFocused:a,handleFocus:l,handleBlur:u}}const HA=Symbol(),pm=G();function UA(e,t=void 0){const n=mt()?$e(HA,pm):pm;return I(()=>{var r,s;return(s=(r=n.value)==null?void 0:r[e])!=null?s:t})}var je=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const jA=Qe({size:{type:Me([Number,String])},color:{type:String}}),VA=ee({...ee({name:"ElIcon",inheritAttrs:!1}),props:jA,setup(e){const t=e,n=We("icon"),r=I(()=>{const{size:s,color:o}=t;return!s&&!o?{}:{fontSize:Og(s)?void 0:wo(s),"--color":o}});return(s,o)=>(O(),U("i",dt({class:v(n).b(),style:v(r)},s.$attrs),[ye(s.$slots,"default")],16))}});var GA=je(VA,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const Qt=xn(GA),Gl=Symbol("formContextKey"),Li=Symbol("formItemContextKey"),ys=(e,t={})=>{const n=G(void 0),r=t.prop?n:Ng("size"),s=t.global?n:zA(),o=t.form?{size:void 0}:$e(Gl,void 0),i=t.formItem?{size:void 0}:$e(Li,void 0);return I(()=>r.value||v(e)||(i==null?void 0:i.size)||(o==null?void 0:o.size)||s.value||"")},Pi=e=>{const t=Ng("disabled"),n=$e(Gl,void 0);return I(()=>t.value||v(e)||(n==null?void 0:n.disabled)||!1)},Di=()=>{const e=$e(Gl,void 0),t=$e(Li,void 0);return{form:e,formItem:t}},hm=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=G(!1)),r||(r=G(!1));const s=G();let o;const i=I(()=>{var a;return!!(!e.label&&t&&t.inputIds&&((a=t.inputIds)==null?void 0:a.length)<=1)});return rt(()=>{o=Ee([kn(e,"id"),n],([a,l])=>{const u=a??(l?void 0:Mi().value);u!==s.value&&(t!=null&&t.removeInputId&&(s.value&&t.removeInputId(s.value),!(r!=null&&r.value)&&!l&&u&&t.addInputId(u)),s.value=u)},{immediate:!0})}),oi(()=>{o&&o(),t!=null&&t.removeInputId&&s.value&&t.removeInputId(s.value)}),{isLabeledByFormItem:i,inputId:s}};let On;const KA=`
|
|
20
|
+
**/let rl;const Y0=typeof window<"u"&&window.trustedTypes;if(Y0)try{rl=Y0.createPolicy("vue",{createHTML:e=>e})}catch{}const Q0=rl?e=>rl.createHTML(e):e=>e,jw="http://www.w3.org/2000/svg",Vw="http://www.w3.org/1998/Math/MathML",Yn=typeof document<"u"?document:null,ep=Yn&&Yn.createElement("template"),Uw={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==="svg"?Yn.createElementNS(jw,e):t==="mathml"?Yn.createElementNS(Vw,e):n?Yn.createElement(e,{is:n}):Yn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{ep.innerHTML=Q0(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=ep.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},wr="transition",Jo="animation",Yo=Symbol("_vtc"),tp={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},Kw=kt({},t0,tp),Hr=(e=>(e.displayName="Transition",e.props=Kw,e))((e,{slots:t})=>kn(G4,Gw(e),t)),jr=(e,t=[])=>{Te(e)?e.forEach(n=>n(...t)):e&&e(...t)},np=e=>e?Te(e)?e.some(t=>t.length>1):e.length>1:!1;function Gw(e){const t={};for(const D in e)D in tp||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:f=a,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,m=Ww(s),g=m&&m[0],C=m&&m[1],{onBeforeEnter:h,onEnter:k,onEnterCancelled:y,onLeave:_,onLeaveCancelled:S,onBeforeAppear:x=h,onAppear:T=k,onAppearCancelled:L=y}=t,I=(D,oe,B,K)=>{D._enterCancelled=K,Vr(D,oe?f:a),Vr(D,oe?u:i),B&&B()},P=(D,oe)=>{D._isLeaving=!1,Vr(D,c),Vr(D,d),Vr(D,p),oe&&oe()},N=D=>(oe,B)=>{const K=D?T:k,F=()=>I(oe,D,B);jr(K,[oe,F]),rp(()=>{Vr(oe,D?l:o),Qn(oe,D?f:a),np(K)||op(oe,r,g,F)})};return kt(t,{onBeforeEnter(D){jr(h,[D]),Qn(D,o),Qn(D,i)},onBeforeAppear(D){jr(x,[D]),Qn(D,l),Qn(D,u)},onEnter:N(!1),onAppear:N(!0),onLeave(D,oe){D._isLeaving=!0;const B=()=>P(D,oe);Qn(D,c),D._enterCancelled?(Qn(D,p),ap()):(ap(),Qn(D,p)),rp(()=>{D._isLeaving&&(Vr(D,c),Qn(D,d),np(_)||op(D,r,C,B))}),jr(_,[D,B])},onEnterCancelled(D){I(D,!1,void 0,!0),jr(y,[D])},onAppearCancelled(D){I(D,!0,void 0,!0),jr(L,[D])},onLeaveCancelled(D){P(D),jr(S,[D])}})}function Ww(e){if(e==null)return null;if(Pe(e))return[ol(e.enter),ol(e.leave)];{const t=ol(e);return[t,t]}}function ol(e){return e4(e)}function Qn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Yo]||(e[Yo]=new Set)).add(t)}function Vr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Yo];n&&(n.delete(t),n.size||(e[Yo]=void 0))}function rp(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zw=0;function op(e,t,n,r){const s=e._endId=++Zw,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Xw(e,t);if(!i)return r();const u=i+"end";let f=0;const c=()=>{e.removeEventListener(u,p),o()},p=d=>{d.target===e&&++f>=l&&c()};setTimeout(()=>{f<l&&c()},a+1),e.addEventListener(u,p)}function Xw(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),s=r(`${wr}Delay`),o=r(`${wr}Duration`),i=sp(s,o),a=r(`${Jo}Delay`),l=r(`${Jo}Duration`),u=sp(a,l);let f=null,c=0,p=0;t===wr?i>0&&(f=wr,c=i,p=o.length):t===Jo?u>0&&(f=Jo,c=u,p=l.length):(c=Math.max(i,u),f=c>0?i>u?wr:Jo:null,p=f?f===wr?o.length:l.length:0);const d=f===wr&&/\b(transform|all)(,|$)/.test(r(`${wr}Property`).toString());return{type:f,timeout:c,propCount:p,hasTransform:d}}function sp(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ip(n)+ip(e[r])))}function ip(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ap(){return document.body.offsetHeight}function Jw(e,t,n){const r=e[Yo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ui=Symbol("_vod"),lp=Symbol("_vsh"),er={beforeMount(e,{value:t},{transition:n}){e[ui]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Qo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Qo(e,!0),r.enter(e)):r.leave(e,()=>{Qo(e,!1)}):Qo(e,t))},beforeUnmount(e,{value:t}){Qo(e,t)}};function Qo(e,t){e.style.display=t?e[ui]:"none",e[lp]=!t}const Yw=Symbol(""),Qw=/(^|;)\s*display\s*:/;function ek(e,t,n){const r=e.style,s=qe(n);let o=!1;if(n&&!s){if(t)if(qe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&fi(r,a,"")}else for(const i in t)n[i]==null&&fi(r,i,"");for(const i in n)i==="display"&&(o=!0),fi(r,i,n[i])}else if(s){if(t!==n){const i=r[Yw];i&&(n+=";"+i),r.cssText=n,o=Qw.test(n)}}else t&&e.removeAttribute("style");ui in e&&(e[ui]=o?r.display:"",e[lp]&&(r.display="none"))}const cp=/\s*!important$/;function fi(e,t,n){if(Te(n))n.forEach(r=>fi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=tk(e,t);cp.test(n)?e.setProperty(hr(r),n.replace(cp,""),"important"):e[r]=n}}const up=["Webkit","Moz","ms"],sl={};function tk(e,t){const n=sl[t];if(n)return n;let r=cn(t);if(r!=="filter"&&r in e)return sl[t]=r;r=Is(r);for(let s=0;s<up.length;s++){const o=up[s]+r;if(o in e)return sl[t]=o}return t}const fp="http://www.w3.org/1999/xlink";function dp(e,t,n,r,s,o=s4(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(fp,t.slice(6,t.length)):e.setAttributeNS(fp,t,n):n==null||o&&!md(n)?e.removeAttribute(t):e.setAttribute(t,o?"":jn(n)?String(n):n)}function pp(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Q0(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=md(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function ho(e,t,n,r){e.addEventListener(t,n,r)}function nk(e,t,n,r){e.removeEventListener(t,n,r)}const hp=Symbol("_vei");function rk(e,t,n,r,s=null){const o=e[hp]||(e[hp]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=ok(t);if(r){const u=o[t]=ak(r,s);ho(e,a,u,l)}else i&&(nk(e,a,i,l),o[t]=void 0)}}const gp=/(?:Once|Passive|Capture)$/;function ok(e){let t;if(gp.test(e)){t={};let r;for(;r=e.match(gp);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hr(e.slice(2)),t]}let il=0;const sk=Promise.resolve(),ik=()=>il||(sk.then(()=>il=0),il=Date.now());function ak(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;yn(lk(r,n.value),t,5,[r])};return n.value=e,n.attached=ik(),n}function lk(e,t){if(Te(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 mp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ck=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Jw(e,r,i):t==="style"?ek(e,n,r):Ts(t)?ba(t)||rk(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):uk(e,t,r,i))?(pp(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&dp(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!qe(r))?pp(e,cn(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),dp(e,t,r,i))};function uk(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&mp(t)&&we(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return mp(t)&&qe(n)?!1:t in e}function al(e="$style"){{const t=mt();if(!t)return ze;const n=t.type.__cssModules;if(!n)return ze;const r=n[e];return r||ze}}const vp=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Te(t)?n=>Rs(t,n):t};function fk(e){e.target.composing=!0}function bp(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ll=Symbol("_assign"),_p={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[ll]=vp(s);const o=r||s.props&&s.props.type==="number";ho(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=ka(a)),e[ll](a)}),n&&ho(e,"change",()=>{e.value=e.value.trim()}),t||(ho(e,"compositionstart",fk),ho(e,"compositionend",bp),ho(e,"change",bp))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[ll]=vp(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?ka(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},dk=["ctrl","shift","alt","meta"],pk={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)=>dk.some(n=>e[`${n}Key`]&&!t.includes(n))},en=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const a=pk[t[i]];if(a&&a(s,t))return}return e(s,...o)})},hk={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ut=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=hr(s.key);if(t.some(i=>i===o||hk[i]===o))return e(s)})},gk=kt({patchProp:ck},Uw);let yp;function mk(){return yp||(yp=mw(gk))}const vk=(...e)=>{const t=mk().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=_k(r);if(!s)return;const o=t._component;!we(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,bk(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function bk(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _k(e){return qe(e)?document.querySelector(e):e}const es={webhookUrl:"http://localhost:5678",webhookConfig:{method:"POST",headers:{}},target:"#n8n-chat",mode:"window",loadPreviousSession:!0,chatInputKey:"chatInput",chatSessionKey:"sessionId",defaultLanguage:"en",showWelcomeScreen:!1,initialMessages:["Hi there! 👋","My name is Nathan. How can I assist you today?"],i18n:{en:{title:"Hi there! 👋",subtitle:"Start a chat. We're here to help you 24/7.",footer:"",getStarted:"New Conversation",inputPlaceholder:"Type your question..",closeButtonTooltip:"Close chat"}},theme:{},enableStreaming:!1},yk="#n8n-chat",wp="n8n-chat/sessionId",kp="Chat",Cp="ChatOptions";for(var St=[],cl=0;cl<256;++cl)St.push((cl+256).toString(16).slice(1));function wk(e,t=0){return(St[e[t+0]]+St[e[t+1]]+St[e[t+2]]+St[e[t+3]]+"-"+St[e[t+4]]+St[e[t+5]]+"-"+St[e[t+6]]+St[e[t+7]]+"-"+St[e[t+8]]+St[e[t+9]]+"-"+St[e[t+10]]+St[e[t+11]]+St[e[t+12]]+St[e[t+13]]+St[e[t+14]]+St[e[t+15]]).toLowerCase()}var di,kk=new Uint8Array(16);function Ck(){if(!di&&(di=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!di))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return di(kk)}var xk=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const xp={randomUUID:xk};function ts(e,t,n){if(xp.randomUUID&&!e)return xp.randomUUID();e=e||{};var r=e.random||(e.rng||Ck)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,wk(r)}async function Ek(){return""}async function ul(...e){var o,i;const t=await Ek(),n=(o=e[1])==null?void 0:o.body,r={...t?{authorization:`Bearer ${t}`}:{},...(i=e[1])==null?void 0:i.headers};return n instanceof FormData?delete r["Content-Type"]:r["Content-Type"]="application/json",await(await fetch(e[0],{...e[1],mode:"cors",cache:"no-cache",headers:r})).json()}async function Ep(e,t={},n={}){let r=e;return Object.keys(t).length>0&&(r=`${r}?${new URLSearchParams(t).toString()}`),await ul(r,{...n,method:"GET"})}async function Sp(e,t={},n={}){return await ul(e,{...n,method:"POST",body:JSON.stringify(t)})}async function Sk(e,t={},n=[],r={}){const s=new FormData;for(const o in t)s.append(o,t[o]);for(const o of n)s.append("files",o);return await ul(e,{...r,method:"POST",body:s})}async function Ak(e,t){var r,s;return await(((r=t.webhookConfig)==null?void 0:r.method)==="POST"?Sp:Ep)(`${t.webhookUrl}`,{action:"loadPreviousSession",[t.chatSessionKey]:e,...t.metadata?{metadata:t.metadata}:{}},{headers:(s=t.webhookConfig)==null?void 0:s.headers})}async function Tk(e,t,n,r){var o,i,a;return t.length>0?await Sk(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},t,{headers:(o=r.webhookConfig)==null?void 0:o.headers}):await(((i=r.webhookConfig)==null?void 0:i.method)==="POST"?Sp:Ep)(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},{headers:(a=r.webhookConfig)==null?void 0:a.headers})}function Mk(){let e="";const t=new TextDecoder;return new TransformStream({transform(n,r){e+=t.decode(n,{stream:!0});const s=e.split(`
|
|
21
|
+
`);e=s.pop()??"";for(const o of s)if(o.trim())try{const i=JSON.parse(o);r.enqueue(i)}catch{r.enqueue({type:"item",content:o})}},flush(n){if(e.trim())try{const r=JSON.parse(e);n.enqueue(r)}catch{n.enqueue({type:"item",content:e})}}})}async function Lk(e,t,n,r,s){var a,l;const o=await(t.length>0?$k(e,t,n,r):Ik(e,n,r));if(!o.ok){const u=await o.text();throw console.error("HTTP error response:",o.status,u),new Error(`Error while sending message. Error: ${u}`)}if(!o.body)throw new Error("Response body is not readable");const i=o.body.pipeThrough(Mk()).getReader();try{for(;;){const{done:u,value:f}=await i.read();if(u)break;const c=((a=f.metadata)==null?void 0:a.nodeId)||"unknown",p=(l=f.metadata)==null?void 0:l.runIndex;switch(f.type){case"begin":s.onBeginMessage(c,p);break;case"item":s.onChunk(f.content??"",c,p);break;case"end":s.onEndMessage(c,p);break;case"error":s.onChunk(`Error: ${f.content??"Unknown error"}`,c,p),s.onEndMessage(c,p);break}}}finally{i.releaseLock()}}async function $k(e,t,n,r){var o;const s=new FormData;s.append("action","sendMessage"),s.append(r.chatSessionKey,n),s.append(r.chatInputKey,e),r.metadata&&s.append("metadata",JSON.stringify(r.metadata));for(const i of t)s.append("files",i);return await fetch(r.webhookUrl,{method:"POST",headers:{Accept:"text/plain",...(o=r.webhookConfig)==null?void 0:o.headers},body:s})}async function Ik(e,t,n){var s;const r={action:"sendMessage",[n.chatSessionKey]:t,[n.chatInputKey]:e,...n.metadata?{metadata:n.metadata}:{}};return await fetch(n.webhookUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"text/plain",...(s=n.webhookConfig)==null?void 0:s.headers},body:JSON.stringify(r)})}function Rk(){const e=new Map;function t(s,o){const i=e.get(s);i&&i.splice(i.indexOf(o)>>>0,1)}function n(s,o){let i=e.get(s);return i?i.push(o):i=[o],e.set(s,i),()=>t(s,o)}function r(s,o){const i=e.get(s);i&&i.slice().forEach(async a=>{await a(o)})}return{on:n,off:t,emit:r}}function Ok(e){if(!document.querySelector(e)){const n=document.createElement("div");e.startsWith("#")&&(n.id=e.replace("#","")),e.startsWith(".")&&n.classList.add(e.replace(".","")),document.body.appendChild(n)}}const Kt=Rk();class Pk{constructor(){va(this,"nodeRuns",new Map);va(this,"runOrder",[]);va(this,"activeRuns",new Set)}getRunKey(t,n){return n!==void 0?`${t}-${n}`:t}initializeRun(t,n){const r=this.getRunKey(t,n);if(!this.nodeRuns.has(r)){const s=pi();return this.nodeRuns.set(r,{content:"",isComplete:!1,message:s}),this.runOrder.push(r),s}return this.nodeRuns.get(r).message}registerRunStart(t,n){const r=this.getRunKey(t,n);this.activeRuns.add(r)}addRunToActive(t,n){const r=this.getRunKey(t,n);return this.activeRuns.add(r),this.initializeRun(t,n)}removeRunFromActive(t,n){const r=this.getRunKey(t,n);this.activeRuns.delete(r);const s=this.nodeRuns.get(r);s&&(s.isComplete=!0)}addChunkToRun(t,n,r){const s=this.getRunKey(t,r),o=this.nodeRuns.get(s);if(o){o.content+=n;const i={...o.message,text:o.content};return o.message=i,i}return null}getRunMessage(t,n){const r=this.getRunKey(t,n),s=this.nodeRuns.get(r);return(s==null?void 0:s.message)??null}areAllRunsComplete(){return Array.from(this.nodeRuns.values()).every(t=>t.isComplete)}getRunCount(){return this.runOrder.length}getActiveRunCount(){return this.activeRuns.size}getAllMessages(){return this.runOrder.map(t=>{var n;return(n=this.nodeRuns.get(t))==null?void 0:n.message}).filter(t=>t!==void 0)}reset(){this.nodeRuns.clear(),this.runOrder=[],this.activeRuns.clear()}}function pi(e){return{id:e??ts(),type:"text",text:"",sender:"bot"}}function Ap(e,t,n){const r=e.findIndex(s=>s.id===t);if(r===-1)throw new Error(`Can't update message. No message with id ${t} found`);e[r]=n}function Dk(e,t,n,r,s,o){try{if(!e.trim())return;if(t){let i=n.getRunMessage(t,o);i||(i=n.addRunToActive(t,o),s.value.push(i));const a=n.addChunkToRun(t,e,o);a&&Ap(s.value,a.id,a)}else{r.value||(r.value=pi(),s.value.push(r.value));const i={...r.value,text:r.value.text+e};Ap(s.value,r.value.id,i),r.value=i}He(()=>{Kt.emit("scrollToBottom")})}catch(i){console.error("Error handling stream chunk:",i)}}function Nk(e,t,n){try{t.registerRunStart(e,n)}catch(r){console.error("Error handling node start:",r)}}function qk(e,t,n){try{t.removeRunFromActive(e,n)}catch(r){console.error("Error handling node complete:",r)}}const Bk={install(e,t){e.provide(Cp,t);const n=U([]),r=U(null),s=U(!1),o=O(()=>(t.initialMessages??[]).map(f=>({id:ts(),text:f,sender:"bot"})));async function i(f,c=[]){const p={id:ts(),text:f,sender:"user",files:c};n.value.push(p),s.value=!0,He(()=>{Kt.emit("scrollToBottom")});const d=U(null),m=new Pk;try{if(t!=null&&t.enableStreaming){const g={onChunk:(C,h,k)=>{Dk(C,h,m,d,n,k)},onBeginMessage:(C,h)=>{Nk(C,m,h)},onEndMessage:(C,h)=>{qk(C,m,h)}};await Lk(f,c,r.value,t,g)}else{d.value=pi();const g=await Tk(f,c,r.value,t);let C=g.output??g.text??"";if(C===""&&Object.keys(g).length>0)try{C=JSON.stringify(g,null,2)}catch{}d.value.text=C,n.value.push(d.value)}}catch(g){d.value||(d.value=pi(),n.value.push(d.value)),d.value&&"text"in d.value&&(d.value.text="Error: Failed to receive response"),console.error("Chat API error:",g)}finally{s.value=!1}He(()=>{Kt.emit("scrollToBottom")})}async function a(){if(!t.loadPreviousSession)return;const f=localStorage.getItem(wp)??ts(),c=await Ak(f,t);return n.value=((c==null?void 0:c.data)||[]).map((p,d)=>({id:`${d}`,text:p.kwargs.content,sender:p.id.includes("HumanMessage")?"user":"bot"})),n.value.length&&(r.value=f),f}async function l(){r.value=ts(),localStorage.setItem(wp,r.value)}const u={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:a,startNewSession:l,sendMessage:i};e.provide(kp,u),e.config.globalProperties.$chat=u}};var hi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fk(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var dl,Tp;function zk(){if(Tp)return dl;Tp=1;function e(E){return E instanceof Map?E.clear=E.delete=E.set=function(){throw new Error("map is read-only")}:E instanceof Set&&(E.add=E.clear=E.delete=function(){throw new Error("set is read-only")}),Object.freeze(E),Object.getOwnPropertyNames(E).forEach(R=>{const G=E[R],ye=typeof G;(ye==="object"||ye==="function")&&!Object.isFrozen(G)&&e(G)}),E}class t{constructor(R){R.data===void 0&&(R.data={}),this.data=R.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(E){return E.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(E,...R){const G=Object.create(null);for(const ye in E)G[ye]=E[ye];return R.forEach(function(ye){for(const Fe in ye)G[Fe]=ye[Fe]}),G}const s="</span>",o=E=>!!E.scope,i=(E,{prefix:R})=>{if(E.startsWith("language:"))return E.replace("language:","language-");if(E.includes(".")){const G=E.split(".");return[`${R}${G.shift()}`,...G.map((ye,Fe)=>`${ye}${"_".repeat(Fe+1)}`)].join(" ")}return`${R}${E}`};class a{constructor(R,G){this.buffer="",this.classPrefix=G.classPrefix,R.walk(this)}addText(R){this.buffer+=n(R)}openNode(R){if(!o(R))return;const G=i(R.scope,{prefix:this.classPrefix});this.span(G)}closeNode(R){o(R)&&(this.buffer+=s)}value(){return this.buffer}span(R){this.buffer+=`<span class="${R}">`}}const l=(E={})=>{const R={children:[]};return Object.assign(R,E),R};class u{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(R){this.top.children.push(R)}openNode(R){const G=l({scope:R});this.add(G),this.stack.push(G)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(R){return this.constructor._walk(R,this.rootNode)}static _walk(R,G){return typeof G=="string"?R.addText(G):G.children&&(R.openNode(G),G.children.forEach(ye=>this._walk(R,ye)),R.closeNode(G)),R}static _collapse(R){typeof R!="string"&&R.children&&(R.children.every(G=>typeof G=="string")?R.children=[R.children.join("")]:R.children.forEach(G=>{u._collapse(G)}))}}class f extends u{constructor(R){super(),this.options=R}addText(R){R!==""&&this.add(R)}startScope(R){this.openNode(R)}endScope(){this.closeNode()}__addSublanguage(R,G){const ye=R.root;G&&(ye.scope=`language:${G}`),this.add(ye)}toHTML(){return new a(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function c(E){return E?typeof E=="string"?E:E.source:null}function p(E){return g("(?=",E,")")}function d(E){return g("(?:",E,")*")}function m(E){return g("(?:",E,")?")}function g(...E){return E.map(G=>c(G)).join("")}function C(E){const R=E[E.length-1];return typeof R=="object"&&R.constructor===Object?(E.splice(E.length-1,1),R):{}}function h(...E){return"("+(C(E).capture?"":"?:")+E.map(ye=>c(ye)).join("|")+")"}function k(E){return new RegExp(E.toString()+"|").exec("").length-1}function y(E,R){const G=E&&E.exec(R);return G&&G.index===0}const _=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function S(E,{joinWith:R}){let G=0;return E.map(ye=>{G+=1;const Fe=G;let Ke=c(ye),he="";for(;Ke.length>0;){const ue=_.exec(Ke);if(!ue){he+=Ke;break}he+=Ke.substring(0,ue.index),Ke=Ke.substring(ue.index+ue[0].length),ue[0][0]==="\\"&&ue[1]?he+="\\"+String(Number(ue[1])+Fe):(he+=ue[0],ue[0]==="("&&G++)}return he}).map(ye=>`(${ye})`).join(R)}const x=/\b\B/,T="[a-zA-Z]\\w*",L="[a-zA-Z_]\\w*",I="\\b\\d+(\\.\\d+)?",P="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",N="\\b(0b[01]+)",D="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",oe=(E={})=>{const R=/^#![ ]*\//;return E.binary&&(E.begin=g(R,/.*\b/,E.binary,/\b.*/)),r({scope:"meta",begin:R,end:/$/,relevance:0,"on:begin":(G,ye)=>{G.index!==0&&ye.ignoreMatch()}},E)},B={begin:"\\\\[\\s\\S]",relevance:0},K={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[B]},F={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[B]},z={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},H=function(E,R,G={}){const ye=r({scope:"comment",begin:E,end:R,contains:[]},G);ye.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Fe=h("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return ye.contains.push({begin:g(/[ ]+/,"(",Fe,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),ye},Q=H("//","$"),te=H("/\\*","\\*/"),Ae=H("#","$"),ve={scope:"number",begin:I,relevance:0},Be={scope:"number",begin:P,relevance:0},Qe={scope:"number",begin:N,relevance:0},rt={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[B,{begin:/\[/,end:/\]/,relevance:0,contains:[B]}]},ft={scope:"title",begin:T,relevance:0},bt={scope:"title",begin:L,relevance:0},ut={begin:"\\.\\s*"+L,relevance:0};var me=Object.freeze({__proto__:null,APOS_STRING_MODE:K,BACKSLASH_ESCAPE:B,BINARY_NUMBER_MODE:Qe,BINARY_NUMBER_RE:N,COMMENT:H,C_BLOCK_COMMENT_MODE:te,C_LINE_COMMENT_MODE:Q,C_NUMBER_MODE:Be,C_NUMBER_RE:P,END_SAME_AS_BEGIN:function(E){return Object.assign(E,{"on:begin":(R,G)=>{G.data._beginMatch=R[1]},"on:end":(R,G)=>{G.data._beginMatch!==R[1]&&G.ignoreMatch()}})},HASH_COMMENT_MODE:Ae,IDENT_RE:T,MATCH_NOTHING_RE:x,METHOD_GUARD:ut,NUMBER_MODE:ve,NUMBER_RE:I,PHRASAL_WORDS_MODE:z,QUOTE_STRING_MODE:F,REGEXP_MODE:rt,RE_STARTERS_RE:D,SHEBANG:oe,TITLE_MODE:ft,UNDERSCORE_IDENT_RE:L,UNDERSCORE_TITLE_MODE:bt});function Ne(E,R){E.input[E.index-1]==="."&&R.ignoreMatch()}function M(E,R){E.className!==void 0&&(E.scope=E.className,delete E.className)}function $(E,R){R&&E.beginKeywords&&(E.begin="\\b("+E.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",E.__beforeBegin=Ne,E.keywords=E.keywords||E.beginKeywords,delete E.beginKeywords,E.relevance===void 0&&(E.relevance=0))}function j(E,R){Array.isArray(E.illegal)&&(E.illegal=h(...E.illegal))}function Y(E,R){if(E.match){if(E.begin||E.end)throw new Error("begin & end are not supported with match");E.begin=E.match,delete E.match}}function W(E,R){E.relevance===void 0&&(E.relevance=1)}const X=(E,R)=>{if(!E.beforeMatch)return;if(E.starts)throw new Error("beforeMatch cannot be used with starts");const G=Object.assign({},E);Object.keys(E).forEach(ye=>{delete E[ye]}),E.keywords=G.keywords,E.begin=g(G.beforeMatch,p(G.begin)),E.starts={relevance:0,contains:[Object.assign(G,{endsParent:!0})]},E.relevance=0,delete G.beforeMatch},se=["of","and","for","in","not","or","if","then","parent","list","value"],re="keyword";function ee(E,R,G=re){const ye=Object.create(null);return typeof E=="string"?Fe(G,E.split(" ")):Array.isArray(E)?Fe(G,E):Object.keys(E).forEach(function(Ke){Object.assign(ye,ee(E[Ke],R,Ke))}),ye;function Fe(Ke,he){R&&(he=he.map(ue=>ue.toLowerCase())),he.forEach(function(ue){const Me=ue.split("|");ye[Me[0]]=[Ke,J(Me[0],Me[1])]})}}function J(E,R){return R?Number(R):be(E)?0:1}function be(E){return se.includes(E.toLowerCase())}const ce={},pe=E=>{console.error(E)},V=(E,...R)=>{console.log(`WARN: ${E}`,...R)},ie=(E,R)=>{ce[`${E}/${R}`]||(console.log(`Deprecated as of ${E}. ${R}`),ce[`${E}/${R}`]=!0)},Ee=new Error;function Le(E,R,{key:G}){let ye=0;const Fe=E[G],Ke={},he={};for(let ue=1;ue<=R.length;ue++)he[ue+ye]=Fe[ue],Ke[ue+ye]=!0,ye+=k(R[ue-1]);E[G]=he,E[G]._emit=Ke,E[G]._multi=!0}function at(E){if(Array.isArray(E.begin)){if(E.skip||E.excludeBegin||E.returnBegin)throw pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ee;if(typeof E.beginScope!="object"||E.beginScope===null)throw pe("beginScope must be object"),Ee;Le(E,E.begin,{key:"beginScope"}),E.begin=S(E.begin,{joinWith:""})}}function pt(E){if(Array.isArray(E.end)){if(E.skip||E.excludeEnd||E.returnEnd)throw pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ee;if(typeof E.endScope!="object"||E.endScope===null)throw pe("endScope must be object"),Ee;Le(E,E.end,{key:"endScope"}),E.end=S(E.end,{joinWith:""})}}function xt(E){E.scope&&typeof E.scope=="object"&&E.scope!==null&&(E.beginScope=E.scope,delete E.scope)}function Tt(E){xt(E),typeof E.beginScope=="string"&&(E.beginScope={_wrap:E.beginScope}),typeof E.endScope=="string"&&(E.endScope={_wrap:E.endScope}),at(E),pt(E)}function Ln(E){function R(he,ue){return new RegExp(c(he),"m"+(E.case_insensitive?"i":"")+(E.unicodeRegex?"u":"")+(ue?"g":""))}class G{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(ue,Me){Me.position=this.position++,this.matchIndexes[this.matchAt]=Me,this.regexes.push([Me,ue]),this.matchAt+=k(ue)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const ue=this.regexes.map(Me=>Me[1]);this.matcherRe=R(S(ue,{joinWith:"|"}),!0),this.lastIndex=0}exec(ue){this.matcherRe.lastIndex=this.lastIndex;const Me=this.matcherRe.exec(ue);if(!Me)return null;const yt=Me.findIndex((an,od)=>od>0&&an!==void 0),Ge=this.matchIndexes[yt];return Me.splice(0,yt),Object.assign(Me,Ge)}}class ye{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(ue){if(this.multiRegexes[ue])return this.multiRegexes[ue];const Me=new G;return this.rules.slice(ue).forEach(([yt,Ge])=>Me.addRule(yt,Ge)),Me.compile(),this.multiRegexes[ue]=Me,Me}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(ue,Me){this.rules.push([ue,Me]),Me.type==="begin"&&this.count++}exec(ue){const Me=this.getMatcher(this.regexIndex);Me.lastIndex=this.lastIndex;let yt=Me.exec(ue);if(this.resumingScanAtSamePosition()&&!(yt&&yt.index===this.lastIndex)){const Ge=this.getMatcher(0);Ge.lastIndex=this.lastIndex+1,yt=Ge.exec(ue)}return yt&&(this.regexIndex+=yt.position+1,this.regexIndex===this.count&&this.considerAll()),yt}}function Fe(he){const ue=new ye;return he.contains.forEach(Me=>ue.addRule(Me.begin,{rule:Me,type:"begin"})),he.terminatorEnd&&ue.addRule(he.terminatorEnd,{type:"end"}),he.illegal&&ue.addRule(he.illegal,{type:"illegal"}),ue}function Ke(he,ue){const Me=he;if(he.isCompiled)return Me;[M,Y,Tt,X].forEach(Ge=>Ge(he,ue)),E.compilerExtensions.forEach(Ge=>Ge(he,ue)),he.__beforeBegin=null,[$,j,W].forEach(Ge=>Ge(he,ue)),he.isCompiled=!0;let yt=null;return typeof he.keywords=="object"&&he.keywords.$pattern&&(he.keywords=Object.assign({},he.keywords),yt=he.keywords.$pattern,delete he.keywords.$pattern),yt=yt||/\w+/,he.keywords&&(he.keywords=ee(he.keywords,E.case_insensitive)),Me.keywordPatternRe=R(yt,!0),ue&&(he.begin||(he.begin=/\B|\b/),Me.beginRe=R(Me.begin),!he.end&&!he.endsWithParent&&(he.end=/\B|\b/),he.end&&(Me.endRe=R(Me.end)),Me.terminatorEnd=c(Me.end)||"",he.endsWithParent&&ue.terminatorEnd&&(Me.terminatorEnd+=(he.end?"|":"")+ue.terminatorEnd)),he.illegal&&(Me.illegalRe=R(he.illegal)),he.contains||(he.contains=[]),he.contains=[].concat(...he.contains.map(function(Ge){return _t(Ge==="self"?he:Ge)})),he.contains.forEach(function(Ge){Ke(Ge,Me)}),he.starts&&Ke(he.starts,ue),Me.matcher=Fe(Me),Me}if(E.compilerExtensions||(E.compilerExtensions=[]),E.contains&&E.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return E.classNameAliases=r(E.classNameAliases||{}),Ke(E)}function mn(E){return E?E.endsWithParent||mn(E.starts):!1}function _t(E){return E.variants&&!E.cachedVariants&&(E.cachedVariants=E.variants.map(function(R){return r(E,{variants:null},R)})),E.cachedVariants?E.cachedVariants:mn(E)?r(E,{starts:E.starts?r(E.starts):null}):Object.isFrozen(E)?r(E):E}var Dt="11.9.0";class Fn extends Error{constructor(R,G){super(R),this.name="HTMLInjectionError",this.html=G}}const Ir=n,$o=r,to=Symbol("nomatch"),As=7,Io=function(E){const R=Object.create(null),G=Object.create(null),ye=[];let Fe=!0;const Ke="Could not find the language '{}', did you forget to load/include a language module?",he={disableAutodetect:!0,name:"Plain text",contains:[]};let ue={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:f};function Me(ae){return ue.noHighlightRe.test(ae)}function yt(ae){let Se=ae.className+" ";Se+=ae.parentNode?ae.parentNode.className:"";const je=ue.languageDetectRe.exec(Se);if(je){const st=Rr(je[1]);return st||(V(Ke.replace("{}",je[1])),V("Falling back to no-highlight mode for this block.",ae)),st?je[1]:"no-highlight"}return Se.split(/\s+/).find(st=>Me(st)||Rr(st))}function Ge(ae,Se,je){let st="",wt="";typeof Se=="object"?(st=ae,je=Se.ignoreIllegals,wt=Se.language):(ie("10.7.0","highlight(lang, code, ...args) has been deprecated."),ie("10.7.0",`Please use highlight(code, options) instead.
|
|
22
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),wt=ae,st=Se),je===void 0&&(je=!0);const $n={code:st,language:wt};pa("before:highlight",$n);const Or=$n.result?$n.result:an($n.language,$n.code,je);return Or.code=$n.code,pa("after:highlight",Or),Or}function an(ae,Se,je,st){const wt=Object.create(null);function $n(de,Ce){return de.keywords[Ce]}function Or(){if(!$e.keywords){Mt.addText(lt);return}let de=0;$e.keywordPatternRe.lastIndex=0;let Ce=$e.keywordPatternRe.exec(lt),Re="";for(;Ce;){Re+=lt.substring(de,Ce.index);const et=Hn.case_insensitive?Ce[0].toLowerCase():Ce[0],Nt=$n($e,et);if(Nt){const[pr,_N]=Nt;if(Mt.addText(Re),Re="",wt[et]=(wt[et]||0)+1,wt[et]<=As&&(ma+=_N),pr.startsWith("_"))Re+=Ce[0];else{const yN=Hn.classNameAliases[pr]||pr;zn(Ce[0],yN)}}else Re+=Ce[0];de=$e.keywordPatternRe.lastIndex,Ce=$e.keywordPatternRe.exec(lt)}Re+=lt.substring(de),Mt.addText(Re)}function ha(){if(lt==="")return;let de=null;if(typeof $e.subLanguage=="string"){if(!R[$e.subLanguage]){Mt.addText(lt);return}de=an($e.subLanguage,lt,!0,Zy[$e.subLanguage]),Zy[$e.subLanguage]=de._top}else de=sd(lt,$e.subLanguage.length?$e.subLanguage:null);$e.relevance>0&&(ma+=de.relevance),Mt.__addSublanguage(de._emitter,de.language)}function ln(){$e.subLanguage!=null?ha():Or(),lt=""}function zn(de,Ce){de!==""&&(Mt.startScope(Ce),Mt.addText(de),Mt.endScope())}function Uy(de,Ce){let Re=1;const et=Ce.length-1;for(;Re<=et;){if(!de._emit[Re]){Re++;continue}const Nt=Hn.classNameAliases[de[Re]]||de[Re],pr=Ce[Re];Nt?zn(pr,Nt):(lt=pr,Or(),lt=""),Re++}}function Ky(de,Ce){return de.scope&&typeof de.scope=="string"&&Mt.openNode(Hn.classNameAliases[de.scope]||de.scope),de.beginScope&&(de.beginScope._wrap?(zn(lt,Hn.classNameAliases[de.beginScope._wrap]||de.beginScope._wrap),lt=""):de.beginScope._multi&&(Uy(de.beginScope,Ce),lt="")),$e=Object.create(de,{parent:{value:$e}}),$e}function Gy(de,Ce,Re){let et=y(de.endRe,Re);if(et){if(de["on:end"]){const Nt=new t(de);de["on:end"](Ce,Nt),Nt.isMatchIgnored&&(et=!1)}if(et){for(;de.endsParent&&de.parent;)de=de.parent;return de}}if(de.endsWithParent)return Gy(de.parent,Ce,Re)}function hN(de){return $e.matcher.regexIndex===0?(lt+=de[0],1):(cd=!0,0)}function gN(de){const Ce=de[0],Re=de.rule,et=new t(Re),Nt=[Re.__beforeBegin,Re["on:begin"]];for(const pr of Nt)if(pr&&(pr(de,et),et.isMatchIgnored))return hN(Ce);return Re.skip?lt+=Ce:(Re.excludeBegin&&(lt+=Ce),ln(),!Re.returnBegin&&!Re.excludeBegin&&(lt=Ce)),Ky(Re,de),Re.returnBegin?0:Ce.length}function mN(de){const Ce=de[0],Re=Se.substring(de.index),et=Gy($e,de,Re);if(!et)return to;const Nt=$e;$e.endScope&&$e.endScope._wrap?(ln(),zn(Ce,$e.endScope._wrap)):$e.endScope&&$e.endScope._multi?(ln(),Uy($e.endScope,de)):Nt.skip?lt+=Ce:(Nt.returnEnd||Nt.excludeEnd||(lt+=Ce),ln(),Nt.excludeEnd&&(lt=Ce));do $e.scope&&Mt.closeNode(),!$e.skip&&!$e.subLanguage&&(ma+=$e.relevance),$e=$e.parent;while($e!==et.parent);return et.starts&&Ky(et.starts,de),Nt.returnEnd?0:Ce.length}function vN(){const de=[];for(let Ce=$e;Ce!==Hn;Ce=Ce.parent)Ce.scope&&de.unshift(Ce.scope);de.forEach(Ce=>Mt.openNode(Ce))}let ga={};function Wy(de,Ce){const Re=Ce&&Ce[0];if(lt+=de,Re==null)return ln(),0;if(ga.type==="begin"&&Ce.type==="end"&&ga.index===Ce.index&&Re===""){if(lt+=Se.slice(Ce.index,Ce.index+1),!Fe){const et=new Error(`0 width match regex (${ae})`);throw et.languageName=ae,et.badRule=ga.rule,et}return 1}if(ga=Ce,Ce.type==="begin")return gN(Ce);if(Ce.type==="illegal"&&!je){const et=new Error('Illegal lexeme "'+Re+'" for mode "'+($e.scope||"<unnamed>")+'"');throw et.mode=$e,et}else if(Ce.type==="end"){const et=mN(Ce);if(et!==to)return et}if(Ce.type==="illegal"&&Re==="")return 1;if(ld>1e5&&ld>Ce.index*3)throw new Error("potential infinite loop, way more iterations than matches");return lt+=Re,Re.length}const Hn=Rr(ae);if(!Hn)throw pe(Ke.replace("{}",ae)),new Error('Unknown language: "'+ae+'"');const bN=Ln(Hn);let ad="",$e=st||bN;const Zy={},Mt=new ue.__emitter(ue);vN();let lt="",ma=0,no=0,ld=0,cd=!1;try{if(Hn.__emitTokens)Hn.__emitTokens(Se,Mt);else{for($e.matcher.considerAll();;){ld++,cd?cd=!1:$e.matcher.considerAll(),$e.matcher.lastIndex=no;const de=$e.matcher.exec(Se);if(!de)break;const Ce=Se.substring(no,de.index),Re=Wy(Ce,de);no=de.index+Re}Wy(Se.substring(no))}return Mt.finalize(),ad=Mt.toHTML(),{language:ae,value:ad,relevance:ma,illegal:!1,_emitter:Mt,_top:$e}}catch(de){if(de.message&&de.message.includes("Illegal"))return{language:ae,value:Ir(Se),illegal:!0,relevance:0,_illegalBy:{message:de.message,index:no,context:Se.slice(no-100,no+100),mode:de.mode,resultSoFar:ad},_emitter:Mt};if(Fe)return{language:ae,value:Ir(Se),illegal:!1,relevance:0,errorRaised:de,_emitter:Mt,_top:$e};throw de}}function od(ae){const Se={value:Ir(ae),illegal:!1,relevance:0,_top:he,_emitter:new ue.__emitter(ue)};return Se._emitter.addText(ae),Se}function sd(ae,Se){Se=Se||ue.languages||Object.keys(R);const je=od(ae),st=Se.filter(Rr).filter(Vy).map(ln=>an(ln,ae,!1));st.unshift(je);const wt=st.sort((ln,zn)=>{if(ln.relevance!==zn.relevance)return zn.relevance-ln.relevance;if(ln.language&&zn.language){if(Rr(ln.language).supersetOf===zn.language)return 1;if(Rr(zn.language).supersetOf===ln.language)return-1}return 0}),[$n,Or]=wt,ha=$n;return ha.secondBest=Or,ha}function nN(ae,Se,je){const st=Se&&G[Se]||je;ae.classList.add("hljs"),ae.classList.add(`language-${st}`)}function id(ae){let Se=null;const je=yt(ae);if(Me(je))return;if(pa("before:highlightElement",{el:ae,language:je}),ae.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",ae);return}if(ae.children.length>0&&(ue.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(ae)),ue.throwUnescapedHTML))throw new Fn("One of your code blocks includes unescaped HTML.",ae.innerHTML);Se=ae;const st=Se.textContent,wt=je?Ge(st,{language:je,ignoreIllegals:!0}):sd(st);ae.innerHTML=wt.value,ae.dataset.highlighted="yes",nN(ae,je,wt.language),ae.result={language:wt.language,re:wt.relevance,relevance:wt.relevance},wt.secondBest&&(ae.secondBest={language:wt.secondBest.language,relevance:wt.secondBest.relevance}),pa("after:highlightElement",{el:ae,result:wt,text:st})}function rN(ae){ue=$o(ue,ae)}const oN=()=>{da(),ie("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function sN(){da(),ie("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Hy=!1;function da(){if(document.readyState==="loading"){Hy=!0;return}document.querySelectorAll(ue.cssSelector).forEach(id)}function iN(){Hy&&da()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",iN,!1);function aN(ae,Se){let je=null;try{je=Se(E)}catch(st){if(pe("Language definition for '{}' could not be registered.".replace("{}",ae)),Fe)pe(st);else throw st;je=he}je.name||(je.name=ae),R[ae]=je,je.rawDefinition=Se.bind(null,E),je.aliases&&jy(je.aliases,{languageName:ae})}function lN(ae){delete R[ae];for(const Se of Object.keys(G))G[Se]===ae&&delete G[Se]}function cN(){return Object.keys(R)}function Rr(ae){return ae=(ae||"").toLowerCase(),R[ae]||R[G[ae]]}function jy(ae,{languageName:Se}){typeof ae=="string"&&(ae=[ae]),ae.forEach(je=>{G[je.toLowerCase()]=Se})}function Vy(ae){const Se=Rr(ae);return Se&&!Se.disableAutodetect}function uN(ae){ae["before:highlightBlock"]&&!ae["before:highlightElement"]&&(ae["before:highlightElement"]=Se=>{ae["before:highlightBlock"](Object.assign({block:Se.el},Se))}),ae["after:highlightBlock"]&&!ae["after:highlightElement"]&&(ae["after:highlightElement"]=Se=>{ae["after:highlightBlock"](Object.assign({block:Se.el},Se))})}function fN(ae){uN(ae),ye.push(ae)}function dN(ae){const Se=ye.indexOf(ae);Se!==-1&&ye.splice(Se,1)}function pa(ae,Se){const je=ae;ye.forEach(function(st){st[je]&&st[je](Se)})}function pN(ae){return ie("10.7.0","highlightBlock will be removed entirely in v12.0"),ie("10.7.0","Please use highlightElement now."),id(ae)}Object.assign(E,{highlight:Ge,highlightAuto:sd,highlightAll:da,highlightElement:id,highlightBlock:pN,configure:rN,initHighlighting:oN,initHighlightingOnLoad:sN,registerLanguage:aN,unregisterLanguage:lN,listLanguages:cN,getLanguage:Rr,registerAliases:jy,autoDetection:Vy,inherit:$o,addPlugin:fN,removePlugin:dN}),E.debugMode=function(){Fe=!1},E.safeMode=function(){Fe=!0},E.versionString=Dt,E.regex={concat:g,lookahead:p,either:h,optional:m,anyNumberOfTimes:d};for(const ae in me)typeof me[ae]=="object"&&e(me[ae]);return Object.assign(E,me),E},q=Io({});return q.newInstance=()=>Io({}),dl=q,q.HighlightJS=q,q.default=q,dl}var Hk=zk();const tr=fl(Hk),Mp="[A-Za-z$_][0-9A-Za-z$_]*",jk=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Vk=["true","false","null","undefined","NaN","Infinity"],Lp=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],$p=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ip=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Uk=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Kk=[].concat(Ip,Lp,$p);function Rp(e){const t=e.regex,n=(H,{after:Q})=>{const te="</"+H[0].slice(1);return H.input.indexOf(te,Q)!==-1},r=Mp,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(H,Q)=>{const te=H[0].length+H.index,Ae=H.input[te];if(Ae==="<"||Ae===","){Q.ignoreMatch();return}Ae===">"&&(n(H,{after:te})||Q.ignoreMatch());let ve;const Be=H.input.substring(te);if(ve=Be.match(/^\s*=/)){Q.ignoreMatch();return}if((ve=Be.match(/^\s+extends\s+/))&&ve.index===0){Q.ignoreMatch();return}}},a={$pattern:Mp,keyword:jk,literal:Vk,built_in:Kk,"variable.language":Uk},l="[0-9](_?[0-9])*",u=`\\.(${l})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${f})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${f})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},g={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},k={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},y=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,m,g,C,{match:/\$\d+/},c];p.contains=y.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(y)});const _=[].concat(k,p.contains),S=_.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(_)}]),x={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:S},T={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},L={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Lp,...$p]}},I={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},P={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[x],illegal:/%/},N={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function D(H){return t.concat("(?!",H.join("|"),")")}const oe={match:t.concat(/\b/,D([...Ip,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},B={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},K={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},F="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",z={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(F)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:S,CLASS_REFERENCE:L},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),I,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,m,g,C,k,{match:/\$\d+/},c,L,{className:"attr",begin:r+t.lookahead(":"),relevance:0},z,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[k,e.REGEXP_MODE,{className:"function",begin:F,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:S}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},P,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},B,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},oe,N,T,K,{match:/\$[(.]/}]}}function Op(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(o,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,l,a,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,i,l,a]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:u}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const Gk={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Wk(e,t){return w(),A("svg",Gk,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"},null,-1)]))}const Zk={name:"mdi-close",render:Wk},kr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Xk={},Jk={class:"chat-button"};function Yk(e,t){return w(),A("button",Jk,[_e(e.$slots,"default")])}const Qk=kr(Xk,[["render",Yk]]);function pl(){return De(kp)}function ns(){return{options:De(Cp)}}function gi(){const{options:e}=ns(),t=(e==null?void 0:e.defaultLanguage)??"en";function n(s){var i,a;const o=(a=(i=e==null?void 0:e.i18n)==null?void 0:i[t])==null?void 0:a[s];return ht(o)?o.value:o??s}function r(s){var o,i;return!!((i=(o=e==null?void 0:e.i18n)==null?void 0:o[t])!=null&&i[s])}return{t:n,te:r}}const e3={class:"chat-get-started"},t3=ne({__name:"GetStarted",setup(e){const{t}=gi();return(n,r)=>(w(),A("div",e3,[ke(Qk,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:fe(()=>[zr(We(b(t)("getStarted")),1)]),_:1})]))}}),n3={},r3={class:"chat-powered-by"};function o3(e,t){return w(),A("div",r3,t[0]||(t[0]=[zr(" Powered by "),v("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1)]))}const s3=kr(n3,[["render",o3]]),i3={class:"chat-get-started-footer"},a3={key:0},l3=ne({__name:"GetStartedFooter",setup(e){const{t,te:n}=gi();return(r,s)=>(w(),A("div",i3,[b(n)("footer")?(w(),A("div",a3,We(b(t)("footer")),1)):ge("",!0),ke(s3)]))}});function c3(e){return xa()?(_d(e),!0):!1}function u3(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const o=()=>t(s);return c3(o),{off:o}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(o=>o(...s)))}}const f3=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const d3=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p3=f3?window.document:void 0,h3={multiple:!0,accept:"*",reset:!1,directory:!1};function g3(e={}){const{document:t=p3}=e,n=U(null),{on:r,trigger:s}=u3();let o;t&&(o=t.createElement("input"),o.type="file",o.onchange=l=>{const u=l.target;n.value=u.files,s(n.value)});const i=()=>{n.value=null,o&&o.value&&(o.value="",s(null))},a=l=>{if(!o)return;const u={...h3,...e,...l};o.multiple=u.multiple,o.accept=u.accept,o.webkitdirectory=u.directory,d3(u,"capture")&&(o.capture=u.capture),u.reset&&i(),o.click()};return{files:zs(n),open:a,reset:i,onChange:r}}const m3={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function v3(e,t){return w(),A("svg",m3,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M16.5 6v11.5a4 4 0 0 1-4 4a4 4 0 0 1-4-4V5A2.5 2.5 0 0 1 11 2.5A2.5 2.5 0 0 1 13.5 5v10.5a1 1 0 0 1-1 1a1 1 0 0 1-1-1V6H10v9.5a2.5 2.5 0 0 0 2.5 2.5a2.5 2.5 0 0 0 2.5-2.5V5a4 4 0 0 0-4-4a4 4 0 0 0-4 4v12.5a5.5 5.5 0 0 0 5.5 5.5a5.5 5.5 0 0 0 5.5-5.5V6z"},null,-1)]))}const b3={name:"mdi-paperclip",render:v3},_3={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function y3(e,t){return w(),A("svg",_3,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)]))}const w3={name:"mdi-send",render:y3},k3={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function C3(e,t){return w(),A("svg",k3,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M20 6.91L17.09 4L12 9.09L6.91 4L4 6.91L9.09 12L4 17.09L6.91 20L12 14.91L17.09 20L20 17.09L14.91 12z"},null,-1)]))}const x3={name:"mdi-closeThick",render:C3},E3={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function S3(e,t){return w(),A("svg",E3,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m0 18h12v-8l-4 4l-2-2zM8 9a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2"},null,-1)]))}const A3={name:"mdi-fileImage",render:S3},T3={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function M3(e,t){return w(),A("svg",T3,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 11h-2v5a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2c.4 0 .7.1 1 .3V11h3zm0-4V3.5L18.5 9z"},null,-1)]))}const L3={name:"mdi-fileMusic",render:M3},$3={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function I3(e,t){return w(),A("svg",$3,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m9 16v-2H6v2zm3-4v-2H6v2z"},null,-1)]))}const Pp={name:"mdi-fileText",render:I3},R3={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function O3(e,t){return w(),A("svg",R3,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m11 17v-6l-3 2.2V13H7v6h7v-2.2z"},null,-1)]))}const P3={name:"mdi-fileVideo",render:O3},D3={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function N3(e,t){return w(),A("svg",D3,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M14 3v2h3.59l-9.83 9.83l1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2z"},null,-1)]))}const q3={name:"mdi-openInNew",render:N3},B3={class:"chat-file-name"},Dp=kr(ne({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(e,{emit:t}){const n=e,r=t,s={document:Pp,audio:L3,image:A3,video:P3},o=O(()=>{var u;const l=(u=n.file)==null?void 0:u.type.split("/")[0];return s[l]||Pp});function i(){n.isPreviewable&&window.open(URL.createObjectURL(n.file))}function a(){r("remove",n.file)}return(l,u)=>(w(),A("div",{class:"chat-file",onClick:i},[ke(b(o)),v("p",B3,We(l.file.name),1),l.isRemovable?(w(),A("span",{key:0,class:"chat-file-delete",onClick:en(a,["stop"])},[ke(b(x3))])):l.isPreviewable?(w(),le(b(q3),{key:1,class:"chat-file-preview"})):ge("",!0)]))}}),[["__scopeId","data-v-e0d57af7"]]),F3={class:"chat-inputs"},z3={key:0,class:"chat-input-left-panel"},H3=["disabled","placeholder"],j3={class:"chat-inputs-controls"},V3=["disabled"],U3=["disabled"],K3={key:0,class:"chat-files"},G3=kr(ne({__name:"Input",props:{placeholder:{default:"inputPlaceholder"}},emits:["arrowKeyDown"],setup(e,{emit:t}){const n=e,{t:r}=gi(),s=t,{options:o}=ns(),i=pl(),{waitingForResponse:a}=i,l=U(null),u=U(null),f=U(""),c=U(!1),p=U(null),d=O(()=>{var K;return f.value===""||b(a)||((K=o.disabled)==null?void 0:K.value)===!0}),m=O(()=>{var K;return((K=o.disabled)==null?void 0:K.value)===!0}),g=O(()=>{var K;return C.value&&b(a)&&!((K=o.disabled)!=null&&K.value)}),C=O(()=>b(o.allowFileUploads)===!0),h=O(()=>b(o.allowedFilesMimeTypes)),k=O(()=>({"--controls-count":C.value?2:1})),{open:y,reset:_,onChange:S}=g3({multiple:!0,reset:!1});S(K=>{if(!K)return;const F=new DataTransfer;if(l.value)for(let z=0;z<l.value.length;z++)F.items.add(l.value[z]);for(let z=0;z<K.length;z++)F.items.add(K[z]);l.value=F.files}),nt(()=>{Kt.on("focusInput",T),Kt.on("blurInput",x),Kt.on("setInputValue",L),u.value&&(p.value=new ResizeObserver(K=>{for(const F of K)F.target===u.value&&B()}),p.value.observe(u.value))}),ti(()=>{Kt.off("focusInput",T),Kt.off("blurInput",x),Kt.off("setInputValue",L),p.value&&(p.value.disconnect(),p.value=null)});function x(){u.value&&u.value.blur()}function T(){u.value&&u.value.focus()}function L(K){f.value=K,T()}async function I(K){if(K.preventDefault(),d.value)return;const F=f.value;f.value="",c.value=!0,await i.sendMessage(F,Array.from(l.value??[])),c.value=!1,_(),l.value=null}async function P(K){K.shiftKey||(await I(K),B())}function N(K){if(!l.value)return;const F=new DataTransfer;for(let z=0;z<l.value.length;z++){const H=l.value[z];K.name!==H.name&&F.items.add(H)}_(),l.value=F.files}function D(K){(K.key==="ArrowUp"||K.key==="ArrowDown")&&(K.preventDefault(),s("arrowKeyDown",{key:K.key,currentInputValue:f.value}))}function oe(){g.value||y({accept:b(h)})}function B(){const K=u.value;if(!K)return;K.style.height="var(--chat--textarea--height)";const F=Math.min(K.scrollHeight,480);K.style.height=`${F}px`}return(K,F)=>{var z;return w(),A("div",{class:"chat-input",style:tt(k.value),onKeydown:en(D,["stop"])},[v("div",F3,[K.$slots.leftPanel?(w(),A("div",z3,[_e(K.$slots,"leftPanel",{},void 0,!0)])):ge("",!0),zt(v("textarea",{ref_key:"chatTextArea",ref:u,"onUpdate:modelValue":F[0]||(F[0]=H=>f.value=H),"data-test-id":"chat-input",disabled:m.value,placeholder:b(r)(n.placeholder),onKeydown:Ut(P,["enter"]),onInput:B,onMousedown:B,onFocus:B},null,40,H3),[[_p,f.value]]),v("div",j3,[C.value?(w(),A("button",{key:0,disabled:g.value,class:"chat-input-file-button","data-test-id":"chat-attach-file-button",onClick:oe},[ke(b(b3),{height:"24",width:"24"})],8,V3)):ge("",!0),v("button",{disabled:d.value,class:"chat-input-send-button",onClick:I},[ke(b(w3),{height:"24",width:"24"})],8,U3)])]),(z=l.value)!=null&&z.length&&!c.value?(w(),A("div",K3,[(w(!0),A(Xe,null,wn(l.value,H=>(w(),le(Dp,{key:H.name,file:H,"is-removable":!0,"is-previewable":!0,onRemove:N},null,8,["file"]))),128))])):ge("",!0)],36)}}}),[["__scopeId","data-v-31e29ba2"]]),W3={class:"chat-layout"},Z3={key:0,class:"chat-header"},X3={key:2,class:"chat-footer"},J3=ne({__name:"Layout",setup(e){const t=U(null);function n(){const r=t.value;r&&(r.scrollTop=r.scrollHeight)}return nt(()=>{Kt.on("scrollToBottom",n),window.addEventListener("resize",n)}),Wt(()=>{Kt.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(w(),A("main",W3,[r.$slots.header?(w(),A("div",Z3,[_e(r.$slots,"header")])):ge("",!0),r.$slots.default?(w(),A("div",{key:1,ref_key:"chatBodyRef",ref:t,class:"chat-body"},[_e(r.$slots,"default")],512)):ge("",!0),r.$slots.footer?(w(),A("div",X3,[_e(r.$slots,"footer")])):ge("",!0)]))}}),nr=(e,t,{checkForDefaultPrevented:n=!0}={})=>s=>{const o=e==null?void 0:e(s);if(n===!1||!o)return t==null?void 0:t(s)};var Np;const Pt=typeof window<"u",Y3=e=>typeof e=="string",qp=()=>{},Bp=Pt&&((Np=window==null?void 0:window.navigator)==null?void 0:Np.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Fp(e){return typeof e=="function"?e():b(e)}function Q3(e){return e}function hl(e){return xa()?(_d(e),!0):!1}function eC(e,t=!0){mt()?nt(e):t?e():He(e)}function Cr(e){var t;const n=Fp(e);return(t=n==null?void 0:n.$el)!=null?t:n}const gl=Pt?window:void 0;function Ur(...e){let t,n,r,s;if(Y3(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=gl):[t,n,r,s]=e,!t)return qp;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},a=(f,c,p,d)=>(f.addEventListener(c,p,d),()=>f.removeEventListener(c,p,d)),l=xe(()=>[Cr(t),Fp(s)],([f,c])=>{i(),f&&o.push(...n.flatMap(p=>r.map(d=>a(f,p,d,c))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return hl(u),u}let zp=!1;function tC(e,t,n={}){const{window:r=gl,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;Bp&&!zp&&(zp=!0,Array.from(r.document.body.children).forEach(p=>p.addEventListener("click",qp)));let a=!0;const l=p=>s.some(d=>{if(typeof d=="string")return Array.from(r.document.querySelectorAll(d)).some(m=>m===p.target||p.composedPath().includes(m));{const m=Cr(d);return m&&(p.target===m||p.composedPath().includes(m))}}),f=[Ur(r,"click",p=>{const d=Cr(e);if(!(!d||d===p.target||p.composedPath().includes(d))){if(p.detail===0&&(a=!l(p)),!a){a=!0;return}t(p)}},{passive:!0,capture:o}),Ur(r,"pointerdown",p=>{const d=Cr(e);d&&(a=!p.composedPath().includes(d)&&!l(p))},{passive:!0}),i&&Ur(r,"blur",p=>{var d;const m=Cr(e);((d=r.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(p)})].filter(Boolean);return()=>f.forEach(p=>p())}function nC(e,t=!1){const n=U(),r=()=>n.value=!!e();return r(),eC(r,t),n}const Hp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jp="__vueuse_ssr_handlers__";Hp[jp]=Hp[jp]||{};var Vp=Object.getOwnPropertySymbols,rC=Object.prototype.hasOwnProperty,oC=Object.prototype.propertyIsEnumerable,sC=(e,t)=>{var n={};for(var r in e)rC.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Vp)for(var r of Vp(e))t.indexOf(r)<0&&oC.call(e,r)&&(n[r]=e[r]);return n};function mi(e,t,n={}){const r=n,{window:s=gl}=r,o=sC(r,["window"]);let i;const a=nC(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},u=xe(()=>Cr(e),c=>{l(),a.value&&s&&c&&(i=new ResizeObserver(t),i.observe(c,o))},{immediate:!0,flush:"post"}),f=()=>{l(),u()};return hl(f),{isSupported:a,stop:f}}var Up;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Up||(Up={}));var iC=Object.defineProperty,Kp=Object.getOwnPropertySymbols,aC=Object.prototype.hasOwnProperty,lC=Object.prototype.propertyIsEnumerable,Gp=(e,t,n)=>t in e?iC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cC=(e,t)=>{for(var n in t||(t={}))aC.call(t,n)&&Gp(e,n,t[n]);if(Kp)for(var n of Kp(t))lC.call(t,n)&&Gp(e,n,t[n]);return e};cC({linear:Q3},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const uC=()=>Pt&&/firefox/i.test(window.navigator.userAgent),ml=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}};var Wp=typeof global=="object"&&global&&global.Object===Object&&global,fC=typeof self=="object"&&self&&self.Object===Object&&self,Pn=Wp||fC||Function("return this")(),xr=Pn.Symbol,Zp=Object.prototype,dC=Zp.hasOwnProperty,pC=Zp.toString,rs=xr?xr.toStringTag:void 0;function hC(e){var t=dC.call(e,rs),n=e[rs];try{e[rs]=void 0;var r=!0}catch{}var s=pC.call(e);return r&&(t?e[rs]=n:delete e[rs]),s}var gC=Object.prototype,mC=gC.toString;function vC(e){return mC.call(e)}var bC="[object Null]",_C="[object Undefined]",Xp=xr?xr.toStringTag:void 0;function go(e){return e==null?e===void 0?_C:bC:Xp&&Xp in Object(e)?hC(e):vC(e)}function mo(e){return e!=null&&typeof e=="object"}var yC="[object Symbol]";function vi(e){return typeof e=="symbol"||mo(e)&&go(e)==yC}function wC(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}var rr=Array.isArray,Jp=xr?xr.prototype:void 0,Yp=Jp?Jp.toString:void 0;function Qp(e){if(typeof e=="string")return e;if(rr(e))return wC(e,Qp)+"";if(vi(e))return Yp?Yp.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var kC=/\s/;function CC(e){for(var t=e.length;t--&&kC.test(e.charAt(t)););return t}var xC=/^\s+/;function EC(e){return e&&e.slice(0,CC(e)+1).replace(xC,"")}function vo(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var eh=NaN,SC=/^[-+]0x[0-9a-f]+$/i,AC=/^0b[01]+$/i,TC=/^0o[0-7]+$/i,MC=parseInt;function th(e){if(typeof e=="number")return e;if(vi(e))return eh;if(vo(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=vo(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=EC(e);var n=AC.test(e);return n||TC.test(e)?MC(e.slice(2),n?2:8):SC.test(e)?eh:+e}function LC(e){return e}var $C="[object AsyncFunction]",IC="[object Function]",RC="[object GeneratorFunction]",OC="[object Proxy]";function nh(e){if(!vo(e))return!1;var t=go(e);return t==IC||t==RC||t==$C||t==OC}var vl=Pn["__core-js_shared__"],rh=function(){var e=/[^.]+$/.exec(vl&&vl.keys&&vl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function PC(e){return!!rh&&rh in e}var DC=Function.prototype,NC=DC.toString;function Kr(e){if(e!=null){try{return NC.call(e)}catch{}try{return e+""}catch{}}return""}var qC=/[\\^$.*+?()[\]{}|]/g,BC=/^\[object .+?Constructor\]$/,FC=Function.prototype,zC=Object.prototype,HC=FC.toString,jC=zC.hasOwnProperty,VC=RegExp("^"+HC.call(jC).replace(qC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function UC(e){if(!vo(e)||PC(e))return!1;var t=nh(e)?VC:BC;return t.test(Kr(e))}function KC(e,t){return e==null?void 0:e[t]}function bo(e,t){var n=KC(e,t);return UC(n)?n:void 0}var bl=bo(Pn,"WeakMap");function GC(e,t,n,r){e.length;for(var s=n+1;s--;)if(t(e[s],s,e))return s;return-1}var WC=9007199254740991,ZC=/^(?:0|[1-9]\d*)$/;function oh(e,t){var n=typeof e;return t=t??WC,!!t&&(n=="number"||n!="symbol"&&ZC.test(e))&&e>-1&&e%1==0&&e<t}function sh(e,t){return e===t||e!==e&&t!==t}var XC=9007199254740991;function _l(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=XC}function JC(e){return e!=null&&_l(e.length)&&!nh(e)}var YC=Object.prototype;function QC(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||YC;return e===n}function e6(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var t6="[object Arguments]";function ih(e){return mo(e)&&go(e)==t6}var ah=Object.prototype,n6=ah.hasOwnProperty,r6=ah.propertyIsEnumerable,lh=ih(function(){return arguments}())?ih:function(e){return mo(e)&&n6.call(e,"callee")&&!r6.call(e,"callee")};function o6(){return!1}var ch=typeof gt=="object"&>&&!gt.nodeType&>,uh=ch&&typeof module=="object"&&module&&!module.nodeType&&module,s6=uh&&uh.exports===ch,fh=s6?Pn.Buffer:void 0,i6=fh?fh.isBuffer:void 0,yl=i6||o6,a6="[object Arguments]",l6="[object Array]",c6="[object Boolean]",u6="[object Date]",f6="[object Error]",d6="[object Function]",p6="[object Map]",h6="[object Number]",g6="[object Object]",m6="[object RegExp]",v6="[object Set]",b6="[object String]",_6="[object WeakMap]",y6="[object ArrayBuffer]",w6="[object DataView]",k6="[object Float32Array]",C6="[object Float64Array]",x6="[object Int8Array]",E6="[object Int16Array]",S6="[object Int32Array]",A6="[object Uint8Array]",T6="[object Uint8ClampedArray]",M6="[object Uint16Array]",L6="[object Uint32Array]",it={};it[k6]=it[C6]=it[x6]=it[E6]=it[S6]=it[A6]=it[T6]=it[M6]=it[L6]=!0,it[a6]=it[l6]=it[y6]=it[c6]=it[w6]=it[u6]=it[f6]=it[d6]=it[p6]=it[h6]=it[g6]=it[m6]=it[v6]=it[b6]=it[_6]=!1;function $6(e){return mo(e)&&_l(e.length)&&!!it[go(e)]}function I6(e){return function(t){return e(t)}}var dh=typeof gt=="object"&>&&!gt.nodeType&>,os=dh&&typeof module=="object"&&module&&!module.nodeType&&module,R6=os&&os.exports===dh,wl=R6&&Wp.process,ph=function(){try{var e=os&&os.require&&os.require("util").types;return e||wl&&wl.binding&&wl.binding("util")}catch{}}(),hh=ph&&ph.isTypedArray,gh=hh?I6(hh):$6,O6=Object.prototype,P6=O6.hasOwnProperty;function D6(e,t){var n=rr(e),r=!n&&lh(e),s=!n&&!r&&yl(e),o=!n&&!r&&!s&&gh(e),i=n||r||s||o,a=i?e6(e.length,String):[],l=a.length;for(var u in e)P6.call(e,u)&&!(i&&(u=="length"||s&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||oh(u,l)))&&a.push(u);return a}function N6(e,t){return function(n){return e(t(n))}}var q6=N6(Object.keys,Object),B6=Object.prototype,F6=B6.hasOwnProperty;function z6(e){if(!QC(e))return q6(e);var t=[];for(var n in Object(e))F6.call(e,n)&&n!="constructor"&&t.push(n);return t}function mh(e){return JC(e)?D6(e):z6(e)}var H6=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j6=/^\w*$/;function kl(e,t){if(rr(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||vi(e)?!0:j6.test(e)||!H6.test(e)||t!=null&&e in Object(t)}var ss=bo(Object,"create");function V6(){this.__data__=ss?ss(null):{},this.size=0}function U6(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var K6="__lodash_hash_undefined__",G6=Object.prototype,W6=G6.hasOwnProperty;function Z6(e){var t=this.__data__;if(ss){var n=t[e];return n===K6?void 0:n}return W6.call(t,e)?t[e]:void 0}var X6=Object.prototype,J6=X6.hasOwnProperty;function Y6(e){var t=this.__data__;return ss?t[e]!==void 0:J6.call(t,e)}var Q6="__lodash_hash_undefined__";function e5(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ss&&t===void 0?Q6:t,this}function Gr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gr.prototype.clear=V6,Gr.prototype.delete=U6,Gr.prototype.get=Z6,Gr.prototype.has=Y6,Gr.prototype.set=e5;function t5(){this.__data__=[],this.size=0}function bi(e,t){for(var n=e.length;n--;)if(sh(e[n][0],t))return n;return-1}var n5=Array.prototype,r5=n5.splice;function o5(e){var t=this.__data__,n=bi(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():r5.call(t,n,1),--this.size,!0}function s5(e){var t=this.__data__,n=bi(t,e);return n<0?void 0:t[n][1]}function i5(e){return bi(this.__data__,e)>-1}function a5(e,t){var n=this.__data__,r=bi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function or(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}or.prototype.clear=t5,or.prototype.delete=o5,or.prototype.get=s5,or.prototype.has=i5,or.prototype.set=a5;var is=bo(Pn,"Map");function l5(){this.size=0,this.__data__={hash:new Gr,map:new(is||or),string:new Gr}}function c5(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function _i(e,t){var n=e.__data__;return c5(t)?n[typeof t=="string"?"string":"hash"]:n.map}function u5(e){var t=_i(this,e).delete(e);return this.size-=t?1:0,t}function f5(e){return _i(this,e).get(e)}function d5(e){return _i(this,e).has(e)}function p5(e,t){var n=_i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function sr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}sr.prototype.clear=l5,sr.prototype.delete=u5,sr.prototype.get=f5,sr.prototype.has=d5,sr.prototype.set=p5;var h5="Expected a function";function Cl(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(h5);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],o=n.cache;if(o.has(s))return o.get(s);var i=e.apply(this,r);return n.cache=o.set(s,i)||o,i};return n.cache=new(Cl.Cache||sr),n}Cl.Cache=sr;var g5=500;function m5(e){var t=Cl(e,function(r){return n.size===g5&&n.clear(),r}),n=t.cache;return t}var v5=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b5=/\\(\\)?/g,_5=m5(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(v5,function(n,r,s,o){t.push(s?o.replace(b5,"$1"):r||n)}),t});function y5(e){return e==null?"":Qp(e)}function vh(e,t){return rr(e)?e:kl(e,t)?[e]:_5(y5(e))}function yi(e){if(typeof e=="string"||vi(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function bh(e,t){t=vh(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[yi(t[n++])];return n&&n==r?e:void 0}function tn(e,t,n){var r=e==null?void 0:bh(e,t);return r===void 0?n:r}function w5(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}function k5(){this.__data__=new or,this.size=0}function C5(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function x5(e){return this.__data__.get(e)}function E5(e){return this.__data__.has(e)}var S5=200;function A5(e,t){var n=this.__data__;if(n instanceof or){var r=n.__data__;if(!is||r.length<S5-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new sr(r)}return n.set(e,t),this.size=n.size,this}function ir(e){var t=this.__data__=new or(e);this.size=t.size}ir.prototype.clear=k5,ir.prototype.delete=C5,ir.prototype.get=x5,ir.prototype.has=E5,ir.prototype.set=A5;function T5(e,t){for(var n=-1,r=e==null?0:e.length,s=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[s++]=i)}return o}function M5(){return[]}var L5=Object.prototype,$5=L5.propertyIsEnumerable,_h=Object.getOwnPropertySymbols,I5=_h?function(e){return e==null?[]:(e=Object(e),T5(_h(e),function(t){return $5.call(e,t)}))}:M5;function R5(e,t,n){var r=t(e);return rr(e)?r:w5(r,n(e))}function yh(e){return R5(e,mh,I5)}var xl=bo(Pn,"DataView"),El=bo(Pn,"Promise"),Sl=bo(Pn,"Set"),wh="[object Map]",O5="[object Object]",kh="[object Promise]",Ch="[object Set]",xh="[object WeakMap]",Eh="[object DataView]",P5=Kr(xl),D5=Kr(is),N5=Kr(El),q5=Kr(Sl),B5=Kr(bl),Er=go;(xl&&Er(new xl(new ArrayBuffer(1)))!=Eh||is&&Er(new is)!=wh||El&&Er(El.resolve())!=kh||Sl&&Er(new Sl)!=Ch||bl&&Er(new bl)!=xh)&&(Er=function(e){var t=go(e),n=t==O5?e.constructor:void 0,r=n?Kr(n):"";if(r)switch(r){case P5:return Eh;case D5:return wh;case N5:return kh;case q5:return Ch;case B5:return xh}return t});var Sh=Pn.Uint8Array,F5="__lodash_hash_undefined__";function z5(e){return this.__data__.set(e,F5),this}function H5(e){return this.__data__.has(e)}function wi(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new sr;++t<n;)this.add(e[t])}wi.prototype.add=wi.prototype.push=z5,wi.prototype.has=H5;function j5(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function V5(e,t){return e.has(t)}var U5=1,K5=2;function Ah(e,t,n,r,s,o){var i=n&U5,a=e.length,l=t.length;if(a!=l&&!(i&&l>a))return!1;var u=o.get(e),f=o.get(t);if(u&&f)return u==t&&f==e;var c=-1,p=!0,d=n&K5?new wi:void 0;for(o.set(e,t),o.set(t,e);++c<a;){var m=e[c],g=t[c];if(r)var C=i?r(g,m,c,t,e,o):r(m,g,c,e,t,o);if(C!==void 0){if(C)continue;p=!1;break}if(d){if(!j5(t,function(h,k){if(!V5(d,k)&&(m===h||s(m,h,n,r,o)))return d.push(k)})){p=!1;break}}else if(!(m===g||s(m,g,n,r,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function G5(e){var t=-1,n=Array(e.size);return e.forEach(function(r,s){n[++t]=[s,r]}),n}function W5(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Z5=1,X5=2,J5="[object Boolean]",Y5="[object Date]",Q5="[object Error]",ex="[object Map]",tx="[object Number]",nx="[object RegExp]",rx="[object Set]",ox="[object String]",sx="[object Symbol]",ix="[object ArrayBuffer]",ax="[object DataView]",Th=xr?xr.prototype:void 0,Al=Th?Th.valueOf:void 0;function lx(e,t,n,r,s,o,i){switch(n){case ax:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ix:return!(e.byteLength!=t.byteLength||!o(new Sh(e),new Sh(t)));case J5:case Y5:case tx:return sh(+e,+t);case Q5:return e.name==t.name&&e.message==t.message;case nx:case ox:return e==t+"";case ex:var a=G5;case rx:var l=r&Z5;if(a||(a=W5),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;r|=X5,i.set(e,t);var f=Ah(a(e),a(t),r,s,o,i);return i.delete(e),f;case sx:if(Al)return Al.call(e)==Al.call(t)}return!1}var cx=1,ux=Object.prototype,fx=ux.hasOwnProperty;function dx(e,t,n,r,s,o){var i=n&cx,a=yh(e),l=a.length,u=yh(t),f=u.length;if(l!=f&&!i)return!1;for(var c=l;c--;){var p=a[c];if(!(i?p in t:fx.call(t,p)))return!1}var d=o.get(e),m=o.get(t);if(d&&m)return d==t&&m==e;var g=!0;o.set(e,t),o.set(t,e);for(var C=i;++c<l;){p=a[c];var h=e[p],k=t[p];if(r)var y=i?r(k,h,p,t,e,o):r(h,k,p,e,t,o);if(!(y===void 0?h===k||s(h,k,n,r,o):y)){g=!1;break}C||(C=p=="constructor")}if(g&&!C){var _=e.constructor,S=t.constructor;_!=S&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof S=="function"&&S instanceof S)&&(g=!1)}return o.delete(e),o.delete(t),g}var px=1,Mh="[object Arguments]",Lh="[object Array]",ki="[object Object]",hx=Object.prototype,$h=hx.hasOwnProperty;function gx(e,t,n,r,s,o){var i=rr(e),a=rr(t),l=i?Lh:Er(e),u=a?Lh:Er(t);l=l==Mh?ki:l,u=u==Mh?ki:u;var f=l==ki,c=u==ki,p=l==u;if(p&&yl(e)){if(!yl(t))return!1;i=!0,f=!1}if(p&&!f)return o||(o=new ir),i||gh(e)?Ah(e,t,n,r,s,o):lx(e,t,l,n,r,s,o);if(!(n&px)){var d=f&&$h.call(e,"__wrapped__"),m=c&&$h.call(t,"__wrapped__");if(d||m){var g=d?e.value():e,C=m?t.value():t;return o||(o=new ir),s(g,C,n,r,o)}}return p?(o||(o=new ir),dx(e,t,n,r,s,o)):!1}function Ci(e,t,n,r,s){return e===t?!0:e==null||t==null||!mo(e)&&!mo(t)?e!==e&&t!==t:gx(e,t,n,r,Ci,s)}var mx=1,vx=2;function bx(e,t,n,r){var s=n.length,o=s;if(e==null)return!o;for(e=Object(e);s--;){var i=n[s];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++s<o;){i=n[s];var a=i[0],l=e[a],u=i[1];if(i[2]){if(l===void 0&&!(a in e))return!1}else{var f=new ir,c;if(!(c===void 0?Ci(u,l,mx|vx,r,f):c))return!1}}return!0}function Ih(e){return e===e&&!vo(e)}function _x(e){for(var t=mh(e),n=t.length;n--;){var r=t[n],s=e[r];t[n]=[r,s,Ih(s)]}return t}function Rh(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function yx(e){var t=_x(e);return t.length==1&&t[0][2]?Rh(t[0][0],t[0][1]):function(n){return n===e||bx(n,e,t)}}function wx(e,t){return e!=null&&t in Object(e)}function kx(e,t,n){t=vh(t,e);for(var r=-1,s=t.length,o=!1;++r<s;){var i=yi(t[r]);if(!(o=e!=null&&n(e,i)))break;e=e[i]}return o||++r!=s?o:(s=e==null?0:e.length,!!s&&_l(s)&&oh(i,s)&&(rr(e)||lh(e)))}function Cx(e,t){return e!=null&&kx(e,t,wx)}var xx=1,Ex=2;function Sx(e,t){return kl(e)&&Ih(t)?Rh(yi(e),t):function(n){var r=tn(n,e);return r===void 0&&r===t?Cx(n,e):Ci(t,r,xx|Ex)}}function Ax(e){return function(t){return t==null?void 0:t[e]}}function Tx(e){return function(t){return bh(t,e)}}function Mx(e){return kl(e)?Ax(yi(e)):Tx(e)}function Lx(e){return typeof e=="function"?e:e==null?LC:typeof e=="object"?rr(e)?Sx(e[0],e[1]):yx(e):Mx(e)}var Tl=function(){return Pn.Date.now()},$x="Expected a function",Ix=Math.max,Rx=Math.min;function Ml(e,t,n){var r,s,o,i,a,l,u=0,f=!1,c=!1,p=!0;if(typeof e!="function")throw new TypeError($x);t=th(t)||0,vo(n)&&(f=!!n.leading,c="maxWait"in n,o=c?Ix(th(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p);function d(x){var T=r,L=s;return r=s=void 0,u=x,i=e.apply(L,T),i}function m(x){return u=x,a=setTimeout(h,t),f?d(x):i}function g(x){var T=x-l,L=x-u,I=t-T;return c?Rx(I,o-L):I}function C(x){var T=x-l,L=x-u;return l===void 0||T>=t||T<0||c&&L>=o}function h(){var x=Tl();if(C(x))return k(x);a=setTimeout(h,g(x))}function k(x){return a=void 0,p&&r?d(x):(r=s=void 0,i)}function y(){a!==void 0&&clearTimeout(a),u=0,r=l=s=a=void 0}function _(){return a===void 0?i:k(Tl())}function S(){var x=Tl(),T=C(x);if(r=arguments,s=this,l=x,T){if(a===void 0)return m(l);if(c)return clearTimeout(a),a=setTimeout(h,t),d(l)}return a===void 0&&(a=setTimeout(h,t)),i}return S.cancel=y,S.flush=_,S}function Ox(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var s=r-1;return GC(e,Lx(t),s)}function xi(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var s=e[t];r[s[0]]=s[1]}return r}function Ll(e,t){return Ci(e,t)}function Wr(e){return e==null}function Px(e){return e===void 0}const Oh=e=>e===void 0,$l=e=>typeof e=="boolean",vt=e=>typeof e=="number",as=e=>typeof Element>"u"?!1:e instanceof Element,Dx=e=>qe(e)?!Number.isNaN(Number(e)):!1,Nx=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");class qx extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Bx(e,t){throw new qx(`[${e}] ${t}`)}function IN(e,t){}function _o(e,t="px"){if(!e)return"";if(vt(e)||Dx(e))return`${e}${t}`;if(qe(e))return e}function Fx(e,t){if(!Pt)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const s=t.offsetTop+n.reduce((l,u)=>l+u.offsetTop,0),o=s+t.offsetHeight,i=e.scrollTop,a=i+e.clientHeight;s<i?e.scrollTop=s:o>a&&(e.scrollTop=o-e.clientHeight)}/*! Element Plus Icons Vue v2.3.1 */var zx=ne({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),Ph=zx,Hx=ne({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),jx=Hx,Vx=ne({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Ux=Vx,Kx=ne({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),v("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),Gx=Kx,Wx=ne({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),v("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Il=Wx,Zx=ne({name:"Close",__name:"close",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Rl=Zx,Xx=ne({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),Jx=Xx,Yx=ne({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),Qx=Yx,e8=ne({name:"Hide",__name:"hide",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),v("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),t8=e8,n8=ne({name:"Loading",__name:"loading",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),Dh=n8,r8=ne({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Nh=r8,o8=ne({name:"View",__name:"view",setup(e){return(t,n)=>(w(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[v("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),s8=o8;const qh="__epPropKey",Ie=e=>e,i8=e=>Pe(e)&&!!e[qh],Ei=(e,t)=>{if(!Pe(e)||i8(e))return e;const{values:n,required:r,default:s,type:o,validator:i}=e,l={type:o,required:!!r,validator:n||i?u=>{let f=!1,c=[];if(n&&(c=Array.from(n),Ve(e,"default")&&c.push(s),f||(f=c.includes(u))),i&&(f||(f=i(u))),!f&&c.length>0){const p=[...new Set(c)].map(d=>JSON.stringify(d)).join(", ");Hw(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(u)}.`)}return f}:void 0,[qh]:!0};return Ve(e,"default")&&(l.default=s),l},Ye=e=>xi(Object.entries(e).map(([t,n])=>[t,Ei(n,t)])),Cn=Ie([String,Object,Function]),Bh={validating:Dh,success:Gx,error:Il},xn=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},a8=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Ol=e=>(e.install=Lt,e),ar={tab:"Tab",enter:"Enter",space:"Space",esc:"Escape",delete:"Delete",backspace:"Backspace"},Zt="update:modelValue",Pl="change",ls=["","default","small","large"],l8={large:40,default:32,small:24},c8=e=>l8[e||"default"],u8=e=>["",...ls].includes(e),Fh=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),Dl=e=>e,f8=["class","style"],d8=/^on[A-Z]/,p8=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=O(()=>((n==null?void 0:n.value)||[]).concat(f8)),s=mt();return O(s?()=>{var o;return xi(Object.entries((o=s.proxy)==null?void 0:o.$attrs).filter(([i])=>!r.value.includes(i)&&!(t&&d8.test(i))))}:()=>({}))},zh=({from:e,replacement:t,scope:n,version:r,ref:s,type:o="API"},i)=>{xe(()=>b(i),a=>{},{immediate:!0})};var h8={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const g8=e=>(t,n)=>m8(t,n,b(e)),m8=(e,t,n)=>tn(n,e,e).replace(/\{(\w+)\}/g,(r,s)=>{var o;return`${(o=t==null?void 0:t[s])!=null?o:`{${s}}`}`}),v8=e=>{const t=O(()=>b(e).name),n=ht(e)?e:U(e);return{lang:t,locale:n,t:g8(e)}},b8=Symbol("localeContextKey"),En=e=>{const t=De(b8,U());return v8(O(()=>t.value||h8))},Nl="el",_8="is-",Zr=(e,t,n,r,s)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),s&&(o+=`--${s}`),o},y8=Symbol("namespaceContextKey"),ql=e=>{const t=mt()?De(y8,U(Nl)):U(Nl);return O(()=>b(t)||Nl)},Ze=(e,t)=>{const n=ql();return{namespace:n,b:(g="")=>Zr(n.value,e,g,"",""),e:g=>g?Zr(n.value,e,"",g,""):"",m:g=>g?Zr(n.value,e,"","",g):"",be:(g,C)=>g&&C?Zr(n.value,e,g,C,""):"",em:(g,C)=>g&&C?Zr(n.value,e,"",g,C):"",bm:(g,C)=>g&&C?Zr(n.value,e,g,"",C):"",bem:(g,C,h)=>g&&C&&h?Zr(n.value,e,g,C,h):"",is:(g,...C)=>{const h=C.length>=1?C[0]:!0;return g&&h?`${_8}${g}`:""},cssVar:g=>{const C={};for(const h in g)g[h]&&(C[`--${n.value}-${h}`]=g[h]);return C},cssVarName:g=>`--${n.value}-${g}`,cssVarBlock:g=>{const C={};for(const h in g)g[h]&&(C[`--${n.value}-${e}-${h}`]=g[h]);return C},cssVarBlockName:g=>`--${n.value}-${e}-${g}`}},w8=Ei({type:Ie(Boolean),default:null}),k8=Ei({type:Ie(Function)}),C8=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],s={[e]:w8,[n]:k8};return{useModelToggle:({indicator:i,toggleReason:a,shouldHideWhenRouteChanges:l,shouldProceed:u,onShow:f,onHide:c})=>{const p=mt(),{emit:d}=p,m=p.props,g=O(()=>we(m[n])),C=O(()=>m[e]===null),h=T=>{i.value!==!0&&(i.value=!0,a&&(a.value=T),we(f)&&f(T))},k=T=>{i.value!==!1&&(i.value=!1,a&&(a.value=T),we(c)&&c(T))},y=T=>{if(m.disabled===!0||we(u)&&!u())return;const L=g.value&&Pt;L&&d(t,!0),(C.value||!L)&&h(T)},_=T=>{if(m.disabled===!0||!Pt)return;const L=g.value&&Pt;L&&d(t,!1),(C.value||!L)&&k(T)},S=T=>{$l(T)&&(m.disabled&&T?g.value&&d(t,!1):i.value!==T&&(T?h():k()))},x=()=>{i.value?_():y()};return xe(()=>m[e],S),l&&p.appContext.config.globalProperties.$route!==void 0&&xe(()=>({...p.proxy.$route}),()=>{l.value&&i.value&&_()}),nt(()=>{S(m[e])}),{hide:_,show:y,toggle:x,hasUpdateHandler:g}},useModelToggleProps:s,useModelToggleEmits:r}},Hh=e=>{const t=mt();return O(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})};var Xt="top",dn="bottom",pn="right",Jt="left",Bl="auto",cs=[Xt,dn,pn,Jt],yo="start",us="end",x8="clippingParents",jh="viewport",fs="popper",E8="reference",Vh=cs.reduce(function(e,t){return e.concat([t+"-"+yo,t+"-"+us])},[]),Si=[].concat(cs,[Bl]).reduce(function(e,t){return e.concat([t,t+"-"+yo,t+"-"+us])},[]),S8="beforeRead",A8="read",T8="afterRead",M8="beforeMain",L8="main",$8="afterMain",I8="beforeWrite",R8="write",O8="afterWrite",P8=[S8,A8,T8,M8,L8,$8,I8,R8,O8];function Dn(e){return e?(e.nodeName||"").toLowerCase():null}function Sn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function wo(e){var t=Sn(e).Element;return e instanceof t||e instanceof Element}function hn(e){var t=Sn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Fl(e){if(typeof ShadowRoot>"u")return!1;var t=Sn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function D8(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},o=t.elements[n];!hn(o)||!Dn(o)||(Object.assign(o.style,r),Object.keys(s).forEach(function(i){var a=s[i];a===!1?o.removeAttribute(i):o.setAttribute(i,a===!0?"":a)}))})}function N8(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],o=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=i.reduce(function(l,u){return l[u]="",l},{});!hn(s)||!Dn(s)||(Object.assign(s.style,a),Object.keys(o).forEach(function(l){s.removeAttribute(l)}))})}}var Uh={name:"applyStyles",enabled:!0,phase:"write",fn:D8,effect:N8,requires:["computeStyles"]};function Nn(e){return e.split("-")[0]}var Xr=Math.max,Ai=Math.min,ko=Math.round;function Co(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,s=1;if(hn(e)&&t){var o=e.offsetHeight,i=e.offsetWidth;i>0&&(r=ko(n.width)/i||1),o>0&&(s=ko(n.height)/o||1)}return{width:n.width/r,height:n.height/s,top:n.top/s,right:n.right/r,bottom:n.bottom/s,left:n.left/r,x:n.left/r,y:n.top/s}}function zl(e){var t=Co(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 Kh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Fl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function lr(e){return Sn(e).getComputedStyle(e)}function q8(e){return["table","td","th"].indexOf(Dn(e))>=0}function Sr(e){return((wo(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ti(e){return Dn(e)==="html"?e:e.assignedSlot||e.parentNode||(Fl(e)?e.host:null)||Sr(e)}function Gh(e){return!hn(e)||lr(e).position==="fixed"?null:e.offsetParent}function B8(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&hn(e)){var r=lr(e);if(r.position==="fixed")return null}var s=Ti(e);for(Fl(s)&&(s=s.host);hn(s)&&["html","body"].indexOf(Dn(s))<0;){var o=lr(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function ds(e){for(var t=Sn(e),n=Gh(e);n&&q8(n)&&lr(n).position==="static";)n=Gh(n);return n&&(Dn(n)==="html"||Dn(n)==="body"&&lr(n).position==="static")?t:n||B8(e)||t}function Hl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ps(e,t,n){return Xr(e,Ai(t,n))}function F8(e,t,n){var r=ps(e,t,n);return r>n?n:r}function Wh(){return{top:0,right:0,bottom:0,left:0}}function Zh(e){return Object.assign({},Wh(),e)}function Xh(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var z8=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Zh(typeof e!="number"?e:Xh(e,cs))};function H8(e){var t,n=e.state,r=e.name,s=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Nn(n.placement),l=Hl(a),u=[Jt,pn].indexOf(a)>=0,f=u?"height":"width";if(!(!o||!i)){var c=z8(s.padding,n),p=zl(o),d=l==="y"?Xt:Jt,m=l==="y"?dn:pn,g=n.rects.reference[f]+n.rects.reference[l]-i[l]-n.rects.popper[f],C=i[l]-n.rects.reference[l],h=ds(o),k=h?l==="y"?h.clientHeight||0:h.clientWidth||0:0,y=g/2-C/2,_=c[d],S=k-p[f]-c[m],x=k/2-p[f]/2+y,T=ps(_,x,S),L=l;n.modifiersData[r]=(t={},t[L]=T,t.centerOffset=T-x,t)}}function j8(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)||!Kh(t.elements.popper,s)||(t.elements.arrow=s))}var V8={name:"arrow",enabled:!0,phase:"main",fn:H8,effect:j8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xo(e){return e.split("-")[1]}var U8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K8(e){var t=e.x,n=e.y,r=window,s=r.devicePixelRatio||1;return{x:ko(t*s)/s||0,y:ko(n*s)/s||0}}function Jh(e){var t,n=e.popper,r=e.popperRect,s=e.placement,o=e.variation,i=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,c=e.isFixed,p=i.x,d=p===void 0?0:p,m=i.y,g=m===void 0?0:m,C=typeof f=="function"?f({x:d,y:g}):{x:d,y:g};d=C.x,g=C.y;var h=i.hasOwnProperty("x"),k=i.hasOwnProperty("y"),y=Jt,_=Xt,S=window;if(u){var x=ds(n),T="clientHeight",L="clientWidth";if(x===Sn(n)&&(x=Sr(n),lr(x).position!=="static"&&a==="absolute"&&(T="scrollHeight",L="scrollWidth")),x=x,s===Xt||(s===Jt||s===pn)&&o===us){_=dn;var I=c&&x===S&&S.visualViewport?S.visualViewport.height:x[T];g-=I-r.height,g*=l?1:-1}if(s===Jt||(s===Xt||s===dn)&&o===us){y=pn;var P=c&&x===S&&S.visualViewport?S.visualViewport.width:x[L];d-=P-r.width,d*=l?1:-1}}var N=Object.assign({position:a},u&&U8),D=f===!0?K8({x:d,y:g}):{x:d,y:g};if(d=D.x,g=D.y,l){var oe;return Object.assign({},N,(oe={},oe[_]=k?"0":"",oe[y]=h?"0":"",oe.transform=(S.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",oe))}return Object.assign({},N,(t={},t[_]=k?g+"px":"",t[y]=h?d+"px":"",t.transform="",t))}function G8(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,o=n.adaptive,i=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Nn(t.placement),variation:xo(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,Jh(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Jh(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Yh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:G8,data:{}},Mi={passive:!0};function W8(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,o=s===void 0?!0:s,i=r.resize,a=i===void 0?!0:i,l=Sn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(f){f.addEventListener("scroll",n.update,Mi)}),a&&l.addEventListener("resize",n.update,Mi),function(){o&&u.forEach(function(f){f.removeEventListener("scroll",n.update,Mi)}),a&&l.removeEventListener("resize",n.update,Mi)}}var Qh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:W8,data:{}},Z8={left:"right",right:"left",bottom:"top",top:"bottom"};function Li(e){return e.replace(/left|right|bottom|top/g,function(t){return Z8[t]})}var X8={start:"end",end:"start"};function e2(e){return e.replace(/start|end/g,function(t){return X8[t]})}function jl(e){var t=Sn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Vl(e){return Co(Sr(e)).left+jl(e).scrollLeft}function J8(e){var t=Sn(e),n=Sr(e),r=t.visualViewport,s=n.clientWidth,o=n.clientHeight,i=0,a=0;return r&&(s=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,a=r.offsetTop)),{width:s,height:o,x:i+Vl(e),y:a}}function Y8(e){var t,n=Sr(e),r=jl(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=Xr(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),i=Xr(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+Vl(e),l=-r.scrollTop;return lr(s||n).direction==="rtl"&&(a+=Xr(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:i,x:a,y:l}}function Ul(e){var t=lr(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function t2(e){return["html","body","#document"].indexOf(Dn(e))>=0?e.ownerDocument.body:hn(e)&&Ul(e)?e:t2(Ti(e))}function hs(e,t){var n;t===void 0&&(t=[]);var r=t2(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=Sn(r),i=s?[o].concat(o.visualViewport||[],Ul(r)?r:[]):r,a=t.concat(i);return s?a:a.concat(hs(Ti(i)))}function Kl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Q8(e){var t=Co(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function n2(e,t){return t===jh?Kl(J8(e)):wo(t)?Q8(t):Kl(Y8(Sr(e)))}function e7(e){var t=hs(Ti(e)),n=["absolute","fixed"].indexOf(lr(e).position)>=0,r=n&&hn(e)?ds(e):e;return wo(r)?t.filter(function(s){return wo(s)&&Kh(s,r)&&Dn(s)!=="body"}):[]}function t7(e,t,n){var r=t==="clippingParents"?e7(e):[].concat(t),s=[].concat(r,[n]),o=s[0],i=s.reduce(function(a,l){var u=n2(e,l);return a.top=Xr(u.top,a.top),a.right=Ai(u.right,a.right),a.bottom=Ai(u.bottom,a.bottom),a.left=Xr(u.left,a.left),a},n2(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function r2(e){var t=e.reference,n=e.element,r=e.placement,s=r?Nn(r):null,o=r?xo(r):null,i=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case Xt:l={x:i,y:t.y-n.height};break;case dn:l={x:i,y:t.y+t.height};break;case pn:l={x:t.x+t.width,y:a};break;case Jt:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=s?Hl(s):null;if(u!=null){var f=u==="y"?"height":"width";switch(o){case yo:l[u]=l[u]-(t[f]/2-n[f]/2);break;case us:l[u]=l[u]+(t[f]/2-n[f]/2);break}}return l}function gs(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,o=n.boundary,i=o===void 0?x8:o,a=n.rootBoundary,l=a===void 0?jh:a,u=n.elementContext,f=u===void 0?fs:u,c=n.altBoundary,p=c===void 0?!1:c,d=n.padding,m=d===void 0?0:d,g=Zh(typeof m!="number"?m:Xh(m,cs)),C=f===fs?E8:fs,h=e.rects.popper,k=e.elements[p?C:f],y=t7(wo(k)?k:k.contextElement||Sr(e.elements.popper),i,l),_=Co(e.elements.reference),S=r2({reference:_,element:h,placement:s}),x=Kl(Object.assign({},h,S)),T=f===fs?x:_,L={top:y.top-T.top+g.top,bottom:T.bottom-y.bottom+g.bottom,left:y.left-T.left+g.left,right:T.right-y.right+g.right},I=e.modifiersData.offset;if(f===fs&&I){var P=I[s];Object.keys(L).forEach(function(N){var D=[pn,dn].indexOf(N)>=0?1:-1,oe=[Xt,dn].indexOf(N)>=0?"y":"x";L[N]+=P[oe]*D})}return L}function n7(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,o=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Si:l,f=xo(r),c=f?a?Vh:Vh.filter(function(m){return xo(m)===f}):cs,p=c.filter(function(m){return u.indexOf(m)>=0});p.length===0&&(p=c);var d=p.reduce(function(m,g){return m[g]=gs(e,{placement:g,boundary:s,rootBoundary:o,padding:i})[Nn(g)],m},{});return Object.keys(d).sort(function(m,g){return d[m]-d[g]})}function r7(e){if(Nn(e)===Bl)return[];var t=Li(e);return[e2(e),t,e2(t)]}function o7(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,f=n.boundary,c=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=d===void 0?!0:d,g=n.allowedAutoPlacements,C=t.options.placement,h=Nn(C),k=h===C,y=l||(k||!m?[Li(C)]:r7(C)),_=[C].concat(y).reduce(function(Qe,rt){return Qe.concat(Nn(rt)===Bl?n7(t,{placement:rt,boundary:f,rootBoundary:c,padding:u,flipVariations:m,allowedAutoPlacements:g}):rt)},[]),S=t.rects.reference,x=t.rects.popper,T=new Map,L=!0,I=_[0],P=0;P<_.length;P++){var N=_[P],D=Nn(N),oe=xo(N)===yo,B=[Xt,dn].indexOf(D)>=0,K=B?"width":"height",F=gs(t,{placement:N,boundary:f,rootBoundary:c,altBoundary:p,padding:u}),z=B?oe?pn:Jt:oe?dn:Xt;S[K]>x[K]&&(z=Li(z));var H=Li(z),Q=[];if(o&&Q.push(F[D]<=0),a&&Q.push(F[z]<=0,F[H]<=0),Q.every(function(Qe){return Qe})){I=N,L=!1;break}T.set(N,Q)}if(L)for(var te=m?3:1,Ae=function(Qe){var rt=_.find(function(ft){var bt=T.get(ft);if(bt)return bt.slice(0,Qe).every(function(ut){return ut})});if(rt)return I=rt,"break"},ve=te;ve>0;ve--){var Be=Ae(ve);if(Be==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}}var s7={name:"flip",enabled:!0,phase:"main",fn:o7,requiresIfExists:["offset"],data:{_skip:!1}};function o2(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 s2(e){return[Xt,pn,dn,Jt].some(function(t){return e[t]>=0})}function i7(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,i=gs(t,{elementContext:"reference"}),a=gs(t,{altBoundary:!0}),l=o2(i,r),u=o2(a,s,o),f=s2(l),c=s2(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":c})}var a7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:i7};function l7(e,t,n){var r=Nn(e),s=[Jt,Xt].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=o[0],a=o[1];return i=i||0,a=(a||0)*s,[Jt,pn].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function c7(e){var t=e.state,n=e.options,r=e.name,s=n.offset,o=s===void 0?[0,0]:s,i=Si.reduce(function(f,c){return f[c]=l7(c,t.rects,o),f},{}),a=i[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}var u7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:c7};function f7(e){var t=e.state,n=e.name;t.modifiersData[n]=r2({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var i2={name:"popperOffsets",enabled:!0,phase:"read",fn:f7,data:{}};function d7(e){return e==="x"?"y":"x"}function p7(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,o=s===void 0?!0:s,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,f=n.altBoundary,c=n.padding,p=n.tether,d=p===void 0?!0:p,m=n.tetherOffset,g=m===void 0?0:m,C=gs(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:f}),h=Nn(t.placement),k=xo(t.placement),y=!k,_=Hl(h),S=d7(_),x=t.modifiersData.popperOffsets,T=t.rects.reference,L=t.rects.popper,I=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,P=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(x){if(o){var oe,B=_==="y"?Xt:Jt,K=_==="y"?dn:pn,F=_==="y"?"height":"width",z=x[_],H=z+C[B],Q=z-C[K],te=d?-L[F]/2:0,Ae=k===yo?T[F]:L[F],ve=k===yo?-L[F]:-T[F],Be=t.elements.arrow,Qe=d&&Be?zl(Be):{width:0,height:0},rt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Wh(),ft=rt[B],bt=rt[K],ut=ps(0,T[F],Qe[F]),sn=y?T[F]/2-te-ut-ft-P.mainAxis:Ae-ut-ft-P.mainAxis,me=y?-T[F]/2+te+ut+bt+P.mainAxis:ve+ut+bt+P.mainAxis,Ne=t.elements.arrow&&ds(t.elements.arrow),M=Ne?_==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,$=(oe=N==null?void 0:N[_])!=null?oe:0,j=z+sn-$-M,Y=z+me-$,W=ps(d?Ai(H,j):H,z,d?Xr(Q,Y):Q);x[_]=W,D[_]=W-z}if(a){var X,se=_==="x"?Xt:Jt,re=_==="x"?dn:pn,ee=x[S],J=S==="y"?"height":"width",be=ee+C[se],ce=ee-C[re],pe=[Xt,Jt].indexOf(h)!==-1,V=(X=N==null?void 0:N[S])!=null?X:0,ie=pe?be:ee-T[J]-L[J]-V+P.altAxis,Ee=pe?ee+T[J]+L[J]-V-P.altAxis:ce,Le=d&&pe?F8(ie,ee,Ee):ps(d?ie:be,ee,d?Ee:ce);x[S]=Le,D[S]=Le-ee}t.modifiersData[r]=D}}var h7={name:"preventOverflow",enabled:!0,phase:"main",fn:p7,requiresIfExists:["offset"]};function g7(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function m7(e){return e===Sn(e)||!hn(e)?jl(e):g7(e)}function v7(e){var t=e.getBoundingClientRect(),n=ko(t.width)/e.offsetWidth||1,r=ko(t.height)/e.offsetHeight||1;return n!==1||r!==1}function b7(e,t,n){n===void 0&&(n=!1);var r=hn(t),s=hn(t)&&v7(t),o=Sr(t),i=Co(e,s),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Dn(t)!=="body"||Ul(o))&&(a=m7(t)),hn(t)?(l=Co(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Vl(o))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function _7(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function s(o){n.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),r}function y7(e){var t=_7(e);return P8.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function w7(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function k7(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 a2={placement:"bottom",modifiers:[],strategy:"absolute"};function l2(){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 Gl(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?a2:s;return function(i,a,l){l===void 0&&(l=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},a2,o),modifiersData:{},elements:{reference:i,popper:a},attributes:{},styles:{}},f=[],c=!1,p={state:u,setOptions:function(g){var C=typeof g=="function"?g(u.options):g;m(),u.options=Object.assign({},o,u.options,C),u.scrollParents={reference:wo(i)?hs(i):i.contextElement?hs(i.contextElement):[],popper:hs(a)};var h=y7(k7([].concat(r,u.options.modifiers)));return u.orderedModifiers=h.filter(function(k){return k.enabled}),d(),p.update()},forceUpdate:function(){if(!c){var g=u.elements,C=g.reference,h=g.popper;if(l2(C,h)){u.rects={reference:b7(C,ds(h),u.options.strategy==="fixed"),popper:zl(h)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(L){return u.modifiersData[L.name]=Object.assign({},L.data)});for(var k=0;k<u.orderedModifiers.length;k++){if(u.reset===!0){u.reset=!1,k=-1;continue}var y=u.orderedModifiers[k],_=y.fn,S=y.options,x=S===void 0?{}:S,T=y.name;typeof _=="function"&&(u=_({state:u,options:x,name:T,instance:p})||u)}}}},update:w7(function(){return new Promise(function(g){p.forceUpdate(),g(u)})}),destroy:function(){m(),c=!0}};if(!l2(i,a))return p;p.setOptions(l).then(function(g){!c&&l.onFirstUpdate&&l.onFirstUpdate(g)});function d(){u.orderedModifiers.forEach(function(g){var C=g.name,h=g.options,k=h===void 0?{}:h,y=g.effect;if(typeof y=="function"){var _=y({state:u,name:C,instance:p,options:k}),S=function(){};f.push(_||S)}})}function m(){f.forEach(function(g){return g()}),f=[]}return p}}Gl();var C7=[Qh,i2,Yh,Uh];Gl({defaultModifiers:C7});var x7=[Qh,i2,Yh,Uh,u7,s7,h7,V8,a7],E7=Gl({defaultModifiers:x7});const S7=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const u=A7(l);Object.assign(i.value,u)},requires:["computeStyles"]},s=O(()=>{const{onFirstUpdate:l,placement:u,strategy:f,modifiers:c}=b(n);return{onFirstUpdate:l,placement:u||"bottom",strategy:f||"absolute",modifiers:[...c||[],r,{name:"applyStyles",enabled:!1}]}}),o=Wn(),i=U({styles:{popper:{position:b(s).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return xe(s,l=>{const u=b(o);u&&u.setOptions(l)},{deep:!0}),xe([e,t],([l,u])=>{a(),!(!l||!u)&&(o.value=E7(l,u,b(s)))}),Wt(()=>{a()}),{state:O(()=>{var l;return{...((l=b(o))==null?void 0:l.state)||{}}}),styles:O(()=>b(i).styles),attributes:O(()=>b(i).attributes),update:()=>{var l;return(l=b(o))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=b(o))==null?void 0:l.forceUpdate()},instanceRef:O(()=>b(o))}};function A7(e){const t=Object.keys(e.elements),n=xi(t.map(s=>[s,e.styles[s]||{}])),r=xi(t.map(s=>[s,e.attributes[s]]));return{styles:n,attributes:r}}function c2(){let e;const t=(r,s)=>{n(),e=window.setTimeout(r,s)},n=()=>window.clearTimeout(e);return hl(()=>n()),{registerTimeout:t,cancelTimeout:n}}const u2={prefix:Math.floor(Math.random()*1e4),current:0},T7=Symbol("elIdInjection"),f2=()=>mt()?De(T7,u2):u2,$i=e=>{const t=f2(),n=ql();return O(()=>b(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Eo=[];const d2=e=>{const t=e;t.key===ar.esc&&Eo.forEach(n=>n(t))},M7=e=>{nt(()=>{Eo.length===0&&document.addEventListener("keydown",d2),Pt&&Eo.push(e)}),Wt(()=>{Eo=Eo.filter(t=>t!==e),Eo.length===0&&Pt&&document.removeEventListener("keydown",d2)})};let p2;const h2=()=>{const e=ql(),t=f2(),n=O(()=>`${e.value}-popper-container-${t.prefix}`),r=O(()=>`#${n.value}`);return{id:n,selector:r}},L7=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},$7=()=>{const{id:e,selector:t}=h2();return u0(()=>{Pt&&!p2&&!document.body.querySelector(t.value)&&(p2=L7(e.value))}),{id:e,selector:t}},I7=Ye({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),R7=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:s})=>{const{registerTimeout:o}=c2(),{registerTimeout:i,cancelTimeout:a}=c2();return{onOpen:f=>{o(()=>{r(f);const c=b(n);vt(c)&&c>0&&i(()=>{s(f)},c)},b(e))},onClose:f=>{a(),o(()=>{s(f)},b(t))}}},g2=Symbol("elForwardRef"),O7=e=>{jt(g2,{setForwardRef:n=>{e.value=n}})},P7=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),m2=U(0),D7=2e3,N7=Symbol("zIndexContextKey"),q7=e=>{const t=mt()?De(N7,void 0):void 0,n=O(()=>{const o=b(t);return vt(o)?o:D7}),r=O(()=>n.value+m2.value);return{initialZIndex:n,currentZIndex:r,nextZIndex:()=>(m2.value++,r.value)}};function B7(e){const t=U();function n(){if(e.value==null)return;const{selectionStart:s,selectionEnd:o,value:i}=e.value;if(s==null||o==null)return;const a=i.slice(0,Math.max(0,s)),l=i.slice(Math.max(0,o));t.value={selectionStart:s,selectionEnd:o,value:i,beforeTxt:a,afterTxt:l}}function r(){if(e.value==null||t.value==null)return;const{value:s}=e.value,{beforeTxt:o,afterTxt:i,selectionStart:a}=t.value;if(o==null||i==null||a==null)return;let l=s.length;if(s.endsWith(i))l=s.length-i.length;else if(s.startsWith(o))l=o.length;else{const u=o[a-1],f=s.indexOf(u,a-1);f!==-1&&(l=f+1)}e.value.setSelectionRange(l,l)}return[n,r]}const Wl=Ei({type:String,values:ls,required:!1}),F7=Symbol("size"),z7=()=>{const e=De(F7,{});return O(()=>b(e.size)||"")};function v2(e,{afterFocus:t,beforeBlur:n,afterBlur:r}={}){const s=mt(),{emit:o}=s,i=Wn(),a=U(!1),l=c=>{a.value||(a.value=!0,o("focus",c),t==null||t())},u=c=>{var p;we(n)&&n(c)||c.relatedTarget&&((p=i.value)!=null&&p.contains(c.relatedTarget))||(a.value=!1,o("blur",c),r==null||r())},f=()=>{var c;(c=e.value)==null||c.focus()};return xe(i,c=>{c&&c.setAttribute("tabindex","-1")}),Ur(i,"click",f),{wrapperRef:i,isFocused:a,handleFocus:l,handleBlur:u}}const H7=Symbol(),b2=U();function j7(e,t=void 0){const n=mt()?De(H7,b2):b2;return O(()=>{var r,s;return(s=(r=n.value)==null?void 0:r[e])!=null?s:t})}var Ue=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const V7=Ye({size:{type:Ie([Number,String])},color:{type:String}}),U7=ne({...ne({name:"ElIcon",inheritAttrs:!1}),props:V7,setup(e){const t=e,n=Ze("icon"),r=O(()=>{const{size:s,color:o}=t;return!s&&!o?{}:{fontSize:Oh(s)?void 0:_o(s),"--color":o}});return(s,o)=>(w(),A("i",dt({class:b(n).b(),style:b(r)},s.$attrs),[_e(s.$slots,"default")],16))}});var K7=Ue(U7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const Yt=xn(K7),Zl=Symbol("formContextKey"),Ii=Symbol("formItemContextKey"),ms=(e,t={})=>{const n=U(void 0),r=t.prop?n:Hh("size"),s=t.global?n:z7(),o=t.form?{size:void 0}:De(Zl,void 0),i=t.formItem?{size:void 0}:De(Ii,void 0);return O(()=>r.value||b(e)||(i==null?void 0:i.size)||(o==null?void 0:o.size)||s.value||"")},Ri=e=>{const t=Hh("disabled"),n=De(Zl,void 0);return O(()=>t.value||b(e)||(n==null?void 0:n.disabled)||!1)},Oi=()=>{const e=De(Zl,void 0),t=De(Ii,void 0);return{form:e,formItem:t}},_2=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=U(!1)),r||(r=U(!1));const s=U();let o;const i=O(()=>{var a;return!!(!e.label&&t&&t.inputIds&&((a=t.inputIds)==null?void 0:a.length)<=1)});return nt(()=>{o=xe([_n(e,"id"),n],([a,l])=>{const u=a??(l?void 0:$i().value);u!==s.value&&(t!=null&&t.removeInputId&&(s.value&&t.removeInputId(s.value),!(r!=null&&r.value)&&!l&&u&&t.addInputId(u)),s.value=u)},{immediate:!0})}),ti(()=>{o&&o(),t!=null&&t.removeInputId&&s.value&&t.removeInputId(s.value)}),{isLabeledByFormItem:i,inputId:s}};let An;const G7=`
|
|
22
23
|
height:0 !important;
|
|
23
24
|
visibility:hidden !important;
|
|
24
|
-
${
|
|
25
|
+
${uC()?"":"overflow:hidden !important;"}
|
|
25
26
|
position:absolute !important;
|
|
26
27
|
z-index:-1000 !important;
|
|
27
28
|
top:0 !important;
|
|
28
29
|
right:0 !important;
|
|
29
|
-
`,WA=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function ZA(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),s=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:WA.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:s,boxSizing:n}}function gm(e,t=1,n){var r;On||(On=document.createElement("textarea"),document.body.appendChild(On));const{paddingSize:s,borderSize:o,boxSizing:i,contextStyle:a}=ZA(e);On.setAttribute("style",`${a};${KA}`),On.value=e.value||e.placeholder||"";let l=On.scrollHeight;const u={};i==="border-box"?l=l+o:i==="content-box"&&(l=l-s),On.value="";const f=On.scrollHeight-s;if(vt(t)){let c=f*t;i==="border-box"&&(c=c+s+o),l=Math.max(c,l),u.minHeight=`${c}px`}if(vt(n)){let c=f*n;i==="border-box"&&(c=c+s+o),l=Math.min(c,l)}return u.height=`${l}px`,(r=On.parentNode)==null||r.removeChild(On),On=void 0,u}const XA=Qe({id:{type:String,default:void 0},size:Vl,disabled:Boolean,modelValue:{type:Me([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Me([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Sn},prefixIcon:{type:Sn},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Me([Object,Array,String]),default:()=>Ll({})},autofocus:{type:Boolean,default:!1}}),YA={[Xt]:e=>qe(e),input:e=>qe(e),change:e=>qe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},JA=["role"],QA=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],eT=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],tT=ee({...ee({name:"ElInput",inheritAttrs:!1}),props:XA,emits:YA,setup(e,{expose:t,emit:n}){const r=e,s=ii(),o=fp(),i=I(()=>{const H={};return r.containerRole==="combobox"&&(H["aria-haspopup"]=s["aria-haspopup"],H["aria-owns"]=s["aria-owns"],H["aria-expanded"]=s["aria-expanded"]),H}),a=I(()=>[r.type==="textarea"?w.b():g.b(),g.m(d.value),g.is("disabled",m.value),g.is("exceed",et.value),{[g.b("group")]:o.prepend||o.append,[g.bm("group","append")]:o.append,[g.bm("group","prepend")]:o.prepend,[g.m("prefix")]:o.prefix||r.prefixIcon,[g.m("suffix")]:o.suffix||r.suffixIcon||r.clearable||r.showPassword,[g.bm("suffix","password-clear")]:te.value&&Ae.value},s.class]),l=I(()=>[g.e("wrapper"),g.is("focus",L.value)]),u=px({excludeKeys:I(()=>Object.keys(i.value))}),{form:f,formItem:c}=Di(),{inputId:p}=hm(r,{formItemContext:c}),d=ys(),m=Pi(),g=We("input"),w=We("textarea"),h=Xn(),_=Xn(),y=G(!1),b=G(!1),C=G(!1),k=G(),S=Xn(r.inputStyle),A=I(()=>h.value||_.value),{wrapperRef:R,isFocused:L,handleFocus:D,handleBlur:P}=dm(A,{afterBlur(){var H;r.validateEvent&&((H=c==null?void 0:c.validate)==null||H.call(c,"blur").catch(ie=>void 0))}}),oe=I(()=>{var H;return(H=f==null?void 0:f.statusIcon)!=null?H:!1}),N=I(()=>(c==null?void 0:c.validateState)||""),j=I(()=>N.value&&Pg[N.value]),q=I(()=>C.value?sx:tx),F=I(()=>[s.style,r.inputStyle]),B=I(()=>[r.inputStyle,S.value,{resize:r.resize}]),J=I(()=>Xr(r.modelValue)?"":String(r.modelValue)),te=I(()=>r.clearable&&!m.value&&!r.readonly&&!!J.value&&(L.value||y.value)),Ae=I(()=>r.showPassword&&!m.value&&!r.readonly&&!!J.value&&(!!J.value||L.value)),ve=I(()=>r.showWordLimit&&!!u.value.maxlength&&(r.type==="text"||r.type==="textarea")&&!m.value&&!r.readonly&&!r.showPassword),Fe=I(()=>J.value.length),et=I(()=>!!ve.value&&Fe.value>Number(u.value.maxlength)),ot=I(()=>!!o.suffix||!!r.suffixIcon||te.value||r.showPassword||ve.value||!!N.value&&oe.value),[pt,bt]=FA(h);vi(_,H=>{if(me(),!ve.value||r.resize!=="both")return;const ie=H[0],{width:Se}=ie.contentRect;k.value={right:`calc(100% - ${Se+15+6}px)`}});const ft=()=>{const{type:H,autosize:ie}=r;if(!(!Pt||H!=="textarea"||!_.value))if(ie){const Se=De(ie)?ie.minRows:void 0,Re=De(ie)?ie.maxRows:void 0,lt=gm(_.value,Se,Re);S.value={overflowY:"hidden",...lt},Ue(()=>{_.value.offsetHeight,S.value=lt})}else S.value={minHeight:gm(_.value).minHeight}},me=(H=>{let ie=!1;return()=>{var Se;if(ie||!r.autosize)return;((Se=_.value)==null?void 0:Se.offsetParent)===null||(H(),ie=!0)}})(ft),Ne=()=>{const H=A.value,ie=r.formatter?r.formatter(J.value):J.value;!H||H.value===ie||(H.value=ie)},x=async H=>{pt();let{value:ie}=H.target;if(r.formatter&&(ie=r.parser?r.parser(ie):ie),!b.value){if(ie===J.value){Ne();return}n(Xt,ie),n("input",ie),await Ue(),Ne(),bt()}},T=H=>{n("change",H.target.value)},z=H=>{n("compositionstart",H),b.value=!0},Y=H=>{var ie;n("compositionupdate",H);const Se=(ie=H.target)==null?void 0:ie.value,Re=Se[Se.length-1]||"";b.value=!Dg(Re)},K=H=>{n("compositionend",H),b.value&&(b.value=!1,x(H))},Z=()=>{C.value=!C.value,se()},se=async()=>{var H;await Ue(),(H=A.value)==null||H.focus()},re=()=>{var H;return(H=A.value)==null?void 0:H.blur()},Q=H=>{y.value=!1,n("mouseleave",H)},X=H=>{y.value=!0,n("mouseenter",H)},be=H=>{n("keydown",H)},ce=()=>{var H;(H=A.value)==null||H.select()},pe=()=>{n(Xt,""),n("change",""),n("clear"),n("input","")};return Ee(()=>r.modelValue,()=>{var H;Ue(()=>ft()),r.validateEvent&&((H=c==null?void 0:c.validate)==null||H.call(c,"change").catch(ie=>void 0))}),Ee(J,()=>Ne()),Ee(()=>r.type,async()=>{await Ue(),Ne(),ft()}),rt(()=>{!r.formatter&&r.parser,Ne(),Ue(ft)}),t({input:h,textarea:_,ref:A,textareaStyle:B,autosize:kn(r,"autosize"),focus:se,blur:re,select:ce,clear:pe,resizeTextarea:ft}),(H,ie)=>Ft((O(),U("div",dt(v(i),{class:v(a),style:v(F),role:H.containerRole,onMouseenter:X,onMouseleave:Q}),[ge(" input "),H.type!=="textarea"?(O(),U(Ze,{key:0},[ge(" prepend slot "),H.$slots.prepend?(O(),U("div",{key:0,class:W(v(g).be("group","prepend"))},[ye(H.$slots,"prepend")],2)):ge("v-if",!0),ne("div",{ref_key:"wrapperRef",ref:R,class:W(v(l))},[ge(" prefix slot "),H.$slots.prefix||H.prefixIcon?(O(),U("span",{key:0,class:W(v(g).e("prefix"))},[ne("span",{class:W(v(g).e("prefix-inner"))},[ye(H.$slots,"prefix"),H.prefixIcon?(O(),le(v(Qt),{key:0,class:W(v(g).e("icon"))},{default:ue(()=>[(O(),le(Bt(H.prefixIcon)))]),_:1},8,["class"])):ge("v-if",!0)],2)],2)):ge("v-if",!0),ne("input",dt({id:v(p),ref_key:"input",ref:h,class:v(g).e("inner")},v(u),{type:H.showPassword?C.value?"text":"password":H.type,disabled:v(m),formatter:H.formatter,parser:H.parser,readonly:H.readonly,autocomplete:H.autocomplete,tabindex:H.tabindex,"aria-label":H.label,placeholder:H.placeholder,style:H.inputStyle,form:r.form,autofocus:r.autofocus,onCompositionstart:z,onCompositionupdate:Y,onCompositionend:K,onInput:x,onFocus:ie[0]||(ie[0]=(...Se)=>v(D)&&v(D)(...Se)),onBlur:ie[1]||(ie[1]=(...Se)=>v(P)&&v(P)(...Se)),onChange:T,onKeydown:be}),null,16,QA),ge(" suffix slot "),v(ot)?(O(),U("span",{key:1,class:W(v(g).e("suffix"))},[ne("span",{class:W(v(g).e("suffix-inner"))},[!v(te)||!v(Ae)||!v(ve)?(O(),U(Ze,{key:0},[ye(H.$slots,"suffix"),H.suffixIcon?(O(),le(v(Qt),{key:0,class:W(v(g).e("icon"))},{default:ue(()=>[(O(),le(Bt(H.suffixIcon)))]),_:1},8,["class"])):ge("v-if",!0)],64)):ge("v-if",!0),v(te)?(O(),le(v(Qt),{key:1,class:W([v(g).e("icon"),v(g).e("clear")]),onMousedown:nn(v(Rt),["prevent"]),onClick:pe},{default:ue(()=>[ke(v(Ol))]),_:1},8,["class","onMousedown"])):ge("v-if",!0),v(Ae)?(O(),le(v(Qt),{key:2,class:W([v(g).e("icon"),v(g).e("password")]),onClick:Z},{default:ue(()=>[(O(),le(Bt(v(q))))]),_:1},8,["class"])):ge("v-if",!0),v(ve)?(O(),U("span",{key:3,class:W(v(g).e("count"))},[ne("span",{class:W(v(g).e("count-inner"))},Ke(v(Fe))+" / "+Ke(v(u).maxlength),3)],2)):ge("v-if",!0),v(N)&&v(j)&&v(oe)?(O(),le(v(Qt),{key:4,class:W([v(g).e("icon"),v(g).e("validateIcon"),v(g).is("loading",v(N)==="validating")])},{default:ue(()=>[(O(),le(Bt(v(j))))]),_:1},8,["class"])):ge("v-if",!0)],2)],2)):ge("v-if",!0)],2),ge(" append slot "),H.$slots.append?(O(),U("div",{key:1,class:W(v(g).be("group","append"))},[ye(H.$slots,"append")],2)):ge("v-if",!0)],64)):(O(),U(Ze,{key:1},[ge(" textarea "),ne("textarea",dt({id:v(p),ref_key:"textarea",ref:_,class:v(w).e("inner")},v(u),{tabindex:H.tabindex,disabled:v(m),readonly:H.readonly,autocomplete:H.autocomplete,style:v(B),"aria-label":H.label,placeholder:H.placeholder,form:r.form,autofocus:r.autofocus,onCompositionstart:z,onCompositionupdate:Y,onCompositionend:K,onInput:x,onFocus:ie[2]||(ie[2]=(...Se)=>v(D)&&v(D)(...Se)),onBlur:ie[3]||(ie[3]=(...Se)=>v(P)&&v(P)(...Se)),onChange:T,onKeydown:be}),null,16,eT),v(ve)?(O(),U("span",{key:0,style:nt(k.value),class:W(v(g).e("count"))},Ke(v(Fe))+" / "+Ke(v(u).maxlength),7)):ge("v-if",!0)],64))],16,JA)),[[nr,H.type!=="hidden"]])}});var nT=je(tT,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const $i=xn(nT),To=4,rT={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},oT=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),mm=Symbol("scrollbarContextKey"),sT=Qe({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),iT="Thumb";var vm=je(ee({__name:"thumb",props:sT,setup(e){const t=e,n=$e(mm),r=We("scrollbar");n||F2(iT,"can not inject scrollbar context");const s=G(),o=G(),i=G({}),a=G(!1);let l=!1,u=!1,f=Pt?document.onselectstart:null;const c=I(()=>rT[t.vertical?"vertical":"horizontal"]),p=I(()=>oT({size:t.size,move:t.move,bar:c.value})),d=I(()=>s.value[c.value.offset]**2/n.wrapElement[c.value.scrollSize]/t.ratio/o.value[c.value.offset]),m=k=>{var S;if(k.stopPropagation(),k.ctrlKey||[1,2].includes(k.button))return;(S=window.getSelection())==null||S.removeAllRanges(),w(k);const A=k.currentTarget;A&&(i.value[c.value.axis]=A[c.value.offset]-(k[c.value.client]-A.getBoundingClientRect()[c.value.direction]))},g=k=>{if(!o.value||!s.value||!n.wrapElement)return;const S=Math.abs(k.target.getBoundingClientRect()[c.value.direction]-k[c.value.client]),A=o.value[c.value.offset]/2,R=(S-A)*100*d.value/s.value[c.value.offset];n.wrapElement[c.value.scroll]=R*n.wrapElement[c.value.scrollSize]/100},w=k=>{k.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",h),document.addEventListener("mouseup",_),f=document.onselectstart,document.onselectstart=()=>!1},h=k=>{if(!s.value||!o.value||l===!1)return;const S=i.value[c.value.axis];if(!S)return;const A=(s.value.getBoundingClientRect()[c.value.direction]-k[c.value.client])*-1,R=o.value[c.value.offset]-S,L=(A-R)*100*d.value/s.value[c.value.offset];n.wrapElement[c.value.scroll]=L*n.wrapElement[c.value.scrollSize]/100},_=()=>{l=!1,i.value[c.value.axis]=0,document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",_),C(),u&&(a.value=!1)},y=()=>{u=!1,a.value=!!t.size},b=()=>{u=!0,a.value=l};Wt(()=>{C(),document.removeEventListener("mouseup",_)});const C=()=>{document.onselectstart!==f&&(document.onselectstart=f)};return Kr(kn(n,"scrollbarElement"),"mousemove",y),Kr(kn(n,"scrollbarElement"),"mouseleave",b),(k,S)=>(O(),le(jr,{name:v(r).b("fade"),persisted:""},{default:ue(()=>[Ft(ne("div",{ref_key:"instance",ref:s,class:W([v(r).e("bar"),v(r).is(v(c).key)]),onMousedown:g},[ne("div",{ref_key:"thumb",ref:o,class:W(v(r).e("thumb")),style:nt(v(p)),onMousedown:m},null,38)],34),[[nr,k.always||a.value]])]),_:1},8,["name"]))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const aT=Qe({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}});var lT=je(ee({__name:"bar",props:aT,setup(e,{expose:t}){const n=e,r=G(0),s=G(0);return t({handleScroll:i=>{if(i){const a=i.offsetHeight-To,l=i.offsetWidth-To;s.value=i.scrollTop*100/a*n.ratioY,r.value=i.scrollLeft*100/l*n.ratioX}}}),(i,a)=>(O(),U(Ze,null,[ke(vm,{move:r.value,ratio:i.ratioX,size:i.width,always:i.always},null,8,["move","ratio","size","always"]),ke(vm,{move:s.value,ratio:i.ratioY,size:i.height,vertical:"",always:i.always},null,8,["move","ratio","size","always"])],64))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const cT=Qe({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Me([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical"]}}),uT=ee({...ee({name:"ElScrollbar"}),props:cT,emits:{scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(vt)},setup(e,{expose:t,emit:n}){const r=e,s=We("scrollbar");let o,i;const a=G(),l=G(),u=G(),f=G("0"),c=G("0"),p=G(),d=G(1),m=G(1),g=I(()=>{const S={};return r.height&&(S.height=wo(r.height)),r.maxHeight&&(S.maxHeight=wo(r.maxHeight)),[r.wrapStyle,S]}),w=I(()=>[r.wrapClass,s.e("wrap"),{[s.em("wrap","hidden-default")]:!r.native}]),h=I(()=>[s.e("view"),r.viewClass]),_=()=>{var S;l.value&&((S=p.value)==null||S.handleScroll(l.value),n("scroll",{scrollTop:l.value.scrollTop,scrollLeft:l.value.scrollLeft}))};function y(S,A){De(S)?l.value.scrollTo(S):vt(S)&&vt(A)&&l.value.scrollTo(S,A)}const b=S=>{vt(S)&&(l.value.scrollTop=S)},C=S=>{vt(S)&&(l.value.scrollLeft=S)},k=()=>{if(!l.value)return;const S=l.value.offsetHeight-To,A=l.value.offsetWidth-To,R=S**2/l.value.scrollHeight,L=A**2/l.value.scrollWidth,D=Math.max(R,r.minSize),P=Math.max(L,r.minSize);d.value=R/(S-R)/(D/(S-D)),m.value=L/(A-L)/(P/(A-P)),c.value=D+To<S?`${D}px`:"",f.value=P+To<A?`${P}px`:""};return Ee(()=>r.noresize,S=>{S?(o==null||o(),i==null||i()):({stop:o}=vi(u,k),i=Kr("resize",k))},{immediate:!0}),Ee(()=>[r.maxHeight,r.height],()=>{r.native||Ue(()=>{var S;k(),l.value&&((S=p.value)==null||S.handleScroll(l.value))})}),Ht(mm,wn({scrollbarElement:a,wrapElement:l})),rt(()=>{r.native||Ue(()=>{k()})}),ip(()=>k()),t({wrapRef:l,update:k,scrollTo:y,setScrollTop:b,setScrollLeft:C,handleScroll:_}),(S,A)=>(O(),U("div",{ref_key:"scrollbarRef",ref:a,class:W(v(s).b())},[ne("div",{ref_key:"wrapRef",ref:l,class:W(v(w)),style:nt(v(g)),onScroll:_},[(O(),le(Bt(S.tag),{id:S.id,ref_key:"resizeRef",ref:u,class:W(v(h)),style:nt(S.viewStyle),role:S.role,"aria-label":S.ariaLabel,"aria-orientation":S.ariaOrientation},{default:ue(()=>[ye(S.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),S.native?ge("v-if",!0):(O(),le(lT,{key:0,ref_key:"barRef",ref:p,height:c.value,width:f.value,always:S.always,"ratio-x":m.value,"ratio-y":d.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var fT=je(uT,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const dT=xn(fT),Kl=Symbol("popper"),bm=Symbol("popperContent"),ym=Qe({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),pT=ee({...ee({name:"ElPopper",inheritAttrs:!1}),props:ym,setup(e,{expose:t}){const n=e,r=G(),s=G(),o=G(),i=G(),a=I(()=>n.role),l={triggerRef:r,popperInstanceRef:s,contentRef:o,referenceRef:i,role:a};return t(l),Ht(Kl,l),(u,f)=>ye(u.$slots,"default")}});var hT=je(pT,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const _m=Qe({arrowOffset:{type:Number,default:5}}),gT=ee({...ee({name:"ElPopperArrow",inheritAttrs:!1}),props:_m,setup(e,{expose:t}){const n=e,r=We("popper"),{arrowOffset:s,arrowRef:o,arrowStyle:i}=$e(bm,void 0);return Ee(()=>n.arrowOffset,a=>{s.value=a}),Wt(()=>{o.value=void 0}),t({arrowRef:o}),(a,l)=>(O(),U("span",{ref_key:"arrowRef",ref:o,class:W(v(r).e("arrow")),style:nt(v(i)),"data-popper-arrow":""},null,6))}});var mT=je(gT,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const vT=ee({name:"ElOnlyChild",setup(e,{slots:t,attrs:n}){var r;const s=$e(um),o=DA((r=s==null?void 0:s.setForwardRef)!=null?r:Rt);return()=>{var i;const a=(i=t.default)==null?void 0:i.call(t,n);if(!a||a.length>1)return null;const l=wm(a);return l?Ft(Qn(l,n),[[o]]):null}}});function wm(e){if(!e)return null;const t=e;for(const n of t){if(De(n))switch(n.type){case Lt:continue;case go:case"svg":return km(n);case Ze:return wm(n.children);default:return n}return km(n)}return null}function km(e){const t=We("only-child");return ke("span",{class:t.e("content")},[e])}const Em=Qe({virtualRef:{type:Me(Object)},virtualTriggering:Boolean,onMouseenter:{type:Me(Function)},onMouseleave:{type:Me(Function)},onClick:{type:Me(Function)},onKeydown:{type:Me(Function)},onFocus:{type:Me(Function)},onBlur:{type:Me(Function)},onContextmenu:{type:Me(Function)},id:String,open:Boolean}),bT=ee({...ee({name:"ElPopperTrigger",inheritAttrs:!1}),props:Em,setup(e,{expose:t}){const n=e,{role:r,triggerRef:s}=$e(Kl,void 0);PA(s);const o=I(()=>a.value?n.id:void 0),i=I(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),a=I(()=>{if(r&&r.value!=="tooltip")return r.value}),l=I(()=>a.value?`${n.open}`:void 0);let u;return rt(()=>{Ee(()=>n.virtualRef,f=>{f&&(s.value=Cr(f))},{immediate:!0}),Ee(s,(f,c)=>{u==null||u(),u=void 0,us(f)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(p=>{var d;const m=n[p];m&&(f.addEventListener(p.slice(2).toLowerCase(),m),(d=c==null?void 0:c.removeEventListener)==null||d.call(c,p.slice(2).toLowerCase(),m))}),u=Ee([o,i,a,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((d,m)=>{Xr(p[m])?f.removeAttribute(d):f.setAttribute(d,p[m])})},{immediate:!0})),us(c)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>c.removeAttribute(p))},{immediate:!0})}),Wt(()=>{u==null||u(),u=void 0}),t({triggerRef:s}),(f,c)=>f.virtualTriggering?ge("v-if",!0):(O(),le(v(vT),dt({key:0},f.$attrs,{"aria-controls":v(o),"aria-describedby":v(i),"aria-expanded":v(l),"aria-haspopup":v(a)}),{default:ue(()=>[ye(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var yT=je(bT,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Wl="focus-trap.focus-after-trapped",Zl="focus-trap.focus-after-released",_T="focus-trap.focusout-prevented",Cm={cancelable:!0,bubbles:!1},wT={cancelable:!0,bubbles:!1},Sm="focusAfterTrapped",xm="focusAfterReleased",kT=Symbol("elFocusTrap"),Xl=G(),Ni=G(0),Yl=G(0);let qi=0;const Am=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Tm=(e,t)=>{for(const n of e)if(!ET(n,t))return n},ET=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},CT=e=>{const t=Am(e),n=Tm(t,e),r=Tm(t.reverse(),e);return[n,r]},ST=e=>e instanceof HTMLInputElement&&"select"in e,Tr=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),Yl.value=window.performance.now(),e!==n&&ST(e)&&t&&e.select()}};function Om(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const xT=()=>{let e=[];return{push:r=>{const s=e[0];s&&r!==s&&s.pause(),e=Om(e,r),e.unshift(r)},remove:r=>{var s,o;e=Om(e,r),(o=(s=e[0])==null?void 0:s.resume)==null||o.call(s)}}},AT=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(Tr(r,t),document.activeElement!==n)return},Rm=xT(),TT=()=>Ni.value>Yl.value,Fi=()=>{Xl.value="pointer",Ni.value=window.performance.now()},Im=()=>{Xl.value="keyboard",Ni.value=window.performance.now()},OT=()=>(rt(()=>{qi===0&&(document.addEventListener("mousedown",Fi),document.addEventListener("touchstart",Fi),document.addEventListener("keydown",Im)),qi++}),Wt(()=>{qi--,qi<=0&&(document.removeEventListener("mousedown",Fi),document.removeEventListener("touchstart",Fi),document.removeEventListener("keydown",Im))}),{focusReason:Xl,lastUserFocusTimestamp:Ni,lastAutomatedFocusTimestamp:Yl}),Bi=e=>new CustomEvent(_T,{...wT,detail:e}),RT=ee({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[Sm,xm,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=G();let r,s;const{focusReason:o}=OT();OA(m=>{e.trapped&&!i.paused&&t("release-requested",m)});const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=m=>{if(!e.loop&&!e.trapped||i.paused)return;const{key:g,altKey:w,ctrlKey:h,metaKey:_,currentTarget:y,shiftKey:b}=m,{loop:C}=e,k=g===cr.tab&&!w&&!h&&!_,S=document.activeElement;if(k&&S){const A=y,[R,L]=CT(A);if(R&&L){if(!b&&S===L){const P=Bi({focusReason:o.value});t("focusout-prevented",P),P.defaultPrevented||(m.preventDefault(),C&&Tr(R,!0))}else if(b&&[R,A].includes(S)){const P=Bi({focusReason:o.value});t("focusout-prevented",P),P.defaultPrevented||(m.preventDefault(),C&&Tr(L,!0))}}else if(S===A){const P=Bi({focusReason:o.value});t("focusout-prevented",P),P.defaultPrevented||m.preventDefault()}}};Ht(kT,{focusTrapRef:n,onKeydown:a}),Ee(()=>e.focusTrapEl,m=>{m&&(n.value=m)},{immediate:!0}),Ee([n],([m],[g])=>{m&&(m.addEventListener("keydown",a),m.addEventListener("focusin",f),m.addEventListener("focusout",c)),g&&(g.removeEventListener("keydown",a),g.removeEventListener("focusin",f),g.removeEventListener("focusout",c))});const l=m=>{t(Sm,m)},u=m=>t(xm,m),f=m=>{const g=v(n);if(!g)return;const w=m.target,h=m.relatedTarget,_=w&&g.contains(w);e.trapped||h&&g.contains(h)||(r=h),_&&t("focusin",m),!i.paused&&e.trapped&&(_?s=w:Tr(s,!0))},c=m=>{const g=v(n);if(!(i.paused||!g))if(e.trapped){const w=m.relatedTarget;!Xr(w)&&!g.contains(w)&&setTimeout(()=>{if(!i.paused&&e.trapped){const h=Bi({focusReason:o.value});t("focusout-prevented",h),h.defaultPrevented||Tr(s,!0)}},0)}else{const w=m.target;w&&g.contains(w)||t("focusout",m)}};async function p(){await Ue();const m=v(n);if(m){Rm.push(i);const g=m.contains(document.activeElement)?r:document.activeElement;if(r=g,!m.contains(g)){const h=new Event(Wl,Cm);m.addEventListener(Wl,l),m.dispatchEvent(h),h.defaultPrevented||Ue(()=>{let _=e.focusStartEl;qe(_)||(Tr(_),document.activeElement!==_&&(_="first")),_==="first"&&AT(Am(m),!0),(document.activeElement===g||_==="container")&&Tr(m)})}}}function d(){const m=v(n);if(m){m.removeEventListener(Wl,l);const g=new CustomEvent(Zl,{...Cm,detail:{focusReason:o.value}});m.addEventListener(Zl,u),m.dispatchEvent(g),!g.defaultPrevented&&(o.value=="keyboard"||!TT()||m.contains(document.activeElement))&&Tr(r??document.body),m.removeEventListener(Zl,u),Rm.remove(i)}}return rt(()=>{e.trapped&&p(),Ee(()=>e.trapped,m=>{m?p():d()})}),Wt(()=>{e.trapped&&d()}),{onKeydown:a}}});function IT(e,t,n,r,s,o){return ye(e.$slots,"default",{handleKeydown:e.onKeydown})}var MT=je(RT,[["render",IT],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const LT=["fixed","absolute"],PT=Qe({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Me(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ai,default:"bottom"},popperOptions:{type:Me(Object),default:()=>({})},strategy:{type:String,values:LT,default:"absolute"}}),Mm=Qe({...PT,id:String,style:{type:Me([String,Array,Object])},className:{type:Me([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:Me([String,Array,Object])},popperStyle:{type:Me([String,Array,Object])},referenceEl:{type:Me(Object)},triggerTargetEl:{type:Me(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),DT={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},$T=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:s}=e,o={placement:n,strategy:r,...s,modifiers:[...qT(e),...t]};return FT(o,s==null?void 0:s.modifiers),o},NT=e=>{if(Pt)return Cr(e)};function qT(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function FT(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const BT=0,zT=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:s}=$e(Kl,void 0),o=G(),i=G(),a=I(()=>({name:"eventListeners",enabled:!!e.visible})),l=I(()=>{var h;const _=v(o),y=(h=v(i))!=null?h:BT;return{name:"arrow",enabled:!D2(_),options:{element:_,padding:y}}}),u=I(()=>({onFirstUpdate:()=>{m()},...$T(e,[v(l),v(a)])})),f=I(()=>NT(e.referenceEl)||v(r)),{attributes:c,state:p,styles:d,update:m,forceUpdate:g,instanceRef:w}=xA(f,n,u);return Ee(w,h=>t.value=h),rt(()=>{Ee(()=>{var h;return(h=v(f))==null?void 0:h.getBoundingClientRect()},()=>{m()})}),{attributes:c,arrowRef:o,contentRef:n,instanceRef:w,state:p,styles:d,role:s,forceUpdate:g,update:m}},HT=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:s}=qA(),o=We("popper"),i=I(()=>v(t).popper),a=G(vt(e.zIndex)?e.zIndex:s()),l=I(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),u=I(()=>[{zIndex:v(a)},v(n).popper,e.popperStyle||{}]),f=I(()=>r.value==="dialog"?"false":void 0),c=I(()=>v(n).arrow||{});return{ariaModal:f,arrowStyle:c,contentAttrs:i,contentClass:l,contentStyle:u,contentZIndex:a,updateZIndex:()=>{a.value=vt(e.zIndex)?e.zIndex:s()}}},UT=(e,t)=>{const n=G(!1),r=G();return{focusStartRef:r,trapped:n,onFocusAfterReleased:u=>{var f;((f=u.detail)==null?void 0:f.focusReason)!=="pointer"&&(r.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},onFocusoutPrevented:u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},jT=ee({...ee({name:"ElPopperContent"}),props:Mm,emits:DT,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:s,trapped:o,onFocusAfterReleased:i,onFocusAfterTrapped:a,onFocusInTrap:l,onFocusoutPrevented:u,onReleaseRequested:f}=UT(r,n),{attributes:c,arrowRef:p,contentRef:d,styles:m,instanceRef:g,role:w,update:h}=zT(r),{ariaModal:_,arrowStyle:y,contentAttrs:b,contentClass:C,contentStyle:k,updateZIndex:S}=HT(r,{styles:m,attributes:c,role:w}),A=$e(Li,void 0),R=G();Ht(bm,{arrowStyle:y,arrowRef:p,arrowOffset:R}),A&&(A.addInputId||A.removeInputId)&&Ht(Li,{...A,addInputId:Rt,removeInputId:Rt});let L;const D=(oe=!0)=>{h(),oe&&S()},P=()=>{D(!1),r.visible&&r.focusOnShow?o.value=!0:r.visible===!1&&(o.value=!1)};return rt(()=>{Ee(()=>r.triggerTargetEl,(oe,N)=>{L==null||L(),L=void 0;const j=v(oe||d.value),q=v(N||d.value);us(j)&&(L=Ee([w,()=>r.ariaLabel,_,()=>r.id],F=>{["role","aria-label","aria-modal","id"].forEach((B,J)=>{Xr(F[J])?j.removeAttribute(B):j.setAttribute(B,F[J])})},{immediate:!0})),q!==j&&us(q)&&["role","aria-label","aria-modal","id"].forEach(F=>{q.removeAttribute(F)})},{immediate:!0}),Ee(()=>r.visible,P,{immediate:!0})}),Wt(()=>{L==null||L(),L=void 0}),t({popperContentRef:d,popperInstanceRef:g,updatePopper:D,contentStyle:k}),(oe,N)=>(O(),U("div",dt({ref_key:"contentRef",ref:d},v(b),{style:v(k),class:v(C),tabindex:"-1",onMouseenter:N[0]||(N[0]=j=>oe.$emit("mouseenter",j)),onMouseleave:N[1]||(N[1]=j=>oe.$emit("mouseleave",j))}),[ke(v(MT),{trapped:v(o),"trap-on-focus-in":!0,"focus-trap-el":v(d),"focus-start-el":v(s),onFocusAfterTrapped:v(a),onFocusAfterReleased:v(i),onFocusin:v(l),onFocusoutPrevented:v(u),onReleaseRequested:v(f)},{default:ue(()=>[ye(oe.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var VT=je(jT,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const GT=xn(hT),Jl=Symbol("elTooltip"),on=Qe({...MA,...Mm,appendTo:{type:Me([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Me(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),_s=Qe({...Em,disabled:Boolean,trigger:{type:Me([String,Array]),default:"hover"},triggerKeys:{type:Me(Array),default:()=>[cr.enter,cr.space]}}),{useModelToggleProps:KT,useModelToggleEmits:WT,useModelToggle:ZT}=Ex("visible"),XT=Qe({...ym,...KT,...on,..._s,..._m,showArrow:{type:Boolean,default:!0}}),YT=[...WT,"before-show","before-hide","show","hide","open","close"],JT=(e,t)=>Te(e)?e.includes(t):e===t,Oo=(e,t,n)=>r=>{JT(v(e),t)&&n(r)},QT=ee({...ee({name:"ElTooltipTrigger"}),props:_s,setup(e,{expose:t}){const n=e,r=We("tooltip"),{controlled:s,id:o,open:i,onOpen:a,onClose:l,onToggle:u}=$e(Jl,void 0),f=G(null),c=()=>{if(v(s)||n.disabled)return!0},p=kn(n,"trigger"),d=or(c,Oo(p,"hover",a)),m=or(c,Oo(p,"hover",l)),g=or(c,Oo(p,"click",b=>{b.button===0&&u(b)})),w=or(c,Oo(p,"focus",a)),h=or(c,Oo(p,"focus",l)),_=or(c,Oo(p,"contextmenu",b=>{b.preventDefault(),u(b)})),y=or(c,b=>{const{code:C}=b;n.triggerKeys.includes(C)&&(b.preventDefault(),u(b))});return t({triggerRef:f}),(b,C)=>(O(),le(v(yT),{id:v(o),"virtual-ref":b.virtualRef,open:v(i),"virtual-triggering":b.virtualTriggering,class:W(v(r).e("trigger")),onBlur:v(h),onClick:v(g),onContextmenu:v(_),onFocus:v(w),onMouseenter:v(d),onMouseleave:v(m),onKeydown:v(y)},{default:ue(()=>[ye(b.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var eO=je(QT,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const tO=ee({...ee({name:"ElTooltipContent",inheritAttrs:!1}),props:on,setup(e,{expose:t}){const n=e,{selector:r}=cm(),s=We("tooltip"),o=G(null),i=G(!1),{controlled:a,id:l,open:u,trigger:f,onClose:c,onOpen:p,onShow:d,onHide:m,onBeforeShow:g,onBeforeHide:w}=$e(Jl,void 0),h=I(()=>n.transition||`${s.namespace.value}-fade-in-linear`),_=I(()=>n.persistent);Wt(()=>{i.value=!0});const y=I(()=>v(_)?!0:v(u)),b=I(()=>n.disabled?!1:v(u)),C=I(()=>n.appendTo||r.value),k=I(()=>{var F;return(F=n.style)!=null?F:{}}),S=I(()=>!v(u)),A=()=>{m()},R=()=>{if(v(a))return!0},L=or(R,()=>{n.enterable&&v(f)==="hover"&&p()}),D=or(R,()=>{v(f)==="hover"&&c()}),P=()=>{var F,B;(B=(F=o.value)==null?void 0:F.updatePopper)==null||B.call(F),g==null||g()},oe=()=>{w==null||w()},N=()=>{d(),q=tE(I(()=>{var F;return(F=o.value)==null?void 0:F.popperContentRef}),()=>{if(v(a))return;v(f)!=="hover"&&c()})},j=()=>{n.virtualTriggering||c()};let q;return Ee(()=>v(u),F=>{F||q==null||q()},{flush:"post"}),Ee(()=>n.content,()=>{var F,B;(B=(F=o.value)==null?void 0:F.updatePopper)==null||B.call(F)}),t({contentRef:o}),(F,B)=>(O(),le(J_,{disabled:!F.teleported,to:v(C)},[ke(jr,{name:v(h),onAfterLeave:A,onBeforeEnter:P,onAfterEnter:N,onBeforeLeave:oe},{default:ue(()=>[v(y)?Ft((O(),le(v(VT),dt({key:0,id:v(l),ref_key:"contentRef",ref:o},F.$attrs,{"aria-label":F.ariaLabel,"aria-hidden":v(S),"boundaries-padding":F.boundariesPadding,"fallback-placements":F.fallbackPlacements,"gpu-acceleration":F.gpuAcceleration,offset:F.offset,placement:F.placement,"popper-options":F.popperOptions,strategy:F.strategy,effect:F.effect,enterable:F.enterable,pure:F.pure,"popper-class":F.popperClass,"popper-style":[F.popperStyle,v(k)],"reference-el":F.referenceEl,"trigger-target-el":F.triggerTargetEl,visible:v(b),"z-index":F.zIndex,onMouseenter:v(L),onMouseleave:v(D),onBlur:j,onClose:v(c)}),{default:ue(()=>[i.value?ge("v-if",!0):ye(F.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[nr,v(b)]]):ge("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var nO=je(tO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const rO=["innerHTML"],oO={key:1},sO=ee({...ee({name:"ElTooltip"}),props:XT,emits:YT,setup(e,{expose:t,emit:n}){const r=e;IA();const s=Mi(),o=G(),i=G(),a=()=>{var h;const _=v(o);_&&((h=_.popperInstanceRef)==null||h.update())},l=G(!1),u=G(),{show:f,hide:c,hasUpdateHandler:p}=ZT({indicator:l,toggleReason:u}),{onOpen:d,onClose:m}=LA({showAfter:kn(r,"showAfter"),hideAfter:kn(r,"hideAfter"),autoClose:kn(r,"autoClose"),open:f,close:c}),g=I(()=>Tl(r.visible)&&!p.value);Ht(Jl,{controlled:g,id:s,open:js(l),trigger:kn(r,"trigger"),onOpen:h=>{d(h)},onClose:h=>{m(h)},onToggle:h=>{v(l)?m(h):d(h)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:a}),Ee(()=>r.disabled,h=>{h&&l.value&&(l.value=!1)});const w=h=>{var _,y;const b=(y=(_=i.value)==null?void 0:_.contentRef)==null?void 0:y.popperContentRef,C=(h==null?void 0:h.relatedTarget)||document.activeElement;return b&&b.contains(C)};return rp(()=>l.value&&c()),t({popperRef:o,contentRef:i,isFocusInsideContent:w,updatePopper:a,onOpen:d,onClose:m,hide:c}),(h,_)=>(O(),le(v(GT),{ref_key:"popperRef",ref:o,role:h.role},{default:ue(()=>[ke(eO,{disabled:h.disabled,trigger:h.trigger,"trigger-keys":h.triggerKeys,"virtual-ref":h.virtualRef,"virtual-triggering":h.virtualTriggering},{default:ue(()=>[h.$slots.default?ye(h.$slots,"default",{key:0}):ge("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),ke(nO,{ref_key:"contentRef",ref:i,"aria-label":h.ariaLabel,"boundaries-padding":h.boundariesPadding,content:h.content,disabled:h.disabled,effect:h.effect,enterable:h.enterable,"fallback-placements":h.fallbackPlacements,"hide-after":h.hideAfter,"gpu-acceleration":h.gpuAcceleration,offset:h.offset,persistent:h.persistent,"popper-class":h.popperClass,"popper-style":h.popperStyle,placement:h.placement,"popper-options":h.popperOptions,pure:h.pure,"raw-content":h.rawContent,"reference-el":h.referenceEl,"trigger-target-el":h.triggerTargetEl,"show-after":h.showAfter,strategy:h.strategy,teleported:h.teleported,transition:h.transition,"virtual-triggering":h.virtualTriggering,"z-index":h.zIndex,"append-to":h.appendTo},{default:ue(()=>[ye(h.$slots,"content",{},()=>[h.rawContent?(O(),U("span",{key:0,innerHTML:h.content},null,8,rO)):(O(),U("span",oO,Ke(h.content),1))]),h.showArrow?(O(),le(v(mT),{key:0,"arrow-offset":h.arrowOffset},null,8,["arrow-offset"])):ge("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var iO=je(sO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ws=xn(iO),Lm=Symbol("buttonGroupContextKey"),aO=(e,t)=>{$g({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},I(()=>e.type==="text"));const n=$e(Lm,void 0),r=UA("button"),{form:s}=Di(),o=ys(I(()=>n==null?void 0:n.size)),i=Pi(),a=G(),l=fp(),u=I(()=>e.type||(n==null?void 0:n.type)||""),f=I(()=>{var m,g,w;return(w=(g=e.autoInsertSpace)!=null?g:(m=r.value)==null?void 0:m.autoInsertSpace)!=null?w:!1}),c=I(()=>e.tag==="button"?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),p=I(()=>{var m;const g=(m=l.default)==null?void 0:m.call(l);if(f.value&&(g==null?void 0:g.length)===1){const w=g[0];if((w==null?void 0:w.type)===go){const h=w.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(h.trim())}}return!1});return{_disabled:i,_size:o,_type:u,_ref:a,_props:c,shouldAddSpace:p,handleClick:m=>{e.nativeType==="reset"&&(s==null||s.resetFields()),t("click",m)}}},Ql=Qe({size:Vl,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:Sn},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:Sn,default:()=>Ig},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Me([String,Object]),default:"button"}}),lO={click:e=>e instanceof MouseEvent};function At(e,t){cO(e)&&(e="100%");var n=uO(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function zi(e){return Math.min(1,Math.max(0,e))}function cO(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function uO(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Pm(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Hi(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Qr(e){return e.length===1?"0"+e:String(e)}function fO(e,t,n){return{r:At(e,255)*255,g:At(t,255)*255,b:At(n,255)*255}}function Dm(e,t,n){e=At(e,255),t=At(t,255),n=At(n,255);var r=Math.max(e,t,n),s=Math.min(e,t,n),o=0,i=0,a=(r+s)/2;if(r===s)i=0,o=0;else{var l=r-s;switch(i=a>.5?l/(2-r-s):l/(r+s),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:i,l:a}}function ec(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dO(e,t,n){var r,s,o;if(e=At(e,360),t=At(t,100),n=At(n,100),t===0)s=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=ec(a,i,e+1/3),s=ec(a,i,e),o=ec(a,i,e-1/3)}return{r:r*255,g:s*255,b:o*255}}function $m(e,t,n){e=At(e,255),t=At(t,255),n=At(n,255);var r=Math.max(e,t,n),s=Math.min(e,t,n),o=0,i=r,a=r-s,l=r===0?0:a/r;if(r===s)o=0;else{switch(r){case e:o=(t-n)/a+(t<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4;break}o/=6}return{h:o,s:l,v:i}}function pO(e,t,n){e=At(e,360)*6,t=At(t,100),n=At(n,100);var r=Math.floor(e),s=e-r,o=n*(1-t),i=n*(1-s*t),a=n*(1-(1-s)*t),l=r%6,u=[n,i,o,o,a,n][l],f=[a,n,n,i,o,o][l],c=[o,o,a,n,n,i][l];return{r:u*255,g:f*255,b:c*255}}function Nm(e,t,n,r){var s=[Qr(Math.round(e).toString(16)),Qr(Math.round(t).toString(16)),Qr(Math.round(n).toString(16))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function hO(e,t,n,r,s){var o=[Qr(Math.round(e).toString(16)),Qr(Math.round(t).toString(16)),Qr(Math.round(n).toString(16)),Qr(gO(r))];return s&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function gO(e){return Math.round(parseFloat(e)*255).toString(16)}function qm(e){return sn(e)/255}function sn(e){return parseInt(e,16)}function mO(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var tc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function vO(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,o=null,i=!1,a=!1;return typeof e=="string"&&(e=_O(e)),typeof e=="object"&&(fr(e.r)&&fr(e.g)&&fr(e.b)?(t=fO(e.r,e.g,e.b),i=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):fr(e.h)&&fr(e.s)&&fr(e.v)?(r=Hi(e.s),s=Hi(e.v),t=pO(e.h,r,s),i=!0,a="hsv"):fr(e.h)&&fr(e.s)&&fr(e.l)&&(r=Hi(e.s),o=Hi(e.l),t=dO(e.h,r,o),i=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Pm(n),{ok:i,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var bO="[-\\+]?\\d+%?",yO="[-\\+]?\\d*\\.\\d+%?",Or="(?:".concat(yO,")|(?:").concat(bO,")"),nc="[\\s|\\(]+(".concat(Or,")[,|\\s]+(").concat(Or,")[,|\\s]+(").concat(Or,")\\s*\\)?"),rc="[\\s|\\(]+(".concat(Or,")[,|\\s]+(").concat(Or,")[,|\\s]+(").concat(Or,")[,|\\s]+(").concat(Or,")\\s*\\)?"),Rn={CSS_UNIT:new RegExp(Or),rgb:new RegExp("rgb"+nc),rgba:new RegExp("rgba"+rc),hsl:new RegExp("hsl"+nc),hsla:new RegExp("hsla"+rc),hsv:new RegExp("hsv"+nc),hsva:new RegExp("hsva"+rc),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function _O(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(tc[e])e=tc[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Rn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Rn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Rn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Rn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Rn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Rn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Rn.hex8.exec(e),n?{r:sn(n[1]),g:sn(n[2]),b:sn(n[3]),a:qm(n[4]),format:t?"name":"hex8"}:(n=Rn.hex6.exec(e),n?{r:sn(n[1]),g:sn(n[2]),b:sn(n[3]),format:t?"name":"hex"}:(n=Rn.hex4.exec(e),n?{r:sn(n[1]+n[1]),g:sn(n[2]+n[2]),b:sn(n[3]+n[3]),a:qm(n[4]+n[4]),format:t?"name":"hex8"}:(n=Rn.hex3.exec(e),n?{r:sn(n[1]+n[1]),g:sn(n[2]+n[2]),b:sn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function fr(e){return!!Rn.CSS_UNIT.exec(String(e))}var wO=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=mO(t)),this.originalInput=t;var s=vO(t);this.originalInput=t,this.r=s.r,this.g=s.g,this.b=s.b,this.a=s.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:s.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=s.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,s,o=t.r/255,i=t.g/255,a=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?s=a/12.92:s=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*s},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Pm(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=$m(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=$m(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(s,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(s,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Dm(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Dm(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(s,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(s,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Nm(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),hO(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(At(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(At(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Nm(this.r,this.g,this.b,!1),n=0,r=Object.entries(tc);n<r.length;n++){var s=r[n],o=s[0],i=s[1];if(t===i)return o}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,s=this.a<1&&this.a>=0,o=!n&&s&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=zi(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=zi(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=zi(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=zi(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),s=new e(t).toRgb(),o=n/100,i={r:(s.r-r.r)*o+r.r,g:(s.g-r.g)*o+r.g,b:(s.b-r.b)*o+r.b,a:(s.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),s=360/n,o=[this];for(r.h=(r.h-(s*t>>1)+720)%360;--t;)r.h=(r.h+s)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,s=n.s,o=n.v,i=[],a=1/t;t--;)i.push(new e({h:r,s,v:o})),o=(o+a)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),s=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/s,g:(n.g*n.a+r.g*r.a*(1-n.a))/s,b:(n.b*n.a+r.b*r.a*(1-n.a))/s,a:s})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,s=[this],o=360/t,i=1;i<t;i++)s.push(new e({h:(r+i*o)%360,s:n.s,l:n.l}));return s},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Rr(e,t=20){return e.mix("#141414",t).toString()}function kO(e){const t=Pi(),n=We("button");return I(()=>{let r={};const s=e.color;if(s){const o=new wO(s),i=e.dark?o.tint(20).toString():Rr(o,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Rr(o,90):o.tint(90).toString(),"text-color":s,"border-color":e.dark?Rr(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":s,"hover-border-color":s,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Rr(o,90):o.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Rr(o,50):o.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Rr(o,80):o.tint(80).toString());else{const a=e.dark?Rr(o,30):o.tint(30).toString(),l=o.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":s,"text-color":l,"border-color":s,"hover-bg-color":a,"hover-text-color":l,"hover-border-color":a,"active-bg-color":i,"active-border-color":i}),t.value){const u=e.dark?Rr(o,50):o.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=u,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=u}}}return r})}const EO=ee({...ee({name:"ElButton"}),props:Ql,emits:lO,setup(e,{expose:t,emit:n}){const r=e,s=kO(r),o=We("button"),{_ref:i,_size:a,_type:l,_disabled:u,_props:f,shouldAddSpace:c,handleClick:p}=aO(r,n);return t({ref:i,size:a,type:l,disabled:u,shouldAddSpace:c}),(d,m)=>(O(),le(Bt(d.tag),dt({ref_key:"_ref",ref:i},v(f),{class:[v(o).b(),v(o).m(v(l)),v(o).m(v(a)),v(o).is("disabled",v(u)),v(o).is("loading",d.loading),v(o).is("plain",d.plain),v(o).is("round",d.round),v(o).is("circle",d.circle),v(o).is("text",d.text),v(o).is("link",d.link),v(o).is("has-bg",d.bg)],style:v(s),onClick:v(p)}),{default:ue(()=>[d.loading?(O(),U(Ze,{key:0},[d.$slots.loading?ye(d.$slots,"loading",{key:0}):(O(),le(v(Qt),{key:1,class:W(v(o).is("loading"))},{default:ue(()=>[(O(),le(Bt(d.loadingIcon)))]),_:1},8,["class"]))],64)):d.icon||d.$slots.icon?(O(),le(v(Qt),{key:1},{default:ue(()=>[d.icon?(O(),le(Bt(d.icon),{key:0})):ye(d.$slots,"icon",{key:1})]),_:3})):ge("v-if",!0),d.$slots.default?(O(),U("span",{key:2,class:W({[v(o).em("text","expand")]:v(c)})},[ye(d.$slots,"default")],2)):ge("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var CO=je(EO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const SO={size:Ql.size,type:Ql.type},xO=ee({...ee({name:"ElButtonGroup"}),props:SO,setup(e){const t=e;Ht(Lm,wn({size:kn(t,"size"),type:kn(t,"type")}));const n=We("button");return(r,s)=>(O(),U("div",{class:W(`${v(n).b("group")}`)},[ye(r.$slots,"default")],2))}});var Fm=je(xO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Bm=xn(CO,{ButtonGroup:Fm});Il(Fm);const Ir=new Map;let zm;Pt&&(document.addEventListener("mousedown",e=>zm=e),document.addEventListener("mouseup",e=>{for(const t of Ir.values())for(const{documentHandler:n}of t)n(e,zm)}));function Hm(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:us(t.arg)&&n.push(t.arg),function(r,s){const o=t.instance.popperRef,i=r.target,a=s==null?void 0:s.target,l=!t||!t.instance,u=!i||!a,f=e.contains(i)||e.contains(a),c=e===i,p=n.length&&n.some(m=>m==null?void 0:m.contains(i))||n.length&&n.includes(a),d=o&&(o.contains(i)||o.contains(a));l||u||f||c||p||d||t.value(r,s)}}const Um={beforeMount(e,t){Ir.has(e)||Ir.set(e,[]),Ir.get(e).push({documentHandler:Hm(e,t),bindingFn:t.value})},updated(e,t){Ir.has(e)||Ir.set(e,[]);const n=Ir.get(e),r=n.findIndex(o=>o.bindingFn===t.oldValue),s={documentHandler:Hm(e,t),bindingFn:t.value};r>=0?n.splice(r,1,s):n.push(s)},unmounted(e){Ir.delete(e)}},jm=Qe({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:fs,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),AO=ee({...ee({name:"ElTag"}),props:jm,emits:{close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},setup(e,{emit:t}){const n=e,r=ys(),s=We("tag"),o=I(()=>{const{type:l,hit:u,effect:f,closable:c,round:p}=n;return[s.b(),s.is("closable",c),s.m(l),s.m(r.value),s.m(f),s.is("hit",u),s.is("round",p)]}),i=l=>{t("close",l)},a=l=>{t("click",l)};return(l,u)=>l.disableTransitions?(O(),U("span",{key:0,class:W(v(o)),style:nt({backgroundColor:l.color}),onClick:a},[ne("span",{class:W(v(s).e("content"))},[ye(l.$slots,"default")],2),l.closable?(O(),le(v(Qt),{key:0,class:W(v(s).e("close")),onClick:nn(i,["stop"])},{default:ue(()=>[ke(v(Rl))]),_:1},8,["class","onClick"])):ge("v-if",!0)],6)):(O(),le(jr,{key:1,name:`${v(s).namespace.value}-zoom-in-center`,appear:""},{default:ue(()=>[ne("span",{class:W(v(o)),style:nt({backgroundColor:l.color}),onClick:a},[ne("span",{class:W(v(s).e("content"))},[ye(l.$slots,"default")],2),l.closable?(O(),le(v(Qt),{key:0,class:W(v(s).e("close")),onClick:nn(i,["stop"])},{default:ue(()=>[ke(v(Rl))]),_:1},8,["class","onClick"])):ge("v-if",!0)],6)]),_:3},8,["name"]))}});var TO=je(AO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const OO=xn(TO),RO=Qe({color:{type:Me(Object),required:!0},vertical:{type:Boolean,default:!1}});let oc=!1;function ks(e,t){if(!Pt)return;const n=function(o){var i;(i=t.drag)==null||i.call(t,o)},r=function(o){var i;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,oc=!1,(i=t.end)==null||i.call(t,o)},s=function(o){var i;oc||(o.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),oc=!0,(i=t.start)==null||i.call(t,o))};e.addEventListener("mousedown",s),e.addEventListener("touchstart",s)}const IO=e=>{const t=mt(),n=Xn(),r=Xn();function s(i){i.target!==n.value&&o(i)}function o(i){if(!r.value||!n.value)return;const l=t.vnode.el.getBoundingClientRect(),{clientX:u,clientY:f}=pl(i);if(e.vertical){let c=f-l.top;c=Math.max(n.value.offsetHeight/2,c),c=Math.min(c,l.height-n.value.offsetHeight/2),e.color.set("alpha",Math.round((c-n.value.offsetHeight/2)/(l.height-n.value.offsetHeight)*100))}else{let c=u-l.left;c=Math.max(n.value.offsetWidth/2,c),c=Math.min(c,l.width-n.value.offsetWidth/2),e.color.set("alpha",Math.round((c-n.value.offsetWidth/2)/(l.width-n.value.offsetWidth)*100))}}return{thumb:n,bar:r,handleDrag:o,handleClick:s}},MO=(e,{bar:t,thumb:n,handleDrag:r})=>{const s=mt(),o=We("color-alpha-slider"),i=G(0),a=G(0),l=G();function u(){if(!n.value||e.vertical)return 0;const _=s.vnode.el,y=e.color.get("alpha");return _?Math.round(y*(_.offsetWidth-n.value.offsetWidth/2)/100):0}function f(){if(!n.value)return 0;const _=s.vnode.el;if(!e.vertical)return 0;const y=e.color.get("alpha");return _?Math.round(y*(_.offsetHeight-n.value.offsetHeight/2)/100):0}function c(){if(e.color&&e.color.value){const{r:_,g:y,b}=e.color.toRgb();return`linear-gradient(to right, rgba(${_}, ${y}, ${b}, 0) 0%, rgba(${_}, ${y}, ${b}, 1) 100%)`}return""}function p(){i.value=u(),a.value=f(),l.value=c()}rt(()=>{if(!t.value||!n.value)return;const _={drag:y=>{r(y)},end:y=>{r(y)}};ks(t.value,_),ks(n.value,_),p()}),Ee(()=>e.color.get("alpha"),()=>p()),Ee(()=>e.color.value,()=>p());const d=I(()=>[o.b(),o.is("vertical",e.vertical)]),m=I(()=>o.e("bar")),g=I(()=>o.e("thumb")),w=I(()=>({background:l.value})),h=I(()=>({left:wo(i.value),top:wo(a.value)}));return{rootKls:d,barKls:m,barStyle:w,thumbKls:g,thumbStyle:h,update:p}},LO=ee({...ee({name:"ElColorAlphaSlider"}),props:RO,setup(e,{expose:t}){const n=e,{bar:r,thumb:s,handleDrag:o,handleClick:i}=IO(n),{rootKls:a,barKls:l,barStyle:u,thumbKls:f,thumbStyle:c,update:p}=MO(n,{bar:r,thumb:s,handleDrag:o});return t({update:p,bar:r,thumb:s}),(d,m)=>(O(),U("div",{class:W(v(a))},[ne("div",{ref_key:"bar",ref:r,class:W(v(l)),style:nt(v(u)),onClick:m[0]||(m[0]=(...g)=>v(i)&&v(i)(...g))},null,6),ne("div",{ref_key:"thumb",ref:s,class:W(v(f)),style:nt(v(c))},null,6)],2))}});var PO=je(LO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const DO=ee({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=We("color-hue-slider"),n=mt(),r=G(),s=G(),o=G(0),i=G(0),a=I(()=>e.color.get("hue"));Ee(()=>a.value,()=>{p()});function l(d){d.target!==r.value&&u(d)}function u(d){if(!s.value||!r.value)return;const g=n.vnode.el.getBoundingClientRect(),{clientX:w,clientY:h}=pl(d);let _;if(e.vertical){let y=h-g.top;y=Math.min(y,g.height-r.value.offsetHeight/2),y=Math.max(r.value.offsetHeight/2,y),_=Math.round((y-r.value.offsetHeight/2)/(g.height-r.value.offsetHeight)*360)}else{let y=w-g.left;y=Math.min(y,g.width-r.value.offsetWidth/2),y=Math.max(r.value.offsetWidth/2,y),_=Math.round((y-r.value.offsetWidth/2)/(g.width-r.value.offsetWidth)*360)}e.color.set("hue",_)}function f(){if(!r.value)return 0;const d=n.vnode.el;if(e.vertical)return 0;const m=e.color.get("hue");return d?Math.round(m*(d.offsetWidth-r.value.offsetWidth/2)/360):0}function c(){if(!r.value)return 0;const d=n.vnode.el;if(!e.vertical)return 0;const m=e.color.get("hue");return d?Math.round(m*(d.offsetHeight-r.value.offsetHeight/2)/360):0}function p(){o.value=f(),i.value=c()}return rt(()=>{if(!s.value||!r.value)return;const d={drag:m=>{u(m)},end:m=>{u(m)}};ks(s.value,d),ks(r.value,d),p()}),{bar:s,thumb:r,thumbLeft:o,thumbTop:i,hueValue:a,handleClick:l,update:p,ns:t}}});function $O(e,t,n,r,s,o){return O(),U("div",{class:W([e.ns.b(),e.ns.is("vertical",e.vertical)])},[ne("div",{ref:"bar",class:W(e.ns.e("bar")),onClick:t[0]||(t[0]=(...i)=>e.handleClick&&e.handleClick(...i))},null,2),ne("div",{ref:"thumb",class:W(e.ns.e("thumb")),style:nt({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var NO=je(DO,[["render",$O],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const qO=Qe({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:Vl,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},predefine:{type:Me(Array)},validateEvent:{type:Boolean,default:!0}}),FO={[Xt]:e=>qe(e)||Xr(e),[Ml]:e=>qe(e)||Xr(e),activeChange:e=>qe(e)||Xr(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Vm=Symbol("colorPickerContextKey"),Gm=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},BO=function(e){return typeof e=="string"&&e.includes(".")&&Number.parseFloat(e)===1},zO=function(e){return typeof e=="string"&&e.includes("%")},Ro=function(e,t){BO(e)&&(e="100%");const n=zO(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),n&&(e=Number.parseInt(`${e*t}`,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},Km={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Ui=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${Km[t]||t}${Km[n]||n}`},Wm=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${Ui(e)}${Ui(t)}${Ui(n)}`},sc={A:10,B:11,C:12,D:13,E:14,F:15},eo=function(e){return e.length===2?(sc[e[0].toUpperCase()]||+e[0])*16+(sc[e[1].toUpperCase()]||+e[1]):sc[e[1].toUpperCase()]||+e[1]},HO=function(e,t,n){t=t/100,n=n/100;let r=t;const s=Math.max(n,.01);n*=2,t*=n<=1?n:2-n,r*=s<=1?s:2-s;const o=(n+t)/2,i=n===0?2*r/(s+r):2*t/(n+t);return{h:e,s:i*100,v:o*100}},Zm=(e,t,n)=>{e=Ro(e,255),t=Ro(t,255),n=Ro(n,255);const r=Math.max(e,t,n),s=Math.min(e,t,n);let o;const i=r,a=r-s,l=r===0?0:a/r;if(r===s)o=0;else{switch(r){case e:{o=(t-n)/a+(t<n?6:0);break}case t:{o=(n-e)/a+2;break}case n:{o=(e-t)/a+4;break}}o/=6}return{h:o*360,s:l*100,v:i*100}},Es=function(e,t,n){e=Ro(e,360)*6,t=Ro(t,100),n=Ro(n,100);const r=Math.floor(e),s=e-r,o=n*(1-t),i=n*(1-s*t),a=n*(1-(1-s)*t),l=r%6,u=[n,i,o,o,a,n][l],f=[a,n,n,i,o,o][l],c=[o,o,a,n,n,i][l];return{r:Math.round(u*255),g:Math.round(f*255),b:Math.round(c*255)}};class Cs{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const n in t)He(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const r in t)He(t,r)&&this.set(r,t[r]);return}this[`_${t}`]=n,this.doOnChange()}get(t){return t==="alpha"?Math.floor(this[`_${t}`]):this[`_${t}`]}toRgb(){return Es(this._hue,this._saturation,this._value)}fromString(t){if(!t){this._hue=0,this._saturation=100,this._value=100,this.doOnChange();return}const n=(r,s,o)=>{this._hue=Math.max(0,Math.min(360,r)),this._saturation=Math.max(0,Math.min(100,s)),this._value=Math.max(0,Math.min(100,o)),this.doOnChange()};if(t.includes("hsl")){const r=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(s=>s!=="").map((s,o)=>o>2?Number.parseFloat(s):Number.parseInt(s,10));if(r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3){const{h:s,s:o,v:i}=HO(r[0],r[1],r[2]);n(s,o,i)}}else if(t.includes("hsv")){const r=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(s=>s!=="").map((s,o)=>o>2?Number.parseFloat(s):Number.parseInt(s,10));r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3&&n(r[0],r[1],r[2])}else if(t.includes("rgb")){const r=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(s=>s!=="").map((s,o)=>o>2?Number.parseFloat(s):Number.parseInt(s,10));if(r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3){const{h:s,s:o,v:i}=Zm(r[0],r[1],r[2]);n(s,o,i)}}else if(t.includes("#")){const r=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(r))return;let s,o,i;r.length===3?(s=eo(r[0]+r[0]),o=eo(r[1]+r[1]),i=eo(r[2]+r[2])):(r.length===6||r.length===8)&&(s=eo(r.slice(0,2)),o=eo(r.slice(2,4)),i=eo(r.slice(4,6))),r.length===8?this._alpha=eo(r.slice(6))/255*100:(r.length===3||r.length===6)&&(this._alpha=100);const{h:a,s:l,v:u}=Zm(s,o,i);n(a,l,u)}}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:n,_value:r,_alpha:s,format:o}=this;if(this.enableAlpha)switch(o){case"hsl":{const i=Gm(t,n/100,r/100);this.value=`hsla(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${t}, ${Math.round(n)}%, ${Math.round(r)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${Wm(Es(t,n,r))}${Ui(s*255/100)}`;break}default:{const{r:i,g:a,b:l}=Es(t,n,r);this.value=`rgba(${i}, ${a}, ${l}, ${this.get("alpha")/100})`}}else switch(o){case"hsl":{const i=Gm(t,n/100,r/100);this.value=`hsl(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${t}, ${Math.round(n)}%, ${Math.round(r)}%)`;break}case"rgb":{const{r:i,g:a,b:l}=Es(t,n,r);this.value=`rgb(${i}, ${a}, ${l})`;break}default:this.value=Wm(Es(t,n,r))}}}const UO=ee({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const t=We("color-predefine"),{currentColor:n}=$e(Vm),r=G(o(e.colors,e.color));Ee(()=>n.value,i=>{const a=new Cs;a.fromString(i),r.value.forEach(l=>{l.selected=a.compare(l)})}),Za(()=>{r.value=o(e.colors,e.color)});function s(i){e.color.fromString(e.colors[i])}function o(i,a){return i.map(l=>{const u=new Cs;return u.enableAlpha=!0,u.format="rgba",u.fromString(l),u.selected=u.value===a.value,u})}return{rgbaColors:r,handleSelect:s,ns:t}}}),jO=["onClick"];function VO(e,t,n,r,s,o){return O(),U("div",{class:W(e.ns.b())},[ne("div",{class:W(e.ns.e("colors"))},[(O(!0),U(Ze,null,Cn(e.rgbaColors,(i,a)=>(O(),U("div",{key:e.colors[a],class:W([e.ns.e("color-selector"),e.ns.is("alpha",i._alpha<100),{selected:i.selected}]),onClick:l=>e.handleSelect(a)},[ne("div",{style:nt({backgroundColor:i.value})},null,4)],10,jO))),128))],2)],2)}var GO=je(UO,[["render",VO],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const KO=ee({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=We("color-svpanel"),n=mt(),r=G(0),s=G(0),o=G("hsl(0, 100%, 50%)"),i=I(()=>{const u=e.color.get("hue"),f=e.color.get("value");return{hue:u,value:f}});function a(){const u=e.color.get("saturation"),f=e.color.get("value"),c=n.vnode.el,{clientWidth:p,clientHeight:d}=c;s.value=u*p/100,r.value=(100-f)*d/100,o.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function l(u){const c=n.vnode.el.getBoundingClientRect(),{clientX:p,clientY:d}=pl(u);let m=p-c.left,g=d-c.top;m=Math.max(0,m),m=Math.min(m,c.width),g=Math.max(0,g),g=Math.min(g,c.height),s.value=m,r.value=g,e.color.set({saturation:m/c.width*100,value:100-g/c.height*100})}return Ee(()=>i.value,()=>{a()}),rt(()=>{ks(n.vnode.el,{drag:u=>{l(u)},end:u=>{l(u)}}),a()}),{cursorTop:r,cursorLeft:s,background:o,colorValue:i,handleDrag:l,update:a,ns:t}}}),WO=[ne("div",null,null,-1)];function ZO(e,t,n,r,s,o){return O(),U("div",{class:W(e.ns.b()),style:nt({backgroundColor:e.background})},[ne("div",{class:W(e.ns.e("white"))},null,2),ne("div",{class:W(e.ns.e("black"))},null,2),ne("div",{class:W(e.ns.e("cursor")),style:nt({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},WO,6)],6)}var XO=je(KO,[["render",ZO],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const YO=["onKeydown"],JO=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],QO=ee({...ee({name:"ElColorPicker"}),props:qO,emits:FO,setup(e,{expose:t,emit:n}){const r=e,{t:s}=An(),o=We("color"),{formItem:i}=Di(),a=ys(),l=Pi(),{inputId:u,isLabeledByFormItem:f}=hm(r,{formItemContext:i}),c=G(),p=G(),d=G(),m=G(),g=G(),w=G(),{isFocused:h,handleFocus:_,handleBlur:y}=dm(g,{beforeBlur(me){var Ne;return(Ne=m.value)==null?void 0:Ne.isFocusInsideContent(me)},afterBlur(){q(!1),te()}}),b=me=>{if(l.value)return ln();_(me)};let C=!0;const k=wn(new Cs({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue})),S=G(!1),A=G(!1),R=G(""),L=I(()=>!r.modelValue&&!A.value?"transparent":j(k,r.showAlpha)),D=I(()=>!r.modelValue&&!A.value?"":k.value),P=I(()=>f.value?void 0:r.label||s("el.colorpicker.defaultLabel")),oe=I(()=>f.value?i==null?void 0:i.labelId:void 0),N=I(()=>[o.b("picker"),o.is("disabled",l.value),o.bm("picker",a.value),o.is("focused",h.value)]);function j(me,Ne){if(!(me instanceof Cs))throw new TypeError("color should be instance of _color Class");const{r:x,g:T,b:z}=me.toRgb();return Ne?`rgba(${x}, ${T}, ${z}, ${me.get("alpha")/100})`:`rgb(${x}, ${T}, ${z})`}function q(me){S.value=me}const F=xl(q,100,{leading:!0});function B(){l.value||q(!0)}function J(){F(!1),te()}function te(){Ue(()=>{r.modelValue?k.fromString(r.modelValue):(k.value="",Ue(()=>{A.value=!1}))})}function Ae(){l.value||F(!S.value)}function ve(){k.fromString(R.value)}function Fe(){const me=k.value;n(Xt,me),n("change",me),r.validateEvent&&(i==null||i.validate("change").catch(Ne=>void 0)),F(!1),Ue(()=>{const Ne=new Cs({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});k.compare(Ne)||te()})}function et(){F(!1),n(Xt,null),n("change",null),r.modelValue!==null&&r.validateEvent&&(i==null||i.validate("change").catch(me=>void 0)),te()}function ot(me){if(S.value&&(J(),h.value)){const Ne=new FocusEvent("focus",me);y(Ne)}}function pt(me){me.preventDefault(),me.stopPropagation(),q(!1),te()}function bt(me){switch(me.code){case cr.enter:case cr.space:me.preventDefault(),me.stopPropagation(),B(),w.value.focus();break;case cr.esc:pt(me);break}}function ft(){g.value.focus()}function ln(){g.value.blur()}return rt(()=>{r.modelValue&&(R.value=D.value)}),Ee(()=>r.modelValue,me=>{me?me&&me!==k.value&&(C=!1,k.fromString(me)):A.value=!1}),Ee(()=>D.value,me=>{R.value=me,C&&n("activeChange",me),C=!0}),Ee(()=>k.value,()=>{!r.modelValue&&!A.value&&(A.value=!0)}),Ee(()=>S.value,()=>{Ue(()=>{var me,Ne,x;(me=c.value)==null||me.update(),(Ne=p.value)==null||Ne.update(),(x=d.value)==null||x.update()})}),Ht(Vm,{currentColor:D}),t({color:k,show:B,hide:J,focus:ft,blur:ln}),(me,Ne)=>(O(),le(v(ws),{ref_key:"popper",ref:m,visible:S.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[v(o).be("picker","panel"),v(o).b("dropdown"),me.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${v(o).namespace.value}-zoom-in-top`,persistent:"",onHide:Ne[2]||(Ne[2]=x=>q(!1))},{content:ue(()=>[Ft((O(),U("div",{onKeydown:jt(pt,["esc"])},[ne("div",{class:W(v(o).be("dropdown","main-wrapper"))},[ke(NO,{ref_key:"hue",ref:c,class:"hue-slider",color:v(k),vertical:""},null,8,["color"]),ke(XO,{ref_key:"sv",ref:p,color:v(k)},null,8,["color"])],2),me.showAlpha?(O(),le(PO,{key:0,ref_key:"alpha",ref:d,color:v(k)},null,8,["color"])):ge("v-if",!0),me.predefine?(O(),le(GO,{key:1,ref:"predefine",color:v(k),colors:me.predefine},null,8,["color","colors"])):ge("v-if",!0),ne("div",{class:W(v(o).be("dropdown","btns"))},[ne("span",{class:W(v(o).be("dropdown","value"))},[ke(v($i),{ref_key:"inputRef",ref:w,modelValue:R.value,"onUpdate:modelValue":Ne[0]||(Ne[0]=x=>R.value=x),"validate-event":!1,size:"small",onKeyup:jt(ve,["enter"]),onBlur:ve},null,8,["modelValue","onKeyup"])],2),ke(v(Bm),{class:W(v(o).be("dropdown","link-btn")),text:"",size:"small",onClick:et},{default:ue(()=>[Ur(Ke(v(s)("el.colorpicker.clear")),1)]),_:1},8,["class"]),ke(v(Bm),{plain:"",size:"small",class:W(v(o).be("dropdown","btn")),onClick:Fe},{default:ue(()=>[Ur(Ke(v(s)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,YO)),[[v(Um),ot]])]),default:ue(()=>[ne("div",{id:v(u),ref_key:"triggerRef",ref:g,class:W(v(N)),role:"button","aria-label":v(P),"aria-labelledby":v(oe),"aria-description":v(s)("el.colorpicker.description",{color:me.modelValue||""}),"aria-disabled":v(l),tabindex:v(l)?-1:me.tabindex,onKeydown:bt,onFocus:b,onBlur:Ne[1]||(Ne[1]=(...x)=>v(y)&&v(y)(...x))},[v(l)?(O(),U("div",{key:0,class:W(v(o).be("picker","mask"))},null,2)):ge("v-if",!0),ne("div",{class:W(v(o).be("picker","trigger")),onClick:Ae},[ne("span",{class:W([v(o).be("picker","color"),v(o).is("alpha",me.showAlpha)])},[ne("span",{class:W(v(o).be("picker","color-inner")),style:nt({backgroundColor:v(L)})},[Ft(ke(v(Qt),{class:W([v(o).be("picker","icon"),v(o).is("icon-arrow-down")])},{default:ue(()=>[ke(v(Rg))]),_:1},8,["class"]),[[nr,me.modelValue||A.value]]),Ft(ke(v(Qt),{class:W([v(o).be("picker","empty"),v(o).is("icon-close")])},{default:ue(()=>[ke(v(Rl))]),_:1},8,["class"]),[[nr,!me.modelValue&&!A.value]])],6)],2)],2)],42,JO)]),_:1},8,["visible","popper-class","transition"]))}});var eR=je(QO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const tR=xn(eR),nR=ee({inheritAttrs:!1});function rR(e,t,n,r,s,o){return ye(e.$slots,"default")}var oR=je(nR,[["render",rR],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const sR=ee({name:"ElCollectionItem",inheritAttrs:!1});function iR(e,t,n,r,s,o){return ye(e.$slots,"default")}var aR=je(sR,[["render",iR],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const lR="data-el-collection-item",cR=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),s=Symbol(n),o={...oR,name:t,setup(){const a=G(null),l=new Map;Ht(r,{itemMap:l,getItems:()=>{const f=v(a);if(!f)return[];const c=Array.from(f.querySelectorAll(`[${lR}]`));return[...l.values()].sort((d,m)=>c.indexOf(d.ref)-c.indexOf(m.ref))},collectionRef:a})}},i={...aR,name:n,setup(a,{attrs:l}){const u=G(null),f=$e(r,void 0);Ht(s,{collectionItemRef:u}),rt(()=>{const c=v(u);c&&f.itemMap.set(c,{ref:c,...l})}),Wt(()=>{const c=v(u);f.itemMap.delete(c)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:s,ElCollection:o,ElCollectionItem:i}},ic=Qe({trigger:_s.trigger,effect:{...on.effect,default:"light"},type:{type:Me(String)},placement:{type:Me(String),default:"bottom"},popperOptions:{type:Me(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Me([Number,String]),default:0},maxHeight:{type:Me([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:Me(Object)},teleported:on.teleported});Qe({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Sn}}),Qe({onKeydown:{type:Me(Function)}}),cR("Dropdown");const Xm=Symbol("elPaginationKey"),uR=Qe({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:Sn}}),fR={click:e=>e instanceof MouseEvent},dR=["disabled","aria-label","aria-disabled"],pR={key:0},hR=ee({...ee({name:"ElPaginationPrev"}),props:uR,emits:fR,setup(e){const t=e,{t:n}=An(),r=I(()=>t.disabled||t.currentPage<=1);return(s,o)=>(O(),U("button",{type:"button",class:"btn-prev",disabled:v(r),"aria-label":s.prevText||v(n)("el.pagination.prev"),"aria-disabled":v(r),onClick:o[0]||(o[0]=i=>s.$emit("click",i))},[s.prevText?(O(),U("span",pR,Ke(s.prevText),1)):(O(),le(v(Qt),{key:1},{default:ue(()=>[(O(),le(Bt(s.prevIcon)))]),_:1}))],8,dR))}});var gR=je(hR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const mR=Qe({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:Sn}}),vR=["disabled","aria-label","aria-disabled"],bR={key:0},yR=ee({...ee({name:"ElPaginationNext"}),props:mR,emits:["click"],setup(e){const t=e,{t:n}=An(),r=I(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(s,o)=>(O(),U("button",{type:"button",class:"btn-next",disabled:v(r),"aria-label":s.nextText||v(n)("el.pagination.next"),"aria-disabled":v(r),onClick:o[0]||(o[0]=i=>s.$emit("click",i))},[s.nextText?(O(),U("span",bR,Ke(s.nextText),1)):(O(),le(v(Qt),{key:1},{default:ue(()=>[(O(),le(Bt(s.nextIcon)))]),_:1}))],8,vR))}});var _R=je(yR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const Ym=Symbol("ElSelectGroup"),ji=Symbol("ElSelect");function wR(e,t){const n=$e(ji),r=$e(Ym,{disabled:!1}),s=I(()=>De(e.value)),o=I(()=>n.props.multiple?c(n.props.modelValue,e.value):p(e.value,n.props.modelValue)),i=I(()=>{if(n.props.multiple){const g=n.props.modelValue||[];return!o.value&&g.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),a=I(()=>e.label||(s.value?"":e.value)),l=I(()=>e.value||e.label||""),u=I(()=>e.disabled||t.groupDisabled||i.value),f=mt(),c=(g=[],w)=>{if(s.value){const h=n.props.valueKey;return g&&g.some(_=>Pe(rn(_,h))===rn(w,h))}else return g&&g.includes(w)},p=(g,w)=>{if(s.value){const{valueKey:h}=n.props;return rn(g,h)===rn(w,h)}else return g===w},d=()=>{!e.disabled&&!r.disabled&&(n.hoverIndex=n.optionsArray.indexOf(f.proxy))};Ee(()=>a.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),Ee(()=>e.value,(g,w)=>{const{remote:h,valueKey:_}=n.props;if(Object.is(g,w)||(n.onOptionDestroy(w,f.proxy),n.onOptionCreate(f.proxy)),!e.created&&!h){if(_&&De(g)&&De(w)&&g[_]===w[_])return;n.setSelected()}}),Ee(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0});const{queryChange:m}=Pe(n);return Ee(m,g=>{const{query:w}=v(g),h=new RegExp(N2(w),"i");t.visible=h.test(a.value)||e.created,t.visible||n.filteredOptionsCount--},{immediate:!0}),{select:n,currentLabel:a,currentValue:l,itemSelected:o,isDisabled:u,hoverItem:d}}const kR=ee({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=We("select"),n=Mi(),r=I(()=>[t.be("dropdown","item"),t.is("disabled",v(a)),{selected:v(i),hover:v(c)}]),s=wn({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:o,itemSelected:i,isDisabled:a,select:l,hoverItem:u}=wR(e,s),{visible:f,hover:c}=Gs(s),p=mt().proxy;l.onOptionCreate(p),Wt(()=>{const m=p.value,{selected:g}=l,h=(l.props.multiple?g:[g]).some(_=>_.value===p.value);Ue(()=>{l.cachedOptions.get(m)===p&&!h&&l.cachedOptions.delete(m)}),l.onOptionDestroy(m,p)});function d(){e.disabled!==!0&&s.groupDisabled!==!0&&l.handleOptionSelect(p)}return{ns:t,id:n,containerKls:r,currentLabel:o,itemSelected:i,isDisabled:a,select:l,hoverItem:u,visible:f,hover:c,selectOptionClick:d,states:s}}}),ER=["id","aria-disabled","aria-selected"];function CR(e,t,n,r,s,o){return Ft((O(),U("li",{id:e.id,class:W(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:t[0]||(t[0]=(...i)=>e.hoverItem&&e.hoverItem(...i)),onClick:t[1]||(t[1]=nn((...i)=>e.selectOptionClick&&e.selectOptionClick(...i),["stop"]))},[ye(e.$slots,"default",{},()=>[ne("span",null,Ke(e.currentLabel),1)])],42,ER)),[[nr,e.visible]])}var ac=je(kR,[["render",CR],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const SR=ee({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=$e(ji),t=We("select"),n=I(()=>e.props.popperClass),r=I(()=>e.props.multiple),s=I(()=>e.props.fitInputWidth),o=G("");function i(){var a;o.value=`${(a=e.selectWrapper)==null?void 0:a.offsetWidth}px`}return rt(()=>{i(),vi(e.selectWrapper,i)}),{ns:t,minWidth:o,popperClass:n,isMultiple:r,isFitInputWidth:s}}});function xR(e,t,n,r,s,o){return O(),U("div",{class:W([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:nt({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(O(),U("div",{key:0,class:W(e.ns.be("dropdown","header"))},[ye(e.$slots,"header")],2)):ge("v-if",!0),ye(e.$slots,"default"),e.$slots.footer?(O(),U("div",{key:1,class:W(e.ns.be("dropdown","footer"))},[ye(e.$slots,"footer")],2)):ge("v-if",!0)],6)}var AR=je(SR,[["render",xR],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function TR(e){const{t}=An();return wn({options:new Map,cachedOptions:new Map,disabledOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,mouseEnter:!1,focused:!1})}const OR=(e,t,n)=>{const{t:r}=An(),s=We("select");$g({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},I(()=>e.suffixTransition===!1));const o=G(null),i=G(null),a=G(null),l=G(null),u=G(null),f=G(null),c=G(null),p=G(null),d=G(),m=Xn({query:""}),g=Xn(""),w=G([]);let h=0;const{form:_,formItem:y}=Di(),b=I(()=>!e.filterable||e.multiple||!t.visible),C=I(()=>e.disabled||(_==null?void 0:_.disabled)),k=I(()=>{const $=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!=="";return e.clearable&&!C.value&&t.inputHovering&&$}),S=I(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),A=I(()=>s.is("reverse",S.value&&t.visible&&e.suffixTransition)),R=I(()=>(_==null?void 0:_.statusIcon)&&(y==null?void 0:y.validateState)&&Pg[y==null?void 0:y.validateState]),L=I(()=>e.remote?300:0),D=I(()=>e.loading?e.loadingText||r("el.select.loading"):e.remote&&t.query===""&&t.options.size===0?!1:e.filterable&&t.query&&t.options.size>0&&t.filteredOptionsCount===0?e.noMatchText||r("el.select.noMatch"):t.options.size===0?e.noDataText||r("el.select.noData"):null),P=I(()=>{const $=Array.from(t.options.values()),E=[];return w.value.forEach(M=>{const V=$.findIndex(_e=>_e.currentLabel===M);V>-1&&E.push($[V])}),E.length>=$.length?E:$}),oe=I(()=>Array.from(t.cachedOptions.values())),N=I(()=>{const $=P.value.filter(E=>!E.created).some(E=>E.currentLabel===t.query);return e.filterable&&e.allowCreate&&t.query!==""&&!$}),j=ys(),q=I(()=>["small"].includes(j.value)?"small":"default"),F=I({get(){return t.visible&&D.value!==!1},set($){t.visible=$}});Ee([()=>C.value,()=>j.value,()=>_==null?void 0:_.size],()=>{Ue(()=>{B()})}),Ee(()=>e.placeholder,$=>{t.cachedPlaceHolder=t.currentPlaceholder=$,e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(t.currentPlaceholder="")}),Ee(()=>e.modelValue,($,E)=>{e.multiple&&(B(),$&&$.length>0||i.value&&t.query!==""?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",J(t.query))),ve(),e.filterable&&!e.multiple&&(t.inputLength=20),!Al($,E)&&e.validateEvent&&(y==null||y.validate("change").catch(M=>void 0))},{flush:"post",deep:!0}),Ee(()=>t.visible,$=>{var E,M,V,_e,Be;$?((M=(E=l.value)==null?void 0:E.updatePopper)==null||M.call(E),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,(_e=(V=a.value)==null?void 0:V.focus)==null||_e.call(V),e.multiple?(Be=i.value)==null||Be.focus():t.selectedLabel&&(t.currentPlaceholder=`${t.selectedLabel}`,t.selectedLabel=""),J(t.query),!e.multiple&&!e.remote&&(m.value.query="",Ho(m),Ho(g)))):(e.filterable&&(we(e.filterMethod)&&e.filterMethod(""),we(e.remoteMethod)&&e.remoteMethod("")),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,et(),Ue(()=>{i.value&&i.value.value===""&&t.selected.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",$)}),Ee(()=>t.options.entries(),()=>{var $,E,M;if(!Pt)return;(E=($=l.value)==null?void 0:$.updatePopper)==null||E.call($),e.multiple&&B();const V=((M=c.value)==null?void 0:M.querySelectorAll("input"))||[];(!e.filterable&&!e.defaultFirstOption&&!Og(e.modelValue)||!Array.from(V).includes(document.activeElement))&&ve(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&Ae()},{flush:"post"}),Ee(()=>t.hoverIndex,$=>{vt($)&&$>-1?d.value=P.value[$]||{}:d.value={},P.value.forEach(E=>{E.hover=d.value===E})});const B=()=>{Ue(()=>{var $,E;if(!o.value)return;const M=o.value.$el.querySelector("input");h=h||(M.clientHeight>0?M.clientHeight+2:0);const V=f.value,_e=getComputedStyle(M).getPropertyValue(s.cssVarName("input-height")),Be=Number.parseFloat(_e)||cx(j.value||(_==null?void 0:_.size)),Ve=j.value||Be===h||h<=0?Be:h;!(M.offsetParent===null)&&(M.style.height=`${(t.selected.length===0?Ve:Math.max(V?V.clientHeight+(V.clientHeight>Ve?6:0):0,Ve))-2}px`),t.visible&&D.value!==!1&&((E=($=l.value)==null?void 0:$.updatePopper)==null||E.call($))})},J=async $=>{if(!(t.previousQuery===$||t.isOnComposition)){if(t.previousQuery===null&&(we(e.filterMethod)||we(e.remoteMethod))){t.previousQuery=$;return}t.previousQuery=$,Ue(()=>{var E,M;t.visible&&((M=(E=l.value)==null?void 0:E.updatePopper)==null||M.call(E))}),t.hoverIndex=-1,e.multiple&&e.filterable&&Ue(()=>{if(!C.value){const E=i.value.value.length*15+20;t.inputLength=e.collapseTags?Math.min(50,E):E,te()}B()}),e.remote&&we(e.remoteMethod)?(t.hoverIndex=-1,e.remoteMethod($)):we(e.filterMethod)?(e.filterMethod($),Ho(g)):(t.filteredOptionsCount=t.optionsCount,m.value.query=$,Ho(m),Ho(g)),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&(await Ue(),Ae())}},te=()=>{t.currentPlaceholder!==""&&(t.currentPlaceholder=i.value.value?"":t.cachedPlaceHolder)},Ae=()=>{const $=P.value.filter(V=>V.visible&&!V.disabled&&!V.states.groupDisabled),E=$.find(V=>V.created),M=$[0];t.hoverIndex=K(P.value,E||M)},ve=()=>{var $;if(e.multiple)t.selectedLabel="";else{const M=Fe(e.modelValue);($=M.props)!=null&&$.created?(t.createdLabel=M.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=M.currentLabel,t.selected=M,e.filterable&&(t.query=t.selectedLabel);return}const E=[];Array.isArray(e.modelValue)&&e.modelValue.forEach(M=>{E.push(Fe(M))}),t.selected=E,Ue(()=>{B()})},Fe=$=>{let E;const M=Ls($).toLowerCase()==="object",V=Ls($).toLowerCase()==="null",_e=Ls($).toLowerCase()==="undefined";for(let he=t.cachedOptions.size-1;he>=0;he--){const fe=oe.value[he];if(M?rn(fe.value,e.valueKey)===rn($,e.valueKey):fe.value===$){E={value:$,currentLabel:fe.currentLabel,isDisabled:fe.isDisabled};break}}if(E)return E;const Be=M?$.label:!V&&!_e?$:"",Ve={value:$,currentLabel:Be};return e.multiple&&(Ve.hitState=!1),Ve},et=()=>{setTimeout(()=>{const $=e.valueKey;e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(E=>P.value.findIndex(M=>rn(M,$)===rn(E,$)))):t.hoverIndex=-1:t.hoverIndex=P.value.findIndex(E=>yn(E)===yn(t.selected))},300)},ot=()=>{var $,E;pt(),(E=($=l.value)==null?void 0:$.updatePopper)==null||E.call($),e.multiple&&B()},pt=()=>{var $;t.inputWidth=($=o.value)==null?void 0:$.$el.offsetWidth},bt=()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,J(t.query))},ft=xl(()=>{bt()},L.value),ln=xl($=>{J($.target.value)},L.value),me=$=>{Al(e.modelValue,$)||n.emit(Ml,$)},Ne=$=>P2($,E=>!t.disabledOptions.has(E)),x=$=>{if($.code!==cr.delete){if($.target.value.length<=0&&!be()){const E=e.modelValue.slice(),M=Ne(E);if(M<0)return;E.splice(M,1),n.emit(Xt,E),me(E)}$.target.value.length===1&&e.modelValue.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}},T=($,E)=>{const M=t.selected.indexOf(E);if(M>-1&&!C.value){const V=e.modelValue.slice();V.splice(M,1),n.emit(Xt,V),me(V),n.emit("remove-tag",E.value)}$.stopPropagation(),ie()},z=$=>{$.stopPropagation();const E=e.multiple?[]:"";if(!qe(E))for(const M of t.selected)M.isDisabled&&E.push(M.value);n.emit(Xt,E),me(E),t.hoverIndex=-1,t.visible=!1,n.emit("clear"),ie()},Y=$=>{var E;if(e.multiple){const M=(e.modelValue||[]).slice(),V=K(M,$.value);V>-1?M.splice(V,1):(e.multipleLimit<=0||M.length<e.multipleLimit)&&M.push($.value),n.emit(Xt,M),me(M),$.created&&(t.query="",J(""),t.inputLength=20),e.filterable&&((E=i.value)==null||E.focus())}else n.emit(Xt,$.value),me($.value),t.visible=!1;Z(),!t.visible&&Ue(()=>{se($)})},K=($=[],E)=>{if(!De(E))return $.indexOf(E);const M=e.valueKey;let V=-1;return $.some((_e,Be)=>Pe(rn(_e,M))===rn(E,M)?(V=Be,!0):!1),V},Z=()=>{const $=i.value||o.value;$&&($==null||$.focus())},se=$=>{var E,M,V,_e,Be;const Ve=Array.isArray($)?$[0]:$;let he=null;if(Ve!=null&&Ve.value){const fe=P.value.filter(Oe=>Oe.value===Ve.value);fe.length>0&&(he=fe[0].$el)}if(l.value&&he){const fe=(_e=(V=(M=(E=l.value)==null?void 0:E.popperRef)==null?void 0:M.contentRef)==null?void 0:V.querySelector)==null?void 0:_e.call(V,`.${s.be("dropdown","wrap")}`);fe&&B2(fe,he)}(Be=p.value)==null||Be.handleScroll()},re=$=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set($.value,$),t.cachedOptions.set($.value,$),$.disabled&&t.disabledOptions.set($.value,$)},Q=($,E)=>{t.options.get($)===E&&(t.optionsCount--,t.filteredOptionsCount--,t.options.delete($))},X=$=>{$.code!==cr.backspace&&be(!1),t.inputLength=i.value.value.length*15+20,B()},be=$=>{if(!Array.isArray(t.selected))return;const E=Ne(t.selected.map(V=>V.value)),M=t.selected[E];if(M)return $===!0||$===!1?(M.hitState=$,$):(M.hitState=!M.hitState,M.hitState)},ce=$=>{const E=$.target.value;if($.type==="compositionend")t.isOnComposition=!1,Ue(()=>J(E));else{const M=E[E.length-1]||"";t.isOnComposition=!Dg(M)}},pe=()=>{Ue(()=>se(t.selected))},H=$=>{t.focused||((e.automaticDropdown||e.filterable)&&(e.filterable&&!t.visible&&(t.menuVisibleOnFocus=!0),t.visible=!0),t.focused=!0,n.emit("focus",$))},ie=()=>{var $,E;t.visible?($=i.value||o.value)==null||$.focus():(E=o.value)==null||E.focus()},Se=()=>{var $,E,M;t.visible=!1,($=o.value)==null||$.blur(),(M=(E=a.value)==null?void 0:E.blur)==null||M.call(E)},Re=$=>{var E,M,V;(E=l.value)!=null&&E.isFocusInsideContent($)||(M=u.value)!=null&&M.isFocusInsideContent($)||(V=c.value)!=null&&V.contains($.relatedTarget)||(t.visible&&ht(),t.focused=!1,n.emit("blur",$))},lt=$=>{z($)},ht=()=>{t.visible=!1},Ct=$=>{t.visible&&($.preventDefault(),$.stopPropagation(),t.visible=!1)},Tt=$=>{$&&!t.mouseEnter||C.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:(!l.value||!l.value.isFocusInsideContent())&&(t.visible=!t.visible),ie())},In=()=>{t.visible?P.value[t.hoverIndex]&&Y(P.value[t.hoverIndex]):Tt()},yn=$=>De($.value)?rn($.value,e.valueKey):$.value,yt=I(()=>P.value.filter($=>$.visible).every($=>$.disabled)),Dt=I(()=>e.multiple?t.selected.slice(0,e.maxCollapseTags):[]),Hn=I(()=>e.multiple?t.selected.slice(e.maxCollapseTags):[]),Lr=$=>{if(!t.visible){t.visible=!0;return}if(!(t.options.size===0||t.filteredOptionsCount===0)&&!t.isOnComposition&&!yt.value){$==="next"?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):$==="prev"&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const E=P.value[t.hoverIndex];(E.disabled===!0||E.states.groupDisabled===!0||!E.visible)&&Lr($),Ue(()=>se(d.value))}},Po=()=>{t.mouseEnter=!0},ro=()=>{t.mouseEnter=!1},Rs=($,E)=>{var M,V;T($,E),(V=(M=u.value)==null?void 0:M.updatePopper)==null||V.call(M)},Do=I(()=>({maxWidth:`${v(t.inputWidth)-32-(R.value?22:0)}px`,width:"100%"}));return{optionList:w,optionsArray:P,hoverOption:d,selectSize:j,handleResize:ot,debouncedOnInputChange:ft,debouncedQueryChange:ln,deletePrevTag:x,deleteTag:T,deleteSelected:z,handleOptionSelect:Y,scrollToOption:se,readonly:b,resetInputHeight:B,showClose:k,iconComponent:S,iconReverse:A,showNewOption:N,collapseTagSize:q,setSelected:ve,managePlaceholder:te,selectDisabled:C,emptyText:D,toggleLastOptionHitState:be,resetInputState:X,handleComposition:ce,onOptionCreate:re,onOptionDestroy:Q,handleMenuEnter:pe,handleFocus:H,focus:ie,blur:Se,handleBlur:Re,handleClearClick:lt,handleClose:ht,handleKeydownEscape:Ct,toggleMenu:Tt,selectOption:In,getValueKey:yn,navigateOptions:Lr,handleDeleteTooltipTag:Rs,dropMenuVisible:F,queryChange:m,groupQueryChange:g,showTagList:Dt,collapseTagList:Hn,selectTagsStyle:Do,reference:o,input:i,iOSInput:a,tooltipRef:l,tagTooltipRef:u,tags:f,selectWrapper:c,scrollbar:p,handleMouseEnter:Po,handleMouseLeave:ro}};var RR=ee({name:"ElOptions",emits:["update-options"],setup(e,{slots:t,emit:n}){let r=[];function s(o,i){if(o.length!==i.length)return!1;for(const[a]of o.entries())if(o[a]!=i[a])return!1;return!0}return()=>{var o,i;const a=(o=t.default)==null?void 0:o.call(t),l=[];function u(f){Array.isArray(f)&&f.forEach(c=>{var p,d,m,g;const w=(p=(c==null?void 0:c.type)||{})==null?void 0:p.name;w==="ElOptionGroup"?u(!qe(c.children)&&!Array.isArray(c.children)&&we((d=c.children)==null?void 0:d.default)?(m=c.children)==null?void 0:m.default():c.children):w==="ElOption"?l.push((g=c.props)==null?void 0:g.label):Array.isArray(c.children)&&u(c.children)})}return a.length&&u((i=a[0])==null?void 0:i.children),s(l,r)||(r=l,n("update-options",l)),a}}});const Jm="ElSelect",IR=ee({name:Jm,componentName:Jm,components:{ElInput:$i,ElSelectMenu:AR,ElOption:ac,ElOptions:RR,ElTag:OO,ElScrollbar:dT,ElTooltip:ws,ElIcon:Qt},directives:{ClickOutside:Um},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:ux},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:on.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:Sn,default:Ol},fitInputWidth:Boolean,suffixIcon:{type:Sn,default:Rg},tagType:{...jm.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:Ai,default:"bottom-start"},ariaLabel:{type:String,default:void 0}},emits:[Xt,Ml,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=We("select"),r=We("input"),{t:s}=An(),o=Mi(),i=TR(e),{optionList:a,optionsArray:l,hoverOption:u,selectSize:f,readonly:c,handleResize:p,collapseTagSize:d,debouncedOnInputChange:m,debouncedQueryChange:g,deletePrevTag:w,deleteTag:h,deleteSelected:_,handleOptionSelect:y,scrollToOption:b,setSelected:C,resetInputHeight:k,managePlaceholder:S,showClose:A,selectDisabled:R,iconComponent:L,iconReverse:D,showNewOption:P,emptyText:oe,toggleLastOptionHitState:N,resetInputState:j,handleComposition:q,onOptionCreate:F,onOptionDestroy:B,handleMenuEnter:J,handleFocus:te,focus:Ae,blur:ve,handleBlur:Fe,handleClearClick:et,handleClose:ot,handleKeydownEscape:pt,toggleMenu:bt,selectOption:ft,getValueKey:ln,navigateOptions:me,handleDeleteTooltipTag:Ne,dropMenuVisible:x,reference:T,input:z,iOSInput:Y,tooltipRef:K,tagTooltipRef:Z,tags:se,selectWrapper:re,scrollbar:Q,queryChange:X,groupQueryChange:be,handleMouseEnter:ce,handleMouseLeave:pe,showTagList:H,collapseTagList:ie,selectTagsStyle:Se}=OR(e,i,t),{inputWidth:Re,selected:lt,inputLength:ht,filteredOptionsCount:Ct,visible:Tt,selectedLabel:In,hoverIndex:yn,query:yt,inputHovering:Dt,currentPlaceholder:Hn,menuVisibleOnFocus:Lr,isOnComposition:Po,options:ro,cachedOptions:Rs,optionsCount:Do,prefixWidth:$}=Gs(i),E=I(()=>{const Ge=[n.b()],cn=v(f);return cn&&Ge.push(n.m(cn)),e.disabled&&Ge.push(n.m("disabled")),Ge}),M=I(()=>[n.e("tags"),n.is("disabled",v(R))]),V=I(()=>[n.b("tags-wrapper"),{"has-prefix":v($)&&v(lt).length}]),_e=I(()=>[n.e("input"),n.is(v(f)),n.is("disabled",v(R))]),Be=I(()=>[n.e("input"),n.is(v(f)),n.em("input","iOS")]),Ve=I(()=>[n.is("empty",!e.allowCreate&&!!v(yt)&&v(Ct)===0)]),he=I(()=>({maxWidth:`${v(Re)>123&&v(lt).length>e.maxCollapseTags?v(Re)-123:v(Re)-75}px`})),fe=I(()=>({marginLeft:`${v($)}px`,flexGrow:1,width:`${v(ht)/(v(Re)-32)}%`,maxWidth:`${v(Re)-42}px`}));Ht(ji,wn({props:e,options:ro,optionsArray:l,cachedOptions:Rs,optionsCount:Do,filteredOptionsCount:Ct,hoverIndex:yn,handleOptionSelect:y,onOptionCreate:F,onOptionDestroy:B,selectWrapper:re,selected:lt,setSelected:C,queryChange:X,groupQueryChange:be})),rt(()=>{i.cachedPlaceHolder=Hn.value=e.placeholder||(()=>s("el.select.placeholder")),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(Hn.value=""),vi(re,p),e.remote&&e.multiple&&k(),Ue(()=>{const Ge=T.value&&T.value.$el;if(Ge&&(Re.value=Ge.getBoundingClientRect().width,t.slots.prefix)){const cn=Ge.querySelector(`.${r.e("prefix")}`);$.value=Math.max(cn.getBoundingClientRect().width+11,30)}}),C()}),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(Xt,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(Xt,"");const Oe=I(()=>{var Ge,cn;return(cn=(Ge=K.value)==null?void 0:Ge.popperRef)==null?void 0:cn.contentRef});return{isIOS:Ph,onOptionsRendered:Ge=>{a.value=Ge},prefixWidth:$,selectSize:f,readonly:c,handleResize:p,collapseTagSize:d,debouncedOnInputChange:m,debouncedQueryChange:g,deletePrevTag:w,deleteTag:h,handleDeleteTooltipTag:Ne,deleteSelected:_,handleOptionSelect:y,scrollToOption:b,inputWidth:Re,selected:lt,inputLength:ht,filteredOptionsCount:Ct,visible:Tt,selectedLabel:In,hoverIndex:yn,query:yt,inputHovering:Dt,currentPlaceholder:Hn,menuVisibleOnFocus:Lr,isOnComposition:Po,options:ro,resetInputHeight:k,managePlaceholder:S,showClose:A,selectDisabled:R,iconComponent:L,iconReverse:D,showNewOption:P,emptyText:oe,toggleLastOptionHitState:N,resetInputState:j,handleComposition:q,handleMenuEnter:J,handleFocus:te,focus:Ae,blur:ve,handleBlur:Fe,handleClearClick:et,handleClose:ot,handleKeydownEscape:pt,toggleMenu:bt,selectOption:ft,getValueKey:ln,navigateOptions:me,dropMenuVisible:x,reference:T,input:z,iOSInput:Y,tooltipRef:K,popperPaneRef:Oe,tags:se,selectWrapper:re,scrollbar:Q,wrapperKls:E,tagsKls:M,tagWrapperKls:V,inputKls:_e,iOSInputKls:Be,scrollbarKls:Ve,selectTagsStyle:Se,nsSelect:n,tagTextStyle:he,inputStyle:fe,handleMouseEnter:ce,handleMouseLeave:pe,showTagList:H,collapseTagList:ie,tagTooltipRef:Z,contentId:o,hoverOption:u}}}),MR=["disabled","autocomplete","aria-activedescendant","aria-controls","aria-expanded","aria-label"],LR=["disabled"],PR={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function DR(e,t,n,r,s,o){const i=_r("el-tag"),a=_r("el-tooltip"),l=_r("el-icon"),u=_r("el-input"),f=_r("el-option"),c=_r("el-options"),p=_r("el-scrollbar"),d=_r("el-select-menu"),m=lp("click-outside");return Ft((O(),U("div",{ref:"selectWrapper",class:W(e.wrapperKls),onMouseenter:t[22]||(t[22]=(...g)=>e.handleMouseEnter&&e.handleMouseEnter(...g)),onMouseleave:t[23]||(t[23]=(...g)=>e.handleMouseLeave&&e.handleMouseLeave(...g)),onClick:t[24]||(t[24]=nn((...g)=>e.toggleMenu&&e.toggleMenu(...g),["stop"]))},[ke(a,{ref:"tooltipRef",visible:e.dropMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onShow:e.handleMenuEnter},{default:ue(()=>{var g,w;return[ne("div",{class:"select-trigger",onMouseenter:t[20]||(t[20]=h=>e.inputHovering=!0),onMouseleave:t[21]||(t[21]=h=>e.inputHovering=!1)},[e.multiple?(O(),U("div",{key:0,ref:"tags",tabindex:"-1",class:W(e.tagsKls),style:nt(e.selectTagsStyle),onClick:t[15]||(t[15]=(...h)=>e.focus&&e.focus(...h))},[e.collapseTags&&e.selected.length?(O(),le(jr,{key:0,onAfterLeave:e.resetInputHeight},{default:ue(()=>[ne("span",{class:W(e.tagWrapperKls)},[(O(!0),U(Ze,null,Cn(e.showTagList,h=>(O(),le(i,{key:e.getValueKey(h),closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",onClose:_=>e.deleteTag(_,h)},{default:ue(()=>[ne("span",{class:W(e.nsSelect.e("tags-text")),style:nt(e.tagTextStyle)},Ke(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),e.selected.length>e.maxCollapseTags?(O(),le(i,{key:0,closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":""},{default:ue(()=>[e.collapseTagsTooltip?(O(),le(a,{key:0,ref:"tagTooltipRef",disabled:e.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:ue(()=>[ne("span",{class:W(e.nsSelect.e("tags-text"))},"+ "+Ke(e.selected.length-e.maxCollapseTags),3)]),content:ue(()=>[ne("div",{class:W(e.nsSelect.e("collapse-tags"))},[(O(!0),U(Ze,null,Cn(e.collapseTagList,h=>(O(),U("div",{key:e.getValueKey(h),class:W(e.nsSelect.e("collapse-tag"))},[ke(i,{class:"in-tooltip",closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:_=>e.handleDeleteTooltipTag(_,h)},{default:ue(()=>[ne("span",{class:W(e.nsSelect.e("tags-text")),style:nt({maxWidth:e.inputWidth-75+"px"})},Ke(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(O(),U("span",{key:1,class:W(e.nsSelect.e("tags-text"))},"+ "+Ke(e.selected.length-e.maxCollapseTags),3))]),_:1},8,["size","type"])):ge("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):ge("v-if",!0),e.collapseTags?ge("v-if",!0):(O(),le(jr,{key:1,onAfterLeave:e.resetInputHeight},{default:ue(()=>[ne("span",{class:W(e.tagWrapperKls),style:nt(e.prefixWidth&&e.selected.length?{marginLeft:`${e.prefixWidth}px`}:"")},[(O(!0),U(Ze,null,Cn(e.selected,h=>(O(),le(i,{key:e.getValueKey(h),closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",onClose:_=>e.deleteTag(_,h)},{default:ue(()=>[ne("span",{class:W(e.nsSelect.e("tags-text")),style:nt({maxWidth:e.inputWidth-75+"px"})},Ke(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],6)]),_:1},8,["onAfterLeave"])),e.filterable&&!e.selectDisabled?Ft((O(),U("input",{key:2,ref:"input","onUpdate:modelValue":t[0]||(t[0]=h=>e.query=h),type:"text",class:W(e.inputKls),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:nt(e.inputStyle),role:"combobox","aria-activedescendant":((g=e.hoverOption)==null?void 0:g.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:t[1]||(t[1]=(...h)=>e.handleFocus&&e.handleFocus(...h)),onBlur:t[2]||(t[2]=(...h)=>e.handleBlur&&e.handleBlur(...h)),onKeyup:t[3]||(t[3]=(...h)=>e.managePlaceholder&&e.managePlaceholder(...h)),onKeydown:[t[4]||(t[4]=(...h)=>e.resetInputState&&e.resetInputState(...h)),t[5]||(t[5]=jt(nn(h=>e.navigateOptions("next"),["prevent"]),["down"])),t[6]||(t[6]=jt(nn(h=>e.navigateOptions("prev"),["prevent"]),["up"])),t[7]||(t[7]=jt((...h)=>e.handleKeydownEscape&&e.handleKeydownEscape(...h),["esc"])),t[8]||(t[8]=jt(nn((...h)=>e.selectOption&&e.selectOption(...h),["stop","prevent"]),["enter"])),t[9]||(t[9]=jt((...h)=>e.deletePrevTag&&e.deletePrevTag(...h),["delete"])),t[10]||(t[10]=jt(h=>e.visible=!1,["tab"]))],onCompositionstart:t[11]||(t[11]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onCompositionupdate:t[12]||(t[12]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onCompositionend:t[13]||(t[13]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onInput:t[14]||(t[14]=(...h)=>e.debouncedQueryChange&&e.debouncedQueryChange(...h))},null,46,MR)),[[gh,e.query]]):ge("v-if",!0)],6)):ge("v-if",!0),e.isIOS&&!e.multiple&&e.filterable&&e.readonly?(O(),U("input",{key:1,ref:"iOSInput",class:W(e.iOSInputKls),disabled:e.selectDisabled,type:"text"},null,10,LR)):ge("v-if",!0),ke(u,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[16]||(t[16]=h=>e.selectedLabel=h),type:"text",placeholder:typeof e.currentPlaceholder=="function"?e.currentPlaceholder():e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:W([e.nsSelect.is("focus",e.visible)]),tabindex:e.multiple&&e.filterable?-1:void 0,role:"combobox","aria-activedescendant":((w=e.hoverOption)==null?void 0:w.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropMenuVisible,label:e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onKeydown:[t[17]||(t[17]=jt(nn(h=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[18]||(t[18]=jt(nn(h=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),jt(nn(e.selectOption,["stop","prevent"]),["enter"]),jt(e.handleKeydownEscape,["esc"]),t[19]||(t[19]=jt(h=>e.visible=!1,["tab"]))]},si({suffix:ue(()=>[e.iconComponent&&!e.showClose?(O(),le(l,{key:0,class:W([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:ue(()=>[(O(),le(Bt(e.iconComponent)))]),_:1},8,["class"])):ge("v-if",!0),e.showClose&&e.clearIcon?(O(),le(l,{key:1,class:W([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:ue(()=>[(O(),le(Bt(e.clearIcon)))]),_:1},8,["class","onClick"])):ge("v-if",!0)]),_:2},[e.$slots.prefix?{name:"prefix",fn:ue(()=>[ne("div",PR,[ye(e.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","aria-activedescendant","aria-controls","aria-expanded","label","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]}),content:ue(()=>[ke(d,null,si({default:ue(()=>[Ft(ke(p,{id:e.contentId,ref:"scrollbar",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:W(e.scrollbarKls),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:ue(()=>[e.showNewOption?(O(),le(f,{key:0,value:e.query,created:!0},null,8,["value"])):ge("v-if",!0),ke(c,{onUpdateOptions:e.onOptionsRendered},{default:ue(()=>[ye(e.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[nr,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&e.options.size===0)?(O(),U(Ze,{key:0},[e.$slots.empty?ye(e.$slots,"empty",{key:0}):(O(),U("p",{key:1,class:W(e.nsSelect.be("dropdown","empty"))},Ke(e.emptyText),3))],64)):ge("v-if",!0)]),_:2},[e.$slots.header?{name:"header",fn:ue(()=>[ye(e.$slots,"header")])}:void 0,e.$slots.footer?{name:"footer",fn:ue(()=>[ye(e.$slots,"footer")])}:void 0]),1024)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[m,e.handleClose,e.popperPaneRef]])}var $R=je(IR,[["render",DR],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const NR=ee({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=We("select"),n=G(!0),r=mt(),s=G([]);Ht(Ym,wn({...Gs(e)}));const o=$e(ji);rt(()=>{s.value=i(r.subTree)});const i=l=>{const u=[];return Array.isArray(l.children)&&l.children.forEach(f=>{var c;f.type&&f.type.name==="ElOption"&&f.component&&f.component.proxy?u.push(f.component.proxy):(c=f.children)!=null&&c.length&&u.push(...i(f))}),u},{groupQueryChange:a}=Pe(o);return Ee(a,()=>{n.value=s.value.some(l=>l.visible===!0)},{flush:"post"}),{visible:n,ns:t}}});function qR(e,t,n,r,s,o){return Ft((O(),U("ul",{class:W(e.ns.be("group","wrap"))},[ne("li",{class:W(e.ns.be("group","title"))},Ke(e.label),3),ne("li",null,[ne("ul",{class:W(e.ns.b("group"))},[ye(e.$slots,"default")],2)])],2)),[[nr,e.visible]])}var Qm=je(NR,[["render",qR],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const lc=xn($R,{Option:ac,OptionGroup:Qm}),FR=Il(ac);Il(Qm);const cc=()=>$e(Xm,{}),BR=Qe({pageSize:{type:Number,required:!0},pageSizes:{type:Me(Array),default:()=>Ll([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:fs}}),zR=ee({...ee({name:"ElPaginationSizes"}),props:BR,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=An(),s=We("pagination"),o=cc(),i=G(n.pageSize);Ee(()=>n.pageSizes,(u,f)=>{if(!Al(u,f)&&Array.isArray(u)){const c=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",c)}}),Ee(()=>n.pageSize,u=>{i.value=u});const a=I(()=>n.pageSizes);function l(u){var f;u!==i.value&&(i.value=u,(f=o.handleSizeChange)==null||f.call(o,Number(u)))}return(u,f)=>(O(),U("span",{class:W(v(s).e("sizes"))},[ke(v(lc),{"model-value":i.value,disabled:u.disabled,"popper-class":u.popperClass,size:u.size,teleported:u.teleported,"validate-event":!1,onChange:l},{default:ue(()=>[(O(!0),U(Ze,null,Cn(v(a),c=>(O(),le(v(FR),{key:c,value:c,label:c+v(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var HR=je(zR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const UR=Qe({size:{type:String,values:fs}}),jR=["disabled"],VR=ee({...ee({name:"ElPaginationJumper"}),props:UR,setup(e){const{t}=An(),n=We("pagination"),{pageCount:r,disabled:s,currentPage:o,changeEvent:i}=cc(),a=G(),l=I(()=>{var c;return(c=a.value)!=null?c:o==null?void 0:o.value});function u(c){a.value=c?+c:""}function f(c){c=Math.trunc(+c),i==null||i(c),a.value=void 0}return(c,p)=>(O(),U("span",{class:W(v(n).e("jump")),disabled:v(s)},[ne("span",{class:W([v(n).e("goto")])},Ke(v(t)("el.pagination.goto")),3),ke(v($i),{size:c.size,class:W([v(n).e("editor"),v(n).is("in-pagination")]),min:1,max:v(r),disabled:v(s),"model-value":v(l),"validate-event":!1,label:v(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:f},null,8,["size","class","max","disabled","model-value","label"]),ne("span",{class:W([v(n).e("classifier")])},Ke(v(t)("el.pagination.pageClassifier")),3)],10,jR))}});var GR=je(VR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const KR=Qe({total:{type:Number,default:1e3}}),WR=["disabled"],ZR=ee({...ee({name:"ElPaginationTotal"}),props:KR,setup(e){const{t}=An(),n=We("pagination"),{disabled:r}=cc();return(s,o)=>(O(),U("span",{class:W(v(n).e("total")),disabled:v(r)},Ke(v(t)("el.pagination.total",{total:s.total})),11,WR))}});var XR=je(ZR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const YR=Qe({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),JR=["onKeyup"],QR=["aria-current","aria-label","tabindex"],eI=["tabindex","aria-label"],tI=["aria-current","aria-label","tabindex"],nI=["tabindex","aria-label"],rI=["aria-current","aria-label","tabindex"],oI=ee({...ee({name:"ElPaginationPager"}),props:YR,emits:["change"],setup(e,{emit:t}){const n=e,r=We("pager"),s=We("icon"),{t:o}=An(),i=G(!1),a=G(!1),l=G(!1),u=G(!1),f=G(!1),c=G(!1),p=I(()=>{const b=n.pagerCount,C=(b-1)/2,k=Number(n.currentPage),S=Number(n.pageCount);let A=!1,R=!1;S>b&&(k>b-C&&(A=!0),k<S-C&&(R=!0));const L=[];if(A&&!R){const D=S-(b-2);for(let P=D;P<S;P++)L.push(P)}else if(!A&&R)for(let D=2;D<b;D++)L.push(D);else if(A&&R){const D=Math.floor(b/2)-1;for(let P=k-D;P<=k+D;P++)L.push(P)}else for(let D=2;D<S;D++)L.push(D);return L}),d=I(()=>["more","btn-quickprev",s.b(),r.is("disabled",n.disabled)]),m=I(()=>["more","btn-quicknext",s.b(),r.is("disabled",n.disabled)]),g=I(()=>n.disabled?-1:0);Za(()=>{const b=(n.pagerCount-1)/2;i.value=!1,a.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-b&&(i.value=!0),n.currentPage<n.pageCount-b&&(a.value=!0))});function w(b=!1){n.disabled||(b?l.value=!0:u.value=!0)}function h(b=!1){b?f.value=!0:c.value=!0}function _(b){const C=b.target;if(C.tagName.toLowerCase()==="li"&&Array.from(C.classList).includes("number")){const k=Number(C.textContent);k!==n.currentPage&&t("change",k)}else C.tagName.toLowerCase()==="li"&&Array.from(C.classList).includes("more")&&y(b)}function y(b){const C=b.target;if(C.tagName.toLowerCase()==="ul"||n.disabled)return;let k=Number(C.textContent);const S=n.pageCount,A=n.currentPage,R=n.pagerCount-2;C.className.includes("more")&&(C.className.includes("quickprev")?k=A-R:C.className.includes("quicknext")&&(k=A+R)),Number.isNaN(+k)||(k<1&&(k=1),k>S&&(k=S)),k!==A&&t("change",k)}return(b,C)=>(O(),U("ul",{class:W(v(r).b()),onClick:y,onKeyup:jt(_,["enter"])},[b.pageCount>0?(O(),U("li",{key:0,class:W([[v(r).is("active",b.currentPage===1),v(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===1,"aria-label":v(o)("el.pagination.currentPage",{pager:1}),tabindex:v(g)}," 1 ",10,QR)):ge("v-if",!0),i.value?(O(),U("li",{key:1,class:W(v(d)),tabindex:v(g),"aria-label":v(o)("el.pagination.prevPages",{pager:b.pagerCount-2}),onMouseenter:C[0]||(C[0]=k=>w(!0)),onMouseleave:C[1]||(C[1]=k=>l.value=!1),onFocus:C[2]||(C[2]=k=>h(!0)),onBlur:C[3]||(C[3]=k=>f.value=!1)},[(l.value||f.value)&&!b.disabled?(O(),le(v(Y2),{key:0})):(O(),le(v(Mg),{key:1}))],42,eI)):ge("v-if",!0),(O(!0),U(Ze,null,Cn(v(p),k=>(O(),U("li",{key:k,class:W([[v(r).is("active",b.currentPage===k),v(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===k,"aria-label":v(o)("el.pagination.currentPage",{pager:k}),tabindex:v(g)},Ke(k),11,tI))),128)),a.value?(O(),U("li",{key:2,class:W(v(m)),tabindex:v(g),"aria-label":v(o)("el.pagination.nextPages",{pager:b.pagerCount-2}),onMouseenter:C[4]||(C[4]=k=>w()),onMouseleave:C[5]||(C[5]=k=>u.value=!1),onFocus:C[6]||(C[6]=k=>h()),onBlur:C[7]||(C[7]=k=>c.value=!1)},[(u.value||c.value)&&!b.disabled?(O(),le(v(Q2),{key:0})):(O(),le(v(Mg),{key:1}))],42,nI)):ge("v-if",!0),b.pageCount>1?(O(),U("li",{key:3,class:W([[v(r).is("active",b.currentPage===b.pageCount),v(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===b.pageCount,"aria-label":v(o)("el.pagination.currentPage",{pager:b.pageCount}),tabindex:v(g)},Ke(b.pageCount),11,rI)):ge("v-if",!0)],42,JR))}});var sI=je(oI,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const Vt=e=>typeof e!="number",ev=Qe({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>vt(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Me(Array),default:()=>Ll([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:Sn,default:()=>U2},nextText:{type:String,default:""},nextIcon:{type:Sn,default:()=>V2},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),iI={"update:current-page":e=>vt(e),"update:page-size":e=>vt(e),"size-change":e=>vt(e),"current-change":e=>vt(e),"prev-click":e=>vt(e),"next-click":e=>vt(e)},tv="ElPagination";var aI=ee({name:tv,props:ev,emits:iI,setup(e,{emit:t,slots:n}){const{t:r}=An(),s=We("pagination"),o=mt().vnode.props||{},i="onUpdate:currentPage"in o||"onUpdate:current-page"in o||"onCurrentChange"in o,a="onUpdate:pageSize"in o||"onUpdate:page-size"in o||"onSizeChange"in o,l=I(()=>{if(Vt(e.total)&&Vt(e.pageCount)||!Vt(e.currentPage)&&!i)return!1;if(e.layout.includes("sizes")){if(Vt(e.pageCount)){if(!Vt(e.total)&&!Vt(e.pageSize)&&!a)return!1}else if(!a)return!1}return!0}),u=G(Vt(e.defaultPageSize)?10:e.defaultPageSize),f=G(Vt(e.defaultCurrentPage)?1:e.defaultCurrentPage),c=I({get(){return Vt(e.pageSize)?u.value:e.pageSize},set(y){Vt(e.pageSize)&&(u.value=y),a&&(t("update:page-size",y),t("size-change",y))}}),p=I(()=>{let y=0;return Vt(e.pageCount)?Vt(e.total)||(y=Math.max(1,Math.ceil(e.total/c.value))):y=e.pageCount,y}),d=I({get(){return Vt(e.currentPage)?f.value:e.currentPage},set(y){let b=y;y<1?b=1:y>p.value&&(b=p.value),Vt(e.currentPage)&&(f.value=b),i&&(t("update:current-page",b),t("current-change",b))}});Ee(p,y=>{d.value>y&&(d.value=y)});function m(y){d.value=y}function g(y){c.value=y;const b=p.value;d.value>b&&(d.value=b)}function w(){e.disabled||(d.value-=1,t("prev-click",d.value))}function h(){e.disabled||(d.value+=1,t("next-click",d.value))}function _(y,b){y&&(y.props||(y.props={}),y.props.class=[y.props.class,b].join(" "))}return Ht(Xm,{pageCount:p,disabled:I(()=>e.disabled),currentPage:d,changeEvent:m,handleSizeChange:g}),()=>{var y,b;if(!l.value)return r("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&p.value<=1)return null;const C=[],k=[],S=hn("div",{class:s.e("rightwrapper")},k),A={prev:hn(gR,{disabled:e.disabled,currentPage:d.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:w}),jumper:hn(GR,{size:e.small?"small":"default"}),pager:hn(sI,{currentPage:d.value,pageCount:p.value,pagerCount:e.pagerCount,onChange:m,disabled:e.disabled}),next:hn(_R,{disabled:e.disabled,currentPage:d.value,pageCount:p.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:h}),sizes:hn(HR,{pageSize:c.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:e.small?"small":"default"}),slot:(b=(y=n==null?void 0:n.default)==null?void 0:y.call(n))!=null?b:null,total:hn(XR,{total:Vt(e.total)?0:e.total})},R=e.layout.split(",").map(D=>D.trim());let L=!1;return R.forEach(D=>{if(D==="->"){L=!0;return}L?k.push(A[D]):C.push(A[D])}),_(C[0],s.is("first")),_(C[C.length-1],s.is("last")),L&&k.length>0&&(_(k[0],s.is("first")),_(k[k.length-1],s.is("last")),C.push(S)),hn("div",{class:[s.b(),s.is("background",e.background),{[s.m("small")]:e.small}]},C)}}});const lI=xn(aI),nv=Qe({trigger:_s.trigger,placement:ic.placement,disabled:_s.disabled,visible:on.visible,transition:on.transition,popperOptions:ic.popperOptions,tabindex:ic.tabindex,content:on.content,popperStyle:on.popperStyle,popperClass:on.popperClass,enterable:{...on.enterable,default:!0},effect:{...on.effect,default:"light"},teleported:on.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),cI={"update:visible":e=>Tl(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},uI="onUpdate:visible",fI=ee({...ee({name:"ElPopover"}),props:nv,emits:cI,setup(e,{expose:t,emit:n}){const r=e,s=I(()=>r[uI]),o=We("popover"),i=G(),a=I(()=>{var w;return(w=v(i))==null?void 0:w.popperRef}),l=I(()=>[{width:wo(r.width)},r.popperStyle]),u=I(()=>[o.b(),r.popperClass,{[o.m("plain")]:!!r.content}]),f=I(()=>r.transition===`${o.namespace.value}-fade-in-linear`),c=()=>{var w;(w=i.value)==null||w.hide()},p=()=>{n("before-enter")},d=()=>{n("before-leave")},m=()=>{n("after-enter")},g=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:a,hide:c}),(w,h)=>(O(),le(v(ws),dt({ref_key:"tooltipRef",ref:i},w.$attrs,{trigger:w.trigger,placement:w.placement,disabled:w.disabled,visible:w.visible,transition:w.transition,"popper-options":w.popperOptions,tabindex:w.tabindex,content:w.content,offset:w.offset,"show-after":w.showAfter,"hide-after":w.hideAfter,"auto-close":w.autoClose,"show-arrow":w.showArrow,"aria-label":w.title,effect:w.effect,enterable:w.enterable,"popper-class":v(u),"popper-style":v(l),teleported:w.teleported,persistent:w.persistent,"gpu-acceleration":v(f),"onUpdate:visible":v(s),onBeforeShow:p,onBeforeHide:d,onShow:m,onHide:g}),{content:ue(()=>[w.title?(O(),U("div",{key:0,class:W(v(o).e("title")),role:"title"},Ke(w.title),3)):ge("v-if",!0),ye(w.$slots,"default",{},()=>[Ur(Ke(w.content),1)])]),default:ue(()=>[w.$slots.reference?ye(w.$slots,"reference",{key:0}):ge("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var dI=je(fI,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const rv=(e,t)=>{const n=t.arg||t.value,r=n==null?void 0:n.popperRef;r&&(r.triggerRef=e)};var pI={mounted(e,t){rv(e,t)},updated(e,t){rv(e,t)}};const hI=ax(pI,"popover"),gI=xn(dI,{directive:hI}),mI="TOOLTIP_APPEND_TO";function vI(){return $e(mI,I(()=>{}))}/*!
|
|
30
|
-
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
31
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
32
|
-
*/function Ss(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ss=function(t){return typeof t}:Ss=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ss(e)}function bI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _I(e,t,n){return t&&yI(e.prototype,t),e}function wI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable}))),r.forEach(function(s){wI(e,s,n[s])})}return e}function ov(e,t){return kI(e)||EI(e,t)||CI()}function kI(e){if(Array.isArray(e))return e}function EI(e,t){var n=[],r=!0,s=!1,o=void 0;try{for(var i=e[Symbol.iterator](),a;!(r=(a=i.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(l){s=!0,o=l}finally{try{!r&&i.return!=null&&i.return()}finally{if(s)throw o}}return n}function CI(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var sv=function(){},uc={},iv={},SI=null,av={mark:sv,measure:sv};try{typeof window<"u"&&(uc=window),typeof document<"u"&&(iv=document),typeof MutationObserver<"u"&&(SI=MutationObserver),typeof performance<"u"&&(av=performance)}catch{}var xI=uc.navigator||{},lv=xI.userAgent,cv=lv===void 0?"":lv,Vi=uc,Gt=iv,Gi=av;Vi.document;var fc=!!Gt.documentElement&&!!Gt.head&&typeof Gt.addEventListener=="function"&&typeof Gt.createElement=="function";~cv.indexOf("MSIE")||~cv.indexOf("Trident/");var dr="___FONT_AWESOME___",uv="fa",fv="svg-inline--fa",AI="data-fa-i2svg";(function(){try{return!0}catch{return!1}})();var dc={GROUP:"group",PRIMARY:"primary",SECONDARY:"secondary"},dv=Vi.FontAwesomeConfig||{};function TI(e){var t=Gt.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function OI(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Gt&&typeof Gt.querySelector=="function"){var RI=[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];RI.forEach(function(e){var t=ov(e,2),n=t[0],r=t[1],s=OI(TI(n));s!=null&&(dv[r]=s)})}var II={familyPrefix:uv,replacementClass:fv,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},pc=Xe({},II,dv);pc.autoReplaceSvg||(pc.observeMutations=!1);var an=Xe({},pc);Vi.FontAwesomeConfig=an;var pr=Vi||{};pr[dr]||(pr[dr]={}),pr[dr].styles||(pr[dr].styles={}),pr[dr].hooks||(pr[dr].hooks={}),pr[dr].shims||(pr[dr].shims=[]);var Fn=pr[dr],MI=[],LI=function e(){Gt.removeEventListener("DOMContentLoaded",e),hc=1,MI.map(function(t){return t()})},hc=!1;fc&&(hc=(Gt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Gt.readyState),hc||Gt.addEventListener("DOMContentLoaded",LI));var gc="pending",pv="settled",Ki="fulfilled",Wi="rejected",PI=function(){},hv=typeof global<"u"&&typeof global.process<"u"&&typeof global.process.emit=="function",DI=typeof setImmediate>"u"?setTimeout:setImmediate,xs=[],mc;function $I(){for(var e=0;e<xs.length;e++)xs[e][0](xs[e][1]);xs=[],mc=!1}function Zi(e,t){xs.push([e,t]),mc||(mc=!0,DI($I,0))}function NI(e,t){function n(s){vc(t,s)}function r(s){As(t,s)}try{e(n,r)}catch(s){r(s)}}function gv(e){var t=e.owner,n=t._state,r=t._data,s=e[n],o=e.then;if(typeof s=="function"){n=Ki;try{r=s(r)}catch(i){As(o,i)}}mv(o,r)||(n===Ki&&vc(o,r),n===Wi&&As(o,r))}function mv(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&(typeof t=="function"||Ss(t)==="object")){var r=t.then;if(typeof r=="function")return r.call(t,function(s){n||(n=!0,t===s?vv(e,s):vc(e,s))},function(s){n||(n=!0,As(e,s))}),!0}}catch(s){return n||As(e,s),!0}return!1}function vc(e,t){(e===t||!mv(e,t))&&vv(e,t)}function vv(e,t){e._state===gc&&(e._state=pv,e._data=t,Zi(qI,e))}function As(e,t){e._state===gc&&(e._state=pv,e._data=t,Zi(FI,e))}function bv(e){e._then=e._then.forEach(gv)}function qI(e){e._state=Ki,bv(e)}function FI(e){e._state=Wi,bv(e),!e._handled&&hv&&global.process.emit("unhandledRejection",e._data,e)}function BI(e){global.process.emit("rejectionHandled",e)}function bn(e){if(typeof e!="function")throw new TypeError("Promise resolver "+e+" is not a function");if(!(this instanceof bn))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],NI(e,this)}bn.prototype={constructor:bn,_state:gc,_then:null,_data:void 0,_handled:!1,then:function(t,n){var r={owner:this,then:new this.constructor(PI),fulfilled:t,rejected:n};return(n||t)&&!this._handled&&(this._handled=!0,this._state===Wi&&hv&&Zi(BI,this)),this._state===Ki||this._state===Wi?Zi(gv,r):this._then.push(r),r.then},catch:function(t){return this.then(null,t)}},bn.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new bn(function(t,n){var r=[],s=0;function o(l){return s++,function(u){r[l]=u,--s||t(r)}}for(var i=0,a;i<e.length;i++)a=e[i],a&&typeof a.then=="function"?a.then(o(i),n):r[i]=a;s||t(r)})},bn.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new bn(function(t,n){for(var r=0,s;r<e.length;r++)s=e[r],s&&typeof s.then=="function"?s.then(t,n):t(s)})},bn.resolve=function(e){return e&&Ss(e)==="object"&&e.constructor===bn?e:new bn(function(t){t(e)})},bn.reject=function(e){return new bn(function(t,n){n(e)})};var Io={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function zI(e){if(!(!e||!fc)){var t=Gt.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Gt.head.childNodes,r=null,s=n.length-1;s>-1;s--){var o=n[s],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}return Gt.head.insertBefore(t,r),e}}var HI="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Xi(){for(var e=12,t="";e-- >0;)t+=HI[Math.random()*62|0];return t}function yv(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function UI(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(yv(e[n]),'" ')},"").trim()}function _v(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n],";")},"")}function wv(e){return e.size!==Io.size||e.x!==Io.x||e.y!==Io.y||e.rotate!==Io.rotate||e.flipX||e.flipY}function kv(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,s={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(o," ").concat(i," ").concat(a)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:s,inner:l,path:u}}var bc={x:0,y:0,width:"100%",height:"100%"};function Ev(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function jI(e){return e.tag==="g"?e.children:[e]}function VI(e){var t=e.children,n=e.attributes,r=e.main,s=e.mask,o=e.maskId,i=e.transform,a=r.width,l=r.icon,u=s.width,f=s.icon,c=kv({transform:i,containerWidth:u,iconWidth:a}),p={tag:"rect",attributes:Xe({},bc,{fill:"white"})},d=l.children?{children:l.children.map(Ev)}:{},m={tag:"g",attributes:Xe({},c.inner),children:[Ev(Xe({tag:l.tag,attributes:Xe({},l.attributes,c.path)},d))]},g={tag:"g",attributes:Xe({},c.outer),children:[m]},w="mask-".concat(o||Xi()),h="clip-".concat(o||Xi()),_={tag:"mask",attributes:Xe({},bc,{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:h},children:jI(f)},_]};return t.push(y,{tag:"rect",attributes:Xe({fill:"currentColor","clip-path":"url(#".concat(h,")"),mask:"url(#".concat(w,")")},bc)}),{children:t,attributes:n}}function GI(e){var t=e.children,n=e.attributes,r=e.main,s=e.transform,o=e.styles,i=_v(o);if(i.length>0&&(n.style=i),wv(s)){var a=kv({transform:s,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:Xe({},a.outer),children:[{tag:"g",attributes:Xe({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Xe({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}function KI(e){var t=e.children,n=e.main,r=e.mask,s=e.attributes,o=e.styles,i=e.transform;if(wv(i)&&n.found&&!r.found){var a=n.width,l=n.height,u={x:a/l/2,y:.5};s.style=_v(Xe({},o,{"transform-origin":"".concat(u.x+i.x/16,"em ").concat(u.y+i.y/16,"em")}))}return[{tag:"svg",attributes:s,children:t}]}function WI(e){var t=e.prefix,n=e.iconName,r=e.children,s=e.attributes,o=e.symbol,i=o===!0?"".concat(t,"-").concat(an.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Xe({},s,{id:i}),children:r}]}]}function ZI(e){var t=e.icons,n=t.main,r=t.mask,s=e.prefix,o=e.iconName,i=e.transform,a=e.symbol,l=e.title,u=e.maskId,f=e.titleId,c=e.extra,p=e.watchable,d=p===void 0?!1:p,m=r.found?r:n,g=m.width,w=m.height,h=s==="fak",_=h?"":"fa-w-".concat(Math.ceil(g/w*16)),y=[an.replacementClass,o?"".concat(an.familyPrefix,"-").concat(o):"",_].filter(function(L){return c.classes.indexOf(L)===-1}).filter(function(L){return L!==""||!!L}).concat(c.classes).join(" "),b={children:[],attributes:Xe({},c.attributes,{"data-prefix":s,"data-icon":o,class:y,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(w)})},C=h&&!~c.classes.indexOf("fa-fw")?{width:"".concat(g/w*16*.0625,"em")}:{};d&&(b.attributes[AI]=""),l&&b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(f||Xi())},children:[l]});var k=Xe({},b,{prefix:s,iconName:o,main:n,mask:r,maskId:u,transform:i,symbol:a,styles:Xe({},C,c.styles)}),S=r.found&&n.found?VI(k):GI(k),A=S.children,R=S.attributes;return k.children=A,k.attributes=R,a?WI(k):KI(k)}an.measurePerformance&&Gi&&Gi.mark&&Gi.measure;var yc=function(t,n,r,s){var o=Object.keys(t),i=o.length,a=n,l,u,f;for(r===void 0?(l=1,f=t[o[0]]):(l=0,f=r);l<i;l++)u=o[l],f=a(f,t[u],u,t);return f};function Cv(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,s=r===void 0?!1:r,o=Object.keys(t).reduce(function(i,a){var l=t[a],u=!!l.icon;return u?i[l.iconName]=l.icon:i[a]=l,i},{});typeof Fn.hooks.addPack=="function"&&!s?Fn.hooks.addPack(e,o):Fn.styles[e]=Xe({},Fn.styles[e]||{},o),e==="fas"&&Cv("fa",t)}var Sv=Fn.styles,XI=Fn.shims,xv=function(){var t=function(s){return yc(Sv,function(o,i,a){return o[a]=yc(i,s,{}),o},{})};t(function(r,s,o){return s[3]&&(r[s[3]]=o),r}),t(function(r,s,o){var i=s[2];return r[o]=o,i.forEach(function(a){r[a]=o}),r});var n="far"in Sv;yc(XI,function(r,s){var o=s[0],i=s[1],a=s[2];return i==="far"&&!n&&(i="fas"),r[o]={prefix:i,iconName:a},r},{})};xv(),Fn.styles;function Av(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function Tv(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,s=e.children,o=s===void 0?[]:s;return typeof e=="string"?yv(e):"<".concat(t," ").concat(UI(r),">").concat(o.map(Tv).join(""),"</").concat(t,">")}var YI=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce(function(r,s){var o=s.toLowerCase().split("-"),i=o[0],a=o.slice(1).join("-");if(i&&a==="h")return r.flipX=!0,r;if(i&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(i){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n):n};function _c(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=new Error().stack}_c.prototype=Object.create(Error.prototype),_c.prototype.constructor=_c;var Yi={fill:"currentColor"},Ov={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Xe({},Yi,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"});var wc=Xe({},Ov,{attributeName:"opacity"});Xe({},Yi,{cx:"256",cy:"364",r:"28"}),Xe({},Ov,{attributeName:"r",values:"28;14;28;28;14;28;"}),Xe({},wc,{values:"1;0;1;1;0;1;"}),Xe({},Yi,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),Xe({},wc,{values:"1;0;0;0;0;1;"}),Xe({},Yi,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),Xe({},wc,{values:"0;0;1;1;0;0;"}),Fn.styles;function Rv(e){var t=e[0],n=e[1],r=e.slice(4),s=ov(r,1),o=s[0],i=null;return Array.isArray(o)?i={tag:"g",attributes:{class:"".concat(an.familyPrefix,"-").concat(dc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(an.familyPrefix,"-").concat(dc.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(an.familyPrefix,"-").concat(dc.PRIMARY),fill:"currentColor",d:o[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:n,icon:i}}Fn.styles;var JI=`svg:not(:root).svg-inline--fa {
|
|
33
|
-
overflow: visible;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.svg-inline--fa {
|
|
37
|
-
display: inline-block;
|
|
38
|
-
font-size: inherit;
|
|
39
|
-
height: 1em;
|
|
40
|
-
overflow: visible;
|
|
41
|
-
vertical-align: -0.125em;
|
|
42
|
-
}
|
|
43
|
-
.svg-inline--fa.fa-lg {
|
|
44
|
-
vertical-align: -0.225em;
|
|
45
|
-
}
|
|
46
|
-
.svg-inline--fa.fa-w-1 {
|
|
47
|
-
width: 0.0625em;
|
|
48
|
-
}
|
|
49
|
-
.svg-inline--fa.fa-w-2 {
|
|
50
|
-
width: 0.125em;
|
|
51
|
-
}
|
|
52
|
-
.svg-inline--fa.fa-w-3 {
|
|
53
|
-
width: 0.1875em;
|
|
54
|
-
}
|
|
55
|
-
.svg-inline--fa.fa-w-4 {
|
|
56
|
-
width: 0.25em;
|
|
57
|
-
}
|
|
58
|
-
.svg-inline--fa.fa-w-5 {
|
|
59
|
-
width: 0.3125em;
|
|
60
|
-
}
|
|
61
|
-
.svg-inline--fa.fa-w-6 {
|
|
62
|
-
width: 0.375em;
|
|
63
|
-
}
|
|
64
|
-
.svg-inline--fa.fa-w-7 {
|
|
65
|
-
width: 0.4375em;
|
|
66
|
-
}
|
|
67
|
-
.svg-inline--fa.fa-w-8 {
|
|
68
|
-
width: 0.5em;
|
|
69
|
-
}
|
|
70
|
-
.svg-inline--fa.fa-w-9 {
|
|
71
|
-
width: 0.5625em;
|
|
72
|
-
}
|
|
73
|
-
.svg-inline--fa.fa-w-10 {
|
|
74
|
-
width: 0.625em;
|
|
75
|
-
}
|
|
76
|
-
.svg-inline--fa.fa-w-11 {
|
|
77
|
-
width: 0.6875em;
|
|
78
|
-
}
|
|
79
|
-
.svg-inline--fa.fa-w-12 {
|
|
80
|
-
width: 0.75em;
|
|
81
|
-
}
|
|
82
|
-
.svg-inline--fa.fa-w-13 {
|
|
83
|
-
width: 0.8125em;
|
|
84
|
-
}
|
|
85
|
-
.svg-inline--fa.fa-w-14 {
|
|
86
|
-
width: 0.875em;
|
|
87
|
-
}
|
|
88
|
-
.svg-inline--fa.fa-w-15 {
|
|
89
|
-
width: 0.9375em;
|
|
90
|
-
}
|
|
91
|
-
.svg-inline--fa.fa-w-16 {
|
|
92
|
-
width: 1em;
|
|
93
|
-
}
|
|
94
|
-
.svg-inline--fa.fa-w-17 {
|
|
95
|
-
width: 1.0625em;
|
|
96
|
-
}
|
|
97
|
-
.svg-inline--fa.fa-w-18 {
|
|
98
|
-
width: 1.125em;
|
|
99
|
-
}
|
|
100
|
-
.svg-inline--fa.fa-w-19 {
|
|
101
|
-
width: 1.1875em;
|
|
102
|
-
}
|
|
103
|
-
.svg-inline--fa.fa-w-20 {
|
|
104
|
-
width: 1.25em;
|
|
105
|
-
}
|
|
106
|
-
.svg-inline--fa.fa-pull-left {
|
|
107
|
-
margin-right: 0.3em;
|
|
108
|
-
width: auto;
|
|
109
|
-
}
|
|
110
|
-
.svg-inline--fa.fa-pull-right {
|
|
111
|
-
margin-left: 0.3em;
|
|
112
|
-
width: auto;
|
|
113
|
-
}
|
|
114
|
-
.svg-inline--fa.fa-border {
|
|
115
|
-
height: 1.5em;
|
|
116
|
-
}
|
|
117
|
-
.svg-inline--fa.fa-li {
|
|
118
|
-
width: 2em;
|
|
119
|
-
}
|
|
120
|
-
.svg-inline--fa.fa-fw {
|
|
121
|
-
width: 1.25em;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.fa-layers svg.svg-inline--fa {
|
|
125
|
-
bottom: 0;
|
|
126
|
-
left: 0;
|
|
127
|
-
margin: auto;
|
|
128
|
-
position: absolute;
|
|
129
|
-
right: 0;
|
|
130
|
-
top: 0;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.fa-layers {
|
|
134
|
-
display: inline-block;
|
|
135
|
-
height: 1em;
|
|
136
|
-
position: relative;
|
|
137
|
-
text-align: center;
|
|
138
|
-
vertical-align: -0.125em;
|
|
139
|
-
width: 1em;
|
|
140
|
-
}
|
|
141
|
-
.fa-layers svg.svg-inline--fa {
|
|
142
|
-
-webkit-transform-origin: center center;
|
|
143
|
-
transform-origin: center center;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.fa-layers-counter, .fa-layers-text {
|
|
147
|
-
display: inline-block;
|
|
148
|
-
position: absolute;
|
|
149
|
-
text-align: center;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.fa-layers-text {
|
|
153
|
-
left: 50%;
|
|
154
|
-
top: 50%;
|
|
155
|
-
-webkit-transform: translate(-50%, -50%);
|
|
156
|
-
transform: translate(-50%, -50%);
|
|
157
|
-
-webkit-transform-origin: center center;
|
|
158
|
-
transform-origin: center center;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.fa-layers-counter {
|
|
162
|
-
background-color: #ff253a;
|
|
163
|
-
border-radius: 1em;
|
|
164
|
-
-webkit-box-sizing: border-box;
|
|
165
|
-
box-sizing: border-box;
|
|
166
|
-
color: #fff;
|
|
167
|
-
height: 1.5em;
|
|
168
|
-
line-height: 1;
|
|
169
|
-
max-width: 5em;
|
|
170
|
-
min-width: 1.5em;
|
|
171
|
-
overflow: hidden;
|
|
172
|
-
padding: 0.25em;
|
|
173
|
-
right: 0;
|
|
174
|
-
text-overflow: ellipsis;
|
|
175
|
-
top: 0;
|
|
176
|
-
-webkit-transform: scale(0.25);
|
|
177
|
-
transform: scale(0.25);
|
|
178
|
-
-webkit-transform-origin: top right;
|
|
179
|
-
transform-origin: top right;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.fa-layers-bottom-right {
|
|
183
|
-
bottom: 0;
|
|
184
|
-
right: 0;
|
|
185
|
-
top: auto;
|
|
186
|
-
-webkit-transform: scale(0.25);
|
|
187
|
-
transform: scale(0.25);
|
|
188
|
-
-webkit-transform-origin: bottom right;
|
|
189
|
-
transform-origin: bottom right;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.fa-layers-bottom-left {
|
|
193
|
-
bottom: 0;
|
|
194
|
-
left: 0;
|
|
195
|
-
right: auto;
|
|
196
|
-
top: auto;
|
|
197
|
-
-webkit-transform: scale(0.25);
|
|
198
|
-
transform: scale(0.25);
|
|
199
|
-
-webkit-transform-origin: bottom left;
|
|
200
|
-
transform-origin: bottom left;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.fa-layers-top-right {
|
|
204
|
-
right: 0;
|
|
205
|
-
top: 0;
|
|
206
|
-
-webkit-transform: scale(0.25);
|
|
207
|
-
transform: scale(0.25);
|
|
208
|
-
-webkit-transform-origin: top right;
|
|
209
|
-
transform-origin: top right;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.fa-layers-top-left {
|
|
213
|
-
left: 0;
|
|
214
|
-
right: auto;
|
|
215
|
-
top: 0;
|
|
216
|
-
-webkit-transform: scale(0.25);
|
|
217
|
-
transform: scale(0.25);
|
|
218
|
-
-webkit-transform-origin: top left;
|
|
219
|
-
transform-origin: top left;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.fa-lg {
|
|
223
|
-
font-size: 1.3333333333em;
|
|
224
|
-
line-height: 0.75em;
|
|
225
|
-
vertical-align: -0.0667em;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.fa-xs {
|
|
229
|
-
font-size: 0.75em;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.fa-sm {
|
|
233
|
-
font-size: 0.875em;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.fa-1x {
|
|
237
|
-
font-size: 1em;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.fa-2x {
|
|
241
|
-
font-size: 2em;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.fa-3x {
|
|
245
|
-
font-size: 3em;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.fa-4x {
|
|
249
|
-
font-size: 4em;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.fa-5x {
|
|
253
|
-
font-size: 5em;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.fa-6x {
|
|
257
|
-
font-size: 6em;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.fa-7x {
|
|
261
|
-
font-size: 7em;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.fa-8x {
|
|
265
|
-
font-size: 8em;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.fa-9x {
|
|
269
|
-
font-size: 9em;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.fa-10x {
|
|
273
|
-
font-size: 10em;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.fa-fw {
|
|
277
|
-
text-align: center;
|
|
278
|
-
width: 1.25em;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.fa-ul {
|
|
282
|
-
list-style-type: none;
|
|
283
|
-
margin-left: 2.5em;
|
|
284
|
-
padding-left: 0;
|
|
285
|
-
}
|
|
286
|
-
.fa-ul > li {
|
|
287
|
-
position: relative;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.fa-li {
|
|
291
|
-
left: -2em;
|
|
292
|
-
position: absolute;
|
|
293
|
-
text-align: center;
|
|
294
|
-
width: 2em;
|
|
295
|
-
line-height: inherit;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.fa-border {
|
|
299
|
-
border: solid 0.08em #eee;
|
|
300
|
-
border-radius: 0.1em;
|
|
301
|
-
padding: 0.2em 0.25em 0.15em;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.fa-pull-left {
|
|
305
|
-
float: left;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.fa-pull-right {
|
|
309
|
-
float: right;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.fa.fa-pull-left,
|
|
313
|
-
.fas.fa-pull-left,
|
|
314
|
-
.far.fa-pull-left,
|
|
315
|
-
.fal.fa-pull-left,
|
|
316
|
-
.fab.fa-pull-left {
|
|
317
|
-
margin-right: 0.3em;
|
|
318
|
-
}
|
|
319
|
-
.fa.fa-pull-right,
|
|
320
|
-
.fas.fa-pull-right,
|
|
321
|
-
.far.fa-pull-right,
|
|
322
|
-
.fal.fa-pull-right,
|
|
323
|
-
.fab.fa-pull-right {
|
|
324
|
-
margin-left: 0.3em;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.fa-spin {
|
|
328
|
-
-webkit-animation: fa-spin 2s infinite linear;
|
|
329
|
-
animation: fa-spin 2s infinite linear;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.fa-pulse {
|
|
333
|
-
-webkit-animation: fa-spin 1s infinite steps(8);
|
|
334
|
-
animation: fa-spin 1s infinite steps(8);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
@-webkit-keyframes fa-spin {
|
|
338
|
-
0% {
|
|
339
|
-
-webkit-transform: rotate(0deg);
|
|
340
|
-
transform: rotate(0deg);
|
|
341
|
-
}
|
|
342
|
-
100% {
|
|
343
|
-
-webkit-transform: rotate(360deg);
|
|
344
|
-
transform: rotate(360deg);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
@keyframes fa-spin {
|
|
349
|
-
0% {
|
|
350
|
-
-webkit-transform: rotate(0deg);
|
|
351
|
-
transform: rotate(0deg);
|
|
352
|
-
}
|
|
353
|
-
100% {
|
|
354
|
-
-webkit-transform: rotate(360deg);
|
|
355
|
-
transform: rotate(360deg);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
.fa-rotate-90 {
|
|
359
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
|
|
360
|
-
-webkit-transform: rotate(90deg);
|
|
361
|
-
transform: rotate(90deg);
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.fa-rotate-180 {
|
|
365
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
|
|
366
|
-
-webkit-transform: rotate(180deg);
|
|
367
|
-
transform: rotate(180deg);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.fa-rotate-270 {
|
|
371
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
|
|
372
|
-
-webkit-transform: rotate(270deg);
|
|
373
|
-
transform: rotate(270deg);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
.fa-flip-horizontal {
|
|
377
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
|
|
378
|
-
-webkit-transform: scale(-1, 1);
|
|
379
|
-
transform: scale(-1, 1);
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.fa-flip-vertical {
|
|
383
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
|
384
|
-
-webkit-transform: scale(1, -1);
|
|
385
|
-
transform: scale(1, -1);
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {
|
|
389
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
|
390
|
-
-webkit-transform: scale(-1, -1);
|
|
391
|
-
transform: scale(-1, -1);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
:root .fa-rotate-90,
|
|
395
|
-
:root .fa-rotate-180,
|
|
396
|
-
:root .fa-rotate-270,
|
|
397
|
-
:root .fa-flip-horizontal,
|
|
398
|
-
:root .fa-flip-vertical,
|
|
399
|
-
:root .fa-flip-both {
|
|
400
|
-
-webkit-filter: none;
|
|
401
|
-
filter: none;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.fa-stack {
|
|
405
|
-
display: inline-block;
|
|
406
|
-
height: 2em;
|
|
407
|
-
position: relative;
|
|
408
|
-
width: 2.5em;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.fa-stack-1x,
|
|
412
|
-
.fa-stack-2x {
|
|
413
|
-
bottom: 0;
|
|
414
|
-
left: 0;
|
|
415
|
-
margin: auto;
|
|
416
|
-
position: absolute;
|
|
417
|
-
right: 0;
|
|
418
|
-
top: 0;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
.svg-inline--fa.fa-stack-1x {
|
|
422
|
-
height: 1em;
|
|
423
|
-
width: 1.25em;
|
|
424
|
-
}
|
|
425
|
-
.svg-inline--fa.fa-stack-2x {
|
|
426
|
-
height: 2em;
|
|
427
|
-
width: 2.5em;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
.fa-inverse {
|
|
431
|
-
color: #fff;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.sr-only {
|
|
435
|
-
border: 0;
|
|
436
|
-
clip: rect(0, 0, 0, 0);
|
|
437
|
-
height: 1px;
|
|
438
|
-
margin: -1px;
|
|
439
|
-
overflow: hidden;
|
|
440
|
-
padding: 0;
|
|
441
|
-
position: absolute;
|
|
442
|
-
width: 1px;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.sr-only-focusable:active, .sr-only-focusable:focus {
|
|
446
|
-
clip: auto;
|
|
447
|
-
height: auto;
|
|
448
|
-
margin: 0;
|
|
449
|
-
overflow: visible;
|
|
450
|
-
position: static;
|
|
451
|
-
width: auto;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.svg-inline--fa .fa-primary {
|
|
455
|
-
fill: var(--fa-primary-color, currentColor);
|
|
456
|
-
opacity: 1;
|
|
457
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
.svg-inline--fa .fa-secondary {
|
|
461
|
-
fill: var(--fa-secondary-color, currentColor);
|
|
462
|
-
opacity: 0.4;
|
|
463
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
467
|
-
opacity: 0.4;
|
|
468
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
472
|
-
opacity: 1;
|
|
473
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.svg-inline--fa mask .fa-primary,
|
|
477
|
-
.svg-inline--fa mask .fa-secondary {
|
|
478
|
-
fill: black;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
.fad.fa-inverse {
|
|
482
|
-
color: #fff;
|
|
483
|
-
}`;function QI(){var e=uv,t=fv,n=an.familyPrefix,r=an.replacementClass,s=JI;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");s=s.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(a,".".concat(r))}return s}var eM=function(){function e(){bI(this,e),this.definitions={}}return _I(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,s=new Array(r),o=0;o<r;o++)s[o]=arguments[o];var i=s.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(a){n.definitions[a]=Xe({},n.definitions[a]||{},i[a]),Cv(a,i[a]),xv()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var s=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(s).map(function(o){var i=s[o],a=i.prefix,l=i.iconName,u=i.icon;n[a]||(n[a]={}),n[a][l]=u}),n}}]),e}();function tM(){an.autoAddCss&&!Mv&&(zI(QI()),Mv=!0)}function nM(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Tv(r)})}}),Object.defineProperty(e,"node",{get:function(){if(fc){var r=Gt.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function Iv(e){var t=e.prefix,n=t===void 0?"fa":t,r=e.iconName;if(r)return Av(oM.definitions,n,r)||Av(Fn.styles,n,r)}function rM(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Iv(t||{}),s=n.mask;return s&&(s=(s||{}).icon?s:Iv(s||{})),e(r,Xe({},n,{mask:s}))}}var oM=new eM,Mv=!1,kc={transform:function(t){return YI(t)}},sM=rM(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transform,r=n===void 0?Io:n,s=t.symbol,o=s===void 0?!1:s,i=t.mask,a=i===void 0?null:i,l=t.maskId,u=l===void 0?null:l,f=t.title,c=f===void 0?null:f,p=t.titleId,d=p===void 0?null:p,m=t.classes,g=m===void 0?[]:m,w=t.attributes,h=w===void 0?{}:w,_=t.styles,y=_===void 0?{}:_;if(e){var b=e.prefix,C=e.iconName,k=e.icon;return nM(Xe({type:"icon"},e),function(){return tM(),an.autoA11y&&(c?h["aria-labelledby"]="".concat(an.replacementClass,"-title-").concat(d||Xi()):(h["aria-hidden"]="true",h.focusable="false")),ZI({icons:{main:Rv(k),mask:a?Rv(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:C,transform:Xe({},Io,r),symbol:o,title:c,maskId:u,titleId:d,extra:{attributes:h,styles:y,classes:g}})})}});function Lv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function hr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Lv(Object(n),!0).forEach(function(r){en(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lv(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ji(e){"@babel/helpers - typeof";return Ji=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ji(e)}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iM(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function aM(e,t){if(e==null)return{};var n=iM(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var lM=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pv={exports:{}};(function(e){(function(t){var n=function(h,_,y){if(!u(_)||c(_)||p(_)||d(_)||l(_))return _;var b,C=0,k=0;if(f(_))for(b=[],k=_.length;C<k;C++)b.push(n(h,_[C],y));else{b={};for(var S in _)Object.prototype.hasOwnProperty.call(_,S)&&(b[h(S,y)]=n(h,_[S],y))}return b},r=function(h,_){_=_||{};var y=_.separator||"_",b=_.split||/(?=[A-Z])/;return h.split(b).join(y)},s=function(h){return m(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(_,y){return y?y.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},o=function(h){var _=s(h);return _.substr(0,1).toUpperCase()+_.substr(1)},i=function(h,_){return r(h,_).toLowerCase()},a=Object.prototype.toString,l=function(h){return typeof h=="function"},u=function(h){return h===Object(h)},f=function(h){return a.call(h)=="[object Array]"},c=function(h){return a.call(h)=="[object Date]"},p=function(h){return a.call(h)=="[object RegExp]"},d=function(h){return a.call(h)=="[object Boolean]"},m=function(h){return h=h-0,h===h},g=function(h,_){var y=_&&"process"in _?_.process:_;return typeof y!="function"?h:function(b,C){return y(b,h,C)}},w={camelize:s,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(h,_){return n(g(s,_),h)},decamelizeKeys:function(h,_){return n(g(i,_),h,_)},pascalizeKeys:function(h,_){return n(g(o,_),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(lM)})(Pv);var cM=Pv.exports,uM=["class","style"];function fM(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),s=cM.camelize(n.slice(0,r)),o=n.slice(r+1).trim();return t[s]=o,t},{})}function dM(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function Dv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return Dv(l)}),s=Object.keys(e.attributes||{}).reduce(function(l,u){var f=e.attributes[u];switch(u){case"class":l.class=dM(f);break;case"style":l.style=fM(f);break;default:l.attrs[u]=f}return l},{attrs:{},class:{},style:{}});n.class;var o=n.style,i=o===void 0?{}:o,a=aM(n,uM);return hn(e.tag,hr(hr(hr({},t),{},{class:s.class,style:hr(hr({},s.style),i)},s.attrs),a),r)}var $v=!1;try{$v=!0}catch{}function pM(){if(!$v&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Ec(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?en({},e,t):{}}function hM(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},en(t,"fa-".concat(e.size),e.size!==null),en(t,"fa-rotate-".concat(e.rotation),e.rotation!==null),en(t,"fa-pull-".concat(e.pull),e.pull!==null),en(t,"fa-swap-opacity",e.swapOpacity),en(t,"fa-bounce",e.bounce),en(t,"fa-shake",e.shake),en(t,"fa-beat",e.beat),en(t,"fa-fade",e.fade),en(t,"fa-beat-fade",e.beatFade),en(t,"fa-flash",e.flash),en(t,"fa-spin-pulse",e.spinPulse),en(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function Nv(e){if(e&&Ji(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(kc.icon)return kc.icon(e);if(e===null)return null;if(Ji(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var gM=ee({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,s=I(function(){return Nv(t.icon)}),o=I(function(){return Ec("classes",hM(t))}),i=I(function(){return Ec("transform",typeof t.transform=="string"?kc.transform(t.transform):t.transform)}),a=I(function(){return Ec("mask",Nv(t.mask))}),l=I(function(){return sM(s.value,hr(hr(hr(hr({},o.value),i.value),a.value),{},{symbol:t.symbol,title:t.title}))});Ee(l,function(f){if(!f)return pM("Could not find one or more icon(s)",s.value,a.value)},{immediate:!0});var u=I(function(){return l.value?Dv(l.value.abstract[0],{},r):null});return function(){return u.value}}});const qv=Er(ee({name:"N8nText",__name:"Text",props:{bold:{type:Boolean,default:!1},size:{default:"medium"},color:{},align:{},compact:{type:Boolean,default:!1},tag:{default:"span"}},setup(e){const t=e,n=dh(),r=I(()=>{const s=[];return t.align&&s.push(`align-${t.align}`),t.color&&s.push(t.color),t.compact&&s.push("compact"),s.push(`size-${t.size}`),s.push(t.bold?"bold":"regular"),s.map(o=>n[o])});return(s,o)=>(O(),le(Bt(s.tag),dt({class:["n8n-text",...r.value]},s.$attrs),{default:ue(()=>[ye(s.$slots,"default")]),_:3},16,["class"]))}}),[["__cssModules",{$style:{bold:"_bold_ushv1_1",regular:"_regular_ushv1_5","size-xlarge":"_size-xlarge_ushv1_9","size-large":"_size-large_ushv1_14","size-medium":"_size-medium_ushv1_19","size-small":"_size-small_ushv1_24","size-xsmall":"_size-xsmall_ushv1_29",compact:"_compact_ushv1_34",primary:"_primary_ushv1_38",secondary:"_secondary_ushv1_42","text-dark":"_text-dark_ushv1_46","text-base":"_text-base_ushv1_50","text-light":"_text-light_ushv1_54","text-xlight":"_text-xlight_ushv1_58",danger:"_danger_ushv1_62",success:"_success_ushv1_66",warning:"_warning_ushv1_70","foreground-dark":"_foreground-dark_ushv1_74","foreground-xdark":"_foreground-xdark_ushv1_78","align-left":"_align-left_ushv1_82","align-right":"_align-right_ushv1_86","align-center":"_align-center_ushv1_90"}}]]),Cc=Er(ee({name:"N8nIcon",__name:"Icon",props:{icon:{},size:{default:"medium"},spin:{default:!1},color:{}},setup(e){return(t,n)=>(O(),le(v(qv),dt({size:t.size,color:t.color,compact:!0,class:"n8n-icon"},t.$attrs),{default:ue(()=>[ke(v(gM),{icon:t.icon,spin:t.spin,class:W(t.$style[t.size])},null,8,["icon","spin","class"])]),_:1},16,["size","color"]))}}),[["__cssModules",{$style:{xlarge:"_xlarge_1pnjy_1",large:"_large_1pnjy_5",medium:"_medium_1pnjy_9",small:"_small_1pnjy_13",xsmall:"_xsmall_1pnjy_17"}}]]),mM={class:"n8n-spinner"},vM={key:0,class:"lds-ring"},bM=ee({name:"N8nSpinner",__name:"Spinner",props:{size:{default:"medium"},type:{default:"dots"}},setup(e){return(t,n)=>(O(),U("span",mM,[t.type==="ring"?(O(),U("div",vM,n[0]||(n[0]=[ne("div",null,null,-1),ne("div",null,null,-1),ne("div",null,null,-1),ne("div",null,null,-1)]))):(O(),le(v(Cc),{key:1,icon:"spinner",size:t.size,spin:""},null,8,["size"]))]))}}),yM={key:1},_M=Er(ee({name:"N8nButton",__name:"Button",props:{block:{type:Boolean,default:!1},element:{default:"button"},href:{},label:{default:""},square:{type:Boolean,default:!1},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},float:{},icon:{},loading:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},size:{default:"medium"},iconSize:{},text:{type:Boolean,default:!1},type:{default:"primary"},nativeType:{}},setup(e){const t=dh(),n=ii(),r=e;Za(()=>{r.element==="a"&&!r.href&&console.error("n8n-button:href is required for link buttons")});const s=I(()=>r.loading?"true":void 0),o=I(()=>r.disabled?"true":void 0),i=I(()=>r.disabled||r.loading),a=I(()=>r.iconSize??(r.size==="xmini"||r.size==="mini"?"xsmall":r.size)),l=I(()=>`button ${t.button} ${t[r.type]}${r.size?` ${t[r.size]}`:""}${r.outline?` ${t.outline}`:""}${r.loading?` ${t.loading}`:""}${r.float?` ${t[`float-${r.float}`]}`:""}${r.text?` ${t.text}`:""}${r.disabled?` ${t.disabled}`:""}${r.block?` ${t.block}`:""}${r.active?` ${t.active}`:""}${r.icon||r.loading?` ${t.withIcon}`:""}${r.square?` ${t.square}`:""}`);return(u,f)=>(O(),le(Bt(u.element),dt({class:l.value,disabled:i.value,"aria-disabled":o.value,"aria-busy":s.value,href:u.href,"aria-live":"polite"},{...v(n),...r.nativeType?{type:r.nativeType}:{}}),{default:ue(()=>[u.loading||u.icon?(O(),U("span",{key:0,class:W(v(t).icon)},[u.loading?(O(),le(v(bM),{key:0,size:a.value},null,8,["size"])):u.icon?(O(),le(v(Cc),{key:1,icon:u.icon,size:a.value},null,8,["icon","size"])):ge("",!0)],2)):ge("",!0),u.label?(O(),U("span",yM,Ke(u.label),1)):u.$slots.default?ye(u.$slots,"default",{key:2}):ge("",!0)]),_:3},16,["class","disabled","aria-disabled","aria-busy","href"]))}}),[["__cssModules",{$style:{button:"_button_1e7v8_229",active:"_active_1e7v8_262",disabled:"_disabled_1e7v8_280",loading:"_loading_1e7v8_288",secondary:"_secondary_1e7v8_314",tertiary:"_tertiary_1e7v8_336",success:"_success_1e7v8_358",warning:"_warning_1e7v8_380",danger:"_danger_1e7v8_402",xmini:"_xmini_1e7v8_427",square:"_square_1e7v8_432",mini:"_mini_1e7v8_437",small:"_small_1e7v8_447",medium:"_medium_1e7v8_457",large:"_large_1e7v8_467",xlarge:"_xlarge_1e7v8_472",outline:"_outline_1e7v8_485",primary:"_primary_1e7v8_489",text:"_text_1e7v8_526",transparent:"_transparent_1e7v8_594",withIcon:"_withIcon_1e7v8_599",icon:"_icon_1e7v8_605",block:"_block_1e7v8_614","float-left":"_float-left_1e7v8_618","float-right":"_float-right_1e7v8_622"}}]]);({...ws.props});function wM(e,t){return/^on[A-Z]/.test(t)}function Fv(e){return`${e?`${e}-`:""}${Math.random().toString(36).substring(2,11)}`}const kM=Er(ee({name:"N8nInput",__name:"Input",props:{modelValue:{default:""},type:{default:"text"},size:{default:"large"},placeholder:{default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},rows:{default:2},maxlength:{default:void 0},title:{default:""},name:{default:()=>Fv("input")},autocomplete:{default:"off"}},setup(e,{expose:t}){const n=e,r=I(()=>n.size==="medium"?"default":n.size),s=I(()=>{const f=[];return n.size==="xlarge"&&f.push("xlarge"),n.type==="password"&&f.push("ph-no-capture"),f}),o=G(),i=I(()=>{if(!(o!=null&&o.value))return;const f=n.type==="textarea"?"textarea":"input";return o.value.$el.querySelector(f)});return t({focus:()=>{var f;return(f=i.value)==null?void 0:f.focus()},blur:()=>{var f;return(f=i.value)==null?void 0:f.blur()},select:()=>{var f;return(f=i.value)==null?void 0:f.select()}}),(f,c)=>(O(),le(v($i),dt({ref_key:"innerInput",ref:o,"model-value":f.modelValue,type:f.type,size:r.value,class:["n8n-input",...s.value],autocomplete:f.autocomplete,name:f.name,placeholder:f.placeholder,disabled:f.disabled,readonly:f.readonly,clearable:f.clearable,rows:f.rows,title:f.title,maxlength:f.maxlength},f.$attrs),si({_:2},[f.$slots.prepend?{name:"prepend",fn:ue(()=>[ye(f.$slots,"prepend")]),key:"0"}:void 0,f.$slots.append?{name:"append",fn:ue(()=>[ye(f.$slots,"append")]),key:"1"}:void 0,f.$slots.prefix?{name:"prefix",fn:ue(()=>[ye(f.$slots,"prefix")]),key:"2"}:void 0,f.$slots.suffix?{name:"suffix",fn:ue(()=>[ye(f.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","type","size","class","autocomplete","name","placeholder","disabled","readonly","clearable","rows","title","maxlength"]))}}),[["__cssModules",{$style:{xlarge:"_xlarge_ddtui_1"}}]]);Fv("color-picker"),{...ev},{...lc.props};/*!
|
|
30
|
+
`,W7=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Z7(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),s=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:W7.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:s,boxSizing:n}}function y2(e,t=1,n){var r;An||(An=document.createElement("textarea"),document.body.appendChild(An));const{paddingSize:s,borderSize:o,boxSizing:i,contextStyle:a}=Z7(e);An.setAttribute("style",`${a};${G7}`),An.value=e.value||e.placeholder||"";let l=An.scrollHeight;const u={};i==="border-box"?l=l+o:i==="content-box"&&(l=l-s),An.value="";const f=An.scrollHeight-s;if(vt(t)){let c=f*t;i==="border-box"&&(c=c+s+o),l=Math.max(c,l),u.minHeight=`${c}px`}if(vt(n)){let c=f*n;i==="border-box"&&(c=c+s+o),l=Math.min(c,l)}return u.height=`${l}px`,(r=An.parentNode)==null||r.removeChild(An),An=void 0,u}const X7=Ye({id:{type:String,default:void 0},size:Wl,disabled:Boolean,modelValue:{type:Ie([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Ie([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Cn},prefixIcon:{type:Cn},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Ie([Object,Array,String]),default:()=>Dl({})},autofocus:{type:Boolean,default:!1}}),J7={[Zt]:e=>qe(e),input:e=>qe(e),change:e=>qe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Y7=["role"],Q7=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],eE=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],tE=ne({...ne({name:"ElInput",inheritAttrs:!1}),props:X7,emits:J7,setup(e,{expose:t,emit:n}){const r=e,s=ri(),o=m0(),i=O(()=>{const V={};return r.containerRole==="combobox"&&(V["aria-haspopup"]=s["aria-haspopup"],V["aria-owns"]=s["aria-owns"],V["aria-expanded"]=s["aria-expanded"]),V}),a=O(()=>[r.type==="textarea"?C.b():g.b(),g.m(d.value),g.is("disabled",m.value),g.is("exceed",Qe.value),{[g.b("group")]:o.prepend||o.append,[g.bm("group","append")]:o.append,[g.bm("group","prepend")]:o.prepend,[g.m("prefix")]:o.prefix||r.prefixIcon,[g.m("suffix")]:o.suffix||r.suffixIcon||r.clearable||r.showPassword,[g.bm("suffix","password-clear")]:te.value&&Ae.value},s.class]),l=O(()=>[g.e("wrapper"),g.is("focus",P.value)]),u=p8({excludeKeys:O(()=>Object.keys(i.value))}),{form:f,formItem:c}=Oi(),{inputId:p}=_2(r,{formItemContext:c}),d=ms(),m=Ri(),g=Ze("input"),C=Ze("textarea"),h=Wn(),k=Wn(),y=U(!1),_=U(!1),S=U(!1),x=U(),T=Wn(r.inputStyle),L=O(()=>h.value||k.value),{wrapperRef:I,isFocused:P,handleFocus:N,handleBlur:D}=v2(L,{afterBlur(){var V;r.validateEvent&&((V=c==null?void 0:c.validate)==null||V.call(c,"blur").catch(ie=>void 0))}}),oe=O(()=>{var V;return(V=f==null?void 0:f.statusIcon)!=null?V:!1}),B=O(()=>(c==null?void 0:c.validateState)||""),K=O(()=>B.value&&Bh[B.value]),F=O(()=>S.value?s8:t8),z=O(()=>[s.style,r.inputStyle]),H=O(()=>[r.inputStyle,T.value,{resize:r.resize}]),Q=O(()=>Wr(r.modelValue)?"":String(r.modelValue)),te=O(()=>r.clearable&&!m.value&&!r.readonly&&!!Q.value&&(P.value||y.value)),Ae=O(()=>r.showPassword&&!m.value&&!r.readonly&&!!Q.value&&(!!Q.value||P.value)),ve=O(()=>r.showWordLimit&&!!u.value.maxlength&&(r.type==="text"||r.type==="textarea")&&!m.value&&!r.readonly&&!r.showPassword),Be=O(()=>Q.value.length),Qe=O(()=>!!ve.value&&Be.value>Number(u.value.maxlength)),rt=O(()=>!!o.suffix||!!r.suffixIcon||te.value||r.showPassword||ve.value||!!B.value&&oe.value),[ft,bt]=B7(h);mi(k,V=>{if(me(),!ve.value||r.resize!=="both")return;const ie=V[0],{width:Ee}=ie.contentRect;x.value={right:`calc(100% - ${Ee+15+6}px)`}});const ut=()=>{const{type:V,autosize:ie}=r;if(!(!Pt||V!=="textarea"||!k.value))if(ie){const Ee=Pe(ie)?ie.minRows:void 0,Le=Pe(ie)?ie.maxRows:void 0,at=y2(k.value,Ee,Le);T.value={overflowY:"hidden",...at},He(()=>{k.value.offsetHeight,T.value=at})}else T.value={minHeight:y2(k.value).minHeight}},me=(V=>{let ie=!1;return()=>{var Ee;if(ie||!r.autosize)return;((Ee=k.value)==null?void 0:Ee.offsetParent)===null||(V(),ie=!0)}})(ut),Ne=()=>{const V=L.value,ie=r.formatter?r.formatter(Q.value):Q.value;!V||V.value===ie||(V.value=ie)},M=async V=>{ft();let{value:ie}=V.target;if(r.formatter&&(ie=r.parser?r.parser(ie):ie),!_.value){if(ie===Q.value){Ne();return}n(Zt,ie),n("input",ie),await He(),Ne(),bt()}},$=V=>{n("change",V.target.value)},j=V=>{n("compositionstart",V),_.value=!0},Y=V=>{var ie;n("compositionupdate",V);const Ee=(ie=V.target)==null?void 0:ie.value,Le=Ee[Ee.length-1]||"";_.value=!Fh(Le)},W=V=>{n("compositionend",V),_.value&&(_.value=!1,M(V))},X=()=>{S.value=!S.value,se()},se=async()=>{var V;await He(),(V=L.value)==null||V.focus()},re=()=>{var V;return(V=L.value)==null?void 0:V.blur()},ee=V=>{y.value=!1,n("mouseleave",V)},J=V=>{y.value=!0,n("mouseenter",V)},be=V=>{n("keydown",V)},ce=()=>{var V;(V=L.value)==null||V.select()},pe=()=>{n(Zt,""),n("change",""),n("clear"),n("input","")};return xe(()=>r.modelValue,()=>{var V;He(()=>ut()),r.validateEvent&&((V=c==null?void 0:c.validate)==null||V.call(c,"change").catch(ie=>void 0))}),xe(Q,()=>Ne()),xe(()=>r.type,async()=>{await He(),Ne(),ut()}),nt(()=>{!r.formatter&&r.parser,Ne(),He(ut)}),t({input:h,textarea:k,ref:L,textareaStyle:H,autosize:_n(r,"autosize"),focus:se,blur:re,select:ce,clear:pe,resizeTextarea:ut}),(V,ie)=>zt((w(),A("div",dt(b(i),{class:b(a),style:b(z),role:V.containerRole,onMouseenter:J,onMouseleave:ee}),[ge(" input "),V.type!=="textarea"?(w(),A(Xe,{key:0},[ge(" prepend slot "),V.$slots.prepend?(w(),A("div",{key:0,class:Z(b(g).be("group","prepend"))},[_e(V.$slots,"prepend")],2)):ge("v-if",!0),v("div",{ref_key:"wrapperRef",ref:I,class:Z(b(l))},[ge(" prefix slot "),V.$slots.prefix||V.prefixIcon?(w(),A("span",{key:0,class:Z(b(g).e("prefix"))},[v("span",{class:Z(b(g).e("prefix-inner"))},[_e(V.$slots,"prefix"),V.prefixIcon?(w(),le(b(Yt),{key:0,class:Z(b(g).e("icon"))},{default:fe(()=>[(w(),le(Rt(V.prefixIcon)))]),_:1},8,["class"])):ge("v-if",!0)],2)],2)):ge("v-if",!0),v("input",dt({id:b(p),ref_key:"input",ref:h,class:b(g).e("inner")},b(u),{type:V.showPassword?S.value?"text":"password":V.type,disabled:b(m),formatter:V.formatter,parser:V.parser,readonly:V.readonly,autocomplete:V.autocomplete,tabindex:V.tabindex,"aria-label":V.label,placeholder:V.placeholder,style:V.inputStyle,form:r.form,autofocus:r.autofocus,onCompositionstart:j,onCompositionupdate:Y,onCompositionend:W,onInput:M,onFocus:ie[0]||(ie[0]=(...Ee)=>b(N)&&b(N)(...Ee)),onBlur:ie[1]||(ie[1]=(...Ee)=>b(D)&&b(D)(...Ee)),onChange:$,onKeydown:be}),null,16,Q7),ge(" suffix slot "),b(rt)?(w(),A("span",{key:1,class:Z(b(g).e("suffix"))},[v("span",{class:Z(b(g).e("suffix-inner"))},[!b(te)||!b(Ae)||!b(ve)?(w(),A(Xe,{key:0},[_e(V.$slots,"suffix"),V.suffixIcon?(w(),le(b(Yt),{key:0,class:Z(b(g).e("icon"))},{default:fe(()=>[(w(),le(Rt(V.suffixIcon)))]),_:1},8,["class"])):ge("v-if",!0)],64)):ge("v-if",!0),b(te)?(w(),le(b(Yt),{key:1,class:Z([b(g).e("icon"),b(g).e("clear")]),onMousedown:en(b(Lt),["prevent"]),onClick:pe},{default:fe(()=>[ke(b(Il))]),_:1},8,["class","onMousedown"])):ge("v-if",!0),b(Ae)?(w(),le(b(Yt),{key:2,class:Z([b(g).e("icon"),b(g).e("password")]),onClick:X},{default:fe(()=>[(w(),le(Rt(b(F))))]),_:1},8,["class"])):ge("v-if",!0),b(ve)?(w(),A("span",{key:3,class:Z(b(g).e("count"))},[v("span",{class:Z(b(g).e("count-inner"))},We(b(Be))+" / "+We(b(u).maxlength),3)],2)):ge("v-if",!0),b(B)&&b(K)&&b(oe)?(w(),le(b(Yt),{key:4,class:Z([b(g).e("icon"),b(g).e("validateIcon"),b(g).is("loading",b(B)==="validating")])},{default:fe(()=>[(w(),le(Rt(b(K))))]),_:1},8,["class"])):ge("v-if",!0)],2)],2)):ge("v-if",!0)],2),ge(" append slot "),V.$slots.append?(w(),A("div",{key:1,class:Z(b(g).be("group","append"))},[_e(V.$slots,"append")],2)):ge("v-if",!0)],64)):(w(),A(Xe,{key:1},[ge(" textarea "),v("textarea",dt({id:b(p),ref_key:"textarea",ref:k,class:b(C).e("inner")},b(u),{tabindex:V.tabindex,disabled:b(m),readonly:V.readonly,autocomplete:V.autocomplete,style:b(H),"aria-label":V.label,placeholder:V.placeholder,form:r.form,autofocus:r.autofocus,onCompositionstart:j,onCompositionupdate:Y,onCompositionend:W,onInput:M,onFocus:ie[2]||(ie[2]=(...Ee)=>b(N)&&b(N)(...Ee)),onBlur:ie[3]||(ie[3]=(...Ee)=>b(D)&&b(D)(...Ee)),onChange:$,onKeydown:be}),null,16,eE),b(ve)?(w(),A("span",{key:0,style:tt(x.value),class:Z(b(g).e("count"))},We(b(Be))+" / "+We(b(u).maxlength),7)):ge("v-if",!0)],64))],16,Y7)),[[er,V.type!=="hidden"]])}});var nE=Ue(tE,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Pi=xn(nE),So=4,rE={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},oE=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),w2=Symbol("scrollbarContextKey"),sE=Ye({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),iE="Thumb";var k2=Ue(ne({__name:"thumb",props:sE,setup(e){const t=e,n=De(w2),r=Ze("scrollbar");n||Bx(iE,"can not inject scrollbar context");const s=U(),o=U(),i=U({}),a=U(!1);let l=!1,u=!1,f=Pt?document.onselectstart:null;const c=O(()=>rE[t.vertical?"vertical":"horizontal"]),p=O(()=>oE({size:t.size,move:t.move,bar:c.value})),d=O(()=>s.value[c.value.offset]**2/n.wrapElement[c.value.scrollSize]/t.ratio/o.value[c.value.offset]),m=x=>{var T;if(x.stopPropagation(),x.ctrlKey||[1,2].includes(x.button))return;(T=window.getSelection())==null||T.removeAllRanges(),C(x);const L=x.currentTarget;L&&(i.value[c.value.axis]=L[c.value.offset]-(x[c.value.client]-L.getBoundingClientRect()[c.value.direction]))},g=x=>{if(!o.value||!s.value||!n.wrapElement)return;const T=Math.abs(x.target.getBoundingClientRect()[c.value.direction]-x[c.value.client]),L=o.value[c.value.offset]/2,I=(T-L)*100*d.value/s.value[c.value.offset];n.wrapElement[c.value.scroll]=I*n.wrapElement[c.value.scrollSize]/100},C=x=>{x.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",h),document.addEventListener("mouseup",k),f=document.onselectstart,document.onselectstart=()=>!1},h=x=>{if(!s.value||!o.value||l===!1)return;const T=i.value[c.value.axis];if(!T)return;const L=(s.value.getBoundingClientRect()[c.value.direction]-x[c.value.client])*-1,I=o.value[c.value.offset]-T,P=(L-I)*100*d.value/s.value[c.value.offset];n.wrapElement[c.value.scroll]=P*n.wrapElement[c.value.scrollSize]/100},k=()=>{l=!1,i.value[c.value.axis]=0,document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",k),S(),u&&(a.value=!1)},y=()=>{u=!1,a.value=!!t.size},_=()=>{u=!0,a.value=l};Wt(()=>{S(),document.removeEventListener("mouseup",k)});const S=()=>{document.onselectstart!==f&&(document.onselectstart=f)};return Ur(_n(n,"scrollbarElement"),"mousemove",y),Ur(_n(n,"scrollbarElement"),"mouseleave",_),(x,T)=>(w(),le(Hr,{name:b(r).b("fade"),persisted:""},{default:fe(()=>[zt(v("div",{ref_key:"instance",ref:s,class:Z([b(r).e("bar"),b(r).is(b(c).key)]),onMousedown:g},[v("div",{ref_key:"thumb",ref:o,class:Z(b(r).e("thumb")),style:tt(b(p)),onMousedown:m},null,38)],34),[[er,x.always||a.value]])]),_:1},8,["name"]))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const aE=Ye({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}});var lE=Ue(ne({__name:"bar",props:aE,setup(e,{expose:t}){const n=e,r=U(0),s=U(0);return t({handleScroll:i=>{if(i){const a=i.offsetHeight-So,l=i.offsetWidth-So;s.value=i.scrollTop*100/a*n.ratioY,r.value=i.scrollLeft*100/l*n.ratioX}}}),(i,a)=>(w(),A(Xe,null,[ke(k2,{move:r.value,ratio:i.ratioX,size:i.width,always:i.always},null,8,["move","ratio","size","always"]),ke(k2,{move:s.value,ratio:i.ratioY,size:i.height,vertical:"",always:i.always},null,8,["move","ratio","size","always"])],64))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const cE=Ye({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Ie([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical"]}}),uE=ne({...ne({name:"ElScrollbar"}),props:cE,emits:{scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(vt)},setup(e,{expose:t,emit:n}){const r=e,s=Ze("scrollbar");let o,i;const a=U(),l=U(),u=U(),f=U("0"),c=U("0"),p=U(),d=U(1),m=U(1),g=O(()=>{const T={};return r.height&&(T.height=_o(r.height)),r.maxHeight&&(T.maxHeight=_o(r.maxHeight)),[r.wrapStyle,T]}),C=O(()=>[r.wrapClass,s.e("wrap"),{[s.em("wrap","hidden-default")]:!r.native}]),h=O(()=>[s.e("view"),r.viewClass]),k=()=>{var T;l.value&&((T=p.value)==null||T.handleScroll(l.value),n("scroll",{scrollTop:l.value.scrollTop,scrollLeft:l.value.scrollLeft}))};function y(T,L){Pe(T)?l.value.scrollTo(T):vt(T)&&vt(L)&&l.value.scrollTo(T,L)}const _=T=>{vt(T)&&(l.value.scrollTop=T)},S=T=>{vt(T)&&(l.value.scrollLeft=T)},x=()=>{if(!l.value)return;const T=l.value.offsetHeight-So,L=l.value.offsetWidth-So,I=T**2/l.value.scrollHeight,P=L**2/l.value.scrollWidth,N=Math.max(I,r.minSize),D=Math.max(P,r.minSize);d.value=I/(T-I)/(N/(T-N)),m.value=P/(L-P)/(D/(L-D)),c.value=N+So<T?`${N}px`:"",f.value=D+So<L?`${D}px`:""};return xe(()=>r.noresize,T=>{T?(o==null||o(),i==null||i()):({stop:o}=mi(u,x),i=Ur("resize",x))},{immediate:!0}),xe(()=>[r.maxHeight,r.height],()=>{r.native||He(()=>{var T;x(),l.value&&((T=p.value)==null||T.handleScroll(l.value))})}),jt(w2,bn({scrollbarElement:a,wrapElement:l})),nt(()=>{r.native||He(()=>{x()})}),f0(()=>x()),t({wrapRef:l,update:x,scrollTo:y,setScrollTop:_,setScrollLeft:S,handleScroll:k}),(T,L)=>(w(),A("div",{ref_key:"scrollbarRef",ref:a,class:Z(b(s).b())},[v("div",{ref_key:"wrapRef",ref:l,class:Z(b(C)),style:tt(b(g)),onScroll:k},[(w(),le(Rt(T.tag),{id:T.id,ref_key:"resizeRef",ref:u,class:Z(b(h)),style:tt(T.viewStyle),role:T.role,"aria-label":T.ariaLabel,"aria-orientation":T.ariaOrientation},{default:fe(()=>[_e(T.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),T.native?ge("v-if",!0):(w(),le(lE,{key:0,ref_key:"barRef",ref:p,height:c.value,width:f.value,always:T.always,"ratio-x":m.value,"ratio-y":d.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var fE=Ue(uE,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const dE=xn(fE),Xl=Symbol("popper"),C2=Symbol("popperContent"),x2=Ye({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),pE=ne({...ne({name:"ElPopper",inheritAttrs:!1}),props:x2,setup(e,{expose:t}){const n=e,r=U(),s=U(),o=U(),i=U(),a=O(()=>n.role),l={triggerRef:r,popperInstanceRef:s,contentRef:o,referenceRef:i,role:a};return t(l),jt(Xl,l),(u,f)=>_e(u.$slots,"default")}});var hE=Ue(pE,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const E2=Ye({arrowOffset:{type:Number,default:5}}),gE=ne({...ne({name:"ElPopperArrow",inheritAttrs:!1}),props:E2,setup(e,{expose:t}){const n=e,r=Ze("popper"),{arrowOffset:s,arrowRef:o,arrowStyle:i}=De(C2,void 0);return xe(()=>n.arrowOffset,a=>{s.value=a}),Wt(()=>{o.value=void 0}),t({arrowRef:o}),(a,l)=>(w(),A("span",{ref_key:"arrowRef",ref:o,class:Z(b(r).e("arrow")),style:tt(b(i)),"data-popper-arrow":""},null,6))}});var mE=Ue(gE,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const vE=ne({name:"ElOnlyChild",setup(e,{slots:t,attrs:n}){var r;const s=De(g2),o=P7((r=s==null?void 0:s.setForwardRef)!=null?r:Lt);return()=>{var i;const a=(i=t.default)==null?void 0:i.call(t,n);if(!a||a.length>1)return null;const l=S2(a);return l?zt(Jn(l,n),[[o]]):null}}});function S2(e){if(!e)return null;const t=e;for(const n of t){if(Pe(n))switch(n.type){case Ot:continue;case po:case"svg":return A2(n);case Xe:return S2(n.children);default:return n}return A2(n)}return null}function A2(e){const t=Ze("only-child");return ke("span",{class:t.e("content")},[e])}const T2=Ye({virtualRef:{type:Ie(Object)},virtualTriggering:Boolean,onMouseenter:{type:Ie(Function)},onMouseleave:{type:Ie(Function)},onClick:{type:Ie(Function)},onKeydown:{type:Ie(Function)},onFocus:{type:Ie(Function)},onBlur:{type:Ie(Function)},onContextmenu:{type:Ie(Function)},id:String,open:Boolean}),bE=ne({...ne({name:"ElPopperTrigger",inheritAttrs:!1}),props:T2,setup(e,{expose:t}){const n=e,{role:r,triggerRef:s}=De(Xl,void 0);O7(s);const o=O(()=>a.value?n.id:void 0),i=O(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),a=O(()=>{if(r&&r.value!=="tooltip")return r.value}),l=O(()=>a.value?`${n.open}`:void 0);let u;return nt(()=>{xe(()=>n.virtualRef,f=>{f&&(s.value=Cr(f))},{immediate:!0}),xe(s,(f,c)=>{u==null||u(),u=void 0,as(f)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(p=>{var d;const m=n[p];m&&(f.addEventListener(p.slice(2).toLowerCase(),m),(d=c==null?void 0:c.removeEventListener)==null||d.call(c,p.slice(2).toLowerCase(),m))}),u=xe([o,i,a,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((d,m)=>{Wr(p[m])?f.removeAttribute(d):f.setAttribute(d,p[m])})},{immediate:!0})),as(c)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>c.removeAttribute(p))},{immediate:!0})}),Wt(()=>{u==null||u(),u=void 0}),t({triggerRef:s}),(f,c)=>f.virtualTriggering?ge("v-if",!0):(w(),le(b(vE),dt({key:0},f.$attrs,{"aria-controls":b(o),"aria-describedby":b(i),"aria-expanded":b(l),"aria-haspopup":b(a)}),{default:fe(()=>[_e(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var _E=Ue(bE,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Jl="focus-trap.focus-after-trapped",Yl="focus-trap.focus-after-released",yE="focus-trap.focusout-prevented",M2={cancelable:!0,bubbles:!1},wE={cancelable:!0,bubbles:!1},L2="focusAfterTrapped",$2="focusAfterReleased",kE=Symbol("elFocusTrap"),Ql=U(),Di=U(0),ec=U(0);let Ni=0;const I2=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},R2=(e,t)=>{for(const n of e)if(!CE(n,t))return n},CE=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},xE=e=>{const t=I2(e),n=R2(t,e),r=R2(t.reverse(),e);return[n,r]},EE=e=>e instanceof HTMLInputElement&&"select"in e,Ar=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),ec.value=window.performance.now(),e!==n&&EE(e)&&t&&e.select()}};function O2(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const SE=()=>{let e=[];return{push:r=>{const s=e[0];s&&r!==s&&s.pause(),e=O2(e,r),e.unshift(r)},remove:r=>{var s,o;e=O2(e,r),(o=(s=e[0])==null?void 0:s.resume)==null||o.call(s)}}},AE=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(Ar(r,t),document.activeElement!==n)return},P2=SE(),TE=()=>Di.value>ec.value,qi=()=>{Ql.value="pointer",Di.value=window.performance.now()},D2=()=>{Ql.value="keyboard",Di.value=window.performance.now()},ME=()=>(nt(()=>{Ni===0&&(document.addEventListener("mousedown",qi),document.addEventListener("touchstart",qi),document.addEventListener("keydown",D2)),Ni++}),Wt(()=>{Ni--,Ni<=0&&(document.removeEventListener("mousedown",qi),document.removeEventListener("touchstart",qi),document.removeEventListener("keydown",D2))}),{focusReason:Ql,lastUserFocusTimestamp:Di,lastAutomatedFocusTimestamp:ec}),Bi=e=>new CustomEvent(yE,{...wE,detail:e}),LE=ne({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[L2,$2,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=U();let r,s;const{focusReason:o}=ME();M7(m=>{e.trapped&&!i.paused&&t("release-requested",m)});const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=m=>{if(!e.loop&&!e.trapped||i.paused)return;const{key:g,altKey:C,ctrlKey:h,metaKey:k,currentTarget:y,shiftKey:_}=m,{loop:S}=e,x=g===ar.tab&&!C&&!h&&!k,T=document.activeElement;if(x&&T){const L=y,[I,P]=xE(L);if(I&&P){if(!_&&T===P){const D=Bi({focusReason:o.value});t("focusout-prevented",D),D.defaultPrevented||(m.preventDefault(),S&&Ar(I,!0))}else if(_&&[I,L].includes(T)){const D=Bi({focusReason:o.value});t("focusout-prevented",D),D.defaultPrevented||(m.preventDefault(),S&&Ar(P,!0))}}else if(T===L){const D=Bi({focusReason:o.value});t("focusout-prevented",D),D.defaultPrevented||m.preventDefault()}}};jt(kE,{focusTrapRef:n,onKeydown:a}),xe(()=>e.focusTrapEl,m=>{m&&(n.value=m)},{immediate:!0}),xe([n],([m],[g])=>{m&&(m.addEventListener("keydown",a),m.addEventListener("focusin",f),m.addEventListener("focusout",c)),g&&(g.removeEventListener("keydown",a),g.removeEventListener("focusin",f),g.removeEventListener("focusout",c))});const l=m=>{t(L2,m)},u=m=>t($2,m),f=m=>{const g=b(n);if(!g)return;const C=m.target,h=m.relatedTarget,k=C&&g.contains(C);e.trapped||h&&g.contains(h)||(r=h),k&&t("focusin",m),!i.paused&&e.trapped&&(k?s=C:Ar(s,!0))},c=m=>{const g=b(n);if(!(i.paused||!g))if(e.trapped){const C=m.relatedTarget;!Wr(C)&&!g.contains(C)&&setTimeout(()=>{if(!i.paused&&e.trapped){const h=Bi({focusReason:o.value});t("focusout-prevented",h),h.defaultPrevented||Ar(s,!0)}},0)}else{const C=m.target;C&&g.contains(C)||t("focusout",m)}};async function p(){await He();const m=b(n);if(m){P2.push(i);const g=m.contains(document.activeElement)?r:document.activeElement;if(r=g,!m.contains(g)){const h=new Event(Jl,M2);m.addEventListener(Jl,l),m.dispatchEvent(h),h.defaultPrevented||He(()=>{let k=e.focusStartEl;qe(k)||(Ar(k),document.activeElement!==k&&(k="first")),k==="first"&&AE(I2(m),!0),(document.activeElement===g||k==="container")&&Ar(m)})}}}function d(){const m=b(n);if(m){m.removeEventListener(Jl,l);const g=new CustomEvent(Yl,{...M2,detail:{focusReason:o.value}});m.addEventListener(Yl,u),m.dispatchEvent(g),!g.defaultPrevented&&(o.value=="keyboard"||!TE()||m.contains(document.activeElement))&&Ar(r??document.body),m.removeEventListener(Yl,u),P2.remove(i)}}return nt(()=>{e.trapped&&p(),xe(()=>e.trapped,m=>{m?p():d()})}),Wt(()=>{e.trapped&&d()}),{onKeydown:a}}});function $E(e,t,n,r,s,o){return _e(e.$slots,"default",{handleKeydown:e.onKeydown})}var IE=Ue(LE,[["render",$E],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const RE=["fixed","absolute"],OE=Ye({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Ie(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Si,default:"bottom"},popperOptions:{type:Ie(Object),default:()=>({})},strategy:{type:String,values:RE,default:"absolute"}}),N2=Ye({...OE,id:String,style:{type:Ie([String,Array,Object])},className:{type:Ie([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:Ie([String,Array,Object])},popperStyle:{type:Ie([String,Array,Object])},referenceEl:{type:Ie(Object)},triggerTargetEl:{type:Ie(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),PE={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},DE=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:s}=e,o={placement:n,strategy:r,...s,modifiers:[...qE(e),...t]};return BE(o,s==null?void 0:s.modifiers),o},NE=e=>{if(Pt)return Cr(e)};function qE(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function BE(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const FE=0,zE=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:s}=De(Xl,void 0),o=U(),i=U(),a=O(()=>({name:"eventListeners",enabled:!!e.visible})),l=O(()=>{var h;const k=b(o),y=(h=b(i))!=null?h:FE;return{name:"arrow",enabled:!Px(k),options:{element:k,padding:y}}}),u=O(()=>({onFirstUpdate:()=>{m()},...DE(e,[b(l),b(a)])})),f=O(()=>NE(e.referenceEl)||b(r)),{attributes:c,state:p,styles:d,update:m,forceUpdate:g,instanceRef:C}=S7(f,n,u);return xe(C,h=>t.value=h),nt(()=>{xe(()=>{var h;return(h=b(f))==null?void 0:h.getBoundingClientRect()},()=>{m()})}),{attributes:c,arrowRef:o,contentRef:n,instanceRef:C,state:p,styles:d,role:s,forceUpdate:g,update:m}},HE=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:s}=q7(),o=Ze("popper"),i=O(()=>b(t).popper),a=U(vt(e.zIndex)?e.zIndex:s()),l=O(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),u=O(()=>[{zIndex:b(a)},b(n).popper,e.popperStyle||{}]),f=O(()=>r.value==="dialog"?"false":void 0),c=O(()=>b(n).arrow||{});return{ariaModal:f,arrowStyle:c,contentAttrs:i,contentClass:l,contentStyle:u,contentZIndex:a,updateZIndex:()=>{a.value=vt(e.zIndex)?e.zIndex:s()}}},jE=(e,t)=>{const n=U(!1),r=U();return{focusStartRef:r,trapped:n,onFocusAfterReleased:u=>{var f;((f=u.detail)==null?void 0:f.focusReason)!=="pointer"&&(r.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},onFocusoutPrevented:u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},VE=ne({...ne({name:"ElPopperContent"}),props:N2,emits:PE,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:s,trapped:o,onFocusAfterReleased:i,onFocusAfterTrapped:a,onFocusInTrap:l,onFocusoutPrevented:u,onReleaseRequested:f}=jE(r,n),{attributes:c,arrowRef:p,contentRef:d,styles:m,instanceRef:g,role:C,update:h}=zE(r),{ariaModal:k,arrowStyle:y,contentAttrs:_,contentClass:S,contentStyle:x,updateZIndex:T}=HE(r,{styles:m,attributes:c,role:C}),L=De(Ii,void 0),I=U();jt(C2,{arrowStyle:y,arrowRef:p,arrowOffset:I}),L&&(L.addInputId||L.removeInputId)&&jt(Ii,{...L,addInputId:Lt,removeInputId:Lt});let P;const N=(oe=!0)=>{h(),oe&&T()},D=()=>{N(!1),r.visible&&r.focusOnShow?o.value=!0:r.visible===!1&&(o.value=!1)};return nt(()=>{xe(()=>r.triggerTargetEl,(oe,B)=>{P==null||P(),P=void 0;const K=b(oe||d.value),F=b(B||d.value);as(K)&&(P=xe([C,()=>r.ariaLabel,k,()=>r.id],z=>{["role","aria-label","aria-modal","id"].forEach((H,Q)=>{Wr(z[Q])?K.removeAttribute(H):K.setAttribute(H,z[Q])})},{immediate:!0})),F!==K&&as(F)&&["role","aria-label","aria-modal","id"].forEach(z=>{F.removeAttribute(z)})},{immediate:!0}),xe(()=>r.visible,D,{immediate:!0})}),Wt(()=>{P==null||P(),P=void 0}),t({popperContentRef:d,popperInstanceRef:g,updatePopper:N,contentStyle:x}),(oe,B)=>(w(),A("div",dt({ref_key:"contentRef",ref:d},b(_),{style:b(x),class:b(S),tabindex:"-1",onMouseenter:B[0]||(B[0]=K=>oe.$emit("mouseenter",K)),onMouseleave:B[1]||(B[1]=K=>oe.$emit("mouseleave",K))}),[ke(b(IE),{trapped:b(o),"trap-on-focus-in":!0,"focus-trap-el":b(d),"focus-start-el":b(s),onFocusAfterTrapped:b(a),onFocusAfterReleased:b(i),onFocusin:b(l),onFocusoutPrevented:b(u),onReleaseRequested:b(f)},{default:fe(()=>[_e(oe.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var UE=Ue(VE,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const KE=xn(hE),tc=Symbol("elTooltip"),nn=Ye({...I7,...N2,appendTo:{type:Ie([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Ie(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),vs=Ye({...T2,disabled:Boolean,trigger:{type:Ie([String,Array]),default:"hover"},triggerKeys:{type:Ie(Array),default:()=>[ar.enter,ar.space]}}),{useModelToggleProps:GE,useModelToggleEmits:WE,useModelToggle:ZE}=C8("visible"),XE=Ye({...x2,...GE,...nn,...vs,...E2,showArrow:{type:Boolean,default:!0}}),JE=[...WE,"before-show","before-hide","show","hide","open","close"],YE=(e,t)=>Te(e)?e.includes(t):e===t,Ao=(e,t,n)=>r=>{YE(b(e),t)&&n(r)},QE=ne({...ne({name:"ElTooltipTrigger"}),props:vs,setup(e,{expose:t}){const n=e,r=Ze("tooltip"),{controlled:s,id:o,open:i,onOpen:a,onClose:l,onToggle:u}=De(tc,void 0),f=U(null),c=()=>{if(b(s)||n.disabled)return!0},p=_n(n,"trigger"),d=nr(c,Ao(p,"hover",a)),m=nr(c,Ao(p,"hover",l)),g=nr(c,Ao(p,"click",_=>{_.button===0&&u(_)})),C=nr(c,Ao(p,"focus",a)),h=nr(c,Ao(p,"focus",l)),k=nr(c,Ao(p,"contextmenu",_=>{_.preventDefault(),u(_)})),y=nr(c,_=>{const{code:S}=_;n.triggerKeys.includes(S)&&(_.preventDefault(),u(_))});return t({triggerRef:f}),(_,S)=>(w(),le(b(_E),{id:b(o),"virtual-ref":_.virtualRef,open:b(i),"virtual-triggering":_.virtualTriggering,class:Z(b(r).e("trigger")),onBlur:b(h),onClick:b(g),onContextmenu:b(k),onFocus:b(C),onMouseenter:b(d),onMouseleave:b(m),onKeydown:b(y)},{default:fe(()=>[_e(_.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var eS=Ue(QE,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const tS=ne({...ne({name:"ElTooltipContent",inheritAttrs:!1}),props:nn,setup(e,{expose:t}){const n=e,{selector:r}=h2(),s=Ze("tooltip"),o=U(null),i=U(!1),{controlled:a,id:l,open:u,trigger:f,onClose:c,onOpen:p,onShow:d,onHide:m,onBeforeShow:g,onBeforeHide:C}=De(tc,void 0),h=O(()=>n.transition||`${s.namespace.value}-fade-in-linear`),k=O(()=>n.persistent);Wt(()=>{i.value=!0});const y=O(()=>b(k)?!0:b(u)),_=O(()=>n.disabled?!1:b(u)),S=O(()=>n.appendTo||r.value),x=O(()=>{var z;return(z=n.style)!=null?z:{}}),T=O(()=>!b(u)),L=()=>{m()},I=()=>{if(b(a))return!0},P=nr(I,()=>{n.enterable&&b(f)==="hover"&&p()}),N=nr(I,()=>{b(f)==="hover"&&c()}),D=()=>{var z,H;(H=(z=o.value)==null?void 0:z.updatePopper)==null||H.call(z),g==null||g()},oe=()=>{C==null||C()},B=()=>{d(),F=tC(O(()=>{var z;return(z=o.value)==null?void 0:z.popperContentRef}),()=>{if(b(a))return;b(f)!=="hover"&&c()})},K=()=>{n.virtualTriggering||c()};let F;return xe(()=>b(u),z=>{z||F==null||F()},{flush:"post"}),xe(()=>n.content,()=>{var z,H;(H=(z=o.value)==null?void 0:z.updatePopper)==null||H.call(z)}),t({contentRef:o}),(z,H)=>(w(),le(V4,{disabled:!z.teleported,to:b(S)},[ke(Hr,{name:b(h),onAfterLeave:L,onBeforeEnter:D,onAfterEnter:B,onBeforeLeave:oe},{default:fe(()=>[b(y)?zt((w(),le(b(UE),dt({key:0,id:b(l),ref_key:"contentRef",ref:o},z.$attrs,{"aria-label":z.ariaLabel,"aria-hidden":b(T),"boundaries-padding":z.boundariesPadding,"fallback-placements":z.fallbackPlacements,"gpu-acceleration":z.gpuAcceleration,offset:z.offset,placement:z.placement,"popper-options":z.popperOptions,strategy:z.strategy,effect:z.effect,enterable:z.enterable,pure:z.pure,"popper-class":z.popperClass,"popper-style":[z.popperStyle,b(x)],"reference-el":z.referenceEl,"trigger-target-el":z.triggerTargetEl,visible:b(_),"z-index":z.zIndex,onMouseenter:b(P),onMouseleave:b(N),onBlur:K,onClose:b(c)}),{default:fe(()=>[i.value?ge("v-if",!0):_e(z.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[er,b(_)]]):ge("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var nS=Ue(tS,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const rS=["innerHTML"],oS={key:1},sS=ne({...ne({name:"ElTooltip"}),props:XE,emits:JE,setup(e,{expose:t,emit:n}){const r=e;$7();const s=$i(),o=U(),i=U(),a=()=>{var h;const k=b(o);k&&((h=k.popperInstanceRef)==null||h.update())},l=U(!1),u=U(),{show:f,hide:c,hasUpdateHandler:p}=ZE({indicator:l,toggleReason:u}),{onOpen:d,onClose:m}=R7({showAfter:_n(r,"showAfter"),hideAfter:_n(r,"hideAfter"),autoClose:_n(r,"autoClose"),open:f,close:c}),g=O(()=>$l(r.visible)&&!p.value);jt(tc,{controlled:g,id:s,open:zs(l),trigger:_n(r,"trigger"),onOpen:h=>{d(h)},onClose:h=>{m(h)},onToggle:h=>{b(l)?m(h):d(h)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:a}),xe(()=>r.disabled,h=>{h&&l.value&&(l.value=!1)});const C=h=>{var k,y;const _=(y=(k=i.value)==null?void 0:k.contentRef)==null?void 0:y.popperContentRef,S=(h==null?void 0:h.relatedTarget)||document.activeElement;return _&&_.contains(S)};return l0(()=>l.value&&c()),t({popperRef:o,contentRef:i,isFocusInsideContent:C,updatePopper:a,onOpen:d,onClose:m,hide:c}),(h,k)=>(w(),le(b(KE),{ref_key:"popperRef",ref:o,role:h.role},{default:fe(()=>[ke(eS,{disabled:h.disabled,trigger:h.trigger,"trigger-keys":h.triggerKeys,"virtual-ref":h.virtualRef,"virtual-triggering":h.virtualTriggering},{default:fe(()=>[h.$slots.default?_e(h.$slots,"default",{key:0}):ge("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),ke(nS,{ref_key:"contentRef",ref:i,"aria-label":h.ariaLabel,"boundaries-padding":h.boundariesPadding,content:h.content,disabled:h.disabled,effect:h.effect,enterable:h.enterable,"fallback-placements":h.fallbackPlacements,"hide-after":h.hideAfter,"gpu-acceleration":h.gpuAcceleration,offset:h.offset,persistent:h.persistent,"popper-class":h.popperClass,"popper-style":h.popperStyle,placement:h.placement,"popper-options":h.popperOptions,pure:h.pure,"raw-content":h.rawContent,"reference-el":h.referenceEl,"trigger-target-el":h.triggerTargetEl,"show-after":h.showAfter,strategy:h.strategy,teleported:h.teleported,transition:h.transition,"virtual-triggering":h.virtualTriggering,"z-index":h.zIndex,"append-to":h.appendTo},{default:fe(()=>[_e(h.$slots,"content",{},()=>[h.rawContent?(w(),A("span",{key:0,innerHTML:h.content},null,8,rS)):(w(),A("span",oS,We(h.content),1))]),h.showArrow?(w(),le(b(mE),{key:0,"arrow-offset":h.arrowOffset},null,8,["arrow-offset"])):ge("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var iS=Ue(sS,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const bs=xn(iS),q2=Symbol("buttonGroupContextKey"),aS=(e,t)=>{zh({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},O(()=>e.type==="text"));const n=De(q2,void 0),r=j7("button"),{form:s}=Oi(),o=ms(O(()=>n==null?void 0:n.size)),i=Ri(),a=U(),l=m0(),u=O(()=>e.type||(n==null?void 0:n.type)||""),f=O(()=>{var m,g,C;return(C=(g=e.autoInsertSpace)!=null?g:(m=r.value)==null?void 0:m.autoInsertSpace)!=null?C:!1}),c=O(()=>e.tag==="button"?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),p=O(()=>{var m;const g=(m=l.default)==null?void 0:m.call(l);if(f.value&&(g==null?void 0:g.length)===1){const C=g[0];if((C==null?void 0:C.type)===po){const h=C.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(h.trim())}}return!1});return{_disabled:i,_size:o,_type:u,_ref:a,_props:c,shouldAddSpace:p,handleClick:m=>{e.nativeType==="reset"&&(s==null||s.resetFields()),t("click",m)}}},nc=Ye({size:Wl,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:Cn},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:Cn,default:()=>Dh},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Ie([String,Object]),default:"button"}}),lS={click:e=>e instanceof MouseEvent};function At(e,t){cS(e)&&(e="100%");var n=uS(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Fi(e){return Math.min(1,Math.max(0,e))}function cS(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function uS(e){return typeof e=="string"&&e.indexOf("%")!==-1}function B2(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function zi(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Jr(e){return e.length===1?"0"+e:String(e)}function fS(e,t,n){return{r:At(e,255)*255,g:At(t,255)*255,b:At(n,255)*255}}function F2(e,t,n){e=At(e,255),t=At(t,255),n=At(n,255);var r=Math.max(e,t,n),s=Math.min(e,t,n),o=0,i=0,a=(r+s)/2;if(r===s)i=0,o=0;else{var l=r-s;switch(i=a>.5?l/(2-r-s):l/(r+s),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:i,l:a}}function rc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dS(e,t,n){var r,s,o;if(e=At(e,360),t=At(t,100),n=At(n,100),t===0)s=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=rc(a,i,e+1/3),s=rc(a,i,e),o=rc(a,i,e-1/3)}return{r:r*255,g:s*255,b:o*255}}function z2(e,t,n){e=At(e,255),t=At(t,255),n=At(n,255);var r=Math.max(e,t,n),s=Math.min(e,t,n),o=0,i=r,a=r-s,l=r===0?0:a/r;if(r===s)o=0;else{switch(r){case e:o=(t-n)/a+(t<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4;break}o/=6}return{h:o,s:l,v:i}}function pS(e,t,n){e=At(e,360)*6,t=At(t,100),n=At(n,100);var r=Math.floor(e),s=e-r,o=n*(1-t),i=n*(1-s*t),a=n*(1-(1-s)*t),l=r%6,u=[n,i,o,o,a,n][l],f=[a,n,n,i,o,o][l],c=[o,o,a,n,n,i][l];return{r:u*255,g:f*255,b:c*255}}function H2(e,t,n,r){var s=[Jr(Math.round(e).toString(16)),Jr(Math.round(t).toString(16)),Jr(Math.round(n).toString(16))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function hS(e,t,n,r,s){var o=[Jr(Math.round(e).toString(16)),Jr(Math.round(t).toString(16)),Jr(Math.round(n).toString(16)),Jr(gS(r))];return s&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function gS(e){return Math.round(parseFloat(e)*255).toString(16)}function j2(e){return rn(e)/255}function rn(e){return parseInt(e,16)}function mS(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var oc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function vS(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,o=null,i=!1,a=!1;return typeof e=="string"&&(e=yS(e)),typeof e=="object"&&(cr(e.r)&&cr(e.g)&&cr(e.b)?(t=fS(e.r,e.g,e.b),i=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):cr(e.h)&&cr(e.s)&&cr(e.v)?(r=zi(e.s),s=zi(e.v),t=pS(e.h,r,s),i=!0,a="hsv"):cr(e.h)&&cr(e.s)&&cr(e.l)&&(r=zi(e.s),o=zi(e.l),t=dS(e.h,r,o),i=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=B2(n),{ok:i,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var bS="[-\\+]?\\d+%?",_S="[-\\+]?\\d*\\.\\d+%?",Tr="(?:".concat(_S,")|(?:").concat(bS,")"),sc="[\\s|\\(]+(".concat(Tr,")[,|\\s]+(").concat(Tr,")[,|\\s]+(").concat(Tr,")\\s*\\)?"),ic="[\\s|\\(]+(".concat(Tr,")[,|\\s]+(").concat(Tr,")[,|\\s]+(").concat(Tr,")[,|\\s]+(").concat(Tr,")\\s*\\)?"),Tn={CSS_UNIT:new RegExp(Tr),rgb:new RegExp("rgb"+sc),rgba:new RegExp("rgba"+ic),hsl:new RegExp("hsl"+sc),hsla:new RegExp("hsla"+ic),hsv:new RegExp("hsv"+sc),hsva:new RegExp("hsva"+ic),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function yS(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(oc[e])e=oc[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Tn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Tn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Tn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Tn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Tn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Tn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Tn.hex8.exec(e),n?{r:rn(n[1]),g:rn(n[2]),b:rn(n[3]),a:j2(n[4]),format:t?"name":"hex8"}:(n=Tn.hex6.exec(e),n?{r:rn(n[1]),g:rn(n[2]),b:rn(n[3]),format:t?"name":"hex"}:(n=Tn.hex4.exec(e),n?{r:rn(n[1]+n[1]),g:rn(n[2]+n[2]),b:rn(n[3]+n[3]),a:j2(n[4]+n[4]),format:t?"name":"hex8"}:(n=Tn.hex3.exec(e),n?{r:rn(n[1]+n[1]),g:rn(n[2]+n[2]),b:rn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function cr(e){return!!Tn.CSS_UNIT.exec(String(e))}var wS=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=mS(t)),this.originalInput=t;var s=vS(t);this.originalInput=t,this.r=s.r,this.g=s.g,this.b=s.b,this.a=s.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:s.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=s.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,s,o=t.r/255,i=t.g/255,a=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?s=a/12.92:s=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*s},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=B2(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=z2(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=z2(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(s,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(s,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=F2(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=F2(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(s,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(s,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),H2(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),hS(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(At(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(At(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+H2(this.r,this.g,this.b,!1),n=0,r=Object.entries(oc);n<r.length;n++){var s=r[n],o=s[0],i=s[1];if(t===i)return o}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,s=this.a<1&&this.a>=0,o=!n&&s&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Fi(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Fi(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Fi(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Fi(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),s=new e(t).toRgb(),o=n/100,i={r:(s.r-r.r)*o+r.r,g:(s.g-r.g)*o+r.g,b:(s.b-r.b)*o+r.b,a:(s.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),s=360/n,o=[this];for(r.h=(r.h-(s*t>>1)+720)%360;--t;)r.h=(r.h+s)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,s=n.s,o=n.v,i=[],a=1/t;t--;)i.push(new e({h:r,s,v:o})),o=(o+a)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),s=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/s,g:(n.g*n.a+r.g*r.a*(1-n.a))/s,b:(n.b*n.a+r.b*r.a*(1-n.a))/s,a:s})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,s=[this],o=360/t,i=1;i<t;i++)s.push(new e({h:(r+i*o)%360,s:n.s,l:n.l}));return s},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Mr(e,t=20){return e.mix("#141414",t).toString()}function kS(e){const t=Ri(),n=Ze("button");return O(()=>{let r={};const s=e.color;if(s){const o=new wS(s),i=e.dark?o.tint(20).toString():Mr(o,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Mr(o,90):o.tint(90).toString(),"text-color":s,"border-color":e.dark?Mr(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":s,"hover-border-color":s,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Mr(o,90):o.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Mr(o,50):o.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Mr(o,80):o.tint(80).toString());else{const a=e.dark?Mr(o,30):o.tint(30).toString(),l=o.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":s,"text-color":l,"border-color":s,"hover-bg-color":a,"hover-text-color":l,"hover-border-color":a,"active-bg-color":i,"active-border-color":i}),t.value){const u=e.dark?Mr(o,50):o.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=u,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=u}}}return r})}const CS=ne({...ne({name:"ElButton"}),props:nc,emits:lS,setup(e,{expose:t,emit:n}){const r=e,s=kS(r),o=Ze("button"),{_ref:i,_size:a,_type:l,_disabled:u,_props:f,shouldAddSpace:c,handleClick:p}=aS(r,n);return t({ref:i,size:a,type:l,disabled:u,shouldAddSpace:c}),(d,m)=>(w(),le(Rt(d.tag),dt({ref_key:"_ref",ref:i},b(f),{class:[b(o).b(),b(o).m(b(l)),b(o).m(b(a)),b(o).is("disabled",b(u)),b(o).is("loading",d.loading),b(o).is("plain",d.plain),b(o).is("round",d.round),b(o).is("circle",d.circle),b(o).is("text",d.text),b(o).is("link",d.link),b(o).is("has-bg",d.bg)],style:b(s),onClick:b(p)}),{default:fe(()=>[d.loading?(w(),A(Xe,{key:0},[d.$slots.loading?_e(d.$slots,"loading",{key:0}):(w(),le(b(Yt),{key:1,class:Z(b(o).is("loading"))},{default:fe(()=>[(w(),le(Rt(d.loadingIcon)))]),_:1},8,["class"]))],64)):d.icon||d.$slots.icon?(w(),le(b(Yt),{key:1},{default:fe(()=>[d.icon?(w(),le(Rt(d.icon),{key:0})):_e(d.$slots,"icon",{key:1})]),_:3})):ge("v-if",!0),d.$slots.default?(w(),A("span",{key:2,class:Z({[b(o).em("text","expand")]:b(c)})},[_e(d.$slots,"default")],2)):ge("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var xS=Ue(CS,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const ES={size:nc.size,type:nc.type},SS=ne({...ne({name:"ElButtonGroup"}),props:ES,setup(e){const t=e;jt(q2,bn({size:_n(t,"size"),type:_n(t,"type")}));const n=Ze("button");return(r,s)=>(w(),A("div",{class:Z(`${b(n).b("group")}`)},[_e(r.$slots,"default")],2))}});var V2=Ue(SS,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const U2=xn(xS,{ButtonGroup:V2});Ol(V2);const Lr=new Map;let K2;Pt&&(document.addEventListener("mousedown",e=>K2=e),document.addEventListener("mouseup",e=>{for(const t of Lr.values())for(const{documentHandler:n}of t)n(e,K2)}));function G2(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:as(t.arg)&&n.push(t.arg),function(r,s){const o=t.instance.popperRef,i=r.target,a=s==null?void 0:s.target,l=!t||!t.instance,u=!i||!a,f=e.contains(i)||e.contains(a),c=e===i,p=n.length&&n.some(m=>m==null?void 0:m.contains(i))||n.length&&n.includes(a),d=o&&(o.contains(i)||o.contains(a));l||u||f||c||p||d||t.value(r,s)}}const W2={beforeMount(e,t){Lr.has(e)||Lr.set(e,[]),Lr.get(e).push({documentHandler:G2(e,t),bindingFn:t.value})},updated(e,t){Lr.has(e)||Lr.set(e,[]);const n=Lr.get(e),r=n.findIndex(o=>o.bindingFn===t.oldValue),s={documentHandler:G2(e,t),bindingFn:t.value};r>=0?n.splice(r,1,s):n.push(s)},unmounted(e){Lr.delete(e)}},Z2=Ye({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:ls,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),AS=ne({...ne({name:"ElTag"}),props:Z2,emits:{close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},setup(e,{emit:t}){const n=e,r=ms(),s=Ze("tag"),o=O(()=>{const{type:l,hit:u,effect:f,closable:c,round:p}=n;return[s.b(),s.is("closable",c),s.m(l),s.m(r.value),s.m(f),s.is("hit",u),s.is("round",p)]}),i=l=>{t("close",l)},a=l=>{t("click",l)};return(l,u)=>l.disableTransitions?(w(),A("span",{key:0,class:Z(b(o)),style:tt({backgroundColor:l.color}),onClick:a},[v("span",{class:Z(b(s).e("content"))},[_e(l.$slots,"default")],2),l.closable?(w(),le(b(Yt),{key:0,class:Z(b(s).e("close")),onClick:en(i,["stop"])},{default:fe(()=>[ke(b(Rl))]),_:1},8,["class","onClick"])):ge("v-if",!0)],6)):(w(),le(Hr,{key:1,name:`${b(s).namespace.value}-zoom-in-center`,appear:""},{default:fe(()=>[v("span",{class:Z(b(o)),style:tt({backgroundColor:l.color}),onClick:a},[v("span",{class:Z(b(s).e("content"))},[_e(l.$slots,"default")],2),l.closable?(w(),le(b(Yt),{key:0,class:Z(b(s).e("close")),onClick:en(i,["stop"])},{default:fe(()=>[ke(b(Rl))]),_:1},8,["class","onClick"])):ge("v-if",!0)],6)]),_:3},8,["name"]))}});var TS=Ue(AS,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const MS=xn(TS),LS=Ye({color:{type:Ie(Object),required:!0},vertical:{type:Boolean,default:!1}});let ac=!1;function _s(e,t){if(!Pt)return;const n=function(o){var i;(i=t.drag)==null||i.call(t,o)},r=function(o){var i;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,ac=!1,(i=t.end)==null||i.call(t,o)},s=function(o){var i;ac||(o.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),ac=!0,(i=t.start)==null||i.call(t,o))};e.addEventListener("mousedown",s),e.addEventListener("touchstart",s)}const $S=e=>{const t=mt(),n=Wn(),r=Wn();function s(i){i.target!==n.value&&o(i)}function o(i){if(!r.value||!n.value)return;const l=t.vnode.el.getBoundingClientRect(),{clientX:u,clientY:f}=ml(i);if(e.vertical){let c=f-l.top;c=Math.max(n.value.offsetHeight/2,c),c=Math.min(c,l.height-n.value.offsetHeight/2),e.color.set("alpha",Math.round((c-n.value.offsetHeight/2)/(l.height-n.value.offsetHeight)*100))}else{let c=u-l.left;c=Math.max(n.value.offsetWidth/2,c),c=Math.min(c,l.width-n.value.offsetWidth/2),e.color.set("alpha",Math.round((c-n.value.offsetWidth/2)/(l.width-n.value.offsetWidth)*100))}}return{thumb:n,bar:r,handleDrag:o,handleClick:s}},IS=(e,{bar:t,thumb:n,handleDrag:r})=>{const s=mt(),o=Ze("color-alpha-slider"),i=U(0),a=U(0),l=U();function u(){if(!n.value||e.vertical)return 0;const k=s.vnode.el,y=e.color.get("alpha");return k?Math.round(y*(k.offsetWidth-n.value.offsetWidth/2)/100):0}function f(){if(!n.value)return 0;const k=s.vnode.el;if(!e.vertical)return 0;const y=e.color.get("alpha");return k?Math.round(y*(k.offsetHeight-n.value.offsetHeight/2)/100):0}function c(){if(e.color&&e.color.value){const{r:k,g:y,b:_}=e.color.toRgb();return`linear-gradient(to right, rgba(${k}, ${y}, ${_}, 0) 0%, rgba(${k}, ${y}, ${_}, 1) 100%)`}return""}function p(){i.value=u(),a.value=f(),l.value=c()}nt(()=>{if(!t.value||!n.value)return;const k={drag:y=>{r(y)},end:y=>{r(y)}};_s(t.value,k),_s(n.value,k),p()}),xe(()=>e.color.get("alpha"),()=>p()),xe(()=>e.color.value,()=>p());const d=O(()=>[o.b(),o.is("vertical",e.vertical)]),m=O(()=>o.e("bar")),g=O(()=>o.e("thumb")),C=O(()=>({background:l.value})),h=O(()=>({left:_o(i.value),top:_o(a.value)}));return{rootKls:d,barKls:m,barStyle:C,thumbKls:g,thumbStyle:h,update:p}},RS=ne({...ne({name:"ElColorAlphaSlider"}),props:LS,setup(e,{expose:t}){const n=e,{bar:r,thumb:s,handleDrag:o,handleClick:i}=$S(n),{rootKls:a,barKls:l,barStyle:u,thumbKls:f,thumbStyle:c,update:p}=IS(n,{bar:r,thumb:s,handleDrag:o});return t({update:p,bar:r,thumb:s}),(d,m)=>(w(),A("div",{class:Z(b(a))},[v("div",{ref_key:"bar",ref:r,class:Z(b(l)),style:tt(b(u)),onClick:m[0]||(m[0]=(...g)=>b(i)&&b(i)(...g))},null,6),v("div",{ref_key:"thumb",ref:s,class:Z(b(f)),style:tt(b(c))},null,6)],2))}});var OS=Ue(RS,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const PS=ne({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=Ze("color-hue-slider"),n=mt(),r=U(),s=U(),o=U(0),i=U(0),a=O(()=>e.color.get("hue"));xe(()=>a.value,()=>{p()});function l(d){d.target!==r.value&&u(d)}function u(d){if(!s.value||!r.value)return;const g=n.vnode.el.getBoundingClientRect(),{clientX:C,clientY:h}=ml(d);let k;if(e.vertical){let y=h-g.top;y=Math.min(y,g.height-r.value.offsetHeight/2),y=Math.max(r.value.offsetHeight/2,y),k=Math.round((y-r.value.offsetHeight/2)/(g.height-r.value.offsetHeight)*360)}else{let y=C-g.left;y=Math.min(y,g.width-r.value.offsetWidth/2),y=Math.max(r.value.offsetWidth/2,y),k=Math.round((y-r.value.offsetWidth/2)/(g.width-r.value.offsetWidth)*360)}e.color.set("hue",k)}function f(){if(!r.value)return 0;const d=n.vnode.el;if(e.vertical)return 0;const m=e.color.get("hue");return d?Math.round(m*(d.offsetWidth-r.value.offsetWidth/2)/360):0}function c(){if(!r.value)return 0;const d=n.vnode.el;if(!e.vertical)return 0;const m=e.color.get("hue");return d?Math.round(m*(d.offsetHeight-r.value.offsetHeight/2)/360):0}function p(){o.value=f(),i.value=c()}return nt(()=>{if(!s.value||!r.value)return;const d={drag:m=>{u(m)},end:m=>{u(m)}};_s(s.value,d),_s(r.value,d),p()}),{bar:s,thumb:r,thumbLeft:o,thumbTop:i,hueValue:a,handleClick:l,update:p,ns:t}}});function DS(e,t,n,r,s,o){return w(),A("div",{class:Z([e.ns.b(),e.ns.is("vertical",e.vertical)])},[v("div",{ref:"bar",class:Z(e.ns.e("bar")),onClick:t[0]||(t[0]=(...i)=>e.handleClick&&e.handleClick(...i))},null,2),v("div",{ref:"thumb",class:Z(e.ns.e("thumb")),style:tt({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var NS=Ue(PS,[["render",DS],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const qS=Ye({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:Wl,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},predefine:{type:Ie(Array)},validateEvent:{type:Boolean,default:!0}}),BS={[Zt]:e=>qe(e)||Wr(e),[Pl]:e=>qe(e)||Wr(e),activeChange:e=>qe(e)||Wr(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},X2=Symbol("colorPickerContextKey"),J2=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},FS=function(e){return typeof e=="string"&&e.includes(".")&&Number.parseFloat(e)===1},zS=function(e){return typeof e=="string"&&e.includes("%")},To=function(e,t){FS(e)&&(e="100%");const n=zS(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),n&&(e=Number.parseInt(`${e*t}`,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},Y2={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Hi=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${Y2[t]||t}${Y2[n]||n}`},Q2=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${Hi(e)}${Hi(t)}${Hi(n)}`},lc={A:10,B:11,C:12,D:13,E:14,F:15},Yr=function(e){return e.length===2?(lc[e[0].toUpperCase()]||+e[0])*16+(lc[e[1].toUpperCase()]||+e[1]):lc[e[1].toUpperCase()]||+e[1]},HS=function(e,t,n){t=t/100,n=n/100;let r=t;const s=Math.max(n,.01);n*=2,t*=n<=1?n:2-n,r*=s<=1?s:2-s;const o=(n+t)/2,i=n===0?2*r/(s+r):2*t/(n+t);return{h:e,s:i*100,v:o*100}},e1=(e,t,n)=>{e=To(e,255),t=To(t,255),n=To(n,255);const r=Math.max(e,t,n),s=Math.min(e,t,n);let o;const i=r,a=r-s,l=r===0?0:a/r;if(r===s)o=0;else{switch(r){case e:{o=(t-n)/a+(t<n?6:0);break}case t:{o=(n-e)/a+2;break}case n:{o=(e-t)/a+4;break}}o/=6}return{h:o*360,s:l*100,v:i*100}},ys=function(e,t,n){e=To(e,360)*6,t=To(t,100),n=To(n,100);const r=Math.floor(e),s=e-r,o=n*(1-t),i=n*(1-s*t),a=n*(1-(1-s)*t),l=r%6,u=[n,i,o,o,a,n][l],f=[a,n,n,i,o,o][l],c=[o,o,a,n,n,i][l];return{r:Math.round(u*255),g:Math.round(f*255),b:Math.round(c*255)}};class ws{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const n in t)Ve(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const r in t)Ve(t,r)&&this.set(r,t[r]);return}this[`_${t}`]=n,this.doOnChange()}get(t){return t==="alpha"?Math.floor(this[`_${t}`]):this[`_${t}`]}toRgb(){return ys(this._hue,this._saturation,this._value)}fromString(t){if(!t){this._hue=0,this._saturation=100,this._value=100,this.doOnChange();return}const n=(r,s,o)=>{this._hue=Math.max(0,Math.min(360,r)),this._saturation=Math.max(0,Math.min(100,s)),this._value=Math.max(0,Math.min(100,o)),this.doOnChange()};if(t.includes("hsl")){const r=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(s=>s!=="").map((s,o)=>o>2?Number.parseFloat(s):Number.parseInt(s,10));if(r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3){const{h:s,s:o,v:i}=HS(r[0],r[1],r[2]);n(s,o,i)}}else if(t.includes("hsv")){const r=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(s=>s!=="").map((s,o)=>o>2?Number.parseFloat(s):Number.parseInt(s,10));r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3&&n(r[0],r[1],r[2])}else if(t.includes("rgb")){const r=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(s=>s!=="").map((s,o)=>o>2?Number.parseFloat(s):Number.parseInt(s,10));if(r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3){const{h:s,s:o,v:i}=e1(r[0],r[1],r[2]);n(s,o,i)}}else if(t.includes("#")){const r=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(r))return;let s,o,i;r.length===3?(s=Yr(r[0]+r[0]),o=Yr(r[1]+r[1]),i=Yr(r[2]+r[2])):(r.length===6||r.length===8)&&(s=Yr(r.slice(0,2)),o=Yr(r.slice(2,4)),i=Yr(r.slice(4,6))),r.length===8?this._alpha=Yr(r.slice(6))/255*100:(r.length===3||r.length===6)&&(this._alpha=100);const{h:a,s:l,v:u}=e1(s,o,i);n(a,l,u)}}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:n,_value:r,_alpha:s,format:o}=this;if(this.enableAlpha)switch(o){case"hsl":{const i=J2(t,n/100,r/100);this.value=`hsla(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${t}, ${Math.round(n)}%, ${Math.round(r)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${Q2(ys(t,n,r))}${Hi(s*255/100)}`;break}default:{const{r:i,g:a,b:l}=ys(t,n,r);this.value=`rgba(${i}, ${a}, ${l}, ${this.get("alpha")/100})`}}else switch(o){case"hsl":{const i=J2(t,n/100,r/100);this.value=`hsl(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${t}, ${Math.round(n)}%, ${Math.round(r)}%)`;break}case"rgb":{const{r:i,g:a,b:l}=ys(t,n,r);this.value=`rgb(${i}, ${a}, ${l})`;break}default:this.value=Q2(ys(t,n,r))}}}const jS=ne({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const t=Ze("color-predefine"),{currentColor:n}=De(X2),r=U(o(e.colors,e.color));xe(()=>n.value,i=>{const a=new ws;a.fromString(i),r.value.forEach(l=>{l.selected=a.compare(l)})}),Ya(()=>{r.value=o(e.colors,e.color)});function s(i){e.color.fromString(e.colors[i])}function o(i,a){return i.map(l=>{const u=new ws;return u.enableAlpha=!0,u.format="rgba",u.fromString(l),u.selected=u.value===a.value,u})}return{rgbaColors:r,handleSelect:s,ns:t}}}),VS=["onClick"];function US(e,t,n,r,s,o){return w(),A("div",{class:Z(e.ns.b())},[v("div",{class:Z(e.ns.e("colors"))},[(w(!0),A(Xe,null,wn(e.rgbaColors,(i,a)=>(w(),A("div",{key:e.colors[a],class:Z([e.ns.e("color-selector"),e.ns.is("alpha",i._alpha<100),{selected:i.selected}]),onClick:l=>e.handleSelect(a)},[v("div",{style:tt({backgroundColor:i.value})},null,4)],10,VS))),128))],2)],2)}var KS=Ue(jS,[["render",US],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const GS=ne({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=Ze("color-svpanel"),n=mt(),r=U(0),s=U(0),o=U("hsl(0, 100%, 50%)"),i=O(()=>{const u=e.color.get("hue"),f=e.color.get("value");return{hue:u,value:f}});function a(){const u=e.color.get("saturation"),f=e.color.get("value"),c=n.vnode.el,{clientWidth:p,clientHeight:d}=c;s.value=u*p/100,r.value=(100-f)*d/100,o.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function l(u){const c=n.vnode.el.getBoundingClientRect(),{clientX:p,clientY:d}=ml(u);let m=p-c.left,g=d-c.top;m=Math.max(0,m),m=Math.min(m,c.width),g=Math.max(0,g),g=Math.min(g,c.height),s.value=m,r.value=g,e.color.set({saturation:m/c.width*100,value:100-g/c.height*100})}return xe(()=>i.value,()=>{a()}),nt(()=>{_s(n.vnode.el,{drag:u=>{l(u)},end:u=>{l(u)}}),a()}),{cursorTop:r,cursorLeft:s,background:o,colorValue:i,handleDrag:l,update:a,ns:t}}}),WS=[v("div",null,null,-1)];function ZS(e,t,n,r,s,o){return w(),A("div",{class:Z(e.ns.b()),style:tt({backgroundColor:e.background})},[v("div",{class:Z(e.ns.e("white"))},null,2),v("div",{class:Z(e.ns.e("black"))},null,2),v("div",{class:Z(e.ns.e("cursor")),style:tt({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},WS,6)],6)}var XS=Ue(GS,[["render",ZS],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const JS=["onKeydown"],YS=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],QS=ne({...ne({name:"ElColorPicker"}),props:qS,emits:BS,setup(e,{expose:t,emit:n}){const r=e,{t:s}=En(),o=Ze("color"),{formItem:i}=Oi(),a=ms(),l=Ri(),{inputId:u,isLabeledByFormItem:f}=_2(r,{formItemContext:i}),c=U(),p=U(),d=U(),m=U(),g=U(),C=U(),{isFocused:h,handleFocus:k,handleBlur:y}=v2(g,{beforeBlur(me){var Ne;return(Ne=m.value)==null?void 0:Ne.isFocusInsideContent(me)},afterBlur(){F(!1),te()}}),_=me=>{if(l.value)return sn();k(me)};let S=!0;const x=bn(new ws({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue})),T=U(!1),L=U(!1),I=U(""),P=O(()=>!r.modelValue&&!L.value?"transparent":K(x,r.showAlpha)),N=O(()=>!r.modelValue&&!L.value?"":x.value),D=O(()=>f.value?void 0:r.label||s("el.colorpicker.defaultLabel")),oe=O(()=>f.value?i==null?void 0:i.labelId:void 0),B=O(()=>[o.b("picker"),o.is("disabled",l.value),o.bm("picker",a.value),o.is("focused",h.value)]);function K(me,Ne){if(!(me instanceof ws))throw new TypeError("color should be instance of _color Class");const{r:M,g:$,b:j}=me.toRgb();return Ne?`rgba(${M}, ${$}, ${j}, ${me.get("alpha")/100})`:`rgb(${M}, ${$}, ${j})`}function F(me){T.value=me}const z=Ml(F,100,{leading:!0});function H(){l.value||F(!0)}function Q(){z(!1),te()}function te(){He(()=>{r.modelValue?x.fromString(r.modelValue):(x.value="",He(()=>{L.value=!1}))})}function Ae(){l.value||z(!T.value)}function ve(){x.fromString(I.value)}function Be(){const me=x.value;n(Zt,me),n("change",me),r.validateEvent&&(i==null||i.validate("change").catch(Ne=>void 0)),z(!1),He(()=>{const Ne=new ws({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});x.compare(Ne)||te()})}function Qe(){z(!1),n(Zt,null),n("change",null),r.modelValue!==null&&r.validateEvent&&(i==null||i.validate("change").catch(me=>void 0)),te()}function rt(me){if(T.value&&(Q(),h.value)){const Ne=new FocusEvent("focus",me);y(Ne)}}function ft(me){me.preventDefault(),me.stopPropagation(),F(!1),te()}function bt(me){switch(me.code){case ar.enter:case ar.space:me.preventDefault(),me.stopPropagation(),H(),C.value.focus();break;case ar.esc:ft(me);break}}function ut(){g.value.focus()}function sn(){g.value.blur()}return nt(()=>{r.modelValue&&(I.value=N.value)}),xe(()=>r.modelValue,me=>{me?me&&me!==x.value&&(S=!1,x.fromString(me)):L.value=!1}),xe(()=>N.value,me=>{I.value=me,S&&n("activeChange",me),S=!0}),xe(()=>x.value,()=>{!r.modelValue&&!L.value&&(L.value=!0)}),xe(()=>T.value,()=>{He(()=>{var me,Ne,M;(me=c.value)==null||me.update(),(Ne=p.value)==null||Ne.update(),(M=d.value)==null||M.update()})}),jt(X2,{currentColor:N}),t({color:x,show:H,hide:Q,focus:ut,blur:sn}),(me,Ne)=>(w(),le(b(bs),{ref_key:"popper",ref:m,visible:T.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[b(o).be("picker","panel"),b(o).b("dropdown"),me.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${b(o).namespace.value}-zoom-in-top`,persistent:"",onHide:Ne[2]||(Ne[2]=M=>F(!1))},{content:fe(()=>[zt((w(),A("div",{onKeydown:Ut(ft,["esc"])},[v("div",{class:Z(b(o).be("dropdown","main-wrapper"))},[ke(NS,{ref_key:"hue",ref:c,class:"hue-slider",color:b(x),vertical:""},null,8,["color"]),ke(XS,{ref_key:"sv",ref:p,color:b(x)},null,8,["color"])],2),me.showAlpha?(w(),le(OS,{key:0,ref_key:"alpha",ref:d,color:b(x)},null,8,["color"])):ge("v-if",!0),me.predefine?(w(),le(KS,{key:1,ref:"predefine",color:b(x),colors:me.predefine},null,8,["color","colors"])):ge("v-if",!0),v("div",{class:Z(b(o).be("dropdown","btns"))},[v("span",{class:Z(b(o).be("dropdown","value"))},[ke(b(Pi),{ref_key:"inputRef",ref:C,modelValue:I.value,"onUpdate:modelValue":Ne[0]||(Ne[0]=M=>I.value=M),"validate-event":!1,size:"small",onKeyup:Ut(ve,["enter"]),onBlur:ve},null,8,["modelValue","onKeyup"])],2),ke(b(U2),{class:Z(b(o).be("dropdown","link-btn")),text:"",size:"small",onClick:Qe},{default:fe(()=>[zr(We(b(s)("el.colorpicker.clear")),1)]),_:1},8,["class"]),ke(b(U2),{plain:"",size:"small",class:Z(b(o).be("dropdown","btn")),onClick:Be},{default:fe(()=>[zr(We(b(s)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,JS)),[[b(W2),rt]])]),default:fe(()=>[v("div",{id:b(u),ref_key:"triggerRef",ref:g,class:Z(b(B)),role:"button","aria-label":b(D),"aria-labelledby":b(oe),"aria-description":b(s)("el.colorpicker.description",{color:me.modelValue||""}),"aria-disabled":b(l),tabindex:b(l)?-1:me.tabindex,onKeydown:bt,onFocus:_,onBlur:Ne[1]||(Ne[1]=(...M)=>b(y)&&b(y)(...M))},[b(l)?(w(),A("div",{key:0,class:Z(b(o).be("picker","mask"))},null,2)):ge("v-if",!0),v("div",{class:Z(b(o).be("picker","trigger")),onClick:Ae},[v("span",{class:Z([b(o).be("picker","color"),b(o).is("alpha",me.showAlpha)])},[v("span",{class:Z(b(o).be("picker","color-inner")),style:tt({backgroundColor:b(P)})},[zt(ke(b(Yt),{class:Z([b(o).be("picker","icon"),b(o).is("icon-arrow-down")])},{default:fe(()=>[ke(b(Ph))]),_:1},8,["class"]),[[er,me.modelValue||L.value]]),zt(ke(b(Yt),{class:Z([b(o).be("picker","empty"),b(o).is("icon-close")])},{default:fe(()=>[ke(b(Rl))]),_:1},8,["class"]),[[er,!me.modelValue&&!L.value]])],6)],2)],2)],42,YS)]),_:1},8,["visible","popper-class","transition"]))}});var e9=Ue(QS,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const t9=xn(e9),n9=ne({inheritAttrs:!1});function r9(e,t,n,r,s,o){return _e(e.$slots,"default")}var o9=Ue(n9,[["render",r9],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const s9=ne({name:"ElCollectionItem",inheritAttrs:!1});function i9(e,t,n,r,s,o){return _e(e.$slots,"default")}var a9=Ue(s9,[["render",i9],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const l9="data-el-collection-item",c9=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),s=Symbol(n),o={...o9,name:t,setup(){const a=U(null),l=new Map;jt(r,{itemMap:l,getItems:()=>{const f=b(a);if(!f)return[];const c=Array.from(f.querySelectorAll(`[${l9}]`));return[...l.values()].sort((d,m)=>c.indexOf(d.ref)-c.indexOf(m.ref))},collectionRef:a})}},i={...a9,name:n,setup(a,{attrs:l}){const u=U(null),f=De(r,void 0);jt(s,{collectionItemRef:u}),nt(()=>{const c=b(u);c&&f.itemMap.set(c,{ref:c,...l})}),Wt(()=>{const c=b(u);f.itemMap.delete(c)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:s,ElCollection:o,ElCollectionItem:i}},cc=Ye({trigger:vs.trigger,effect:{...nn.effect,default:"light"},type:{type:Ie(String)},placement:{type:Ie(String),default:"bottom"},popperOptions:{type:Ie(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Ie([Number,String]),default:0},maxHeight:{type:Ie([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:Ie(Object)},teleported:nn.teleported});Ye({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Cn}}),Ye({onKeydown:{type:Ie(Function)}}),c9("Dropdown");const t1=Symbol("elPaginationKey"),u9=Ye({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:Cn}}),f9={click:e=>e instanceof MouseEvent},d9=["disabled","aria-label","aria-disabled"],p9={key:0},h9=ne({...ne({name:"ElPaginationPrev"}),props:u9,emits:f9,setup(e){const t=e,{t:n}=En(),r=O(()=>t.disabled||t.currentPage<=1);return(s,o)=>(w(),A("button",{type:"button",class:"btn-prev",disabled:b(r),"aria-label":s.prevText||b(n)("el.pagination.prev"),"aria-disabled":b(r),onClick:o[0]||(o[0]=i=>s.$emit("click",i))},[s.prevText?(w(),A("span",p9,We(s.prevText),1)):(w(),le(b(Yt),{key:1},{default:fe(()=>[(w(),le(Rt(s.prevIcon)))]),_:1}))],8,d9))}});var g9=Ue(h9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const m9=Ye({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:Cn}}),v9=["disabled","aria-label","aria-disabled"],b9={key:0},_9=ne({...ne({name:"ElPaginationNext"}),props:m9,emits:["click"],setup(e){const t=e,{t:n}=En(),r=O(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(s,o)=>(w(),A("button",{type:"button",class:"btn-next",disabled:b(r),"aria-label":s.nextText||b(n)("el.pagination.next"),"aria-disabled":b(r),onClick:o[0]||(o[0]=i=>s.$emit("click",i))},[s.nextText?(w(),A("span",b9,We(s.nextText),1)):(w(),le(b(Yt),{key:1},{default:fe(()=>[(w(),le(Rt(s.nextIcon)))]),_:1}))],8,v9))}});var y9=Ue(_9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const n1=Symbol("ElSelectGroup"),ji=Symbol("ElSelect");function w9(e,t){const n=De(ji),r=De(n1,{disabled:!1}),s=O(()=>Pe(e.value)),o=O(()=>n.props.multiple?c(n.props.modelValue,e.value):p(e.value,n.props.modelValue)),i=O(()=>{if(n.props.multiple){const g=n.props.modelValue||[];return!o.value&&g.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),a=O(()=>e.label||(s.value?"":e.value)),l=O(()=>e.value||e.label||""),u=O(()=>e.disabled||t.groupDisabled||i.value),f=mt(),c=(g=[],C)=>{if(s.value){const h=n.props.valueKey;return g&&g.some(k=>Oe(tn(k,h))===tn(C,h))}else return g&&g.includes(C)},p=(g,C)=>{if(s.value){const{valueKey:h}=n.props;return tn(g,h)===tn(C,h)}else return g===C},d=()=>{!e.disabled&&!r.disabled&&(n.hoverIndex=n.optionsArray.indexOf(f.proxy))};xe(()=>a.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),xe(()=>e.value,(g,C)=>{const{remote:h,valueKey:k}=n.props;if(Object.is(g,C)||(n.onOptionDestroy(C,f.proxy),n.onOptionCreate(f.proxy)),!e.created&&!h){if(k&&Pe(g)&&Pe(C)&&g[k]===C[k])return;n.setSelected()}}),xe(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0});const{queryChange:m}=Oe(n);return xe(m,g=>{const{query:C}=b(g),h=new RegExp(Nx(C),"i");t.visible=h.test(a.value)||e.created,t.visible||n.filteredOptionsCount--},{immediate:!0}),{select:n,currentLabel:a,currentValue:l,itemSelected:o,isDisabled:u,hoverItem:d}}const k9=ne({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=Ze("select"),n=$i(),r=O(()=>[t.be("dropdown","item"),t.is("disabled",b(a)),{selected:b(i),hover:b(c)}]),s=bn({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:o,itemSelected:i,isDisabled:a,select:l,hoverItem:u}=w9(e,s),{visible:f,hover:c}=js(s),p=mt().proxy;l.onOptionCreate(p),Wt(()=>{const m=p.value,{selected:g}=l,h=(l.props.multiple?g:[g]).some(k=>k.value===p.value);He(()=>{l.cachedOptions.get(m)===p&&!h&&l.cachedOptions.delete(m)}),l.onOptionDestroy(m,p)});function d(){e.disabled!==!0&&s.groupDisabled!==!0&&l.handleOptionSelect(p)}return{ns:t,id:n,containerKls:r,currentLabel:o,itemSelected:i,isDisabled:a,select:l,hoverItem:u,visible:f,hover:c,selectOptionClick:d,states:s}}}),C9=["id","aria-disabled","aria-selected"];function x9(e,t,n,r,s,o){return zt((w(),A("li",{id:e.id,class:Z(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:t[0]||(t[0]=(...i)=>e.hoverItem&&e.hoverItem(...i)),onClick:t[1]||(t[1]=en((...i)=>e.selectOptionClick&&e.selectOptionClick(...i),["stop"]))},[_e(e.$slots,"default",{},()=>[v("span",null,We(e.currentLabel),1)])],42,C9)),[[er,e.visible]])}var uc=Ue(k9,[["render",x9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const E9=ne({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=De(ji),t=Ze("select"),n=O(()=>e.props.popperClass),r=O(()=>e.props.multiple),s=O(()=>e.props.fitInputWidth),o=U("");function i(){var a;o.value=`${(a=e.selectWrapper)==null?void 0:a.offsetWidth}px`}return nt(()=>{i(),mi(e.selectWrapper,i)}),{ns:t,minWidth:o,popperClass:n,isMultiple:r,isFitInputWidth:s}}});function S9(e,t,n,r,s,o){return w(),A("div",{class:Z([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:tt({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(w(),A("div",{key:0,class:Z(e.ns.be("dropdown","header"))},[_e(e.$slots,"header")],2)):ge("v-if",!0),_e(e.$slots,"default"),e.$slots.footer?(w(),A("div",{key:1,class:Z(e.ns.be("dropdown","footer"))},[_e(e.$slots,"footer")],2)):ge("v-if",!0)],6)}var A9=Ue(E9,[["render",S9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function T9(e){const{t}=En();return bn({options:new Map,cachedOptions:new Map,disabledOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,mouseEnter:!1,focused:!1})}const M9=(e,t,n)=>{const{t:r}=En(),s=Ze("select");zh({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},O(()=>e.suffixTransition===!1));const o=U(null),i=U(null),a=U(null),l=U(null),u=U(null),f=U(null),c=U(null),p=U(null),d=U(),m=Wn({query:""}),g=Wn(""),C=U([]);let h=0;const{form:k,formItem:y}=Oi(),_=O(()=>!e.filterable||e.multiple||!t.visible),S=O(()=>e.disabled||(k==null?void 0:k.disabled)),x=O(()=>{const q=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!=="";return e.clearable&&!S.value&&t.inputHovering&&q}),T=O(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),L=O(()=>s.is("reverse",T.value&&t.visible&&e.suffixTransition)),I=O(()=>(k==null?void 0:k.statusIcon)&&(y==null?void 0:y.validateState)&&Bh[y==null?void 0:y.validateState]),P=O(()=>e.remote?300:0),N=O(()=>e.loading?e.loadingText||r("el.select.loading"):e.remote&&t.query===""&&t.options.size===0?!1:e.filterable&&t.query&&t.options.size>0&&t.filteredOptionsCount===0?e.noMatchText||r("el.select.noMatch"):t.options.size===0?e.noDataText||r("el.select.noData"):null),D=O(()=>{const q=Array.from(t.options.values()),E=[];return C.value.forEach(R=>{const G=q.findIndex(ye=>ye.currentLabel===R);G>-1&&E.push(q[G])}),E.length>=q.length?E:q}),oe=O(()=>Array.from(t.cachedOptions.values())),B=O(()=>{const q=D.value.filter(E=>!E.created).some(E=>E.currentLabel===t.query);return e.filterable&&e.allowCreate&&t.query!==""&&!q}),K=ms(),F=O(()=>["small"].includes(K.value)?"small":"default"),z=O({get(){return t.visible&&N.value!==!1},set(q){t.visible=q}});xe([()=>S.value,()=>K.value,()=>k==null?void 0:k.size],()=>{He(()=>{H()})}),xe(()=>e.placeholder,q=>{t.cachedPlaceHolder=t.currentPlaceholder=q,e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(t.currentPlaceholder="")}),xe(()=>e.modelValue,(q,E)=>{e.multiple&&(H(),q&&q.length>0||i.value&&t.query!==""?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",Q(t.query))),ve(),e.filterable&&!e.multiple&&(t.inputLength=20),!Ll(q,E)&&e.validateEvent&&(y==null||y.validate("change").catch(R=>void 0))},{flush:"post",deep:!0}),xe(()=>t.visible,q=>{var E,R,G,ye,Fe;q?((R=(E=l.value)==null?void 0:E.updatePopper)==null||R.call(E),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,(ye=(G=a.value)==null?void 0:G.focus)==null||ye.call(G),e.multiple?(Fe=i.value)==null||Fe.focus():t.selectedLabel&&(t.currentPlaceholder=`${t.selectedLabel}`,t.selectedLabel=""),Q(t.query),!e.multiple&&!e.remote&&(m.value.query="",Bo(m),Bo(g)))):(e.filterable&&(we(e.filterMethod)&&e.filterMethod(""),we(e.remoteMethod)&&e.remoteMethod("")),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,Qe(),He(()=>{i.value&&i.value.value===""&&t.selected.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",q)}),xe(()=>t.options.entries(),()=>{var q,E,R;if(!Pt)return;(E=(q=l.value)==null?void 0:q.updatePopper)==null||E.call(q),e.multiple&&H();const G=((R=c.value)==null?void 0:R.querySelectorAll("input"))||[];(!e.filterable&&!e.defaultFirstOption&&!Oh(e.modelValue)||!Array.from(G).includes(document.activeElement))&&ve(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&Ae()},{flush:"post"}),xe(()=>t.hoverIndex,q=>{vt(q)&&q>-1?d.value=D.value[q]||{}:d.value={},D.value.forEach(E=>{E.hover=d.value===E})});const H=()=>{He(()=>{var q,E;if(!o.value)return;const R=o.value.$el.querySelector("input");h=h||(R.clientHeight>0?R.clientHeight+2:0);const G=f.value,ye=getComputedStyle(R).getPropertyValue(s.cssVarName("input-height")),Fe=Number.parseFloat(ye)||c8(K.value||(k==null?void 0:k.size)),Ke=K.value||Fe===h||h<=0?Fe:h;!(R.offsetParent===null)&&(R.style.height=`${(t.selected.length===0?Ke:Math.max(G?G.clientHeight+(G.clientHeight>Ke?6:0):0,Ke))-2}px`),t.visible&&N.value!==!1&&((E=(q=l.value)==null?void 0:q.updatePopper)==null||E.call(q))})},Q=async q=>{if(!(t.previousQuery===q||t.isOnComposition)){if(t.previousQuery===null&&(we(e.filterMethod)||we(e.remoteMethod))){t.previousQuery=q;return}t.previousQuery=q,He(()=>{var E,R;t.visible&&((R=(E=l.value)==null?void 0:E.updatePopper)==null||R.call(E))}),t.hoverIndex=-1,e.multiple&&e.filterable&&He(()=>{if(!S.value){const E=i.value.value.length*15+20;t.inputLength=e.collapseTags?Math.min(50,E):E,te()}H()}),e.remote&&we(e.remoteMethod)?(t.hoverIndex=-1,e.remoteMethod(q)):we(e.filterMethod)?(e.filterMethod(q),Bo(g)):(t.filteredOptionsCount=t.optionsCount,m.value.query=q,Bo(m),Bo(g)),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&(await He(),Ae())}},te=()=>{t.currentPlaceholder!==""&&(t.currentPlaceholder=i.value.value?"":t.cachedPlaceHolder)},Ae=()=>{const q=D.value.filter(G=>G.visible&&!G.disabled&&!G.states.groupDisabled),E=q.find(G=>G.created),R=q[0];t.hoverIndex=W(D.value,E||R)},ve=()=>{var q;if(e.multiple)t.selectedLabel="";else{const R=Be(e.modelValue);(q=R.props)!=null&&q.created?(t.createdLabel=R.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=R.currentLabel,t.selected=R,e.filterable&&(t.query=t.selectedLabel);return}const E=[];Array.isArray(e.modelValue)&&e.modelValue.forEach(R=>{E.push(Be(R))}),t.selected=E,He(()=>{H()})},Be=q=>{let E;const R=Ls(q).toLowerCase()==="object",G=Ls(q).toLowerCase()==="null",ye=Ls(q).toLowerCase()==="undefined";for(let he=t.cachedOptions.size-1;he>=0;he--){const ue=oe.value[he];if(R?tn(ue.value,e.valueKey)===tn(q,e.valueKey):ue.value===q){E={value:q,currentLabel:ue.currentLabel,isDisabled:ue.isDisabled};break}}if(E)return E;const Fe=R?q.label:!G&&!ye?q:"",Ke={value:q,currentLabel:Fe};return e.multiple&&(Ke.hitState=!1),Ke},Qe=()=>{setTimeout(()=>{const q=e.valueKey;e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(E=>D.value.findIndex(R=>tn(R,q)===tn(E,q)))):t.hoverIndex=-1:t.hoverIndex=D.value.findIndex(E=>mn(E)===mn(t.selected))},300)},rt=()=>{var q,E;ft(),(E=(q=l.value)==null?void 0:q.updatePopper)==null||E.call(q),e.multiple&&H()},ft=()=>{var q;t.inputWidth=(q=o.value)==null?void 0:q.$el.offsetWidth},bt=()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,Q(t.query))},ut=Ml(()=>{bt()},P.value),sn=Ml(q=>{Q(q.target.value)},P.value),me=q=>{Ll(e.modelValue,q)||n.emit(Pl,q)},Ne=q=>Ox(q,E=>!t.disabledOptions.has(E)),M=q=>{if(q.code!==ar.delete){if(q.target.value.length<=0&&!be()){const E=e.modelValue.slice(),R=Ne(E);if(R<0)return;E.splice(R,1),n.emit(Zt,E),me(E)}q.target.value.length===1&&e.modelValue.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}},$=(q,E)=>{const R=t.selected.indexOf(E);if(R>-1&&!S.value){const G=e.modelValue.slice();G.splice(R,1),n.emit(Zt,G),me(G),n.emit("remove-tag",E.value)}q.stopPropagation(),ie()},j=q=>{q.stopPropagation();const E=e.multiple?[]:"";if(!qe(E))for(const R of t.selected)R.isDisabled&&E.push(R.value);n.emit(Zt,E),me(E),t.hoverIndex=-1,t.visible=!1,n.emit("clear"),ie()},Y=q=>{var E;if(e.multiple){const R=(e.modelValue||[]).slice(),G=W(R,q.value);G>-1?R.splice(G,1):(e.multipleLimit<=0||R.length<e.multipleLimit)&&R.push(q.value),n.emit(Zt,R),me(R),q.created&&(t.query="",Q(""),t.inputLength=20),e.filterable&&((E=i.value)==null||E.focus())}else n.emit(Zt,q.value),me(q.value),t.visible=!1;X(),!t.visible&&He(()=>{se(q)})},W=(q=[],E)=>{if(!Pe(E))return q.indexOf(E);const R=e.valueKey;let G=-1;return q.some((ye,Fe)=>Oe(tn(ye,R))===tn(E,R)?(G=Fe,!0):!1),G},X=()=>{const q=i.value||o.value;q&&(q==null||q.focus())},se=q=>{var E,R,G,ye,Fe;const Ke=Array.isArray(q)?q[0]:q;let he=null;if(Ke!=null&&Ke.value){const ue=D.value.filter(Me=>Me.value===Ke.value);ue.length>0&&(he=ue[0].$el)}if(l.value&&he){const ue=(ye=(G=(R=(E=l.value)==null?void 0:E.popperRef)==null?void 0:R.contentRef)==null?void 0:G.querySelector)==null?void 0:ye.call(G,`.${s.be("dropdown","wrap")}`);ue&&Fx(ue,he)}(Fe=p.value)==null||Fe.handleScroll()},re=q=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(q.value,q),t.cachedOptions.set(q.value,q),q.disabled&&t.disabledOptions.set(q.value,q)},ee=(q,E)=>{t.options.get(q)===E&&(t.optionsCount--,t.filteredOptionsCount--,t.options.delete(q))},J=q=>{q.code!==ar.backspace&&be(!1),t.inputLength=i.value.value.length*15+20,H()},be=q=>{if(!Array.isArray(t.selected))return;const E=Ne(t.selected.map(G=>G.value)),R=t.selected[E];if(R)return q===!0||q===!1?(R.hitState=q,q):(R.hitState=!R.hitState,R.hitState)},ce=q=>{const E=q.target.value;if(q.type==="compositionend")t.isOnComposition=!1,He(()=>Q(E));else{const R=E[E.length-1]||"";t.isOnComposition=!Fh(R)}},pe=()=>{He(()=>se(t.selected))},V=q=>{t.focused||((e.automaticDropdown||e.filterable)&&(e.filterable&&!t.visible&&(t.menuVisibleOnFocus=!0),t.visible=!0),t.focused=!0,n.emit("focus",q))},ie=()=>{var q,E;t.visible?(q=i.value||o.value)==null||q.focus():(E=o.value)==null||E.focus()},Ee=()=>{var q,E,R;t.visible=!1,(q=o.value)==null||q.blur(),(R=(E=a.value)==null?void 0:E.blur)==null||R.call(E)},Le=q=>{var E,R,G;(E=l.value)!=null&&E.isFocusInsideContent(q)||(R=u.value)!=null&&R.isFocusInsideContent(q)||(G=c.value)!=null&&G.contains(q.relatedTarget)||(t.visible&&pt(),t.focused=!1,n.emit("blur",q))},at=q=>{j(q)},pt=()=>{t.visible=!1},xt=q=>{t.visible&&(q.preventDefault(),q.stopPropagation(),t.visible=!1)},Tt=q=>{q&&!t.mouseEnter||S.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:(!l.value||!l.value.isFocusInsideContent())&&(t.visible=!t.visible),ie())},Ln=()=>{t.visible?D.value[t.hoverIndex]&&Y(D.value[t.hoverIndex]):Tt()},mn=q=>Pe(q.value)?tn(q.value,e.valueKey):q.value,_t=O(()=>D.value.filter(q=>q.visible).every(q=>q.disabled)),Dt=O(()=>e.multiple?t.selected.slice(0,e.maxCollapseTags):[]),Fn=O(()=>e.multiple?t.selected.slice(e.maxCollapseTags):[]),Ir=q=>{if(!t.visible){t.visible=!0;return}if(!(t.options.size===0||t.filteredOptionsCount===0)&&!t.isOnComposition&&!_t.value){q==="next"?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):q==="prev"&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const E=D.value[t.hoverIndex];(E.disabled===!0||E.states.groupDisabled===!0||!E.visible)&&Ir(q),He(()=>se(d.value))}},$o=()=>{t.mouseEnter=!0},to=()=>{t.mouseEnter=!1},As=(q,E)=>{var R,G;$(q,E),(G=(R=u.value)==null?void 0:R.updatePopper)==null||G.call(R)},Io=O(()=>({maxWidth:`${b(t.inputWidth)-32-(I.value?22:0)}px`,width:"100%"}));return{optionList:C,optionsArray:D,hoverOption:d,selectSize:K,handleResize:rt,debouncedOnInputChange:ut,debouncedQueryChange:sn,deletePrevTag:M,deleteTag:$,deleteSelected:j,handleOptionSelect:Y,scrollToOption:se,readonly:_,resetInputHeight:H,showClose:x,iconComponent:T,iconReverse:L,showNewOption:B,collapseTagSize:F,setSelected:ve,managePlaceholder:te,selectDisabled:S,emptyText:N,toggleLastOptionHitState:be,resetInputState:J,handleComposition:ce,onOptionCreate:re,onOptionDestroy:ee,handleMenuEnter:pe,handleFocus:V,focus:ie,blur:Ee,handleBlur:Le,handleClearClick:at,handleClose:pt,handleKeydownEscape:xt,toggleMenu:Tt,selectOption:Ln,getValueKey:mn,navigateOptions:Ir,handleDeleteTooltipTag:As,dropMenuVisible:z,queryChange:m,groupQueryChange:g,showTagList:Dt,collapseTagList:Fn,selectTagsStyle:Io,reference:o,input:i,iOSInput:a,tooltipRef:l,tagTooltipRef:u,tags:f,selectWrapper:c,scrollbar:p,handleMouseEnter:$o,handleMouseLeave:to}};var L9=ne({name:"ElOptions",emits:["update-options"],setup(e,{slots:t,emit:n}){let r=[];function s(o,i){if(o.length!==i.length)return!1;for(const[a]of o.entries())if(o[a]!=i[a])return!1;return!0}return()=>{var o,i;const a=(o=t.default)==null?void 0:o.call(t),l=[];function u(f){Array.isArray(f)&&f.forEach(c=>{var p,d,m,g;const C=(p=(c==null?void 0:c.type)||{})==null?void 0:p.name;C==="ElOptionGroup"?u(!qe(c.children)&&!Array.isArray(c.children)&&we((d=c.children)==null?void 0:d.default)?(m=c.children)==null?void 0:m.default():c.children):C==="ElOption"?l.push((g=c.props)==null?void 0:g.label):Array.isArray(c.children)&&u(c.children)})}return a.length&&u((i=a[0])==null?void 0:i.children),s(l,r)||(r=l,n("update-options",l)),a}}});const r1="ElSelect",$9=ne({name:r1,componentName:r1,components:{ElInput:Pi,ElSelectMenu:A9,ElOption:uc,ElOptions:L9,ElTag:MS,ElScrollbar:dE,ElTooltip:bs,ElIcon:Yt},directives:{ClickOutside:W2},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:u8},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:nn.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:Cn,default:Il},fitInputWidth:Boolean,suffixIcon:{type:Cn,default:Ph},tagType:{...Z2.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:Si,default:"bottom-start"},ariaLabel:{type:String,default:void 0}},emits:[Zt,Pl,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=Ze("select"),r=Ze("input"),{t:s}=En(),o=$i(),i=T9(e),{optionList:a,optionsArray:l,hoverOption:u,selectSize:f,readonly:c,handleResize:p,collapseTagSize:d,debouncedOnInputChange:m,debouncedQueryChange:g,deletePrevTag:C,deleteTag:h,deleteSelected:k,handleOptionSelect:y,scrollToOption:_,setSelected:S,resetInputHeight:x,managePlaceholder:T,showClose:L,selectDisabled:I,iconComponent:P,iconReverse:N,showNewOption:D,emptyText:oe,toggleLastOptionHitState:B,resetInputState:K,handleComposition:F,onOptionCreate:z,onOptionDestroy:H,handleMenuEnter:Q,handleFocus:te,focus:Ae,blur:ve,handleBlur:Be,handleClearClick:Qe,handleClose:rt,handleKeydownEscape:ft,toggleMenu:bt,selectOption:ut,getValueKey:sn,navigateOptions:me,handleDeleteTooltipTag:Ne,dropMenuVisible:M,reference:$,input:j,iOSInput:Y,tooltipRef:W,tagTooltipRef:X,tags:se,selectWrapper:re,scrollbar:ee,queryChange:J,groupQueryChange:be,handleMouseEnter:ce,handleMouseLeave:pe,showTagList:V,collapseTagList:ie,selectTagsStyle:Ee}=M9(e,i,t),{inputWidth:Le,selected:at,inputLength:pt,filteredOptionsCount:xt,visible:Tt,selectedLabel:Ln,hoverIndex:mn,query:_t,inputHovering:Dt,currentPlaceholder:Fn,menuVisibleOnFocus:Ir,isOnComposition:$o,options:to,cachedOptions:As,optionsCount:Io,prefixWidth:q}=js(i),E=O(()=>{const Ge=[n.b()],an=b(f);return an&&Ge.push(n.m(an)),e.disabled&&Ge.push(n.m("disabled")),Ge}),R=O(()=>[n.e("tags"),n.is("disabled",b(I))]),G=O(()=>[n.b("tags-wrapper"),{"has-prefix":b(q)&&b(at).length}]),ye=O(()=>[n.e("input"),n.is(b(f)),n.is("disabled",b(I))]),Fe=O(()=>[n.e("input"),n.is(b(f)),n.em("input","iOS")]),Ke=O(()=>[n.is("empty",!e.allowCreate&&!!b(_t)&&b(xt)===0)]),he=O(()=>({maxWidth:`${b(Le)>123&&b(at).length>e.maxCollapseTags?b(Le)-123:b(Le)-75}px`})),ue=O(()=>({marginLeft:`${b(q)}px`,flexGrow:1,width:`${b(pt)/(b(Le)-32)}%`,maxWidth:`${b(Le)-42}px`}));jt(ji,bn({props:e,options:to,optionsArray:l,cachedOptions:As,optionsCount:Io,filteredOptionsCount:xt,hoverIndex:mn,handleOptionSelect:y,onOptionCreate:z,onOptionDestroy:H,selectWrapper:re,selected:at,setSelected:S,queryChange:J,groupQueryChange:be})),nt(()=>{i.cachedPlaceHolder=Fn.value=e.placeholder||(()=>s("el.select.placeholder")),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(Fn.value=""),mi(re,p),e.remote&&e.multiple&&x(),He(()=>{const Ge=$.value&&$.value.$el;if(Ge&&(Le.value=Ge.getBoundingClientRect().width,t.slots.prefix)){const an=Ge.querySelector(`.${r.e("prefix")}`);q.value=Math.max(an.getBoundingClientRect().width+11,30)}}),S()}),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(Zt,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(Zt,"");const Me=O(()=>{var Ge,an;return(an=(Ge=W.value)==null?void 0:Ge.popperRef)==null?void 0:an.contentRef});return{isIOS:Bp,onOptionsRendered:Ge=>{a.value=Ge},prefixWidth:q,selectSize:f,readonly:c,handleResize:p,collapseTagSize:d,debouncedOnInputChange:m,debouncedQueryChange:g,deletePrevTag:C,deleteTag:h,handleDeleteTooltipTag:Ne,deleteSelected:k,handleOptionSelect:y,scrollToOption:_,inputWidth:Le,selected:at,inputLength:pt,filteredOptionsCount:xt,visible:Tt,selectedLabel:Ln,hoverIndex:mn,query:_t,inputHovering:Dt,currentPlaceholder:Fn,menuVisibleOnFocus:Ir,isOnComposition:$o,options:to,resetInputHeight:x,managePlaceholder:T,showClose:L,selectDisabled:I,iconComponent:P,iconReverse:N,showNewOption:D,emptyText:oe,toggleLastOptionHitState:B,resetInputState:K,handleComposition:F,handleMenuEnter:Q,handleFocus:te,focus:Ae,blur:ve,handleBlur:Be,handleClearClick:Qe,handleClose:rt,handleKeydownEscape:ft,toggleMenu:bt,selectOption:ut,getValueKey:sn,navigateOptions:me,dropMenuVisible:M,reference:$,input:j,iOSInput:Y,tooltipRef:W,popperPaneRef:Me,tags:se,selectWrapper:re,scrollbar:ee,wrapperKls:E,tagsKls:R,tagWrapperKls:G,inputKls:ye,iOSInputKls:Fe,scrollbarKls:Ke,selectTagsStyle:Ee,nsSelect:n,tagTextStyle:he,inputStyle:ue,handleMouseEnter:ce,handleMouseLeave:pe,showTagList:V,collapseTagList:ie,tagTooltipRef:X,contentId:o,hoverOption:u}}}),I9=["disabled","autocomplete","aria-activedescendant","aria-controls","aria-expanded","aria-label"],R9=["disabled"],O9={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function P9(e,t,n,r,s,o){const i=br("el-tag"),a=br("el-tooltip"),l=br("el-icon"),u=br("el-input"),f=br("el-option"),c=br("el-options"),p=br("el-scrollbar"),d=br("el-select-menu"),m=p0("click-outside");return zt((w(),A("div",{ref:"selectWrapper",class:Z(e.wrapperKls),onMouseenter:t[22]||(t[22]=(...g)=>e.handleMouseEnter&&e.handleMouseEnter(...g)),onMouseleave:t[23]||(t[23]=(...g)=>e.handleMouseLeave&&e.handleMouseLeave(...g)),onClick:t[24]||(t[24]=en((...g)=>e.toggleMenu&&e.toggleMenu(...g),["stop"]))},[ke(a,{ref:"tooltipRef",visible:e.dropMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onShow:e.handleMenuEnter},{default:fe(()=>{var g,C;return[v("div",{class:"select-trigger",onMouseenter:t[20]||(t[20]=h=>e.inputHovering=!0),onMouseleave:t[21]||(t[21]=h=>e.inputHovering=!1)},[e.multiple?(w(),A("div",{key:0,ref:"tags",tabindex:"-1",class:Z(e.tagsKls),style:tt(e.selectTagsStyle),onClick:t[15]||(t[15]=(...h)=>e.focus&&e.focus(...h))},[e.collapseTags&&e.selected.length?(w(),le(Hr,{key:0,onAfterLeave:e.resetInputHeight},{default:fe(()=>[v("span",{class:Z(e.tagWrapperKls)},[(w(!0),A(Xe,null,wn(e.showTagList,h=>(w(),le(i,{key:e.getValueKey(h),closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",onClose:k=>e.deleteTag(k,h)},{default:fe(()=>[v("span",{class:Z(e.nsSelect.e("tags-text")),style:tt(e.tagTextStyle)},We(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),e.selected.length>e.maxCollapseTags?(w(),le(i,{key:0,closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":""},{default:fe(()=>[e.collapseTagsTooltip?(w(),le(a,{key:0,ref:"tagTooltipRef",disabled:e.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:fe(()=>[v("span",{class:Z(e.nsSelect.e("tags-text"))},"+ "+We(e.selected.length-e.maxCollapseTags),3)]),content:fe(()=>[v("div",{class:Z(e.nsSelect.e("collapse-tags"))},[(w(!0),A(Xe,null,wn(e.collapseTagList,h=>(w(),A("div",{key:e.getValueKey(h),class:Z(e.nsSelect.e("collapse-tag"))},[ke(i,{class:"in-tooltip",closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:k=>e.handleDeleteTooltipTag(k,h)},{default:fe(()=>[v("span",{class:Z(e.nsSelect.e("tags-text")),style:tt({maxWidth:e.inputWidth-75+"px"})},We(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(w(),A("span",{key:1,class:Z(e.nsSelect.e("tags-text"))},"+ "+We(e.selected.length-e.maxCollapseTags),3))]),_:1},8,["size","type"])):ge("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):ge("v-if",!0),e.collapseTags?ge("v-if",!0):(w(),le(Hr,{key:1,onAfterLeave:e.resetInputHeight},{default:fe(()=>[v("span",{class:Z(e.tagWrapperKls),style:tt(e.prefixWidth&&e.selected.length?{marginLeft:`${e.prefixWidth}px`}:"")},[(w(!0),A(Xe,null,wn(e.selected,h=>(w(),le(i,{key:e.getValueKey(h),closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",onClose:k=>e.deleteTag(k,h)},{default:fe(()=>[v("span",{class:Z(e.nsSelect.e("tags-text")),style:tt({maxWidth:e.inputWidth-75+"px"})},We(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],6)]),_:1},8,["onAfterLeave"])),e.filterable&&!e.selectDisabled?zt((w(),A("input",{key:2,ref:"input","onUpdate:modelValue":t[0]||(t[0]=h=>e.query=h),type:"text",class:Z(e.inputKls),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:tt(e.inputStyle),role:"combobox","aria-activedescendant":((g=e.hoverOption)==null?void 0:g.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:t[1]||(t[1]=(...h)=>e.handleFocus&&e.handleFocus(...h)),onBlur:t[2]||(t[2]=(...h)=>e.handleBlur&&e.handleBlur(...h)),onKeyup:t[3]||(t[3]=(...h)=>e.managePlaceholder&&e.managePlaceholder(...h)),onKeydown:[t[4]||(t[4]=(...h)=>e.resetInputState&&e.resetInputState(...h)),t[5]||(t[5]=Ut(en(h=>e.navigateOptions("next"),["prevent"]),["down"])),t[6]||(t[6]=Ut(en(h=>e.navigateOptions("prev"),["prevent"]),["up"])),t[7]||(t[7]=Ut((...h)=>e.handleKeydownEscape&&e.handleKeydownEscape(...h),["esc"])),t[8]||(t[8]=Ut(en((...h)=>e.selectOption&&e.selectOption(...h),["stop","prevent"]),["enter"])),t[9]||(t[9]=Ut((...h)=>e.deletePrevTag&&e.deletePrevTag(...h),["delete"])),t[10]||(t[10]=Ut(h=>e.visible=!1,["tab"]))],onCompositionstart:t[11]||(t[11]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onCompositionupdate:t[12]||(t[12]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onCompositionend:t[13]||(t[13]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onInput:t[14]||(t[14]=(...h)=>e.debouncedQueryChange&&e.debouncedQueryChange(...h))},null,46,I9)),[[_p,e.query]]):ge("v-if",!0)],6)):ge("v-if",!0),e.isIOS&&!e.multiple&&e.filterable&&e.readonly?(w(),A("input",{key:1,ref:"iOSInput",class:Z(e.iOSInputKls),disabled:e.selectDisabled,type:"text"},null,10,R9)):ge("v-if",!0),ke(u,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[16]||(t[16]=h=>e.selectedLabel=h),type:"text",placeholder:typeof e.currentPlaceholder=="function"?e.currentPlaceholder():e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:Z([e.nsSelect.is("focus",e.visible)]),tabindex:e.multiple&&e.filterable?-1:void 0,role:"combobox","aria-activedescendant":((C=e.hoverOption)==null?void 0:C.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropMenuVisible,label:e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onKeydown:[t[17]||(t[17]=Ut(en(h=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[18]||(t[18]=Ut(en(h=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),Ut(en(e.selectOption,["stop","prevent"]),["enter"]),Ut(e.handleKeydownEscape,["esc"]),t[19]||(t[19]=Ut(h=>e.visible=!1,["tab"]))]},ni({suffix:fe(()=>[e.iconComponent&&!e.showClose?(w(),le(l,{key:0,class:Z([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:fe(()=>[(w(),le(Rt(e.iconComponent)))]),_:1},8,["class"])):ge("v-if",!0),e.showClose&&e.clearIcon?(w(),le(l,{key:1,class:Z([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:fe(()=>[(w(),le(Rt(e.clearIcon)))]),_:1},8,["class","onClick"])):ge("v-if",!0)]),_:2},[e.$slots.prefix?{name:"prefix",fn:fe(()=>[v("div",O9,[_e(e.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","aria-activedescendant","aria-controls","aria-expanded","label","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]}),content:fe(()=>[ke(d,null,ni({default:fe(()=>[zt(ke(p,{id:e.contentId,ref:"scrollbar",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:Z(e.scrollbarKls),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:fe(()=>[e.showNewOption?(w(),le(f,{key:0,value:e.query,created:!0},null,8,["value"])):ge("v-if",!0),ke(c,{onUpdateOptions:e.onOptionsRendered},{default:fe(()=>[_e(e.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[er,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&e.options.size===0)?(w(),A(Xe,{key:0},[e.$slots.empty?_e(e.$slots,"empty",{key:0}):(w(),A("p",{key:1,class:Z(e.nsSelect.be("dropdown","empty"))},We(e.emptyText),3))],64)):ge("v-if",!0)]),_:2},[e.$slots.header?{name:"header",fn:fe(()=>[_e(e.$slots,"header")])}:void 0,e.$slots.footer?{name:"footer",fn:fe(()=>[_e(e.$slots,"footer")])}:void 0]),1024)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[m,e.handleClose,e.popperPaneRef]])}var D9=Ue($9,[["render",P9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const N9=ne({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Ze("select"),n=U(!0),r=mt(),s=U([]);jt(n1,bn({...js(e)}));const o=De(ji);nt(()=>{s.value=i(r.subTree)});const i=l=>{const u=[];return Array.isArray(l.children)&&l.children.forEach(f=>{var c;f.type&&f.type.name==="ElOption"&&f.component&&f.component.proxy?u.push(f.component.proxy):(c=f.children)!=null&&c.length&&u.push(...i(f))}),u},{groupQueryChange:a}=Oe(o);return xe(a,()=>{n.value=s.value.some(l=>l.visible===!0)},{flush:"post"}),{visible:n,ns:t}}});function q9(e,t,n,r,s,o){return zt((w(),A("ul",{class:Z(e.ns.be("group","wrap"))},[v("li",{class:Z(e.ns.be("group","title"))},We(e.label),3),v("li",null,[v("ul",{class:Z(e.ns.b("group"))},[_e(e.$slots,"default")],2)])],2)),[[er,e.visible]])}var o1=Ue(N9,[["render",q9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const fc=xn(D9,{Option:uc,OptionGroup:o1}),B9=Ol(uc);Ol(o1);const dc=()=>De(t1,{}),F9=Ye({pageSize:{type:Number,required:!0},pageSizes:{type:Ie(Array),default:()=>Dl([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:ls}}),z9=ne({...ne({name:"ElPaginationSizes"}),props:F9,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=En(),s=Ze("pagination"),o=dc(),i=U(n.pageSize);xe(()=>n.pageSizes,(u,f)=>{if(!Ll(u,f)&&Array.isArray(u)){const c=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",c)}}),xe(()=>n.pageSize,u=>{i.value=u});const a=O(()=>n.pageSizes);function l(u){var f;u!==i.value&&(i.value=u,(f=o.handleSizeChange)==null||f.call(o,Number(u)))}return(u,f)=>(w(),A("span",{class:Z(b(s).e("sizes"))},[ke(b(fc),{"model-value":i.value,disabled:u.disabled,"popper-class":u.popperClass,size:u.size,teleported:u.teleported,"validate-event":!1,onChange:l},{default:fe(()=>[(w(!0),A(Xe,null,wn(b(a),c=>(w(),le(b(B9),{key:c,value:c,label:c+b(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var H9=Ue(z9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const j9=Ye({size:{type:String,values:ls}}),V9=["disabled"],U9=ne({...ne({name:"ElPaginationJumper"}),props:j9,setup(e){const{t}=En(),n=Ze("pagination"),{pageCount:r,disabled:s,currentPage:o,changeEvent:i}=dc(),a=U(),l=O(()=>{var c;return(c=a.value)!=null?c:o==null?void 0:o.value});function u(c){a.value=c?+c:""}function f(c){c=Math.trunc(+c),i==null||i(c),a.value=void 0}return(c,p)=>(w(),A("span",{class:Z(b(n).e("jump")),disabled:b(s)},[v("span",{class:Z([b(n).e("goto")])},We(b(t)("el.pagination.goto")),3),ke(b(Pi),{size:c.size,class:Z([b(n).e("editor"),b(n).is("in-pagination")]),min:1,max:b(r),disabled:b(s),"model-value":b(l),"validate-event":!1,label:b(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:f},null,8,["size","class","max","disabled","model-value","label"]),v("span",{class:Z([b(n).e("classifier")])},We(b(t)("el.pagination.pageClassifier")),3)],10,V9))}});var K9=Ue(U9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const G9=Ye({total:{type:Number,default:1e3}}),W9=["disabled"],Z9=ne({...ne({name:"ElPaginationTotal"}),props:G9,setup(e){const{t}=En(),n=Ze("pagination"),{disabled:r}=dc();return(s,o)=>(w(),A("span",{class:Z(b(n).e("total")),disabled:b(r)},We(b(t)("el.pagination.total",{total:s.total})),11,W9))}});var X9=Ue(Z9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const J9=Ye({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Y9=["onKeyup"],Q9=["aria-current","aria-label","tabindex"],eA=["tabindex","aria-label"],tA=["aria-current","aria-label","tabindex"],nA=["tabindex","aria-label"],rA=["aria-current","aria-label","tabindex"],oA=ne({...ne({name:"ElPaginationPager"}),props:J9,emits:["change"],setup(e,{emit:t}){const n=e,r=Ze("pager"),s=Ze("icon"),{t:o}=En(),i=U(!1),a=U(!1),l=U(!1),u=U(!1),f=U(!1),c=U(!1),p=O(()=>{const _=n.pagerCount,S=(_-1)/2,x=Number(n.currentPage),T=Number(n.pageCount);let L=!1,I=!1;T>_&&(x>_-S&&(L=!0),x<T-S&&(I=!0));const P=[];if(L&&!I){const N=T-(_-2);for(let D=N;D<T;D++)P.push(D)}else if(!L&&I)for(let N=2;N<_;N++)P.push(N);else if(L&&I){const N=Math.floor(_/2)-1;for(let D=x-N;D<=x+N;D++)P.push(D)}else for(let N=2;N<T;N++)P.push(N);return P}),d=O(()=>["more","btn-quickprev",s.b(),r.is("disabled",n.disabled)]),m=O(()=>["more","btn-quicknext",s.b(),r.is("disabled",n.disabled)]),g=O(()=>n.disabled?-1:0);Ya(()=>{const _=(n.pagerCount-1)/2;i.value=!1,a.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-_&&(i.value=!0),n.currentPage<n.pageCount-_&&(a.value=!0))});function C(_=!1){n.disabled||(_?l.value=!0:u.value=!0)}function h(_=!1){_?f.value=!0:c.value=!0}function k(_){const S=_.target;if(S.tagName.toLowerCase()==="li"&&Array.from(S.classList).includes("number")){const x=Number(S.textContent);x!==n.currentPage&&t("change",x)}else S.tagName.toLowerCase()==="li"&&Array.from(S.classList).includes("more")&&y(_)}function y(_){const S=_.target;if(S.tagName.toLowerCase()==="ul"||n.disabled)return;let x=Number(S.textContent);const T=n.pageCount,L=n.currentPage,I=n.pagerCount-2;S.className.includes("more")&&(S.className.includes("quickprev")?x=L-I:S.className.includes("quicknext")&&(x=L+I)),Number.isNaN(+x)||(x<1&&(x=1),x>T&&(x=T)),x!==L&&t("change",x)}return(_,S)=>(w(),A("ul",{class:Z(b(r).b()),onClick:y,onKeyup:Ut(k,["enter"])},[_.pageCount>0?(w(),A("li",{key:0,class:Z([[b(r).is("active",_.currentPage===1),b(r).is("disabled",_.disabled)],"number"]),"aria-current":_.currentPage===1,"aria-label":b(o)("el.pagination.currentPage",{pager:1}),tabindex:b(g)}," 1 ",10,Q9)):ge("v-if",!0),i.value?(w(),A("li",{key:1,class:Z(b(d)),tabindex:b(g),"aria-label":b(o)("el.pagination.prevPages",{pager:_.pagerCount-2}),onMouseenter:S[0]||(S[0]=x=>C(!0)),onMouseleave:S[1]||(S[1]=x=>l.value=!1),onFocus:S[2]||(S[2]=x=>h(!0)),onBlur:S[3]||(S[3]=x=>f.value=!1)},[(l.value||f.value)&&!_.disabled?(w(),le(b(Jx),{key:0})):(w(),le(b(Nh),{key:1}))],42,eA)):ge("v-if",!0),(w(!0),A(Xe,null,wn(b(p),x=>(w(),A("li",{key:x,class:Z([[b(r).is("active",_.currentPage===x),b(r).is("disabled",_.disabled)],"number"]),"aria-current":_.currentPage===x,"aria-label":b(o)("el.pagination.currentPage",{pager:x}),tabindex:b(g)},We(x),11,tA))),128)),a.value?(w(),A("li",{key:2,class:Z(b(m)),tabindex:b(g),"aria-label":b(o)("el.pagination.nextPages",{pager:_.pagerCount-2}),onMouseenter:S[4]||(S[4]=x=>C()),onMouseleave:S[5]||(S[5]=x=>u.value=!1),onFocus:S[6]||(S[6]=x=>h()),onBlur:S[7]||(S[7]=x=>c.value=!1)},[(u.value||c.value)&&!_.disabled?(w(),le(b(Qx),{key:0})):(w(),le(b(Nh),{key:1}))],42,nA)):ge("v-if",!0),_.pageCount>1?(w(),A("li",{key:3,class:Z([[b(r).is("active",_.currentPage===_.pageCount),b(r).is("disabled",_.disabled)],"number"]),"aria-current":_.currentPage===_.pageCount,"aria-label":b(o)("el.pagination.currentPage",{pager:_.pageCount}),tabindex:b(g)},We(_.pageCount),11,rA)):ge("v-if",!0)],42,Y9))}});var sA=Ue(oA,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const Gt=e=>typeof e!="number",s1=Ye({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>vt(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Ie(Array),default:()=>Dl([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:Cn,default:()=>jx},nextText:{type:String,default:""},nextIcon:{type:Cn,default:()=>Ux},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),iA={"update:current-page":e=>vt(e),"update:page-size":e=>vt(e),"size-change":e=>vt(e),"current-change":e=>vt(e),"prev-click":e=>vt(e),"next-click":e=>vt(e)},i1="ElPagination";var aA=ne({name:i1,props:s1,emits:iA,setup(e,{emit:t,slots:n}){const{t:r}=En(),s=Ze("pagination"),o=mt().vnode.props||{},i="onUpdate:currentPage"in o||"onUpdate:current-page"in o||"onCurrentChange"in o,a="onUpdate:pageSize"in o||"onUpdate:page-size"in o||"onSizeChange"in o,l=O(()=>{if(Gt(e.total)&&Gt(e.pageCount)||!Gt(e.currentPage)&&!i)return!1;if(e.layout.includes("sizes")){if(Gt(e.pageCount)){if(!Gt(e.total)&&!Gt(e.pageSize)&&!a)return!1}else if(!a)return!1}return!0}),u=U(Gt(e.defaultPageSize)?10:e.defaultPageSize),f=U(Gt(e.defaultCurrentPage)?1:e.defaultCurrentPage),c=O({get(){return Gt(e.pageSize)?u.value:e.pageSize},set(y){Gt(e.pageSize)&&(u.value=y),a&&(t("update:page-size",y),t("size-change",y))}}),p=O(()=>{let y=0;return Gt(e.pageCount)?Gt(e.total)||(y=Math.max(1,Math.ceil(e.total/c.value))):y=e.pageCount,y}),d=O({get(){return Gt(e.currentPage)?f.value:e.currentPage},set(y){let _=y;y<1?_=1:y>p.value&&(_=p.value),Gt(e.currentPage)&&(f.value=_),i&&(t("update:current-page",_),t("current-change",_))}});xe(p,y=>{d.value>y&&(d.value=y)});function m(y){d.value=y}function g(y){c.value=y;const _=p.value;d.value>_&&(d.value=_)}function C(){e.disabled||(d.value-=1,t("prev-click",d.value))}function h(){e.disabled||(d.value+=1,t("next-click",d.value))}function k(y,_){y&&(y.props||(y.props={}),y.props.class=[y.props.class,_].join(" "))}return jt(t1,{pageCount:p,disabled:O(()=>e.disabled),currentPage:d,changeEvent:m,handleSizeChange:g}),()=>{var y,_;if(!l.value)return r("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&p.value<=1)return null;const S=[],x=[],T=kn("div",{class:s.e("rightwrapper")},x),L={prev:kn(g9,{disabled:e.disabled,currentPage:d.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:C}),jumper:kn(K9,{size:e.small?"small":"default"}),pager:kn(sA,{currentPage:d.value,pageCount:p.value,pagerCount:e.pagerCount,onChange:m,disabled:e.disabled}),next:kn(y9,{disabled:e.disabled,currentPage:d.value,pageCount:p.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:h}),sizes:kn(H9,{pageSize:c.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:e.small?"small":"default"}),slot:(_=(y=n==null?void 0:n.default)==null?void 0:y.call(n))!=null?_:null,total:kn(X9,{total:Gt(e.total)?0:e.total})},I=e.layout.split(",").map(N=>N.trim());let P=!1;return I.forEach(N=>{if(N==="->"){P=!0;return}P?x.push(L[N]):S.push(L[N])}),k(S[0],s.is("first")),k(S[S.length-1],s.is("last")),P&&x.length>0&&(k(x[0],s.is("first")),k(x[x.length-1],s.is("last")),S.push(T)),kn("div",{class:[s.b(),s.is("background",e.background),{[s.m("small")]:e.small}]},S)}}});const lA=xn(aA),a1=Ye({trigger:vs.trigger,placement:cc.placement,disabled:vs.disabled,visible:nn.visible,transition:nn.transition,popperOptions:cc.popperOptions,tabindex:cc.tabindex,content:nn.content,popperStyle:nn.popperStyle,popperClass:nn.popperClass,enterable:{...nn.enterable,default:!0},effect:{...nn.effect,default:"light"},teleported:nn.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),cA={"update:visible":e=>$l(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},uA="onUpdate:visible",fA=ne({...ne({name:"ElPopover"}),props:a1,emits:cA,setup(e,{expose:t,emit:n}){const r=e,s=O(()=>r[uA]),o=Ze("popover"),i=U(),a=O(()=>{var C;return(C=b(i))==null?void 0:C.popperRef}),l=O(()=>[{width:_o(r.width)},r.popperStyle]),u=O(()=>[o.b(),r.popperClass,{[o.m("plain")]:!!r.content}]),f=O(()=>r.transition===`${o.namespace.value}-fade-in-linear`),c=()=>{var C;(C=i.value)==null||C.hide()},p=()=>{n("before-enter")},d=()=>{n("before-leave")},m=()=>{n("after-enter")},g=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:a,hide:c}),(C,h)=>(w(),le(b(bs),dt({ref_key:"tooltipRef",ref:i},C.$attrs,{trigger:C.trigger,placement:C.placement,disabled:C.disabled,visible:C.visible,transition:C.transition,"popper-options":C.popperOptions,tabindex:C.tabindex,content:C.content,offset:C.offset,"show-after":C.showAfter,"hide-after":C.hideAfter,"auto-close":C.autoClose,"show-arrow":C.showArrow,"aria-label":C.title,effect:C.effect,enterable:C.enterable,"popper-class":b(u),"popper-style":b(l),teleported:C.teleported,persistent:C.persistent,"gpu-acceleration":b(f),"onUpdate:visible":b(s),onBeforeShow:p,onBeforeHide:d,onShow:m,onHide:g}),{content:fe(()=>[C.title?(w(),A("div",{key:0,class:Z(b(o).e("title")),role:"title"},We(C.title),3)):ge("v-if",!0),_e(C.$slots,"default",{},()=>[zr(We(C.content),1)])]),default:fe(()=>[C.$slots.reference?_e(C.$slots,"reference",{key:0}):ge("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var dA=Ue(fA,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const l1=(e,t)=>{const n=t.arg||t.value,r=n==null?void 0:n.popperRef;r&&(r.triggerRef=e)};var pA={mounted(e,t){l1(e,t)},updated(e,t){l1(e,t)}};const hA=a8(pA,"popover"),gA=xn(dA,{directive:hA}),mA="TOOLTIP_APPEND_TO";function vA(){return De(mA,O(()=>{}))}const c1="data:image/svg+xml,%3csvg%20viewBox='0%200%2012%2012'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M1%200.642857C1%200.287817%201.27473%200%201.61364%200H4.06818C4.40708%200%204.68182%200.287817%204.68182%200.642857V4.5C4.68182%204.85504%204.40708%205.14286%204.06818%205.14286H1.61364C1.27473%205.14286%201%204.85504%201%204.5V0.642857ZM2.22727%201.28571V3.85714H3.45455V1.28571H2.22727ZM6.31818%200.642857C6.31818%200.287817%206.59292%200%206.93182%200H8.15909C8.49799%200%208.77273%200.287817%208.77273%200.642857V3.85714H9.38636C9.72527%203.85714%2010%204.14496%2010%204.5C10%204.85504%209.72527%205.14286%209.38636%205.14286H6.93182C6.59292%205.14286%206.31818%204.85504%206.31818%204.5C6.31818%204.14496%206.59292%203.85714%206.93182%203.85714H7.54545V1.28571H6.93182C6.59292%201.28571%206.31818%200.997897%206.31818%200.642857ZM1%207.5C1%207.14496%201.27473%206.85714%201.61364%206.85714H2.84091C3.17981%206.85714%203.45455%207.14496%203.45455%207.5V10.7143H4.06818C4.40708%2010.7143%204.68182%2011.0021%204.68182%2011.3571C4.68182%2011.7122%204.40708%2012%204.06818%2012H1.61364C1.27473%2012%201%2011.7122%201%2011.3571C1%2011.0021%201.27473%2010.7143%201.61364%2010.7143H2.22727V8.14286H1.61364C1.27473%208.14286%201%207.85504%201%207.5ZM6.31818%207.5C6.31818%207.14496%206.59292%206.85714%206.93182%206.85714H9.38636C9.72527%206.85714%2010%207.14496%2010%207.5V11.3571C10%2011.7122%209.72527%2012%209.38636%2012H6.93182C6.59292%2012%206.31818%2011.7122%206.31818%2011.3571V7.5ZM7.54545%208.14286V10.7143H8.77273V8.14286H7.54545Z'%20/%3e%3c/svg%3e",bA="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.2251%201.02271C13.5179%200.968554%2013.8195%201.00233%2014.0913%201.11939L14.2055%201.17506L14.3149%201.23951C14.5275%201.37763%2014.7014%201.56758%2014.8208%201.79127L14.8764%201.90553L14.9214%202.02467C15.0145%202.30522%2015.0227%202.60793%2014.9438%202.89478C14.9403%202.90772%2014.9372%202.92106%2014.9331%202.93385L13.0132%208.95338L12.9965%209.00025H19.9995C20.3769%208.99952%2020.7471%209.10523%2021.0669%209.30592C21.3874%209.50712%2021.6437%209.79562%2021.8071%2010.137C21.9704%2010.4783%2022.0341%2010.8588%2021.9897%2011.2346C21.9453%2011.6105%2021.7946%2011.9661%2021.5561%2012.26C21.5375%2012.2829%2021.5181%2012.3052%2021.4975%2012.3264L11.5971%2022.5266L11.5962%2022.5256C11.3774%2022.7595%2011.0907%2022.9194%2010.7749%2022.9778C10.4403%2023.0397%2010.0944%2022.9859%209.7944%2022.8254C9.4944%2022.665%209.25775%2022.4066%209.1235%2022.094C8.98941%2021.7815%208.96593%2021.4327%209.05612%2021.1047L9.06686%2021.0657L10.9868%2015.0462L11.0034%2015.0003H3.99948C3.62236%2015.0008%203.25253%2014.8941%202.93307%2014.6936C2.61276%2014.4925%202.35617%2014.2047%202.19284%2013.8635C2.02947%2013.5221%201.96581%2013.1408%202.01022%2012.7649C2.05468%2012.3892%202.20544%2012.0333%202.44382%2011.7395C2.46238%2011.7167%202.4819%2011.6942%202.50241%2011.6731L12.4028%201.47389C12.6215%201.23984%2012.9091%201.08117%2013.2251%201.02271Z'%20fill='currentColor'%20fill-opacity='0.9'%20style='fill:currentColor;fill-opacity:0.9;'/%3e%3c/svg%3e",u1="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%203L9%2021'%20stroke='currentColor'%20style='stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%203L15%2021'%20stroke='currentColor'%20style='stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",f1="data:image/svg+xml,%3csvg%20viewBox='0%200%2012%2012'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M10.3019%200C10.542%200%2010.7678%200.0476193%2010.9791%200.142858C11.1905%200.238096%2011.373%200.371429%2011.5267%200.542858C11.6805%200.714286%2011.8005%200.92381%2011.887%201.17143C11.9735%201.40952%2012.0167%201.67619%2012.0167%201.97143L12.0023%203.38571C12.0023%203.50952%2012.0023%203.61429%2012.0023%203.7C12.0119%203.78571%2012.0263%203.87143%2012.0455%203.95714C12.0647%204.04286%2012.0936%204.13333%2012.132%204.22857C12.18%204.31429%2012.2425%204.42857%2012.3193%204.57143L12.8237%205.24286C12.9198%205.4619%2012.9774%205.66667%2012.9966%205.85714C13.0158%206.0381%2012.9534%206.25238%2012.8093%206.5L12.3337%207.11429C12.2569%207.26667%2012.1944%207.39524%2012.1464%207.5C12.108%207.60476%2012.0791%207.70476%2012.0599%207.8C12.0407%207.89524%2012.0263%207.99524%2012.0167%208.1C12.0167%208.20476%2012.0167%208.33333%2012.0167%208.48571V9.7C12.0167%2010.0048%2011.9783%2010.2952%2011.9014%2010.5714C11.8342%2010.8381%2011.7333%2011.0714%2011.5988%2011.2714C11.4739%2011.4714%2011.3154%2011.6286%2011.1233%2011.7429C10.9311%2011.8571%2010.7198%2011.9143%2010.4892%2011.9143L9.49487%2012C9.48526%2012%209.42282%2012%209.30753%2012C9.19225%2012%209.05775%2011.9905%208.90404%2011.9714C8.75993%2011.9619%208.61103%2011.9381%208.45731%2011.9C8.31321%2011.8714%208.20273%2011.819%208.12587%2011.7429C8.06823%2011.6952%208.0202%2011.619%207.98177%2011.5143C7.95295%2011.4095%207.93854%2011.3095%207.93854%2011.2143C7.93854%2011.0238%208.00579%2010.8762%208.14028%2010.7714C8.27478%2010.6667%208.42369%2010.6%208.58701%2010.5714C8.75993%2010.5333%208.92806%2010.5143%209.09137%2010.5143H9.71102C10.0953%2010.5143%2010.2826%2010.1857%2010.273%209.52857L10.2586%208.22857C10.2586%207.94286%2010.2682%207.72381%2010.2874%207.57143C10.3163%207.40952%2010.3595%207.27619%2010.4171%207.17143C10.4844%207.06667%2010.566%206.9619%2010.6621%206.85714C10.7582%206.75238%2010.8735%206.60476%2011.008%206.41429C11.0944%206.29048%2011.1665%206.19048%2011.2241%206.11429C11.2818%206.02857%2011.3154%205.94762%2011.325%205.87143C11.3346%205.79524%2011.3154%205.70952%2011.2674%205.61429C11.2289%205.51905%2011.1569%205.39048%2011.0512%205.22857C10.8975%205%2010.7678%204.81905%2010.6621%204.68571C10.566%204.55238%2010.4844%204.42857%2010.4171%204.31429C10.3595%204.2%2010.3163%204.08095%2010.2874%203.95714C10.2682%203.83333%2010.2586%203.66191%2010.2586%203.44286V2.41429C10.2586%202.29048%2010.2538%202.17143%2010.2442%202.05714C10.2442%201.94286%2010.225%201.84286%2010.1866%201.75714C10.1481%201.67143%2010.0857%201.60476%209.99923%201.55714C9.92238%201.50952%209.8119%201.48571%209.66779%201.48571H9.01932C9.00972%201.48571%208.97129%201.48571%208.90404%201.48571C8.83679%201.48571%208.75513%201.48095%208.65906%201.47143C8.56299%201.45238%208.46212%201.42857%208.35644%201.4C8.25076%201.36191%208.1595%201.30476%208.08264%201.22857C8.025%201.18095%207.97697%201.10476%207.93854%201C7.90972%200.895238%207.89531%200.795238%207.89531%200.7C7.89531%200.509524%207.96256%200.361905%208.09705%200.257143C8.23155%200.152381%208.38526%200.0857146%208.55819%200.057143C8.73111%200.0190477%208.89924%200%209.06255%200H10.3019Z%20M3.93745%200C4.10077%200%204.26889%200.0190477%204.44181%200.057143C4.61474%200.0857146%204.76845%200.152381%204.90295%200.257143C5.03745%200.361905%205.10469%200.509524%205.10469%200.7C5.10469%200.795238%205.08548%200.895238%205.04705%201C5.01823%201.10476%204.975%201.18095%204.91736%201.22857C4.8405%201.30476%204.74924%201.36191%204.64356%201.4C4.53788%201.42857%204.43701%201.45238%204.34094%201.47143C4.24487%201.48095%204.16321%201.48571%204.09596%201.48571C4.02871%201.48571%203.99029%201.48571%203.98068%201.48571H3.33221C3.1881%201.48571%203.07282%201.50952%202.98636%201.55714C2.9095%201.60476%202.85186%201.67143%202.81343%201.75714C2.775%201.84286%202.75099%201.94286%202.74138%202.05714C2.74138%202.17143%202.74138%202.29048%202.74138%202.41429V3.44286C2.74138%203.66191%202.72697%203.83333%202.69815%203.95714C2.67893%204.08095%202.6357%204.2%202.56845%204.31429C2.51081%204.42857%202.42915%204.55238%202.32348%204.68571C2.22741%204.81905%202.10251%205%201.9488%205.22857C1.84313%205.39048%201.76627%205.51905%201.71824%205.61429C1.67981%205.70952%201.6654%205.79524%201.675%205.87143C1.68461%205.94762%201.71824%206.02857%201.77588%206.11429C1.83352%206.19048%201.90557%206.29048%201.99203%206.41429C2.12653%206.60476%202.24182%206.75238%202.33789%206.85714C2.43396%206.9619%202.51081%207.06667%202.56845%207.17143C2.6357%207.27619%202.67893%207.40952%202.69815%207.57143C2.72697%207.72381%202.74138%207.94286%202.74138%208.22857L2.72697%209.52857C2.71736%2010.1857%202.9047%2010.5143%203.28898%2010.5143H3.90863C4.07194%2010.5143%204.23526%2010.5333%204.39858%2010.5714C4.57151%2010.6%204.72522%2010.6667%204.85972%2010.7714C4.99421%2010.8762%205.06146%2011.0238%205.06146%2011.2143C5.06146%2011.3095%205.04225%2011.4095%205.00382%2011.5143C4.975%2011.619%204.93177%2011.6952%204.87413%2011.7429C4.79727%2011.819%204.68199%2011.8714%204.52828%2011.9C4.38417%2011.9381%204.23526%2011.9619%204.08155%2011.9714C3.93745%2011.9905%203.80775%2012%203.69247%2012C3.57719%2012%203.51474%2012%203.50513%2012L2.51081%2011.9143C2.28024%2011.9143%202.06889%2011.8571%201.87675%2011.7429C1.68461%2011.6286%201.52129%2011.4714%201.3868%2011.2714C1.2619%2011.0714%201.16103%2010.8381%201.08418%2010.5714C1.01693%2010.2952%200.983302%2010.0048%200.983302%209.7V8.48571C0.983302%208.33333%200.978499%208.20476%200.968892%208.1C0.968892%207.99524%200.959285%207.89524%200.940071%207.8C0.920857%207.70476%200.887232%207.60476%200.839198%207.5C0.80077%207.39524%200.743128%207.26667%200.666272%207.11429L0.190727%206.5C0.0466221%206.25238%20-0.0158233%206.0381%200.00339071%205.85714C0.0226046%205.66667%200.0802464%205.4619%200.176316%205.24286L0.680682%204.57143C0.757538%204.42857%200.81518%204.31429%200.853608%204.22857C0.901643%204.13333%200.935267%204.04286%200.954481%203.95714C0.973695%203.87143%200.983302%203.78571%200.983302%203.7C0.992909%203.61429%200.997712%203.50952%200.997712%203.38571L0.983302%201.97143C0.983302%201.67619%201.02653%201.40952%201.113%201.17143C1.19946%200.92381%201.31955%200.714286%201.47326%200.542858C1.62697%200.371429%201.8095%200.238096%202.02086%200.142858C2.23221%200.0476193%202.45797%200%202.69815%200H3.93745Z'%20/%3e%3c/svg%3e",d1="data:image/svg+xml,%3csvg%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M13.3333%2012.5525V12.4489C14.2278%2012.0756%2014.8571%2011.1925%2014.8571%2010.1632V3.61924C14.8571%202.96252%2014.5962%202.3327%2014.1318%201.86832C13.6675%201.40395%2013.0376%201.14307%2012.3809%201.14307H5.90473C5.38113%201.14296%204.87098%201.30883%204.44756%201.61684C4.02414%201.92485%203.70926%202.35915%203.54816%202.85734H3.39501C2.70016%202.85734%202.10892%203.10191%201.70206%203.5842C1.30739%204.05124%201.14282%204.67372%201.14282%205.33352V12.0002C1.14282%2012.8078%201.43463%2013.5346%201.98854%2014.0573C2.54168%2014.5777%203.30892%2014.8535%204.19044%2014.8535H7.17711L10.2826%2014.8573H10.2842C11.0278%2014.8611%2011.7645%2014.7049%2012.336%2014.3392C12.9303%2013.9582%2013.3333%2013.3525%2013.3333%2012.5525ZM3.39501%204.0002H3.42854V10.1625C3.42854%2010.8192%203.68942%2011.449%204.1538%2011.9134C4.61817%2012.3777%205.248%2012.6386%205.90473%2012.6386H12.1874C12.163%2012.9571%2012.003%2013.1948%2011.7196%2013.3761C11.3897%2013.588%2010.8891%2013.7175%2010.2887%2013.7144H10.2857L7.17558%2013.7106H4.19044C3.54816%2013.7106%203.07806%2013.5125%202.7733%2013.2253C2.47006%2012.9403%202.28568%2012.5259%202.28568%2012.0002V5.33352C2.28568%204.84971%202.40758%204.52057%202.5752%204.32096C2.73139%204.13658%202.98054%204.0002%203.39501%204.0002ZM8.01673%203.80972H11.619C11.7706%203.80972%2011.9159%203.86992%2012.0231%203.97709C12.1302%204.08425%2012.1904%204.22959%2012.1904%204.38115V7.98418C12.1904%208.13573%2012.1302%208.28107%2012.0231%208.38823C11.9159%208.4954%2011.7706%208.5556%2011.619%208.5556C11.4675%208.5556%2011.3221%208.4954%2011.215%208.38823C11.1078%208.28107%2011.0476%208.13573%2011.0476%207.98418V5.76019L7.07044%209.73731C7.0177%209.79186%206.95463%209.83536%206.8849%209.86528C6.81517%209.89519%206.74018%209.91092%206.6643%209.91154C6.58843%209.91217%206.51319%209.89767%206.44298%209.86891C6.37277%209.84014%206.30899%209.79768%206.25536%209.74401C6.20173%209.69033%206.15933%209.62651%206.13063%209.55627C6.10193%209.48603%206.08751%209.41078%206.0882%209.3349C6.0889%209.25903%206.1047%209.18406%206.13468%209.11435C6.16466%209.04465%206.20822%208.98162%206.26282%208.92893L10.24%204.95257H8.01673C7.86517%204.95257%207.71983%204.89237%207.61267%204.7852C7.5055%204.67804%207.4453%204.5327%207.4453%204.38115C7.4453%204.22959%207.5055%204.08425%207.61267%203.97709C7.71983%203.86992%207.86517%203.80972%208.01673%203.80972Z'%20/%3e%3c/svg%3e",p1="data:image/svg+xml,%3csvg%20viewBox='0%200%2012%2012'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M1.63636%200H8.18182C9.08556%200%209.81818%200.732625%209.81818%201.63636C9.81818%202.5401%209.08556%203.27273%208.18182%203.27273H1.63636C0.732626%203.27273%200%202.5401%200%201.63636C0%200.732625%200.732625%200%201.63636%200ZM1.63636%201.09091C1.33512%201.09091%201.09091%201.33512%201.09091%201.63636C1.09091%201.93761%201.33512%202.18182%201.63636%202.18182H8.18182C8.48306%202.18182%208.72727%201.93761%208.72727%201.63636C8.72727%201.33512%208.48306%201.09091%208.18182%201.09091H1.63636Z%20M7.09091%204.36353H11.4545C12.3583%204.36353%2013.0909%205.09615%2013.0909%205.99989C13.0909%206.90363%2012.3583%207.63625%2011.4545%207.63625H7.09091C6.18717%207.63625%205.45454%206.90363%205.45454%205.99989C5.45454%205.09615%206.18717%204.36353%207.09091%204.36353ZM7.09091%205.45443C6.78966%205.45443%206.54545%205.69864%206.54545%205.99989C6.54545%206.30114%206.78966%206.54534%207.09091%206.54534H11.4545C11.7558%206.54534%2012%206.30114%2012%205.99989C12%205.69864%2011.7558%205.45443%2011.4545%205.45443H7.09091Z%20M7.09091%208.72729H11.4545C12.3583%208.72729%2013.0909%209.45992%2013.0909%2010.3637C13.0909%2011.2674%2012.3583%2012%2011.4545%2012H7.09091C6.18717%2012%205.45454%2011.2674%205.45454%2010.3637C5.45454%209.45992%206.18717%208.72729%207.09091%208.72729ZM7.09091%209.8182C6.78966%209.8182%206.54545%2010.0624%206.54545%2010.3637C6.54545%2010.6649%206.78966%2010.9091%207.09091%2010.9091H11.4545C11.7558%2010.9091%2012%2010.6649%2012%2010.3637C12%2010.0624%2011.7558%209.8182%2011.4545%209.8182H7.09091Z'%20/%3e%3c/svg%3e",h1="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%202V5'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M12%2019V22'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M12%202V5'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M12%2019V22'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M22.005%2011.9951L19.005%2011.9951'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M5.005%2011.9951L2.005%2011.9951'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M19.0796%2019.0676L16.9583%2016.9463'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M7.05884%207.04688L4.93752%204.92555'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M4.9375%2019.0676L7.05882%2016.9463'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M16.9583%207.04688L19.0796%204.92556'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e",g1="data:image/svg+xml,%3csvg%20viewBox='0%200%2014%2014'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M%2014%207%20C%2014%2010.866%2010.866%2014%207%2014%20C%203.134%2014%200%2010.866%200%207%20C%200%203.134%203.134%200%207%200%20C%2010.866%200%2014%203.134%2014%207%20Z%20M%2011.243%206%20L%202.758%206%20L%202.758%208%20L%2011.243%208%20L%2011.243%206%20Z'%20/%3e%3c/svg%3e",m1="data:image/svg+xml,%3csvg%20viewBox='0%200%2014%2014'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M%2014%207%20C%2014%2010.866%2010.866%2014%207%2014%20C%203.134%2014%200%2010.866%200%207%20C%200%203.134%203.134%200%207%200%20C%2010.866%200%2014%203.134%2014%207%20Z%20M%202.575%207.728%20L%205.782%2010.935%20L%2011.489%205.228%20L%2010.075%203.814%20L%205.782%208.107%20L%203.989%206.314%20L%202.575%207.728%20Z'%20/%3e%3c/svg%3e",v1="data:image/svg+xml,%3csvg%20viewBox='0%200%2014%2014'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M%204.207%202.793%20L%207%205.586%20L%209.793%202.793%20L%2011.207%204.207%20L%208.414%207%20L%2011.207%209.793%20L%209.793%2011.207%20L%207%208.414%20L%204.207%2011.207%20L%202.793%209.793%20L%205.586%207%20L%202.793%204.207%20L%204.207%202.793%20Z%20M%207%200%20C%203.134%200%200%203.134%200%207%20C%200%2010.866%203.134%2014%207%2014%20C%2010.866%2014%2014%2010.866%2014%207%20C%2014%203.134%2010.866%200%207%200%20Z'%20/%3e%3c/svg%3e",b1="data:image/svg+xml,%3csvg%20viewBox='0%200%2014%2014'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M%2014%207.006%20C%2014%208.867%2013.162%2010.744%2011.95%2011.956%20C%2010.738%2013.168%208.861%2014.006%207%2014.006%20C%205.139%2014.006%203.262%2013.168%202.05%2011.956%20C%200.838%2010.744%200%208.867%200%207.006%20C%200%205.145%200.838%203.268%202.05%202.056%20C%203.262%200.844%205.139%200.006%207%200.006%20C%208.861%200.006%2010.738%200.844%2011.95%202.056%20C%2013.162%203.268%2014%205.145%2014%207.006%20Z%20M%2010.536%203.47%20C%209.576%202.511%208.453%202.006%207%202.006%20C%205.547%202.006%204.424%202.511%203.464%203.47%20C%202.505%204.43%202%205.553%202%207.006%20C%202%208.459%202.505%209.582%203.464%2010.542%20C%204.424%2011.501%205.547%2012.006%207%2012.006%20C%208.453%2012.006%209.576%2011.501%2010.536%2010.542%20C%2011.495%209.582%2012%208.459%2012%207.006%20C%2012%205.553%2011.495%204.43%2010.536%203.47%20Z'%20/%3e%3c/svg%3e",_1="data:image/svg+xml,%3csvg%20viewBox='0%200%2014%2014'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M13.8668%208.36613L11.9048%207.978C11.967%207.66329%2012%207.33649%2012%207C12%206.66351%2011.967%206.3367%2011.9048%206.022L13.8668%205.63387C13.9542%206.07571%2014%206.5325%2014%207C14%207.4675%2013.9542%207.92429%2013.8668%208.36613ZM12.821%203.11069L11.159%204.22333C10.7934%203.67721%2010.3228%203.2066%209.77667%202.84098L10.8893%201.17904C11.6527%201.6901%2012.3099%202.34733%2012.821%203.11069ZM8.36613%200.133238L7.978%202.09521C7.66329%202.03296%207.33649%202%207%202C6.66351%202%206.3367%202.03296%206.022%202.09521L5.63387%200.133238C6.07571%200.0458286%206.5325%200%207%200C7.4675%200%207.92429%200.0458285%208.36613%200.133238ZM3.11069%201.17904L4.22333%202.84098C3.67721%203.2066%203.2066%203.67721%202.84098%204.22333L1.17904%203.11069C1.6901%202.34733%202.34733%201.6901%203.11069%201.17904ZM0.133238%205.63387C0.0458285%206.07571%200%206.5325%200%207C0%207.4675%200.0458286%207.92429%200.133238%208.36613L2.09521%207.978C2.03296%207.6633%202%207.33649%202%207C2%206.66351%202.03296%206.33671%202.09521%206.022L0.133238%205.63387ZM1.17904%2010.8893L2.84098%209.77667C3.2066%2010.3228%203.67721%2010.7934%204.22333%2011.159L3.11069%2012.821C2.34733%2012.3099%201.6901%2011.6527%201.17904%2010.8893ZM5.63387%2013.8668L6.022%2011.9048C6.33671%2011.967%206.66351%2012%207%2012C7.33649%2012%207.6633%2011.967%207.978%2011.9048L8.36613%2013.8668C7.92429%2013.9542%207.4675%2014%207%2014C6.5325%2014%206.07571%2013.9542%205.63387%2013.8668ZM10.8893%2012.821L9.77667%2011.159C10.3228%2010.7934%2010.7934%2010.3228%2011.159%209.77667L12.821%2010.8893C12.3099%2011.6527%2011.6527%2012.3099%2010.8893%2012.821Z'%20/%3e%3c/svg%3e",y1="data:image/svg+xml,%3csvg%20viewBox='0%200%2014%2014'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M7%2014C10.866%2014%2014%2010.866%2014%207C14%203.13401%2010.866%200%207%200C3.13401%200%200%203.13401%200%207C0%2010.866%203.13401%2014%207%2014ZM7%2012C4.23858%2012%202%209.76142%202%207C2%204.23858%204.23858%202%207%202C9.76142%202%2012%204.23858%2012%207C12%209.76142%209.76142%2012%207%2012ZM6%203V8H11C11%205.23858%208.76142%203%206%203Z'%20/%3e%3c/svg%3e",w1="data:image/svg+xml,%3csvg%20viewBox='0%200%2014%2014'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M%2014%207%20C%2014%2010.866%2010.866%2014%207%2014%20C%203.134%2014%200%2010.866%200%207%20C%200%203.134%203.134%200%207%200%20C%2010.866%200%2014%203.134%2014%207%20Z%20M%206.5%209%20C%206.224%209%206%209.224%206%209.5%20L%206%2010.5%20C%206%2010.776%206.224%2011%206.5%2011%20L%207.5%2011%20C%207.776%2011%208%2010.776%208%2010.5%20L%208%209.5%20C%208%209.224%207.776%209%207.5%209%20L%206.5%209%20Z%20M%206.5%203%20C%206.224%203%206%203.224%206%203.5%20L%206%207.5%20C%206%207.776%206.224%208%206.5%208%20L%207.5%208%20C%207.776%208%208%207.776%208%207.5%20L%208%203.5%20C%208%203.224%207.776%203%207.5%203%20L%206.5%203%20Z'%20/%3e%3c/svg%3e",k1="data:image/svg+xml,%3csvg%20viewBox='0%200%2012%2012'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M1.78814e-07%200.666667C1.78814e-07%200.298477%200.298477%200%200.666667%200H11.3333C11.7015%200%2012%200.298477%2012%200.666667C12%201.03486%2011.7015%201.33333%2011.3333%201.33333H0.666667C0.298477%201.33333%201.78814e-07%201.03486%201.78814e-07%200.666667ZM1.78814e-07%203.62963C1.78814e-07%203.26144%200.298477%202.96296%200.666667%202.96296H11.3333C11.7015%202.96296%2012%203.26144%2012%203.62963C12%203.99782%2011.7015%204.2963%2011.3333%204.2963H0.666667C0.298477%204.2963%201.78814e-07%203.99782%201.78814e-07%203.62963ZM0%206.59259C0%206.2244%200.298477%205.92593%200.666667%205.92593H11.3333C11.7015%205.92593%2012%206.2244%2012%206.59259C12%206.96078%2011.7015%207.25926%2011.3333%207.25926H0.666667C0.298477%207.25926%200%206.96078%200%206.59259ZM0%209.55556C0%209.18737%200.298477%208.88889%200.666667%208.88889H8.66667C9.03486%208.88889%209.33333%209.18737%209.33333%209.55556C9.33333%209.92375%209.03486%2010.2222%208.66667%2010.2222H0.666667C0.298477%2010.2222%200%209.92375%200%209.55556Z'%20/%3e%3c/svg%3e",C1="data:image/svg+xml,%3csvg%20aria-hidden='true'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20style='stroke:currentColor;stroke-opacity:%201;'%20d='M8%208V4a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v4m6%2012V10a2%202%200%200%200-2-2H4a2%202%200%200%200-2%202v10a2%202%200%200%200%202%202h16a2%202%200%200%200%202-2ZM8%2013v4m8-4v4M2%2015h20'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e",x1="data:image/svg+xml,%3csvg%20viewBox='0%200%20512%20512'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M214.433%2056C232.908%2023.9999%20279.096%2024.0001%20297.571%2056L477.704%20368C496.18%20400%20473.085%20440%20436.135%20440H75.8685C38.918%20440%2015.8241%20400%2034.2993%20368L214.433%2056ZM256.002%20144L131.294%20360H380.709L256.002%20144Z'%20/%3e%3c/svg%3e",E1="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='2'%20y='2'%20width='5'%20height='5'%20rx='1'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'/%3e%3crect%20x='17'%20y='2'%20width='5'%20height='5'%20rx='1'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'/%3e%3crect%20x='17'%20y='17'%20width='5'%20height='5'%20rx='1'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'/%3e%3crect%20x='2'%20y='17'%20width='5'%20height='5'%20rx='1'%20stroke='currentColor'%20style='stroke:currentColor;stroke-opacity:1;'%20stroke-width='2'/%3e%3crect%20x='7'%20y='3'%20width='10'%20height='2'%20fill='currentColor'%20style='fill:currentColor;fill-opacity:1;'/%3e%3crect%20x='7'%20y='19'%20width='10'%20height='2'%20fill='currentColor'%20style='fill:currentColor;fill-opacity:1;'/%3e%3crect%20x='3'%20y='7'%20width='2'%20height='10'%20fill='currentColor'%20style='fill:currentColor;fill-opacity:1;'/%3e%3crect%20x='19'%20y='7'%20width='2'%20height='10'%20fill='currentColor'%20style='fill:currentColor;fill-opacity:1;'/%3e%3c/svg%3e",_A={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function yA(e,t){return w(),A("svg",_A,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 12H9m12 6H7M21 6H3"},null,-1)]))}const S1={name:"lucide-align-right",render:yA},wA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function kA(e,t){return w(),A("svg",wA,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"20",height:"5",x:"2",y:"3",rx:"1"}),v("path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4"})],-1)]))}const A1={name:"lucide-archive",render:kA},CA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function xA(e,t){return w(),A("svg",CA,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"},null,-1)]))}const T1={name:"lucide-arrow-down",render:xA},EA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function SA(e,t){return w(),A("svg",EA,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m12 19l-7-7l7-7m7 7H5"},null,-1)]))}const pc={name:"lucide-arrow-left",render:SA},AA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function TA(e,t){return w(),A("svg",AA,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 3L4 7l4 4M4 7h16m-4 14l4-4l-4-4m4 4H4"},null,-1)]))}const M1={name:"lucide-arrow-left-right",render:TA},MA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function LA(e,t){return w(),A("svg",MA,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14m-7-7l7 7l-7 7"},null,-1)]))}const L1={name:"lucide-arrow-right",render:LA},$A={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function IA(e,t){return w(),A("svg",$A,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 5v14m18-7H7m8 6l6-6l-6-6"},null,-1)]))}const RA={name:"lucide-arrow-right-from-line",render:IA},OA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function PA(e,t){return w(),A("svg",OA,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 12H3m8 6l6-6l-6-6m10-1v14"},null,-1)]))}const DA={name:"lucide-arrow-right-to-line",render:PA},NA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function qA(e,t){return w(),A("svg",NA,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m5 12l7-7l7 7m-7 7V5"},null,-1)]))}const $1={name:"lucide-arrow-up",render:qA},BA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function FA(e,t){return w(),A("svg",BA,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"4"}),v("path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8"})],-1)]))}const I1={name:"lucide-at-sign",render:FA},zA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function HA(e,t){return w(),A("svg",zA,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"m4.9 4.9l14.2 14.2"})],-1)]))}const R1={name:"lucide-ban",render:HA},jA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function VA(e,t){return w(),A("svg",jA,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10.268 21a2 2 0 0 0 3.464 0m-10.47-5.674A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"},null,-1)]))}const O1={name:"lucide-bell",render:VA},UA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function KA(e,t){return w(),A("svg",UA,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"},null,-1)]))}const P1={name:"lucide-book",render:KA},GA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function WA(e,t){return w(),A("svg",GA,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 8V4H8"}),v("rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}),v("path",{d:"M2 14h2m16 0h2m-7-1v2m-6-2v2"})],-1)]))}const D1={name:"lucide-bot",render:WA},ZA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function XA(e,t){return w(),A("svg",ZA,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M21 8a2 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"}),v("path",{d:"m3.3 7l8.7 5l8.7-5M12 22V12"})],-1)]))}const N1={name:"lucide-box",render:XA},JA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function YA(e,t){return w(),A("svg",JA,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 5a3 3 0 1 0-5.997.125a4 4 0 0 0-2.526 5.77a4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"}),v("path",{d:"M12 5a3 3 0 1 1 5.997.125a4 4 0 0 1 2.526 5.77a4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"}),v("path",{d:"M15 13a4.5 4.5 0 0 1-3-4a4.5 4.5 0 0 1-3 4m8.599-6.5a3 3 0 0 0 .399-1.375m-11.995 0A3 3 0 0 0 6.401 6.5m-2.924 4.396a4 4 0 0 1 .585-.396m15.876 0a4 4 0 0 1 .585.396M6 18a4 4 0 0 1-1.967-.516m15.934 0A4 4 0 0 1 18 18"})],-1)]))}const q1={name:"lucide-brain",render:YA},QA={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function eT(e,t){return w(),A("svg",QA,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"m8 2l1.88 1.88m4.24 0L16 2M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"}),v("path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6m0 0v-9"}),v("path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5m3 8H2m1 8c0-2.1 1.7-3.9 3.8-4M20.97 5c0 2.1-1.6 3.8-3.5 4M22 13h-4m-.8 4c2.1.1 3.8 1.9 3.8 4"})],-1)]))}const B1={name:"lucide-bug",render:eT},tT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function nT(e,t){return w(),A("svg",tT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"16",height:"20",x:"4",y:"2",rx:"2"}),v("path",{d:"M8 6h8m0 8v4m0-8h.01M12 10h.01M8 10h.01M12 14h.01M8 14h.01M12 18h.01M8 18h.01"})],-1)]))}const F1={name:"lucide-calculator",render:nT},rT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function oT(e,t){return w(),A("svg",rT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M8 2v4m8-4v4"}),v("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),v("path",{d:"M3 10h18"})],-1)]))}const z1={name:"lucide-calendar",render:oT},sT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function iT(e,t){return w(),A("svg",sT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m3 15l4-8l4 8m-7-2h6m5-2h4.5a2 2 0 0 1 0 4H15V7h4a2 2 0 0 1 0 4"},null,-1)]))}const H1={name:"lucide-case-upper",render:iT},aT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function lT(e,t){return w(),A("svg",aT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 17V9m5 8v-3M3 3v16a2 2 0 0 0 2 2h16M8 17V5"},null,-1)]))}const j1={name:"lucide-chart-column-decreasing",render:lT},cT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function uT(e,t){return w(),A("svg",cT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 6L9 17l-5-5"},null,-1)]))}const V1={name:"lucide-check",render:uT},fT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function dT(e,t){return w(),A("svg",fT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18 6L7 17l-5-5m20-2l-7.5 7.5L13 16"},null,-1)]))}const U1={name:"lucide-check-check",render:dT},pT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function hT(e,t){return w(),A("svg",pT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m6 9l6 6l6-6"},null,-1)]))}const Vi={name:"lucide-chevron-down",render:hT},gT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function mT(e,t){return w(),A("svg",gT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m15 18l-6-6l6-6"},null,-1)]))}const Ui={name:"lucide-chevron-left",render:mT},vT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function bT(e,t){return w(),A("svg",vT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"},null,-1)]))}const Ki={name:"lucide-chevron-right",render:bT},_T={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function yT(e,t){return w(),A("svg",_T,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m18 15l-6-6l-6 6"},null,-1)]))}const Gi={name:"lucide-chevron-up",render:yT},wT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function kT(e,t){return w(),A("svg",wT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m7 20l5-5l5 5M7 4l5 5l5-5"},null,-1)]))}const CT={name:"lucide-chevrons-down-up",render:kT},xT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ET(e,t){return w(),A("svg",xT,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m11 17l-5-5l5-5m7 10l-5-5l5-5"},null,-1)]))}const K1={name:"lucide-chevrons-left",render:ET},ST={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function AT(e,t){return w(),A("svg",ST,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m7 15l5 5l5-5M7 9l5-5l5 5"},null,-1)]))}const G1={name:"lucide-chevrons-up-down",render:AT},TT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function MT(e,t){return w(),A("svg",TT,t[0]||(t[0]=[v("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1)]))}const W1={name:"lucide-circle",render:MT},LT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function $T(e,t){return w(),A("svg",LT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M12 8v4m0 4h.01"})],-1)]))}const Z1={name:"lucide-circle-alert",render:$T},IT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function RT(e,t){return w(),A("svg",IT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"m9 12l2 2l4-4"})],-1)]))}const X1={name:"lucide-circle-check",render:RT},OT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function PT(e,t){return w(),A("svg",OT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("circle",{cx:"12",cy:"12",r:"1"})],-1)]))}const J1={name:"lucide-circle-dot",render:PT},DT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function NT(e,t){return w(),A("svg",DT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01"})],-1)]))}const hc={name:"lucide-circle-help",render:NT},qT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function BT(e,t){return w(),A("svg",qT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M8 12h8"})],-1)]))}const Y1={name:"lucide-circle-minus",render:BT},FT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function zT(e,t){return w(),A("svg",FT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M10 15V9m4 6V9"})],-1)]))}const Q1={name:"lucide-circle-pause",render:zT},HT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function jT(e,t){return w(),A("svg",HT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"m10 8l6 4l-6 4z"})],-1)]))}const eg={name:"lucide-circle-play",render:jT},VT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function UT(e,t){return w(),A("svg",VT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M8 12h8m-4-4v8"})],-1)]))}const tg={name:"lucide-circle-plus",render:UT},KT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function GT(e,t){return w(),A("svg",KT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M18 20a6 6 0 0 0-12 0"}),v("circle",{cx:"12",cy:"10",r:"4"}),v("circle",{cx:"12",cy:"12",r:"10"})],-1)]))}const ng={name:"lucide-circle-user-round",render:GT},WT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ZT(e,t){return w(),A("svg",WT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"m15 9l-6 6m0-6l6 6"})],-1)]))}const rg={name:"lucide-circle-x",render:ZT},XT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function JT(e,t){return w(),A("svg",XT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1"}),v("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-2h2m4 7h4m-4 5h4m-8-5h.01M8 16h.01"})],-1)]))}const og={name:"lucide-clipboard-list",render:JT},YT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function QT(e,t){return w(),A("svg",YT,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 6v6l4 2"}),v("circle",{cx:"12",cy:"12",r:"10"})],-1)]))}const sg={name:"lucide-clock",render:QT},eM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function tM(e,t){return w(),A("svg",eM,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9"},null,-1)]))}const ig={name:"lucide-cloud",render:tM},nM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function rM(e,t){return w(),A("svg",nM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 13v8l-4-4m4 4l4-4"}),v("path",{d:"M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284"})],-1)]))}const ag={name:"lucide-cloud-download",render:rM},oM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function sM(e,t){return w(),A("svg",oM,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m16 18l6-6l-6-6M8 6l-6 6l6 6"},null,-1)]))}const lg={name:"lucide-code",render:sM},iM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function aM(e,t){return w(),A("svg",iM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 20a8 8 0 1 0 0-16a8 8 0 0 0 0 16"}),v("path",{d:"M12 14a2 2 0 1 0 0-4a2 2 0 0 0 0 4m0-12v2m0 18v-2m5 .66l-1-1.73m-5-8.66L7 3.34M20.66 17l-1.73-1M3.34 7l1.73 1M14 12h8M2 12h2m16.66-5l-1.73 1M3.34 17l1.73-1M17 3.34l-1 1.73m-5 8.66l-4 6.93"})],-1)]))}const gc={name:"lucide-cog",render:aM},lM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function cM(e,t){return w(),A("svg",lM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M12 18a6 6 0 0 0 0-12z"})],-1)]))}const cg={name:"lucide-contrast",render:cM},uM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function fM(e,t){return w(),A("svg",uM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),v("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})],-1)]))}const ug={name:"lucide-copy",render:fM},dM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function pM(e,t){return w(),A("svg",dM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M22 12h-4M6 12H2m10-6V2m0 20v-4"})],-1)]))}const hM={name:"lucide-crosshair",render:pM},gM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function mM(e,t){return w(),A("svg",gM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}),v("path",{d:"M3 5v14a9 3 0 0 0 18 0V5"}),v("path",{d:"M3 12a9 3 0 0 0 18 0"})],-1)]))}const fg={name:"lucide-database",render:mM},vM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function bM(e,t){return w(),A("svg",vM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05"}),v("circle",{cx:"12",cy:"12",r:"10"})],-1)]))}const dg={name:"lucide-earth",render:bM},_M={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function yM(e,t){return w(),A("svg",_M,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"1"}),v("circle",{cx:"19",cy:"12",r:"1"}),v("circle",{cx:"5",cy:"12",r:"1"})],-1)]))}const pg={name:"lucide-ellipsis",render:yM},wM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function kM(e,t){return w(),A("svg",wM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"1"}),v("circle",{cx:"12",cy:"5",r:"1"}),v("circle",{cx:"12",cy:"19",r:"1"})],-1)]))}const hg={name:"lucide-ellipsis-vertical",render:kM},CM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function xM(e,t){return w(),A("svg",CM,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 9h14M5 15h14"},null,-1)]))}const gg={name:"lucide-equal",render:xM},EM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function SM(e,t){return w(),A("svg",EM,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},null,-1)]))}const mg={name:"lucide-external-link",render:SM},AM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function TM(e,t){return w(),A("svg",AM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0"}),v("circle",{cx:"12",cy:"12",r:"3"})],-1)]))}const vg={name:"lucide-eye",render:TM},MM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function LM(e,t){return w(),A("svg",MM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242"}),v("path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20"})],-1)]))}const bg={name:"lucide-eye-off",render:LM},$M={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function IM(e,t){return w(),A("svg",$M,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),v("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"})],-1)]))}const _g={name:"lucide-file",render:IM},RM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function OM(e,t){return w(),A("svg",RM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M10 12v-1m0 7v-2m0-9V6m4-4v4a2 2 0 0 0 2 2h4"}),v("path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01"}),v("circle",{cx:"10",cy:"20",r:"2"})],-1)]))}const yg={name:"lucide-file-archive",render:OM},PM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function DM(e,t){return w(),A("svg",PM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M10 12.5L8 15l2 2.5m4-5l2 2.5l-2 2.5M14 2v4a2 2 0 0 0 2 2h4"}),v("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z"})],-1)]))}const wg={name:"lucide-file-code",render:DM},NM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function qM(e,t){return w(),A("svg",NM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),v("path",{d:"M14 2v4a2 2 0 0 0 2 2h4m-8 10v-6m-3 3l3 3l3-3"})],-1)]))}const kg={name:"lucide-file-down",render:qM},BM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function FM(e,t){return w(),A("svg",BM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4"}),v("path",{d:"M14 2v4a2 2 0 0 0 2 2h4M2 15h10m-3 3l3-3l-3-3"})],-1)]))}const Cg={name:"lucide-file-input",render:FM},zM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function HM(e,t){return w(),A("svg",zM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M14 2v4a2 2 0 0 0 2 2h4M4 7V4a2 2 0 0 1 2-2a2 2 0 0 0-2 2"}),v("path",{d:"M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6m-1 9l-3 3"}),v("path",{d:"m5 17l-3-3h10"})],-1)]))}const xg={name:"lucide-file-output",render:HM},jM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function VM(e,t){return w(),A("svg",jM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),v("path",{d:"M14 2v4a2 2 0 0 0 2 2h4M10 9H8m8 4H8m8 4H8"})],-1)]))}const mc={name:"lucide-file-text",render:VM},UM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function KM(e,t){return w(),A("svg",UM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M20 7h-3a2 2 0 0 1-2-2V2"}),v("path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"}),v("path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8"})],-1)]))}const Eg={name:"lucide-files",render:KM},GM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function WM(e,t){return w(),A("svg",GM,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4M14 13.12c0 2.38 0 6.38-1 8.88m4.29-.98c.12-.6.43-2.3.5-3.02M2 12a10 10 0 0 1 18-6M2 16h.01m19.79 0c.2-2 .131-5.354 0-6"}),v("path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2m2.31 12c.21-.66.45-1.32.57-2M9 6.8a6 6 0 0 1 9 5.2v2"})],-1)]))}const Sg={name:"lucide-fingerprint",render:WM},ZM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function XM(e,t){return w(),A("svg",ZM,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2M6.453 15h11.094M8.5 2h7"},null,-1)]))}const Ag={name:"lucide-flask-conical",render:XM},JM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function YM(e,t){return w(),A("svg",JM,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"},null,-1)]))}const Tg={name:"lucide-folder",render:YM},QM={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function eL(e,t){return w(),A("svg",QM,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"},null,-1)]))}const Mg={name:"lucide-folder-open",render:eL},tL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function nL(e,t){return w(),A("svg",tL,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 10v6m-3-3h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"},null,-1)]))}const Lg={name:"lucide-folder-plus",render:nL},rL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function oL(e,t){return w(),A("svg",rL,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"},null,-1)]))}const $g={name:"lucide-funnel",render:oL},sL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function iL(e,t){return w(),A("svg",sL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M6 3h12l4 6l-10 13L2 9Z"}),v("path",{d:"M11 3L8 9l4 13l4-13l-3-6M2 9h20"})],-1)]))}const Ig={name:"lucide-gem",render:iL},aL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function lL(e,t){return w(),A("svg",aL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"18",height:"4",x:"3",y:"8",rx:"1"}),v("path",{d:"M12 8v13m7-9v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7m2.5-4a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5a2.5 2.5 0 0 1 0 5"})],-1)]))}const Rg={name:"lucide-gift",render:lL},cL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function uL(e,t){return w(),A("svg",cL,t[0]||(t[0]=[_r('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M6 3v12"></path><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></g>',1)]))}const Og={name:"lucide-git-branch",render:uL},fL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function dL(e,t){return w(),A("svg",fL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20"})],-1)]))}const Pg={name:"lucide-globe",render:dL},pL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function hL(e,t){return w(),A("svg",pL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0zM22 10v6"}),v("path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5"})],-1)]))}const Dg={name:"lucide-graduation-cap",render:hL},gL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function mL(e,t){return w(),A("svg",gL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 3v18m-9-9h18"}),v("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"})],-1)]))}const Ng={name:"lucide-grid-2x2",render:mL},vL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function bL(e,t){return w(),A("svg",vL,t[0]||(t[0]=[_r('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="9" cy="12" r="1"></circle><circle cx="9" cy="5" r="1"></circle><circle cx="9" cy="19" r="1"></circle><circle cx="15" cy="12" r="1"></circle><circle cx="15" cy="5" r="1"></circle><circle cx="15" cy="19" r="1"></circle></g>',1)]))}const qg={name:"lucide-grip-vertical",render:bL},_L={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function yL(e,t){return w(),A("svg",_L,t[0]||(t[0]=[_r('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17"></path><path d="m7 21l1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9M2 16l6 6"></path><circle cx="16" cy="9" r="2.9"></circle><circle cx="6" cy="5" r="3"></circle></g>',1)]))}const Bg={name:"lucide-hand-coins",render:yL},wL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function kL(e,t){return w(),A("svg",wL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"m11 17l2 2a1 1 0 1 0 3-3"}),v("path",{d:"m14 14l2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4"}),v("path",{d:"m21 3l1 11h-2M3 3L2 14l6.5 6.5a1 1 0 1 0 3-3M3 4h8"})],-1)]))}const Fg={name:"lucide-handshake",render:kL},CL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function xL(e,t){return w(),A("svg",CL,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M22 12H2m3.45-6.89L2 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.11M6 16h.01M10 16h.01"},null,-1)]))}const zg={name:"lucide-hard-drive",render:xL},EL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function SL(e,t){return w(),A("svg",EL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 2v8m4-4l-4 4l-4-4"}),v("rect",{width:"20",height:"8",x:"2",y:"14",rx:"2"}),v("path",{d:"M6 18h.01M10 18h.01"})],-1)]))}const Hg={name:"lucide-hard-drive-download",render:SL},AL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function TL(e,t){return w(),A("svg",AL,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18"},null,-1)]))}const jg={name:"lucide-hash",render:TL},ML={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function LL(e,t){return w(),A("svg",ML,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8"}),v("path",{d:"M3 3v5h5m4-1v5l4 2"})],-1)]))}const Vg={name:"lucide-history",render:LL},$L={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function IL(e,t){return w(),A("svg",$L,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"},null,-1)]))}const Ug={name:"lucide-hourglass",render:IL},RL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function OL(e,t){return w(),A("svg",RL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"}),v("path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"})],-1)]))}const Kg={name:"lucide-house",render:OL},PL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function DL(e,t){return w(),A("svg",PL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),v("circle",{cx:"9",cy:"9",r:"2"}),v("path",{d:"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21"})],-1)]))}const Gg={name:"lucide-image",render:DL},NL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function qL(e,t){return w(),A("svg",NL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M22 12h-6l-2 3h-4l-2-3H2"}),v("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.11"})],-1)]))}const Wg={name:"lucide-inbox",render:qL},BL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function FL(e,t){return w(),A("svg",BL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M12 16v-4m0-4h.01"})],-1)]))}const vc={name:"lucide-info",render:FL},zL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function HL(e,t){return w(),A("svg",zL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z"}),v("circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor"})],-1)]))}const Zg={name:"lucide-key-round",render:HL},jL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function VL(e,t){return w(),A("svg",jL,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m5 8l6 6m-7 0l6-6l2-3M2 5h12M7 2h1m14 20l-5-10l-5 10m2-4h6"},null,-1)]))}const Xg={name:"lucide-languages",render:VL},UL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function KL(e,t){return w(),A("svg",UL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"}),v("path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"}),v("path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"})],-1)]))}const Jg={name:"lucide-layers",render:KL},GL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function WL(e,t){return w(),A("svg",GL,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4"},null,-1)]))}const Yg={name:"lucide-lightbulb",render:WL},ZL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function XL(e,t){return w(),A("svg",ZL,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),v("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})],-1)]))}const Qg={name:"lucide-link",render:XL},JL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function YL(e,t){return w(),A("svg",JL,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12h.01M3 18h.01M3 6h.01M8 12h13M8 18h13M8 6h13"},null,-1)]))}const em={name:"lucide-list",render:YL},QL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function e$(e,t){return w(),A("svg",QL,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m3 17l2 2l4-4M3 7l2 2l4-4m4 1h8m-8 6h8m-8 6h8"},null,-1)]))}const tm={name:"lucide-list-checks",render:e$},t$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function n$(e,t){return w(),A("svg",t$,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2"}),v("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})],-1)]))}const nm={name:"lucide-lock",render:n$},r$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function o$(e,t){return w(),A("svg",r$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m10 17l5-5l-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"},null,-1)]))}const rm={name:"lucide-log-in",render:o$},s$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function i$(e,t){return w(),A("svg",s$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"},null,-1)]))}const om={name:"lucide-log-out",render:i$},a$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function l$(e,t){return w(),A("svg",a$,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"m22 7l-8.991 5.727a2 2 0 0 1-2.009 0L2 7"}),v("rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"})],-1)]))}const sm={name:"lucide-mail",render:l$},c$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function u$(e,t){return w(),A("svg",c$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3m8 0h3a2 2 0 0 0 2-2v-3"},null,-1)]))}const im={name:"lucide-maximize",render:u$},f$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function d$(e,t){return w(),A("svg",f$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 3h6v6m0-6l-7 7M3 21l7-7m-1 7H3v-6"},null,-1)]))}const am={name:"lucide-maximize-2",render:d$},p$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function h$(e,t){return w(),A("svg",p$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 12h16M4 18h16M4 6h16"},null,-1)]))}const lm={name:"lucide-menu",render:h$},g$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function m$(e,t){return w(),A("svg",g$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z"},null,-1)]))}const cm={name:"lucide-message-circle",render:m$},v$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function b$(e,t){return w(),A("svg",v$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2zm4 0h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"},null,-1)]))}const um={name:"lucide-messages-square",render:b$},_$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function y$(e,t){return w(),A("svg",_$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 13v8m0-18v3M4 6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h13a2 2 0 0 0 1.152-.365l3.424-2.317a1 1 0 0 0 0-1.635l-3.424-2.318A2 2 0 0 0 17 6z"},null,-1)]))}const fm={name:"lucide-milestone",render:y$},w$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function k$(e,t){return w(),A("svg",w$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m14 10l7-7m-1 7h-6V4M3 21l7-7m-6 0h6v6"},null,-1)]))}const C$={name:"lucide-minimize-2",render:k$},x$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function E$(e,t){return w(),A("svg",x$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12.586 12.586L19 19M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z"},null,-1)]))}const dm={name:"lucide-mouse-pointer",render:E$},S$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function A$(e,t){return w(),A("svg",S$,t[0]||(t[0]=[_r('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><rect width="6" height="6" x="16" y="16" rx="1"></rect><rect width="6" height="6" x="2" y="16" rx="1"></rect><rect width="6" height="6" x="9" y="2" rx="1"></rect><path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3m-7-4V8"></path></g>',1)]))}const pm={name:"lucide-network",render:A$},T$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function M$(e,t){return w(),A("svg",T$,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 22v-9m3.17-10.79a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.66 1.66 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z"}),v("path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13"}),v("path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.64 1.64 0 0 0 1.63 0z"})],-1)]))}const hm={name:"lucide-package-open",render:M$},L$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function $$(e,t){return w(),A("svg",L$,t[0]||(t[0]=[_r('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M12 22a1 1 0 0 1 0-20a10 9 0 0 1 10 9a5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z"></path><circle cx="13.5" cy="6.5" r=".5" fill="currentColor"></circle><circle cx="17.5" cy="10.5" r=".5" fill="currentColor"></circle><circle cx="6.5" cy="12.5" r=".5" fill="currentColor"></circle><circle cx="8.5" cy="7.5" r=".5" fill="currentColor"></circle></g>',1)]))}const gm={name:"lucide-palette",render:$$},I$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function R$(e,t){return w(),A("svg",I$,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"4",height:"16",x:"14",y:"4",rx:"1"}),v("rect",{width:"4",height:"16",x:"6",y:"4",rx:"1"})],-1)]))}const mm={name:"lucide-pause",render:R$},O$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function P$(e,t){return w(),A("svg",O$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"},null,-1)]))}const vm={name:"lucide-pen",render:P$},D$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function N$(e,t){return w(),A("svg",D$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4"},null,-1)]))}const bm={name:"lucide-pencil",render:N$},q$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function B$(e,t){return w(),A("svg",q$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 17v5M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4a1 1 0 0 1 1 1z"},null,-1)]))}const _m={name:"lucide-pin",render:B$},F$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function z$(e,t){return w(),A("svg",F$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m6 3l14 9l-14 9z"},null,-1)]))}const ym={name:"lucide-play",render:z$},H$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function j$(e,t){return w(),A("svg",H$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 22v-5M9 8V2m6 6V2m3 6v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z"},null,-1)]))}const wm={name:"lucide-plug",render:j$},V$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function U$(e,t){return w(),A("svg",V$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14m-7-7v14"},null,-1)]))}const km={name:"lucide-plus",render:U$},K$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function G$(e,t){return w(),A("svg",K$,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2s-2 1-2 2s2 1 2 2m13-7h.01M6 18h.01m14.82-9.17a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z"}),v("path",{d:"M18 11.66V22a4 4 0 0 0 4-4V6"})],-1)]))}const Cm={name:"lucide-pocket-knife",render:G$},W$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Z$(e,t){return w(),A("svg",W$,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 2v10m6.4-5.4a9 9 0 1 1-12.77.04"},null,-1)]))}const xm={name:"lucide-power",render:Z$},X$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function J$(e,t){return w(),A("svg",X$,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"m15 14l5-5l-5-5"}),v("path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13"})],-1)]))}const Em={name:"lucide-redo-2",render:J$},Y$={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Q$(e,t){return w(),A("svg",Y$,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8"}),v("path",{d:"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16"}),v("path",{d:"M8 16H3v5"})],-1)]))}const Wi={name:"lucide-refresh-cw",render:Q$},eI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function tI(e,t){return w(),A("svg",eI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 7V4h16v3M5 20h6m2-16L8 20m7-5l5 5m0-5l-5 5"},null,-1)]))}const Sm={name:"lucide-remove-formatting",render:tI},nI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function rI(e,t){return w(),A("svg",nI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16"}),v("circle",{cx:"5",cy:"19",r:"1"})],-1)]))}const Am={name:"lucide-rss",render:rI},oI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function sI(e,t){return w(),A("svg",oI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 10a7.31 7.31 0 0 0 10 10Zm5 5l3-3m5 1a6 6 0 0 0-6-6m10 6A10 10 0 0 0 11 3"},null,-1)]))}const Tm={name:"lucide-satellite-dish",render:sI},iI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function aI(e,t){return w(),A("svg",iI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"}),v("path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7M7 3v4a1 1 0 0 0 1 1h7"})],-1)]))}const Mm={name:"lucide-save",render:aI},lI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function cI(e,t){return w(),A("svg",lI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m16 16l3-8l3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1M2 16l3-8l3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1m5 5h10M12 3v18M3 7h2c2 0 5-1 7-2c2 1 5 2 7 2h2"},null,-1)]))}const Lm={name:"lucide-scale",render:cI},uI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function fI(e,t){return w(),A("svg",uI,t[0]||(t[0]=[_r('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="6" cy="6" r="3"></circle><path d="M8.12 8.12L12 12m8-8L8.12 15.88"></path><circle cx="6" cy="18" r="3"></circle><path d="M14.8 14.8L20 20"></path></g>',1)]))}const bc={name:"lucide-scissors",render:fI},dI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function pI(e,t){return w(),A("svg",dI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"m21 21l-4.34-4.34"}),v("circle",{cx:"11",cy:"11",r:"8"})],-1)]))}const $m={name:"lucide-search",render:pI},hI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function gI(e,t){return w(),A("svg",hI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939"},null,-1)]))}const Im={name:"lucide-send",render:gI},mI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function vI(e,t){return w(),A("svg",mI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2"}),v("rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2"}),v("path",{d:"M6 6h.01M6 18h.01"})],-1)]))}const Rm={name:"lucide-server",render:vI},bI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function _I(e,t){return w(),A("svg",bI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 2v13m4-9l-4-4l-4 4m-4 6v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"},null,-1)]))}const Om={name:"lucide-share",render:_I},yI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function wI(e,t){return w(),A("svg",yI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 4h-7m-4 0H3m18 8h-9m-4 0H3m18 8h-5m-4 0H3M14 2v4m-6 4v4m8 4v4"},null,-1)]))}const Pm={name:"lucide-sliders-horizontal",render:wI},kI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function CI(e,t){return w(),A("svg",kI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"10"}),v("path",{d:"M8 14s1.5 2 4 2s4-2 4-2M9 9h.01M15 9h.01"})],-1)]))}const Dm={name:"lucide-smile",render:CI},xI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function EI(e,t){return w(),A("svg",xI,t[0]||(t[0]=[v("rect",{width:"18",height:"18",x:"3",y:"3",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",rx:"2"},null,-1)]))}const Nm={name:"lucide-square",render:EI},SI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function AI(e,t){return w(),A("svg",SI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),v("path",{d:"m9 12l2 2l4-4"})],-1)]))}const qm={name:"lucide-square-check",render:AI},TI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function MI(e,t){return w(),A("svg",TI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),v("path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z"})],-1)]))}const Bm={name:"lucide-square-pen",render:MI},LI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function $I(e,t){return w(),A("svg",LI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),v("path",{d:"M8 12h8m-4-4v8"})],-1)]))}const Fm={name:"lucide-square-plus",render:$I},II={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function RI(e,t){return w(),A("svg",II,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M16 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8Z"}),v("path",{d:"M15 3v4a2 2 0 0 0 2 2h4"})],-1)]))}const zm={name:"lucide-sticky-note",render:RI},OI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function PI(e,t){return w(),A("svg",OI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"12",r:"4"}),v("path",{d:"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"})],-1)]))}const Hm={name:"lucide-sun",render:PI},DI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function NI(e,t){return w(),A("svg",DI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M12 3v18"}),v("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),v("path",{d:"M3 9h18M3 15h18"})],-1)]))}const jm={name:"lucide-table",render:NI},qI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function BI(e,t){return w(),A("svg",qI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"m15 5l6.3 6.3a2.4 2.4 0 0 1 0 3.4L17 19"}),v("path",{d:"M9.586 5.586A2 2 0 0 0 8.172 5H3a1 1 0 0 0-1 1v5.172a2 2 0 0 0 .586 1.414L8.29 18.29a2.426 2.426 0 0 0 3.42 0l3.58-3.58a2.426 2.426 0 0 0 0-3.42z"}),v("circle",{cx:"6.5",cy:"9.5",r:".5",fill:"currentColor"})],-1)]))}const Vm={name:"lucide-tags",render:BI},FI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function zI(e,t){return w(),A("svg",FI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19h8M4 17l6-6l-6-6"},null,-1)]))}const Um={name:"lucide-terminal",render:zI},HI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function jI(e,t){return w(),A("svg",HI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 14V2M9 18.12L10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88"},null,-1)]))}const Km={name:"lucide-thumbs-down",render:jI},VI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function UI(e,t){return w(),A("svg",VI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 10v12m8-16.12L14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88"},null,-1)]))}const Gm={name:"lucide-thumbs-up",render:UI},KI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function GI(e,t){return w(),A("svg",KI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6"},null,-1)]))}const Wm={name:"lucide-trash-2",render:GI},WI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ZI(e,t){return w(),A("svg",WI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m17 14l3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7zm-5 8v-3"},null,-1)]))}const Zm={name:"lucide-tree-pine",render:ZI},XI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function JI(e,t){return w(),A("svg",XI,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01"},null,-1)]))}const Xm={name:"lucide-triangle-alert",render:JI},YI={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function QI(e,t){return w(),A("svg",YI,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M9 14L4 9l5-5"}),v("path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"})],-1)]))}const Jm={name:"lucide-undo-2",render:QI},eR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function tR(e,t){return w(),A("svg",eR,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m18.84 12.25l1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07a5.006 5.006 0 0 0-6.95 0l-1.72 1.71m-6.58 6.57l-1.71 1.71a5.004 5.004 0 0 0 .12 7.07a5.006 5.006 0 0 0 6.95 0l1.71-1.71M8 2v3M2 8h3m11 11v3m3-6h3"},null,-1)]))}const Ym={name:"lucide-unlink",render:tR},nR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function rR(e,t){return w(),A("svg",nR,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),v("circle",{cx:"12",cy:"7",r:"4"})],-1)]))}const Qm={name:"lucide-user",render:rR},oR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function sR(e,t){return w(),A("svg",oR,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"m16 11l2 2l4-4m-6 12v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),v("circle",{cx:"9",cy:"7",r:"4"})],-1)]))}const ev={name:"lucide-user-check",render:sR},iR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function aR(e,t){return w(),A("svg",iR,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"10",cy:"7",r:"4"}),v("path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2m12-5.5V14a2 2 0 0 1 4 0v1.5"}),v("rect",{width:"8",height:"5",x:"13",y:"16",rx:".899"})],-1)]))}const tv={name:"lucide-user-lock",render:aR},lR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function cR(e,t){return w(),A("svg",lR,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"12",cy:"8",r:"5"}),v("path",{d:"M20 21a8 8 0 0 0-16 0"})],-1)]))}const nv={name:"lucide-user-round",render:cR},uR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function fR(e,t){return w(),A("svg",uR,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87"}),v("circle",{cx:"9",cy:"7",r:"4"})],-1)]))}const rv={name:"lucide-users",render:fR},dR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function pR(e,t){return w(),A("svg",dR,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 21s-4-3-4-9s4-9 4-9m8 0s4 3 4 9s-4 9-4 9M15 9l-6 6m0-6l6 6"},null,-1)]))}const ov={name:"lucide-variable",render:pR},hR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function gR(e,t){return w(),A("svg",hR,t[0]||(t[0]=[_r('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><rect width="18" height="18" x="3" y="3" rx="2"></rect><circle cx="7.5" cy="7.5" r=".5" fill="currentColor"></circle><path d="m7.9 7.9l2.7 2.7"></path><circle cx="16.5" cy="7.5" r=".5" fill="currentColor"></circle><path d="m13.4 10.6l2.7-2.7"></path><circle cx="7.5" cy="16.5" r=".5" fill="currentColor"></circle><path d="m7.9 16.1l2.7-2.7"></path><circle cx="16.5" cy="16.5" r=".5" fill="currentColor"></circle><path d="m13.4 13.4l2.7 2.7"></path><circle cx="12" cy="12" r="2"></circle></g>',1)]))}const sv={name:"lucide-vault",render:gR},mR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function vR(e,t){return w(),A("svg",mR,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("path",{d:"m16 13l5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"}),v("rect",{width:"14",height:"12",x:"2",y:"6",rx:"2"})],-1)]))}const iv={name:"lucide-video",render:vR},bR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function _R(e,t){return w(),A("svg",bR,t[0]||(t[0]=[_r('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="12" cy="4.5" r="2.5"></circle><path d="m10.2 6.3l-3.9 3.9"></path><circle cx="4.5" cy="12" r="2.5"></circle><path d="M7 12h10"></path><circle cx="19.5" cy="12" r="2.5"></circle><path d="m13.8 17.7l3.9-3.9"></path><circle cx="12" cy="19.5" r="2.5"></circle></g>',1)]))}const av={name:"lucide-waypoints",render:_R},yR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function wR(e,t){return w(),A("svg",yR,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",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"},null,-1)]))}const lv={name:"lucide-wrench",render:wR},kR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function CR(e,t){return w(),A("svg",kR,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18 6L6 18M6 6l12 12"},null,-1)]))}const _c={name:"lucide-x",render:CR},xR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ER(e,t){return w(),A("svg",xR,t[0]||(t[0]=[v("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"},null,-1)]))}const cv={name:"lucide-zap",render:ER},SR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function AR(e,t){return w(),A("svg",SR,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"11",cy:"11",r:"8"}),v("path",{d:"m21 21l-4.35-4.35M11 8v6m-3-3h6"})],-1)]))}const uv={name:"lucide-zoom-in",render:AR},TR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function MR(e,t){return w(),A("svg",TR,t[0]||(t[0]=[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[v("circle",{cx:"11",cy:"11",r:"8"}),v("path",{d:"m21 21l-4.35-4.35M8 11h6"})],-1)]))}const fv={name:"lucide-zoom-out",render:MR},dv={variable:ov,"pop-out":d1,triangle:x1,"status-completed":m1,"status-waiting":y1,"status-error":v1,"status-canceled":g1,"status-new":b1,"status-unknown":_1,"status-warning":w1,"vector-square":E1,schema:p1,json:f1,binary:c1,text:k1,toolbox:C1,spinner:h1,xmark:_c,"caret-up":Gi,"caret-down":Vi,"caret-right":Ki,"caret-left":Ui,"folder-plus":Lg,share:Om,"user-check":ev,"check-double":U1,"exclamation-circle":Z1,circle:W1,"eye-slash":bg,folder:Tg,"minus-circle":Y1,adjust:cg,refresh:Wi,vault:sv,"angle-double-left":K1,"angle-down":Vi,"angle-left":Ui,"angle-right":Ki,"angle-up":Gi,archive:A1,"arrow-left":pc,"arrow-right":L1,"arrow-up":$1,"arrow-down":T1,at:I1,ban:R1,"balance-scale-left":Lm,bars:lm,bolt:cv,book:P1,"box-open":hm,bug:B1,brain:q1,calculator:F1,calendar:z1,"chart-bar":j1,check:V1,"check-circle":X1,"check-square":qm,"chevron-left":Ui,"chevron-right":Ki,"chevron-down":Vi,"chevron-up":Gi,code:lg,"code-branch":Og,cog:gc,cogs:gc,comment:cm,comments:um,"clipboard-list":og,clock:sg,clone:ug,cloud:ig,"cloud-download-alt":ag,compress:G1,copy:Eg,cube:N1,cut:bc,database:fg,"dot-circle":J1,"grip-lines-vertical":u1,"grip-vertical":qg,edit:Bm,"ellipsis-h":pg,"ellipsis-v":hg,envelope:sm,equals:gg,eye:vg,"exclamation-triangle":Xm,expand:im,"expand-alt":am,"external-link-alt":mg,"exchange-alt":M1,file:_g,"file-alt":mc,"file-archive":yg,"file-code":wg,"file-download":kg,"file-export":xg,"file-import":Cg,"file-pdf":mc,filter:$g,fingerprint:Sg,flask:Ag,"folder-open":Mg,font:H1,gift:Rg,globe:Pg,"globe-americas":dg,"graduation-cap":Dg,"hand-holding-usd":Bg,"hand-scissors":bc,handshake:Fg,"hand-point-left":pc,hashtag:jg,hdd:zg,history:Vg,home:Kg,hourglass:Ug,image:Gg,inbox:Wg,info:vc,"info-circle":vc,key:Zg,language:Xg,"layer-group":Jg,link:Qg,list:em,lightbulb:Yg,lock:nm,"map-signs":fm,"mouse-pointer":dm,"network-wired":pm,palette:gm,pause:mm,"pause-circle":Q1,pen:vm,"pencil-alt":bm,play:ym,"play-circle":eg,plug:wm,plus:km,"plus-circle":tg,"plus-square":Fm,"project-diagram":av,question:hc,"question-circle":hc,redo:Em,"remove-format":Sm,robot:D1,rss:Am,save:Mm,"satellite-dish":Tm,search:$m,"search-minus":fv,"search-plus":uv,server:Rm,screwdriver:Cm,smile:Dm,"sign-in-alt":rm,"sign-out-alt":om,"sliders-h":Pm,"sticky-note":zm,stop:Nm,stream:S1,sun:Hm,sync:Wi,"sync-alt":Wi,table:jm,tags:Vm,tasks:tm,terminal:Um,"th-large":Ng,thumbtack:_m,"thumbs-down":Km,"thumbs-up":Gm,times:_c,"times-circle":rg,tools:lv,trash:Wm,undo:Jm,unlink:Ym,user:Qm,"user-circle":ng,"user-friends":nv,users:rv,video:iv,tree:Zm,"user-lock":tv,gem:Ig,download:Hg,"power-off":xm,"paper-plane":Im,bell:O1},pv={"bolt-filled":bA,"grip-lines-vertical":u1,variable:ov,"pop-out":d1,triangle:x1,"status-completed":m1,"status-waiting":y1,"status-error":v1,"status-canceled":g1,"status-new":b1,"status-unknown":_1,"status-warning":w1,"vector-square":E1,schema:p1,json:f1,binary:c1,text:k1,toolbox:C1,spinner:h1,"align-right":S1,archive:A1,"arrow-down":T1,"arrow-left":pc,"arrow-left-right":M1,"arrow-right":L1,"arrow-right-from-line":RA,"arrow-right-to-line":DA,"arrow-up":$1,"at-sign":I1,ban:R1,bell:O1,book:P1,bot:D1,box:N1,brain:q1,bug:B1,calculator:F1,calendar:z1,"case-upper":H1,"chart-column-decreasing":j1,check:V1,"check-check":U1,"chevron-down":Vi,"chevron-left":Ui,"chevron-right":Ki,"chevron-up":Gi,"chevrons-left":K1,"chevrons-down-up":CT,"chevrons-up-down":G1,circle:W1,"circle-alert":Z1,"circle-check":X1,"circle-dot":J1,"circle-help":hc,"circle-minus":Y1,"circle-pause":Q1,"circle-play":eg,"circle-plus":tg,"circle-user-round":ng,"circle-x":rg,"clipboard-list":og,clock:sg,cloud:ig,"cloud-download":ag,code:lg,cog:gc,contrast:cg,copy:ug,crosshair:hM,database:fg,earth:dg,ellipsis:pg,"ellipsis-vertical":hg,equal:gg,"external-link":mg,eye:vg,"eye-off":bg,file:_g,"file-archive":yg,"file-code":wg,"file-down":kg,"file-input":Cg,"file-output":xg,"file-text":mc,files:Eg,fingerprint:Sg,"flask-conical":Ag,folder:Tg,"folder-open":Mg,"folder-plus":Lg,funnel:$g,gem:Ig,gift:Rg,"git-branch":Og,globe:Pg,"graduation-cap":Dg,"grid-2x2":Ng,"grip-vertical":qg,"hand-coins":Bg,handshake:Fg,"hard-drive":zg,"hard-drive-download":Hg,hash:jg,history:Vg,hourglass:Ug,house:Kg,image:Gg,inbox:Wg,info:vc,"key-round":Zg,languages:Xg,layers:Jg,lightbulb:Yg,link:Qg,list:em,"list-checks":tm,lock:nm,"log-in":rm,"log-out":om,mail:sm,"minimize-2":C$,maximize:im,"maximize-2":am,menu:lm,"message-circle":cm,"messages-square":um,milestone:fm,"mouse-pointer":dm,network:pm,"package-open":hm,palette:gm,pause:mm,pen:vm,pencil:bm,pin:_m,play:ym,plug:wm,plus:km,"pocket-knife":Cm,power:xm,"redo-2":Em,"refresh-cw":Wi,"remove-formatting":Sm,rss:Am,"satellite-dish":Tm,save:Mm,scale:Lm,scissors:bc,search:$m,send:Im,server:Rm,share:Om,"sliders-horizontal":Pm,smile:Dm,square:Nm,"square-check":qm,"square-pen":Bm,"square-plus":Fm,"sticky-note":zm,sun:Hm,table:jm,tags:Vm,terminal:Um,"thumbs-down":Km,"thumbs-up":Gm,"trash-2":Wm,"tree-pine":Zm,"triangle-alert":Xm,"undo-2":Jm,unlink:Ym,user:Qm,"user-check":ev,"user-lock":tv,"user-round":nv,users:rv,vault:sv,video:iv,waypoints:av,wrench:lv,x:_c,zap:cv,"zoom-in":uv,"zoom-out":fv},yc=kr(ne({name:"N8nIcon",__name:"Icon",props:{icon:{},size:{default:void 0},spin:{type:Boolean,default:!1},color:{default:void 0},strokeWidth:{}},setup(e){const t=e,n=al(),r=O(()=>{const a=[];return t.spin&&a.push("spin"),t.strokeWidth&&a.push("strokeWidth"),["n8n-icon",...a.map(l=>n[l])]}),s={xsmall:10,small:12,medium:14,large:16,xlarge:20},o=O(()=>{let a="1em";return t.size&&(a=`${typeof t.size=="number"?t.size:s[t.size]}px`),{height:a,width:a}}),i=O(()=>{const a={};return t.color&&(a.color=`var(--color-${t.color})`),t.strokeWidth&&(a["--n8n-icon-stroke-width"]=`${t.strokeWidth}px`),a});return(a,l)=>b(pv)[a.icon]??b(dv)[a.icon]?(w(),le(Rt(b(pv)[a.icon]??b(dv)[a.icon]),{key:0,class:Z(r.value),"aria-hidden":"true",focusable:"false",role:"img",height:o.value.height,width:o.value.width,"data-icon":t.icon,style:tt(i.value)},null,8,["class","height","width","data-icon","style"])):ge("",!0)}}),[["__cssModules",{$style:{strokeWidth:"_strokeWidth_fqxq5_1",spin:"_spin_fqxq5_6"}}]]),LR={class:"n8n-spinner"},$R={key:0,class:"lds-ring"},IR=ne({name:"N8nSpinner",__name:"Spinner",props:{size:{default:"medium"},type:{default:"dots"}},setup(e){return(t,n)=>(w(),A("span",LR,[t.type==="ring"?(w(),A("div",$R,n[0]||(n[0]=[v("div",null,null,-1),v("div",null,null,-1),v("div",null,null,-1),v("div",null,null,-1)]))):(w(),le(b(yc),{key:1,icon:"spinner",size:t.size,spin:""},null,8,["size"]))]))}}),RR={key:1},OR=kr(ne({name:"N8nButton",__name:"Button",props:{block:{type:Boolean,default:!1},element:{default:"button"},href:{},label:{default:""},square:{type:Boolean,default:!1},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},float:{},icon:{},loading:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},size:{default:"medium"},iconSize:{},text:{type:Boolean,default:!1},type:{default:"primary"},nativeType:{}},setup(e){const t=al(),n=ri(),r=e;Ya(()=>{r.element==="a"&&!r.href&&console.error("n8n-button:href is required for link buttons")});const s=O(()=>r.loading?"true":void 0),o=O(()=>r.disabled?"true":void 0),i=O(()=>r.disabled||r.loading),a=O(()=>r.iconSize??(r.size==="xmini"||r.size==="mini"?"xsmall":r.size)),l=O(()=>`button ${t.button} ${t[r.type]}${r.size?` ${t[r.size]}`:""}${r.outline?` ${t.outline}`:""}${r.loading?` ${t.loading}`:""}${r.float?` ${t[`float-${r.float}`]}`:""}${r.text?` ${t.text}`:""}${r.disabled?` ${t.disabled}`:""}${r.block?` ${t.block}`:""}${r.active?` ${t.active}`:""}${r.icon||r.loading?` ${t.withIcon}`:""}${r.square?` ${t.square}`:""}`);return(u,f)=>(w(),le(Rt(u.element),dt({class:l.value,disabled:i.value,"aria-disabled":o.value,"aria-busy":s.value,href:u.href,"aria-live":"polite"},{...b(n),...r.nativeType?{type:r.nativeType}:{}}),{default:fe(()=>[u.loading||u.icon?(w(),A("span",{key:0,class:Z(b(t).icon)},[u.loading?(w(),le(b(IR),{key:0,size:a.value},null,8,["size"])):u.icon?(w(),le(b(yc),{key:1,icon:u.icon,size:a.value},null,8,["icon","size"])):ge("",!0)],2)):ge("",!0),u.label?(w(),A("span",RR,We(u.label),1)):u.$slots.default?_e(u.$slots,"default",{key:2}):ge("",!0)]),_:3},16,["class","disabled","aria-disabled","aria-busy","href"]))}}),[["__cssModules",{$style:{button:"_button_mdqve_229",active:"_active_mdqve_263",disabled:"_disabled_mdqve_281",loading:"_loading_mdqve_289",secondary:"_secondary_mdqve_312",tertiary:"_tertiary_mdqve_334",success:"_success_mdqve_356",warning:"_warning_mdqve_378",danger:"_danger_mdqve_400",xmini:"_xmini_mdqve_425",square:"_square_mdqve_430",mini:"_mini_mdqve_435",small:"_small_mdqve_445",medium:"_medium_mdqve_455",large:"_large_mdqve_465",xlarge:"_xlarge_mdqve_470",outline:"_outline_mdqve_483",primary:"_primary_mdqve_487",text:"_text_mdqve_524",transparent:"_transparent_mdqve_592",withIcon:"_withIcon_mdqve_597",icon:"_icon_mdqve_603",block:"_block_mdqve_612","float-left":"_float-left_mdqve_616","float-right":"_float-right_mdqve_620"}}]]);({...bs.props});const PR=kr(ne({name:"N8nText",__name:"Text",props:{bold:{type:Boolean,default:!1},size:{default:"medium"},color:{},align:{},compact:{type:Boolean,default:!1},tag:{default:"span"}},setup(e){const t=e,n=al(),r=O(()=>{const s=[];return t.align&&s.push(`align-${t.align}`),t.color&&s.push(t.color),t.compact&&s.push("compact"),s.push(`size-${t.size}`),s.push(t.bold?"bold":"regular"),s.map(o=>n[o])});return(s,o)=>(w(),le(Rt(s.tag),dt({class:["n8n-text",...r.value]},s.$attrs),{default:fe(()=>[_e(s.$slots,"default")]),_:3},16,["class"]))}}),[["__cssModules",{$style:{bold:"_bold_ushv1_1",regular:"_regular_ushv1_5","size-xlarge":"_size-xlarge_ushv1_9","size-large":"_size-large_ushv1_14","size-medium":"_size-medium_ushv1_19","size-small":"_size-small_ushv1_24","size-xsmall":"_size-xsmall_ushv1_29",compact:"_compact_ushv1_34",primary:"_primary_ushv1_38",secondary:"_secondary_ushv1_42","text-dark":"_text-dark_ushv1_46","text-base":"_text-base_ushv1_50","text-light":"_text-light_ushv1_54","text-xlight":"_text-xlight_ushv1_58",danger:"_danger_ushv1_62",success:"_success_ushv1_66",warning:"_warning_ushv1_70","foreground-dark":"_foreground-dark_ushv1_74","foreground-xdark":"_foreground-xdark_ushv1_78","align-left":"_align-left_ushv1_82","align-right":"_align-right_ushv1_86","align-center":"_align-center_ushv1_90"}}]]);function DR(e,t){return/^on[A-Z]/.test(t)}function hv(e){return`${e?`${e}-`:""}${Math.random().toString(36).substring(2,11)}`}const NR=kr(ne({name:"N8nInput",__name:"Input",props:{modelValue:{default:""},type:{default:"text"},size:{default:"large"},placeholder:{default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},rows:{default:2},maxlength:{default:void 0},title:{default:""},name:{default:()=>hv("input")},autocomplete:{default:"off"}},setup(e,{expose:t}){const n=e,r=O(()=>n.size==="medium"?"default":n.size),s=O(()=>{const f=[];return n.size==="xlarge"&&f.push("xlarge"),n.type==="password"&&f.push("ph-no-capture"),f}),o=U(),i=O(()=>{if(!(o!=null&&o.value))return;const f=n.type==="textarea"?"textarea":"input";return o.value.$el.querySelector(f)});return t({focus:()=>{var f;return(f=i.value)==null?void 0:f.focus()},blur:()=>{var f;return(f=i.value)==null?void 0:f.blur()},select:()=>{var f;return(f=i.value)==null?void 0:f.select()}}),(f,c)=>(w(),le(b(Pi),dt({ref_key:"innerInput",ref:o,"model-value":f.modelValue,type:f.type,size:r.value,class:["n8n-input",...s.value],autocomplete:f.autocomplete,name:f.name,placeholder:f.placeholder,disabled:f.disabled,readonly:f.readonly,clearable:f.clearable,rows:f.rows,title:f.title,maxlength:f.maxlength},f.$attrs),ni({_:2},[f.$slots.prepend?{name:"prepend",fn:fe(()=>[_e(f.$slots,"prepend")]),key:"0"}:void 0,f.$slots.append?{name:"append",fn:fe(()=>[_e(f.$slots,"append")]),key:"1"}:void 0,f.$slots.prefix?{name:"prefix",fn:fe(()=>[_e(f.$slots,"prefix")]),key:"2"}:void 0,f.$slots.suffix?{name:"suffix",fn:fe(()=>[_e(f.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","type","size","class","autocomplete","name","placeholder","disabled","readonly","clearable","rows","title","maxlength"]))}}),[["__cssModules",{$style:{xlarge:"_xlarge_ddtui_1"}}]]);hv("color-picker"),{...s1},{...fc.props};/*!
|
|
484
31
|
* vue-router v4.5.0
|
|
485
32
|
* (c) 2024 Eduardo San Martin Morote
|
|
486
33
|
* @license MIT
|
|
487
|
-
*/const EM=()=>{},Qi=Array.isArray;function Bv(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function CM(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!SM(e[n],t[n]))return!1;return!0}function SM(e,t){return Qi(e)?zv(e,t):Qi(t)?zv(t,e):e===t}function zv(e,t){return Qi(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}var Hv;(function(e){e.pop="pop",e.push="push"})(Hv||(Hv={}));var Uv;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Uv||(Uv={}));var jv;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(jv||(jv={}));const Vv=Symbol(""),xM=Symbol("");function Gv(e){const t=$e(Vv),n=$e(xM),r=I(()=>{const l=v(e.to);return t.resolve(l)}),s=I(()=>{const{matched:l}=r.value,{length:u}=l,f=l[u-1],c=n.matched;if(!f||!c.length)return-1;const p=c.findIndex(Bv.bind(null,f));if(p>-1)return p;const d=Wv(l[u-2]);return u>1&&Wv(f)===d&&c[c.length-1].path!==d?c.findIndex(Bv.bind(null,l[u-2])):p}),o=I(()=>s.value>-1&&OM(n.params,r.value.params)),i=I(()=>s.value>-1&&s.value===n.matched.length-1&&CM(n.params,r.value.params));function a(l={}){if(TM(l)){const u=t[v(e.replace)?"replace":"push"](v(e.to)).catch(EM);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:I(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function AM(e){return e.length===1?e[0]:e}const Kv=ee({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:Gv,setup(e,{slots:t}){const n=wn(Gv(e)),{options:r}=$e(Vv),s=I(()=>({[Zv(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Zv(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&AM(t.default(n));return e.custom?o:hn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}});function TM(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 OM(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(!Qi(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Wv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Zv=(e,t,n)=>e??t??n;var Sc={};const RM={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
488
|
-
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""};var xc,Xv;function Yv(){return Xv||(Xv=1,xc=RM),xc}var Ac,Jv;function Tc(){return Jv||(Jv=1,Ac=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/),Ac}var Mo={},Oc,Qv;function IM(){if(Qv)return Oc;Qv=1;var e={};function t(r){var s,o,i=e[r];if(i)return i;for(i=e[r]=[],s=0;s<128;s++)o=String.fromCharCode(s),/^[0-9a-z]$/i.test(o)?i.push(o):i.push("%"+("0"+s.toString(16).toUpperCase()).slice(-2));for(s=0;s<r.length;s++)i[r.charCodeAt(s)]=r[s];return i}function n(r,s,o){var i,a,l,u,f,c="";for(typeof s!="string"&&(o=s,s=n.defaultChars),typeof o>"u"&&(o=!0),f=t(s),i=0,a=r.length;i<a;i++){if(l=r.charCodeAt(i),o&&l===37&&i+2<a&&/^[0-9a-f]{2}$/i.test(r.slice(i+1,i+3))){c+=r.slice(i,i+3),i+=2;continue}if(l<128){c+=f[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&i+1<a&&(u=r.charCodeAt(i+1),u>=56320&&u<=57343)){c+=encodeURIComponent(r[i]+r[i+1]),i++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(r[i])}return c}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",Oc=n,Oc}var Rc,eb;function MM(){if(eb)return Rc;eb=1;var e={};function t(r){var s,o,i=e[r];if(i)return i;for(i=e[r]=[],s=0;s<128;s++)o=String.fromCharCode(s),i.push(o);for(s=0;s<r.length;s++)o=r.charCodeAt(s),i[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2);return i}function n(r,s){var o;return typeof s!="string"&&(s=n.defaultChars),o=t(s),r.replace(/(%[a-f0-9]{2})+/gi,function(i){var a,l,u,f,c,p,d,m="";for(a=0,l=i.length;a<l;a+=3){if(u=parseInt(i.slice(a+1,a+3),16),u<128){m+=o[u];continue}if((u&224)===192&&a+3<l&&(f=parseInt(i.slice(a+4,a+6),16),(f&192)===128)){d=u<<6&1984|f&63,d<128?m+="��":m+=String.fromCharCode(d),a+=3;continue}if((u&240)===224&&a+6<l&&(f=parseInt(i.slice(a+4,a+6),16),c=parseInt(i.slice(a+7,a+9),16),(f&192)===128&&(c&192)===128)){d=u<<12&61440|f<<6&4032|c&63,d<2048||d>=55296&&d<=57343?m+="���":m+=String.fromCharCode(d),a+=6;continue}if((u&248)===240&&a+9<l&&(f=parseInt(i.slice(a+4,a+6),16),c=parseInt(i.slice(a+7,a+9),16),p=parseInt(i.slice(a+10,a+12),16),(f&192)===128&&(c&192)===128&&(p&192)===128)){d=u<<18&1835008|f<<12&258048|c<<6&4032|p&63,d<65536||d>1114111?m+="����":(d-=65536,m+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}m+="�"}return m})}return n.defaultChars=";/?:@&=+$,#",n.componentChars="",Rc=n,Rc}var Ic,tb;function LM(){return tb||(tb=1,Ic=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n}),Ic}var Mc,nb;function PM(){if(nb)return Mc;nb=1;function e(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var t=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,r=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r",`
|
|
489
|
-
`," "],o=["{","}","|","\\","^","`"].concat(s),i=["'"].concat(o),a=["%","/","?",";","#"].concat(i),l=["/","?","#"],u=255,f=/^[+a-z0-9A-Z_-]{0,63}$/,c=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function m(g,
|
|
490
|
-
`},r.fence=function(o,i,a,l,u){var f=o[i],c=f.info?t(f.info).trim():"",p="",d="",m,g,
|
|
491
|
-
`:c?(g=f.attrIndex("class"),h=f.attrs?f.attrs.slice():[],g<0?h.push(["class",a.langPrefix+p]):(h[g]=h[g].slice(),h[g][1]+=" "+a.langPrefix+p),
|
|
34
|
+
*/const qR=()=>{},Zi=Array.isArray;function gv(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function BR(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!FR(e[n],t[n]))return!1;return!0}function FR(e,t){return Zi(e)?mv(e,t):Zi(t)?mv(t,e):e===t}function mv(e,t){return Zi(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}var vv;(function(e){e.pop="pop",e.push="push"})(vv||(vv={}));var bv;(function(e){e.back="back",e.forward="forward",e.unknown=""})(bv||(bv={}));var _v;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_v||(_v={}));const yv=Symbol(""),zR=Symbol("");function wv(e){const t=De(yv),n=De(zR),r=O(()=>{const l=b(e.to);return t.resolve(l)}),s=O(()=>{const{matched:l}=r.value,{length:u}=l,f=l[u-1],c=n.matched;if(!f||!c.length)return-1;const p=c.findIndex(gv.bind(null,f));if(p>-1)return p;const d=Cv(l[u-2]);return u>1&&Cv(f)===d&&c[c.length-1].path!==d?c.findIndex(gv.bind(null,l[u-2])):p}),o=O(()=>s.value>-1&&VR(n.params,r.value.params)),i=O(()=>s.value>-1&&s.value===n.matched.length-1&&BR(n.params,r.value.params));function a(l={}){if(jR(l)){const u=t[b(e.replace)?"replace":"push"](b(e.to)).catch(qR);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:O(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function HR(e){return e.length===1?e[0]:e}const kv=ne({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:wv,setup(e,{slots:t}){const n=bn(wv(e)),{options:r}=De(yv),s=O(()=>({[xv(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[xv(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&HR(t.default(n));return e.custom?o:kn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}});function jR(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 VR(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(!Zi(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Cv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const xv=(e,t,n)=>e??t??n;var wc={};const UR={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
35
|
+
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""};var kc,Ev;function Sv(){return Ev||(Ev=1,kc=UR),kc}var Cc,Av;function xc(){return Av||(Av=1,Cc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/),Cc}var Mo={},Ec,Tv;function KR(){if(Tv)return Ec;Tv=1;var e={};function t(r){var s,o,i=e[r];if(i)return i;for(i=e[r]=[],s=0;s<128;s++)o=String.fromCharCode(s),/^[0-9a-z]$/i.test(o)?i.push(o):i.push("%"+("0"+s.toString(16).toUpperCase()).slice(-2));for(s=0;s<r.length;s++)i[r.charCodeAt(s)]=r[s];return i}function n(r,s,o){var i,a,l,u,f,c="";for(typeof s!="string"&&(o=s,s=n.defaultChars),typeof o>"u"&&(o=!0),f=t(s),i=0,a=r.length;i<a;i++){if(l=r.charCodeAt(i),o&&l===37&&i+2<a&&/^[0-9a-f]{2}$/i.test(r.slice(i+1,i+3))){c+=r.slice(i,i+3),i+=2;continue}if(l<128){c+=f[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&i+1<a&&(u=r.charCodeAt(i+1),u>=56320&&u<=57343)){c+=encodeURIComponent(r[i]+r[i+1]),i++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(r[i])}return c}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",Ec=n,Ec}var Sc,Mv;function GR(){if(Mv)return Sc;Mv=1;var e={};function t(r){var s,o,i=e[r];if(i)return i;for(i=e[r]=[],s=0;s<128;s++)o=String.fromCharCode(s),i.push(o);for(s=0;s<r.length;s++)o=r.charCodeAt(s),i[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2);return i}function n(r,s){var o;return typeof s!="string"&&(s=n.defaultChars),o=t(s),r.replace(/(%[a-f0-9]{2})+/gi,function(i){var a,l,u,f,c,p,d,m="";for(a=0,l=i.length;a<l;a+=3){if(u=parseInt(i.slice(a+1,a+3),16),u<128){m+=o[u];continue}if((u&224)===192&&a+3<l&&(f=parseInt(i.slice(a+4,a+6),16),(f&192)===128)){d=u<<6&1984|f&63,d<128?m+="��":m+=String.fromCharCode(d),a+=3;continue}if((u&240)===224&&a+6<l&&(f=parseInt(i.slice(a+4,a+6),16),c=parseInt(i.slice(a+7,a+9),16),(f&192)===128&&(c&192)===128)){d=u<<12&61440|f<<6&4032|c&63,d<2048||d>=55296&&d<=57343?m+="���":m+=String.fromCharCode(d),a+=6;continue}if((u&248)===240&&a+9<l&&(f=parseInt(i.slice(a+4,a+6),16),c=parseInt(i.slice(a+7,a+9),16),p=parseInt(i.slice(a+10,a+12),16),(f&192)===128&&(c&192)===128&&(p&192)===128)){d=u<<18&1835008|f<<12&258048|c<<6&4032|p&63,d<65536||d>1114111?m+="����":(d-=65536,m+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}m+="�"}return m})}return n.defaultChars=";/?:@&=+$,#",n.componentChars="",Sc=n,Sc}var Ac,Lv;function WR(){return Lv||(Lv=1,Ac=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n}),Ac}var Tc,$v;function ZR(){if($v)return Tc;$v=1;function e(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var t=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,r=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r",`
|
|
36
|
+
`," "],o=["{","}","|","\\","^","`"].concat(s),i=["'"].concat(o),a=["%","/","?",";","#"].concat(i),l=["/","?","#"],u=255,f=/^[+a-z0-9A-Z_-]{0,63}$/,c=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function m(g,C){if(g&&g instanceof e)return g;var h=new e;return h.parse(g,C),h}return e.prototype.parse=function(g,C){var h,k,y,_,S,x=g;if(x=x.trim(),!C&&g.split("#").length===1){var T=r.exec(x);if(T)return this.pathname=T[1],T[2]&&(this.search=T[2]),this}var L=t.exec(x);if(L&&(L=L[0],y=L.toLowerCase(),this.protocol=L,x=x.substr(L.length)),(C||L||x.match(/^\/\/[^@\/]+@[^@\/]+/))&&(S=x.substr(0,2)==="//",S&&!(L&&p[L])&&(x=x.substr(2),this.slashes=!0)),!p[L]&&(S||L&&!d[L])){var I=-1;for(h=0;h<l.length;h++)_=x.indexOf(l[h]),_!==-1&&(I===-1||_<I)&&(I=_);var P,N;for(I===-1?N=x.lastIndexOf("@"):N=x.lastIndexOf("@",I),N!==-1&&(P=x.slice(0,N),x=x.slice(N+1),this.auth=P),I=-1,h=0;h<a.length;h++)_=x.indexOf(a[h]),_!==-1&&(I===-1||_<I)&&(I=_);I===-1&&(I=x.length),x[I-1]===":"&&I--;var D=x.slice(0,I);x=x.slice(I),this.parseHost(D),this.hostname=this.hostname||"";var oe=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!oe){var B=this.hostname.split(/\./);for(h=0,k=B.length;h<k;h++){var K=B[h];if(K&&!K.match(f)){for(var F="",z=0,H=K.length;z<H;z++)K.charCodeAt(z)>127?F+="x":F+=K[z];if(!F.match(f)){var Q=B.slice(0,h),te=B.slice(h+1),Ae=K.match(c);Ae&&(Q.push(Ae[1]),te.unshift(Ae[2])),te.length&&(x=te.join(".")+x),this.hostname=Q.join(".");break}}}}this.hostname.length>u&&(this.hostname=""),oe&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var ve=x.indexOf("#");ve!==-1&&(this.hash=x.substr(ve),x=x.slice(0,ve));var Be=x.indexOf("?");return Be!==-1&&(this.search=x.substr(Be),x=x.slice(0,Be)),x&&(this.pathname=x),d[y]&&this.hostname&&!this.pathname&&(this.pathname=""),this},e.prototype.parseHost=function(g){var C=n.exec(g);C&&(C=C[0],C!==":"&&(this.port=C.substr(1)),g=g.substr(0,g.length-C.length)),g&&(this.hostname=g)},Tc=m,Tc}var Iv;function Rv(){return Iv||(Iv=1,Mo.encode=KR(),Mo.decode=GR(),Mo.format=WR(),Mo.parse=ZR()),Mo}var Qr={},Mc,Ov;function Pv(){return Ov||(Ov=1,Mc=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Mc}var Lc,Dv;function Nv(){return Dv||(Dv=1,Lc=/[\0-\x1F\x7F-\x9F]/),Lc}var $c,qv;function XR(){return qv||(qv=1,$c=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),$c}var Ic,Bv;function Fv(){return Bv||(Bv=1,Ic=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ic}var zv;function JR(){return zv||(zv=1,Qr.Any=Pv(),Qr.Cc=Nv(),Qr.Cf=XR(),Qr.P=xc(),Qr.Z=Fv()),Qr}var Hv;function Je(){return Hv||(Hv=1,function(e){function t(B){return Object.prototype.toString.call(B)}function n(B){return t(B)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(B,K){return r.call(B,K)}function o(B){var K=Array.prototype.slice.call(arguments,1);return K.forEach(function(F){if(F){if(typeof F!="object")throw new TypeError(F+"must be object");Object.keys(F).forEach(function(z){B[z]=F[z]})}}),B}function i(B,K,F){return[].concat(B.slice(0,K),F,B.slice(K+1))}function a(B){return!(B>=55296&&B<=57343||B>=64976&&B<=65007||(B&65535)===65535||(B&65535)===65534||B>=0&&B<=8||B===11||B>=14&&B<=31||B>=127&&B<=159||B>1114111)}function l(B){if(B>65535){B-=65536;var K=55296+(B>>10),F=56320+(B&1023);return String.fromCharCode(K,F)}return String.fromCharCode(B)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,f=/&([a-z#][a-z0-9]{1,31});/gi,c=new RegExp(u.source+"|"+f.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,d=Sv();function m(B,K){var F;return s(d,K)?d[K]:K.charCodeAt(0)===35&&p.test(K)&&(F=K[1].toLowerCase()==="x"?parseInt(K.slice(2),16):parseInt(K.slice(1),10),a(F))?l(F):B}function g(B){return B.indexOf("\\")<0?B:B.replace(u,"$1")}function C(B){return B.indexOf("\\")<0&&B.indexOf("&")<0?B:B.replace(c,function(K,F,z){return F||m(K,z)})}var h=/[&<>"]/,k=/[&<>"]/g,y={"&":"&","<":"<",">":">",'"':"""};function _(B){return y[B]}function S(B){return h.test(B)?B.replace(k,_):B}var x=/[.?*+^$[\]\\(){}|-]/g;function T(B){return B.replace(x,"\\$&")}function L(B){switch(B){case 9:case 32:return!0}return!1}function I(B){if(B>=8192&&B<=8202)return!0;switch(B){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var P=xc();function N(B){return P.test(B)}function D(B){switch(B){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function oe(B){return B=B.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(B=B.replace(/ẞ/g,"ß")),B.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Rv(),e.lib.ucmicro=JR(),e.assign=o,e.isString=n,e.has=s,e.unescapeMd=g,e.unescapeAll=C,e.isValidEntityCode=a,e.fromCodePoint=l,e.escapeHtml=S,e.arrayReplaceAt=i,e.isSpace=L,e.isWhiteSpace=I,e.isMdAsciiPunct=D,e.isPunctChar=N,e.escapeRE=T,e.normalizeReference=oe}(wc)),wc}var ks={},Rc,jv;function YR(){return jv||(jv=1,Rc=function(t,n,r){var s,o,i,a,l=-1,u=t.posMax,f=t.pos;for(t.pos=n+1,s=1;t.pos<u;){if(i=t.src.charCodeAt(t.pos),i===93&&(s--,s===0)){o=!0;break}if(a=t.pos,t.md.inline.skipToken(t),i===91){if(a===t.pos-1)s++;else if(r)return t.pos=f,-1}}return o&&(l=t.pos),t.pos=f,l}),Rc}var Oc,Vv;function QR(){if(Vv)return Oc;Vv=1;var e=Je().unescapeAll;return Oc=function(n,r,s){var o,i,a=r,l={ok:!1,pos:0,lines:0,str:""};if(n.charCodeAt(a)===60){for(a++;a<s;){if(o=n.charCodeAt(a),o===10||o===60)return l;if(o===62)return l.pos=a+1,l.str=e(n.slice(r+1,a)),l.ok=!0,l;if(o===92&&a+1<s){a+=2;continue}a++}return l}for(i=0;a<s&&(o=n.charCodeAt(a),!(o===32||o<32||o===127));){if(o===92&&a+1<s){if(n.charCodeAt(a+1)===32)break;a+=2;continue}if(o===40&&(i++,i>32))return l;if(o===41){if(i===0)break;i--}a++}return r===a||i!==0||(l.str=e(n.slice(r,a)),l.pos=a,l.ok=!0),l},Oc}var Pc,Uv;function eO(){if(Uv)return Pc;Uv=1;var e=Je().unescapeAll;return Pc=function(n,r,s){var o,i,a=0,l=r,u={ok:!1,pos:0,lines:0,str:""};if(l>=s||(i=n.charCodeAt(l),i!==34&&i!==39&&i!==40))return u;for(l++,i===40&&(i=41);l<s;){if(o=n.charCodeAt(l),o===i)return u.pos=l+1,u.lines=a,u.str=e(n.slice(r+1,l)),u.ok=!0,u;if(o===40&&i===41)return u;o===10?a++:o===92&&l+1<s&&(l++,n.charCodeAt(l)===10&&a++),l++}return u},Pc}var Kv;function tO(){return Kv||(Kv=1,ks.parseLinkLabel=YR(),ks.parseLinkDestination=QR(),ks.parseLinkTitle=eO()),ks}var Dc,Gv;function nO(){if(Gv)return Dc;Gv=1;var e=Je().assign,t=Je().unescapeAll,n=Je().escapeHtml,r={};r.code_inline=function(o,i,a,l,u){var f=o[i];return"<code"+u.renderAttrs(f)+">"+n(f.content)+"</code>"},r.code_block=function(o,i,a,l,u){var f=o[i];return"<pre"+u.renderAttrs(f)+"><code>"+n(o[i].content)+`</code></pre>
|
|
37
|
+
`},r.fence=function(o,i,a,l,u){var f=o[i],c=f.info?t(f.info).trim():"",p="",d="",m,g,C,h,k;return c&&(C=c.split(/(\s+)/g),p=C[0],d=C.slice(2).join("")),a.highlight?m=a.highlight(f.content,p,d)||n(f.content):m=n(f.content),m.indexOf("<pre")===0?m+`
|
|
38
|
+
`:c?(g=f.attrIndex("class"),h=f.attrs?f.attrs.slice():[],g<0?h.push(["class",a.langPrefix+p]):(h[g]=h[g].slice(),h[g][1]+=" "+a.langPrefix+p),k={attrs:h},"<pre><code"+u.renderAttrs(k)+">"+m+`</code></pre>
|
|
492
39
|
`):"<pre><code"+u.renderAttrs(f)+">"+m+`</code></pre>
|
|
493
40
|
`},r.image=function(o,i,a,l,u){var f=o[i];return f.attrs[f.attrIndex("alt")][1]=u.renderInlineAsText(f.children,a,l),u.renderToken(o,i,a)},r.hardbreak=function(o,i,a){return a.xhtmlOut?`<br />
|
|
494
41
|
`:`<br>
|
|
@@ -498,7 +45,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`),wt=ae,it=xe),ze===void
|
|
|
498
45
|
`},r.text=function(o,i){return n(o[i].content)},r.html_block=function(o,i){return o[i].content},r.html_inline=function(o,i){return o[i].content};function s(){this.rules=e({},r)}return s.prototype.renderAttrs=function(i){var a,l,u;if(!i.attrs)return"";for(u="",a=0,l=i.attrs.length;a<l;a++)u+=" "+n(i.attrs[a][0])+'="'+n(i.attrs[a][1])+'"';return u},s.prototype.renderToken=function(i,a,l){var u,f="",c=!1,p=i[a];return p.hidden?"":(p.block&&p.nesting!==-1&&a&&i[a-1].hidden&&(f+=`
|
|
499
46
|
`),f+=(p.nesting===-1?"</":"<")+p.tag,f+=this.renderAttrs(p),p.nesting===0&&l.xhtmlOut&&(f+=" /"),p.block&&(c=!0,p.nesting===1&&a+1<i.length&&(u=i[a+1],(u.type==="inline"||u.hidden||u.nesting===-1&&u.tag===p.tag)&&(c=!1))),f+=c?`>
|
|
500
47
|
`:">",f)},s.prototype.renderInline=function(o,i,a){for(var l,u="",f=this.rules,c=0,p=o.length;c<p;c++)l=o[c].type,typeof f[l]<"u"?u+=f[l](o,c,i,a,this):u+=this.renderToken(o,c,i);return u},s.prototype.renderInlineAsText=function(o,i,a){for(var l="",u=0,f=o.length;u<f;u++)o[u].type==="text"?l+=o[u].content:o[u].type==="image"?l+=this.renderInlineAsText(o[u].children,i,a):o[u].type==="softbreak"&&(l+=`
|
|
501
|
-
`);return l},s.prototype.render=function(o,i,a){var l,u,f,c="",p=this.rules;for(l=0,u=o.length;l<u;l++)f=o[l].type,f==="inline"?c+=this.renderInline(o[l].children,i,a):typeof p[f]<"u"?c+=p[f](o,l,i,a,this):c+=this.renderToken(o,l,i,a);return c},
|
|
502
|
-
`),s=s.replace(t,"�"),r.src=s},
|
|
503
|
-
`,i.map=[n,t.line],!0}),tu}var nu,Mb;function QM(){return Mb||(Mb=1,nu=function(t,n,r,s){var o,i,a,l,u,f,c,p=!1,d=t.bMarks[n]+t.tShift[n],m=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||d+3>m||(o=t.src.charCodeAt(d),o!==126&&o!==96)||(u=d,d=t.skipChars(d,o),i=d-u,i<3)||(c=t.src.slice(u,d),a=t.src.slice(d,m),o===96&&a.indexOf(String.fromCharCode(o))>=0))return!1;if(s)return!0;for(l=n;l++,!(l>=r||(d=u=t.bMarks[l]+t.tShift[l],m=t.eMarks[l],d<m&&t.sCount[l]<t.blkIndent));)if(t.src.charCodeAt(d)===o&&!(t.sCount[l]-t.blkIndent>=4)&&(d=t.skipChars(d,o),!(d-u<i)&&(d=t.skipSpaces(d),!(d<m)))){p=!0;break}return i=t.sCount[n],t.line=l+(p?1:0),f=t.push("fence","code",0),f.info=a,f.content=t.getLines(n+1,l,i,!0),f.markup=c,f.map=[n,t.line],!0}),nu}var ru,Lb;function eL(){if(Lb)return ru;Lb=1;var e=Je().isSpace;return ru=function(n,r,s,o){var i,a,l,u,f,c,p,d,m,g,w,h,_,y,b,C,k,S,A,R,L=n.lineMax,D=n.bMarks[r]+n.tShift[r],P=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||n.src.charCodeAt(D)!==62)return!1;if(o)return!0;for(g=[],w=[],y=[],b=[],S=n.md.block.ruler.getRules("blockquote"),_=n.parentType,n.parentType="blockquote",d=r;d<s&&(R=n.sCount[d]<n.blkIndent,D=n.bMarks[d]+n.tShift[d],P=n.eMarks[d],!(D>=P));d++){if(n.src.charCodeAt(D++)===62&&!R){for(u=n.sCount[d]+1,n.src.charCodeAt(D)===32?(D++,u++,i=!1,C=!0):n.src.charCodeAt(D)===9?(C=!0,(n.bsCount[d]+u)%4===3?(D++,u++,i=!1):i=!0):C=!1,m=u,g.push(n.bMarks[d]),n.bMarks[d]=D;D<P&&(a=n.src.charCodeAt(D),e(a));){a===9?m+=4-(m+n.bsCount[d]+(i?1:0))%4:m++;D++}c=D>=P,w.push(n.bsCount[d]),n.bsCount[d]=n.sCount[d]+1+(C?1:0),y.push(n.sCount[d]),n.sCount[d]=m-u,b.push(n.tShift[d]),n.tShift[d]=D-n.bMarks[d];continue}if(c)break;for(k=!1,l=0,f=S.length;l<f;l++)if(S[l](n,d,s,!0)){k=!0;break}if(k){n.lineMax=d,n.blkIndent!==0&&(g.push(n.bMarks[d]),w.push(n.bsCount[d]),b.push(n.tShift[d]),y.push(n.sCount[d]),n.sCount[d]-=n.blkIndent);break}g.push(n.bMarks[d]),w.push(n.bsCount[d]),b.push(n.tShift[d]),y.push(n.sCount[d]),n.sCount[d]=-1}for(h=n.blkIndent,n.blkIndent=0,A=n.push("blockquote_open","blockquote",1),A.markup=">",A.map=p=[r,0],n.md.block.tokenize(n,r,d),A=n.push("blockquote_close","blockquote",-1),A.markup=">",n.lineMax=L,n.parentType=_,p[1]=n.line,l=0;l<b.length;l++)n.bMarks[l+r]=g[l],n.tShift[l+r]=b[l],n.sCount[l+r]=y[l],n.bsCount[l+r]=w[l];return n.blkIndent=h,!0},ru}var ou,Pb;function tL(){if(Pb)return ou;Pb=1;var e=Je().isSpace;return ou=function(n,r,s,o){var i,a,l,u,f=n.bMarks[r]+n.tShift[r],c=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||(i=n.src.charCodeAt(f++),i!==42&&i!==45&&i!==95))return!1;for(a=1;f<c;){if(l=n.src.charCodeAt(f++),l!==i&&!e(l))return!1;l===i&&a++}return a<3?!1:(o||(n.line=r+1,u=n.push("hr","hr",0),u.map=[r,n.line],u.markup=Array(a+1).join(String.fromCharCode(i))),!0)},ou}var su,Db;function nL(){if(Db)return su;Db=1;var e=Je().isSpace;function t(s,o){var i,a,l,u;return a=s.bMarks[o]+s.tShift[o],l=s.eMarks[o],i=s.src.charCodeAt(a++),i!==42&&i!==45&&i!==43||a<l&&(u=s.src.charCodeAt(a),!e(u))?-1:a}function n(s,o){var i,a=s.bMarks[o]+s.tShift[o],l=a,u=s.eMarks[o];if(l+1>=u||(i=s.src.charCodeAt(l++),i<48||i>57))return-1;for(;;){if(l>=u)return-1;if(i=s.src.charCodeAt(l++),i>=48&&i<=57){if(l-a>=10)return-1;continue}if(i===41||i===46)break;return-1}return l<u&&(i=s.src.charCodeAt(l),!e(i))?-1:l}function r(s,o){var i,a,l=s.level+2;for(i=o+2,a=s.tokens.length-2;i<a;i++)s.tokens[i].level===l&&s.tokens[i].type==="paragraph_open"&&(s.tokens[i+2].hidden=!0,s.tokens[i].hidden=!0,i+=2)}return su=function(o,i,a,l){var u,f,c,p,d,m,g,w,h,_,y,b,C,k,S,A,R,L,D,P,oe,N,j,q,F,B,J,te=i,Ae=!1,ve=!0;if(o.sCount[te]-o.blkIndent>=4||o.listIndent>=0&&o.sCount[te]-o.listIndent>=4&&o.sCount[te]<o.blkIndent)return!1;if(l&&o.parentType==="paragraph"&&o.sCount[te]>=o.blkIndent&&(Ae=!0),(N=n(o,te))>=0){if(g=!0,q=o.bMarks[te]+o.tShift[te],C=Number(o.src.slice(q,N-1)),Ae&&C!==1)return!1}else if((N=t(o,te))>=0)g=!1;else return!1;if(Ae&&o.skipSpaces(N)>=o.eMarks[te])return!1;if(l)return!0;for(b=o.src.charCodeAt(N-1),y=o.tokens.length,g?(J=o.push("ordered_list_open","ol",1),C!==1&&(J.attrs=[["start",C]])):J=o.push("bullet_list_open","ul",1),J.map=_=[te,0],J.markup=String.fromCharCode(b),j=!1,B=o.md.block.ruler.getRules("list"),R=o.parentType,o.parentType="list";te<a;){for(oe=N,k=o.eMarks[te],m=S=o.sCount[te]+N-(o.bMarks[te]+o.tShift[te]);oe<k;){if(u=o.src.charCodeAt(oe),u===9)S+=4-(S+o.bsCount[te])%4;else if(u===32)S++;else break;oe++}if(f=oe,f>=k?d=1:d=S-m,d>4&&(d=1),p=m+d,J=o.push("list_item_open","li",1),J.markup=String.fromCharCode(b),J.map=w=[te,0],g&&(J.info=o.src.slice(q,N-1)),P=o.tight,D=o.tShift[te],L=o.sCount[te],A=o.listIndent,o.listIndent=o.blkIndent,o.blkIndent=p,o.tight=!0,o.tShift[te]=f-o.bMarks[te],o.sCount[te]=S,f>=k&&o.isEmpty(te+1)?o.line=Math.min(o.line+2,a):o.md.block.tokenize(o,te,a,!0),(!o.tight||j)&&(ve=!1),j=o.line-te>1&&o.isEmpty(o.line-1),o.blkIndent=o.listIndent,o.listIndent=A,o.tShift[te]=D,o.sCount[te]=L,o.tight=P,J=o.push("list_item_close","li",-1),J.markup=String.fromCharCode(b),te=o.line,w[1]=te,te>=a||o.sCount[te]<o.blkIndent||o.sCount[te]-o.blkIndent>=4)break;for(F=!1,c=0,h=B.length;c<h;c++)if(B[c](o,te,a,!0)){F=!0;break}if(F)break;if(g){if(N=n(o,te),N<0)break;q=o.bMarks[te]+o.tShift[te]}else if(N=t(o,te),N<0)break;if(b!==o.src.charCodeAt(N-1))break}return g?J=o.push("ordered_list_close","ol",-1):J=o.push("bullet_list_close","ul",-1),J.markup=String.fromCharCode(b),_[1]=te,o.line=te,o.parentType=R,ve&&r(o,y),!0},su}var iu,$b;function rL(){if($b)return iu;$b=1;var e=Je().normalizeReference,t=Je().isSpace;return iu=function(r,s,o,i){var a,l,u,f,c,p,d,m,g,w,h,_,y,b,C,k,S=0,A=r.bMarks[s]+r.tShift[s],R=r.eMarks[s],L=s+1;if(r.sCount[s]-r.blkIndent>=4||r.src.charCodeAt(A)!==91)return!1;for(;++A<R;)if(r.src.charCodeAt(A)===93&&r.src.charCodeAt(A-1)!==92){if(A+1===R||r.src.charCodeAt(A+1)!==58)return!1;break}for(f=r.lineMax,C=r.md.block.ruler.getRules("reference"),w=r.parentType,r.parentType="reference";L<f&&!r.isEmpty(L);L++)if(!(r.sCount[L]-r.blkIndent>3)&&!(r.sCount[L]<0)){for(b=!1,p=0,d=C.length;p<d;p++)if(C[p](r,L,f,!0)){b=!0;break}if(b)break}for(y=r.getLines(s,L,r.blkIndent,!1).trim(),R=y.length,A=1;A<R;A++){if(a=y.charCodeAt(A),a===91)return!1;if(a===93){g=A;break}else a===10?S++:a===92&&(A++,A<R&&y.charCodeAt(A)===10&&S++)}if(g<0||y.charCodeAt(g+1)!==58)return!1;for(A=g+2;A<R;A++)if(a=y.charCodeAt(A),a===10)S++;else if(!t(a))break;if(h=r.md.helpers.parseLinkDestination(y,A,R),!h.ok||(c=r.md.normalizeLink(h.str),!r.md.validateLink(c)))return!1;for(A=h.pos,S+=h.lines,l=A,u=S,_=A;A<R;A++)if(a=y.charCodeAt(A),a===10)S++;else if(!t(a))break;for(h=r.md.helpers.parseLinkTitle(y,A,R),A<R&&_!==A&&h.ok?(k=h.str,A=h.pos,S+=h.lines):(k="",A=l,S=u);A<R&&(a=y.charCodeAt(A),!!t(a));)A++;if(A<R&&y.charCodeAt(A)!==10&&k)for(k="",A=l,S=u;A<R&&(a=y.charCodeAt(A),!!t(a));)A++;return A<R&&y.charCodeAt(A)!==10||(m=e(y.slice(1,g)),!m)?!1:(i||(typeof r.env.references>"u"&&(r.env.references={}),typeof r.env.references[m]>"u"&&(r.env.references[m]={title:k,href:c}),r.parentType=w,r.line=s+S+1),!0)},iu}var au,Nb;function oL(){return Nb||(Nb=1,au=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]),au}var ea={},qb;function Fb(){if(qb)return ea;qb=1;var e="[a-zA-Z_:][a-zA-Z0-9:._-]*",t="[^\"'=<>`\\x00-\\x20]+",n="'[^']*'",r='"[^"]*"',s="(?:"+t+"|"+n+"|"+r+")",o="(?:\\s+"+e+"(?:\\s*=\\s*"+s+")?)",i="<[A-Za-z][A-Za-z0-9\\-]*"+o+"*\\s*\\/?>",a="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",l="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",u="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",c="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",p=new RegExp("^(?:"+i+"|"+a+"|"+l+"|"+u+"|"+f+"|"+c+")"),d=new RegExp("^(?:"+i+"|"+a+")");return ea.HTML_TAG_RE=p,ea.HTML_OPEN_CLOSE_TAG_RE=d,ea}var lu,Bb;function sL(){if(Bb)return lu;Bb=1;var e=oL(),t=Fb().HTML_OPEN_CLOSE_TAG_RE,n=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+e.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(t.source+"\\s*$"),/^$/,!1]];return lu=function(s,o,i,a){var l,u,f,c,p=s.bMarks[o]+s.tShift[o],d=s.eMarks[o];if(s.sCount[o]-s.blkIndent>=4||!s.md.options.html||s.src.charCodeAt(p)!==60)return!1;for(c=s.src.slice(p,d),l=0;l<n.length&&!n[l][0].test(c);l++);if(l===n.length)return!1;if(a)return n[l][2];if(u=o+1,!n[l][1].test(c)){for(;u<i&&!(s.sCount[u]<s.blkIndent);u++)if(p=s.bMarks[u]+s.tShift[u],d=s.eMarks[u],c=s.src.slice(p,d),n[l][1].test(c)){c.length!==0&&u++;break}}return s.line=u,f=s.push("html_block","",0),f.map=[o,u],f.content=s.getLines(o,u,s.blkIndent,!0),!0},lu}var cu,zb;function iL(){if(zb)return cu;zb=1;var e=Je().isSpace;return cu=function(n,r,s,o){var i,a,l,u,f=n.bMarks[r]+n.tShift[r],c=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||(i=n.src.charCodeAt(f),i!==35||f>=c))return!1;for(a=1,i=n.src.charCodeAt(++f);i===35&&f<c&&a<=6;)a++,i=n.src.charCodeAt(++f);return a>6||f<c&&!e(i)?!1:(o||(c=n.skipSpacesBack(c,f),l=n.skipCharsBack(c,35,f),l>f&&e(n.src.charCodeAt(l-1))&&(c=l),n.line=r+1,u=n.push("heading_open","h"+String(a),1),u.markup="########".slice(0,a),u.map=[r,n.line],u=n.push("inline","",0),u.content=n.src.slice(f,c).trim(),u.map=[r,n.line],u.children=[],u=n.push("heading_close","h"+String(a),-1),u.markup="########".slice(0,a)),!0)},cu}var uu,Hb;function aL(){return Hb||(Hb=1,uu=function(t,n,r){var s,o,i,a,l,u,f,c,p,d=n+1,m,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(m=t.parentType,t.parentType="paragraph";d<r&&!t.isEmpty(d);d++)if(!(t.sCount[d]-t.blkIndent>3)){if(t.sCount[d]>=t.blkIndent&&(u=t.bMarks[d]+t.tShift[d],f=t.eMarks[d],u<f&&(p=t.src.charCodeAt(u),(p===45||p===61)&&(u=t.skipChars(u,p),u=t.skipSpaces(u),u>=f)))){c=p===61?1:2;break}if(!(t.sCount[d]<0)){for(o=!1,i=0,a=g.length;i<a;i++)if(g[i](t,d,r,!0)){o=!0;break}if(o)break}}return c?(s=t.getLines(n,d,t.blkIndent,!1).trim(),t.line=d+1,l=t.push("heading_open","h"+String(c),1),l.markup=String.fromCharCode(p),l.map=[n,t.line],l=t.push("inline","",0),l.content=s,l.map=[n,t.line-1],l.children=[],l=t.push("heading_close","h"+String(c),-1),l.markup=String.fromCharCode(p),t.parentType=m,!0):!1}),uu}var fu,Ub;function lL(){return Ub||(Ub=1,fu=function(t,n,r){var s,o,i,a,l,u,f=n+1,c=t.md.block.ruler.getRules("paragraph");for(u=t.parentType,t.parentType="paragraph";f<r&&!t.isEmpty(f);f++)if(!(t.sCount[f]-t.blkIndent>3)&&!(t.sCount[f]<0)){for(o=!1,i=0,a=c.length;i<a;i++)if(c[i](t,f,r,!0)){o=!0;break}if(o)break}return s=t.getLines(n,f,t.blkIndent,!1).trim(),t.line=f,l=t.push("paragraph_open","p",1),l.map=[n,t.line],l=t.push("inline","",0),l.content=s,l.map=[n,t.line],l.children=[],l=t.push("paragraph_close","p",-1),t.parentType=u,!0}),fu}var du,jb;function cL(){if(jb)return du;jb=1;var e=Yc(),t=Je().isSpace;function n(r,s,o,i){var a,l,u,f,c,p,d,m;for(this.src=r,this.md=s,this.env=o,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",l=this.src,m=!1,u=f=p=d=0,c=l.length;f<c;f++){if(a=l.charCodeAt(f),!m)if(t(a)){p++,a===9?d+=4-d%4:d++;continue}else m=!0;(a===10||f===c-1)&&(a!==10&&f++,this.bMarks.push(u),this.eMarks.push(f),this.tShift.push(p),this.sCount.push(d),this.bsCount.push(0),m=!1,p=0,d=0,u=f+1)}this.bMarks.push(l.length),this.eMarks.push(l.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}return n.prototype.push=function(r,s,o){var i=new e(r,s,o);return i.block=!0,o<0&&this.level--,i.level=this.level,o>0&&this.level++,this.tokens.push(i),i},n.prototype.isEmpty=function(s){return this.bMarks[s]+this.tShift[s]>=this.eMarks[s]},n.prototype.skipEmptyLines=function(s){for(var o=this.lineMax;s<o&&!(this.bMarks[s]+this.tShift[s]<this.eMarks[s]);s++);return s},n.prototype.skipSpaces=function(s){for(var o,i=this.src.length;s<i&&(o=this.src.charCodeAt(s),!!t(o));s++);return s},n.prototype.skipSpacesBack=function(s,o){if(s<=o)return s;for(;s>o;)if(!t(this.src.charCodeAt(--s)))return s+1;return s},n.prototype.skipChars=function(s,o){for(var i=this.src.length;s<i&&this.src.charCodeAt(s)===o;s++);return s},n.prototype.skipCharsBack=function(s,o,i){if(s<=i)return s;for(;s>i;)if(o!==this.src.charCodeAt(--s))return s+1;return s},n.prototype.getLines=function(s,o,i,a){var l,u,f,c,p,d,m,g=s;if(s>=o)return"";for(d=new Array(o-s),l=0;g<o;g++,l++){for(u=0,m=c=this.bMarks[g],g+1<o||a?p=this.eMarks[g]+1:p=this.eMarks[g];c<p&&u<i;){if(f=this.src.charCodeAt(c),t(f))f===9?u+=4-(u+this.bsCount[g])%4:u++;else if(c-m<this.tShift[g])u++;else break;c++}u>i?d[l]=new Array(u-i+1).join(" ")+this.src.slice(c,p):d[l]=this.src.slice(c,p)}return d.join("")},n.prototype.Token=e,du=n,du}var pu,Vb;function uL(){if(Vb)return pu;Vb=1;var e=Hc(),t=[["table",YM(),["paragraph","reference"]],["code",JM()],["fence",QM(),["paragraph","reference","blockquote","list"]],["blockquote",eL(),["paragraph","reference","blockquote","list"]],["hr",tL(),["paragraph","reference","blockquote","list"]],["list",nL(),["paragraph","reference","blockquote"]],["reference",rL()],["html_block",sL(),["paragraph","reference","blockquote"]],["heading",iL(),["paragraph","reference","blockquote"]],["lheading",aL()],["paragraph",lL()]];function n(){this.ruler=new e;for(var r=0;r<t.length;r++)this.ruler.push(t[r][0],t[r][1],{alt:(t[r][2]||[]).slice()})}return n.prototype.tokenize=function(r,s,o){for(var i,a,l,u=this.ruler.getRules(""),f=u.length,c=s,p=!1,d=r.md.options.maxNesting;c<o&&(r.line=c=r.skipEmptyLines(c),!(c>=o||r.sCount[c]<r.blkIndent));){if(r.level>=d){r.line=o;break}for(l=r.line,a=0;a<f;a++)if(i=u[a](r,c,o,!1),i){if(l>=r.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");r.tight=!p,r.isEmpty(r.line-1)&&(p=!0),c=r.line,c<o&&r.isEmpty(c)&&(p=!0,c++,r.line=c)}},n.prototype.parse=function(r,s,o,i){var a;r&&(a=new this.State(r,s,o,i),this.tokenize(a,a.line,a.lineMax))},n.prototype.State=cL(),pu=n,pu}var hu,Gb;function fL(){if(Gb)return hu;Gb=1;function e(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}return hu=function(n,r){for(var s=n.pos;s<n.posMax&&!e(n.src.charCodeAt(s));)s++;return s===n.pos?!1:(r||(n.pending+=n.src.slice(n.pos,s)),n.pos=s,!0)},hu}var gu,Kb;function dL(){if(Kb)return gu;Kb=1;var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;return gu=function(n,r){var s,o,i,a,l,u,f,c;return!n.md.options.linkify||n.linkLevel>0||(s=n.pos,o=n.posMax,s+3>o)||n.src.charCodeAt(s)!==58||n.src.charCodeAt(s+1)!==47||n.src.charCodeAt(s+2)!==47||(i=n.pending.match(e),!i)||(a=i[1],l=n.md.linkify.matchAtStart(n.src.slice(s-a.length)),!l)||(u=l.url,u.length<=a.length)||(u=u.replace(/\*+$/,""),f=n.md.normalizeLink(u),!n.md.validateLink(f))?!1:(r||(n.pending=n.pending.slice(0,-a.length),c=n.push("link_open","a",1),c.attrs=[["href",f]],c.markup="linkify",c.info="auto",c=n.push("text","",0),c.content=n.md.normalizeLinkText(u),c=n.push("link_close","a",-1),c.markup="linkify",c.info="auto"),n.pos+=u.length-a.length,!0)},gu}var mu,Wb;function pL(){if(Wb)return mu;Wb=1;var e=Je().isSpace;return mu=function(n,r){var s,o,i,a=n.pos;if(n.src.charCodeAt(a)!==10)return!1;if(s=n.pending.length-1,o=n.posMax,!r)if(s>=0&&n.pending.charCodeAt(s)===32)if(s>=1&&n.pending.charCodeAt(s-1)===32){for(i=s-1;i>=1&&n.pending.charCodeAt(i-1)===32;)i--;n.pending=n.pending.slice(0,i),n.push("hardbreak","br",0)}else n.pending=n.pending.slice(0,-1),n.push("softbreak","br",0);else n.push("softbreak","br",0);for(a++;a<o&&e(n.src.charCodeAt(a));)a++;return n.pos=a,!0},mu}var vu,Zb;function hL(){if(Zb)return vu;Zb=1;for(var e=Je().isSpace,t=[],n=0;n<256;n++)t.push(0);return"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(r){t[r.charCodeAt(0)]=1}),vu=function(s,o){var i,a,l,u,f,c=s.pos,p=s.posMax;if(s.src.charCodeAt(c)!==92||(c++,c>=p))return!1;if(i=s.src.charCodeAt(c),i===10){for(o||s.push("hardbreak","br",0),c++;c<p&&(i=s.src.charCodeAt(c),!!e(i));)c++;return s.pos=c,!0}return u=s.src[c],i>=55296&&i<=56319&&c+1<p&&(a=s.src.charCodeAt(c+1),a>=56320&&a<=57343&&(u+=s.src[c+1],c++)),l="\\"+u,o||(f=s.push("text_special","",0),i<256&&t[i]!==0?f.content=u:f.content=l,f.markup=l,f.info="escape"),s.pos=c+1,!0},vu}var bu,Xb;function gL(){return Xb||(Xb=1,bu=function(t,n){var r,s,o,i,a,l,u,f,c=t.pos,p=t.src.charCodeAt(c);if(p!==96)return!1;for(r=c,c++,s=t.posMax;c<s&&t.src.charCodeAt(c)===96;)c++;if(o=t.src.slice(r,c),u=o.length,t.backticksScanned&&(t.backticks[u]||0)<=r)return n||(t.pending+=o),t.pos+=u,!0;for(l=c;(a=t.src.indexOf("`",l))!==-1;){for(l=a+1;l<s&&t.src.charCodeAt(l)===96;)l++;if(f=l-a,f===u)return n||(i=t.push("code_inline","code",0),i.markup=o,i.content=t.src.slice(c,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=l,!0;t.backticks[f]=a}return t.backticksScanned=!0,n||(t.pending+=o),t.pos+=u,!0}),bu}var ta={},Yb;function Jb(){if(Yb)return ta;Yb=1,ta.tokenize=function(n,r){var s,o,i,a,l,u=n.pos,f=n.src.charCodeAt(u);if(r||f!==126||(o=n.scanDelims(n.pos,!0),a=o.length,l=String.fromCharCode(f),a<2))return!1;for(a%2&&(i=n.push("text","",0),i.content=l,a--),s=0;s<a;s+=2)i=n.push("text","",0),i.content=l+l,n.delimiters.push({marker:f,length:0,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return n.pos+=o.length,!0};function e(t,n){var r,s,o,i,a,l=[],u=n.length;for(r=0;r<u;r++)o=n[r],o.marker===126&&o.end!==-1&&(i=n[o.end],a=t.tokens[o.token],a.type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",a=t.tokens[i.token],a.type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="",t.tokens[i.token-1].type==="text"&&t.tokens[i.token-1].content==="~"&&l.push(i.token-1));for(;l.length;){for(r=l.pop(),s=r+1;s<t.tokens.length&&t.tokens[s].type==="s_close";)s++;s--,r!==s&&(a=t.tokens[s],t.tokens[s]=t.tokens[r],t.tokens[r]=a)}}return ta.postProcess=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n,n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(n,s[r].delimiters)},ta}var na={},Qb;function e0(){if(Qb)return na;Qb=1,na.tokenize=function(n,r){var s,o,i,a=n.pos,l=n.src.charCodeAt(a);if(r||l!==95&&l!==42)return!1;for(o=n.scanDelims(n.pos,l===42),s=0;s<o.length;s++)i=n.push("text","",0),i.content=String.fromCharCode(l),n.delimiters.push({marker:l,length:o.length,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return n.pos+=o.length,!0};function e(t,n){var r,s,o,i,a,l,u=n.length;for(r=u-1;r>=0;r--)s=n[r],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=n[s.end],l=r>0&&n[r-1].end===s.end+1&&n[r-1].marker===s.marker&&n[r-1].token===s.token-1&&n[s.end+1].token===o.token+1,a=String.fromCharCode(s.marker),i=t.tokens[s.token],i.type=l?"strong_open":"em_open",i.tag=l?"strong":"em",i.nesting=1,i.markup=l?a+a:a,i.content="",i=t.tokens[o.token],i.type=l?"strong_close":"em_close",i.tag=l?"strong":"em",i.nesting=-1,i.markup=l?a+a:a,i.content="",l&&(t.tokens[n[r-1].token].content="",t.tokens[n[s.end+1].token].content="",r--))}return na.postProcess=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n,n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(n,s[r].delimiters)},na}var yu,t0;function mL(){if(t0)return yu;t0=1;var e=Je().normalizeReference,t=Je().isSpace;return yu=function(r,s){var o,i,a,l,u,f,c,p,d,m="",g="",w=r.pos,h=r.posMax,_=r.pos,y=!0;if(r.src.charCodeAt(r.pos)!==91||(u=r.pos+1,l=r.md.helpers.parseLinkLabel(r,r.pos,!0),l<0))return!1;if(f=l+1,f<h&&r.src.charCodeAt(f)===40){for(y=!1,f++;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(f>=h)return!1;if(_=f,c=r.md.helpers.parseLinkDestination(r.src,f,r.posMax),c.ok){for(m=r.md.normalizeLink(c.str),r.md.validateLink(m)?f=c.pos:m="",_=f;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(c=r.md.helpers.parseLinkTitle(r.src,f,r.posMax),f<h&&_!==f&&c.ok)for(g=c.str,f=c.pos;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);}(f>=h||r.src.charCodeAt(f)!==41)&&(y=!0),f++}if(y){if(typeof r.env.references>"u")return!1;if(f<h&&r.src.charCodeAt(f)===91?(_=f+1,f=r.md.helpers.parseLinkLabel(r,f),f>=0?a=r.src.slice(_,f++):f=l+1):f=l+1,a||(a=r.src.slice(u,l)),p=r.env.references[e(a)],!p)return r.pos=w,!1;m=p.href,g=p.title}return s||(r.pos=u,r.posMax=l,d=r.push("link_open","a",1),d.attrs=o=[["href",m]],g&&o.push(["title",g]),r.linkLevel++,r.md.inline.tokenize(r),r.linkLevel--,d=r.push("link_close","a",-1)),r.pos=f,r.posMax=h,!0},yu}var _u,n0;function vL(){if(n0)return _u;n0=1;var e=Je().normalizeReference,t=Je().isSpace;return _u=function(r,s){var o,i,a,l,u,f,c,p,d,m,g,w,h,_="",y=r.pos,b=r.posMax;if(r.src.charCodeAt(r.pos)!==33||r.src.charCodeAt(r.pos+1)!==91||(f=r.pos+2,u=r.md.helpers.parseLinkLabel(r,r.pos+1,!1),u<0))return!1;if(c=u+1,c<b&&r.src.charCodeAt(c)===40){for(c++;c<b&&(i=r.src.charCodeAt(c),!(!t(i)&&i!==10));c++);if(c>=b)return!1;for(h=c,d=r.md.helpers.parseLinkDestination(r.src,c,r.posMax),d.ok&&(_=r.md.normalizeLink(d.str),r.md.validateLink(_)?c=d.pos:_=""),h=c;c<b&&(i=r.src.charCodeAt(c),!(!t(i)&&i!==10));c++);if(d=r.md.helpers.parseLinkTitle(r.src,c,r.posMax),c<b&&h!==c&&d.ok)for(m=d.str,c=d.pos;c<b&&(i=r.src.charCodeAt(c),!(!t(i)&&i!==10));c++);else m="";if(c>=b||r.src.charCodeAt(c)!==41)return r.pos=y,!1;c++}else{if(typeof r.env.references>"u")return!1;if(c<b&&r.src.charCodeAt(c)===91?(h=c+1,c=r.md.helpers.parseLinkLabel(r,c),c>=0?l=r.src.slice(h,c++):c=u+1):c=u+1,l||(l=r.src.slice(f,u)),p=r.env.references[e(l)],!p)return r.pos=y,!1;_=p.href,m=p.title}return s||(a=r.src.slice(f,u),r.md.inline.parse(a,r.md,r.env,w=[]),g=r.push("image","img",0),g.attrs=o=[["src",_],["alt",""]],g.children=w,g.content=a,m&&o.push(["title",m])),r.pos=c,r.posMax=b,!0},_u}var wu,r0;function bL(){if(r0)return wu;r0=1;var e=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,t=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;return wu=function(r,s){var o,i,a,l,u,f,c=r.pos;if(r.src.charCodeAt(c)!==60)return!1;for(u=r.pos,f=r.posMax;;){if(++c>=f||(l=r.src.charCodeAt(c),l===60))return!1;if(l===62)break}return o=r.src.slice(u+1,c),t.test(o)?(i=r.md.normalizeLink(o),r.md.validateLink(i)?(s||(a=r.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=r.push("text","",0),a.content=r.md.normalizeLinkText(o),a=r.push("link_close","a",-1),a.markup="autolink",a.info="auto"),r.pos+=o.length+2,!0):!1):e.test(o)?(i=r.md.normalizeLink("mailto:"+o),r.md.validateLink(i)?(s||(a=r.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=r.push("text","",0),a.content=r.md.normalizeLinkText(o),a=r.push("link_close","a",-1),a.markup="autolink",a.info="auto"),r.pos+=o.length+2,!0):!1):!1},wu}var ku,o0;function yL(){if(o0)return ku;o0=1;var e=Fb().HTML_TAG_RE;function t(s){return/^<a[>\s]/i.test(s)}function n(s){return/^<\/a\s*>/i.test(s)}function r(s){var o=s|32;return o>=97&&o<=122}return ku=function(o,i){var a,l,u,f,c=o.pos;return!o.md.options.html||(u=o.posMax,o.src.charCodeAt(c)!==60||c+2>=u)||(a=o.src.charCodeAt(c+1),a!==33&&a!==63&&a!==47&&!r(a))||(l=o.src.slice(c).match(e),!l)?!1:(i||(f=o.push("html_inline","",0),f.content=l[0],t(f.content)&&o.linkLevel++,n(f.content)&&o.linkLevel--),o.pos+=l[0].length,!0)},ku}var Eu,s0;function _L(){if(s0)return Eu;s0=1;var e=Yv(),t=Je().has,n=Je().isValidEntityCode,r=Je().fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,o=/^&([a-z][a-z0-9]{1,31});/i;return Eu=function(a,l){var u,f,c,p,d=a.pos,m=a.posMax;if(a.src.charCodeAt(d)!==38||d+1>=m)return!1;if(u=a.src.charCodeAt(d+1),u===35){if(c=a.src.slice(d).match(s),c)return l||(f=c[1][0].toLowerCase()==="x"?parseInt(c[1].slice(1),16):parseInt(c[1],10),p=a.push("text_special","",0),p.content=n(f)?r(f):r(65533),p.markup=c[0],p.info="entity"),a.pos+=c[0].length,!0}else if(c=a.src.slice(d).match(o),c&&t(e,c[1]))return l||(p=a.push("text_special","",0),p.content=e[c[1]],p.markup=c[0],p.info="entity"),a.pos+=c[0].length,!0;return!1},Eu}var Cu,i0;function wL(){if(i0)return Cu;i0=1;function e(t){var n,r,s,o,i,a,l,u,f={},c=t.length;if(c){var p=0,d=-2,m=[];for(n=0;n<c;n++)if(s=t[n],m.push(0),(t[p].marker!==s.marker||d!==s.token-1)&&(p=n),d=s.token,s.length=s.length||0,!!s.close){for(f.hasOwnProperty(s.marker)||(f[s.marker]=[-1,-1,-1,-1,-1,-1]),i=f[s.marker][(s.open?3:0)+s.length%3],r=p-m[p]-1,a=r;r>i;r-=m[r]+1)if(o=t[r],o.marker===s.marker&&o.open&&o.end<0&&(l=!1,(o.close||s.open)&&(o.length+s.length)%3===0&&(o.length%3!==0||s.length%3!==0)&&(l=!0),!l)){u=r>0&&!t[r-1].open?m[r-1]+1:0,m[n]=n-r+u,m[r]=u,s.open=!1,o.end=n,o.close=!1,a=-1,d=-2;break}a!==-1&&(f[s.marker][(s.open?3:0)+(s.length||0)%3]=a)}}}return Cu=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(s[r].delimiters)},Cu}var Su,a0;function kL(){return a0||(a0=1,Su=function(t){var n,r,s=0,o=t.tokens,i=t.tokens.length;for(n=r=0;n<i;n++)o[n].nesting<0&&s--,o[n].level=s,o[n].nesting>0&&s++,o[n].type==="text"&&n+1<i&&o[n+1].type==="text"?o[n+1].content=o[n].content+o[n+1].content:(n!==r&&(o[r]=o[n]),r++);n!==r&&(o.length=r)}),Su}var xu,l0;function EL(){if(l0)return xu;l0=1;var e=Yc(),t=Je().isWhiteSpace,n=Je().isPunctChar,r=Je().isMdAsciiPunct;function s(o,i,a,l){this.src=o,this.env=a,this.md=i,this.tokens=l,this.tokens_meta=Array(l.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}return s.prototype.pushPending=function(){var o=new e("text","",0);return o.content=this.pending,o.level=this.pendingLevel,this.tokens.push(o),this.pending="",o},s.prototype.push=function(o,i,a){this.pending&&this.pushPending();var l=new e(o,i,a),u=null;return a<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),l.level=this.level,a>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],u={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(l),this.tokens_meta.push(u),l},s.prototype.scanDelims=function(o,i){var a=o,l,u,f,c,p,d,m,g,w,h=!0,_=!0,y=this.posMax,b=this.src.charCodeAt(o);for(l=o>0?this.src.charCodeAt(o-1):32;a<y&&this.src.charCodeAt(a)===b;)a++;return f=a-o,u=a<y?this.src.charCodeAt(a):32,m=r(l)||n(String.fromCharCode(l)),w=r(u)||n(String.fromCharCode(u)),d=t(l),g=t(u),g?h=!1:w&&(d||m||(h=!1)),d?_=!1:m&&(g||w||(_=!1)),i?(c=h,p=_):(c=h&&(!_||m),p=_&&(!h||w)),{can_open:c,can_close:p,length:f}},s.prototype.Token=e,xu=s,xu}var Au,c0;function CL(){if(c0)return Au;c0=1;var e=Hc(),t=[["text",fL()],["linkify",dL()],["newline",pL()],["escape",hL()],["backticks",gL()],["strikethrough",Jb().tokenize],["emphasis",e0().tokenize],["link",mL()],["image",vL()],["autolink",bL()],["html_inline",yL()],["entity",_L()]],n=[["balance_pairs",wL()],["strikethrough",Jb().postProcess],["emphasis",e0().postProcess],["fragments_join",kL()]];function r(){var s;for(this.ruler=new e,s=0;s<t.length;s++)this.ruler.push(t[s][0],t[s][1]);for(this.ruler2=new e,s=0;s<n.length;s++)this.ruler2.push(n[s][0],n[s][1])}return r.prototype.skipToken=function(s){var o,i,a=s.pos,l=this.ruler.getRules(""),u=l.length,f=s.md.options.maxNesting,c=s.cache;if(typeof c[a]<"u"){s.pos=c[a];return}if(s.level<f){for(i=0;i<u;i++)if(s.level++,o=l[i](s,!0),s.level--,o){if(a>=s.pos)throw new Error("inline rule didn't increment state.pos");break}}else s.pos=s.posMax;o||s.pos++,c[a]=s.pos},r.prototype.tokenize=function(s){for(var o,i,a,l=this.ruler.getRules(""),u=l.length,f=s.posMax,c=s.md.options.maxNesting;s.pos<f;){if(a=s.pos,s.level<c){for(i=0;i<u;i++)if(o=l[i](s,!1),o){if(a>=s.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(s.pos>=f)break;continue}s.pending+=s.src[s.pos++]}s.pending&&s.pushPending()},r.prototype.parse=function(s,o,i,a){var l,u,f,c=new this.State(s,o,i,a);for(this.tokenize(c),u=this.ruler2.getRules(""),f=u.length,l=0;l<f;l++)u[l](c)},r.prototype.State=EL(),Au=r,Au}var Tu,u0;function SL(){return u0||(u0=1,Tu=function(e){var t={};e=e||{},t.src_Any=ib().source,t.src_Cc=lb().source,t.src_Z=fb().source,t.src_P=Tc().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),Tu}var Ou,f0;function xL(){if(f0)return Ou;f0=1;function e(y){var b=Array.prototype.slice.call(arguments,1);return b.forEach(function(C){C&&Object.keys(C).forEach(function(k){y[k]=C[k]})}),y}function t(y){return Object.prototype.toString.call(y)}function n(y){return t(y)==="[object String]"}function r(y){return t(y)==="[object Object]"}function s(y){return t(y)==="[object RegExp]"}function o(y){return t(y)==="[object Function]"}function i(y){return y.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function l(y){return Object.keys(y||{}).reduce(function(b,C){return b||a.hasOwnProperty(C)},!1)}var u={"http:":{validate:function(y,b,C){var k=y.slice(b);return C.re.http||(C.re.http=new RegExp("^\\/\\/"+C.re.src_auth+C.re.src_host_port_strict+C.re.src_path,"i")),C.re.http.test(k)?k.match(C.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(y,b,C){var k=y.slice(b);return C.re.no_http||(C.re.no_http=new RegExp("^"+C.re.src_auth+"(?:localhost|(?:(?:"+C.re.src_domain+")\\.)+"+C.re.src_domain_root+")"+C.re.src_port+C.re.src_host_terminator+C.re.src_path,"i")),C.re.no_http.test(k)?b>=3&&y[b-3]===":"||b>=3&&y[b-3]==="/"?0:k.match(C.re.no_http)[0].length:0}},"mailto:":{validate:function(y,b,C){var k=y.slice(b);return C.re.mailto||(C.re.mailto=new RegExp("^"+C.re.src_email_name+"@"+C.re.src_host_strict,"i")),C.re.mailto.test(k)?k.match(C.re.mailto)[0].length:0}}},f="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(y){y.__index__=-1,y.__text_cache__=""}function d(y){return function(b,C){var k=b.slice(C);return y.test(k)?k.match(y)[0].length:0}}function m(){return function(y,b){b.normalize(y)}}function g(y){var b=y.re=SL()(y.__opts__),C=y.__tlds__.slice();y.onCompile(),y.__tlds_replaced__||C.push(f),C.push(b.src_xn),b.src_tlds=C.join("|");function k(L){return L.replace("%TLDS%",b.src_tlds)}b.email_fuzzy=RegExp(k(b.tpl_email_fuzzy),"i"),b.link_fuzzy=RegExp(k(b.tpl_link_fuzzy),"i"),b.link_no_ip_fuzzy=RegExp(k(b.tpl_link_no_ip_fuzzy),"i"),b.host_fuzzy_test=RegExp(k(b.tpl_host_fuzzy_test),"i");var S=[];y.__compiled__={};function A(L,D){throw new Error('(LinkifyIt) Invalid schema "'+L+'": '+D)}Object.keys(y.__schemas__).forEach(function(L){var D=y.__schemas__[L];if(D!==null){var P={validate:null,link:null};if(y.__compiled__[L]=P,r(D)){s(D.validate)?P.validate=d(D.validate):o(D.validate)?P.validate=D.validate:A(L,D),o(D.normalize)?P.normalize=D.normalize:D.normalize?A(L,D):P.normalize=m();return}if(n(D)){S.push(L);return}A(L,D)}}),S.forEach(function(L){y.__compiled__[y.__schemas__[L]]&&(y.__compiled__[L].validate=y.__compiled__[y.__schemas__[L]].validate,y.__compiled__[L].normalize=y.__compiled__[y.__schemas__[L]].normalize)}),y.__compiled__[""]={validate:null,normalize:m()};var R=Object.keys(y.__compiled__).filter(function(L){return L.length>0&&y.__compiled__[L]}).map(i).join("|");y.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+b.src_ZPCc+"))("+R+")","i"),y.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+b.src_ZPCc+"))("+R+")","ig"),y.re.schema_at_start=RegExp("^"+y.re.schema_search.source,"i"),y.re.pretest=RegExp("("+y.re.schema_test.source+")|("+y.re.host_fuzzy_test.source+")|@","i"),p(y)}function w(y,b){var C=y.__index__,k=y.__last_index__,S=y.__text_cache__.slice(C,k);this.schema=y.__schema__.toLowerCase(),this.index=C+b,this.lastIndex=k+b,this.raw=S,this.text=S,this.url=S}function h(y,b){var C=new w(y,b);return y.__compiled__[C.schema].normalize(C,y),C}function _(y,b){if(!(this instanceof _))return new _(y,b);b||l(y)&&(b=y,y={}),this.__opts__=e({},a,b),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},u,y),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},g(this)}return _.prototype.add=function(b,C){return this.__schemas__[b]=C,g(this),this},_.prototype.set=function(b){return this.__opts__=e(this.__opts__,b),this},_.prototype.test=function(b){if(this.__text_cache__=b,this.__index__=-1,!b.length)return!1;var C,k,S,A,R,L,D,P,oe;if(this.re.schema_test.test(b)){for(D=this.re.schema_search,D.lastIndex=0;(C=D.exec(b))!==null;)if(A=this.testSchemaAt(b,C[2],D.lastIndex),A){this.__schema__=C[2],this.__index__=C.index+C[1].length,this.__last_index__=C.index+C[0].length+A;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(P=b.search(this.re.host_fuzzy_test),P>=0&&(this.__index__<0||P<this.__index__)&&(k=b.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(R=k.index+k[1].length,(this.__index__<0||R<this.__index__)&&(this.__schema__="",this.__index__=R,this.__last_index__=k.index+k[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(oe=b.indexOf("@"),oe>=0&&(S=b.match(this.re.email_fuzzy))!==null&&(R=S.index+S[1].length,L=S.index+S[0].length,(this.__index__<0||R<this.__index__||R===this.__index__&&L>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=R,this.__last_index__=L))),this.__index__>=0},_.prototype.pretest=function(b){return this.re.pretest.test(b)},_.prototype.testSchemaAt=function(b,C,k){return this.__compiled__[C.toLowerCase()]?this.__compiled__[C.toLowerCase()].validate(b,k,this):0},_.prototype.match=function(b){var C=0,k=[];this.__index__>=0&&this.__text_cache__===b&&(k.push(h(this,C)),C=this.__last_index__);for(var S=C?b.slice(C):b;this.test(S);)k.push(h(this,C)),S=S.slice(this.__last_index__),C+=this.__last_index__;return k.length?k:null},_.prototype.matchAtStart=function(b){if(this.__text_cache__=b,this.__index__=-1,!b.length)return null;var C=this.re.schema_at_start.exec(b);if(!C)return null;var k=this.testSchemaAt(b,C[2],C[0].length);return k?(this.__schema__=C[2],this.__index__=C.index+C[1].length,this.__last_index__=C.index+C[0].length+k,h(this,0)):null},_.prototype.tlds=function(b,C){return b=Array.isArray(b)?b:[b],C?(this.__tlds__=this.__tlds__.concat(b).sort().filter(function(k,S,A){return k!==A[S-1]}).reverse(),g(this),this):(this.__tlds__=b.slice(),this.__tlds_replaced__=!0,g(this),this)},_.prototype.normalize=function(b){b.schema||(b.url="http://"+b.url),b.schema==="mailto:"&&!/^mailto:/i.test(b.url)&&(b.url="mailto:"+b.url)},_.prototype.onCompile=function(){},Ou=_,Ou}const Lo=2147483647,Bn=36,Ru=1,Os=26,AL=38,TL=700,d0=72,p0=128,h0="-",OL=/^xn--/,RL=/[^\0-\x7F]/,IL=/[\x2E\u3002\uFF0E\uFF61]/g,ML={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Iu=Bn-Ru,zn=Math.floor,Mu=String.fromCharCode;function Mr(e){throw new RangeError(ML[e])}function LL(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function g0(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(IL,".");const s=e.split("."),o=LL(s,t).join(".");return r+o}function Lu(e){const t=[];let n=0;const r=e.length;for(;n<r;){const s=e.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((s&1023)<<10)+(o&1023)+65536):(t.push(s),n--)}else t.push(s)}return t}const m0=e=>String.fromCodePoint(...e),PL=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Bn},v0=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},b0=function(e,t,n){let r=0;for(e=n?zn(e/TL):e>>1,e+=zn(e/t);e>Iu*Os>>1;r+=Bn)e=zn(e/Iu);return zn(r+(Iu+1)*e/(e+AL))},Pu=function(e){const t=[],n=e.length;let r=0,s=p0,o=d0,i=e.lastIndexOf(h0);i<0&&(i=0);for(let a=0;a<i;++a)e.charCodeAt(a)>=128&&Mr("not-basic"),t.push(e.charCodeAt(a));for(let a=i>0?i+1:0;a<n;){const l=r;for(let f=1,c=Bn;;c+=Bn){a>=n&&Mr("invalid-input");const p=PL(e.charCodeAt(a++));p>=Bn&&Mr("invalid-input"),p>zn((Lo-r)/f)&&Mr("overflow"),r+=p*f;const d=c<=o?Ru:c>=o+Os?Os:c-o;if(p<d)break;const m=Bn-d;f>zn(Lo/m)&&Mr("overflow"),f*=m}const u=t.length+1;o=b0(r-l,u,l==0),zn(r/u)>Lo-s&&Mr("overflow"),s+=zn(r/u),r%=u,t.splice(r++,0,s)}return String.fromCodePoint(...t)},Du=function(e){const t=[];e=Lu(e);const n=e.length;let r=p0,s=0,o=d0;for(const l of e)l<128&&t.push(Mu(l));const i=t.length;let a=i;for(i&&t.push(h0);a<n;){let l=Lo;for(const f of e)f>=r&&f<l&&(l=f);const u=a+1;l-r>zn((Lo-s)/u)&&Mr("overflow"),s+=(l-r)*u,r=l;for(const f of e)if(f<r&&++s>Lo&&Mr("overflow"),f===r){let c=s;for(let p=Bn;;p+=Bn){const d=p<=o?Ru:p>=o+Os?Os:p-o;if(c<d)break;const m=c-d,g=Bn-d;t.push(Mu(v0(d+m%g,0))),c=zn(m/g)}t.push(Mu(v0(c,0))),o=b0(s,u,a===i),s=0,++a}++s,++r}return t.join("")},y0=function(e){return g0(e,function(t){return OL.test(t)?Pu(t.slice(4).toLowerCase()):t})},_0=function(e){return g0(e,function(t){return RL.test(t)?"xn--"+Du(t):t})},DL=Bw(Object.freeze(Object.defineProperty({__proto__:null,decode:Pu,default:{version:"2.3.1",ucs2:{decode:Lu,encode:m0},decode:Pu,encode:Du,toASCII:_0,toUnicode:y0},encode:Du,toASCII:_0,toUnicode:y0,ucs2decode:Lu,ucs2encode:m0},Symbol.toStringTag,{value:"Module"})));var $u,w0;function $L(){return w0||(w0=1,$u={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}),$u}var Nu,k0;function NL(){return k0||(k0=1,Nu={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}),Nu}var qu,E0;function qL(){return E0||(E0=1,qu={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}),qu}var Fu,C0;function FL(){if(C0)return Fu;C0=1;var e=Je(),t=BM(),n=zM(),r=XM(),s=uL(),o=CL(),i=xL(),a=ob(),l=DL,u={default:$L(),zero:NL(),commonmark:qL()},f=/^(vbscript|javascript|file|data):/,c=/^data:image\/(gif|png|jpeg|webp);/;function p(h){var _=h.trim().toLowerCase();return f.test(_)?!!c.test(_):!0}var d=["http:","https:","mailto:"];function m(h){var _=a.parse(h,!0);if(_.hostname&&(!_.protocol||d.indexOf(_.protocol)>=0))try{_.hostname=l.toASCII(_.hostname)}catch{}return a.encode(a.format(_))}function g(h){var _=a.parse(h,!0);if(_.hostname&&(!_.protocol||d.indexOf(_.protocol)>=0))try{_.hostname=l.toUnicode(_.hostname)}catch{}return a.decode(a.format(_),a.decode.defaultChars+"%")}function w(h,_){if(!(this instanceof w))return new w(h,_);_||e.isString(h)||(_=h||{},h="default"),this.inline=new o,this.block=new s,this.core=new r,this.renderer=new n,this.linkify=new i,this.validateLink=p,this.normalizeLink=m,this.normalizeLinkText=g,this.utils=e,this.helpers=e.assign({},t),this.options={},this.configure(h),_&&this.set(_)}return w.prototype.set=function(h){return e.assign(this.options,h),this},w.prototype.configure=function(h){var _=this,y;if(e.isString(h)&&(y=h,h=u[y],!h))throw new Error('Wrong `markdown-it` preset "'+y+'", check name');if(!h)throw new Error("Wrong `markdown-it` preset, can't be empty");return h.options&&_.set(h.options),h.components&&Object.keys(h.components).forEach(function(b){h.components[b].rules&&_[b].ruler.enableOnly(h.components[b].rules),h.components[b].rules2&&_[b].ruler2.enableOnly(h.components[b].rules2)}),this},w.prototype.enable=function(h,_){var y=[];Array.isArray(h)||(h=[h]),["core","block","inline"].forEach(function(C){y=y.concat(this[C].ruler.enable(h,!0))},this),y=y.concat(this.inline.ruler2.enable(h,!0));var b=h.filter(function(C){return y.indexOf(C)<0});if(b.length&&!_)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+b);return this},w.prototype.disable=function(h,_){var y=[];Array.isArray(h)||(h=[h]),["core","block","inline"].forEach(function(C){y=y.concat(this[C].ruler.disable(h,!0))},this),y=y.concat(this.inline.ruler2.disable(h,!0));var b=h.filter(function(C){return y.indexOf(C)<0});if(b.length&&!_)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+b);return this},w.prototype.use=function(h){var _=[this].concat(Array.prototype.slice.call(arguments,1));return h.apply(h,_),this},w.prototype.parse=function(h,_){if(typeof h!="string")throw new Error("Input data should be a String");var y=new this.core.State(h,this,_);return this.core.process(y),y.tokens},w.prototype.render=function(h,_){return _=_||{},this.renderer.render(this.parse(h,_),this.options,_)},w.prototype.parseInline=function(h,_){var y=new this.core.State(h,this,_);return y.inlineMode=!0,this.core.process(y),y.tokens},w.prototype.renderInline=function(h,_){return _=_||{},this.renderer.render(this.parseInline(h,_),this.options,_)},Fu=w,Fu}var Bu,S0;function BL(){return S0||(S0=1,Bu=FL()),Bu}var zL=BL();const HL=ll(zL);var zu,x0;function UL(){if(x0)return zu;x0=1;function e(r,s){var o,i,a=r.attrs[r.attrIndex("href")][1];for(o=0;o<s.length;++o){if(i=s[o],typeof i.matcher=="function"){if(i.matcher(a,i))return i;continue}return i}}function t(r,s,o){Object.keys(o).forEach(function(i){var a,l=o[i];i==="className"&&(i="class"),a=s[r].attrIndex(i),a<0?s[r].attrPush([i,l]):s[r].attrs[a][1]=l})}function n(r,s){s?s=Array.isArray(s)?s:[s]:s=[],Object.freeze(s);var o=r.renderer.rules.link_open||this.defaultRender;r.renderer.rules.link_open=function(i,a,l,u,f){var c=e(i[a],s),p=c&&c.attrs;return p&&t(a,i,p),o(i,a,l,u,f)}}return n.defaultRender=function(r,s,o,i,a){return a.renderToken(r,s,o)},zu=n,zu}var jL=UL();const VL=ll(jL);var ra={exports:{}},ut={},oa={exports:{}},no={},A0;function T0(){if(A0)return no;A0=1;function e(){var o={};return o["align-content"]=!1,o["align-items"]=!1,o["align-self"]=!1,o["alignment-adjust"]=!1,o["alignment-baseline"]=!1,o.all=!1,o["anchor-point"]=!1,o.animation=!1,o["animation-delay"]=!1,o["animation-direction"]=!1,o["animation-duration"]=!1,o["animation-fill-mode"]=!1,o["animation-iteration-count"]=!1,o["animation-name"]=!1,o["animation-play-state"]=!1,o["animation-timing-function"]=!1,o.azimuth=!1,o["backface-visibility"]=!1,o.background=!0,o["background-attachment"]=!0,o["background-clip"]=!0,o["background-color"]=!0,o["background-image"]=!0,o["background-origin"]=!0,o["background-position"]=!0,o["background-repeat"]=!0,o["background-size"]=!0,o["baseline-shift"]=!1,o.binding=!1,o.bleed=!1,o["bookmark-label"]=!1,o["bookmark-level"]=!1,o["bookmark-state"]=!1,o.border=!0,o["border-bottom"]=!0,o["border-bottom-color"]=!0,o["border-bottom-left-radius"]=!0,o["border-bottom-right-radius"]=!0,o["border-bottom-style"]=!0,o["border-bottom-width"]=!0,o["border-collapse"]=!0,o["border-color"]=!0,o["border-image"]=!0,o["border-image-outset"]=!0,o["border-image-repeat"]=!0,o["border-image-slice"]=!0,o["border-image-source"]=!0,o["border-image-width"]=!0,o["border-left"]=!0,o["border-left-color"]=!0,o["border-left-style"]=!0,o["border-left-width"]=!0,o["border-radius"]=!0,o["border-right"]=!0,o["border-right-color"]=!0,o["border-right-style"]=!0,o["border-right-width"]=!0,o["border-spacing"]=!0,o["border-style"]=!0,o["border-top"]=!0,o["border-top-color"]=!0,o["border-top-left-radius"]=!0,o["border-top-right-radius"]=!0,o["border-top-style"]=!0,o["border-top-width"]=!0,o["border-width"]=!0,o.bottom=!1,o["box-decoration-break"]=!0,o["box-shadow"]=!0,o["box-sizing"]=!0,o["box-snap"]=!0,o["box-suppress"]=!0,o["break-after"]=!0,o["break-before"]=!0,o["break-inside"]=!0,o["caption-side"]=!1,o.chains=!1,o.clear=!0,o.clip=!1,o["clip-path"]=!1,o["clip-rule"]=!1,o.color=!0,o["color-interpolation-filters"]=!0,o["column-count"]=!1,o["column-fill"]=!1,o["column-gap"]=!1,o["column-rule"]=!1,o["column-rule-color"]=!1,o["column-rule-style"]=!1,o["column-rule-width"]=!1,o["column-span"]=!1,o["column-width"]=!1,o.columns=!1,o.contain=!1,o.content=!1,o["counter-increment"]=!1,o["counter-reset"]=!1,o["counter-set"]=!1,o.crop=!1,o.cue=!1,o["cue-after"]=!1,o["cue-before"]=!1,o.cursor=!1,o.direction=!1,o.display=!0,o["display-inside"]=!0,o["display-list"]=!0,o["display-outside"]=!0,o["dominant-baseline"]=!1,o.elevation=!1,o["empty-cells"]=!1,o.filter=!1,o.flex=!1,o["flex-basis"]=!1,o["flex-direction"]=!1,o["flex-flow"]=!1,o["flex-grow"]=!1,o["flex-shrink"]=!1,o["flex-wrap"]=!1,o.float=!1,o["float-offset"]=!1,o["flood-color"]=!1,o["flood-opacity"]=!1,o["flow-from"]=!1,o["flow-into"]=!1,o.font=!0,o["font-family"]=!0,o["font-feature-settings"]=!0,o["font-kerning"]=!0,o["font-language-override"]=!0,o["font-size"]=!0,o["font-size-adjust"]=!0,o["font-stretch"]=!0,o["font-style"]=!0,o["font-synthesis"]=!0,o["font-variant"]=!0,o["font-variant-alternates"]=!0,o["font-variant-caps"]=!0,o["font-variant-east-asian"]=!0,o["font-variant-ligatures"]=!0,o["font-variant-numeric"]=!0,o["font-variant-position"]=!0,o["font-weight"]=!0,o.grid=!1,o["grid-area"]=!1,o["grid-auto-columns"]=!1,o["grid-auto-flow"]=!1,o["grid-auto-rows"]=!1,o["grid-column"]=!1,o["grid-column-end"]=!1,o["grid-column-start"]=!1,o["grid-row"]=!1,o["grid-row-end"]=!1,o["grid-row-start"]=!1,o["grid-template"]=!1,o["grid-template-areas"]=!1,o["grid-template-columns"]=!1,o["grid-template-rows"]=!1,o["hanging-punctuation"]=!1,o.height=!0,o.hyphens=!1,o.icon=!1,o["image-orientation"]=!1,o["image-resolution"]=!1,o["ime-mode"]=!1,o["initial-letters"]=!1,o["inline-box-align"]=!1,o["justify-content"]=!1,o["justify-items"]=!1,o["justify-self"]=!1,o.left=!1,o["letter-spacing"]=!0,o["lighting-color"]=!0,o["line-box-contain"]=!1,o["line-break"]=!1,o["line-grid"]=!1,o["line-height"]=!1,o["line-snap"]=!1,o["line-stacking"]=!1,o["line-stacking-ruby"]=!1,o["line-stacking-shift"]=!1,o["line-stacking-strategy"]=!1,o["list-style"]=!0,o["list-style-image"]=!0,o["list-style-position"]=!0,o["list-style-type"]=!0,o.margin=!0,o["margin-bottom"]=!0,o["margin-left"]=!0,o["margin-right"]=!0,o["margin-top"]=!0,o["marker-offset"]=!1,o["marker-side"]=!1,o.marks=!1,o.mask=!1,o["mask-box"]=!1,o["mask-box-outset"]=!1,o["mask-box-repeat"]=!1,o["mask-box-slice"]=!1,o["mask-box-source"]=!1,o["mask-box-width"]=!1,o["mask-clip"]=!1,o["mask-image"]=!1,o["mask-origin"]=!1,o["mask-position"]=!1,o["mask-repeat"]=!1,o["mask-size"]=!1,o["mask-source-type"]=!1,o["mask-type"]=!1,o["max-height"]=!0,o["max-lines"]=!1,o["max-width"]=!0,o["min-height"]=!0,o["min-width"]=!0,o["move-to"]=!1,o["nav-down"]=!1,o["nav-index"]=!1,o["nav-left"]=!1,o["nav-right"]=!1,o["nav-up"]=!1,o["object-fit"]=!1,o["object-position"]=!1,o.opacity=!1,o.order=!1,o.orphans=!1,o.outline=!1,o["outline-color"]=!1,o["outline-offset"]=!1,o["outline-style"]=!1,o["outline-width"]=!1,o.overflow=!1,o["overflow-wrap"]=!1,o["overflow-x"]=!1,o["overflow-y"]=!1,o.padding=!0,o["padding-bottom"]=!0,o["padding-left"]=!0,o["padding-right"]=!0,o["padding-top"]=!0,o.page=!1,o["page-break-after"]=!1,o["page-break-before"]=!1,o["page-break-inside"]=!1,o["page-policy"]=!1,o.pause=!1,o["pause-after"]=!1,o["pause-before"]=!1,o.perspective=!1,o["perspective-origin"]=!1,o.pitch=!1,o["pitch-range"]=!1,o["play-during"]=!1,o.position=!1,o["presentation-level"]=!1,o.quotes=!1,o["region-fragment"]=!1,o.resize=!1,o.rest=!1,o["rest-after"]=!1,o["rest-before"]=!1,o.richness=!1,o.right=!1,o.rotation=!1,o["rotation-point"]=!1,o["ruby-align"]=!1,o["ruby-merge"]=!1,o["ruby-position"]=!1,o["shape-image-threshold"]=!1,o["shape-outside"]=!1,o["shape-margin"]=!1,o.size=!1,o.speak=!1,o["speak-as"]=!1,o["speak-header"]=!1,o["speak-numeral"]=!1,o["speak-punctuation"]=!1,o["speech-rate"]=!1,o.stress=!1,o["string-set"]=!1,o["tab-size"]=!1,o["table-layout"]=!1,o["text-align"]=!0,o["text-align-last"]=!0,o["text-combine-upright"]=!0,o["text-decoration"]=!0,o["text-decoration-color"]=!0,o["text-decoration-line"]=!0,o["text-decoration-skip"]=!0,o["text-decoration-style"]=!0,o["text-emphasis"]=!0,o["text-emphasis-color"]=!0,o["text-emphasis-position"]=!0,o["text-emphasis-style"]=!0,o["text-height"]=!0,o["text-indent"]=!0,o["text-justify"]=!0,o["text-orientation"]=!0,o["text-overflow"]=!0,o["text-shadow"]=!0,o["text-space-collapse"]=!0,o["text-transform"]=!0,o["text-underline-position"]=!0,o["text-wrap"]=!0,o.top=!1,o.transform=!1,o["transform-origin"]=!1,o["transform-style"]=!1,o.transition=!1,o["transition-delay"]=!1,o["transition-duration"]=!1,o["transition-property"]=!1,o["transition-timing-function"]=!1,o["unicode-bidi"]=!1,o["vertical-align"]=!1,o.visibility=!1,o["voice-balance"]=!1,o["voice-duration"]=!1,o["voice-family"]=!1,o["voice-pitch"]=!1,o["voice-range"]=!1,o["voice-rate"]=!1,o["voice-stress"]=!1,o["voice-volume"]=!1,o.volume=!1,o["white-space"]=!1,o.widows=!1,o.width=!0,o["will-change"]=!1,o["word-break"]=!0,o["word-spacing"]=!0,o["word-wrap"]=!0,o["wrap-flow"]=!1,o["wrap-through"]=!1,o["writing-mode"]=!1,o["z-index"]=!1,o}function t(o,i,a){}function n(o,i,a){}var r=/javascript\s*\:/img;function s(o,i){return r.test(i)?"":i}return no.whiteList=e(),no.getDefaultWhiteList=e,no.onAttr=t,no.onIgnoreAttr=n,no.safeAttrValue=s,no}var Hu,O0;function R0(){return O0||(O0=1,Hu={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t,n){var r,s;if(Array.prototype.forEach)return e.forEach(t,n);for(r=0,s=e.length;r<s;r++)t.call(n,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}),Hu}var Uu,I0;function GL(){if(I0)return Uu;I0=1;var e=R0();function t(n,r){n=e.trimRight(n),n[n.length-1]!==";"&&(n+=";");var s=n.length,o=!1,i=0,a=0,l="";function u(){if(!o){var p=e.trim(n.slice(i,a)),d=p.indexOf(":");if(d!==-1){var m=e.trim(p.slice(0,d)),g=e.trim(p.slice(d+1));if(m){var w=r(i,l.length,m,g,p);w&&(l+=w+"; ")}}}i=a+1}for(;a<s;a++){var f=n[a];if(f==="/"&&n[a+1]==="*"){var c=n.indexOf("*/",a+2);if(c===-1)break;a=c+1,i=a+1,o=!1}else f==="("?o=!0:f===")"?o=!1:f===";"?o||u():f===`
|
|
504
|
-
`&&u()}return e.trim(l)}return Uu=t,Uu}var ju,M0;function KL(){if(M0)return ju;M0=1;var e=T0(),t=GL();R0();function n(o){return o==null}function r(o){var i={};for(var a in o)i[a]=o[a];return i}function s(o){o=r(o||{}),o.whiteList=o.whiteList||e.whiteList,o.onAttr=o.onAttr||e.onAttr,o.onIgnoreAttr=o.onIgnoreAttr||e.onIgnoreAttr,o.safeAttrValue=o.safeAttrValue||e.safeAttrValue,this.options=o}return s.prototype.process=function(o){if(o=o||"",o=o.toString(),!o)return"";var i=this,a=i.options,l=a.whiteList,u=a.onAttr,f=a.onIgnoreAttr,c=a.safeAttrValue,p=t(o,function(d,m,g,w,h){var _=l[g],y=!1;if(_===!0?y=_:typeof _=="function"?y=_(w):_ instanceof RegExp&&(y=_.test(w)),y!==!0&&(y=!1),w=c(g,w),!!w){var b={position:m,sourcePosition:d,source:h,isWhite:y};if(y){var C=u(g,w,b);return n(C)?g+":"+w:C}else{var C=f(g,w,b);if(!n(C))return C}}});return p},ju=s,ju}var L0;function Vu(){return L0||(L0=1,function(e,t){var n=T0(),r=KL();function s(i,a){var l=new r(a);return l.process(i)}t=e.exports=s,t.FilterCSS=r;for(var o in n)t[o]=n[o];typeof window<"u"&&(window.filterCSS=e.exports)}(oa,oa.exports)),oa.exports}var Gu,P0;function Ku(){return P0||(P0=1,Gu={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t,n){var r,s;if(Array.prototype.forEach)return e.forEach(t,n);for(r=0,s=e.length;r<s;r++)t.call(n,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,n=t.exec(e);return n?n.index:-1}}),Gu}var D0;function $0(){if(D0)return ut;D0=1;var e=Vu().FilterCSS,t=Vu().getDefaultWhiteList,n=Ku();function r(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var s=new e;function o(q,F,B){}function i(q,F,B){}function a(q,F,B){}function l(q,F,B){}function u(q){return q.replace(c,"<").replace(p,">")}function f(q,F,B,J){if(B=L(B),F==="href"||F==="src"){if(B=n.trim(B),B==="#")return"#";if(!(B.substr(0,7)==="http://"||B.substr(0,8)==="https://"||B.substr(0,7)==="mailto:"||B.substr(0,4)==="tel:"||B.substr(0,11)==="data:image/"||B.substr(0,6)==="ftp://"||B.substr(0,2)==="./"||B.substr(0,3)==="../"||B[0]==="#"||B[0]==="/"))return""}else if(F==="background"){if(_.lastIndex=0,_.test(B))return""}else if(F==="style"){if(y.lastIndex=0,y.test(B)||(b.lastIndex=0,b.test(B)&&(_.lastIndex=0,_.test(B))))return"";J!==!1&&(J=J||s,B=J.process(B))}return B=D(B),B}var c=/</g,p=/>/g,d=/"/g,m=/"/g,g=/&#([a-zA-Z0-9]*);?/gim,w=/:?/gim,h=/&newline;?/gim,_=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,y=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,b=/u\s*r\s*l\s*\(.*/gi;function C(q){return q.replace(d,""")}function k(q){return q.replace(m,'"')}function S(q){return q.replace(g,function(B,J){return J[0]==="x"||J[0]==="X"?String.fromCharCode(parseInt(J.substr(1),16)):String.fromCharCode(parseInt(J,10))})}function A(q){return q.replace(w,":").replace(h," ")}function R(q){for(var F="",B=0,J=q.length;B<J;B++)F+=q.charCodeAt(B)<32?" ":q.charAt(B);return n.trim(F)}function L(q){return q=k(q),q=S(q),q=A(q),q=R(q),q}function D(q){return q=C(q),q=u(q),q}function P(){return""}function oe(q,F){typeof F!="function"&&(F=function(){});var B=!Array.isArray(q);function J(ve){return B?!0:n.indexOf(q,ve)!==-1}var te=[],Ae=!1;return{onIgnoreTag:function(ve,Fe,et){if(J(ve))if(et.isClosing){var ot="[/removed]",pt=et.position+ot.length;return te.push([Ae!==!1?Ae:et.position,pt]),Ae=!1,ot}else return Ae||(Ae=et.position),"[removed]";else return F(ve,Fe,et)},remove:function(ve){var Fe="",et=0;return n.forEach(te,function(ot){Fe+=ve.slice(et,ot[0]),et=ot[1]}),Fe+=ve.slice(et),Fe}}}function N(q){for(var F="",B=0;B<q.length;){var J=q.indexOf("<!--",B);if(J===-1){F+=q.slice(B);break}F+=q.slice(B,J);var te=q.indexOf("-->",J);if(te===-1)break;B=te+3}return F}function j(q){var F=q.split("");return F=F.filter(function(B){var J=B.charCodeAt(0);return J===127?!1:J<=31?J===10||J===13:!0}),F.join("")}return ut.whiteList=r(),ut.getDefaultWhiteList=r,ut.onTag=o,ut.onIgnoreTag=i,ut.onTagAttr=a,ut.onIgnoreTagAttr=l,ut.safeAttrValue=f,ut.escapeHtml=u,ut.escapeQuote=C,ut.unescapeQuote=k,ut.escapeHtmlEntities=S,ut.escapeDangerHtml5Entities=A,ut.clearNonPrintableCharacter=R,ut.friendlyAttrValue=L,ut.escapeAttrValue=D,ut.onIgnoreTagStripAll=P,ut.StripTagBody=oe,ut.stripCommentTag=N,ut.stripBlankChar=j,ut.attributeWrapSign='"',ut.cssFilter=s,ut.getDefaultCSSWhiteList=t,ut}var sa={},N0;function q0(){if(N0)return sa;N0=1;var e=Ku();function t(c){var p=e.spaceIndex(c),d;return p===-1?d=c.slice(1,-1):d=c.slice(1,p+1),d=e.trim(d).toLowerCase(),d.slice(0,1)==="/"&&(d=d.slice(1)),d.slice(-1)==="/"&&(d=d.slice(0,-1)),d}function n(c){return c.slice(0,2)==="</"}function r(c,p,d){var m="",g=0,w=!1,h=!1,_=0,y=c.length,b="",C="";e:for(_=0;_<y;_++){var k=c.charAt(_);if(w===!1){if(k==="<"){w=_;continue}}else if(h===!1){if(k==="<"){m+=d(c.slice(g,_)),w=_,g=_;continue}if(k===">"||_===y-1){m+=d(c.slice(g,w)),C=c.slice(w,_+1),b=t(C),m+=p(w,m.length,b,C,n(C)),g=_+1,w=!1;continue}if(k==='"'||k==="'")for(var S=1,A=c.charAt(_-S);A.trim()===""||A==="=";){if(A==="="){h=k;continue e}A=c.charAt(_-++S)}}else if(k===h){h=!1;continue}}return g<y&&(m+=d(c.substr(g))),m}var s=/[^a-zA-Z0-9\\_:.-]/gim;function o(c,p){var d=0,m=0,g=[],w=!1,h=c.length;function _(S,A){if(S=e.trim(S),S=S.replace(s,"").toLowerCase(),!(S.length<1)){var R=p(S,A||"");R&&g.push(R)}}for(var y=0;y<h;y++){var b=c.charAt(y),C,k;if(w===!1&&b==="="){w=c.slice(d,y),d=y+1,m=c.charAt(d)==='"'||c.charAt(d)==="'"?d:a(c,y+1);continue}if(w!==!1&&y===m){if(k=c.indexOf(b,y+1),k===-1)break;C=e.trim(c.slice(m+1,k)),_(w,C),w=!1,y=k,d=y+1;continue}if(/\s|\n|\t/.test(b))if(c=c.replace(/\s|\n|\t/g," "),w===!1)if(k=i(c,y),k===-1){C=e.trim(c.slice(d,y)),_(C),w=!1,d=y+1;continue}else{y=k-1;continue}else if(k=l(c,y-1),k===-1){C=e.trim(c.slice(d,y)),C=f(C),_(w,C),w=!1,d=y+1;continue}else continue}return d<c.length&&(w===!1?_(c.slice(d)):_(w,f(e.trim(c.slice(d))))),e.trim(g.join(" "))}function i(c,p){for(;p<c.length;p++){var d=c[p];if(d!==" ")return d==="="?p:-1}}function a(c,p){for(;p<c.length;p++){var d=c[p];if(d!==" ")return d==="'"||d==='"'?p:-1}}function l(c,p){for(;p>0;p--){var d=c[p];if(d!==" ")return d==="="?p:-1}}function u(c){return c[0]==='"'&&c[c.length-1]==='"'||c[0]==="'"&&c[c.length-1]==="'"}function f(c){return u(c)?c.substr(1,c.length-2):c}return sa.parseTag=r,sa.parseAttr=o,sa}var Wu,F0;function WL(){if(F0)return Wu;F0=1;var e=Vu().FilterCSS,t=$0(),n=q0(),r=n.parseTag,s=n.parseAttr,o=Ku();function i(c){return c==null}function a(c){var p=o.spaceIndex(c);if(p===-1)return{html:"",closing:c[c.length-2]==="/"};c=o.trim(c.slice(p+1,-1));var d=c[c.length-1]==="/";return d&&(c=o.trim(c.slice(0,-1))),{html:c,closing:d}}function l(c){var p={};for(var d in c)p[d]=c[d];return p}function u(c){var p={};for(var d in c)Array.isArray(c[d])?p[d.toLowerCase()]=c[d].map(function(m){return m.toLowerCase()}):p[d.toLowerCase()]=c[d];return p}function f(c){c=l(c||{}),c.stripIgnoreTag&&(c.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),c.onIgnoreTag=t.onIgnoreTagStripAll),c.whiteList||c.allowList?c.whiteList=u(c.whiteList||c.allowList):c.whiteList=t.whiteList,this.attributeWrapSign=c.singleQuotedAttributeValue===!0?"'":t.attributeWrapSign,c.onTag=c.onTag||t.onTag,c.onTagAttr=c.onTagAttr||t.onTagAttr,c.onIgnoreTag=c.onIgnoreTag||t.onIgnoreTag,c.onIgnoreTagAttr=c.onIgnoreTagAttr||t.onIgnoreTagAttr,c.safeAttrValue=c.safeAttrValue||t.safeAttrValue,c.escapeHtml=c.escapeHtml||t.escapeHtml,this.options=c,c.css===!1?this.cssFilter=!1:(c.css=c.css||{},this.cssFilter=new e(c.css))}return f.prototype.process=function(c){if(c=c||"",c=c.toString(),!c)return"";var p=this,d=p.options,m=d.whiteList,g=d.onTag,w=d.onIgnoreTag,h=d.onTagAttr,_=d.onIgnoreTagAttr,y=d.safeAttrValue,b=d.escapeHtml,C=p.attributeWrapSign,k=p.cssFilter;d.stripBlankChar&&(c=t.stripBlankChar(c)),d.allowCommentTag||(c=t.stripCommentTag(c));var S=!1;d.stripIgnoreTagBody&&(S=t.StripTagBody(d.stripIgnoreTagBody,w),w=S.onIgnoreTag);var A=r(c,function(R,L,D,P,oe){var N={sourcePosition:R,position:L,isClosing:oe,isWhite:Object.prototype.hasOwnProperty.call(m,D)},j=g(D,P,N);if(!i(j))return j;if(N.isWhite){if(N.isClosing)return"</"+D+">";var q=a(P),F=m[D],B=s(q.html,function(J,te){var Ae=o.indexOf(F,J)!==-1,ve=h(D,J,te,Ae);return i(ve)?Ae?(te=y(D,J,te,k),te?J+"="+C+te+C:J):(ve=_(D,J,te,Ae),i(ve)?void 0:ve):ve});return P="<"+D,B&&(P+=" "+B),q.closing&&(P+=" /"),P+=">",P}else return j=w(D,P,N),i(j)?b(P):j},b);return S&&(A=S.remove(A)),A},Wu=f,Wu}var B0;function ZL(){return B0||(B0=1,function(e,t){var n=$0(),r=q0(),s=WL();function o(a,l){var u=new s(l);return u.process(a)}t=e.exports=o,t.filterXSS=o,t.FilterXSS=s,function(){for(var a in n)t[a]=n[a];for(var l in r)t[l]=r[l]}(),typeof window<"u"&&(window.filterXSS=e.exports);function i(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}i()&&(self.filterXSS=e.exports)}(ra,ra.exports)),ra.exports}ZL(),{...Kv.props},{...nv};var Zu,z0;function Xu(){if(z0)return Zu;z0=1;var e=Array.isArray;return Zu=e,Zu}var Yu,H0;function XL(){if(H0)return Yu;H0=1;var e=typeof gi=="object"&&gi&&gi.Object===Object&&gi;return Yu=e,Yu}var Ju,U0;function Qu(){if(U0)return Ju;U0=1;var e=XL(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Ju=n,Ju}var ef,j0;function tf(){if(j0)return ef;j0=1;var e=Qu(),t=e.Symbol;return ef=t,ef}var nf,V0;function YL(){if(V0)return nf;V0=1;var e=tf(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,s=e?e.toStringTag:void 0;function o(i){var a=n.call(i,s),l=i[s];try{i[s]=void 0;var u=!0}catch{}var f=r.call(i);return u&&(a?i[s]=l:delete i[s]),f}return nf=o,nf}var rf,G0;function JL(){if(G0)return rf;G0=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return rf=n,rf}var of,K0;function W0(){if(K0)return of;K0=1;var e=tf(),t=YL(),n=JL(),r="[object Null]",s="[object Undefined]",o=e?e.toStringTag:void 0;function i(a){return a==null?a===void 0?s:r:o&&o in Object(a)?t(a):n(a)}return of=i,of}var sf,Z0;function QL(){if(Z0)return sf;Z0=1;function e(t){return t!=null&&typeof t=="object"}return sf=e,sf}var af,X0;function lf(){if(X0)return af;X0=1;var e=W0(),t=QL(),n="[object Symbol]";function r(s){return typeof s=="symbol"||t(s)&&e(s)==n}return af=r,af}var cf,Y0;function eP(){if(Y0)return cf;Y0=1;var e=Xu(),t=lf(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function s(o,i){if(e(o))return!1;var a=typeof o;return a=="number"||a=="symbol"||a=="boolean"||o==null||t(o)?!0:r.test(o)||!n.test(o)||i!=null&&o in Object(i)}return cf=s,cf}var uf,J0;function Q0(){if(J0)return uf;J0=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return uf=e,uf}var ff,ey;function tP(){if(ey)return ff;ey=1;var e=W0(),t=Q0(),n="[object AsyncFunction]",r="[object Function]",s="[object GeneratorFunction]",o="[object Proxy]";function i(a){if(!t(a))return!1;var l=e(a);return l==r||l==s||l==n||l==o}return ff=i,ff}var df,ty;function nP(){if(ty)return df;ty=1;var e=Qu(),t=e["__core-js_shared__"];return df=t,df}var pf,ny;function rP(){if(ny)return pf;ny=1;var e=nP(),t=function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function n(r){return!!t&&t in r}return pf=n,pf}var hf,ry;function oP(){if(ry)return hf;ry=1;var e=Function.prototype,t=e.toString;function n(r){if(r!=null){try{return t.call(r)}catch{}try{return r+""}catch{}}return""}return hf=n,hf}var gf,oy;function sP(){if(oy)return gf;oy=1;var e=tP(),t=rP(),n=Q0(),r=oP(),s=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,l=i.toString,u=a.hasOwnProperty,f=RegExp("^"+l.call(u).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function c(p){if(!n(p)||t(p))return!1;var d=e(p)?f:o;return d.test(r(p))}return gf=c,gf}var mf,sy;function iP(){if(sy)return mf;sy=1;function e(t,n){return t==null?void 0:t[n]}return mf=e,mf}var vf,iy;function ay(){if(iy)return vf;iy=1;var e=sP(),t=iP();function n(r,s){var o=t(r,s);return e(o)?o:void 0}return vf=n,vf}var bf,ly;function ia(){if(ly)return bf;ly=1;var e=ay(),t=e(Object,"create");return bf=t,bf}var yf,cy;function aP(){if(cy)return yf;cy=1;var e=ia();function t(){this.__data__=e?e(null):{},this.size=0}return yf=t,yf}var _f,uy;function lP(){if(uy)return _f;uy=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return _f=e,_f}var wf,fy;function cP(){if(fy)return wf;fy=1;var e=ia(),t="__lodash_hash_undefined__",n=Object.prototype,r=n.hasOwnProperty;function s(o){var i=this.__data__;if(e){var a=i[o];return a===t?void 0:a}return r.call(i,o)?i[o]:void 0}return wf=s,wf}var kf,dy;function uP(){if(dy)return kf;dy=1;var e=ia(),t=Object.prototype,n=t.hasOwnProperty;function r(s){var o=this.__data__;return e?o[s]!==void 0:n.call(o,s)}return kf=r,kf}var Ef,py;function fP(){if(py)return Ef;py=1;var e=ia(),t="__lodash_hash_undefined__";function n(r,s){var o=this.__data__;return this.size+=this.has(r)?0:1,o[r]=e&&s===void 0?t:s,this}return Ef=n,Ef}var Cf,hy;function dP(){if(hy)return Cf;hy=1;var e=aP(),t=lP(),n=cP(),r=uP(),s=fP();function o(i){var a=-1,l=i==null?0:i.length;for(this.clear();++a<l;){var u=i[a];this.set(u[0],u[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=s,Cf=o,Cf}var Sf,gy;function pP(){if(gy)return Sf;gy=1;function e(){this.__data__=[],this.size=0}return Sf=e,Sf}var xf,my;function hP(){if(my)return xf;my=1;function e(t,n){return t===n||t!==t&&n!==n}return xf=e,xf}var Af,vy;function aa(){if(vy)return Af;vy=1;var e=hP();function t(n,r){for(var s=n.length;s--;)if(e(n[s][0],r))return s;return-1}return Af=t,Af}var Tf,by;function gP(){if(by)return Tf;by=1;var e=aa(),t=Array.prototype,n=t.splice;function r(s){var o=this.__data__,i=e(o,s);if(i<0)return!1;var a=o.length-1;return i==a?o.pop():n.call(o,i,1),--this.size,!0}return Tf=r,Tf}var Of,yy;function mP(){if(yy)return Of;yy=1;var e=aa();function t(n){var r=this.__data__,s=e(r,n);return s<0?void 0:r[s][1]}return Of=t,Of}var Rf,_y;function vP(){if(_y)return Rf;_y=1;var e=aa();function t(n){return e(this.__data__,n)>-1}return Rf=t,Rf}var If,wy;function bP(){if(wy)return If;wy=1;var e=aa();function t(n,r){var s=this.__data__,o=e(s,n);return o<0?(++this.size,s.push([n,r])):s[o][1]=r,this}return If=t,If}var Mf,ky;function yP(){if(ky)return Mf;ky=1;var e=pP(),t=gP(),n=mP(),r=vP(),s=bP();function o(i){var a=-1,l=i==null?0:i.length;for(this.clear();++a<l;){var u=i[a];this.set(u[0],u[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=s,Mf=o,Mf}var Lf,Ey;function _P(){if(Ey)return Lf;Ey=1;var e=ay(),t=Qu(),n=e(t,"Map");return Lf=n,Lf}var Pf,Cy;function wP(){if(Cy)return Pf;Cy=1;var e=dP(),t=yP(),n=_P();function r(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return Pf=r,Pf}var Df,Sy;function kP(){if(Sy)return Df;Sy=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return Df=e,Df}var $f,xy;function la(){if(xy)return $f;xy=1;var e=kP();function t(n,r){var s=n.__data__;return e(r)?s[typeof r=="string"?"string":"hash"]:s.map}return $f=t,$f}var Nf,Ay;function EP(){if(Ay)return Nf;Ay=1;var e=la();function t(n){var r=e(this,n).delete(n);return this.size-=r?1:0,r}return Nf=t,Nf}var qf,Ty;function CP(){if(Ty)return qf;Ty=1;var e=la();function t(n){return e(this,n).get(n)}return qf=t,qf}var Ff,Oy;function SP(){if(Oy)return Ff;Oy=1;var e=la();function t(n){return e(this,n).has(n)}return Ff=t,Ff}var Bf,Ry;function xP(){if(Ry)return Bf;Ry=1;var e=la();function t(n,r){var s=e(this,n),o=s.size;return s.set(n,r),this.size+=s.size==o?0:1,this}return Bf=t,Bf}var zf,Iy;function AP(){if(Iy)return zf;Iy=1;var e=wP(),t=EP(),n=CP(),r=SP(),s=xP();function o(i){var a=-1,l=i==null?0:i.length;for(this.clear();++a<l;){var u=i[a];this.set(u[0],u[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=s,zf=o,zf}var Hf,My;function TP(){if(My)return Hf;My=1;var e=AP(),t="Expected a function";function n(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new TypeError(t);var o=function(){var i=arguments,a=s?s.apply(this,i):i[0],l=o.cache;if(l.has(a))return l.get(a);var u=r.apply(this,i);return o.cache=l.set(a,u)||l,u};return o.cache=new(n.Cache||e),o}return n.Cache=e,Hf=n,Hf}var Uf,Ly;function OP(){if(Ly)return Uf;Ly=1;var e=TP(),t=500;function n(r){var s=e(r,function(i){return o.size===t&&o.clear(),i}),o=s.cache;return s}return Uf=n,Uf}var jf,Py;function RP(){if(Py)return jf;Py=1;var e=OP(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(t,function(i,a,l,u){o.push(l?u.replace(n,"$1"):a||i)}),o});return jf=r,jf}var Vf,Dy;function IP(){if(Dy)return Vf;Dy=1;function e(t,n){for(var r=-1,s=t==null?0:t.length,o=Array(s);++r<s;)o[r]=n(t[r],r,t);return o}return Vf=e,Vf}var Gf,$y;function MP(){if($y)return Gf;$y=1;var e=tf(),t=IP(),n=Xu(),r=lf(),s=e?e.prototype:void 0,o=s?s.toString:void 0;function i(a){if(typeof a=="string")return a;if(n(a))return t(a,i)+"";if(r(a))return o?o.call(a):"";var l=a+"";return l=="0"&&1/a==-1/0?"-0":l}return Gf=i,Gf}var Kf,Ny;function LP(){if(Ny)return Kf;Ny=1;var e=MP();function t(n){return n==null?"":e(n)}return Kf=t,Kf}var Wf,qy;function PP(){if(qy)return Wf;qy=1;var e=Xu(),t=eP(),n=RP(),r=LP();function s(o,i){return e(o)?o:t(o,i)?[o]:n(r(o))}return Wf=s,Wf}var Zf,Fy;function DP(){if(Fy)return Zf;Fy=1;var e=lf();function t(n){if(typeof n=="string"||e(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}return Zf=t,Zf}var Xf,By;function $P(){if(By)return Xf;By=1;var e=PP(),t=DP();function n(r,s){s=e(s,r);for(var o=0,i=s.length;r!=null&&o<i;)r=r[t(s[o++])];return o&&o==i?r:void 0}return Xf=n,Xf}var Yf,zy;function NP(){if(zy)return Yf;zy=1;var e=$P();function t(n,r,s){var o=n==null?void 0:e(n,r);return o===void 0?s:o}return Yf=t,Yf}NP();function qP(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,s]};s.contains.push(i);const a={match:/\\"/},l={className:"string",begin:/'/,end:/'/},u={match:/\\'/},f={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],g=["true","false"],w={match:/(\/[a-z._-]+)+/},h=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],_=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],y=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],b=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:g,built_in:[...h,..._,"set","shopt",...y,...b]},contains:[p,e.SHEBANG(),d,f,e.HASH_COMMENT_MODE,o,w,i,a,l,u,n]}}function FP(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},f={begin:/\{\{/,relevance:0},c={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l,f,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,f,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",d=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,m=`\\b|${r.join("|")}`,g={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${d}))[eE][+-]?(${p})[jJ]?(?=${m})`},{begin:`(${d})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${p})[jJ](?=${m})`}]},w={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},h={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",l,g,c,e.HASH_COMMENT_MODE]}]};return u.contains=[c,g,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[l,g,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},c,w,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[g,h,c]}]}}const ca="[A-Za-z$_][0-9A-Za-z$_]*",Hy=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Uy=["true","false","null","undefined","NaN","Infinity"],jy=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Vy=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Gy=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Ky=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Wy=[].concat(Gy,jy,Vy);function BP(e){const t=e.regex,n=(B,{after:J})=>{const te="</"+B[0].slice(1);return B.input.indexOf(te,J)!==-1},r=ca,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(B,J)=>{const te=B[0].length+B.index,Ae=B.input[te];if(Ae==="<"||Ae===","){J.ignoreMatch();return}Ae===">"&&(n(B,{after:te})||J.ignoreMatch());let ve;const Fe=B.input.substring(te);if(ve=Fe.match(/^\s*=/)){J.ignoreMatch();return}if((ve=Fe.match(/^\s+extends\s+/))&&ve.index===0){J.ignoreMatch();return}}},a={$pattern:ca,keyword:Hy,literal:Uy,built_in:Wy,"variable.language":Ky},l="[0-9](_?[0-9])*",u=`\\.(${l})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${f})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${f})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},g={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},w={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},_={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},y=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,m,g,w,{match:/\$\d+/},c];p.contains=y.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(y)});const b=[].concat(_,p.contains),C=b.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(b)}]),k={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:C},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},A={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...jy,...Vy]}},R={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[k],illegal:/%/},D={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function P(B){return t.concat("(?!",B.join("|"),")")}const oe={match:t.concat(/\b/,P([...Gy,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},N={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},k]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",F={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[k]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:C,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,m,g,w,_,{match:/\$\d+/},c,A,{className:"attr",begin:r+t.lookahead(":"),relevance:0},F,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[_,e.REGEXP_MODE,{className:"function",begin:q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:C}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},L,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[k,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},N,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[k]},oe,D,S,j,{match:/\$[(.]/}]}}function zP(e){const t=BP(e),n=ca,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],s={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[t.exports.CLASS_REFERENCE]},i={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},a=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],l={$pattern:ca,keyword:Hy.concat(a),literal:Uy,built_in:Wy.concat(r),"variable.language":Ky},u={className:"meta",begin:"@"+n},f=(p,d,m)=>{const g=p.contains.findIndex(w=>w.label===d);if(g===-1)throw new Error("can not find mode to replace");p.contains.splice(g,1,m)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(u),t.contains=t.contains.concat([u,s,o]),f(t,"shebang",e.SHEBANG()),f(t,"use_strict",i);const c=t.contains.find(p=>p.label==="func.def");return c.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}const HP=ee({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(e){const t=G(new HL(e.options??{}));for(const r of e.plugins??[])t.value.use(r);const n=I(()=>t.value.render(e.source));return()=>hn("div",{innerHTML:n.value})}}),UP={key:0,class:"chat-message-actions"},jP={key:2,class:"chat-message-files"},Jf=ee({__name:"Message",props:{message:{}},setup(e,{expose:t}){const n=e;rr.registerLanguage("javascript",Th),rr.registerLanguage("typescript",zP),rr.registerLanguage("python",FP),rr.registerLanguage("xml",Oh),rr.registerLanguage("bash",qP);const{message:r}=Gs(n),{options:s}=ss(),o=G(null),i=G({}),a=I(()=>r.value.text||"<Empty response>"),l=I(()=>({"chat-message-from-user":r.value.sender==="user","chat-message-from-bot":r.value.sender==="bot","chat-message-transparent":r.value.transparent===!0})),u=m=>{m.use(VL,{attrs:{target:"_blank",rel:"noopener"}})},f=()=>{var m;(m=o.value)!=null&&m.scrollIntoView&&o.value.scrollIntoView({block:"start"})},c={highlight(m,g){if(g&&rr.getLanguage(g))try{return rr.highlight(m,{language:g}).value}catch{}return""}},p={...(s==null?void 0:s.messageComponents)??{}};t({scrollToView:f});const d=async m=>await new Promise((g,w)=>{const h=new FileReader;h.onload=()=>g(h.result),h.onerror=w,h.readAsDataURL(m)});return rt(async()=>{if(r.value.files)for(const m of r.value.files)try{const g=await d(m);i.value[m.name]=g}catch(g){console.error("Error reading file:",g)}}),(m,g)=>(O(),U("div",{ref_key:"messageContainer",ref:o,class:W(["chat-message",l.value])},[m.$slots.beforeMessage?(O(),U("div",UP,[ye(m.$slots,"beforeMessage",qs(Ja({message:v(r)})))])):ge("",!0),ye(m.$slots,"default",{},()=>[v(r).type==="component"&&p[v(r).key]?(O(),le(Bt(p[v(r).key]),qs(dt({key:0},v(r).arguments)),null,16)):(O(),le(v(HP),{key:1,class:"chat-message-markdown",source:a.value,options:c,plugins:[u]},null,8,["source","plugins"])),(v(r).files??[]).length>0?(O(),U("div",jP,[(O(!0),U(Ze,null,Cn(v(r).files??[],w=>(O(),U("div",{key:w.name,class:"chat-message-file"},[ke(Ih,{file:w,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):ge("",!0)])],2))}}),VP={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function GP(e,t){return O(),U("svg",VP,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M12 3c5.5 0 10 3.58 10 8s-4.5 8-10 8c-1.24 0-2.43-.18-3.53-.5C5.55 21 2 21 2 21c2.33-2.33 2.7-3.9 2.75-4.5C3.05 15.07 2 13.13 2 11c0-4.42 4.5-8 10-8"},null,-1)]))}const KP={name:"mdi-chat",render:GP},WP={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ZP(e,t){return O(),U("svg",WP,t[0]||(t[0]=[ne("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)]))}const XP={name:"mdi-chevron-down",render:ZP},YP={class:"chat-window-wrapper"},JP={class:"chat-window"},QP=ee({__name:"ChatWindow",setup(e){const t=G(!1);function n(){t.value=!t.value,t.value&&Ue(()=>{Zt.emit("scrollToBottom")})}return(r,s)=>(O(),U("div",YP,[ke(jr,{name:"chat-window-transition"},{default:ue(()=>[Ft(ne("div",JP,[ke(Zy)],512),[[nr,t.value]])]),_:1}),ne("div",{class:"chat-window-toggle",onClick:n},[ke(jr,{name:"chat-window-toggle-transition",mode:"out-in"},{default:ue(()=>[t.value?(O(),le(v(XP),{key:1,height:"32",width:"32"})):(O(),le(v(KP),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),eD=ee({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(e){const t=e,n={id:"typing",text:"",sender:"bot"},r=G(),s=I(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${t.animation}`]:!0}));return rt(()=>{var o;(o=r.value)==null||o.scrollToView()}),(o,i)=>(O(),le(v(Jf),{ref_key:"messageContainer",ref:r,class:W(s.value),message:n,"data-test-id":"chat-message-typing"},{default:ue(()=>i[0]||(i[0]=[ne("div",{class:"chat-message-typing-body"},[ne("span",{class:"chat-message-typing-circle"}),ne("span",{class:"chat-message-typing-circle"}),ne("span",{class:"chat-message-typing-circle"})],-1)])),_:1},8,["class"]))}}),tD={key:0,class:"empty-container"},nD={class:"empty","data-test-id":"chat-messages-empty"},rD={key:1,class:"chat-messages-list"},oD=ee({__name:"MessagesList",props:{messages:{},emptyText:{}},setup(e){const t=ul(),n=G([]),{initialMessages:r,waitingForResponse:s}=t;return Ee(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,i)=>o.emptyText&&v(r).length===0&&o.messages.length===0?(O(),U("div",tD,[ne("div",nD,[ke(v(Cc),{icon:"comment",size:"large",class:"emptyIcon"}),ke(v(qv),{tag:"p",size:"medium",color:"text-base"},{default:ue(()=>[Ur(Ke(o.emptyText),1)]),_:1})])])):(O(),U("div",rD,[(O(!0),U(Ze,null,Cn(v(r),a=>(O(),le(Jf,{key:a.id,message:a},null,8,["message"]))),128)),(O(!0),U(Ze,null,Cn(o.messages,a=>(O(),le(Jf,{key:a.id,ref_for:!0,ref_key:"messageComponents",ref:n,message:a},{beforeMessage:ue(({message:l})=>[ye(o.$slots,"beforeMessage",dt({ref_for:!0},{message:l}))]),_:2},1032,["message"]))),128)),v(s)?(O(),le(eD,{key:0})):ge("",!0)]))}}),sD={class:"chat-heading"},iD=["title"],aD={key:0},Zy=ee({__name:"Chat",setup(e){const{t}=mi(),n=ul(),{messages:r,currentSessionId:s}=n,{options:o}=ss(),i=I(()=>o.mode==="window"&&o.showWindowCloseButton);async function a(){n.startNewSession&&(n.startNewSession(),Ue(()=>{Zt.emit("scrollToBottom")}))}async function l(){n.loadPreviousSession&&(await n.loadPreviousSession(),Ue(()=>{Zt.emit("scrollToBottom")}))}function u(){Zt.emit("close")}return rt(async()=>{await l(),!o.showWelcomeScreen&&!s.value&&await a()}),(f,c)=>(O(),le(Yk,{class:"chat-wrapper"},{header:ue(()=>[ne("div",sD,[ne("h1",null,Ke(v(t)("title")),1),i.value?(O(),U("button",{key:0,class:"chat-close-button",title:v(t)("closeButtonTooltip"),onClick:u},[ke(v(Zw),{height:"18",width:"18"})],8,iD)):ge("",!0)]),v(t)("subtitle")?(O(),U("p",aD,Ke(v(t)("subtitle")),1)):ge("",!0)]),footer:ue(()=>[v(s)?(O(),le(Kk,{key:0})):(O(),le(lk,{key:1}))]),default:ue(()=>[!v(s)&&v(o).showWelcomeScreen?(O(),le(tk,{key:0,"onClick:button":a})):(O(),le(oD,{key:1,messages:v(r)},null,8,["messages"]))]),_:1}))}}),lD=ee({__name:"App",props:{},setup(e){const{options:t}=ss(),n=I(()=>t.mode==="fullscreen");return rt(()=>{rr.registerLanguage("xml",Oh),rr.registerLanguage("javascript",Th)}),(r,s)=>n.value?(O(),le(Zy,{key:0,class:"n8n-chat"})):(O(),le(QP,{key:1,class:"n8n-chat"}))}});function cD(e){var s,o;const t={...rs,...e,webhookConfig:{...rs.webhookConfig,...e==null?void 0:e.webhookConfig},i18n:{...rs.i18n,...e==null?void 0:e.i18n,en:{...(s=rs.i18n)==null?void 0:s.en,...(o=e==null?void 0:e.i18n)==null?void 0:o.en}},theme:{...rs.theme,...e==null?void 0:e.theme}},n=t.target??Tw;typeof n=="string"&&qw(n);const r=Sw(lD);return r.use(Fw,t),r.mount(n),r}Kt.createChat=cD,Object.defineProperty(Kt,Symbol.toStringTag,{value:"Module"})});
|
|
48
|
+
`);return l},s.prototype.render=function(o,i,a){var l,u,f,c="",p=this.rules;for(l=0,u=o.length;l<u;l++)f=o[l].type,f==="inline"?c+=this.renderInline(o[l].children,i,a):typeof p[f]<"u"?c+=p[f](o,l,i,a,this):c+=this.renderToken(o,l,i,a);return c},Dc=s,Dc}var Nc,Wv;function qc(){if(Wv)return Nc;Wv=1;function e(){this.__rules__=[],this.__cache__=null}return e.prototype.__find__=function(t){for(var n=0;n<this.__rules__.length;n++)if(this.__rules__[n].name===t)return n;return-1},e.prototype.__compile__=function(){var t=this,n=[""];t.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(s){n.indexOf(s)<0&&n.push(s)})}),t.__cache__={},n.forEach(function(r){t.__cache__[r]=[],t.__rules__.forEach(function(s){s.enabled&&(r&&s.alt.indexOf(r)<0||t.__cache__[r].push(s.fn))})})},e.prototype.at=function(t,n,r){var s=this.__find__(t),o=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__[s].fn=n,this.__rules__[s].alt=o.alt||[],this.__cache__=null},e.prototype.before=function(t,n,r,s){var o=this.__find__(t),i=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:n,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},e.prototype.after=function(t,n,r,s){var o=this.__find__(t),i=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:n,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},e.prototype.push=function(t,n,r){var s=r||{};this.__rules__.push({name:t,enabled:!0,fn:n,alt:s.alt||[]}),this.__cache__=null},e.prototype.enable=function(t,n){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(n)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!0,r.push(s)},this),this.__cache__=null,r},e.prototype.enableOnly=function(t,n){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(t,n)},e.prototype.disable=function(t,n){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(n)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!1,r.push(s)},this),this.__cache__=null,r},e.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]},Nc=e,Nc}var Bc,Zv;function rO(){if(Zv)return Bc;Zv=1;var e=/\r\n?|\n/g,t=/\0/g;return Bc=function(r){var s;s=r.src.replace(e,`
|
|
49
|
+
`),s=s.replace(t,"�"),r.src=s},Bc}var Fc,Xv;function oO(){return Xv||(Xv=1,Fc=function(t){var n;t.inlineMode?(n=new t.Token("inline","",0),n.content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}),Fc}var zc,Jv;function sO(){return Jv||(Jv=1,zc=function(t){var n=t.tokens,r,s,o;for(s=0,o=n.length;s<o;s++)r=n[s],r.type==="inline"&&t.md.inline.parse(r.content,t.md,t.env,r.children)}),zc}var Hc,Yv;function iO(){if(Yv)return Hc;Yv=1;var e=Je().arrayReplaceAt;function t(r){return/^<a[>\s]/i.test(r)}function n(r){return/^<\/a\s*>/i.test(r)}return Hc=function(s){var o,i,a,l,u,f,c,p,d,m,g,C,h,k,y,_,S=s.tokens,x;if(s.md.options.linkify){for(i=0,a=S.length;i<a;i++)if(!(S[i].type!=="inline"||!s.md.linkify.pretest(S[i].content)))for(l=S[i].children,h=0,o=l.length-1;o>=0;o--){if(f=l[o],f.type==="link_close"){for(o--;l[o].level!==f.level&&l[o].type!=="link_open";)o--;continue}if(f.type==="html_inline"&&(t(f.content)&&h>0&&h--,n(f.content)&&h++),!(h>0)&&f.type==="text"&&s.md.linkify.test(f.content)){for(d=f.content,x=s.md.linkify.match(d),c=[],C=f.level,g=0,x.length>0&&x[0].index===0&&o>0&&l[o-1].type==="text_special"&&(x=x.slice(1)),p=0;p<x.length;p++)k=x[p].url,y=s.md.normalizeLink(k),s.md.validateLink(y)&&(_=x[p].text,x[p].schema?x[p].schema==="mailto:"&&!/^mailto:/i.test(_)?_=s.md.normalizeLinkText("mailto:"+_).replace(/^mailto:/,""):_=s.md.normalizeLinkText(_):_=s.md.normalizeLinkText("http://"+_).replace(/^http:\/\//,""),m=x[p].index,m>g&&(u=new s.Token("text","",0),u.content=d.slice(g,m),u.level=C,c.push(u)),u=new s.Token("link_open","a",1),u.attrs=[["href",y]],u.level=C++,u.markup="linkify",u.info="auto",c.push(u),u=new s.Token("text","",0),u.content=_,u.level=C,c.push(u),u=new s.Token("link_close","a",-1),u.level=--C,u.markup="linkify",u.info="auto",c.push(u),g=x[p].lastIndex);g<d.length&&(u=new s.Token("text","",0),u.content=d.slice(g),u.level=C,c.push(u)),S[i].children=l=e(l,o,c)}}}},Hc}var jc,Qv;function aO(){if(Qv)return jc;Qv=1;var e=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,t=/\((c|tm|r)\)/i,n=/\((c|tm|r)\)/ig,r={c:"©",r:"®",tm:"™"};function s(a,l){return r[l.toLowerCase()]}function o(a){var l,u,f=0;for(l=a.length-1;l>=0;l--)u=a[l],u.type==="text"&&!f&&(u.content=u.content.replace(n,s)),u.type==="link_open"&&u.info==="auto"&&f--,u.type==="link_close"&&u.info==="auto"&&f++}function i(a){var l,u,f=0;for(l=a.length-1;l>=0;l--)u=a[l],u.type==="text"&&!f&&e.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),u.type==="link_open"&&u.info==="auto"&&f--,u.type==="link_close"&&u.info==="auto"&&f++}return jc=function(l){var u;if(l.md.options.typographer)for(u=l.tokens.length-1;u>=0;u--)l.tokens[u].type==="inline"&&(t.test(l.tokens[u].content)&&o(l.tokens[u].children),e.test(l.tokens[u].content)&&i(l.tokens[u].children))},jc}var Vc,eb;function lO(){if(eb)return Vc;eb=1;var e=Je().isWhiteSpace,t=Je().isPunctChar,n=Je().isMdAsciiPunct,r=/['"]/,s=/['"]/g,o="’";function i(l,u,f){return l.slice(0,u)+f+l.slice(u+1)}function a(l,u){var f,c,p,d,m,g,C,h,k,y,_,S,x,T,L,I,P,N,D,oe,B;for(D=[],f=0;f<l.length;f++){for(c=l[f],C=l[f].level,P=D.length-1;P>=0&&!(D[P].level<=C);P--);if(D.length=P+1,c.type==="text"){p=c.content,m=0,g=p.length;e:for(;m<g&&(s.lastIndex=m,d=s.exec(p),!!d);){if(L=I=!0,m=d.index+1,N=d[0]==="'",k=32,d.index-1>=0)k=p.charCodeAt(d.index-1);else for(P=f-1;P>=0&&!(l[P].type==="softbreak"||l[P].type==="hardbreak");P--)if(l[P].content){k=l[P].content.charCodeAt(l[P].content.length-1);break}if(y=32,m<g)y=p.charCodeAt(m);else for(P=f+1;P<l.length&&!(l[P].type==="softbreak"||l[P].type==="hardbreak");P++)if(l[P].content){y=l[P].content.charCodeAt(0);break}if(_=n(k)||t(String.fromCharCode(k)),S=n(y)||t(String.fromCharCode(y)),x=e(k),T=e(y),T?L=!1:S&&(x||_||(L=!1)),x?I=!1:_&&(T||S||(I=!1)),y===34&&d[0]==='"'&&k>=48&&k<=57&&(I=L=!1),L&&I&&(L=_,I=S),!L&&!I){N&&(c.content=i(c.content,d.index,o));continue}if(I){for(P=D.length-1;P>=0&&(h=D[P],!(D[P].level<C));P--)if(h.single===N&&D[P].level===C){h=D[P],N?(oe=u.md.options.quotes[2],B=u.md.options.quotes[3]):(oe=u.md.options.quotes[0],B=u.md.options.quotes[1]),c.content=i(c.content,d.index,B),l[h.token].content=i(l[h.token].content,h.pos,oe),m+=B.length-1,h.token===f&&(m+=oe.length-1),p=c.content,g=p.length,D.length=P;continue e}}L?D.push({token:f,pos:d.index,single:N,level:C}):I&&N&&(c.content=i(c.content,d.index,o))}}}}return Vc=function(u){var f;if(u.md.options.typographer)for(f=u.tokens.length-1;f>=0;f--)u.tokens[f].type!=="inline"||!r.test(u.tokens[f].content)||a(u.tokens[f].children,u)},Vc}var Uc,tb;function cO(){return tb||(tb=1,Uc=function(t){var n,r,s,o,i,a,l=t.tokens;for(n=0,r=l.length;n<r;n++)if(l[n].type==="inline"){for(s=l[n].children,i=s.length,o=0;o<i;o++)s[o].type==="text_special"&&(s[o].type="text");for(o=a=0;o<i;o++)s[o].type==="text"&&o+1<i&&s[o+1].type==="text"?s[o+1].content=s[o].content+s[o+1].content:(o!==a&&(s[a]=s[o]),a++);o!==a&&(s.length=a)}}),Uc}var Kc,nb;function Gc(){if(nb)return Kc;nb=1;function e(t,n,r){this.type=t,this.tag=n,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}return e.prototype.attrIndex=function(n){var r,s,o;if(!this.attrs)return-1;for(r=this.attrs,s=0,o=r.length;s<o;s++)if(r[s][0]===n)return s;return-1},e.prototype.attrPush=function(n){this.attrs?this.attrs.push(n):this.attrs=[n]},e.prototype.attrSet=function(n,r){var s=this.attrIndex(n),o=[n,r];s<0?this.attrPush(o):this.attrs[s]=o},e.prototype.attrGet=function(n){var r=this.attrIndex(n),s=null;return r>=0&&(s=this.attrs[r][1]),s},e.prototype.attrJoin=function(n,r){var s=this.attrIndex(n);s<0?this.attrPush([n,r]):this.attrs[s][1]=this.attrs[s][1]+" "+r},Kc=e,Kc}var Wc,rb;function uO(){if(rb)return Wc;rb=1;var e=Gc();function t(n,r,s){this.src=n,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=r}return t.prototype.Token=e,Wc=t,Wc}var Zc,ob;function fO(){if(ob)return Zc;ob=1;var e=qc(),t=[["normalize",rO()],["block",oO()],["inline",sO()],["linkify",iO()],["replacements",aO()],["smartquotes",lO()],["text_join",cO()]];function n(){this.ruler=new e;for(var r=0;r<t.length;r++)this.ruler.push(t[r][0],t[r][1])}return n.prototype.process=function(r){var s,o,i;for(i=this.ruler.getRules(""),s=0,o=i.length;s<o;s++)i[s](r)},n.prototype.State=uO(),Zc=n,Zc}var Xc,sb;function dO(){if(sb)return Xc;sb=1;var e=Je().isSpace;function t(r,s){var o=r.bMarks[s]+r.tShift[s],i=r.eMarks[s];return r.src.slice(o,i)}function n(r){var s=[],o=0,i=r.length,a,l=!1,u=0,f="";for(a=r.charCodeAt(o);o<i;)a===124&&(l?(f+=r.substring(u,o-1),u=o):(s.push(f+r.substring(u,o)),f="",u=o+1)),l=a===92,o++,a=r.charCodeAt(o);return s.push(f+r.substring(u)),s}return Xc=function(s,o,i,a){var l,u,f,c,p,d,m,g,C,h,k,y,_,S,x,T,L,I;if(o+2>i||(d=o+1,s.sCount[d]<s.blkIndent)||s.sCount[d]-s.blkIndent>=4||(f=s.bMarks[d]+s.tShift[d],f>=s.eMarks[d])||(L=s.src.charCodeAt(f++),L!==124&&L!==45&&L!==58)||f>=s.eMarks[d]||(I=s.src.charCodeAt(f++),I!==124&&I!==45&&I!==58&&!e(I))||L===45&&e(I))return!1;for(;f<s.eMarks[d];){if(l=s.src.charCodeAt(f),l!==124&&l!==45&&l!==58&&!e(l))return!1;f++}for(u=t(s,o+1),m=u.split("|"),h=[],c=0;c<m.length;c++){if(k=m[c].trim(),!k){if(c===0||c===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;k.charCodeAt(k.length-1)===58?h.push(k.charCodeAt(0)===58?"center":"right"):k.charCodeAt(0)===58?h.push("left"):h.push("")}if(u=t(s,o).trim(),u.indexOf("|")===-1||s.sCount[o]-s.blkIndent>=4||(m=n(u),m.length&&m[0]===""&&m.shift(),m.length&&m[m.length-1]===""&&m.pop(),g=m.length,g===0||g!==h.length))return!1;if(a)return!0;for(S=s.parentType,s.parentType="table",T=s.md.block.ruler.getRules("blockquote"),C=s.push("table_open","table",1),C.map=y=[o,0],C=s.push("thead_open","thead",1),C.map=[o,o+1],C=s.push("tr_open","tr",1),C.map=[o,o+1],c=0;c<m.length;c++)C=s.push("th_open","th",1),h[c]&&(C.attrs=[["style","text-align:"+h[c]]]),C=s.push("inline","",0),C.content=m[c].trim(),C.children=[],C=s.push("th_close","th",-1);for(C=s.push("tr_close","tr",-1),C=s.push("thead_close","thead",-1),d=o+2;d<i&&!(s.sCount[d]<s.blkIndent);d++){for(x=!1,c=0,p=T.length;c<p;c++)if(T[c](s,d,i,!0)){x=!0;break}if(x||(u=t(s,d).trim(),!u)||s.sCount[d]-s.blkIndent>=4)break;for(m=n(u),m.length&&m[0]===""&&m.shift(),m.length&&m[m.length-1]===""&&m.pop(),d===o+2&&(C=s.push("tbody_open","tbody",1),C.map=_=[o+2,0]),C=s.push("tr_open","tr",1),C.map=[d,d+1],c=0;c<g;c++)C=s.push("td_open","td",1),h[c]&&(C.attrs=[["style","text-align:"+h[c]]]),C=s.push("inline","",0),C.content=m[c]?m[c].trim():"",C.children=[],C=s.push("td_close","td",-1);C=s.push("tr_close","tr",-1)}return _&&(C=s.push("tbody_close","tbody",-1),_[1]=d),C=s.push("table_close","table",-1),y[1]=d,s.parentType=S,s.line=d,!0},Xc}var Jc,ib;function pO(){return ib||(ib=1,Jc=function(t,n,r){var s,o,i;if(t.sCount[n]-t.blkIndent<4)return!1;for(o=s=n+1;s<r;){if(t.isEmpty(s)){s++;continue}if(t.sCount[s]-t.blkIndent>=4){s++,o=s;continue}break}return t.line=o,i=t.push("code_block","code",0),i.content=t.getLines(n,o,4+t.blkIndent,!1)+`
|
|
50
|
+
`,i.map=[n,t.line],!0}),Jc}var Yc,ab;function hO(){return ab||(ab=1,Yc=function(t,n,r,s){var o,i,a,l,u,f,c,p=!1,d=t.bMarks[n]+t.tShift[n],m=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||d+3>m||(o=t.src.charCodeAt(d),o!==126&&o!==96)||(u=d,d=t.skipChars(d,o),i=d-u,i<3)||(c=t.src.slice(u,d),a=t.src.slice(d,m),o===96&&a.indexOf(String.fromCharCode(o))>=0))return!1;if(s)return!0;for(l=n;l++,!(l>=r||(d=u=t.bMarks[l]+t.tShift[l],m=t.eMarks[l],d<m&&t.sCount[l]<t.blkIndent));)if(t.src.charCodeAt(d)===o&&!(t.sCount[l]-t.blkIndent>=4)&&(d=t.skipChars(d,o),!(d-u<i)&&(d=t.skipSpaces(d),!(d<m)))){p=!0;break}return i=t.sCount[n],t.line=l+(p?1:0),f=t.push("fence","code",0),f.info=a,f.content=t.getLines(n+1,l,i,!0),f.markup=c,f.map=[n,t.line],!0}),Yc}var Qc,lb;function gO(){if(lb)return Qc;lb=1;var e=Je().isSpace;return Qc=function(n,r,s,o){var i,a,l,u,f,c,p,d,m,g,C,h,k,y,_,S,x,T,L,I,P=n.lineMax,N=n.bMarks[r]+n.tShift[r],D=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||n.src.charCodeAt(N)!==62)return!1;if(o)return!0;for(g=[],C=[],y=[],_=[],T=n.md.block.ruler.getRules("blockquote"),k=n.parentType,n.parentType="blockquote",d=r;d<s&&(I=n.sCount[d]<n.blkIndent,N=n.bMarks[d]+n.tShift[d],D=n.eMarks[d],!(N>=D));d++){if(n.src.charCodeAt(N++)===62&&!I){for(u=n.sCount[d]+1,n.src.charCodeAt(N)===32?(N++,u++,i=!1,S=!0):n.src.charCodeAt(N)===9?(S=!0,(n.bsCount[d]+u)%4===3?(N++,u++,i=!1):i=!0):S=!1,m=u,g.push(n.bMarks[d]),n.bMarks[d]=N;N<D&&(a=n.src.charCodeAt(N),e(a));){a===9?m+=4-(m+n.bsCount[d]+(i?1:0))%4:m++;N++}c=N>=D,C.push(n.bsCount[d]),n.bsCount[d]=n.sCount[d]+1+(S?1:0),y.push(n.sCount[d]),n.sCount[d]=m-u,_.push(n.tShift[d]),n.tShift[d]=N-n.bMarks[d];continue}if(c)break;for(x=!1,l=0,f=T.length;l<f;l++)if(T[l](n,d,s,!0)){x=!0;break}if(x){n.lineMax=d,n.blkIndent!==0&&(g.push(n.bMarks[d]),C.push(n.bsCount[d]),_.push(n.tShift[d]),y.push(n.sCount[d]),n.sCount[d]-=n.blkIndent);break}g.push(n.bMarks[d]),C.push(n.bsCount[d]),_.push(n.tShift[d]),y.push(n.sCount[d]),n.sCount[d]=-1}for(h=n.blkIndent,n.blkIndent=0,L=n.push("blockquote_open","blockquote",1),L.markup=">",L.map=p=[r,0],n.md.block.tokenize(n,r,d),L=n.push("blockquote_close","blockquote",-1),L.markup=">",n.lineMax=P,n.parentType=k,p[1]=n.line,l=0;l<_.length;l++)n.bMarks[l+r]=g[l],n.tShift[l+r]=_[l],n.sCount[l+r]=y[l],n.bsCount[l+r]=C[l];return n.blkIndent=h,!0},Qc}var eu,cb;function mO(){if(cb)return eu;cb=1;var e=Je().isSpace;return eu=function(n,r,s,o){var i,a,l,u,f=n.bMarks[r]+n.tShift[r],c=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||(i=n.src.charCodeAt(f++),i!==42&&i!==45&&i!==95))return!1;for(a=1;f<c;){if(l=n.src.charCodeAt(f++),l!==i&&!e(l))return!1;l===i&&a++}return a<3?!1:(o||(n.line=r+1,u=n.push("hr","hr",0),u.map=[r,n.line],u.markup=Array(a+1).join(String.fromCharCode(i))),!0)},eu}var tu,ub;function vO(){if(ub)return tu;ub=1;var e=Je().isSpace;function t(s,o){var i,a,l,u;return a=s.bMarks[o]+s.tShift[o],l=s.eMarks[o],i=s.src.charCodeAt(a++),i!==42&&i!==45&&i!==43||a<l&&(u=s.src.charCodeAt(a),!e(u))?-1:a}function n(s,o){var i,a=s.bMarks[o]+s.tShift[o],l=a,u=s.eMarks[o];if(l+1>=u||(i=s.src.charCodeAt(l++),i<48||i>57))return-1;for(;;){if(l>=u)return-1;if(i=s.src.charCodeAt(l++),i>=48&&i<=57){if(l-a>=10)return-1;continue}if(i===41||i===46)break;return-1}return l<u&&(i=s.src.charCodeAt(l),!e(i))?-1:l}function r(s,o){var i,a,l=s.level+2;for(i=o+2,a=s.tokens.length-2;i<a;i++)s.tokens[i].level===l&&s.tokens[i].type==="paragraph_open"&&(s.tokens[i+2].hidden=!0,s.tokens[i].hidden=!0,i+=2)}return tu=function(o,i,a,l){var u,f,c,p,d,m,g,C,h,k,y,_,S,x,T,L,I,P,N,D,oe,B,K,F,z,H,Q,te=i,Ae=!1,ve=!0;if(o.sCount[te]-o.blkIndent>=4||o.listIndent>=0&&o.sCount[te]-o.listIndent>=4&&o.sCount[te]<o.blkIndent)return!1;if(l&&o.parentType==="paragraph"&&o.sCount[te]>=o.blkIndent&&(Ae=!0),(B=n(o,te))>=0){if(g=!0,F=o.bMarks[te]+o.tShift[te],S=Number(o.src.slice(F,B-1)),Ae&&S!==1)return!1}else if((B=t(o,te))>=0)g=!1;else return!1;if(Ae&&o.skipSpaces(B)>=o.eMarks[te])return!1;if(l)return!0;for(_=o.src.charCodeAt(B-1),y=o.tokens.length,g?(Q=o.push("ordered_list_open","ol",1),S!==1&&(Q.attrs=[["start",S]])):Q=o.push("bullet_list_open","ul",1),Q.map=k=[te,0],Q.markup=String.fromCharCode(_),K=!1,H=o.md.block.ruler.getRules("list"),I=o.parentType,o.parentType="list";te<a;){for(oe=B,x=o.eMarks[te],m=T=o.sCount[te]+B-(o.bMarks[te]+o.tShift[te]);oe<x;){if(u=o.src.charCodeAt(oe),u===9)T+=4-(T+o.bsCount[te])%4;else if(u===32)T++;else break;oe++}if(f=oe,f>=x?d=1:d=T-m,d>4&&(d=1),p=m+d,Q=o.push("list_item_open","li",1),Q.markup=String.fromCharCode(_),Q.map=C=[te,0],g&&(Q.info=o.src.slice(F,B-1)),D=o.tight,N=o.tShift[te],P=o.sCount[te],L=o.listIndent,o.listIndent=o.blkIndent,o.blkIndent=p,o.tight=!0,o.tShift[te]=f-o.bMarks[te],o.sCount[te]=T,f>=x&&o.isEmpty(te+1)?o.line=Math.min(o.line+2,a):o.md.block.tokenize(o,te,a,!0),(!o.tight||K)&&(ve=!1),K=o.line-te>1&&o.isEmpty(o.line-1),o.blkIndent=o.listIndent,o.listIndent=L,o.tShift[te]=N,o.sCount[te]=P,o.tight=D,Q=o.push("list_item_close","li",-1),Q.markup=String.fromCharCode(_),te=o.line,C[1]=te,te>=a||o.sCount[te]<o.blkIndent||o.sCount[te]-o.blkIndent>=4)break;for(z=!1,c=0,h=H.length;c<h;c++)if(H[c](o,te,a,!0)){z=!0;break}if(z)break;if(g){if(B=n(o,te),B<0)break;F=o.bMarks[te]+o.tShift[te]}else if(B=t(o,te),B<0)break;if(_!==o.src.charCodeAt(B-1))break}return g?Q=o.push("ordered_list_close","ol",-1):Q=o.push("bullet_list_close","ul",-1),Q.markup=String.fromCharCode(_),k[1]=te,o.line=te,o.parentType=I,ve&&r(o,y),!0},tu}var nu,fb;function bO(){if(fb)return nu;fb=1;var e=Je().normalizeReference,t=Je().isSpace;return nu=function(r,s,o,i){var a,l,u,f,c,p,d,m,g,C,h,k,y,_,S,x,T=0,L=r.bMarks[s]+r.tShift[s],I=r.eMarks[s],P=s+1;if(r.sCount[s]-r.blkIndent>=4||r.src.charCodeAt(L)!==91)return!1;for(;++L<I;)if(r.src.charCodeAt(L)===93&&r.src.charCodeAt(L-1)!==92){if(L+1===I||r.src.charCodeAt(L+1)!==58)return!1;break}for(f=r.lineMax,S=r.md.block.ruler.getRules("reference"),C=r.parentType,r.parentType="reference";P<f&&!r.isEmpty(P);P++)if(!(r.sCount[P]-r.blkIndent>3)&&!(r.sCount[P]<0)){for(_=!1,p=0,d=S.length;p<d;p++)if(S[p](r,P,f,!0)){_=!0;break}if(_)break}for(y=r.getLines(s,P,r.blkIndent,!1).trim(),I=y.length,L=1;L<I;L++){if(a=y.charCodeAt(L),a===91)return!1;if(a===93){g=L;break}else a===10?T++:a===92&&(L++,L<I&&y.charCodeAt(L)===10&&T++)}if(g<0||y.charCodeAt(g+1)!==58)return!1;for(L=g+2;L<I;L++)if(a=y.charCodeAt(L),a===10)T++;else if(!t(a))break;if(h=r.md.helpers.parseLinkDestination(y,L,I),!h.ok||(c=r.md.normalizeLink(h.str),!r.md.validateLink(c)))return!1;for(L=h.pos,T+=h.lines,l=L,u=T,k=L;L<I;L++)if(a=y.charCodeAt(L),a===10)T++;else if(!t(a))break;for(h=r.md.helpers.parseLinkTitle(y,L,I),L<I&&k!==L&&h.ok?(x=h.str,L=h.pos,T+=h.lines):(x="",L=l,T=u);L<I&&(a=y.charCodeAt(L),!!t(a));)L++;if(L<I&&y.charCodeAt(L)!==10&&x)for(x="",L=l,T=u;L<I&&(a=y.charCodeAt(L),!!t(a));)L++;return L<I&&y.charCodeAt(L)!==10||(m=e(y.slice(1,g)),!m)?!1:(i||(typeof r.env.references>"u"&&(r.env.references={}),typeof r.env.references[m]>"u"&&(r.env.references[m]={title:x,href:c}),r.parentType=C,r.line=s+T+1),!0)},nu}var ru,db;function _O(){return db||(db=1,ru=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]),ru}var Xi={},pb;function hb(){if(pb)return Xi;pb=1;var e="[a-zA-Z_:][a-zA-Z0-9:._-]*",t="[^\"'=<>`\\x00-\\x20]+",n="'[^']*'",r='"[^"]*"',s="(?:"+t+"|"+n+"|"+r+")",o="(?:\\s+"+e+"(?:\\s*=\\s*"+s+")?)",i="<[A-Za-z][A-Za-z0-9\\-]*"+o+"*\\s*\\/?>",a="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",l="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",u="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",c="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",p=new RegExp("^(?:"+i+"|"+a+"|"+l+"|"+u+"|"+f+"|"+c+")"),d=new RegExp("^(?:"+i+"|"+a+")");return Xi.HTML_TAG_RE=p,Xi.HTML_OPEN_CLOSE_TAG_RE=d,Xi}var ou,gb;function yO(){if(gb)return ou;gb=1;var e=_O(),t=hb().HTML_OPEN_CLOSE_TAG_RE,n=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+e.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(t.source+"\\s*$"),/^$/,!1]];return ou=function(s,o,i,a){var l,u,f,c,p=s.bMarks[o]+s.tShift[o],d=s.eMarks[o];if(s.sCount[o]-s.blkIndent>=4||!s.md.options.html||s.src.charCodeAt(p)!==60)return!1;for(c=s.src.slice(p,d),l=0;l<n.length&&!n[l][0].test(c);l++);if(l===n.length)return!1;if(a)return n[l][2];if(u=o+1,!n[l][1].test(c)){for(;u<i&&!(s.sCount[u]<s.blkIndent);u++)if(p=s.bMarks[u]+s.tShift[u],d=s.eMarks[u],c=s.src.slice(p,d),n[l][1].test(c)){c.length!==0&&u++;break}}return s.line=u,f=s.push("html_block","",0),f.map=[o,u],f.content=s.getLines(o,u,s.blkIndent,!0),!0},ou}var su,mb;function wO(){if(mb)return su;mb=1;var e=Je().isSpace;return su=function(n,r,s,o){var i,a,l,u,f=n.bMarks[r]+n.tShift[r],c=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||(i=n.src.charCodeAt(f),i!==35||f>=c))return!1;for(a=1,i=n.src.charCodeAt(++f);i===35&&f<c&&a<=6;)a++,i=n.src.charCodeAt(++f);return a>6||f<c&&!e(i)?!1:(o||(c=n.skipSpacesBack(c,f),l=n.skipCharsBack(c,35,f),l>f&&e(n.src.charCodeAt(l-1))&&(c=l),n.line=r+1,u=n.push("heading_open","h"+String(a),1),u.markup="########".slice(0,a),u.map=[r,n.line],u=n.push("inline","",0),u.content=n.src.slice(f,c).trim(),u.map=[r,n.line],u.children=[],u=n.push("heading_close","h"+String(a),-1),u.markup="########".slice(0,a)),!0)},su}var iu,vb;function kO(){return vb||(vb=1,iu=function(t,n,r){var s,o,i,a,l,u,f,c,p,d=n+1,m,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(m=t.parentType,t.parentType="paragraph";d<r&&!t.isEmpty(d);d++)if(!(t.sCount[d]-t.blkIndent>3)){if(t.sCount[d]>=t.blkIndent&&(u=t.bMarks[d]+t.tShift[d],f=t.eMarks[d],u<f&&(p=t.src.charCodeAt(u),(p===45||p===61)&&(u=t.skipChars(u,p),u=t.skipSpaces(u),u>=f)))){c=p===61?1:2;break}if(!(t.sCount[d]<0)){for(o=!1,i=0,a=g.length;i<a;i++)if(g[i](t,d,r,!0)){o=!0;break}if(o)break}}return c?(s=t.getLines(n,d,t.blkIndent,!1).trim(),t.line=d+1,l=t.push("heading_open","h"+String(c),1),l.markup=String.fromCharCode(p),l.map=[n,t.line],l=t.push("inline","",0),l.content=s,l.map=[n,t.line-1],l.children=[],l=t.push("heading_close","h"+String(c),-1),l.markup=String.fromCharCode(p),t.parentType=m,!0):!1}),iu}var au,bb;function CO(){return bb||(bb=1,au=function(t,n,r){var s,o,i,a,l,u,f=n+1,c=t.md.block.ruler.getRules("paragraph");for(u=t.parentType,t.parentType="paragraph";f<r&&!t.isEmpty(f);f++)if(!(t.sCount[f]-t.blkIndent>3)&&!(t.sCount[f]<0)){for(o=!1,i=0,a=c.length;i<a;i++)if(c[i](t,f,r,!0)){o=!0;break}if(o)break}return s=t.getLines(n,f,t.blkIndent,!1).trim(),t.line=f,l=t.push("paragraph_open","p",1),l.map=[n,t.line],l=t.push("inline","",0),l.content=s,l.map=[n,t.line],l.children=[],l=t.push("paragraph_close","p",-1),t.parentType=u,!0}),au}var lu,_b;function xO(){if(_b)return lu;_b=1;var e=Gc(),t=Je().isSpace;function n(r,s,o,i){var a,l,u,f,c,p,d,m;for(this.src=r,this.md=s,this.env=o,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",l=this.src,m=!1,u=f=p=d=0,c=l.length;f<c;f++){if(a=l.charCodeAt(f),!m)if(t(a)){p++,a===9?d+=4-d%4:d++;continue}else m=!0;(a===10||f===c-1)&&(a!==10&&f++,this.bMarks.push(u),this.eMarks.push(f),this.tShift.push(p),this.sCount.push(d),this.bsCount.push(0),m=!1,p=0,d=0,u=f+1)}this.bMarks.push(l.length),this.eMarks.push(l.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}return n.prototype.push=function(r,s,o){var i=new e(r,s,o);return i.block=!0,o<0&&this.level--,i.level=this.level,o>0&&this.level++,this.tokens.push(i),i},n.prototype.isEmpty=function(s){return this.bMarks[s]+this.tShift[s]>=this.eMarks[s]},n.prototype.skipEmptyLines=function(s){for(var o=this.lineMax;s<o&&!(this.bMarks[s]+this.tShift[s]<this.eMarks[s]);s++);return s},n.prototype.skipSpaces=function(s){for(var o,i=this.src.length;s<i&&(o=this.src.charCodeAt(s),!!t(o));s++);return s},n.prototype.skipSpacesBack=function(s,o){if(s<=o)return s;for(;s>o;)if(!t(this.src.charCodeAt(--s)))return s+1;return s},n.prototype.skipChars=function(s,o){for(var i=this.src.length;s<i&&this.src.charCodeAt(s)===o;s++);return s},n.prototype.skipCharsBack=function(s,o,i){if(s<=i)return s;for(;s>i;)if(o!==this.src.charCodeAt(--s))return s+1;return s},n.prototype.getLines=function(s,o,i,a){var l,u,f,c,p,d,m,g=s;if(s>=o)return"";for(d=new Array(o-s),l=0;g<o;g++,l++){for(u=0,m=c=this.bMarks[g],g+1<o||a?p=this.eMarks[g]+1:p=this.eMarks[g];c<p&&u<i;){if(f=this.src.charCodeAt(c),t(f))f===9?u+=4-(u+this.bsCount[g])%4:u++;else if(c-m<this.tShift[g])u++;else break;c++}u>i?d[l]=new Array(u-i+1).join(" ")+this.src.slice(c,p):d[l]=this.src.slice(c,p)}return d.join("")},n.prototype.Token=e,lu=n,lu}var cu,yb;function EO(){if(yb)return cu;yb=1;var e=qc(),t=[["table",dO(),["paragraph","reference"]],["code",pO()],["fence",hO(),["paragraph","reference","blockquote","list"]],["blockquote",gO(),["paragraph","reference","blockquote","list"]],["hr",mO(),["paragraph","reference","blockquote","list"]],["list",vO(),["paragraph","reference","blockquote"]],["reference",bO()],["html_block",yO(),["paragraph","reference","blockquote"]],["heading",wO(),["paragraph","reference","blockquote"]],["lheading",kO()],["paragraph",CO()]];function n(){this.ruler=new e;for(var r=0;r<t.length;r++)this.ruler.push(t[r][0],t[r][1],{alt:(t[r][2]||[]).slice()})}return n.prototype.tokenize=function(r,s,o){for(var i,a,l,u=this.ruler.getRules(""),f=u.length,c=s,p=!1,d=r.md.options.maxNesting;c<o&&(r.line=c=r.skipEmptyLines(c),!(c>=o||r.sCount[c]<r.blkIndent));){if(r.level>=d){r.line=o;break}for(l=r.line,a=0;a<f;a++)if(i=u[a](r,c,o,!1),i){if(l>=r.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");r.tight=!p,r.isEmpty(r.line-1)&&(p=!0),c=r.line,c<o&&r.isEmpty(c)&&(p=!0,c++,r.line=c)}},n.prototype.parse=function(r,s,o,i){var a;r&&(a=new this.State(r,s,o,i),this.tokenize(a,a.line,a.lineMax))},n.prototype.State=xO(),cu=n,cu}var uu,wb;function SO(){if(wb)return uu;wb=1;function e(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}return uu=function(n,r){for(var s=n.pos;s<n.posMax&&!e(n.src.charCodeAt(s));)s++;return s===n.pos?!1:(r||(n.pending+=n.src.slice(n.pos,s)),n.pos=s,!0)},uu}var fu,kb;function AO(){if(kb)return fu;kb=1;var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;return fu=function(n,r){var s,o,i,a,l,u,f,c;return!n.md.options.linkify||n.linkLevel>0||(s=n.pos,o=n.posMax,s+3>o)||n.src.charCodeAt(s)!==58||n.src.charCodeAt(s+1)!==47||n.src.charCodeAt(s+2)!==47||(i=n.pending.match(e),!i)||(a=i[1],l=n.md.linkify.matchAtStart(n.src.slice(s-a.length)),!l)||(u=l.url,u.length<=a.length)||(u=u.replace(/\*+$/,""),f=n.md.normalizeLink(u),!n.md.validateLink(f))?!1:(r||(n.pending=n.pending.slice(0,-a.length),c=n.push("link_open","a",1),c.attrs=[["href",f]],c.markup="linkify",c.info="auto",c=n.push("text","",0),c.content=n.md.normalizeLinkText(u),c=n.push("link_close","a",-1),c.markup="linkify",c.info="auto"),n.pos+=u.length-a.length,!0)},fu}var du,Cb;function TO(){if(Cb)return du;Cb=1;var e=Je().isSpace;return du=function(n,r){var s,o,i,a=n.pos;if(n.src.charCodeAt(a)!==10)return!1;if(s=n.pending.length-1,o=n.posMax,!r)if(s>=0&&n.pending.charCodeAt(s)===32)if(s>=1&&n.pending.charCodeAt(s-1)===32){for(i=s-1;i>=1&&n.pending.charCodeAt(i-1)===32;)i--;n.pending=n.pending.slice(0,i),n.push("hardbreak","br",0)}else n.pending=n.pending.slice(0,-1),n.push("softbreak","br",0);else n.push("softbreak","br",0);for(a++;a<o&&e(n.src.charCodeAt(a));)a++;return n.pos=a,!0},du}var pu,xb;function MO(){if(xb)return pu;xb=1;for(var e=Je().isSpace,t=[],n=0;n<256;n++)t.push(0);return"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(r){t[r.charCodeAt(0)]=1}),pu=function(s,o){var i,a,l,u,f,c=s.pos,p=s.posMax;if(s.src.charCodeAt(c)!==92||(c++,c>=p))return!1;if(i=s.src.charCodeAt(c),i===10){for(o||s.push("hardbreak","br",0),c++;c<p&&(i=s.src.charCodeAt(c),!!e(i));)c++;return s.pos=c,!0}return u=s.src[c],i>=55296&&i<=56319&&c+1<p&&(a=s.src.charCodeAt(c+1),a>=56320&&a<=57343&&(u+=s.src[c+1],c++)),l="\\"+u,o||(f=s.push("text_special","",0),i<256&&t[i]!==0?f.content=u:f.content=l,f.markup=l,f.info="escape"),s.pos=c+1,!0},pu}var hu,Eb;function LO(){return Eb||(Eb=1,hu=function(t,n){var r,s,o,i,a,l,u,f,c=t.pos,p=t.src.charCodeAt(c);if(p!==96)return!1;for(r=c,c++,s=t.posMax;c<s&&t.src.charCodeAt(c)===96;)c++;if(o=t.src.slice(r,c),u=o.length,t.backticksScanned&&(t.backticks[u]||0)<=r)return n||(t.pending+=o),t.pos+=u,!0;for(l=c;(a=t.src.indexOf("`",l))!==-1;){for(l=a+1;l<s&&t.src.charCodeAt(l)===96;)l++;if(f=l-a,f===u)return n||(i=t.push("code_inline","code",0),i.markup=o,i.content=t.src.slice(c,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=l,!0;t.backticks[f]=a}return t.backticksScanned=!0,n||(t.pending+=o),t.pos+=u,!0}),hu}var Ji={},Sb;function Ab(){if(Sb)return Ji;Sb=1,Ji.tokenize=function(n,r){var s,o,i,a,l,u=n.pos,f=n.src.charCodeAt(u);if(r||f!==126||(o=n.scanDelims(n.pos,!0),a=o.length,l=String.fromCharCode(f),a<2))return!1;for(a%2&&(i=n.push("text","",0),i.content=l,a--),s=0;s<a;s+=2)i=n.push("text","",0),i.content=l+l,n.delimiters.push({marker:f,length:0,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return n.pos+=o.length,!0};function e(t,n){var r,s,o,i,a,l=[],u=n.length;for(r=0;r<u;r++)o=n[r],o.marker===126&&o.end!==-1&&(i=n[o.end],a=t.tokens[o.token],a.type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",a=t.tokens[i.token],a.type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="",t.tokens[i.token-1].type==="text"&&t.tokens[i.token-1].content==="~"&&l.push(i.token-1));for(;l.length;){for(r=l.pop(),s=r+1;s<t.tokens.length&&t.tokens[s].type==="s_close";)s++;s--,r!==s&&(a=t.tokens[s],t.tokens[s]=t.tokens[r],t.tokens[r]=a)}}return Ji.postProcess=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n,n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(n,s[r].delimiters)},Ji}var Yi={},Tb;function Mb(){if(Tb)return Yi;Tb=1,Yi.tokenize=function(n,r){var s,o,i,a=n.pos,l=n.src.charCodeAt(a);if(r||l!==95&&l!==42)return!1;for(o=n.scanDelims(n.pos,l===42),s=0;s<o.length;s++)i=n.push("text","",0),i.content=String.fromCharCode(l),n.delimiters.push({marker:l,length:o.length,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return n.pos+=o.length,!0};function e(t,n){var r,s,o,i,a,l,u=n.length;for(r=u-1;r>=0;r--)s=n[r],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=n[s.end],l=r>0&&n[r-1].end===s.end+1&&n[r-1].marker===s.marker&&n[r-1].token===s.token-1&&n[s.end+1].token===o.token+1,a=String.fromCharCode(s.marker),i=t.tokens[s.token],i.type=l?"strong_open":"em_open",i.tag=l?"strong":"em",i.nesting=1,i.markup=l?a+a:a,i.content="",i=t.tokens[o.token],i.type=l?"strong_close":"em_close",i.tag=l?"strong":"em",i.nesting=-1,i.markup=l?a+a:a,i.content="",l&&(t.tokens[n[r-1].token].content="",t.tokens[n[s.end+1].token].content="",r--))}return Yi.postProcess=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n,n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(n,s[r].delimiters)},Yi}var gu,Lb;function $O(){if(Lb)return gu;Lb=1;var e=Je().normalizeReference,t=Je().isSpace;return gu=function(r,s){var o,i,a,l,u,f,c,p,d,m="",g="",C=r.pos,h=r.posMax,k=r.pos,y=!0;if(r.src.charCodeAt(r.pos)!==91||(u=r.pos+1,l=r.md.helpers.parseLinkLabel(r,r.pos,!0),l<0))return!1;if(f=l+1,f<h&&r.src.charCodeAt(f)===40){for(y=!1,f++;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(f>=h)return!1;if(k=f,c=r.md.helpers.parseLinkDestination(r.src,f,r.posMax),c.ok){for(m=r.md.normalizeLink(c.str),r.md.validateLink(m)?f=c.pos:m="",k=f;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(c=r.md.helpers.parseLinkTitle(r.src,f,r.posMax),f<h&&k!==f&&c.ok)for(g=c.str,f=c.pos;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);}(f>=h||r.src.charCodeAt(f)!==41)&&(y=!0),f++}if(y){if(typeof r.env.references>"u")return!1;if(f<h&&r.src.charCodeAt(f)===91?(k=f+1,f=r.md.helpers.parseLinkLabel(r,f),f>=0?a=r.src.slice(k,f++):f=l+1):f=l+1,a||(a=r.src.slice(u,l)),p=r.env.references[e(a)],!p)return r.pos=C,!1;m=p.href,g=p.title}return s||(r.pos=u,r.posMax=l,d=r.push("link_open","a",1),d.attrs=o=[["href",m]],g&&o.push(["title",g]),r.linkLevel++,r.md.inline.tokenize(r),r.linkLevel--,d=r.push("link_close","a",-1)),r.pos=f,r.posMax=h,!0},gu}var mu,$b;function IO(){if($b)return mu;$b=1;var e=Je().normalizeReference,t=Je().isSpace;return mu=function(r,s){var o,i,a,l,u,f,c,p,d,m,g,C,h,k="",y=r.pos,_=r.posMax;if(r.src.charCodeAt(r.pos)!==33||r.src.charCodeAt(r.pos+1)!==91||(f=r.pos+2,u=r.md.helpers.parseLinkLabel(r,r.pos+1,!1),u<0))return!1;if(c=u+1,c<_&&r.src.charCodeAt(c)===40){for(c++;c<_&&(i=r.src.charCodeAt(c),!(!t(i)&&i!==10));c++);if(c>=_)return!1;for(h=c,d=r.md.helpers.parseLinkDestination(r.src,c,r.posMax),d.ok&&(k=r.md.normalizeLink(d.str),r.md.validateLink(k)?c=d.pos:k=""),h=c;c<_&&(i=r.src.charCodeAt(c),!(!t(i)&&i!==10));c++);if(d=r.md.helpers.parseLinkTitle(r.src,c,r.posMax),c<_&&h!==c&&d.ok)for(m=d.str,c=d.pos;c<_&&(i=r.src.charCodeAt(c),!(!t(i)&&i!==10));c++);else m="";if(c>=_||r.src.charCodeAt(c)!==41)return r.pos=y,!1;c++}else{if(typeof r.env.references>"u")return!1;if(c<_&&r.src.charCodeAt(c)===91?(h=c+1,c=r.md.helpers.parseLinkLabel(r,c),c>=0?l=r.src.slice(h,c++):c=u+1):c=u+1,l||(l=r.src.slice(f,u)),p=r.env.references[e(l)],!p)return r.pos=y,!1;k=p.href,m=p.title}return s||(a=r.src.slice(f,u),r.md.inline.parse(a,r.md,r.env,C=[]),g=r.push("image","img",0),g.attrs=o=[["src",k],["alt",""]],g.children=C,g.content=a,m&&o.push(["title",m])),r.pos=c,r.posMax=_,!0},mu}var vu,Ib;function RO(){if(Ib)return vu;Ib=1;var e=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,t=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;return vu=function(r,s){var o,i,a,l,u,f,c=r.pos;if(r.src.charCodeAt(c)!==60)return!1;for(u=r.pos,f=r.posMax;;){if(++c>=f||(l=r.src.charCodeAt(c),l===60))return!1;if(l===62)break}return o=r.src.slice(u+1,c),t.test(o)?(i=r.md.normalizeLink(o),r.md.validateLink(i)?(s||(a=r.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=r.push("text","",0),a.content=r.md.normalizeLinkText(o),a=r.push("link_close","a",-1),a.markup="autolink",a.info="auto"),r.pos+=o.length+2,!0):!1):e.test(o)?(i=r.md.normalizeLink("mailto:"+o),r.md.validateLink(i)?(s||(a=r.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=r.push("text","",0),a.content=r.md.normalizeLinkText(o),a=r.push("link_close","a",-1),a.markup="autolink",a.info="auto"),r.pos+=o.length+2,!0):!1):!1},vu}var bu,Rb;function OO(){if(Rb)return bu;Rb=1;var e=hb().HTML_TAG_RE;function t(s){return/^<a[>\s]/i.test(s)}function n(s){return/^<\/a\s*>/i.test(s)}function r(s){var o=s|32;return o>=97&&o<=122}return bu=function(o,i){var a,l,u,f,c=o.pos;return!o.md.options.html||(u=o.posMax,o.src.charCodeAt(c)!==60||c+2>=u)||(a=o.src.charCodeAt(c+1),a!==33&&a!==63&&a!==47&&!r(a))||(l=o.src.slice(c).match(e),!l)?!1:(i||(f=o.push("html_inline","",0),f.content=l[0],t(f.content)&&o.linkLevel++,n(f.content)&&o.linkLevel--),o.pos+=l[0].length,!0)},bu}var _u,Ob;function PO(){if(Ob)return _u;Ob=1;var e=Sv(),t=Je().has,n=Je().isValidEntityCode,r=Je().fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,o=/^&([a-z][a-z0-9]{1,31});/i;return _u=function(a,l){var u,f,c,p,d=a.pos,m=a.posMax;if(a.src.charCodeAt(d)!==38||d+1>=m)return!1;if(u=a.src.charCodeAt(d+1),u===35){if(c=a.src.slice(d).match(s),c)return l||(f=c[1][0].toLowerCase()==="x"?parseInt(c[1].slice(1),16):parseInt(c[1],10),p=a.push("text_special","",0),p.content=n(f)?r(f):r(65533),p.markup=c[0],p.info="entity"),a.pos+=c[0].length,!0}else if(c=a.src.slice(d).match(o),c&&t(e,c[1]))return l||(p=a.push("text_special","",0),p.content=e[c[1]],p.markup=c[0],p.info="entity"),a.pos+=c[0].length,!0;return!1},_u}var yu,Pb;function DO(){if(Pb)return yu;Pb=1;function e(t){var n,r,s,o,i,a,l,u,f={},c=t.length;if(c){var p=0,d=-2,m=[];for(n=0;n<c;n++)if(s=t[n],m.push(0),(t[p].marker!==s.marker||d!==s.token-1)&&(p=n),d=s.token,s.length=s.length||0,!!s.close){for(f.hasOwnProperty(s.marker)||(f[s.marker]=[-1,-1,-1,-1,-1,-1]),i=f[s.marker][(s.open?3:0)+s.length%3],r=p-m[p]-1,a=r;r>i;r-=m[r]+1)if(o=t[r],o.marker===s.marker&&o.open&&o.end<0&&(l=!1,(o.close||s.open)&&(o.length+s.length)%3===0&&(o.length%3!==0||s.length%3!==0)&&(l=!0),!l)){u=r>0&&!t[r-1].open?m[r-1]+1:0,m[n]=n-r+u,m[r]=u,s.open=!1,o.end=n,o.close=!1,a=-1,d=-2;break}a!==-1&&(f[s.marker][(s.open?3:0)+(s.length||0)%3]=a)}}}return yu=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(s[r].delimiters)},yu}var wu,Db;function NO(){return Db||(Db=1,wu=function(t){var n,r,s=0,o=t.tokens,i=t.tokens.length;for(n=r=0;n<i;n++)o[n].nesting<0&&s--,o[n].level=s,o[n].nesting>0&&s++,o[n].type==="text"&&n+1<i&&o[n+1].type==="text"?o[n+1].content=o[n].content+o[n+1].content:(n!==r&&(o[r]=o[n]),r++);n!==r&&(o.length=r)}),wu}var ku,Nb;function qO(){if(Nb)return ku;Nb=1;var e=Gc(),t=Je().isWhiteSpace,n=Je().isPunctChar,r=Je().isMdAsciiPunct;function s(o,i,a,l){this.src=o,this.env=a,this.md=i,this.tokens=l,this.tokens_meta=Array(l.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}return s.prototype.pushPending=function(){var o=new e("text","",0);return o.content=this.pending,o.level=this.pendingLevel,this.tokens.push(o),this.pending="",o},s.prototype.push=function(o,i,a){this.pending&&this.pushPending();var l=new e(o,i,a),u=null;return a<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),l.level=this.level,a>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],u={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(l),this.tokens_meta.push(u),l},s.prototype.scanDelims=function(o,i){var a=o,l,u,f,c,p,d,m,g,C,h=!0,k=!0,y=this.posMax,_=this.src.charCodeAt(o);for(l=o>0?this.src.charCodeAt(o-1):32;a<y&&this.src.charCodeAt(a)===_;)a++;return f=a-o,u=a<y?this.src.charCodeAt(a):32,m=r(l)||n(String.fromCharCode(l)),C=r(u)||n(String.fromCharCode(u)),d=t(l),g=t(u),g?h=!1:C&&(d||m||(h=!1)),d?k=!1:m&&(g||C||(k=!1)),i?(c=h,p=k):(c=h&&(!k||m),p=k&&(!h||C)),{can_open:c,can_close:p,length:f}},s.prototype.Token=e,ku=s,ku}var Cu,qb;function BO(){if(qb)return Cu;qb=1;var e=qc(),t=[["text",SO()],["linkify",AO()],["newline",TO()],["escape",MO()],["backticks",LO()],["strikethrough",Ab().tokenize],["emphasis",Mb().tokenize],["link",$O()],["image",IO()],["autolink",RO()],["html_inline",OO()],["entity",PO()]],n=[["balance_pairs",DO()],["strikethrough",Ab().postProcess],["emphasis",Mb().postProcess],["fragments_join",NO()]];function r(){var s;for(this.ruler=new e,s=0;s<t.length;s++)this.ruler.push(t[s][0],t[s][1]);for(this.ruler2=new e,s=0;s<n.length;s++)this.ruler2.push(n[s][0],n[s][1])}return r.prototype.skipToken=function(s){var o,i,a=s.pos,l=this.ruler.getRules(""),u=l.length,f=s.md.options.maxNesting,c=s.cache;if(typeof c[a]<"u"){s.pos=c[a];return}if(s.level<f){for(i=0;i<u;i++)if(s.level++,o=l[i](s,!0),s.level--,o){if(a>=s.pos)throw new Error("inline rule didn't increment state.pos");break}}else s.pos=s.posMax;o||s.pos++,c[a]=s.pos},r.prototype.tokenize=function(s){for(var o,i,a,l=this.ruler.getRules(""),u=l.length,f=s.posMax,c=s.md.options.maxNesting;s.pos<f;){if(a=s.pos,s.level<c){for(i=0;i<u;i++)if(o=l[i](s,!1),o){if(a>=s.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(s.pos>=f)break;continue}s.pending+=s.src[s.pos++]}s.pending&&s.pushPending()},r.prototype.parse=function(s,o,i,a){var l,u,f,c=new this.State(s,o,i,a);for(this.tokenize(c),u=this.ruler2.getRules(""),f=u.length,l=0;l<f;l++)u[l](c)},r.prototype.State=qO(),Cu=r,Cu}var xu,Bb;function FO(){return Bb||(Bb=1,xu=function(e){var t={};e=e||{},t.src_Any=Pv().source,t.src_Cc=Nv().source,t.src_Z=Fv().source,t.src_P=xc().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),xu}var Eu,Fb;function zO(){if(Fb)return Eu;Fb=1;function e(y){var _=Array.prototype.slice.call(arguments,1);return _.forEach(function(S){S&&Object.keys(S).forEach(function(x){y[x]=S[x]})}),y}function t(y){return Object.prototype.toString.call(y)}function n(y){return t(y)==="[object String]"}function r(y){return t(y)==="[object Object]"}function s(y){return t(y)==="[object RegExp]"}function o(y){return t(y)==="[object Function]"}function i(y){return y.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function l(y){return Object.keys(y||{}).reduce(function(_,S){return _||a.hasOwnProperty(S)},!1)}var u={"http:":{validate:function(y,_,S){var x=y.slice(_);return S.re.http||(S.re.http=new RegExp("^\\/\\/"+S.re.src_auth+S.re.src_host_port_strict+S.re.src_path,"i")),S.re.http.test(x)?x.match(S.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(y,_,S){var x=y.slice(_);return S.re.no_http||(S.re.no_http=new RegExp("^"+S.re.src_auth+"(?:localhost|(?:(?:"+S.re.src_domain+")\\.)+"+S.re.src_domain_root+")"+S.re.src_port+S.re.src_host_terminator+S.re.src_path,"i")),S.re.no_http.test(x)?_>=3&&y[_-3]===":"||_>=3&&y[_-3]==="/"?0:x.match(S.re.no_http)[0].length:0}},"mailto:":{validate:function(y,_,S){var x=y.slice(_);return S.re.mailto||(S.re.mailto=new RegExp("^"+S.re.src_email_name+"@"+S.re.src_host_strict,"i")),S.re.mailto.test(x)?x.match(S.re.mailto)[0].length:0}}},f="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(y){y.__index__=-1,y.__text_cache__=""}function d(y){return function(_,S){var x=_.slice(S);return y.test(x)?x.match(y)[0].length:0}}function m(){return function(y,_){_.normalize(y)}}function g(y){var _=y.re=FO()(y.__opts__),S=y.__tlds__.slice();y.onCompile(),y.__tlds_replaced__||S.push(f),S.push(_.src_xn),_.src_tlds=S.join("|");function x(P){return P.replace("%TLDS%",_.src_tlds)}_.email_fuzzy=RegExp(x(_.tpl_email_fuzzy),"i"),_.link_fuzzy=RegExp(x(_.tpl_link_fuzzy),"i"),_.link_no_ip_fuzzy=RegExp(x(_.tpl_link_no_ip_fuzzy),"i"),_.host_fuzzy_test=RegExp(x(_.tpl_host_fuzzy_test),"i");var T=[];y.__compiled__={};function L(P,N){throw new Error('(LinkifyIt) Invalid schema "'+P+'": '+N)}Object.keys(y.__schemas__).forEach(function(P){var N=y.__schemas__[P];if(N!==null){var D={validate:null,link:null};if(y.__compiled__[P]=D,r(N)){s(N.validate)?D.validate=d(N.validate):o(N.validate)?D.validate=N.validate:L(P,N),o(N.normalize)?D.normalize=N.normalize:N.normalize?L(P,N):D.normalize=m();return}if(n(N)){T.push(P);return}L(P,N)}}),T.forEach(function(P){y.__compiled__[y.__schemas__[P]]&&(y.__compiled__[P].validate=y.__compiled__[y.__schemas__[P]].validate,y.__compiled__[P].normalize=y.__compiled__[y.__schemas__[P]].normalize)}),y.__compiled__[""]={validate:null,normalize:m()};var I=Object.keys(y.__compiled__).filter(function(P){return P.length>0&&y.__compiled__[P]}).map(i).join("|");y.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+_.src_ZPCc+"))("+I+")","i"),y.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+_.src_ZPCc+"))("+I+")","ig"),y.re.schema_at_start=RegExp("^"+y.re.schema_search.source,"i"),y.re.pretest=RegExp("("+y.re.schema_test.source+")|("+y.re.host_fuzzy_test.source+")|@","i"),p(y)}function C(y,_){var S=y.__index__,x=y.__last_index__,T=y.__text_cache__.slice(S,x);this.schema=y.__schema__.toLowerCase(),this.index=S+_,this.lastIndex=x+_,this.raw=T,this.text=T,this.url=T}function h(y,_){var S=new C(y,_);return y.__compiled__[S.schema].normalize(S,y),S}function k(y,_){if(!(this instanceof k))return new k(y,_);_||l(y)&&(_=y,y={}),this.__opts__=e({},a,_),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},u,y),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},g(this)}return k.prototype.add=function(_,S){return this.__schemas__[_]=S,g(this),this},k.prototype.set=function(_){return this.__opts__=e(this.__opts__,_),this},k.prototype.test=function(_){if(this.__text_cache__=_,this.__index__=-1,!_.length)return!1;var S,x,T,L,I,P,N,D,oe;if(this.re.schema_test.test(_)){for(N=this.re.schema_search,N.lastIndex=0;(S=N.exec(_))!==null;)if(L=this.testSchemaAt(_,S[2],N.lastIndex),L){this.__schema__=S[2],this.__index__=S.index+S[1].length,this.__last_index__=S.index+S[0].length+L;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(D=_.search(this.re.host_fuzzy_test),D>=0&&(this.__index__<0||D<this.__index__)&&(x=_.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(I=x.index+x[1].length,(this.__index__<0||I<this.__index__)&&(this.__schema__="",this.__index__=I,this.__last_index__=x.index+x[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(oe=_.indexOf("@"),oe>=0&&(T=_.match(this.re.email_fuzzy))!==null&&(I=T.index+T[1].length,P=T.index+T[0].length,(this.__index__<0||I<this.__index__||I===this.__index__&&P>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=I,this.__last_index__=P))),this.__index__>=0},k.prototype.pretest=function(_){return this.re.pretest.test(_)},k.prototype.testSchemaAt=function(_,S,x){return this.__compiled__[S.toLowerCase()]?this.__compiled__[S.toLowerCase()].validate(_,x,this):0},k.prototype.match=function(_){var S=0,x=[];this.__index__>=0&&this.__text_cache__===_&&(x.push(h(this,S)),S=this.__last_index__);for(var T=S?_.slice(S):_;this.test(T);)x.push(h(this,S)),T=T.slice(this.__last_index__),S+=this.__last_index__;return x.length?x:null},k.prototype.matchAtStart=function(_){if(this.__text_cache__=_,this.__index__=-1,!_.length)return null;var S=this.re.schema_at_start.exec(_);if(!S)return null;var x=this.testSchemaAt(_,S[2],S[0].length);return x?(this.__schema__=S[2],this.__index__=S.index+S[1].length,this.__last_index__=S.index+S[0].length+x,h(this,0)):null},k.prototype.tlds=function(_,S){return _=Array.isArray(_)?_:[_],S?(this.__tlds__=this.__tlds__.concat(_).sort().filter(function(x,T,L){return x!==L[T-1]}).reverse(),g(this),this):(this.__tlds__=_.slice(),this.__tlds_replaced__=!0,g(this),this)},k.prototype.normalize=function(_){_.schema||(_.url="http://"+_.url),_.schema==="mailto:"&&!/^mailto:/i.test(_.url)&&(_.url="mailto:"+_.url)},k.prototype.onCompile=function(){},Eu=k,Eu}const Lo=2147483647,qn=36,Su=1,Cs=26,HO=38,jO=700,zb=72,Hb=128,jb="-",VO=/^xn--/,UO=/[^\0-\x7F]/,KO=/[\x2E\u3002\uFF0E\uFF61]/g,GO={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Au=qn-Su,Bn=Math.floor,Tu=String.fromCharCode;function $r(e){throw new RangeError(GO[e])}function WO(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Vb(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(KO,".");const s=e.split("."),o=WO(s,t).join(".");return r+o}function Mu(e){const t=[];let n=0;const r=e.length;for(;n<r;){const s=e.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((s&1023)<<10)+(o&1023)+65536):(t.push(s),n--)}else t.push(s)}return t}const Ub=e=>String.fromCodePoint(...e),ZO=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:qn},Kb=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Gb=function(e,t,n){let r=0;for(e=n?Bn(e/jO):e>>1,e+=Bn(e/t);e>Au*Cs>>1;r+=qn)e=Bn(e/Au);return Bn(r+(Au+1)*e/(e+HO))},Lu=function(e){const t=[],n=e.length;let r=0,s=Hb,o=zb,i=e.lastIndexOf(jb);i<0&&(i=0);for(let a=0;a<i;++a)e.charCodeAt(a)>=128&&$r("not-basic"),t.push(e.charCodeAt(a));for(let a=i>0?i+1:0;a<n;){const l=r;for(let f=1,c=qn;;c+=qn){a>=n&&$r("invalid-input");const p=ZO(e.charCodeAt(a++));p>=qn&&$r("invalid-input"),p>Bn((Lo-r)/f)&&$r("overflow"),r+=p*f;const d=c<=o?Su:c>=o+Cs?Cs:c-o;if(p<d)break;const m=qn-d;f>Bn(Lo/m)&&$r("overflow"),f*=m}const u=t.length+1;o=Gb(r-l,u,l==0),Bn(r/u)>Lo-s&&$r("overflow"),s+=Bn(r/u),r%=u,t.splice(r++,0,s)}return String.fromCodePoint(...t)},$u=function(e){const t=[];e=Mu(e);const n=e.length;let r=Hb,s=0,o=zb;for(const l of e)l<128&&t.push(Tu(l));const i=t.length;let a=i;for(i&&t.push(jb);a<n;){let l=Lo;for(const f of e)f>=r&&f<l&&(l=f);const u=a+1;l-r>Bn((Lo-s)/u)&&$r("overflow"),s+=(l-r)*u,r=l;for(const f of e)if(f<r&&++s>Lo&&$r("overflow"),f===r){let c=s;for(let p=qn;;p+=qn){const d=p<=o?Su:p>=o+Cs?Cs:p-o;if(c<d)break;const m=c-d,g=qn-d;t.push(Tu(Kb(d+m%g,0))),c=Bn(m/g)}t.push(Tu(Kb(c,0))),o=Gb(s,u,a===i),s=0,++a}++s,++r}return t.join("")},Wb=function(e){return Vb(e,function(t){return VO.test(t)?Lu(t.slice(4).toLowerCase()):t})},Zb=function(e){return Vb(e,function(t){return UO.test(t)?"xn--"+$u(t):t})},XO=Fk(Object.freeze(Object.defineProperty({__proto__:null,decode:Lu,default:{version:"2.3.1",ucs2:{decode:Mu,encode:Ub},decode:Lu,encode:$u,toASCII:Zb,toUnicode:Wb},encode:$u,toASCII:Zb,toUnicode:Wb,ucs2decode:Mu,ucs2encode:Ub},Symbol.toStringTag,{value:"Module"})));var Iu,Xb;function JO(){return Xb||(Xb=1,Iu={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}),Iu}var Ru,Jb;function YO(){return Jb||(Jb=1,Ru={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}),Ru}var Ou,Yb;function QO(){return Yb||(Yb=1,Ou={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}),Ou}var Pu,Qb;function eP(){if(Qb)return Pu;Qb=1;var e=Je(),t=tO(),n=nO(),r=fO(),s=EO(),o=BO(),i=zO(),a=Rv(),l=XO,u={default:JO(),zero:YO(),commonmark:QO()},f=/^(vbscript|javascript|file|data):/,c=/^data:image\/(gif|png|jpeg|webp);/;function p(h){var k=h.trim().toLowerCase();return f.test(k)?!!c.test(k):!0}var d=["http:","https:","mailto:"];function m(h){var k=a.parse(h,!0);if(k.hostname&&(!k.protocol||d.indexOf(k.protocol)>=0))try{k.hostname=l.toASCII(k.hostname)}catch{}return a.encode(a.format(k))}function g(h){var k=a.parse(h,!0);if(k.hostname&&(!k.protocol||d.indexOf(k.protocol)>=0))try{k.hostname=l.toUnicode(k.hostname)}catch{}return a.decode(a.format(k),a.decode.defaultChars+"%")}function C(h,k){if(!(this instanceof C))return new C(h,k);k||e.isString(h)||(k=h||{},h="default"),this.inline=new o,this.block=new s,this.core=new r,this.renderer=new n,this.linkify=new i,this.validateLink=p,this.normalizeLink=m,this.normalizeLinkText=g,this.utils=e,this.helpers=e.assign({},t),this.options={},this.configure(h),k&&this.set(k)}return C.prototype.set=function(h){return e.assign(this.options,h),this},C.prototype.configure=function(h){var k=this,y;if(e.isString(h)&&(y=h,h=u[y],!h))throw new Error('Wrong `markdown-it` preset "'+y+'", check name');if(!h)throw new Error("Wrong `markdown-it` preset, can't be empty");return h.options&&k.set(h.options),h.components&&Object.keys(h.components).forEach(function(_){h.components[_].rules&&k[_].ruler.enableOnly(h.components[_].rules),h.components[_].rules2&&k[_].ruler2.enableOnly(h.components[_].rules2)}),this},C.prototype.enable=function(h,k){var y=[];Array.isArray(h)||(h=[h]),["core","block","inline"].forEach(function(S){y=y.concat(this[S].ruler.enable(h,!0))},this),y=y.concat(this.inline.ruler2.enable(h,!0));var _=h.filter(function(S){return y.indexOf(S)<0});if(_.length&&!k)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+_);return this},C.prototype.disable=function(h,k){var y=[];Array.isArray(h)||(h=[h]),["core","block","inline"].forEach(function(S){y=y.concat(this[S].ruler.disable(h,!0))},this),y=y.concat(this.inline.ruler2.disable(h,!0));var _=h.filter(function(S){return y.indexOf(S)<0});if(_.length&&!k)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+_);return this},C.prototype.use=function(h){var k=[this].concat(Array.prototype.slice.call(arguments,1));return h.apply(h,k),this},C.prototype.parse=function(h,k){if(typeof h!="string")throw new Error("Input data should be a String");var y=new this.core.State(h,this,k);return this.core.process(y),y.tokens},C.prototype.render=function(h,k){return k=k||{},this.renderer.render(this.parse(h,k),this.options,k)},C.prototype.parseInline=function(h,k){var y=new this.core.State(h,this,k);return y.inlineMode=!0,this.core.process(y),y.tokens},C.prototype.renderInline=function(h,k){return k=k||{},this.renderer.render(this.parseInline(h,k),this.options,k)},Pu=C,Pu}var Du,e_;function tP(){return e_||(e_=1,Du=eP()),Du}var nP=tP();const rP=fl(nP);var Nu,t_;function oP(){if(t_)return Nu;t_=1;function e(r,s){var o,i,a=r.attrs[r.attrIndex("href")][1];for(o=0;o<s.length;++o){if(i=s[o],typeof i.matcher=="function"){if(i.matcher(a,i))return i;continue}return i}}function t(r,s,o){Object.keys(o).forEach(function(i){var a,l=o[i];i==="className"&&(i="class"),a=s[r].attrIndex(i),a<0?s[r].attrPush([i,l]):s[r].attrs[a][1]=l})}function n(r,s){s?s=Array.isArray(s)?s:[s]:s=[],Object.freeze(s);var o=r.renderer.rules.link_open||this.defaultRender;r.renderer.rules.link_open=function(i,a,l,u,f){var c=e(i[a],s),p=c&&c.attrs;return p&&t(a,i,p),o(i,a,l,u,f)}}return n.defaultRender=function(r,s,o,i,a){return a.renderToken(r,s,o)},Nu=n,Nu}var sP=oP();const iP=fl(sP);var Qi={exports:{}},ct={},ea={exports:{}},eo={},n_;function r_(){if(n_)return eo;n_=1;function e(){var o={};return o["align-content"]=!1,o["align-items"]=!1,o["align-self"]=!1,o["alignment-adjust"]=!1,o["alignment-baseline"]=!1,o.all=!1,o["anchor-point"]=!1,o.animation=!1,o["animation-delay"]=!1,o["animation-direction"]=!1,o["animation-duration"]=!1,o["animation-fill-mode"]=!1,o["animation-iteration-count"]=!1,o["animation-name"]=!1,o["animation-play-state"]=!1,o["animation-timing-function"]=!1,o.azimuth=!1,o["backface-visibility"]=!1,o.background=!0,o["background-attachment"]=!0,o["background-clip"]=!0,o["background-color"]=!0,o["background-image"]=!0,o["background-origin"]=!0,o["background-position"]=!0,o["background-repeat"]=!0,o["background-size"]=!0,o["baseline-shift"]=!1,o.binding=!1,o.bleed=!1,o["bookmark-label"]=!1,o["bookmark-level"]=!1,o["bookmark-state"]=!1,o.border=!0,o["border-bottom"]=!0,o["border-bottom-color"]=!0,o["border-bottom-left-radius"]=!0,o["border-bottom-right-radius"]=!0,o["border-bottom-style"]=!0,o["border-bottom-width"]=!0,o["border-collapse"]=!0,o["border-color"]=!0,o["border-image"]=!0,o["border-image-outset"]=!0,o["border-image-repeat"]=!0,o["border-image-slice"]=!0,o["border-image-source"]=!0,o["border-image-width"]=!0,o["border-left"]=!0,o["border-left-color"]=!0,o["border-left-style"]=!0,o["border-left-width"]=!0,o["border-radius"]=!0,o["border-right"]=!0,o["border-right-color"]=!0,o["border-right-style"]=!0,o["border-right-width"]=!0,o["border-spacing"]=!0,o["border-style"]=!0,o["border-top"]=!0,o["border-top-color"]=!0,o["border-top-left-radius"]=!0,o["border-top-right-radius"]=!0,o["border-top-style"]=!0,o["border-top-width"]=!0,o["border-width"]=!0,o.bottom=!1,o["box-decoration-break"]=!0,o["box-shadow"]=!0,o["box-sizing"]=!0,o["box-snap"]=!0,o["box-suppress"]=!0,o["break-after"]=!0,o["break-before"]=!0,o["break-inside"]=!0,o["caption-side"]=!1,o.chains=!1,o.clear=!0,o.clip=!1,o["clip-path"]=!1,o["clip-rule"]=!1,o.color=!0,o["color-interpolation-filters"]=!0,o["column-count"]=!1,o["column-fill"]=!1,o["column-gap"]=!1,o["column-rule"]=!1,o["column-rule-color"]=!1,o["column-rule-style"]=!1,o["column-rule-width"]=!1,o["column-span"]=!1,o["column-width"]=!1,o.columns=!1,o.contain=!1,o.content=!1,o["counter-increment"]=!1,o["counter-reset"]=!1,o["counter-set"]=!1,o.crop=!1,o.cue=!1,o["cue-after"]=!1,o["cue-before"]=!1,o.cursor=!1,o.direction=!1,o.display=!0,o["display-inside"]=!0,o["display-list"]=!0,o["display-outside"]=!0,o["dominant-baseline"]=!1,o.elevation=!1,o["empty-cells"]=!1,o.filter=!1,o.flex=!1,o["flex-basis"]=!1,o["flex-direction"]=!1,o["flex-flow"]=!1,o["flex-grow"]=!1,o["flex-shrink"]=!1,o["flex-wrap"]=!1,o.float=!1,o["float-offset"]=!1,o["flood-color"]=!1,o["flood-opacity"]=!1,o["flow-from"]=!1,o["flow-into"]=!1,o.font=!0,o["font-family"]=!0,o["font-feature-settings"]=!0,o["font-kerning"]=!0,o["font-language-override"]=!0,o["font-size"]=!0,o["font-size-adjust"]=!0,o["font-stretch"]=!0,o["font-style"]=!0,o["font-synthesis"]=!0,o["font-variant"]=!0,o["font-variant-alternates"]=!0,o["font-variant-caps"]=!0,o["font-variant-east-asian"]=!0,o["font-variant-ligatures"]=!0,o["font-variant-numeric"]=!0,o["font-variant-position"]=!0,o["font-weight"]=!0,o.grid=!1,o["grid-area"]=!1,o["grid-auto-columns"]=!1,o["grid-auto-flow"]=!1,o["grid-auto-rows"]=!1,o["grid-column"]=!1,o["grid-column-end"]=!1,o["grid-column-start"]=!1,o["grid-row"]=!1,o["grid-row-end"]=!1,o["grid-row-start"]=!1,o["grid-template"]=!1,o["grid-template-areas"]=!1,o["grid-template-columns"]=!1,o["grid-template-rows"]=!1,o["hanging-punctuation"]=!1,o.height=!0,o.hyphens=!1,o.icon=!1,o["image-orientation"]=!1,o["image-resolution"]=!1,o["ime-mode"]=!1,o["initial-letters"]=!1,o["inline-box-align"]=!1,o["justify-content"]=!1,o["justify-items"]=!1,o["justify-self"]=!1,o.left=!1,o["letter-spacing"]=!0,o["lighting-color"]=!0,o["line-box-contain"]=!1,o["line-break"]=!1,o["line-grid"]=!1,o["line-height"]=!1,o["line-snap"]=!1,o["line-stacking"]=!1,o["line-stacking-ruby"]=!1,o["line-stacking-shift"]=!1,o["line-stacking-strategy"]=!1,o["list-style"]=!0,o["list-style-image"]=!0,o["list-style-position"]=!0,o["list-style-type"]=!0,o.margin=!0,o["margin-bottom"]=!0,o["margin-left"]=!0,o["margin-right"]=!0,o["margin-top"]=!0,o["marker-offset"]=!1,o["marker-side"]=!1,o.marks=!1,o.mask=!1,o["mask-box"]=!1,o["mask-box-outset"]=!1,o["mask-box-repeat"]=!1,o["mask-box-slice"]=!1,o["mask-box-source"]=!1,o["mask-box-width"]=!1,o["mask-clip"]=!1,o["mask-image"]=!1,o["mask-origin"]=!1,o["mask-position"]=!1,o["mask-repeat"]=!1,o["mask-size"]=!1,o["mask-source-type"]=!1,o["mask-type"]=!1,o["max-height"]=!0,o["max-lines"]=!1,o["max-width"]=!0,o["min-height"]=!0,o["min-width"]=!0,o["move-to"]=!1,o["nav-down"]=!1,o["nav-index"]=!1,o["nav-left"]=!1,o["nav-right"]=!1,o["nav-up"]=!1,o["object-fit"]=!1,o["object-position"]=!1,o.opacity=!1,o.order=!1,o.orphans=!1,o.outline=!1,o["outline-color"]=!1,o["outline-offset"]=!1,o["outline-style"]=!1,o["outline-width"]=!1,o.overflow=!1,o["overflow-wrap"]=!1,o["overflow-x"]=!1,o["overflow-y"]=!1,o.padding=!0,o["padding-bottom"]=!0,o["padding-left"]=!0,o["padding-right"]=!0,o["padding-top"]=!0,o.page=!1,o["page-break-after"]=!1,o["page-break-before"]=!1,o["page-break-inside"]=!1,o["page-policy"]=!1,o.pause=!1,o["pause-after"]=!1,o["pause-before"]=!1,o.perspective=!1,o["perspective-origin"]=!1,o.pitch=!1,o["pitch-range"]=!1,o["play-during"]=!1,o.position=!1,o["presentation-level"]=!1,o.quotes=!1,o["region-fragment"]=!1,o.resize=!1,o.rest=!1,o["rest-after"]=!1,o["rest-before"]=!1,o.richness=!1,o.right=!1,o.rotation=!1,o["rotation-point"]=!1,o["ruby-align"]=!1,o["ruby-merge"]=!1,o["ruby-position"]=!1,o["shape-image-threshold"]=!1,o["shape-outside"]=!1,o["shape-margin"]=!1,o.size=!1,o.speak=!1,o["speak-as"]=!1,o["speak-header"]=!1,o["speak-numeral"]=!1,o["speak-punctuation"]=!1,o["speech-rate"]=!1,o.stress=!1,o["string-set"]=!1,o["tab-size"]=!1,o["table-layout"]=!1,o["text-align"]=!0,o["text-align-last"]=!0,o["text-combine-upright"]=!0,o["text-decoration"]=!0,o["text-decoration-color"]=!0,o["text-decoration-line"]=!0,o["text-decoration-skip"]=!0,o["text-decoration-style"]=!0,o["text-emphasis"]=!0,o["text-emphasis-color"]=!0,o["text-emphasis-position"]=!0,o["text-emphasis-style"]=!0,o["text-height"]=!0,o["text-indent"]=!0,o["text-justify"]=!0,o["text-orientation"]=!0,o["text-overflow"]=!0,o["text-shadow"]=!0,o["text-space-collapse"]=!0,o["text-transform"]=!0,o["text-underline-position"]=!0,o["text-wrap"]=!0,o.top=!1,o.transform=!1,o["transform-origin"]=!1,o["transform-style"]=!1,o.transition=!1,o["transition-delay"]=!1,o["transition-duration"]=!1,o["transition-property"]=!1,o["transition-timing-function"]=!1,o["unicode-bidi"]=!1,o["vertical-align"]=!1,o.visibility=!1,o["voice-balance"]=!1,o["voice-duration"]=!1,o["voice-family"]=!1,o["voice-pitch"]=!1,o["voice-range"]=!1,o["voice-rate"]=!1,o["voice-stress"]=!1,o["voice-volume"]=!1,o.volume=!1,o["white-space"]=!1,o.widows=!1,o.width=!0,o["will-change"]=!1,o["word-break"]=!0,o["word-spacing"]=!0,o["word-wrap"]=!0,o["wrap-flow"]=!1,o["wrap-through"]=!1,o["writing-mode"]=!1,o["z-index"]=!1,o}function t(o,i,a){}function n(o,i,a){}var r=/javascript\s*\:/img;function s(o,i){return r.test(i)?"":i}return eo.whiteList=e(),eo.getDefaultWhiteList=e,eo.onAttr=t,eo.onIgnoreAttr=n,eo.safeAttrValue=s,eo}var qu,o_;function s_(){return o_||(o_=1,qu={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t,n){var r,s;if(Array.prototype.forEach)return e.forEach(t,n);for(r=0,s=e.length;r<s;r++)t.call(n,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}),qu}var Bu,i_;function aP(){if(i_)return Bu;i_=1;var e=s_();function t(n,r){n=e.trimRight(n),n[n.length-1]!==";"&&(n+=";");var s=n.length,o=!1,i=0,a=0,l="";function u(){if(!o){var p=e.trim(n.slice(i,a)),d=p.indexOf(":");if(d!==-1){var m=e.trim(p.slice(0,d)),g=e.trim(p.slice(d+1));if(m){var C=r(i,l.length,m,g,p);C&&(l+=C+"; ")}}}i=a+1}for(;a<s;a++){var f=n[a];if(f==="/"&&n[a+1]==="*"){var c=n.indexOf("*/",a+2);if(c===-1)break;a=c+1,i=a+1,o=!1}else f==="("?o=!0:f===")"?o=!1:f===";"?o||u():f===`
|
|
51
|
+
`&&u()}return e.trim(l)}return Bu=t,Bu}var Fu,a_;function lP(){if(a_)return Fu;a_=1;var e=r_(),t=aP();s_();function n(o){return o==null}function r(o){var i={};for(var a in o)i[a]=o[a];return i}function s(o){o=r(o||{}),o.whiteList=o.whiteList||e.whiteList,o.onAttr=o.onAttr||e.onAttr,o.onIgnoreAttr=o.onIgnoreAttr||e.onIgnoreAttr,o.safeAttrValue=o.safeAttrValue||e.safeAttrValue,this.options=o}return s.prototype.process=function(o){if(o=o||"",o=o.toString(),!o)return"";var i=this,a=i.options,l=a.whiteList,u=a.onAttr,f=a.onIgnoreAttr,c=a.safeAttrValue,p=t(o,function(d,m,g,C,h){var k=l[g],y=!1;if(k===!0?y=k:typeof k=="function"?y=k(C):k instanceof RegExp&&(y=k.test(C)),y!==!0&&(y=!1),C=c(g,C),!!C){var _={position:m,sourcePosition:d,source:h,isWhite:y};if(y){var S=u(g,C,_);return n(S)?g+":"+C:S}else{var S=f(g,C,_);if(!n(S))return S}}});return p},Fu=s,Fu}var l_;function zu(){return l_||(l_=1,function(e,t){var n=r_(),r=lP();function s(i,a){var l=new r(a);return l.process(i)}t=e.exports=s,t.FilterCSS=r;for(var o in n)t[o]=n[o];typeof window<"u"&&(window.filterCSS=e.exports)}(ea,ea.exports)),ea.exports}var Hu,c_;function ju(){return c_||(c_=1,Hu={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t,n){var r,s;if(Array.prototype.forEach)return e.forEach(t,n);for(r=0,s=e.length;r<s;r++)t.call(n,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,n=t.exec(e);return n?n.index:-1}}),Hu}var u_;function f_(){if(u_)return ct;u_=1;var e=zu().FilterCSS,t=zu().getDefaultWhiteList,n=ju();function r(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var s=new e;function o(F,z,H){}function i(F,z,H){}function a(F,z,H){}function l(F,z,H){}function u(F){return F.replace(c,"<").replace(p,">")}function f(F,z,H,Q){if(H=P(H),z==="href"||z==="src"){if(H=n.trim(H),H==="#")return"#";if(!(H.substr(0,7)==="http://"||H.substr(0,8)==="https://"||H.substr(0,7)==="mailto:"||H.substr(0,4)==="tel:"||H.substr(0,11)==="data:image/"||H.substr(0,6)==="ftp://"||H.substr(0,2)==="./"||H.substr(0,3)==="../"||H[0]==="#"||H[0]==="/"))return""}else if(z==="background"){if(k.lastIndex=0,k.test(H))return""}else if(z==="style"){if(y.lastIndex=0,y.test(H)||(_.lastIndex=0,_.test(H)&&(k.lastIndex=0,k.test(H))))return"";Q!==!1&&(Q=Q||s,H=Q.process(H))}return H=N(H),H}var c=/</g,p=/>/g,d=/"/g,m=/"/g,g=/&#([a-zA-Z0-9]*);?/gim,C=/:?/gim,h=/&newline;?/gim,k=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,y=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,_=/u\s*r\s*l\s*\(.*/gi;function S(F){return F.replace(d,""")}function x(F){return F.replace(m,'"')}function T(F){return F.replace(g,function(H,Q){return Q[0]==="x"||Q[0]==="X"?String.fromCharCode(parseInt(Q.substr(1),16)):String.fromCharCode(parseInt(Q,10))})}function L(F){return F.replace(C,":").replace(h," ")}function I(F){for(var z="",H=0,Q=F.length;H<Q;H++)z+=F.charCodeAt(H)<32?" ":F.charAt(H);return n.trim(z)}function P(F){return F=x(F),F=T(F),F=L(F),F=I(F),F}function N(F){return F=S(F),F=u(F),F}function D(){return""}function oe(F,z){typeof z!="function"&&(z=function(){});var H=!Array.isArray(F);function Q(ve){return H?!0:n.indexOf(F,ve)!==-1}var te=[],Ae=!1;return{onIgnoreTag:function(ve,Be,Qe){if(Q(ve))if(Qe.isClosing){var rt="[/removed]",ft=Qe.position+rt.length;return te.push([Ae!==!1?Ae:Qe.position,ft]),Ae=!1,rt}else return Ae||(Ae=Qe.position),"[removed]";else return z(ve,Be,Qe)},remove:function(ve){var Be="",Qe=0;return n.forEach(te,function(rt){Be+=ve.slice(Qe,rt[0]),Qe=rt[1]}),Be+=ve.slice(Qe),Be}}}function B(F){for(var z="",H=0;H<F.length;){var Q=F.indexOf("<!--",H);if(Q===-1){z+=F.slice(H);break}z+=F.slice(H,Q);var te=F.indexOf("-->",Q);if(te===-1)break;H=te+3}return z}function K(F){var z=F.split("");return z=z.filter(function(H){var Q=H.charCodeAt(0);return Q===127?!1:Q<=31?Q===10||Q===13:!0}),z.join("")}return ct.whiteList=r(),ct.getDefaultWhiteList=r,ct.onTag=o,ct.onIgnoreTag=i,ct.onTagAttr=a,ct.onIgnoreTagAttr=l,ct.safeAttrValue=f,ct.escapeHtml=u,ct.escapeQuote=S,ct.unescapeQuote=x,ct.escapeHtmlEntities=T,ct.escapeDangerHtml5Entities=L,ct.clearNonPrintableCharacter=I,ct.friendlyAttrValue=P,ct.escapeAttrValue=N,ct.onIgnoreTagStripAll=D,ct.StripTagBody=oe,ct.stripCommentTag=B,ct.stripBlankChar=K,ct.attributeWrapSign='"',ct.cssFilter=s,ct.getDefaultCSSWhiteList=t,ct}var ta={},d_;function p_(){if(d_)return ta;d_=1;var e=ju();function t(c){var p=e.spaceIndex(c),d;return p===-1?d=c.slice(1,-1):d=c.slice(1,p+1),d=e.trim(d).toLowerCase(),d.slice(0,1)==="/"&&(d=d.slice(1)),d.slice(-1)==="/"&&(d=d.slice(0,-1)),d}function n(c){return c.slice(0,2)==="</"}function r(c,p,d){var m="",g=0,C=!1,h=!1,k=0,y=c.length,_="",S="";e:for(k=0;k<y;k++){var x=c.charAt(k);if(C===!1){if(x==="<"){C=k;continue}}else if(h===!1){if(x==="<"){m+=d(c.slice(g,k)),C=k,g=k;continue}if(x===">"||k===y-1){m+=d(c.slice(g,C)),S=c.slice(C,k+1),_=t(S),m+=p(C,m.length,_,S,n(S)),g=k+1,C=!1;continue}if(x==='"'||x==="'")for(var T=1,L=c.charAt(k-T);L.trim()===""||L==="=";){if(L==="="){h=x;continue e}L=c.charAt(k-++T)}}else if(x===h){h=!1;continue}}return g<y&&(m+=d(c.substr(g))),m}var s=/[^a-zA-Z0-9\\_:.-]/gim;function o(c,p){var d=0,m=0,g=[],C=!1,h=c.length;function k(T,L){if(T=e.trim(T),T=T.replace(s,"").toLowerCase(),!(T.length<1)){var I=p(T,L||"");I&&g.push(I)}}for(var y=0;y<h;y++){var _=c.charAt(y),S,x;if(C===!1&&_==="="){C=c.slice(d,y),d=y+1,m=c.charAt(d)==='"'||c.charAt(d)==="'"?d:a(c,y+1);continue}if(C!==!1&&y===m){if(x=c.indexOf(_,y+1),x===-1)break;S=e.trim(c.slice(m+1,x)),k(C,S),C=!1,y=x,d=y+1;continue}if(/\s|\n|\t/.test(_))if(c=c.replace(/\s|\n|\t/g," "),C===!1)if(x=i(c,y),x===-1){S=e.trim(c.slice(d,y)),k(S),C=!1,d=y+1;continue}else{y=x-1;continue}else if(x=l(c,y-1),x===-1){S=e.trim(c.slice(d,y)),S=f(S),k(C,S),C=!1,d=y+1;continue}else continue}return d<c.length&&(C===!1?k(c.slice(d)):k(C,f(e.trim(c.slice(d))))),e.trim(g.join(" "))}function i(c,p){for(;p<c.length;p++){var d=c[p];if(d!==" ")return d==="="?p:-1}}function a(c,p){for(;p<c.length;p++){var d=c[p];if(d!==" ")return d==="'"||d==='"'?p:-1}}function l(c,p){for(;p>0;p--){var d=c[p];if(d!==" ")return d==="="?p:-1}}function u(c){return c[0]==='"'&&c[c.length-1]==='"'||c[0]==="'"&&c[c.length-1]==="'"}function f(c){return u(c)?c.substr(1,c.length-2):c}return ta.parseTag=r,ta.parseAttr=o,ta}var Vu,h_;function cP(){if(h_)return Vu;h_=1;var e=zu().FilterCSS,t=f_(),n=p_(),r=n.parseTag,s=n.parseAttr,o=ju();function i(c){return c==null}function a(c){var p=o.spaceIndex(c);if(p===-1)return{html:"",closing:c[c.length-2]==="/"};c=o.trim(c.slice(p+1,-1));var d=c[c.length-1]==="/";return d&&(c=o.trim(c.slice(0,-1))),{html:c,closing:d}}function l(c){var p={};for(var d in c)p[d]=c[d];return p}function u(c){var p={};for(var d in c)Array.isArray(c[d])?p[d.toLowerCase()]=c[d].map(function(m){return m.toLowerCase()}):p[d.toLowerCase()]=c[d];return p}function f(c){c=l(c||{}),c.stripIgnoreTag&&(c.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),c.onIgnoreTag=t.onIgnoreTagStripAll),c.whiteList||c.allowList?c.whiteList=u(c.whiteList||c.allowList):c.whiteList=t.whiteList,this.attributeWrapSign=c.singleQuotedAttributeValue===!0?"'":t.attributeWrapSign,c.onTag=c.onTag||t.onTag,c.onTagAttr=c.onTagAttr||t.onTagAttr,c.onIgnoreTag=c.onIgnoreTag||t.onIgnoreTag,c.onIgnoreTagAttr=c.onIgnoreTagAttr||t.onIgnoreTagAttr,c.safeAttrValue=c.safeAttrValue||t.safeAttrValue,c.escapeHtml=c.escapeHtml||t.escapeHtml,this.options=c,c.css===!1?this.cssFilter=!1:(c.css=c.css||{},this.cssFilter=new e(c.css))}return f.prototype.process=function(c){if(c=c||"",c=c.toString(),!c)return"";var p=this,d=p.options,m=d.whiteList,g=d.onTag,C=d.onIgnoreTag,h=d.onTagAttr,k=d.onIgnoreTagAttr,y=d.safeAttrValue,_=d.escapeHtml,S=p.attributeWrapSign,x=p.cssFilter;d.stripBlankChar&&(c=t.stripBlankChar(c)),d.allowCommentTag||(c=t.stripCommentTag(c));var T=!1;d.stripIgnoreTagBody&&(T=t.StripTagBody(d.stripIgnoreTagBody,C),C=T.onIgnoreTag);var L=r(c,function(I,P,N,D,oe){var B={sourcePosition:I,position:P,isClosing:oe,isWhite:Object.prototype.hasOwnProperty.call(m,N)},K=g(N,D,B);if(!i(K))return K;if(B.isWhite){if(B.isClosing)return"</"+N+">";var F=a(D),z=m[N],H=s(F.html,function(Q,te){var Ae=o.indexOf(z,Q)!==-1,ve=h(N,Q,te,Ae);return i(ve)?Ae?(te=y(N,Q,te,x),te?Q+"="+S+te+S:Q):(ve=k(N,Q,te,Ae),i(ve)?void 0:ve):ve});return D="<"+N,H&&(D+=" "+H),F.closing&&(D+=" /"),D+=">",D}else return K=C(N,D,B),i(K)?_(D):K},_);return T&&(L=T.remove(L)),L},Vu=f,Vu}var g_;function uP(){return g_||(g_=1,function(e,t){var n=f_(),r=p_(),s=cP();function o(a,l){var u=new s(l);return u.process(a)}t=e.exports=o,t.filterXSS=o,t.FilterXSS=s,function(){for(var a in n)t[a]=n[a];for(var l in r)t[l]=r[l]}(),typeof window<"u"&&(window.filterXSS=e.exports);function i(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}i()&&(self.filterXSS=e.exports)}(Qi,Qi.exports)),Qi.exports}uP(),{...kv.props};/*!
|
|
52
|
+
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
53
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
54
|
+
*/function xs(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xs=function(t){return typeof t}:xs=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xs(e)}function fP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pP(e,t,n){return t&&dP(e.prototype,t),e}function hP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function on(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable}))),r.forEach(function(s){hP(e,s,n[s])})}return e}function gP(e,t){return mP(e)||vP(e,t)||bP()}function mP(e){if(Array.isArray(e))return e}function vP(e,t){var n=[],r=!0,s=!1,o=void 0;try{for(var i=e[Symbol.iterator](),a;!(r=(a=i.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(l){s=!0,o=l}finally{try{!r&&i.return!=null&&i.return()}finally{if(s)throw o}}return n}function bP(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var m_=function(){},Uu={},v_={},_P=null,b_={mark:m_,measure:m_};try{typeof window<"u"&&(Uu=window),typeof document<"u"&&(v_=document),typeof MutationObserver<"u"&&(_P=MutationObserver),typeof performance<"u"&&(b_=performance)}catch{}var yP=Uu.navigator||{},__=yP.userAgent,y_=__===void 0?"":__,na=Uu,Mn=v_,ra=b_;na.document;var wP=!!Mn.documentElement&&!!Mn.head&&typeof Mn.addEventListener=="function"&&typeof Mn.createElement=="function";~y_.indexOf("MSIE")||~y_.indexOf("Trident/");var ur="___FONT_AWESOME___",kP="fa",CP="svg-inline--fa";(function(){try{return!0}catch{return!1}})();var w_=na.FontAwesomeConfig||{};function xP(e){var t=Mn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function EP(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Mn&&typeof Mn.querySelector=="function"){var SP=[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];SP.forEach(function(e){var t=gP(e,2),n=t[0],r=t[1],s=EP(xP(n));s!=null&&(w_[r]=s)})}var AP={familyPrefix:kP,replacementClass:CP,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},Ku=on({},AP,w_);Ku.autoReplaceSvg||(Ku.observeMutations=!1);var k_=on({},Ku);na.FontAwesomeConfig=k_;var fr=na||{};fr[ur]||(fr[ur]={}),fr[ur].styles||(fr[ur].styles={}),fr[ur].hooks||(fr[ur].hooks={}),fr[ur].shims||(fr[ur].shims=[]);var dr=fr[ur],TP=[],MP=function e(){Mn.removeEventListener("DOMContentLoaded",e),Gu=1,TP.map(function(t){return t()})},Gu=!1;wP&&(Gu=(Mn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Mn.readyState),Gu||Mn.addEventListener("DOMContentLoaded",MP));var Wu="pending",C_="settled",oa="fulfilled",sa="rejected",LP=function(){},x_=typeof global<"u"&&typeof global.process<"u"&&typeof global.process.emit=="function",$P=typeof setImmediate>"u"?setTimeout:setImmediate,Es=[],Zu;function IP(){for(var e=0;e<Es.length;e++)Es[e][0](Es[e][1]);Es=[],Zu=!1}function ia(e,t){Es.push([e,t]),Zu||(Zu=!0,$P(IP,0))}function RP(e,t){function n(s){Xu(t,s)}function r(s){Ss(t,s)}try{e(n,r)}catch(s){r(s)}}function E_(e){var t=e.owner,n=t._state,r=t._data,s=e[n],o=e.then;if(typeof s=="function"){n=oa;try{r=s(r)}catch(i){Ss(o,i)}}S_(o,r)||(n===oa&&Xu(o,r),n===sa&&Ss(o,r))}function S_(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&(typeof t=="function"||xs(t)==="object")){var r=t.then;if(typeof r=="function")return r.call(t,function(s){n||(n=!0,t===s?A_(e,s):Xu(e,s))},function(s){n||(n=!0,Ss(e,s))}),!0}}catch(s){return n||Ss(e,s),!0}return!1}function Xu(e,t){(e===t||!S_(e,t))&&A_(e,t)}function A_(e,t){e._state===Wu&&(e._state=C_,e._data=t,ia(OP,e))}function Ss(e,t){e._state===Wu&&(e._state=C_,e._data=t,ia(PP,e))}function T_(e){e._then=e._then.forEach(E_)}function OP(e){e._state=oa,T_(e)}function PP(e){e._state=sa,T_(e),!e._handled&&x_&&global.process.emit("unhandledRejection",e._data,e)}function DP(e){global.process.emit("rejectionHandled",e)}function gn(e){if(typeof e!="function")throw new TypeError("Promise resolver "+e+" is not a function");if(!(this instanceof gn))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],RP(e,this)}gn.prototype={constructor:gn,_state:Wu,_then:null,_data:void 0,_handled:!1,then:function(t,n){var r={owner:this,then:new this.constructor(LP),fulfilled:t,rejected:n};return(n||t)&&!this._handled&&(this._handled=!0,this._state===sa&&x_&&ia(DP,this)),this._state===oa||this._state===sa?ia(E_,r):this._then.push(r),r.then},catch:function(t){return this.then(null,t)}},gn.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new gn(function(t,n){var r=[],s=0;function o(l){return s++,function(u){r[l]=u,--s||t(r)}}for(var i=0,a;i<e.length;i++)a=e[i],a&&typeof a.then=="function"?a.then(o(i),n):r[i]=a;s||t(r)})},gn.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new gn(function(t,n){for(var r=0,s;r<e.length;r++)s=e[r],s&&typeof s.then=="function"?s.then(t,n):t(s)})},gn.resolve=function(e){return e&&xs(e)==="object"&&e.constructor===gn?e:new gn(function(t){t(e)})},gn.reject=function(e){return new gn(function(t,n){n(e)})},k_.measurePerformance&&ra&&ra.mark&&ra.measure;var Ju=function(t,n,r,s){var o=Object.keys(t),i=o.length,a=n,l,u,f;for(r===void 0?(l=1,f=t[o[0]]):(l=0,f=r);l<i;l++)u=o[l],f=a(f,t[u],u,t);return f};function M_(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,s=r===void 0?!1:r,o=Object.keys(t).reduce(function(i,a){var l=t[a],u=!!l.icon;return u?i[l.iconName]=l.icon:i[a]=l,i},{});typeof dr.hooks.addPack=="function"&&!s?dr.hooks.addPack(e,o):dr.styles[e]=on({},dr.styles[e]||{},o),e==="fas"&&M_("fa",t)}var L_=dr.styles,NP=dr.shims,$_=function(){var t=function(s){return Ju(L_,function(o,i,a){return o[a]=Ju(i,s,{}),o},{})};t(function(r,s,o){return s[3]&&(r[s[3]]=o),r}),t(function(r,s,o){var i=s[2];return r[o]=o,i.forEach(function(a){r[a]=o}),r});var n="far"in L_;Ju(NP,function(r,s){var o=s[0],i=s[1],a=s[2];return i==="far"&&!n&&(i="fas"),r[o]={prefix:i,iconName:a},r},{})};$_(),dr.styles;function Yu(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=new Error().stack}Yu.prototype=Object.create(Error.prototype),Yu.prototype.constructor=Yu;var aa={fill:"currentColor"},I_={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};on({},aa,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"});var Qu=on({},I_,{attributeName:"opacity"});on({},aa,{cx:"256",cy:"364",r:"28"}),on({},I_,{attributeName:"r",values:"28;14;28;28;14;28;"}),on({},Qu,{values:"1;0;1;1;0;1;"}),on({},aa,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),on({},Qu,{values:"1;0;0;0;0;1;"}),on({},aa,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),on({},Qu,{values:"0;0;1;1;0;0;"}),dr.styles,dr.styles;var qP=function(){function e(){fP(this,e),this.definitions={}}return pP(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,s=new Array(r),o=0;o<r;o++)s[o]=arguments[o];var i=s.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(a){n.definitions[a]=on({},n.definitions[a]||{},i[a]),M_(a,i[a]),$_()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var s=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(s).map(function(o){var i=s[o],a=i.prefix,l=i.iconName,u=i.icon;n[a]||(n[a]={}),n[a][l]=u}),n}}]),e}();new qP;var BP=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},FP={exports:{}};(function(e){(function(t){var n=function(h,k,y){if(!u(k)||c(k)||p(k)||d(k)||l(k))return k;var _,S=0,x=0;if(f(k))for(_=[],x=k.length;S<x;S++)_.push(n(h,k[S],y));else{_={};for(var T in k)Object.prototype.hasOwnProperty.call(k,T)&&(_[h(T,y)]=n(h,k[T],y))}return _},r=function(h,k){k=k||{};var y=k.separator||"_",_=k.split||/(?=[A-Z])/;return h.split(_).join(y)},s=function(h){return m(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(k,y){return y?y.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},o=function(h){var k=s(h);return k.substr(0,1).toUpperCase()+k.substr(1)},i=function(h,k){return r(h,k).toLowerCase()},a=Object.prototype.toString,l=function(h){return typeof h=="function"},u=function(h){return h===Object(h)},f=function(h){return a.call(h)=="[object Array]"},c=function(h){return a.call(h)=="[object Date]"},p=function(h){return a.call(h)=="[object RegExp]"},d=function(h){return a.call(h)=="[object Boolean]"},m=function(h){return h=h-0,h===h},g=function(h,k){var y=k&&"process"in k?k.process:k;return typeof y!="function"?h:function(_,S){return y(_,h,S)}},C={camelize:s,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(h,k){return n(g(s,k),h)},decamelizeKeys:function(h,k){return n(g(i,k),h,k)},pascalizeKeys:function(h,k){return n(g(o,k),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=C:t.humps=C})(BP)})(FP);var zP=!1;try{zP=!0}catch{}({...a1});var ef,R_;function tf(){if(R_)return ef;R_=1;var e=Array.isArray;return ef=e,ef}var nf,O_;function HP(){if(O_)return nf;O_=1;var e=typeof hi=="object"&&hi&&hi.Object===Object&&hi;return nf=e,nf}var rf,P_;function of(){if(P_)return rf;P_=1;var e=HP(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return rf=n,rf}var sf,D_;function af(){if(D_)return sf;D_=1;var e=of(),t=e.Symbol;return sf=t,sf}var lf,N_;function jP(){if(N_)return lf;N_=1;var e=af(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,s=e?e.toStringTag:void 0;function o(i){var a=n.call(i,s),l=i[s];try{i[s]=void 0;var u=!0}catch{}var f=r.call(i);return u&&(a?i[s]=l:delete i[s]),f}return lf=o,lf}var cf,q_;function VP(){if(q_)return cf;q_=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return cf=n,cf}var uf,B_;function F_(){if(B_)return uf;B_=1;var e=af(),t=jP(),n=VP(),r="[object Null]",s="[object Undefined]",o=e?e.toStringTag:void 0;function i(a){return a==null?a===void 0?s:r:o&&o in Object(a)?t(a):n(a)}return uf=i,uf}var ff,z_;function UP(){if(z_)return ff;z_=1;function e(t){return t!=null&&typeof t=="object"}return ff=e,ff}var df,H_;function pf(){if(H_)return df;H_=1;var e=F_(),t=UP(),n="[object Symbol]";function r(s){return typeof s=="symbol"||t(s)&&e(s)==n}return df=r,df}var hf,j_;function KP(){if(j_)return hf;j_=1;var e=tf(),t=pf(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function s(o,i){if(e(o))return!1;var a=typeof o;return a=="number"||a=="symbol"||a=="boolean"||o==null||t(o)?!0:r.test(o)||!n.test(o)||i!=null&&o in Object(i)}return hf=s,hf}var gf,V_;function U_(){if(V_)return gf;V_=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return gf=e,gf}var mf,K_;function GP(){if(K_)return mf;K_=1;var e=F_(),t=U_(),n="[object AsyncFunction]",r="[object Function]",s="[object GeneratorFunction]",o="[object Proxy]";function i(a){if(!t(a))return!1;var l=e(a);return l==r||l==s||l==n||l==o}return mf=i,mf}var vf,G_;function WP(){if(G_)return vf;G_=1;var e=of(),t=e["__core-js_shared__"];return vf=t,vf}var bf,W_;function ZP(){if(W_)return bf;W_=1;var e=WP(),t=function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function n(r){return!!t&&t in r}return bf=n,bf}var _f,Z_;function XP(){if(Z_)return _f;Z_=1;var e=Function.prototype,t=e.toString;function n(r){if(r!=null){try{return t.call(r)}catch{}try{return r+""}catch{}}return""}return _f=n,_f}var yf,X_;function JP(){if(X_)return yf;X_=1;var e=GP(),t=ZP(),n=U_(),r=XP(),s=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,l=i.toString,u=a.hasOwnProperty,f=RegExp("^"+l.call(u).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function c(p){if(!n(p)||t(p))return!1;var d=e(p)?f:o;return d.test(r(p))}return yf=c,yf}var wf,J_;function YP(){if(J_)return wf;J_=1;function e(t,n){return t==null?void 0:t[n]}return wf=e,wf}var kf,Y_;function Q_(){if(Y_)return kf;Y_=1;var e=JP(),t=YP();function n(r,s){var o=t(r,s);return e(o)?o:void 0}return kf=n,kf}var Cf,ey;function la(){if(ey)return Cf;ey=1;var e=Q_(),t=e(Object,"create");return Cf=t,Cf}var xf,ty;function QP(){if(ty)return xf;ty=1;var e=la();function t(){this.__data__=e?e(null):{},this.size=0}return xf=t,xf}var Ef,ny;function eD(){if(ny)return Ef;ny=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return Ef=e,Ef}var Sf,ry;function tD(){if(ry)return Sf;ry=1;var e=la(),t="__lodash_hash_undefined__",n=Object.prototype,r=n.hasOwnProperty;function s(o){var i=this.__data__;if(e){var a=i[o];return a===t?void 0:a}return r.call(i,o)?i[o]:void 0}return Sf=s,Sf}var Af,oy;function nD(){if(oy)return Af;oy=1;var e=la(),t=Object.prototype,n=t.hasOwnProperty;function r(s){var o=this.__data__;return e?o[s]!==void 0:n.call(o,s)}return Af=r,Af}var Tf,sy;function rD(){if(sy)return Tf;sy=1;var e=la(),t="__lodash_hash_undefined__";function n(r,s){var o=this.__data__;return this.size+=this.has(r)?0:1,o[r]=e&&s===void 0?t:s,this}return Tf=n,Tf}var Mf,iy;function oD(){if(iy)return Mf;iy=1;var e=QP(),t=eD(),n=tD(),r=nD(),s=rD();function o(i){var a=-1,l=i==null?0:i.length;for(this.clear();++a<l;){var u=i[a];this.set(u[0],u[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=s,Mf=o,Mf}var Lf,ay;function sD(){if(ay)return Lf;ay=1;function e(){this.__data__=[],this.size=0}return Lf=e,Lf}var $f,ly;function iD(){if(ly)return $f;ly=1;function e(t,n){return t===n||t!==t&&n!==n}return $f=e,$f}var If,cy;function ca(){if(cy)return If;cy=1;var e=iD();function t(n,r){for(var s=n.length;s--;)if(e(n[s][0],r))return s;return-1}return If=t,If}var Rf,uy;function aD(){if(uy)return Rf;uy=1;var e=ca(),t=Array.prototype,n=t.splice;function r(s){var o=this.__data__,i=e(o,s);if(i<0)return!1;var a=o.length-1;return i==a?o.pop():n.call(o,i,1),--this.size,!0}return Rf=r,Rf}var Of,fy;function lD(){if(fy)return Of;fy=1;var e=ca();function t(n){var r=this.__data__,s=e(r,n);return s<0?void 0:r[s][1]}return Of=t,Of}var Pf,dy;function cD(){if(dy)return Pf;dy=1;var e=ca();function t(n){return e(this.__data__,n)>-1}return Pf=t,Pf}var Df,py;function uD(){if(py)return Df;py=1;var e=ca();function t(n,r){var s=this.__data__,o=e(s,n);return o<0?(++this.size,s.push([n,r])):s[o][1]=r,this}return Df=t,Df}var Nf,hy;function fD(){if(hy)return Nf;hy=1;var e=sD(),t=aD(),n=lD(),r=cD(),s=uD();function o(i){var a=-1,l=i==null?0:i.length;for(this.clear();++a<l;){var u=i[a];this.set(u[0],u[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=s,Nf=o,Nf}var qf,gy;function dD(){if(gy)return qf;gy=1;var e=Q_(),t=of(),n=e(t,"Map");return qf=n,qf}var Bf,my;function pD(){if(my)return Bf;my=1;var e=oD(),t=fD(),n=dD();function r(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return Bf=r,Bf}var Ff,vy;function hD(){if(vy)return Ff;vy=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return Ff=e,Ff}var zf,by;function ua(){if(by)return zf;by=1;var e=hD();function t(n,r){var s=n.__data__;return e(r)?s[typeof r=="string"?"string":"hash"]:s.map}return zf=t,zf}var Hf,_y;function gD(){if(_y)return Hf;_y=1;var e=ua();function t(n){var r=e(this,n).delete(n);return this.size-=r?1:0,r}return Hf=t,Hf}var jf,yy;function mD(){if(yy)return jf;yy=1;var e=ua();function t(n){return e(this,n).get(n)}return jf=t,jf}var Vf,wy;function vD(){if(wy)return Vf;wy=1;var e=ua();function t(n){return e(this,n).has(n)}return Vf=t,Vf}var Uf,ky;function bD(){if(ky)return Uf;ky=1;var e=ua();function t(n,r){var s=e(this,n),o=s.size;return s.set(n,r),this.size+=s.size==o?0:1,this}return Uf=t,Uf}var Kf,Cy;function _D(){if(Cy)return Kf;Cy=1;var e=pD(),t=gD(),n=mD(),r=vD(),s=bD();function o(i){var a=-1,l=i==null?0:i.length;for(this.clear();++a<l;){var u=i[a];this.set(u[0],u[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=s,Kf=o,Kf}var Gf,xy;function yD(){if(xy)return Gf;xy=1;var e=_D(),t="Expected a function";function n(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new TypeError(t);var o=function(){var i=arguments,a=s?s.apply(this,i):i[0],l=o.cache;if(l.has(a))return l.get(a);var u=r.apply(this,i);return o.cache=l.set(a,u)||l,u};return o.cache=new(n.Cache||e),o}return n.Cache=e,Gf=n,Gf}var Wf,Ey;function wD(){if(Ey)return Wf;Ey=1;var e=yD(),t=500;function n(r){var s=e(r,function(i){return o.size===t&&o.clear(),i}),o=s.cache;return s}return Wf=n,Wf}var Zf,Sy;function kD(){if(Sy)return Zf;Sy=1;var e=wD(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(t,function(i,a,l,u){o.push(l?u.replace(n,"$1"):a||i)}),o});return Zf=r,Zf}var Xf,Ay;function CD(){if(Ay)return Xf;Ay=1;function e(t,n){for(var r=-1,s=t==null?0:t.length,o=Array(s);++r<s;)o[r]=n(t[r],r,t);return o}return Xf=e,Xf}var Jf,Ty;function xD(){if(Ty)return Jf;Ty=1;var e=af(),t=CD(),n=tf(),r=pf(),s=e?e.prototype:void 0,o=s?s.toString:void 0;function i(a){if(typeof a=="string")return a;if(n(a))return t(a,i)+"";if(r(a))return o?o.call(a):"";var l=a+"";return l=="0"&&1/a==-1/0?"-0":l}return Jf=i,Jf}var Yf,My;function ED(){if(My)return Yf;My=1;var e=xD();function t(n){return n==null?"":e(n)}return Yf=t,Yf}var Qf,Ly;function SD(){if(Ly)return Qf;Ly=1;var e=tf(),t=KP(),n=kD(),r=ED();function s(o,i){return e(o)?o:t(o,i)?[o]:n(r(o))}return Qf=s,Qf}var ed,$y;function AD(){if($y)return ed;$y=1;var e=pf();function t(n){if(typeof n=="string"||e(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}return ed=t,ed}var td,Iy;function TD(){if(Iy)return td;Iy=1;var e=SD(),t=AD();function n(r,s){s=e(s,r);for(var o=0,i=s.length;r!=null&&o<i;)r=r[t(s[o++])];return o&&o==i?r:void 0}return td=n,td}var nd,Ry;function MD(){if(Ry)return nd;Ry=1;var e=TD();function t(n,r,s){var o=n==null?void 0:e(n,r);return o===void 0?s:o}return nd=t,nd}MD();function LD(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,s]};s.contains.push(i);const a={match:/\\"/},l={className:"string",begin:/'/,end:/'/},u={match:/\\'/},f={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],g=["true","false"],C={match:/(\/[a-z._-]+)+/},h=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],k=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],y=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],_=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:g,built_in:[...h,...k,"set","shopt",...y,..._]},contains:[p,e.SHEBANG(),d,f,e.HASH_COMMENT_MODE,o,C,i,a,l,u,n]}}function $D(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},f={begin:/\{\{/,relevance:0},c={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l,f,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,f,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",d=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,m=`\\b|${r.join("|")}`,g={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${d}))[eE][+-]?(${p})[jJ]?(?=${m})`},{begin:`(${d})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${p})[jJ](?=${m})`}]},C={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},h={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",l,g,c,e.HASH_COMMENT_MODE]}]};return u.contains=[c,g,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[l,g,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},c,C,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[g,h,c]}]}}const fa="[A-Za-z$_][0-9A-Za-z$_]*",Oy=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Py=["true","false","null","undefined","NaN","Infinity"],Dy=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ny=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],qy=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],By=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Fy=[].concat(qy,Dy,Ny);function ID(e){const t=e.regex,n=(H,{after:Q})=>{const te="</"+H[0].slice(1);return H.input.indexOf(te,Q)!==-1},r=fa,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(H,Q)=>{const te=H[0].length+H.index,Ae=H.input[te];if(Ae==="<"||Ae===","){Q.ignoreMatch();return}Ae===">"&&(n(H,{after:te})||Q.ignoreMatch());let ve;const Be=H.input.substring(te);if(ve=Be.match(/^\s*=/)){Q.ignoreMatch();return}if((ve=Be.match(/^\s+extends\s+/))&&ve.index===0){Q.ignoreMatch();return}}},a={$pattern:fa,keyword:Oy,literal:Py,built_in:Fy,"variable.language":By},l="[0-9](_?[0-9])*",u=`\\.(${l})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${f})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${f})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},g={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},k={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},y=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,m,g,C,{match:/\$\d+/},c];p.contains=y.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(y)});const _=[].concat(k,p.contains),S=_.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(_)}]),x={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:S},T={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},L={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Dy,...Ny]}},I={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},P={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[x],illegal:/%/},N={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function D(H){return t.concat("(?!",H.join("|"),")")}const oe={match:t.concat(/\b/,D([...qy,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},B={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},K={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},F="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",z={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(F)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:S,CLASS_REFERENCE:L},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),I,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,m,g,C,k,{match:/\$\d+/},c,L,{className:"attr",begin:r+t.lookahead(":"),relevance:0},z,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[k,e.REGEXP_MODE,{className:"function",begin:F,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:S}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},P,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},B,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},oe,N,T,K,{match:/\$[(.]/}]}}function RD(e){const t=ID(e),n=fa,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],s={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[t.exports.CLASS_REFERENCE]},i={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},a=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],l={$pattern:fa,keyword:Oy.concat(a),literal:Py,built_in:Fy.concat(r),"variable.language":By},u={className:"meta",begin:"@"+n},f=(p,d,m)=>{const g=p.contains.findIndex(C=>C.label===d);if(g===-1)throw new Error("can not find mode to replace");p.contains.splice(g,1,m)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(u),t.contains=t.contains.concat([u,s,o]),f(t,"shebang",e.SHEBANG()),f(t,"use_strict",i);const c=t.contains.find(p=>p.label==="func.def");return c.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}const OD=ne({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(e){const t=U(new rP(e.options??{}));for(const r of e.plugins??[])t.value.use(r);const n=O(()=>t.value.render(e.source));return()=>kn("div",{innerHTML:n.value})}}),PD={key:0,class:"chat-message-actions"},DD={key:2,class:"chat-message-files"},rd=ne({__name:"Message",props:{message:{}},setup(e,{expose:t}){const n=e;tr.registerLanguage("javascript",Rp),tr.registerLanguage("typescript",RD),tr.registerLanguage("python",$D),tr.registerLanguage("xml",Op),tr.registerLanguage("bash",LD);const{message:r}=js(n),{options:s}=ns(),o=U(null),i=U({}),a=O(()=>r.value.text||"<Empty response>"),l=O(()=>({"chat-message-from-user":r.value.sender==="user","chat-message-from-bot":r.value.sender==="bot","chat-message-transparent":r.value.transparent===!0})),u=m=>{m.use(iP,{attrs:{target:"_blank",rel:"noopener"}})},f=()=>{var m;(m=o.value)!=null&&m.scrollIntoView&&o.value.scrollIntoView({block:"start"})},c={highlight(m,g){if(g&&tr.getLanguage(g))try{return tr.highlight(m,{language:g}).value}catch{}return""}},p={...(s==null?void 0:s.messageComponents)??{}};t({scrollToView:f});const d=async m=>await new Promise((g,C)=>{const h=new FileReader;h.onload=()=>g(h.result),h.onerror=C,h.readAsDataURL(m)});return nt(async()=>{if(r.value.files)for(const m of r.value.files)try{const g=await d(m);i.value[m.name]=g}catch(g){console.error("Error reading file:",g)}}),(m,g)=>(w(),A("div",{ref_key:"messageContainer",ref:o,class:Z(["chat-message",l.value])},[m.$slots.beforeMessage?(w(),A("div",PD,[_e(m.$slots,"beforeMessage",Ps(el({message:b(r)})))])):ge("",!0),_e(m.$slots,"default",{},()=>[b(r).type==="component"&&p[b(r).key]?(w(),le(Rt(p[b(r).key]),Ps(dt({key:0},b(r).arguments)),null,16)):(w(),le(b(OD),{key:1,class:"chat-message-markdown",source:a.value,options:c,plugins:[u]},null,8,["source","plugins"])),(b(r).files??[]).length>0?(w(),A("div",DD,[(w(!0),A(Xe,null,wn(b(r).files??[],C=>(w(),A("div",{key:C.name,class:"chat-message-file"},[ke(Dp,{file:C,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):ge("",!0)])],2))}}),ND={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function qD(e,t){return w(),A("svg",ND,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M12 3c5.5 0 10 3.58 10 8s-4.5 8-10 8c-1.24 0-2.43-.18-3.53-.5C5.55 21 2 21 2 21c2.33-2.33 2.7-3.9 2.75-4.5C3.05 15.07 2 13.13 2 11c0-4.42 4.5-8 10-8"},null,-1)]))}const BD={name:"mdi-chat",render:qD},FD={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function zD(e,t){return w(),A("svg",FD,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)]))}const HD={name:"mdi-chevron-down",render:zD},jD={class:"chat-window-wrapper"},VD={class:"chat-window"},UD=ne({__name:"ChatWindow",setup(e){const t=U(!1);function n(){t.value=!t.value,t.value&&He(()=>{Kt.emit("scrollToBottom")})}return(r,s)=>(w(),A("div",jD,[ke(Hr,{name:"chat-window-transition"},{default:fe(()=>[zt(v("div",VD,[ke(zy)],512),[[er,t.value]])]),_:1}),v("div",{class:"chat-window-toggle",onClick:n},[ke(Hr,{name:"chat-window-toggle-transition",mode:"out-in"},{default:fe(()=>[t.value?(w(),le(b(HD),{key:1,height:"32",width:"32"})):(w(),le(b(BD),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),KD=ne({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(e){const t=e,n={id:"typing",text:"",sender:"bot"},r=U(),s=O(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${t.animation}`]:!0}));return nt(()=>{var o;(o=r.value)==null||o.scrollToView()}),(o,i)=>(w(),le(b(rd),{ref_key:"messageContainer",ref:r,class:Z(s.value),message:n,"data-test-id":"chat-message-typing"},{default:fe(()=>i[0]||(i[0]=[v("div",{class:"chat-message-typing-body"},[v("span",{class:"chat-message-typing-circle"}),v("span",{class:"chat-message-typing-circle"}),v("span",{class:"chat-message-typing-circle"})],-1)])),_:1},8,["class"]))}}),GD={key:0,class:"empty-container"},WD={class:"empty","data-test-id":"chat-messages-empty"},ZD={key:1,class:"chat-messages-list"},XD=ne({__name:"MessagesList",props:{messages:{},emptyText:{}},setup(e){const t=pl(),n=U([]),{initialMessages:r,waitingForResponse:s}=t;return xe(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,i)=>o.emptyText&&b(r).length===0&&o.messages.length===0?(w(),A("div",GD,[v("div",WD,[ke(b(yc),{icon:"message-circle",size:"large",class:"emptyIcon"}),ke(b(PR),{tag:"p",size:"medium",color:"text-base"},{default:fe(()=>[zr(We(o.emptyText),1)]),_:1})])])):(w(),A("div",ZD,[(w(!0),A(Xe,null,wn(b(r),a=>(w(),le(rd,{key:a.id,message:a},null,8,["message"]))),128)),(w(!0),A(Xe,null,wn(o.messages,a=>(w(),le(rd,{key:a.id,ref_for:!0,ref_key:"messageComponents",ref:n,message:a},{beforeMessage:fe(({message:l})=>[_e(o.$slots,"beforeMessage",dt({ref_for:!0},{message:l}))]),_:2},1032,["message"]))),128)),b(s)?(w(),le(KD,{key:0})):ge("",!0)]))}}),JD={class:"chat-heading"},YD=["title"],QD={key:0},zy=ne({__name:"Chat",setup(e){const{t}=gi(),n=pl(),{messages:r,currentSessionId:s}=n,{options:o}=ns(),i=O(()=>o.mode==="window"&&o.showWindowCloseButton);async function a(){n.startNewSession&&(n.startNewSession(),He(()=>{Kt.emit("scrollToBottom")}))}async function l(){n.loadPreviousSession&&(await n.loadPreviousSession(),He(()=>{Kt.emit("scrollToBottom")}))}function u(){Kt.emit("close")}return nt(async()=>{await l(),!o.showWelcomeScreen&&!s.value&&await a()}),(f,c)=>(w(),le(J3,{class:"chat-wrapper"},{header:fe(()=>[v("div",JD,[v("h1",null,We(b(t)("title")),1),i.value?(w(),A("button",{key:0,class:"chat-close-button",title:b(t)("closeButtonTooltip"),onClick:u},[ke(b(Zk),{height:"18",width:"18"})],8,YD)):ge("",!0)]),b(t)("subtitle")?(w(),A("p",QD,We(b(t)("subtitle")),1)):ge("",!0)]),footer:fe(()=>[b(s)?(w(),le(G3,{key:0})):(w(),le(l3,{key:1}))]),default:fe(()=>[!b(s)&&b(o).showWelcomeScreen?(w(),le(t3,{key:0,"onClick:button":a})):(w(),le(XD,{key:1,messages:b(r)},null,8,["messages"]))]),_:1}))}}),eN=ne({__name:"App",props:{},setup(e){const{options:t}=ns(),n=O(()=>t.mode==="fullscreen");return nt(()=>{tr.registerLanguage("xml",Op),tr.registerLanguage("javascript",Rp)}),(r,s)=>n.value?(w(),le(zy,{key:0,class:"n8n-chat"})):(w(),le(UD,{key:1,class:"n8n-chat"}))}});function tN(e){var s,o;const t={...es,...e,webhookConfig:{...es.webhookConfig,...e==null?void 0:e.webhookConfig},i18n:{...es.i18n,...e==null?void 0:e.i18n,en:{...(s=es.i18n)==null?void 0:s.en,...(o=e==null?void 0:e.i18n)==null?void 0:o.en}},theme:{...es.theme,...e==null?void 0:e.theme}},n=t.target??yk;typeof n=="string"&&Ok(n);const r=vk(eN);return r.use(Bk,t),r.mount(n),r}gt.createChat=tN,Object.defineProperty(gt,Symbol.toStringTag,{value:"Module"})});
|