vue-global-config
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -1,2 +0,2 @@ | ||
(function(b,G){typeof exports=="object"&&typeof module<"u"?G(exports,require("vue-demi")):typeof define=="function"&&define.amd?define(["exports","vue-demi"],G):(b=typeof globalThis<"u"?globalThis:b||self,G(b.VueGlobalConfig={},b.VueDemi))})(this,function(b,G){"use strict";var Ut=typeof global=="object"&&global&&global.Object===Object&&global;const Me=Ut;var Bt=typeof self=="object"&&self&&self.Object===Object&&self,Ht=Me||Bt||Function("return this")();const m=Ht;var Kt=m.Symbol;const w=Kt;var Le=Object.prototype,Wt=Le.hasOwnProperty,zt=Le.toString,U=w?w.toStringTag:void 0;function Zt(e){var t=Wt.call(e,U),n=e[U];try{e[U]=void 0;var r=!0}catch{}var i=zt.call(e);return r&&(t?e[U]=n:delete e[U]),i}var qt=Object.prototype,Xt=qt.toString;function Yt(e){return Xt.call(e)}var Jt="[object Null]",Qt="[object Undefined]",Fe=w?w.toStringTag:void 0;function I(e){return e==null?e===void 0?Qt:Jt:Fe&&Fe in Object(e)?Zt(e):Yt(e)}function P(e){return e!=null&&typeof e=="object"}var Vt="[object Symbol]";function fe(e){return typeof e=="symbol"||P(e)&&I(e)==Vt}function kt(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var en=Array.isArray;const A=en;var tn=1/0,xe=w?w.prototype:void 0,Re=xe?xe.toString:void 0;function De(e){if(typeof e=="string")return e;if(A(e))return kt(e,De)+"";if(fe(e))return Re?Re.call(e):"";var t=e+"";return t=="0"&&1/e==-tn?"-0":t}function S(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function ue(e){return e}var nn="[object AsyncFunction]",rn="[object Function]",an="[object GeneratorFunction]",on="[object Proxy]";function ce(e){if(!S(e))return!1;var t=I(e);return t==rn||t==an||t==nn||t==on}var sn=m["__core-js_shared__"];const le=sn;var Ne=function(){var e=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function fn(e){return!!Ne&&Ne in e}var un=Function.prototype,cn=un.toString;function j(e){if(e!=null){try{return cn.call(e)}catch{}try{return e+""}catch{}}return""}var ln=/[\\^$.*+?()[\]{}|]/g,gn=/^\[object .+?Constructor\]$/,pn=Function.prototype,dn=Object.prototype,hn=pn.toString,yn=dn.hasOwnProperty,bn=RegExp("^"+hn.call(yn).replace(ln,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vn(e){if(!S(e)||fn(e))return!1;var t=ce(e)?bn:gn;return t.test(j(e))}function _n(e,t){return e==null?void 0:e[t]}function M(e,t){var n=_n(e,t);return vn(n)?n:void 0}var Tn=M(m,"WeakMap");const ge=Tn;var Ge=Object.create,$n=function(){function e(){}return function(t){if(!S(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const An=$n;function On(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ue(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var mn=800,wn=16,Pn=Date.now;function Sn(e){var t=0,n=0;return function(){var r=Pn(),i=wn-(r-n);if(n=r,i>0){if(++t>=mn)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Cn(e){return function(){return e}}var En=function(){try{var e=M(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Y=En;var In=Y?function(e,t){return Y(e,"toString",{configurable:!0,enumerable:!1,value:Cn(t),writable:!0})}:ue,jn=Sn(In);const Mn=jn;function Ln(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var Fn=9007199254740991,xn=/^(?:0|[1-9]\d*)$/;function pe(e,t){var n=typeof e;return t=t??Fn,!!t&&(n=="number"||n!="symbol"&&xn.test(e))&&e>-1&&e%1==0&&e<t}function J(e,t,n){t=="__proto__"&&Y?Y(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function B(e,t){return e===t||e!==e&&t!==t}var Rn=Object.prototype,Dn=Rn.hasOwnProperty;function Be(e,t,n){var r=e[t];(!(Dn.call(e,t)&&B(r,n))||n===void 0&&!(t in e))&&J(e,t,n)}function x(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],f=r?r(n[s],e[s],s,n,e):void 0;f===void 0&&(f=e[s]),i?J(n,s,f):Be(n,s,f)}return n}var He=Math.max;function Nn(e,t,n){return t=He(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=He(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),On(e,this,s)}}function Gn(e,t){return Mn(Nn(e,t,ue),e+"")}var Un=9007199254740991;function de(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Un}function Q(e){return e!=null&&de(e.length)&&!ce(e)}function Bn(e,t,n){if(!S(n))return!1;var r=typeof t;return(r=="number"?Q(n)&&pe(t,n.length):r=="string"&&t in n)?B(n[t],e):!1}function Ke(e){return Gn(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&Bn(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var Hn=Object.prototype;function he(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Hn;return e===n}function Kn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Wn="[object Arguments]";function We(e){return P(e)&&I(e)==Wn}var ze=Object.prototype,zn=ze.hasOwnProperty,Zn=ze.propertyIsEnumerable,qn=We(function(){return arguments}())?We:function(e){return P(e)&&zn.call(e,"callee")&&!Zn.call(e,"callee")};const V=qn;function Xn(){return!1}var Ze=typeof b=="object"&&b&&!b.nodeType&&b,qe=Ze&&typeof module=="object"&&module&&!module.nodeType&&module,Yn=qe&&qe.exports===Ze,Xe=Yn?m.Buffer:void 0,Jn=Xe?Xe.isBuffer:void 0,Qn=Jn||Xn;const H=Qn;var Vn="[object Arguments]",kn="[object Array]",er="[object Boolean]",tr="[object Date]",nr="[object Error]",rr="[object Function]",ir="[object Map]",ar="[object Number]",or="[object Object]",sr="[object RegExp]",fr="[object Set]",ur="[object String]",cr="[object WeakMap]",lr="[object ArrayBuffer]",gr="[object DataView]",pr="[object Float32Array]",dr="[object Float64Array]",hr="[object Int8Array]",yr="[object Int16Array]",br="[object Int32Array]",vr="[object Uint8Array]",_r="[object Uint8ClampedArray]",Tr="[object Uint16Array]",$r="[object Uint32Array]",h={};h[pr]=h[dr]=h[hr]=h[yr]=h[br]=h[vr]=h[_r]=h[Tr]=h[$r]=!0,h[Vn]=h[kn]=h[lr]=h[er]=h[gr]=h[tr]=h[nr]=h[rr]=h[ir]=h[ar]=h[or]=h[sr]=h[fr]=h[ur]=h[cr]=!1;function Ar(e){return P(e)&&de(e.length)&&!!h[I(e)]}function ye(e){return function(t){return e(t)}}var Ye=typeof b=="object"&&b&&!b.nodeType&&b,K=Ye&&typeof module=="object"&&module&&!module.nodeType&&module,Or=K&&K.exports===Ye,be=Or&&Me.process,mr=function(){try{var e=K&&K.require&&K.require("util").types;return e||be&&be.binding&&be.binding("util")}catch{}}();const R=mr;var Je=R&&R.isTypedArray,wr=Je?ye(Je):Ar;const ve=wr;var Pr=Object.prototype,Sr=Pr.hasOwnProperty;function Qe(e,t){var n=A(e),r=!n&&V(e),i=!n&&!r&&H(e),a=!n&&!r&&!i&&ve(e),o=n||r||i||a,s=o?Kn(e.length,String):[],f=s.length;for(var g in e)(t||Sr.call(e,g))&&!(o&&(g=="length"||i&&(g=="offset"||g=="parent")||a&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||pe(g,f)))&&s.push(g);return s}function Ve(e,t){return function(n){return e(t(n))}}var Cr=Ve(Object.keys,Object);const Er=Cr;var Ir=Object.prototype,jr=Ir.hasOwnProperty;function Mr(e){if(!he(e))return Er(e);var t=[];for(var n in Object(e))jr.call(e,n)&&n!="constructor"&&t.push(n);return t}function W(e){return Q(e)?Qe(e):Mr(e)}function Lr(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Fr=Object.prototype,xr=Fr.hasOwnProperty;function Rr(e){if(!S(e))return Lr(e);var t=he(e),n=[];for(var r in e)r=="constructor"&&(t||!xr.call(e,r))||n.push(r);return n}function D(e){return Q(e)?Qe(e,!0):Rr(e)}var Dr=Ke(function(e,t,n,r){x(t,D(t),e,r)});const Nr=Dr;var Gr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ur=/^\w*$/;function _e(e,t){if(A(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||fe(e)?!0:Ur.test(e)||!Gr.test(e)||t!=null&&e in Object(t)}var Br=M(Object,"create");const z=Br;function Hr(){this.__data__=z?z(null):{},this.size=0}function Kr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Wr="__lodash_hash_undefined__",zr=Object.prototype,Zr=zr.hasOwnProperty;function qr(e){var t=this.__data__;if(z){var n=t[e];return n===Wr?void 0:n}return Zr.call(t,e)?t[e]:void 0}var Xr=Object.prototype,Yr=Xr.hasOwnProperty;function Jr(e){var t=this.__data__;return z?t[e]!==void 0:Yr.call(t,e)}var Qr="__lodash_hash_undefined__";function Vr(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=z&&t===void 0?Qr:t,this}function L(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])}}L.prototype.clear=Hr,L.prototype.delete=Kr,L.prototype.get=qr,L.prototype.has=Jr,L.prototype.set=Vr;function kr(){this.__data__=[],this.size=0}function k(e,t){for(var n=e.length;n--;)if(B(e[n][0],t))return n;return-1}var ei=Array.prototype,ti=ei.splice;function ni(e){var t=this.__data__,n=k(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():ti.call(t,n,1),--this.size,!0}function ri(e){var t=this.__data__,n=k(t,e);return n<0?void 0:t[n][1]}function ii(e){return k(this.__data__,e)>-1}function ai(e,t){var n=this.__data__,r=k(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function C(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])}}C.prototype.clear=kr,C.prototype.delete=ni,C.prototype.get=ri,C.prototype.has=ii,C.prototype.set=ai;var oi=M(m,"Map");const Z=oi;function si(){this.size=0,this.__data__={hash:new L,map:new(Z||C),string:new L}}function fi(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ee(e,t){var n=e.__data__;return fi(t)?n[typeof t=="string"?"string":"hash"]:n.map}function ui(e){var t=ee(this,e).delete(e);return this.size-=t?1:0,t}function ci(e){return ee(this,e).get(e)}function li(e){return ee(this,e).has(e)}function gi(e,t){var n=ee(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function E(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])}}E.prototype.clear=si,E.prototype.delete=ui,E.prototype.get=ci,E.prototype.has=li,E.prototype.set=gi;var pi="Expected a function";function Te(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(pi);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Te.Cache||E),n}Te.Cache=E;var di=500;function hi(e){var t=Te(e,function(r){return n.size===di&&n.clear(),r}),n=t.cache;return t}var yi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bi=/\\(\\)?/g,vi=hi(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(yi,function(n,r,i,a){t.push(i?a.replace(bi,"$1"):r||n)}),t});const _i=vi;function Ti(e){return e==null?"":De(e)}function ke(e,t){return A(e)?e:_e(e,t)?[e]:_i(Ti(e))}var $i=1/0;function te(e){if(typeof e=="string"||fe(e))return e;var t=e+"";return t=="0"&&1/e==-$i?"-0":t}function et(e,t){t=ke(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[te(t[n++])];return n&&n==r?e:void 0}function Ai(e,t,n){var r=e==null?void 0:et(e,t);return r===void 0?n:r}function tt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Oi=Ve(Object.getPrototypeOf,Object);const $e=Oi;var mi="[object Object]",wi=Function.prototype,Pi=Object.prototype,nt=wi.toString,Si=Pi.hasOwnProperty,Ci=nt.call(Object);function rt(e){if(!P(e)||I(e)!=mi)return!1;var t=$e(e);if(t===null)return!0;var n=Si.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&nt.call(n)==Ci}function Ei(){this.__data__=new C,this.size=0}function Ii(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function ji(e){return this.__data__.get(e)}function Mi(e){return this.__data__.has(e)}var Li=200;function Fi(e,t){var n=this.__data__;if(n instanceof C){var r=n.__data__;if(!Z||r.length<Li-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new E(r)}return n.set(e,t),this.size=n.size,this}function O(e){var t=this.__data__=new C(e);this.size=t.size}O.prototype.clear=Ei,O.prototype.delete=Ii,O.prototype.get=ji,O.prototype.has=Mi,O.prototype.set=Fi;function xi(e,t){return e&&x(t,W(t),e)}function Ri(e,t){return e&&x(t,D(t),e)}var it=typeof b=="object"&&b&&!b.nodeType&&b,at=it&&typeof module=="object"&&module&&!module.nodeType&&module,Di=at&&at.exports===it,ot=Di?m.Buffer:void 0,st=ot?ot.allocUnsafe:void 0;function ft(e,t){if(t)return e.slice();var n=e.length,r=st?st(n):new e.constructor(n);return e.copy(r),r}function Ni(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function ut(){return[]}var Gi=Object.prototype,Ui=Gi.propertyIsEnumerable,ct=Object.getOwnPropertySymbols,Bi=ct?function(e){return e==null?[]:(e=Object(e),Ni(ct(e),function(t){return Ui.call(e,t)}))}:ut;const Ae=Bi;function Hi(e,t){return x(e,Ae(e),t)}var Ki=Object.getOwnPropertySymbols,Wi=Ki?function(e){for(var t=[];e;)tt(t,Ae(e)),e=$e(e);return t}:ut;const lt=Wi;function zi(e,t){return x(e,lt(e),t)}function gt(e,t,n){var r=t(e);return A(e)?r:tt(r,n(e))}function Oe(e){return gt(e,W,Ae)}function Zi(e){return gt(e,D,lt)}var qi=M(m,"DataView");const me=qi;var Xi=M(m,"Promise");const we=Xi;var Yi=M(m,"Set");const Pe=Yi;var pt="[object Map]",Ji="[object Object]",dt="[object Promise]",ht="[object Set]",yt="[object WeakMap]",bt="[object DataView]",Qi=j(me),Vi=j(Z),ki=j(we),ea=j(Pe),ta=j(ge),F=I;(me&&F(new me(new ArrayBuffer(1)))!=bt||Z&&F(new Z)!=pt||we&&F(we.resolve())!=dt||Pe&&F(new Pe)!=ht||ge&&F(new ge)!=yt)&&(F=function(e){var t=I(e),n=t==Ji?e.constructor:void 0,r=n?j(n):"";if(r)switch(r){case Qi:return bt;case Vi:return pt;case ki:return dt;case ea:return ht;case ta:return yt}return t});const q=F;var na=Object.prototype,ra=na.hasOwnProperty;function ia(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&ra.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var aa=m.Uint8Array;const ne=aa;function Se(e){var t=new e.constructor(e.byteLength);return new ne(t).set(new ne(e)),t}function oa(e,t){var n=t?Se(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var sa=/\w*$/;function fa(e){var t=new e.constructor(e.source,sa.exec(e));return t.lastIndex=e.lastIndex,t}var vt=w?w.prototype:void 0,_t=vt?vt.valueOf:void 0;function ua(e){return _t?Object(_t.call(e)):{}}function Tt(e,t){var n=t?Se(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var ca="[object Boolean]",la="[object Date]",ga="[object Map]",pa="[object Number]",da="[object RegExp]",ha="[object Set]",ya="[object String]",ba="[object Symbol]",va="[object ArrayBuffer]",_a="[object DataView]",Ta="[object Float32Array]",$a="[object Float64Array]",Aa="[object Int8Array]",Oa="[object Int16Array]",ma="[object Int32Array]",wa="[object Uint8Array]",Pa="[object Uint8ClampedArray]",Sa="[object Uint16Array]",Ca="[object Uint32Array]";function Ea(e,t,n){var r=e.constructor;switch(t){case va:return Se(e);case ca:case la:return new r(+e);case _a:return oa(e,n);case Ta:case $a:case Aa:case Oa:case ma:case wa:case Pa:case Sa:case Ca:return Tt(e,n);case ga:return new r;case pa:case ya:return new r(e);case da:return fa(e);case ha:return new r;case ba:return ua(e)}}function $t(e){return typeof e.constructor=="function"&&!he(e)?An($e(e)):{}}var Ia="[object Map]";function ja(e){return P(e)&&q(e)==Ia}var At=R&&R.isMap,Ma=At?ye(At):ja;const La=Ma;var Fa="[object Set]";function xa(e){return P(e)&&q(e)==Fa}var Ot=R&&R.isSet,Ra=Ot?ye(Ot):xa;const Da=Ra;var Na=1,Ga=2,Ua=4,mt="[object Arguments]",Ba="[object Array]",Ha="[object Boolean]",Ka="[object Date]",Wa="[object Error]",wt="[object Function]",za="[object GeneratorFunction]",Za="[object Map]",qa="[object Number]",Pt="[object Object]",Xa="[object RegExp]",Ya="[object Set]",Ja="[object String]",Qa="[object Symbol]",Va="[object WeakMap]",ka="[object ArrayBuffer]",eo="[object DataView]",to="[object Float32Array]",no="[object Float64Array]",ro="[object Int8Array]",io="[object Int16Array]",ao="[object Int32Array]",oo="[object Uint8Array]",so="[object Uint8ClampedArray]",fo="[object Uint16Array]",uo="[object Uint32Array]",d={};d[mt]=d[Ba]=d[ka]=d[eo]=d[Ha]=d[Ka]=d[to]=d[no]=d[ro]=d[io]=d[ao]=d[Za]=d[qa]=d[Pt]=d[Xa]=d[Ya]=d[Ja]=d[Qa]=d[oo]=d[so]=d[fo]=d[uo]=!0,d[Wa]=d[wt]=d[Va]=!1;function re(e,t,n,r,i,a){var o,s=t&Na,f=t&Ga,g=t&Ua;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!S(e))return e;var u=A(e);if(u){if(o=ia(e),!s)return Ue(e,o)}else{var l=q(e),c=l==wt||l==za;if(H(e))return ft(e,s);if(l==Pt||l==mt||c&&!i){if(o=f||c?{}:$t(e),!s)return f?zi(e,Ri(o,e)):Hi(e,xi(o,e))}else{if(!d[l])return i?e:{};o=Ea(e,l,s)}}a||(a=new O);var y=a.get(e);if(y)return y;a.set(e,o),Da(e)?e.forEach(function(_){o.add(re(_,t,n,_,e,a))}):La(e)&&e.forEach(function(_,p){o.set(p,re(_,t,n,p,e,a))});var v=g?f?Zi:Oe:f?D:W,T=u?void 0:v(e);return Ln(T||e,function(_,p){T&&(p=_,_=e[p]),Be(o,p,re(_,t,n,p,e,a))}),o}var co=1,lo=4;function go(e){return re(e,co|lo)}var po="__lodash_hash_undefined__";function ho(e){return this.__data__.set(e,po),this}function yo(e){return this.__data__.has(e)}function ie(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new E;++t<n;)this.add(e[t])}ie.prototype.add=ie.prototype.push=ho,ie.prototype.has=yo;function bo(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 vo(e,t){return e.has(t)}var _o=1,To=2;function St(e,t,n,r,i,a){var o=n&_o,s=e.length,f=t.length;if(s!=f&&!(o&&f>s))return!1;var g=a.get(e),u=a.get(t);if(g&&u)return g==t&&u==e;var l=-1,c=!0,y=n&To?new ie:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var v=e[l],T=t[l];if(r)var _=o?r(T,v,l,t,e,a):r(v,T,l,e,t,a);if(_!==void 0){if(_)continue;c=!1;break}if(y){if(!bo(t,function(p,$){if(!vo(y,$)&&(v===p||i(v,p,n,r,a)))return y.push($)})){c=!1;break}}else if(!(v===T||i(v,T,n,r,a))){c=!1;break}}return a.delete(e),a.delete(t),c}function $o(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function Ao(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Oo=1,mo=2,wo="[object Boolean]",Po="[object Date]",So="[object Error]",Co="[object Map]",Eo="[object Number]",Io="[object RegExp]",jo="[object Set]",Mo="[object String]",Lo="[object Symbol]",Fo="[object ArrayBuffer]",xo="[object DataView]",Ct=w?w.prototype:void 0,Ce=Ct?Ct.valueOf:void 0;function Ro(e,t,n,r,i,a,o){switch(n){case xo:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Fo:return!(e.byteLength!=t.byteLength||!a(new ne(e),new ne(t)));case wo:case Po:case Eo:return B(+e,+t);case So:return e.name==t.name&&e.message==t.message;case Io:case Mo:return e==t+"";case Co:var s=$o;case jo:var f=r&Oo;if(s||(s=Ao),e.size!=t.size&&!f)return!1;var g=o.get(e);if(g)return g==t;r|=mo,o.set(e,t);var u=St(s(e),s(t),r,i,a,o);return o.delete(e),u;case Lo:if(Ce)return Ce.call(e)==Ce.call(t)}return!1}var Do=1,No=Object.prototype,Go=No.hasOwnProperty;function Uo(e,t,n,r,i,a){var o=n&Do,s=Oe(e),f=s.length,g=Oe(t),u=g.length;if(f!=u&&!o)return!1;for(var l=f;l--;){var c=s[l];if(!(o?c in t:Go.call(t,c)))return!1}var y=a.get(e),v=a.get(t);if(y&&v)return y==t&&v==e;var T=!0;a.set(e,t),a.set(t,e);for(var _=o;++l<f;){c=s[l];var p=e[c],$=t[c];if(r)var se=o?r($,p,c,t,e,a):r(p,$,c,e,t,a);if(!(se===void 0?p===$||i(p,$,n,r,a):se)){T=!1;break}_||(_=c=="constructor")}if(T&&!_){var X=e.constructor,N=t.constructor;X!=N&&"constructor"in e&&"constructor"in t&&!(typeof X=="function"&&X instanceof X&&typeof N=="function"&&N instanceof N)&&(T=!1)}return a.delete(e),a.delete(t),T}var Bo=1,Et="[object Arguments]",It="[object Array]",ae="[object Object]",Ho=Object.prototype,jt=Ho.hasOwnProperty;function Ko(e,t,n,r,i,a){var o=A(e),s=A(t),f=o?It:q(e),g=s?It:q(t);f=f==Et?ae:f,g=g==Et?ae:g;var u=f==ae,l=g==ae,c=f==g;if(c&&H(e)){if(!H(t))return!1;o=!0,u=!1}if(c&&!u)return a||(a=new O),o||ve(e)?St(e,t,n,r,i,a):Ro(e,t,f,n,r,i,a);if(!(n&Bo)){var y=u&&jt.call(e,"__wrapped__"),v=l&&jt.call(t,"__wrapped__");if(y||v){var T=y?e.value():e,_=v?t.value():t;return a||(a=new O),i(T,_,n,r,a)}}return c?(a||(a=new O),Uo(e,t,n,r,i,a)):!1}function Ee(e,t,n,r,i){return e===t?!0:e==null||t==null||!P(e)&&!P(t)?e!==e&&t!==t:Ko(e,t,n,r,Ee,i)}var Wo=1,zo=2;function Zo(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var f=s[0],g=e[f],u=s[1];if(o&&s[2]){if(g===void 0&&!(f in e))return!1}else{var l=new O;if(r)var c=r(g,u,f,e,t,l);if(!(c===void 0?Ee(u,g,Wo|zo,r,l):c))return!1}}return!0}function Mt(e){return e===e&&!S(e)}function qo(e){for(var t=W(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Mt(i)]}return t}function Lt(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Xo(e){var t=qo(e);return t.length==1&&t[0][2]?Lt(t[0][0],t[0][1]):function(n){return n===e||Zo(n,e,t)}}function Yo(e,t){return e!=null&&t in Object(e)}function Jo(e,t,n){t=ke(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=te(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&de(i)&&pe(o,i)&&(A(e)||V(e)))}function Qo(e,t){return e!=null&&Jo(e,t,Yo)}var Vo=1,ko=2;function es(e,t){return _e(e)&&Mt(t)?Lt(te(e),t):function(n){var r=Ai(n,e);return r===void 0&&r===t?Qo(n,e):Ee(t,r,Vo|ko)}}function ts(e){return function(t){return t==null?void 0:t[e]}}function ns(e){return function(t){return et(t,e)}}function rs(e){return _e(e)?ts(te(e)):ns(e)}function is(e){return typeof e=="function"?e:e==null?ue:typeof e=="object"?A(e)?es(e[0],e[1]):Xo(e):rs(e)}function as(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var f=o[e?s:++i];if(n(a[f],f,a)===!1)break}return t}}var os=as();const Ft=os;function ss(e,t){return e&&Ft(e,t,W)}function Ie(e,t,n){(n!==void 0&&!B(e[t],n)||n===void 0&&!(t in e))&&J(e,t,n)}function fs(e){return P(e)&&Q(e)}function je(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function us(e){return x(e,D(e))}function cs(e,t,n,r,i,a,o){var s=je(e,n),f=je(t,n),g=o.get(f);if(g){Ie(e,n,g);return}var u=a?a(s,f,n+"",e,t,o):void 0,l=u===void 0;if(l){var c=A(f),y=!c&&H(f),v=!c&&!y&&ve(f);u=f,c||y||v?A(s)?u=s:fs(s)?u=Ue(s):y?(l=!1,u=ft(f,!0)):v?(l=!1,u=Tt(f,!0)):u=[]:rt(f)||V(f)?(u=s,V(s)?u=us(s):(!S(s)||ce(s))&&(u=$t(f))):l=!1}l&&(o.set(f,u),i(u,f,r,a,o),o.delete(f)),Ie(e,n,u)}function xt(e,t,n,r,i){e!==t&&Ft(t,function(a,o){if(i||(i=new O),S(a))cs(e,t,o,n,xt,r,i);else{var s=r?r(je(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),Ie(e,o,s)}},D)}var ls=Ke(function(e,t,n,r){xt(e,t,n,r)});const gs=ls;function ps(e,t){var n={};return t=is(t),ss(e,function(r,i,a){J(n,t(r,i,a),r)}),n}var oe=function(){return oe=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},oe.apply(this,arguments)};function ds(e){return e.toLowerCase()}var hs=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],ys=/[^A-Z0-9]+/gi;function bs(e,t){t===void 0&&(t={});for(var n=t.splitRegexp,r=n===void 0?hs:n,i=t.stripRegexp,a=i===void 0?ys:i,o=t.transform,s=o===void 0?ds:o,f=t.delimiter,g=f===void 0?" ":f,u=Rt(Rt(e,r,"$1\0$2"),a,"\0"),l=0,c=u.length;u.charAt(l)==="\0";)l++;for(;u.charAt(c-1)==="\0";)c--;return u.slice(l,c).split("\0").map(s).join(g)}function Rt(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(r,i){return r.replace(i,n)},e)}function Dt(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function vs(e,t){return t===void 0&&(t={}),bs(e,oe({delimiter:"",transform:Dt},t))}function _s(e,t){return t===0?e.toLowerCase():Dt(e,t)}function Ts(e,t){return t===void 0&&(t={}),vs(e,oe({transform:_s},t))}function $s(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}const As=$s("String,Number,Boolean,Function,Symbol,BigInt");function Os(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ms(e,t){let n;const r=Os(t);if(As(r)){const i=typeof e;n=i===r.toLowerCase(),!n&&i==="object"&&(n=e instanceof t)}else r==="Object"?n=S(e):r==="Array"?n=Array.isArray(e):r==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:r}}function ws({prop:e,type:t,validator:n}){if(![void 0,null].includes(e)&&t){let r=!1;const i=Array.isArray(t)?t:[t],a=[];for(let o=0;o<i.length&&!r;o++){const{valid:s,expectedType:f}=ms(e,i[o]);a.push(f||""),r=s}if(!r)throw new Error(`Invalid prop: type check failed, expecting [${a.join(", ")}], receiving: ${e}`)}if(n&&!n(e))throw new Error(`Invalid prop: validator check failed, receiving: ${e}`)}function Ps(e,{mergeObject:t,mergeFunction:n}){const r=[];for(let a=e.length-1;a>=0;a--)r.push(e[a]);const i=n?(a,o)=>typeof a=="function"&&typeof o=="function"?n(o,a):void 0:void 0;return t==="deep"?gs(...r,i):Nr(...r,i)}function Ss(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function Nt(e,t={}){const{type:n,default:r,defaultIsDynamic:i=!1,required:a=!1,validator:o,camelizeObjectKeys:s=!1,mergeObjectApplyOnlyToDefault:f=!1,mergeFunctionApplyOnlyToDefault:g=!0}=t;let{mergeObject:u="deep",mergeFunction:l=!1}=t;const c=[];let y,v=!1,T=!1;const _=p=>{if(p!==void 0){ws({type:n,prop:p,validator:o});const $=rt(p),se=typeof p=="function";return v=$,T=se,$?(p=go(p),s?ps(p,(X,N)=>Ts(N,{stripRegexp:/-/g})):p):p}};for(const p of e)c.push(_(p));if(!i)c.push(_(r));else if(typeof r!="function")throw new TypeError(`Invalid option: config.default should be Function when config.defaultIsDynamic enabled, receiving: ${r}`);v||(u=!1,T||(l=!1));for(let p=0;p<c.length;p++){const $=c[p];if($!==void 0){p===c.length-1?y=$:u?y=Ps(f?[$,r]:c,{mergeObject:u,mergeFunction:l}):l?y=Ss(g?[$,r]:c,{mergeFunction:l}):y=$;break}}if(a&&[void 0,null].includes(y))throw new Error("Missing required prop");return i?Nt(e,{...t,default:r(y),defaultIsDynamic:!1}):y}function Cs(e,t){return Object.keys(e).filter(n=>t(n)).reduce((n,r)=>(n[r]=e[r],n),{})}function Es(e){return Cs(e,t=>!t.startsWith("hook:"))}function Is(e){if(Object.getOwnPropertyNames(e||{}).length){const t=this.$emit;this.$emit=function(...n){var a;t.apply(this,n);const[r,...i]=n;(a=e[r])==null||a.apply(this,i)}}}function Gt(e){const t=Array.from(e);return t[0]=t[0].toUpperCase(),t.unshift("n"),t.unshift("o"),t.join("")}function js(e,t=[]){const n={props:{},attrs:{},listeners:{},hooks:{},slots:{}},r=Array.isArray(t)?t:Object.keys(t);for(const i in e)if(i.startsWith("@")){const a=i.substring(1);G.isVue3?a.startsWith("vnode")?n.hooks[Gt(a)]=e[i]:n.listeners[Gt(a)]=e[i]:a.startsWith("hook:")?n.hooks[a]=e[i]:n.listeners[a]=e[i]}else if(i.startsWith("#")){const a=i.substring(1);a&&(n.slots[a]=e[i])}else r.includes(i)?n.props[i]=e[i]:n.attrs[i]=e[i];return n}b.conclude=Nt,b.getLocalListeners=Es,b.listenGlobalHooks=Is,b.resolveConfig=js,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})}); | ||
(function(b,G){typeof exports=="object"&&typeof module<"u"?G(exports,require("vue-demi")):typeof define=="function"&&define.amd?define(["exports","vue-demi"],G):(b=typeof globalThis<"u"?globalThis:b||self,G(b.VueGlobalConfig={},b.VueDemi))})(this,function(b,G){"use strict";var Ut=typeof global=="object"&&global&&global.Object===Object&&global;const Me=Ut;var Bt=typeof self=="object"&&self&&self.Object===Object&&self,Ht=Me||Bt||Function("return this")();const m=Ht;var Kt=m.Symbol;const w=Kt;var Le=Object.prototype,Wt=Le.hasOwnProperty,zt=Le.toString,U=w?w.toStringTag:void 0;function Zt(e){var t=Wt.call(e,U),r=e[U];try{e[U]=void 0;var n=!0}catch{}var i=zt.call(e);return n&&(t?e[U]=r:delete e[U]),i}var qt=Object.prototype,Xt=qt.toString;function Yt(e){return Xt.call(e)}var Jt="[object Null]",Qt="[object Undefined]",Fe=w?w.toStringTag:void 0;function I(e){return e==null?e===void 0?Qt:Jt:Fe&&Fe in Object(e)?Zt(e):Yt(e)}function P(e){return e!=null&&typeof e=="object"}var Vt="[object Symbol]";function fe(e){return typeof e=="symbol"||P(e)&&I(e)==Vt}function kt(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var er=Array.isArray;const A=er;var tr=1/0,xe=w?w.prototype:void 0,Re=xe?xe.toString:void 0;function De(e){if(typeof e=="string")return e;if(A(e))return kt(e,De)+"";if(fe(e))return Re?Re.call(e):"";var t=e+"";return t=="0"&&1/e==-tr?"-0":t}function S(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function ue(e){return e}var rr="[object AsyncFunction]",nr="[object Function]",ir="[object GeneratorFunction]",ar="[object Proxy]";function ce(e){if(!S(e))return!1;var t=I(e);return t==nr||t==ir||t==rr||t==ar}var or=m["__core-js_shared__"];const le=or;var Ne=function(){var e=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function sr(e){return!!Ne&&Ne in e}var fr=Function.prototype,ur=fr.toString;function j(e){if(e!=null){try{return ur.call(e)}catch{}try{return e+""}catch{}}return""}var cr=/[\\^$.*+?()[\]{}|]/g,lr=/^\[object .+?Constructor\]$/,gr=Function.prototype,pr=Object.prototype,dr=gr.toString,hr=pr.hasOwnProperty,yr=RegExp("^"+dr.call(hr).replace(cr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function br(e){if(!S(e)||sr(e))return!1;var t=ce(e)?yr:lr;return t.test(j(e))}function vr(e,t){return e==null?void 0:e[t]}function M(e,t){var r=vr(e,t);return br(r)?r:void 0}var _r=M(m,"WeakMap");const ge=_r;var Ge=Object.create,Tr=function(){function e(){}return function(t){if(!S(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const $r=Tr;function Ar(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ue(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Or=800,mr=16,wr=Date.now;function Pr(e){var t=0,r=0;return function(){var n=wr(),i=mr-(n-r);if(r=n,i>0){if(++t>=Or)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Sr(e){return function(){return e}}var Er=function(){try{var e=M(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Y=Er;var Cr=Y?function(e,t){return Y(e,"toString",{configurable:!0,enumerable:!1,value:Sr(t),writable:!0})}:ue,Ir=Pr(Cr);const jr=Ir;function Mr(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var Lr=9007199254740991,Fr=/^(?:0|[1-9]\d*)$/;function pe(e,t){var r=typeof e;return t=t??Lr,!!t&&(r=="number"||r!="symbol"&&Fr.test(e))&&e>-1&&e%1==0&&e<t}function J(e,t,r){t=="__proto__"&&Y?Y(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function B(e,t){return e===t||e!==e&&t!==t}var xr=Object.prototype,Rr=xr.hasOwnProperty;function Be(e,t,r){var n=e[t];(!(Rr.call(e,t)&&B(n,r))||r===void 0&&!(t in e))&&J(e,t,r)}function x(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var s=t[a],f=n?n(r[s],e[s],s,r,e):void 0;f===void 0&&(f=e[s]),i?J(r,s,f):Be(r,s,f)}return r}var He=Math.max;function Dr(e,t,r){return t=He(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=He(n.length-t,0),o=Array(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),Ar(e,this,s)}}function Nr(e,t){return jr(Dr(e,t,ue),e+"")}var Gr=9007199254740991;function de(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Gr}function Q(e){return e!=null&&de(e.length)&&!ce(e)}function Ur(e,t,r){if(!S(r))return!1;var n=typeof t;return(n=="number"?Q(r)&&pe(t,r.length):n=="string"&&t in r)?B(r[t],e):!1}function Ke(e){return Nr(function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&Ur(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var s=r[n];s&&e(t,s,n,a)}return t})}var Br=Object.prototype;function he(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Br;return e===r}function Hr(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Kr="[object Arguments]";function We(e){return P(e)&&I(e)==Kr}var ze=Object.prototype,Wr=ze.hasOwnProperty,zr=ze.propertyIsEnumerable,Zr=We(function(){return arguments}())?We:function(e){return P(e)&&Wr.call(e,"callee")&&!zr.call(e,"callee")};const V=Zr;function qr(){return!1}var Ze=typeof b=="object"&&b&&!b.nodeType&&b,qe=Ze&&typeof module=="object"&&module&&!module.nodeType&&module,Xr=qe&&qe.exports===Ze,Xe=Xr?m.Buffer:void 0,Yr=Xe?Xe.isBuffer:void 0,Jr=Yr||qr;const H=Jr;var Qr="[object Arguments]",Vr="[object Array]",kr="[object Boolean]",en="[object Date]",tn="[object Error]",rn="[object Function]",nn="[object Map]",an="[object Number]",on="[object Object]",sn="[object RegExp]",fn="[object Set]",un="[object String]",cn="[object WeakMap]",ln="[object ArrayBuffer]",gn="[object DataView]",pn="[object Float32Array]",dn="[object Float64Array]",hn="[object Int8Array]",yn="[object Int16Array]",bn="[object Int32Array]",vn="[object Uint8Array]",_n="[object Uint8ClampedArray]",Tn="[object Uint16Array]",$n="[object Uint32Array]",h={};h[pn]=h[dn]=h[hn]=h[yn]=h[bn]=h[vn]=h[_n]=h[Tn]=h[$n]=!0,h[Qr]=h[Vr]=h[ln]=h[kr]=h[gn]=h[en]=h[tn]=h[rn]=h[nn]=h[an]=h[on]=h[sn]=h[fn]=h[un]=h[cn]=!1;function An(e){return P(e)&&de(e.length)&&!!h[I(e)]}function ye(e){return function(t){return e(t)}}var Ye=typeof b=="object"&&b&&!b.nodeType&&b,K=Ye&&typeof module=="object"&&module&&!module.nodeType&&module,On=K&&K.exports===Ye,be=On&&Me.process,mn=function(){try{var e=K&&K.require&&K.require("util").types;return e||be&&be.binding&&be.binding("util")}catch{}}();const R=mn;var Je=R&&R.isTypedArray,wn=Je?ye(Je):An;const ve=wn;var Pn=Object.prototype,Sn=Pn.hasOwnProperty;function Qe(e,t){var r=A(e),n=!r&&V(e),i=!r&&!n&&H(e),a=!r&&!n&&!i&&ve(e),o=r||n||i||a,s=o?Hr(e.length,String):[],f=s.length;for(var g in e)(t||Sn.call(e,g))&&!(o&&(g=="length"||i&&(g=="offset"||g=="parent")||a&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||pe(g,f)))&&s.push(g);return s}function Ve(e,t){return function(r){return e(t(r))}}var En=Ve(Object.keys,Object);const Cn=En;var In=Object.prototype,jn=In.hasOwnProperty;function Mn(e){if(!he(e))return Cn(e);var t=[];for(var r in Object(e))jn.call(e,r)&&r!="constructor"&&t.push(r);return t}function W(e){return Q(e)?Qe(e):Mn(e)}function Ln(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Fn=Object.prototype,xn=Fn.hasOwnProperty;function Rn(e){if(!S(e))return Ln(e);var t=he(e),r=[];for(var n in e)n=="constructor"&&(t||!xn.call(e,n))||r.push(n);return r}function D(e){return Q(e)?Qe(e,!0):Rn(e)}var Dn=Ke(function(e,t,r,n){x(t,D(t),e,n)});const Nn=Dn;var Gn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Un=/^\w*$/;function _e(e,t){if(A(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||fe(e)?!0:Un.test(e)||!Gn.test(e)||t!=null&&e in Object(t)}var Bn=M(Object,"create");const z=Bn;function Hn(){this.__data__=z?z(null):{},this.size=0}function Kn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Wn="__lodash_hash_undefined__",zn=Object.prototype,Zn=zn.hasOwnProperty;function qn(e){var t=this.__data__;if(z){var r=t[e];return r===Wn?void 0:r}return Zn.call(t,e)?t[e]:void 0}var Xn=Object.prototype,Yn=Xn.hasOwnProperty;function Jn(e){var t=this.__data__;return z?t[e]!==void 0:Yn.call(t,e)}var Qn="__lodash_hash_undefined__";function Vn(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=z&&t===void 0?Qn:t,this}function L(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}L.prototype.clear=Hn,L.prototype.delete=Kn,L.prototype.get=qn,L.prototype.has=Jn,L.prototype.set=Vn;function kn(){this.__data__=[],this.size=0}function k(e,t){for(var r=e.length;r--;)if(B(e[r][0],t))return r;return-1}var ei=Array.prototype,ti=ei.splice;function ri(e){var t=this.__data__,r=k(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():ti.call(t,r,1),--this.size,!0}function ni(e){var t=this.__data__,r=k(t,e);return r<0?void 0:t[r][1]}function ii(e){return k(this.__data__,e)>-1}function ai(e,t){var r=this.__data__,n=k(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function E(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}E.prototype.clear=kn,E.prototype.delete=ri,E.prototype.get=ni,E.prototype.has=ii,E.prototype.set=ai;var oi=M(m,"Map");const Z=oi;function si(){this.size=0,this.__data__={hash:new L,map:new(Z||E),string:new L}}function fi(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ee(e,t){var r=e.__data__;return fi(t)?r[typeof t=="string"?"string":"hash"]:r.map}function ui(e){var t=ee(this,e).delete(e);return this.size-=t?1:0,t}function ci(e){return ee(this,e).get(e)}function li(e){return ee(this,e).has(e)}function gi(e,t){var r=ee(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function C(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}C.prototype.clear=si,C.prototype.delete=ui,C.prototype.get=ci,C.prototype.has=li,C.prototype.set=gi;var pi="Expected a function";function Te(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(pi);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Te.Cache||C),r}Te.Cache=C;var di=500;function hi(e){var t=Te(e,function(n){return r.size===di&&r.clear(),n}),r=t.cache;return t}var yi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bi=/\\(\\)?/g,vi=hi(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(yi,function(r,n,i,a){t.push(i?a.replace(bi,"$1"):n||r)}),t});const _i=vi;function Ti(e){return e==null?"":De(e)}function ke(e,t){return A(e)?e:_e(e,t)?[e]:_i(Ti(e))}var $i=1/0;function te(e){if(typeof e=="string"||fe(e))return e;var t=e+"";return t=="0"&&1/e==-$i?"-0":t}function et(e,t){t=ke(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[te(t[r++])];return r&&r==n?e:void 0}function Ai(e,t,r){var n=e==null?void 0:et(e,t);return n===void 0?r:n}function tt(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Oi=Ve(Object.getPrototypeOf,Object);const $e=Oi;var mi="[object Object]",wi=Function.prototype,Pi=Object.prototype,rt=wi.toString,Si=Pi.hasOwnProperty,Ei=rt.call(Object);function nt(e){if(!P(e)||I(e)!=mi)return!1;var t=$e(e);if(t===null)return!0;var r=Si.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&rt.call(r)==Ei}function Ci(){this.__data__=new E,this.size=0}function Ii(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function ji(e){return this.__data__.get(e)}function Mi(e){return this.__data__.has(e)}var Li=200;function Fi(e,t){var r=this.__data__;if(r instanceof E){var n=r.__data__;if(!Z||n.length<Li-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new C(n)}return r.set(e,t),this.size=r.size,this}function O(e){var t=this.__data__=new E(e);this.size=t.size}O.prototype.clear=Ci,O.prototype.delete=Ii,O.prototype.get=ji,O.prototype.has=Mi,O.prototype.set=Fi;function xi(e,t){return e&&x(t,W(t),e)}function Ri(e,t){return e&&x(t,D(t),e)}var it=typeof b=="object"&&b&&!b.nodeType&&b,at=it&&typeof module=="object"&&module&&!module.nodeType&&module,Di=at&&at.exports===it,ot=Di?m.Buffer:void 0,st=ot?ot.allocUnsafe:void 0;function ft(e,t){if(t)return e.slice();var r=e.length,n=st?st(r):new e.constructor(r);return e.copy(n),n}function Ni(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function ut(){return[]}var Gi=Object.prototype,Ui=Gi.propertyIsEnumerable,ct=Object.getOwnPropertySymbols,Bi=ct?function(e){return e==null?[]:(e=Object(e),Ni(ct(e),function(t){return Ui.call(e,t)}))}:ut;const Ae=Bi;function Hi(e,t){return x(e,Ae(e),t)}var Ki=Object.getOwnPropertySymbols,Wi=Ki?function(e){for(var t=[];e;)tt(t,Ae(e)),e=$e(e);return t}:ut;const lt=Wi;function zi(e,t){return x(e,lt(e),t)}function gt(e,t,r){var n=t(e);return A(e)?n:tt(n,r(e))}function Oe(e){return gt(e,W,Ae)}function Zi(e){return gt(e,D,lt)}var qi=M(m,"DataView");const me=qi;var Xi=M(m,"Promise");const we=Xi;var Yi=M(m,"Set");const Pe=Yi;var pt="[object Map]",Ji="[object Object]",dt="[object Promise]",ht="[object Set]",yt="[object WeakMap]",bt="[object DataView]",Qi=j(me),Vi=j(Z),ki=j(we),ea=j(Pe),ta=j(ge),F=I;(me&&F(new me(new ArrayBuffer(1)))!=bt||Z&&F(new Z)!=pt||we&&F(we.resolve())!=dt||Pe&&F(new Pe)!=ht||ge&&F(new ge)!=yt)&&(F=function(e){var t=I(e),r=t==Ji?e.constructor:void 0,n=r?j(r):"";if(n)switch(n){case Qi:return bt;case Vi:return pt;case ki:return dt;case ea:return ht;case ta:return yt}return t});const q=F;var ra=Object.prototype,na=ra.hasOwnProperty;function ia(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&na.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var aa=m.Uint8Array;const re=aa;function Se(e){var t=new e.constructor(e.byteLength);return new re(t).set(new re(e)),t}function oa(e,t){var r=t?Se(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var sa=/\w*$/;function fa(e){var t=new e.constructor(e.source,sa.exec(e));return t.lastIndex=e.lastIndex,t}var vt=w?w.prototype:void 0,_t=vt?vt.valueOf:void 0;function ua(e){return _t?Object(_t.call(e)):{}}function Tt(e,t){var r=t?Se(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var ca="[object Boolean]",la="[object Date]",ga="[object Map]",pa="[object Number]",da="[object RegExp]",ha="[object Set]",ya="[object String]",ba="[object Symbol]",va="[object ArrayBuffer]",_a="[object DataView]",Ta="[object Float32Array]",$a="[object Float64Array]",Aa="[object Int8Array]",Oa="[object Int16Array]",ma="[object Int32Array]",wa="[object Uint8Array]",Pa="[object Uint8ClampedArray]",Sa="[object Uint16Array]",Ea="[object Uint32Array]";function Ca(e,t,r){var n=e.constructor;switch(t){case va:return Se(e);case ca:case la:return new n(+e);case _a:return oa(e,r);case Ta:case $a:case Aa:case Oa:case ma:case wa:case Pa:case Sa:case Ea:return Tt(e,r);case ga:return new n;case pa:case ya:return new n(e);case da:return fa(e);case ha:return new n;case ba:return ua(e)}}function $t(e){return typeof e.constructor=="function"&&!he(e)?$r($e(e)):{}}var Ia="[object Map]";function ja(e){return P(e)&&q(e)==Ia}var At=R&&R.isMap,Ma=At?ye(At):ja;const La=Ma;var Fa="[object Set]";function xa(e){return P(e)&&q(e)==Fa}var Ot=R&&R.isSet,Ra=Ot?ye(Ot):xa;const Da=Ra;var Na=1,Ga=2,Ua=4,mt="[object Arguments]",Ba="[object Array]",Ha="[object Boolean]",Ka="[object Date]",Wa="[object Error]",wt="[object Function]",za="[object GeneratorFunction]",Za="[object Map]",qa="[object Number]",Pt="[object Object]",Xa="[object RegExp]",Ya="[object Set]",Ja="[object String]",Qa="[object Symbol]",Va="[object WeakMap]",ka="[object ArrayBuffer]",eo="[object DataView]",to="[object Float32Array]",ro="[object Float64Array]",no="[object Int8Array]",io="[object Int16Array]",ao="[object Int32Array]",oo="[object Uint8Array]",so="[object Uint8ClampedArray]",fo="[object Uint16Array]",uo="[object Uint32Array]",d={};d[mt]=d[Ba]=d[ka]=d[eo]=d[Ha]=d[Ka]=d[to]=d[ro]=d[no]=d[io]=d[ao]=d[Za]=d[qa]=d[Pt]=d[Xa]=d[Ya]=d[Ja]=d[Qa]=d[oo]=d[so]=d[fo]=d[uo]=!0,d[Wa]=d[wt]=d[Va]=!1;function ne(e,t,r,n,i,a){var o,s=t&Na,f=t&Ga,g=t&Ua;if(r&&(o=i?r(e,n,i,a):r(e)),o!==void 0)return o;if(!S(e))return e;var u=A(e);if(u){if(o=ia(e),!s)return Ue(e,o)}else{var l=q(e),c=l==wt||l==za;if(H(e))return ft(e,s);if(l==Pt||l==mt||c&&!i){if(o=f||c?{}:$t(e),!s)return f?zi(e,Ri(o,e)):Hi(e,xi(o,e))}else{if(!d[l])return i?e:{};o=Ca(e,l,s)}}a||(a=new O);var y=a.get(e);if(y)return y;a.set(e,o),Da(e)?e.forEach(function(_){o.add(ne(_,t,r,_,e,a))}):La(e)&&e.forEach(function(_,p){o.set(p,ne(_,t,r,p,e,a))});var v=g?f?Zi:Oe:f?D:W,T=u?void 0:v(e);return Mr(T||e,function(_,p){T&&(p=_,_=e[p]),Be(o,p,ne(_,t,r,p,e,a))}),o}var co=1,lo=4;function go(e){return ne(e,co|lo)}var po="__lodash_hash_undefined__";function ho(e){return this.__data__.set(e,po),this}function yo(e){return this.__data__.has(e)}function ie(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new C;++t<r;)this.add(e[t])}ie.prototype.add=ie.prototype.push=ho,ie.prototype.has=yo;function bo(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function vo(e,t){return e.has(t)}var _o=1,To=2;function St(e,t,r,n,i,a){var o=r&_o,s=e.length,f=t.length;if(s!=f&&!(o&&f>s))return!1;var g=a.get(e),u=a.get(t);if(g&&u)return g==t&&u==e;var l=-1,c=!0,y=r&To?new ie:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var v=e[l],T=t[l];if(n)var _=o?n(T,v,l,t,e,a):n(v,T,l,e,t,a);if(_!==void 0){if(_)continue;c=!1;break}if(y){if(!bo(t,function(p,$){if(!vo(y,$)&&(v===p||i(v,p,r,n,a)))return y.push($)})){c=!1;break}}else if(!(v===T||i(v,T,r,n,a))){c=!1;break}}return a.delete(e),a.delete(t),c}function $o(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function Ao(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Oo=1,mo=2,wo="[object Boolean]",Po="[object Date]",So="[object Error]",Eo="[object Map]",Co="[object Number]",Io="[object RegExp]",jo="[object Set]",Mo="[object String]",Lo="[object Symbol]",Fo="[object ArrayBuffer]",xo="[object DataView]",Et=w?w.prototype:void 0,Ee=Et?Et.valueOf:void 0;function Ro(e,t,r,n,i,a,o){switch(r){case xo:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Fo:return!(e.byteLength!=t.byteLength||!a(new re(e),new re(t)));case wo:case Po:case Co:return B(+e,+t);case So:return e.name==t.name&&e.message==t.message;case Io:case Mo:return e==t+"";case Eo:var s=$o;case jo:var f=n&Oo;if(s||(s=Ao),e.size!=t.size&&!f)return!1;var g=o.get(e);if(g)return g==t;n|=mo,o.set(e,t);var u=St(s(e),s(t),n,i,a,o);return o.delete(e),u;case Lo:if(Ee)return Ee.call(e)==Ee.call(t)}return!1}var Do=1,No=Object.prototype,Go=No.hasOwnProperty;function Uo(e,t,r,n,i,a){var o=r&Do,s=Oe(e),f=s.length,g=Oe(t),u=g.length;if(f!=u&&!o)return!1;for(var l=f;l--;){var c=s[l];if(!(o?c in t:Go.call(t,c)))return!1}var y=a.get(e),v=a.get(t);if(y&&v)return y==t&&v==e;var T=!0;a.set(e,t),a.set(t,e);for(var _=o;++l<f;){c=s[l];var p=e[c],$=t[c];if(n)var se=o?n($,p,c,t,e,a):n(p,$,c,e,t,a);if(!(se===void 0?p===$||i(p,$,r,n,a):se)){T=!1;break}_||(_=c=="constructor")}if(T&&!_){var X=e.constructor,N=t.constructor;X!=N&&"constructor"in e&&"constructor"in t&&!(typeof X=="function"&&X instanceof X&&typeof N=="function"&&N instanceof N)&&(T=!1)}return a.delete(e),a.delete(t),T}var Bo=1,Ct="[object Arguments]",It="[object Array]",ae="[object Object]",Ho=Object.prototype,jt=Ho.hasOwnProperty;function Ko(e,t,r,n,i,a){var o=A(e),s=A(t),f=o?It:q(e),g=s?It:q(t);f=f==Ct?ae:f,g=g==Ct?ae:g;var u=f==ae,l=g==ae,c=f==g;if(c&&H(e)){if(!H(t))return!1;o=!0,u=!1}if(c&&!u)return a||(a=new O),o||ve(e)?St(e,t,r,n,i,a):Ro(e,t,f,r,n,i,a);if(!(r&Bo)){var y=u&&jt.call(e,"__wrapped__"),v=l&&jt.call(t,"__wrapped__");if(y||v){var T=y?e.value():e,_=v?t.value():t;return a||(a=new O),i(T,_,r,n,a)}}return c?(a||(a=new O),Uo(e,t,r,n,i,a)):!1}function Ce(e,t,r,n,i){return e===t?!0:e==null||t==null||!P(e)&&!P(t)?e!==e&&t!==t:Ko(e,t,r,n,Ce,i)}var Wo=1,zo=2;function Zo(e,t,r,n){var i=r.length,a=i,o=!n;if(e==null)return!a;for(e=Object(e);i--;){var s=r[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=r[i];var f=s[0],g=e[f],u=s[1];if(o&&s[2]){if(g===void 0&&!(f in e))return!1}else{var l=new O;if(n)var c=n(g,u,f,e,t,l);if(!(c===void 0?Ce(u,g,Wo|zo,n,l):c))return!1}}return!0}function Mt(e){return e===e&&!S(e)}function qo(e){for(var t=W(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Mt(i)]}return t}function Lt(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function Xo(e){var t=qo(e);return t.length==1&&t[0][2]?Lt(t[0][0],t[0][1]):function(r){return r===e||Zo(r,e,t)}}function Yo(e,t){return e!=null&&t in Object(e)}function Jo(e,t,r){t=ke(t,e);for(var n=-1,i=t.length,a=!1;++n<i;){var o=te(t[n]);if(!(a=e!=null&&r(e,o)))break;e=e[o]}return a||++n!=i?a:(i=e==null?0:e.length,!!i&&de(i)&&pe(o,i)&&(A(e)||V(e)))}function Qo(e,t){return e!=null&&Jo(e,t,Yo)}var Vo=1,ko=2;function es(e,t){return _e(e)&&Mt(t)?Lt(te(e),t):function(r){var n=Ai(r,e);return n===void 0&&n===t?Qo(r,e):Ce(t,n,Vo|ko)}}function ts(e){return function(t){return t==null?void 0:t[e]}}function rs(e){return function(t){return et(t,e)}}function ns(e){return _e(e)?ts(te(e)):rs(e)}function is(e){return typeof e=="function"?e:e==null?ue:typeof e=="object"?A(e)?es(e[0],e[1]):Xo(e):ns(e)}function as(e){return function(t,r,n){for(var i=-1,a=Object(t),o=n(t),s=o.length;s--;){var f=o[e?s:++i];if(r(a[f],f,a)===!1)break}return t}}var os=as();const Ft=os;function ss(e,t){return e&&Ft(e,t,W)}function Ie(e,t,r){(r!==void 0&&!B(e[t],r)||r===void 0&&!(t in e))&&J(e,t,r)}function fs(e){return P(e)&&Q(e)}function je(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function us(e){return x(e,D(e))}function cs(e,t,r,n,i,a,o){var s=je(e,r),f=je(t,r),g=o.get(f);if(g){Ie(e,r,g);return}var u=a?a(s,f,r+"",e,t,o):void 0,l=u===void 0;if(l){var c=A(f),y=!c&&H(f),v=!c&&!y&&ve(f);u=f,c||y||v?A(s)?u=s:fs(s)?u=Ue(s):y?(l=!1,u=ft(f,!0)):v?(l=!1,u=Tt(f,!0)):u=[]:nt(f)||V(f)?(u=s,V(s)?u=us(s):(!S(s)||ce(s))&&(u=$t(f))):l=!1}l&&(o.set(f,u),i(u,f,n,a,o),o.delete(f)),Ie(e,r,u)}function xt(e,t,r,n,i){e!==t&&Ft(t,function(a,o){if(i||(i=new O),S(a))cs(e,t,o,r,xt,n,i);else{var s=n?n(je(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),Ie(e,o,s)}},D)}var ls=Ke(function(e,t,r,n){xt(e,t,r,n)});const gs=ls;function ps(e,t){var r={};return t=is(t),ss(e,function(n,i,a){J(r,t(n,i,a),n)}),r}var oe=function(){return oe=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},oe.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;function ds(e){return e.toLowerCase()}var hs=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],ys=/[^A-Z0-9]+/gi;function bs(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,n=r===void 0?hs:r,i=t.stripRegexp,a=i===void 0?ys:i,o=t.transform,s=o===void 0?ds:o,f=t.delimiter,g=f===void 0?" ":f,u=Rt(Rt(e,n,"$1\0$2"),a,"\0"),l=0,c=u.length;u.charAt(l)==="\0";)l++;for(;u.charAt(c-1)==="\0";)c--;return u.slice(l,c).split("\0").map(s).join(g)}function Rt(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(n,i){return n.replace(i,r)},e)}function Dt(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function vs(e,t){return t===void 0&&(t={}),bs(e,oe({delimiter:"",transform:Dt},t))}function _s(e,t){return t===0?e.toLowerCase():Dt(e,t)}function Ts(e,t){return t===void 0&&(t={}),vs(e,oe({transform:_s},t))}function $s(e,t){const r=Object.create(null),n=e.split(",");for(let i=0;i<n.length;i++)r[n[i]]=!0;return t?i=>!!r[i.toLowerCase()]:i=>!!r[i]}const As=$s("String,Number,Boolean,Function,Symbol,BigInt");function Os(e){const t=e==null?void 0:e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ms(e,t){let r;const n=Os(t);if(As(n)){const i=typeof e;r=i===n.toLowerCase(),!r&&i==="object"&&(r=e instanceof t)}else n==="Object"?r=S(e):n==="Array"?r=Array.isArray(e):n==="null"?r=e===null:r=e instanceof t;return{valid:r,expectedType:n}}function ws({prop:e,type:t,validator:r}){if(![void 0,null].includes(e)&&t){let n=!1;const i=Array.isArray(t)?t:[t],a=[];for(let o=0;o<i.length&&!n;o++){const{valid:s,expectedType:f}=ms(e,i[o]);a.push(f||""),n=s}if(!n)throw new Error(`Invalid prop: type check failed, expecting [${a.join(", ")}], receiving: ${e}`)}if(r&&!r(e))throw new Error(`Invalid prop: validator check failed, receiving: ${e}`)}function Ps(e,{mergeObject:t,mergeFunction:r}){const n=[];for(let a=e.length-1;a>=0;a--)n.push(e[a]);const i=r?(a,o)=>typeof a=="function"&&typeof o=="function"?r(o,a):void 0:void 0;return t==="deep"?gs(...n,i):Nn(...n,i)}function Ss(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function Nt(e,t={}){const{type:r,default:n,defaultIsDynamic:i=!1,required:a=!1,validator:o,camelizeObjectKeys:s=!1,mergeObjectApplyOnlyToDefault:f=!1,mergeFunctionApplyOnlyToDefault:g=!0}=t;let{mergeObject:u="deep",mergeFunction:l=!1}=t;const c=[];let y,v=!1,T=!1;const _=p=>{if(p!==void 0){ws({type:r,prop:p,validator:o});const $=nt(p),se=typeof p=="function";return v=$,T=se,$?(p=go(p),s?ps(p,(X,N)=>Ts(N,{stripRegexp:/-/g})):p):p}};for(const p of e)c.push(_(p));if(!i)c.push(_(n));else if(typeof n!="function")throw new TypeError(`Invalid option: config.default should be Function when config.defaultIsDynamic enabled, receiving: ${n}`);v||(u=!1,T||(l=!1));for(let p=0;p<c.length;p++){const $=c[p];if($!==void 0){p===c.length-1?y=$:u?y=Ps(f?[$,n]:c,{mergeObject:u,mergeFunction:l}):l?y=Ss(g?[$,n]:c,{mergeFunction:l}):y=$;break}}if(a&&[void 0,null].includes(y))throw new Error("Missing required prop");return i?Nt(e,{...t,default:n(y),defaultIsDynamic:!1}):y}function Es(e,t){return Object.keys(e).filter(r=>t(r)).reduce((r,n)=>(r[n]=e[n],r),{})}function Cs(e){return Es(e,t=>!t.startsWith("hook:"))}function Is(e){if(Object.getOwnPropertyNames(e||{}).length){const t=this.$emit;this.$emit=function(...r){var a;t.apply(this,r);const[n,...i]=r;(a=e[n])==null||a.apply(this,i)}}}function Gt(e){const t=Array.from(e);return t[0]=t[0].toUpperCase(),t.unshift("n"),t.unshift("o"),t.join("")}function js(e,t=[]){const r={props:{},attrs:{},listeners:{},hooks:{},slots:{}},n=Array.isArray(t)?t:Object.keys(t);for(const i in e)if(i.startsWith("@")){const a=i.substring(1);G.isVue3?a.startsWith("vnode")?r.hooks[Gt(a)]=e[i]:r.listeners[Gt(a)]=e[i]:a.startsWith("hook:")?r.hooks[a]=e[i]:r.listeners[a]=e[i]}else if(i.startsWith("#")){const a=i.substring(1);a&&(r.slots[a]=e[i])}else n.includes(i)?r.props[i]=e[i]:r.attrs[i]=e[i];return r}b.conclude=Nt,b.getLocalListeners=Cs,b.listenGlobalHooks=Is,b.resolveConfig=js,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})}); | ||
//# sourceMappingURL=vue-global-config.umd.js.map |
103
package.json
{ | ||
"name": "vue-global-config", | ||
"PascalCasedName": "VueGlobalConfig", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"private": false, | ||
"packageManager": "pnpm@7.25.0", | ||
"description": "Configure your Vue 2.6/2.7/3 components globally.", | ||
"author": "cloydlau", | ||
"author": "Cloyd Lau", | ||
"license": "MIT", | ||
"repository": "https://github.com/cloydlau/vue-global-config", | ||
"keywords": [ | ||
"vue", | ||
"vue-demi", | ||
"global config", | ||
"global registration", | ||
"global configuration", | ||
"global option", | ||
"global options", | ||
"vue-demi", | ||
"vue", | ||
"component", | ||
"sfc" | ||
"global slot", | ||
"global slots" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/vue-global-config.umd.js", | ||
"import": "./dist/vue-global-config.mjs" | ||
"types": "./dist/vue-global-config.d.ts", | ||
"import": "./dist/vue-global-config.mjs", | ||
"require": "./dist/vue-global-config.umd.js" | ||
}, | ||
@@ -33,3 +32,3 @@ "./*": "./*" | ||
"jsdelivr": "./dist/vue-global-config.umd.js", | ||
"types": "./dist/index.d.ts", | ||
"types": "./dist/vue-global-config.d.ts", | ||
"files": [ | ||
@@ -40,10 +39,10 @@ "dist", | ||
"scripts": { | ||
"dev3": "cl switchVue 3 && vite --config ./demo/vue3/vite.config.ts --open", | ||
"dev2.7": "cl switchVue 2.7 && vite --config ./demo/vue2.7/vite.config.ts --open", | ||
"dev2.6": "cl switchVue 2.6 && vite --config ./demo/vue2.6/vite.config.ts --open", | ||
"dev": "esno ./scripts/dev.mts", | ||
"doc": "vitepress dev --open /README", | ||
"test-unit": "vitest run", | ||
"build": "vite build", | ||
"test": "vitest", | ||
"coverage": "vitest run --coverage", | ||
"release": "npx case-police --fix && npx lint-staged && vitest run && pnpm build && cl release" | ||
"serve": "vite preview", | ||
"release": "esno ./scripts/release.mts", | ||
"preinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx only-allow pnpm", | ||
"postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx simple-git-hooks" | ||
}, | ||
@@ -60,38 +59,44 @@ "peerDependencies": { | ||
"dependencies": { | ||
"change-case": "^4.1.2", | ||
"lodash-es": "^4.17.21", | ||
"vue-demi": "^0.13.11" | ||
"vue-demi": "latest" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^0.34.1", | ||
"@commitlint/cli": "^17.4.2", | ||
"@commitlint/config-conventional": "^17.4.2", | ||
"@types/lodash-es": "^4.17.6", | ||
"@types/node": "^18.11.18", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vitest/coverage-c8": "^0.25.8", | ||
"@vue/compiler-sfc": "^3.2.45", | ||
"@vue/test-utils": "^2.2.7", | ||
"case-police": "^0.5.10", | ||
"element-plus": "^2.2.28", | ||
"eslint": "^8.32.0", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.1.0", | ||
"typescript": "^4.9.4", | ||
"unplugin-auto-import": "^0.12.1", | ||
"vite": "^4.0.4", | ||
"vite-plugin-dts": "^1.7.1", | ||
"vitepress": "1.0.0-alpha.36", | ||
"vitest": "^0.25.8", | ||
"vue": "^3.2.45", | ||
"vue-global-config": "^0.3.1" | ||
"@antfu/eslint-config": "0.42.1", | ||
"@commitlint/cli": "latest", | ||
"@commitlint/config-conventional": "latest", | ||
"@types/lodash-es": "latest", | ||
"@types/node": "latest", | ||
"@vitejs/plugin-vue2": "latest", | ||
"@vue/test-utils": "legacy", | ||
"case-police": "latest", | ||
"change-case": "latest", | ||
"cross-spawn": "latest", | ||
"element-ui": "latest", | ||
"eslint": "latest", | ||
"esno": "latest", | ||
"kolorist": "latest", | ||
"lint-staged": "latest", | ||
"lodash-es": "latest", | ||
"magicast": "latest", | ||
"prompts": "latest", | ||
"semver": "latest", | ||
"simple-git-hooks": "latest", | ||
"typescript": "latest", | ||
"unplugin-auto-import": "latest", | ||
"unplugin-vue-components": "latest", | ||
"vite": "latest", | ||
"vite-plugin-dts": "latest", | ||
"vitepress": "latest", | ||
"vitest": "latest", | ||
"vue": "~2.7.14", | ||
"vue-global-config": "workspace:*", | ||
"vue-template-compiler": "~2.7.14" | ||
}, | ||
"simple-git-hooks": { | ||
"pre-commit": "pnpm exec lint-staged --concurrent false", | ||
"commit-msg": "npx --no -- commitlint --edit ${1}" | ||
}, | ||
"lint-staged": { | ||
"{src,__tests__}/**.*": [ | ||
"eslint --fix" | ||
] | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
"*.md": "case-police --fix", | ||
"*": "eslint --cache --fix" | ||
} | ||
} |
<h1 align="center"> | ||
<a href="https://npmjs.com/package/vue-global-config" target="_blank" rel="noopener noreferrer"> | ||
Vue Global Config <sup><img alt="version" src="https://versionbadg.es/cloydlau/vue-global-config.svg"></sup> | ||
Vue Global Config <sup><img alt="version" src="https://img.shields.io/npm/v/vue-global-config.svg?style=flat-square&color=white&label="></sup> | ||
</a> | ||
@@ -9,2 +9,6 @@ </h1> | ||
Configure your Vue 2.6/2.7/3 components globally! | ||
<br> | ||
<b>Global Props + Attrs + Listeners + Hooks + Slots.</b> | ||
<br> | ||
<a href="https://juejin.cn/post/7189930273528774714">Blog: How to implement global Slots in Vue?</a> | ||
</p> | ||
@@ -14,4 +18,4 @@ | ||
<a href="https://bundlephobia.com/package/vue-global-config"><img alt="minzipped size" src="https://img.shields.io/bundlephobia/minzip/vue-global-config"></a> | ||
<a href="https://eslint.org"><img alt="code style" src="https://img.shields.io/badge/code_style-ESLint-4B32C3.svg?logo=eslint"></a> | ||
<a href="https://conventionalcommits.org"><img alt="conventional commits" src="https://img.shields.io/badge/commits-Conventional-FE5196.svg?logo=conventionalcommits&logoColor=white"></a> | ||
<a href="https://conventionalcommits.org"><img alt="conventional commits" src="https://img.shields.io/badge/commits-Conventional-FE5196.svg?logo=conventionalcommits"></a> | ||
<a href="https://github.com/antfu/eslint-config"><img alt="code style" src="https://antfu.me/badge-code-style.svg"></a> | ||
<a href="https://github.com/cloydlau/vue-global-config#develop"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"></a> | ||
@@ -28,2 +32,3 @@ </p> | ||
'title': 'Global Title', | ||
// Global Attr | ||
@@ -34,2 +39,3 @@ 'data': [ | ||
], | ||
// Global Listener | ||
@@ -39,2 +45,3 @@ '@leftCheckChange': function () { | ||
}, | ||
// Global Hook | ||
@@ -44,4 +51,6 @@ '@vnodeMounted': function () { | ||
}, | ||
// Global Slot | ||
'#left-footer': () => h('Fragment', undefined, 'Global Slot'), | ||
// Global Scoped Slot | ||
@@ -58,2 +67,3 @@ '#default': ({ option }) => h('Fragment', undefined, `${option.label} (From Global Scoped Slot)`), | ||
'title': 'Global Title', | ||
// Global Attr | ||
@@ -64,2 +74,3 @@ 'data': [ | ||
], | ||
// Global Listener | ||
@@ -69,2 +80,3 @@ '@left-check-change': function () { | ||
}, | ||
// Global Hook | ||
@@ -74,4 +86,6 @@ '@hook:mounted': function () { | ||
}, | ||
// Global Slot | ||
'#left-footer': () => ({ render: h => h('span', undefined, 'Global Slot') }), | ||
// Global Scoped Slot | ||
@@ -118,4 +132,3 @@ '#default': ({ option }) => ({ render: h => h('span', undefined, `${option.label} (From Global Scoped Slot)`) }), | ||
- Vue 2 | ||
- Render function (`h`) | ||
- Component definition (`{ render: h => h() }` / `{ template: '...' }`) | ||
- Component definition (`{ render: h => h() }` / `{ template: '...' }` / `Vue.compile('<span>...</span>')`) | ||
- Component constructor (`Vue.extend()`) | ||
@@ -132,2 +145,7 @@ - Locally or globally registered component name | ||
### Peer Dependencies | ||
- vue | ||
- ~~@vue/composition-api~~: Only for Vue 2.6 or earlier | ||
### NPM | ||
@@ -139,4 +157,2 @@ | ||
> ⚠ `@vue/composition-api` is required in Vue 2.6 or Earlier | ||
### CDN + ESM | ||
@@ -148,5 +164,5 @@ | ||
"imports": { | ||
"vue": "https://unpkg.com/vue/dist/vue.esm-browser.prod.js", | ||
"vue-demi": "https://unpkg.com/vue-demi/lib/v3/index.mjs", | ||
"vue-global-config": "https://unpkg.com/vue-global-config/dist/vue-global-config.mjs" | ||
"vue": "https://cdn.jsdelivr.net/npm/vue/dist/vue.esm-browser.prod.js", | ||
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi/lib/v3/index.mjs", | ||
"vue-global-config": "https://cdn.jsdelivr.net/npm/vue-global-config/dist/vue-global-config.mjs" | ||
} | ||
@@ -160,6 +176,6 @@ } | ||
### CDN + UMD | ||
### CDN + IIFE | ||
```html | ||
<script src="https://unpkg.com/vue-global-config@0.4"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/vue-global-config@0.4"></script> | ||
<script> | ||
@@ -254,7 +270,7 @@ const { conclude, getLocalListeners, listenGlobalHooks, resolveConfig } = VueGlobalConfig | ||
* @param {boolean} [config.required = false] - Requirement checking | ||
* @param {function} [config.validator] - Custom validator | ||
* @param {Function} [config.validator] - Custom validator | ||
* @param {string} [config.camelizeObjectKeys = false] - Whether or not to camelize object keys | ||
* @param {false|string} [config.mergeObject = 'deep'] - The way to merge objects | ||
* @param {boolean} [config.mergeObjectApplyOnlyToDefault = false] - `mergeObject` only works on `default` | ||
* @param {false|((accumulator, currentValue, index?, array?) => Function)} [config.mergeFunction = false] - The way to fuse functions | ||
* @param {false|((accumulator, currentValue, index?, array?) => )} [config.mergeFunction = false] - The way to fuse functions | ||
* @param {boolean} [config.mergeFunctionApplyOnlyToDefault = true] - `mergeFunction` only works on `default` | ||
@@ -266,3 +282,3 @@ * @returns {any} Final prop | ||
```ts | ||
// 示例 | ||
// Example | ||
@@ -484,10 +500,1 @@ import { conclude } from 'vue-global-config' | ||
<br> | ||
## Develop | ||
1. [Install Deno](https://deno.land/manual/getting_started/installation) | ||
2. Run `npm i -g @cloydlau/scripts` | ||
3. Run `cl i` and choose pnpm | ||
4. Run `cl dev3` / `cl dev2.7` / `cl dev2.6` | ||
<br> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 2 instances in 1 package
547408
3
483
30
8
1438
2
+ Addedvue-demi@0.14.10(transitive)
- Removedchange-case@^4.1.2
- Removedlodash-es@^4.17.21
- Removedcamel-case@4.1.2(transitive)
- Removedcapital-case@1.0.4(transitive)
- Removedchange-case@4.1.2(transitive)
- Removedconstant-case@3.0.4(transitive)
- Removeddot-case@3.0.4(transitive)
- Removedheader-case@2.0.4(transitive)
- Removedlodash-es@4.17.21(transitive)
- Removedlower-case@2.0.2(transitive)
- Removedno-case@3.0.4(transitive)
- Removedparam-case@3.0.4(transitive)
- Removedpascal-case@3.1.2(transitive)
- Removedpath-case@3.0.4(transitive)
- Removedsentence-case@3.0.4(transitive)
- Removedsnake-case@3.0.4(transitive)
- Removedtslib@2.8.1(transitive)
- Removedupper-case@2.0.2(transitive)
- Removedupper-case-first@2.0.2(transitive)
- Removedvue-demi@0.13.11(transitive)
Updatedvue-demi@latest