element-plus
Version:
A Component Library for Vue 3
14 lines • 707 kB
JavaScript
(function(D,n){typeof exports=="object"&&typeof module!="undefined"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(D=typeof globalThis!="undefined"?globalThis:D||self,n(D.ElementPlus={},D.Vue))})(this,function(D,n){"use strict";let Uc={};const Yb=e=>{Uc=e},Gb=e=>Uc[e];function Xb(e){for(var t=-1,o=e==null?0:e.length,l={};++t<o;){var r=e[t];l[r[0]]=r[1]}return l}var Yc=Xb;class Zb extends Error{constructor(t){super(t);this.name="ElementPlusError"}}function He(e,t){throw new Zb(`[${e}] ${t}`)}function Gc(e,t){}const Qb=["class","style"],Jb=/^on[A-Z]/;var Yo=(e={})=>{const{excludeListeners:t=!1,excludeKeys:o=[]}=e,l=o.concat(Qb),r=n.getCurrentInstance();return r?n.computed(()=>{var i;return Yc(Object.entries((i=r.proxy)==null?void 0:i.$attrs).filter(([a])=>!l.includes(a)&&!(t&&Jb.test(a))))}):n.computed(()=>({}))},we=typeof window=="undefined";const Oe=()=>{},xb=Object.assign,ev=Object.prototype.hasOwnProperty,Ke=(e,t)=>ev.call(e,t),xe=Array.isArray,st=e=>typeof e=="function",Re=e=>typeof e=="string",Je=e=>e!==null&&typeof e=="object",Go=e=>Je(e)&&st(e.then)&&st(e.catch),tv=Object.prototype.toString,Xc=e=>tv.call(e),so=e=>Xc(e).slice(8,-1),Zc=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},nv=/-(\w)/g,ov=Zc(e=>e.replace(nv,(t,o)=>o?o.toUpperCase():"")),Ft=Zc(e=>e.charAt(0).toUpperCase()+e.slice(1));function lv(){this.__data__=[],this.size=0}var rv=lv;function av(e,t){return e===t||e!==e&&t!==t}var xr=av;function iv(e,t){for(var o=e.length;o--;)if(xr(e[o][0],t))return o;return-1}var Xo=iv,sv=Array.prototype,cv=sv.splice;function dv(e){var t=this.__data__,o=Xo(t,e);if(o<0)return!1;var l=t.length-1;return o==l?t.pop():cv.call(t,o,1),--this.size,!0}var uv=dv;function fv(e){var t=this.__data__,o=Xo(t,e);return o<0?void 0:t[o][1]}var pv=fv;function mv(e){return Xo(this.__data__,e)>-1}var hv=mv;function gv(e,t){var o=this.__data__,l=Xo(o,e);return l<0?(++this.size,o.push([e,t])):o[l][1]=t,this}var yv=gv;function mn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var l=e[t];this.set(l[0],l[1])}}mn.prototype.clear=rv,mn.prototype.delete=uv,mn.prototype.get=pv,mn.prototype.has=hv,mn.prototype.set=yv;var Zo=mn;function bv(){this.__data__=new Zo,this.size=0}var vv=bv;function Cv(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var wv=Cv;function kv(e){return this.__data__.get(e)}var Sv=kv;function Ev(e){return this.__data__.has(e)}var $v=Ev,ct=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ht(e,t,o){return o={path:t,exports:{},require:function(l,r){return Nv(l,r==null?o.path:r)}},e(o,o.exports),o.exports}function Nv(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var Bv=typeof ct=="object"&&ct&&ct.Object===Object&&ct,Qc=Bv,Ov=typeof self=="object"&&self&&self.Object===Object&&self,Pv=Qc||Ov||Function("return this")(),St=Pv,Tv=St.Symbol,Bt=Tv,Jc=Object.prototype,_v=Jc.hasOwnProperty,Vv=Jc.toString,co=Bt?Bt.toStringTag:void 0;function Mv(e){var t=_v.call(e,co),o=e[co];try{e[co]=void 0;var l=!0}catch(i){}var r=Vv.call(e);return l&&(t?e[co]=o:delete e[co]),r}var Dv=Mv,Iv=Object.prototype,Av=Iv.toString;function zv(e){return Av.call(e)}var Lv=zv,Rv="[object Null]",Fv="[object Undefined]",xc=Bt?Bt.toStringTag:void 0;function jv(e){return e==null?e===void 0?Fv:Rv:xc&&xc in Object(e)?Dv(e):Lv(e)}var hn=jv;function Hv(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jt=Hv,Kv="[object AsyncFunction]",Wv="[object Function]",qv="[object GeneratorFunction]",Uv="[object Proxy]";function Yv(e){if(!jt(e))return!1;var t=hn(e);return t==Wv||t==qv||t==Kv||t==Uv}var ed=Yv,Gv=St["__core-js_shared__"],ea=Gv,td=function(){var e=/[^.]+$/.exec(ea&&ea.keys&&ea.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Xv(e){return!!td&&td in e}var Zv=Xv,Qv=Function.prototype,Jv=Qv.toString;function xv(e){if(e!=null){try{return Jv.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var xt=xv,eC=/[\\^$.*+?()[\]{}|]/g,tC=/^\[object .+?Constructor\]$/,nC=Function.prototype,oC=Object.prototype,lC=nC.toString,rC=oC.hasOwnProperty,aC=RegExp("^"+lC.call(rC).replace(eC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function iC(e){if(!jt(e)||Zv(e))return!1;var t=ed(e)?aC:tC;return t.test(xt(e))}var sC=iC;function cC(e,t){return e==null?void 0:e[t]}var dC=cC;function uC(e,t){var o=dC(e,t);return sC(o)?o:void 0}var en=uC,fC=en(St,"Map"),uo=fC,pC=en(Object,"create"),fo=pC;function mC(){this.__data__=fo?fo(null):{},this.size=0}var hC=mC;function gC(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var yC=gC,bC="__lodash_hash_undefined__",vC=Object.prototype,CC=vC.hasOwnProperty;function wC(e){var t=this.__data__;if(fo){var o=t[e];return o===bC?void 0:o}return CC.call(t,e)?t[e]:void 0}var kC=wC,SC=Object.prototype,EC=SC.hasOwnProperty;function $C(e){var t=this.__data__;return fo?t[e]!==void 0:EC.call(t,e)}var NC=$C,BC="__lodash_hash_undefined__";function OC(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=fo&&t===void 0?BC:t,this}var PC=OC;function gn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var l=e[t];this.set(l[0],l[1])}}gn.prototype.clear=hC,gn.prototype.delete=yC,gn.prototype.get=kC,gn.prototype.has=NC,gn.prototype.set=PC;var nd=gn;function TC(){this.size=0,this.__data__={hash:new nd,map:new(uo||Zo),string:new nd}}var _C=TC;function VC(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var MC=VC;function DC(e,t){var o=e.__data__;return MC(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Qo=DC;function IC(e){var t=Qo(this,e).delete(e);return this.size-=t?1:0,t}var AC=IC;function zC(e){return Qo(this,e).get(e)}var LC=zC;function RC(e){return Qo(this,e).has(e)}var FC=RC;function jC(e,t){var o=Qo(this,e),l=o.size;return o.set(e,t),this.size+=o.size==l?0:1,this}var HC=jC;function yn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var l=e[t];this.set(l[0],l[1])}}yn.prototype.clear=_C,yn.prototype.delete=AC,yn.prototype.get=LC,yn.prototype.has=FC,yn.prototype.set=HC;var Jo=yn,KC=200;function WC(e,t){var o=this.__data__;if(o instanceof Zo){var l=o.__data__;if(!uo||l.length<KC-1)return l.push([e,t]),this.size=++o.size,this;o=this.__data__=new Jo(l)}return o.set(e,t),this.size=o.size,this}var qC=WC;function bn(e){var t=this.__data__=new Zo(e);this.size=t.size}bn.prototype.clear=vv,bn.prototype.delete=wv,bn.prototype.get=Sv,bn.prototype.has=$v,bn.prototype.set=qC;var xo=bn,UC="__lodash_hash_undefined__";function YC(e){return this.__data__.set(e,UC),this}var GC=YC;function XC(e){return this.__data__.has(e)}var ZC=XC;function el(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new Jo;++t<o;)this.add(e[t])}el.prototype.add=el.prototype.push=GC,el.prototype.has=ZC;var od=el;function QC(e,t){for(var o=-1,l=e==null?0:e.length;++o<l;)if(t(e[o],o,e))return!0;return!1}var JC=QC;function xC(e,t){return e.has(t)}var ld=xC,ew=1,tw=2;function nw(e,t,o,l,r,i){var a=o&ew,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var d=i.get(e),u=i.get(t);if(d&&u)return d==t&&u==e;var f=-1,p=!0,m=o&tw?new od:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var h=e[f],y=t[f];if(l)var b=a?l(y,h,f,t,e,i):l(h,y,f,e,t,i);if(b!==void 0){if(b)continue;p=!1;break}if(m){if(!JC(t,function(g,k){if(!ld(m,k)&&(h===g||r(h,g,o,l,i)))return m.push(k)})){p=!1;break}}else if(!(h===y||r(h,y,o,l,i))){p=!1;break}}return i.delete(e),i.delete(t),p}var rd=nw,ow=St.Uint8Array,tl=ow;function lw(e){var t=-1,o=Array(e.size);return e.forEach(function(l,r){o[++t]=[r,l]}),o}var rw=lw;function aw(e){var t=-1,o=Array(e.size);return e.forEach(function(l){o[++t]=l}),o}var ta=aw,iw=1,sw=2,cw="[object Boolean]",dw="[object Date]",uw="[object Error]",fw="[object Map]",pw="[object Number]",mw="[object RegExp]",hw="[object Set]",gw="[object String]",yw="[object Symbol]",bw="[object ArrayBuffer]",vw="[object DataView]",ad=Bt?Bt.prototype:void 0,na=ad?ad.valueOf:void 0;function Cw(e,t,o,l,r,i,a){switch(o){case vw:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case bw:return!(e.byteLength!=t.byteLength||!i(new tl(e),new tl(t)));case cw:case dw:case pw:return xr(+e,+t);case uw:return e.name==t.name&&e.message==t.message;case mw:case gw:return e==t+"";case fw:var s=rw;case hw:var c=l&iw;if(s||(s=ta),e.size!=t.size&&!c)return!1;var d=a.get(e);if(d)return d==t;l|=sw,a.set(e,t);var u=rd(s(e),s(t),l,r,i,a);return a.delete(e),u;case yw:if(na)return na.call(e)==na.call(t)}return!1}var ww=Cw;function kw(e,t){for(var o=-1,l=t.length,r=e.length;++o<l;)e[r+o]=t[o];return e}var oa=kw,Sw=Array.isArray,vn=Sw;function Ew(e,t,o){var l=t(e);return vn(e)?l:oa(l,o(e))}var id=Ew;function $w(e,t){for(var o=-1,l=e==null?0:e.length,r=0,i=[];++o<l;){var a=e[o];t(a,o,e)&&(i[r++]=a)}return i}var Nw=$w;function Bw(){return[]}var sd=Bw,Ow=Object.prototype,Pw=Ow.propertyIsEnumerable,cd=Object.getOwnPropertySymbols,Tw=cd?function(e){return e==null?[]:(e=Object(e),Nw(cd(e),function(t){return Pw.call(e,t)}))}:sd,la=Tw;function _w(e,t){for(var o=-1,l=Array(e);++o<e;)l[o]=t(o);return l}var Vw=_w;function Mw(e){return e!=null&&typeof e=="object"}var Ht=Mw,Dw="[object Arguments]";function Iw(e){return Ht(e)&&hn(e)==Dw}var dd=Iw,ud=Object.prototype,Aw=ud.hasOwnProperty,zw=ud.propertyIsEnumerable,Lw=dd(function(){return arguments}())?dd:function(e){return Ht(e)&&Aw.call(e,"callee")&&!zw.call(e,"callee")},fd=Lw;function Rw(){return!1}var Fw=Rw,nl=ht(function(e,t){var o=t&&!t.nodeType&&t,l=o&&!0&&e&&!e.nodeType&&e,r=l&&l.exports===o,i=r?St.Buffer:void 0,a=i?i.isBuffer:void 0,s=a||Fw;e.exports=s}),jw=9007199254740991,Hw=/^(?:0|[1-9]\d*)$/;function Kw(e,t){var o=typeof e;return t=t==null?jw:t,!!t&&(o=="number"||o!="symbol"&&Hw.test(e))&&e>-1&&e%1==0&&e<t}var Ww=Kw,qw=9007199254740991;function Uw(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=qw}var pd=Uw,Yw="[object Arguments]",Gw="[object Array]",Xw="[object Boolean]",Zw="[object Date]",Qw="[object Error]",Jw="[object Function]",xw="[object Map]",ek="[object Number]",tk="[object Object]",nk="[object RegExp]",ok="[object Set]",lk="[object String]",rk="[object WeakMap]",ak="[object ArrayBuffer]",ik="[object DataView]",sk="[object Float32Array]",ck="[object Float64Array]",dk="[object Int8Array]",uk="[object Int16Array]",fk="[object Int32Array]",pk="[object Uint8Array]",mk="[object Uint8ClampedArray]",hk="[object Uint16Array]",gk="[object Uint32Array]",Ie={};Ie[sk]=Ie[ck]=Ie[dk]=Ie[uk]=Ie[fk]=Ie[pk]=Ie[mk]=Ie[hk]=Ie[gk]=!0,Ie[Yw]=Ie[Gw]=Ie[ak]=Ie[Xw]=Ie[ik]=Ie[Zw]=Ie[Qw]=Ie[Jw]=Ie[xw]=Ie[ek]=Ie[tk]=Ie[nk]=Ie[ok]=Ie[lk]=Ie[rk]=!1;function yk(e){return Ht(e)&&pd(e.length)&&!!Ie[hn(e)]}var bk=yk;function vk(e){return function(t){return e(t)}}var ra=vk,Cn=ht(function(e,t){var o=t&&!t.nodeType&&t,l=o&&!0&&e&&!e.nodeType&&e,r=l&&l.exports===o,i=r&&Qc.process,a=function(){try{var s=l&&l.require&&l.require("util").types;return s||i&&i.binding&&i.binding("util")}catch(c){}}();e.exports=a}),md=Cn&&Cn.isTypedArray,Ck=md?ra(md):bk,hd=Ck,wk=Object.prototype,kk=wk.hasOwnProperty;function Sk(e,t){var o=vn(e),l=!o&&fd(e),r=!o&&!l&&nl(e),i=!o&&!l&&!r&&hd(e),a=o||l||r||i,s=a?Vw(e.length,String):[],c=s.length;for(var d in e)(t||kk.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Ww(d,c)))&&s.push(d);return s}var gd=Sk,Ek=Object.prototype;function $k(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Ek;return e===o}var aa=$k;function Nk(e,t){return function(o){return e(t(o))}}var yd=Nk,Bk=yd(Object.keys,Object),Ok=Bk,Pk=Object.prototype,Tk=Pk.hasOwnProperty;function _k(e){if(!aa(e))return Ok(e);var t=[];for(var o in Object(e))Tk.call(e,o)&&o!="constructor"&&t.push(o);return t}var Vk=_k;function Mk(e){return e!=null&&pd(e.length)&&!ed(e)}var ia=Mk;function Dk(e){return ia(e)?gd(e):Vk(e)}var sa=Dk;function Ik(e){return id(e,sa,la)}var ca=Ik,Ak=1,zk=Object.prototype,Lk=zk.hasOwnProperty;function Rk(e,t,o,l,r,i){var a=o&Ak,s=ca(e),c=s.length,d=ca(t),u=d.length;if(c!=u&&!a)return!1;for(var f=c;f--;){var p=s[f];if(!(a?p in t:Lk.call(t,p)))return!1}var m=i.get(e),h=i.get(t);if(m&&h)return m==t&&h==e;var y=!0;i.set(e,t),i.set(t,e);for(var b=a;++f<c;){p=s[f];var g=e[p],k=t[p];if(l)var v=a?l(k,g,p,t,e,i):l(g,k,p,e,t,i);if(!(v===void 0?g===k||r(g,k,o,l,i):v)){y=!1;break}b||(b=p=="constructor")}if(y&&!b){var C=e.constructor,w=t.constructor;C!=w&&"constructor"in e&&"constructor"in t&&!(typeof C=="function"&&C instanceof C&&typeof w=="function"&&w instanceof w)&&(y=!1)}return i.delete(e),i.delete(t),y}var Fk=Rk,jk=en(St,"DataView"),da=jk,Hk=en(St,"Promise"),ua=Hk,Kk=en(St,"Set"),wn=Kk,Wk=en(St,"WeakMap"),fa=Wk,bd="[object Map]",qk="[object Object]",vd="[object Promise]",Cd="[object Set]",wd="[object WeakMap]",kd="[object DataView]",Uk=xt(da),Yk=xt(uo),Gk=xt(ua),Xk=xt(wn),Zk=xt(fa),tn=hn;(da&&tn(new da(new ArrayBuffer(1)))!=kd||uo&&tn(new uo)!=bd||ua&&tn(ua.resolve())!=vd||wn&&tn(new wn)!=Cd||fa&&tn(new fa)!=wd)&&(tn=function(e){var t=hn(e),o=t==qk?e.constructor:void 0,l=o?xt(o):"";if(l)switch(l){case Uk:return kd;case Yk:return bd;case Gk:return vd;case Xk:return Cd;case Zk:return wd}return t});var po=tn,Qk=1,Sd="[object Arguments]",Ed="[object Array]",ol="[object Object]",Jk=Object.prototype,$d=Jk.hasOwnProperty;function xk(e,t,o,l,r,i){var a=vn(e),s=vn(t),c=a?Ed:po(e),d=s?Ed:po(t);c=c==Sd?ol:c,d=d==Sd?ol:d;var u=c==ol,f=d==ol,p=c==d;if(p&&nl(e)){if(!nl(t))return!1;a=!0,u=!1}if(p&&!u)return i||(i=new xo),a||hd(e)?rd(e,t,o,l,r,i):ww(e,t,c,o,l,r,i);if(!(o&Qk)){var m=u&&$d.call(e,"__wrapped__"),h=f&&$d.call(t,"__wrapped__");if(m||h){var y=m?e.value():e,b=h?t.value():t;return i||(i=new xo),r(y,b,o,l,i)}}return p?(i||(i=new xo),Fk(e,t,o,l,r,i)):!1}var e0=xk;function Nd(e,t,o,l,r){return e===t?!0:e==null||t==null||!Ht(e)&&!Ht(t)?e!==e&&t!==t:e0(e,t,o,l,Nd,r)}var t0=Nd;const n0="Util";function o0(e){const t={};for(let o=0;o<e.length;o++)e[o]&&xb(t,e[o]);return t}const ze=(e,t="")=>{let o=e;return t.split(".").map(l=>{o=o==null?void 0:o[l]}),o};function ll(e,t,o){let l=e,r,i;if(e&&Ke(e,t))r=t,i=l==null?void 0:l[t];else{t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");const a=t.split(".");let s=0;for(s;s<a.length-1&&!(!l&&!o);s++){const c=a[s];if(c in l)l=l[c];else{o&&He(n0,"Please transfer a valid prop path to form item!");break}}r=a[s],i=l==null?void 0:l[a[s]]}return{o:l,k:r,v:i}}const nn=()=>Math.floor(Math.random()*1e4),l0=(e="")=>String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),on=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],r0=function(){return!we&&!!window.navigator.userAgent.match(/firefox/i)},a0=function(e){const t=["transform","transition","animation"],o=["ms-","webkit-"];return t.forEach(l=>{const r=e[l];l&&r&&o.forEach(i=>{e[i+l]=r})}),e},rl=e=>typeof e=="boolean",Le=e=>typeof e=="number",Bd=e=>so(e).startsWith("HTML");function pa(e){let t=!1;return function(...o){t||(t=!0,window.requestAnimationFrame(()=>{Reflect.apply(e,this,o),t=!1}))}}function Od(e){return e===void 0}function nt(){const e=n.getCurrentInstance();return"$ELEMENT"in e.proxy?e.proxy.$ELEMENT:{}}function mo(e){return!!(!e&&e!==0||xe(e)&&!e.length||Je(e)&&!Object.keys(e).length)}function Pd(e){return e.reduce((t,o)=>{const l=Array.isArray(o)?Pd(o):o;return t.concat(l)},[])}function Td(e){return Array.from(new Set(e))}function ln(e){return e.value}function Et(e){return Re(e)?e:Le(e)?`${e}px`:""}const ma=e=>t=>{e.value=t},ha=function(e){return(e||"").split(" ").filter(t=>!!t.trim())},ye=function(e,t,o,l=!1){e&&t&&o&&(e==null||e.addEventListener(t,o,l))},Te=function(e,t,o,l=!1){e&&t&&o&&(e==null||e.removeEventListener(t,o,l))},i0=function(e,t,o){const l=function(...r){o&&o.apply(this,r),Te(e,t,l)};ye(e,t,l)};function Ot(e,t){if(!e||!t)return!1;if(t.indexOf(" ")!==-1)throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(e.getAttribute("class")||"").split(" ").includes(t)}function Ue(e,t){if(!e)return;let o=e.getAttribute("class")||"";const l=ha(o),r=(t||"").split(" ").filter(i=>!l.includes(i)&&!!i.trim());e.classList?e.classList.add(...r):(o+=` ${r.join(" ")}`,e.setAttribute("class",o))}function Fe(e,t){if(!e||!t)return;const o=ha(t);let l=e.getAttribute("class")||"";if(e.classList){e.classList.remove(...o);return}o.forEach(i=>{l=l.replace(` ${i} `," ")});const r=ha(l).join(" ");e.setAttribute("class",r)}const gt=function(e,t){var o;if(we||!e||!t)return"";t=ov(t),t==="float"&&(t="cssFloat");try{const l=e.style[t];if(l)return l;const r=(o=document.defaultView)==null?void 0:o.getComputedStyle(e,"");return r?r[t]:""}catch(l){return e.style[t]}},s0=(e,t)=>we?null:(t==null?gt(e,"overflow"):t?gt(e,"overflow-y"):gt(e,"overflow-x")).match(/(scroll|auto|overlay)/),ga=(e,t)=>{if(we)return;let o=e;for(;o;){if([window,document,document.documentElement].includes(o))return window;if(s0(o,t))return o;o=o.parentNode}return o},c0=(e,t)=>{if(we||!e||!t)return!1;const o=e.getBoundingClientRect();let l;return t instanceof Element?l=t.getBoundingClientRect():l={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},o.top<l.bottom&&o.bottom>l.top&&o.right>l.left&&o.left<l.right},_d=e=>{let t=0,o=e;for(;o;)t+=o.offsetTop,o=o.offsetParent;return t},d0=(e,t)=>Math.abs(_d(e)-_d(t)),al=e=>e.stopPropagation();var u0=(e,t)=>{n.watch(e,o=>{o?t.forEach(({name:l,handler:r})=>{ye(e.value,l,r)}):t.forEach(({name:l,handler:r})=>{Te(e.value,l,r)})})};let il;function ya(){var e;if(we)return 0;if(il!==void 0)return il;const t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const o=t.offsetWidth;t.style.overflow="scroll";const l=document.createElement("div");l.style.width="100%",t.appendChild(l);const r=l.offsetWidth;return(e=t.parentNode)==null||e.removeChild(t),il=o-r,il}var ba=e=>{n.isRef(e)||He("[useLockScreen]","You need to pass a ref param to this function");let t=0,o=!1,l="0",r=0;n.onUnmounted(()=>{i()});const i=()=>{Fe(document.body,"el-popup-parent--hidden"),o&&(document.body.style.paddingRight=l)};n.watch(e,a=>{if(a){o=!Ot(document.body,"el-popup-parent--hidden"),o&&(l=document.body.style.paddingRight,r=parseInt(gt(document.body,"paddingRight"),10)),t=ya();const s=document.documentElement.clientHeight<document.body.scrollHeight,c=gt(document.body,"overflowY");t>0&&(s||c==="scroll")&&o&&(document.body.style.paddingRight=`${r+t}px`),Ue(document.body,"el-popup-parent--hidden")}else i()})},va=(e,t)=>{let o;n.watch(()=>e.value,l=>{var r,i;l?(o=document.activeElement,n.isRef(t)&&((i=(r=t.value).focus)==null||i.call(r))):o.focus()})};const le={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace"},f0='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',p0=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,Vd=e=>Array.from(e.querySelectorAll(f0)).filter(t=>m0(t)&&p0(t)),m0=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},sl=function(e,t,...o){let l;t.includes("mouse")||t.includes("click")?l="MouseEvents":t.includes("key")?l="KeyboardEvent":l="HTMLEvents";const r=document.createEvent(l);return r.initEvent(t,...o),e.dispatchEvent(r),e},kn=[],h0=e=>{kn.length!==0&&e.code===le.esc&&(e.stopPropagation(),kn[kn.length-1].handleClose())};var Ca=(e,t)=>{n.watch(()=>t.value,o=>{o?kn.push(e):kn.splice(kn.findIndex(l=>l===e),1)})};we||ye(document,"keydown",h0);const g0=function(){return n.onMounted(()=>{n.getCurrentInstance()}),{getMigratingConfig:function(){return{props:{},events:{}}}}};var Md=e=>({focus:()=>{var t,o;(o=(t=e.value)==null?void 0:t.focus)==null||o.call(t)}});function Dd(e,t=0){if(t===0)return e;const o=n.ref(!1);let l=0;const r=()=>{l&&clearTimeout(l),l=window.setTimeout(()=>{o.value=e.value},t)};return n.onMounted(r),n.watch(()=>e.value,i=>{i?r():o.value=i}),o}var Id=(e,t,o)=>{const l=r=>{o(r)&&r.stopImmediatePropagation()};n.watch(()=>e.value,r=>{r?ye(document,t,l,!0):Te(document,t,l,!0)},{immediate:!0})};let y0=we?void 0:document.body;function b0(e){const t=document.createElement("div");return e!==void 0&&(t.id=e),y0.appendChild(t),t}function v0(e){e.remove()}var Ad=(e,t)=>{const o=n.ref(!1);if(we)return{isTeleportVisible:o,showTeleport:Oe,hideTeleport:Oe,renderTeleport:Oe};let l=null;const r=()=>{o.value=!0,l===null&&(l=b0())},i=()=>{o.value=!1,l!==null&&(v0(l),l=null)},a=()=>t.value!==!0?e():o.value?[n.h(n.Teleport,{to:l},e())]:void 0;return n.onUnmounted(i),{isTeleportVisible:o,showTeleport:r,hideTeleport:i,renderTeleport:a}};function zd(){let e;return n.onBeforeUnmount(()=>{clearTimeout(e)}),{registerTimeout:(t,o)=>{clearTimeout(e),e=setTimeout(t,o)},cancelTimeout:()=>{clearTimeout(e)}}}const me="update:modelValue",Ye="change",wa="input",C0={validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"};var w0=Object.defineProperty,Ld=Object.getOwnPropertySymbols,k0=Object.prototype.hasOwnProperty,S0=Object.prototype.propertyIsEnumerable,Rd=(e,t,o)=>t in e?w0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,E0=(e,t)=>{for(var o in t||(t={}))k0.call(t,o)&&Rd(e,o,t[o]);if(Ld)for(var o of Ld(t))S0.call(t,o)&&Rd(e,o,t[o]);return e};const $0={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":Function},N0=[me],Fd=({indicator:e,shouldHideWhenRouteChanges:t,shouldProceed:o,onShow:l,onHide:r})=>{const{appContext:i,props:a,proxy:s,emit:c}=n.getCurrentInstance(),d=n.computed(()=>st(a["onUpdate:modelValue"])),u=n.computed(()=>a.modelValue===null),f=()=>{e.value!==!0&&(e.value=!0,st(l)&&l())},p=()=>{e.value!==!1&&(e.value=!1,st(r)&&r())},m=()=>{if(a.disabled===!0||st(o)&&!o())return;const g=d.value&&!we;g&&c(me,!0),(u.value||!g)&&f()},h=()=>{if(a.disabled===!0||we)return;const g=d.value&&!we;g&&c(me,!1),(u.value||!g)&&p()},y=g=>{!rl(g)||(a.disabled&&g?d.value&&c(me,!1):e.value!==g&&(g?f():p()))},b=()=>{e.value?h():m()};return n.watch(()=>a.modelValue,y),t&&i.config.globalProperties.$route!==void 0&&n.watch(()=>E0({},s.$route),()=>{t.value&&e.value&&h()}),n.onMounted(()=>{y(a.modelValue)}),{hide:h,show:m,toggle:b}};var dt="top",yt="bottom",bt="right",ut="left",ka="auto",ho=[dt,yt,bt,ut],Sn="start",go="end",B0="clippingParents",jd="viewport",yo="popper",O0="reference",Hd=ho.reduce(function(e,t){return e.concat([t+"-"+Sn,t+"-"+go])},[]),Kd=[].concat(ho,[ka]).reduce(function(e,t){return e.concat([t,t+"-"+Sn,t+"-"+go])},[]),P0="beforeRead",T0="read",_0="afterRead",V0="beforeMain",M0="main",D0="afterMain",I0="beforeWrite",A0="write",z0="afterWrite",L0=[P0,T0,_0,V0,M0,D0,I0,A0,z0];function Pt(e){return e?(e.nodeName||"").toLowerCase():null}function $t(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function bo(e){var t=$t(e).Element;return e instanceof t||e instanceof Element}function vt(e){var t=$t(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Wd(e){if(typeof ShadowRoot=="undefined")return!1;var t=$t(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function R0(e){var t=e.state;Object.keys(t.elements).forEach(function(o){var l=t.styles[o]||{},r=t.attributes[o]||{},i=t.elements[o];!vt(i)||!Pt(i)||(Object.assign(i.style,l),Object.keys(r).forEach(function(a){var s=r[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function F0(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(l){var r=t.elements[l],i=t.attributes[l]||{},a=Object.keys(t.styles.hasOwnProperty(l)?t.styles[l]:o[l]),s=a.reduce(function(c,d){return c[d]="",c},{});!vt(r)||!Pt(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(c){r.removeAttribute(c)}))})}}var j0={name:"applyStyles",enabled:!0,phase:"write",fn:R0,effect:F0,requires:["computeStyles"]};function Tt(e){return e.split("-")[0]}function En(e,t){var o=e.getBoundingClientRect(),l=1,r=1;return{width:o.width/l,height:o.height/r,top:o.top/r,right:o.right/l,bottom:o.bottom/r,left:o.left/l,x:o.left/l,y:o.top/r}}function Sa(e){var t=En(e),o=e.offsetWidth,l=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-l)<=1&&(l=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:l}}function qd(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&Wd(o)){var l=t;do{if(l&&e.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function Kt(e){return $t(e).getComputedStyle(e)}function H0(e){return["table","td","th"].indexOf(Pt(e))>=0}function Yt(e){return((bo(e)?e.ownerDocument:e.document)||window.document).documentElement}function cl(e){return Pt(e)==="html"?e:e.assignedSlot||e.parentNode||(Wd(e)?e.host:null)||Yt(e)}function Ud(e){return!vt(e)||Kt(e).position==="fixed"?null:e.offsetParent}function K0(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,o=navigator.userAgent.indexOf("Trident")!==-1;if(o&&vt(e)){var l=Kt(e);if(l.position==="fixed")return null}for(var r=cl(e);vt(r)&&["html","body"].indexOf(Pt(r))<0;){var i=Kt(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function vo(e){for(var t=$t(e),o=Ud(e);o&&H0(o)&&Kt(o).position==="static";)o=Ud(o);return o&&(Pt(o)==="html"||Pt(o)==="body"&&Kt(o).position==="static")?t:o||K0(e)||t}function Ea(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Gt=Math.max,Co=Math.min,dl=Math.round;function ul(e,t,o){return Gt(e,Co(t,o))}function Yd(){return{top:0,right:0,bottom:0,left:0}}function Gd(e){return Object.assign({},Yd(),e)}function Xd(e,t){return t.reduce(function(o,l){return o[l]=e,o},{})}var W0=function(t,o){return t=typeof t=="function"?t(Object.assign({},o.rects,{placement:o.placement})):t,Gd(typeof t!="number"?t:Xd(t,ho))};function q0(e){var t,o=e.state,l=e.name,r=e.options,i=o.elements.arrow,a=o.modifiersData.popperOffsets,s=Tt(o.placement),c=Ea(s),d=[ut,bt].indexOf(s)>=0,u=d?"height":"width";if(!(!i||!a)){var f=W0(r.padding,o),p=Sa(i),m=c==="y"?dt:ut,h=c==="y"?yt:bt,y=o.rects.reference[u]+o.rects.reference[c]-a[c]-o.rects.popper[u],b=a[c]-o.rects.reference[c],g=vo(i),k=g?c==="y"?g.clientHeight||0:g.clientWidth||0:0,v=y/2-b/2,C=f[m],w=k-p[u]-f[h],E=k/2-p[u]/2+v,$=ul(C,E,w),N=c;o.modifiersData[l]=(t={},t[N]=$,t.centerOffset=$-E,t)}}function U0(e){var t=e.state,o=e.options,l=o.element,r=l===void 0?"[data-popper-arrow]":l;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||!qd(t.elements.popper,r)||(t.elements.arrow=r))}var Y0={name:"arrow",enabled:!0,phase:"main",fn:q0,effect:U0,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $n(e){return e.split("-")[1]}var G0={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X0(e){var t=e.x,o=e.y,l=window,r=l.devicePixelRatio||1;return{x:dl(dl(t*r)/r)||0,y:dl(dl(o*r)/r)||0}}function Zd(e){var t,o=e.popper,l=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,f=u===!0?X0(a):typeof u=="function"?u(a):a,p=f.x,m=p===void 0?0:p,h=f.y,y=h===void 0?0:h,b=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),k=ut,v=dt,C=window;if(d){var w=vo(o),E="clientHeight",$="clientWidth";w===$t(o)&&(w=Yt(o),Kt(w).position!=="static"&&s==="absolute"&&(E="scrollHeight",$="scrollWidth")),w=w,(r===dt||(r===ut||r===bt)&&i===go)&&(v=yt,y-=w[E]-l.height,y*=c?1:-1),(r===ut||(r===dt||r===yt)&&i===go)&&(k=bt,m-=w[$]-l.width,m*=c?1:-1)}var N=Object.assign({position:s},d&&G0);if(c){var B;return Object.assign({},N,(B={},B[v]=g?"0":"",B[k]=b?"0":"",B.transform=(C.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",B))}return Object.assign({},N,(t={},t[v]=g?y+"px":"",t[k]=b?m+"px":"",t.transform="",t))}function Z0(e){var t=e.state,o=e.options,l=o.gpuAcceleration,r=l===void 0?!0:l,i=o.adaptive,a=i===void 0?!0:i,s=o.roundOffsets,c=s===void 0?!0:s,d={placement:Tt(t.placement),variation:$n(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Zd(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Zd(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Q0={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Z0,data:{}},fl={passive:!0};function J0(e){var t=e.state,o=e.instance,l=e.options,r=l.scroll,i=r===void 0?!0:r,a=l.resize,s=a===void 0?!0:a,c=$t(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",o.update,fl)}),s&&c.addEventListener("resize",o.update,fl),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",o.update,fl)}),s&&c.removeEventListener("resize",o.update,fl)}}var x0={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:J0,data:{}},eS={left:"right",right:"left",bottom:"top",top:"bottom"};function pl(e){return e.replace(/left|right|bottom|top/g,function(t){return eS[t]})}var tS={start:"end",end:"start"};function Qd(e){return e.replace(/start|end/g,function(t){return tS[t]})}function $a(e){var t=$t(e),o=t.pageXOffset,l=t.pageYOffset;return{scrollLeft:o,scrollTop:l}}function Na(e){return En(Yt(e)).left+$a(e).scrollLeft}function nS(e){var t=$t(e),o=Yt(e),l=t.visualViewport,r=o.clientWidth,i=o.clientHeight,a=0,s=0;return l&&(r=l.width,i=l.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=l.offsetLeft,s=l.offsetTop)),{width:r,height:i,x:a+Na(e),y:s}}function oS(e){var t,o=Yt(e),l=$a(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=Gt(o.scrollWidth,o.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Gt(o.scrollHeight,o.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-l.scrollLeft+Na(e),c=-l.scrollTop;return Kt(r||o).direction==="rtl"&&(s+=Gt(o.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function Ba(e){var t=Kt(e),o=t.overflow,l=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+r+l)}function Jd(e){return["html","body","#document"].indexOf(Pt(e))>=0?e.ownerDocument.body:vt(e)&&Ba(e)?e:Jd(cl(e))}function wo(e,t){var o;t===void 0&&(t=[]);var l=Jd(e),r=l===((o=e.ownerDocument)==null?void 0:o.body),i=$t(l),a=r?[i].concat(i.visualViewport||[],Ba(l)?l:[]):l,s=t.concat(a);return r?s:s.concat(wo(cl(a)))}function Oa(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function lS(e){var t=En(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 xd(e,t){return t===jd?Oa(nS(e)):vt(t)?lS(t):Oa(oS(Yt(e)))}function rS(e){var t=wo(cl(e)),o=["absolute","fixed"].indexOf(Kt(e).position)>=0,l=o&&vt(e)?vo(e):e;return bo(l)?t.filter(function(r){return bo(r)&&qd(r,l)&&Pt(r)!=="body"}):[]}function aS(e,t,o){var l=t==="clippingParents"?rS(e):[].concat(t),r=[].concat(l,[o]),i=r[0],a=r.reduce(function(s,c){var d=xd(e,c);return s.top=Gt(d.top,s.top),s.right=Co(d.right,s.right),s.bottom=Co(d.bottom,s.bottom),s.left=Gt(d.left,s.left),s},xd(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function eu(e){var t=e.reference,o=e.element,l=e.placement,r=l?Tt(l):null,i=l?$n(l):null,a=t.x+t.width/2-o.width/2,s=t.y+t.height/2-o.height/2,c;switch(r){case dt:c={x:a,y:t.y-o.height};break;case yt:c={x:a,y:t.y+t.height};break;case bt:c={x:t.x+t.width,y:s};break;case ut:c={x:t.x-o.width,y:s};break;default:c={x:t.x,y:t.y}}var d=r?Ea(r):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case Sn:c[d]=c[d]-(t[u]/2-o[u]/2);break;case go:c[d]=c[d]+(t[u]/2-o[u]/2);break}}return c}function ko(e,t){t===void 0&&(t={});var o=t,l=o.placement,r=l===void 0?e.placement:l,i=o.boundary,a=i===void 0?B0:i,s=o.rootBoundary,c=s===void 0?jd:s,d=o.elementContext,u=d===void 0?yo:d,f=o.altBoundary,p=f===void 0?!1:f,m=o.padding,h=m===void 0?0:m,y=Gd(typeof h!="number"?h:Xd(h,ho)),b=u===yo?O0:yo,g=e.rects.popper,k=e.elements[p?b:u],v=aS(bo(k)?k:k.contextElement||Yt(e.elements.popper),a,c),C=En(e.elements.reference),w=eu({reference:C,element:g,strategy:"absolute",placement:r}),E=Oa(Object.assign({},g,w)),$=u===yo?E:C,N={top:v.top-$.top+y.top,bottom:$.bottom-v.bottom+y.bottom,left:v.left-$.left+y.left,right:$.right-v.right+y.right},B=e.modifiersData.offset;if(u===yo&&B){var T=B[r];Object.keys(N).forEach(function(I){var O=[bt,yt].indexOf(I)>=0?1:-1,S=[dt,yt].indexOf(I)>=0?"y":"x";N[I]+=T[S]*O})}return N}function iS(e,t){t===void 0&&(t={});var o=t,l=o.placement,r=o.boundary,i=o.rootBoundary,a=o.padding,s=o.flipVariations,c=o.allowedAutoPlacements,d=c===void 0?Kd:c,u=$n(l),f=u?s?Hd:Hd.filter(function(h){return $n(h)===u}):ho,p=f.filter(function(h){return d.indexOf(h)>=0});p.length===0&&(p=f);var m=p.reduce(function(h,y){return h[y]=ko(e,{placement:y,boundary:r,rootBoundary:i,padding:a})[Tt(y)],h},{});return Object.keys(m).sort(function(h,y){return m[h]-m[y]})}function sS(e){if(Tt(e)===ka)return[];var t=pl(e);return[Qd(e),t,Qd(t)]}function cS(e){var t=e.state,o=e.options,l=e.name;if(!t.modifiersData[l]._skip){for(var r=o.mainAxis,i=r===void 0?!0:r,a=o.altAxis,s=a===void 0?!0:a,c=o.fallbackPlacements,d=o.padding,u=o.boundary,f=o.rootBoundary,p=o.altBoundary,m=o.flipVariations,h=m===void 0?!0:m,y=o.allowedAutoPlacements,b=t.options.placement,g=Tt(b),k=g===b,v=c||(k||!h?[pl(b)]:sS(b)),C=[b].concat(v).reduce(function(R,oe){return R.concat(Tt(oe)===ka?iS(t,{placement:oe,boundary:u,rootBoundary:f,padding:d,flipVariations:h,allowedAutoPlacements:y}):oe)},[]),w=t.rects.reference,E=t.rects.popper,$=new Map,N=!0,B=C[0],T=0;T<C.length;T++){var I=C[T],O=Tt(I),S=$n(I)===Sn,M=[dt,yt].indexOf(O)>=0,_=M?"width":"height",P=ko(t,{placement:I,boundary:u,rootBoundary:f,altBoundary:p,padding:d}),V=M?S?bt:ut:S?yt:dt;w[_]>E[_]&&(V=pl(V));var z=pl(V),L=[];if(i&&L.push(P[O]<=0),s&&L.push(P[V]<=0,P[z]<=0),L.every(function(R){return R})){B=I,N=!1;break}$.set(I,L)}if(N)for(var Z=h?3:1,Q=function(oe){var H=C.find(function(K){var J=$.get(K);if(J)return J.slice(0,oe).every(function(ae){return ae})});if(H)return B=H,"break"},X=Z;X>0;X--){var te=Q(X);if(te==="break")break}t.placement!==B&&(t.modifiersData[l]._skip=!0,t.placement=B,t.reset=!0)}}var dS={name:"flip",enabled:!0,phase:"main",fn:cS,requiresIfExists:["offset"],data:{_skip:!1}};function tu(e,t,o){return o===void 0&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function nu(e){return[dt,bt,yt,ut].some(function(t){return e[t]>=0})}function uS(e){var t=e.state,o=e.name,l=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=ko(t,{elementContext:"reference"}),s=ko(t,{altBoundary:!0}),c=tu(a,l),d=tu(s,r,i),u=nu(c),f=nu(d);t.modifiersData[o]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}var fS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:uS};function pS(e,t,o){var l=Tt(e),r=[ut,dt].indexOf(l)>=0?-1:1,i=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[ut,bt].indexOf(l)>=0?{x:s,y:a}:{x:a,y:s}}function mS(e){var t=e.state,o=e.options,l=e.name,r=o.offset,i=r===void 0?[0,0]:r,a=Kd.reduce(function(u,f){return u[f]=pS(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[l]=a}var hS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mS};function gS(e){var t=e.state,o=e.name;t.modifiersData[o]=eu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var yS={name:"popperOffsets",enabled:!0,phase:"read",fn:gS,data:{}};function bS(e){return e==="x"?"y":"x"}function vS(e){var t=e.state,o=e.options,l=e.name,r=o.mainAxis,i=r===void 0?!0:r,a=o.altAxis,s=a===void 0?!1:a,c=o.boundary,d=o.rootBoundary,u=o.altBoundary,f=o.padding,p=o.tether,m=p===void 0?!0:p,h=o.tetherOffset,y=h===void 0?0:h,b=ko(t,{boundary:c,rootBoundary:d,padding:f,altBoundary:u}),g=Tt(t.placement),k=$n(t.placement),v=!k,C=Ea(g),w=bS(C),E=t.modifiersData.popperOffsets,$=t.rects.reference,N=t.rects.popper,B=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,T={x:0,y:0};if(!!E){if(i||s){var I=C==="y"?dt:ut,O=C==="y"?yt:bt,S=C==="y"?"height":"width",M=E[C],_=E[C]+b[I],P=E[C]-b[O],V=m?-N[S]/2:0,z=k===Sn?$[S]:N[S],L=k===Sn?-N[S]:-$[S],Z=t.elements.arrow,Q=m&&Z?Sa(Z):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Yd(),te=X[I],R=X[O],oe=ul(0,$[S],Q[S]),H=v?$[S]/2-V-oe-te-B:z-oe-te-B,K=v?-$[S]/2+V+oe+R+B:L+oe+R+B,J=t.elements.arrow&&vo(t.elements.arrow),ae=J?C==="y"?J.clientTop||0:J.clientLeft||0:0,ie=t.modifiersData.offset?t.modifiersData.offset[t.placement][C]:0,ne=E[C]+H-ie-ae,ee=E[C]+K-ie;if(i){var A=ul(m?Co(_,ne):_,M,m?Gt(P,ee):P);E[C]=A,T[C]=A-M}if(s){var G=C==="x"?dt:ut,F=C==="x"?yt:bt,Y=E[w],ce=Y+b[G],U=Y-b[F],re=ul(m?Co(ce,ne):ce,Y,m?Gt(U,ee):U);E[w]=re,T[w]=re-Y}}t.modifiersData[l]=T}}var CS={name:"preventOverflow",enabled:!0,phase:"main",fn:vS,requiresIfExists:["offset"]};function wS(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function kS(e){return e===$t(e)||!vt(e)?$a(e):wS(e)}function SS(e){var t=e.getBoundingClientRect(),o=t.width/e.offsetWidth||1,l=t.height/e.offsetHeight||1;return o!==1||l!==1}function ES(e,t,o){o===void 0&&(o=!1);var l=vt(t);vt(t)&&SS(t);var r=Yt(t),i=En(e),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(l||!l&&!o)&&((Pt(t)!=="body"||Ba(r))&&(a=kS(t)),vt(t)?(s=En(t),s.x+=t.clientLeft,s.y+=t.clientTop):r&&(s.x=Na(r))),{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function $S(e){var t=new Map,o=new Set,l=[];e.forEach(function(i){t.set(i.name,i)});function r(i){o.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!o.has(s)){var c=t.get(s);c&&r(c)}}),l.push(i)}return e.forEach(function(i){o.has(i.name)||r(i)}),l}function NS(e){var t=$S(e);return L0.reduce(function(o,l){return o.concat(t.filter(function(r){return r.phase===l}))},[])}function BS(e){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(e())})})),t}}function OS(e){var t=e.reduce(function(o,l){var r=o[l.name];return o[l.name]=r?Object.assign({},r,l,{options:Object.assign({},r.options,l.options),data:Object.assign({},r.data,l.data)}):l,o},{});return Object.keys(t).map(function(o){return t[o]})}var ou={placement:"bottom",modifiers:[],strategy:"absolute"};function lu(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(l){return!(l&&typeof l.getBoundingClientRect=="function")})}function PS(e){e===void 0&&(e={});var t=e,o=t.defaultModifiers,l=o===void 0?[]:o,r=t.defaultOptions,i=r===void 0?ou:r;return function(s,c,d){d===void 0&&(d=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},ou,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],p=!1,m={state:u,setOptions:function(g){var k=typeof g=="function"?g(u.options):g;y(),u.options=Object.assign({},i,u.options,k),u.scrollParents={reference:bo(s)?wo(s):s.contextElement?wo(s.contextElement):[],popper:wo(c)};var v=NS(OS([].concat(l,u.options.modifiers)));return u.orderedModifiers=v.filter(function(C){return C.enabled}),h(),m.update()},forceUpdate:function(){if(!p){var g=u.elements,k=g.reference,v=g.popper;if(!!lu(k,v)){u.rects={reference:ES(k,vo(v),u.options.strategy==="fixed"),popper:Sa(v)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(T){return u.modifiersData[T.name]=Object.assign({},T.data)});for(var C=0;C<u.orderedModifiers.length;C++){if(u.reset===!0){u.reset=!1,C=-1;continue}var w=u.orderedModifiers[C],E=w.fn,$=w.options,N=$===void 0?{}:$,B=w.name;typeof E=="function"&&(u=E({state:u,options:N,name:B,instance:m})||u)}}}},update:BS(function(){return new Promise(function(b){m.forceUpdate(),b(u)})}),destroy:function(){y(),p=!0}};if(!lu(s,c))return m;m.setOptions(d).then(function(b){!p&&d.onFirstUpdate&&d.onFirstUpdate(b)});function h(){u.orderedModifiers.forEach(function(b){var g=b.name,k=b.options,v=k===void 0?{}:k,C=b.effect;if(typeof C=="function"){var w=C({state:u,name:g,instance:m,options:v}),E=function(){};f.push(w||E)}})}function y(){f.forEach(function(b){return b()}),f=[]}return m}}var TS=[x0,yS,Q0,j0,hS,dS,CS,Y0,fS],Pa=PS({defaultModifiers:TS});const Xt=new Map;let ru;we||(ye(document,"mousedown",e=>ru=e),ye(document,"mouseup",e=>{for(const t of Xt.values())for(const{documentHandler:o}of t)o(e,ru)}));function au(e,t){let o=[];return Array.isArray(t.arg)?o=t.arg:t.arg instanceof HTMLElement&&o.push(t.arg),function(l,r){const i=t.instance.popperRef,a=l.target,s=r==null?void 0:r.target,c=!t||!t.instance,d=!a||!s,u=e.contains(a)||e.contains(s),f=e===a,p=o.length&&o.some(h=>h==null?void 0:h.contains(a))||o.length&&o.includes(s),m=i&&(i.contains(a)||i.contains(s));c||d||u||f||p||m||t.value(l,r)}}const ot={beforeMount(e,t){Xt.has(e)||Xt.set(e,[]),Xt.get(e).push({documentHandler:au(e,t),bindingFn:t.value})},updated(e,t){Xt.has(e)||Xt.set(e,[]);const o=Xt.get(e),l=o.findIndex(i=>i.bindingFn===t.oldValue),r={documentHandler:au(e,t),bindingFn:t.value};l>=0?o.splice(l,1,r):o.push(r)},unmounted(e){Xt.delete(e)}};var Ta={beforeMount(e,t){let o=null,l;const r=()=>t.value&&t.value(),i=()=>{Date.now()-l<100&&r(),clearInterval(o),o=null};ye(e,"mousedown",a=>{a.button===0&&(l=Date.now(),i0(document,"mouseup",i),clearInterval(o),o=setInterval(r,100))})}};const _a="_trap-focus-children",rn=[],iu=e=>{if(rn.length===0)return;const t=rn[rn.length-1][_a];if(t.length>0&&e.code===le.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const o=e.shiftKey,l=e.target===t[0],r=e.target===t[t.length-1];l&&o&&(e.preventDefault(),t[t.length-1].focus()),r&&!o&&(e.preventDefault(),t[0].focus())}},ml={beforeMount(e){e[_a]=Vd(e),rn.push(e),rn.length<=1&&ye(document,"keydown",iu)},updated(e){n.nextTick(()=>{e[_a]=Vd(e)})},unmounted(){rn.shift(),rn.length===0&&Te(document,"keydown",iu)}};var su=!1,an,Va,Ma,hl,gl,cu,yl,Da,Ia,Aa,du,za,La,uu,fu;function lt(){if(!su){su=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),o=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(za=/\b(iPhone|iP[ao]d)/.exec(e),La=/\b(iP[ao]d)/.exec(e),Aa=/Android/i.exec(e),uu=/FBAN\/\w+;/i.exec(e),fu=/Mobile/i.exec(e),du=!!/Win64/.exec(e),t){an=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,an&&document&&document.documentMode&&(an=document.documentMode);var l=/(?:Trident\/(\d+.\d+))/.exec(e);cu=l?parseFloat(l[1])+4:an,Va=t[2]?parseFloat(t[2]):NaN,Ma=t[3]?parseFloat(t[3]):NaN,hl=t[4]?parseFloat(t[4]):NaN,hl?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),gl=t&&t[1]?parseFloat(t[1]):NaN):gl=NaN}else an=Va=Ma=gl=hl=NaN;if(o){if(o[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);yl=r?parseFloat(r[1].replace("_",".")):!0}else yl=!1;Da=!!o[2],Ia=!!o[3]}else yl=Da=Ia=!1}}var Ra={ie:function(){return lt()||an},ieCompatibilityMode:function(){return lt()||cu>an},ie64:function(){return Ra.ie()&&du},firefox:function(){return lt()||Va},opera:function(){return lt()||Ma},webkit:function(){return lt()||hl},safari:function(){return Ra.webkit()},chrome:function(){return lt()||gl},windows:function(){return lt()||Da},osx:function(){return lt()||yl},linux:function(){return lt()||Ia},iphone:function(){return lt()||za},mobile:function(){return lt()||za||La||Aa||fu},nativeApp:function(){return lt()||uu},android:function(){return lt()||Aa},ipad:function(){return lt()||La}},_S=Ra,bl=!!(typeof window!="undefined"&&window.document&&window.document.createElement),VS={canUseDOM:bl,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:bl&&!!(window.addEventListener||window.attachEvent),canUseViewport:bl&&!!window.screen,isInWorker:!bl},pu=VS,mu;pu.canUseDOM&&(mu=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function MS(e,t){if(!pu.canUseDOM||t&&!("addEventListener"in document))return!1;var o="on"+e,l=o in document;if(!l){var r=document.createElement("div");r.setAttribute(o,"return;"),l=typeof r[o]=="function"}return!l&&mu&&e==="wheel"&&(l=document.implementation.hasFeature("Events.wheel","3.0")),l}var DS=MS,hu=10,gu=40,yu=800;function bu(e){var t=0,o=0,l=0,r=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=o,o=0),l=t*hu,r=o*hu,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(l=e.deltaX),(l||r)&&e.deltaMode&&(e.deltaMode==1?(l*=gu,r*=gu):(l*=yu,r*=yu)),l&&!t&&(t=l<1?-1:1),r&&!o&&(o=r<1?-1:1),{spinX:t,spinY:o,pixelX:l,pixelY:r}}bu.getEventType=function(){return _S.firefox()?"DOMMouseScroll":DS("wheel")?"wheel":"mousewheel"};var IS=bu;/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const AS=typeof navigator!="undefined"&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,zS=function(e,t){if(e&&e.addEventListener){const o=function(l){const r=IS(l);t&&t.apply(this,[l,r])};AS?e.addEventListener("DOMMouseScroll",o):e.onmousewheel=o}},vu={beforeMount(e,t){zS(e,t.value)}};var Cu=function(){if(typeof Map!="undefined")return Map;function e(t,o){var l=-1;return t.some(function(r,i){return r[0]===o?(l=i,!0):!1}),l}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(o){var l=e(this.__entries__,o),r=this.__entries__[l];return r&&r[1]},t.prototype.set=function(o,l){var r=e(this.__entries__,o);~r?this.__entries__[r][1]=l:this.__entries__.push([o,l])},t.prototype.delete=function(o){var l=this.__entries__,r=e(l,o);~r&&l.splice(r,1)},t.prototype.has=function(o){return!!~e(this.__entries__,o)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(o,l){l===void 0&&(l=null);for(var r=0,i=this.__entries__;r<i.length;r++){var a=i[r];o.call(l,a[1],a[0])}},t}()}(),Fa=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,vl=function(){return typeof global!="undefined"&&global.Math===Math?global:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),LS=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(vl):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),RS=2;function FS(e,t){var o=!1,l=!1,r=0;function i(){o&&(o=!1,e()),l&&s()}function a(){LS(i)}function s(){var c=Date.now();if(o){if(c-r<RS)return;l=!0}else o=!0,l=!1,setTimeout(a,t);r=c}return s}var jS=20,HS=["top","right","bottom","left","width","height","size","weight"],KS=typeof MutationObserver!="undefined",WS=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=FS(this.refresh.bind(this),jS)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var o=this.observers_,l=o.indexOf(t);~l&&o.splice(l,1),!o.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(o){return o.gatherActive(),o.hasActive()});return t.forEach(function(o){return o.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Fa||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),KS?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Fa||!this.con