UNPKG

vue-global-config

Version:

Configure your Vue 2/3 components globally.

3 lines (2 loc) 27.3 kB
(function(v,G){typeof exports=="object"&&typeof module<"u"?G(exports,require("vue-demi")):typeof define=="function"&&define.amd?define(["exports","vue-demi"],G):(v=typeof globalThis<"u"?globalThis:v||self,G(v.VueGlobalConfig={},v.VueDemi))})(this,function(v,G){"use strict";var Ce=typeof global=="object"&&global&&global.Object===Object&&global,Ut=typeof self=="object"&&self&&self.Object===Object&&self,P=Ce||Ut||Function("return this")(),S=P.Symbol,Le=Object.prototype,Gt=Le.hasOwnProperty,Bt=Le.toString,B=S?S.toStringTag:void 0;function Ht(e){var t=Gt.call(e,B),r=e[B];try{e[B]=void 0;var n=!0}catch{}var a=Bt.call(e);return n&&(t?e[B]=r:delete e[B]),a}var zt=Object.prototype,Kt=zt.toString;function Wt(e){return Kt.call(e)}var Xt="[object Null]",qt="[object Undefined]",xe=S?S.toStringTag:void 0;function L(e){return e==null?e===void 0?qt:Xt:xe&&xe in Object(e)?Ht(e):Wt(e)}function E(e){return e!=null&&typeof e=="object"}var Yt="[object Symbol]";function fe(e){return typeof e=="symbol"||E(e)&&L(e)==Yt}function Zt(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var O=Array.isArray,Jt=1/0,Me=S?S.prototype:void 0,Re=Me?Me.toString:void 0;function Fe(e){if(typeof e=="string")return e;if(O(e))return Zt(e,Fe)+"";if(fe(e))return Re?Re.call(e):"";var t=e+"";return t=="0"&&1/e==-Jt?"-0":t}function j(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function se(e){return e}var Qt="[object AsyncFunction]",Vt="[object Function]",kt="[object GeneratorFunction]",er="[object Proxy]";function ue(e){if(!j(e))return!1;var t=L(e);return t==Vt||t==kt||t==Qt||t==er}var ce=P["__core-js_shared__"],De=function(){var e=/[^.]+$/.exec(ce&&ce.keys&&ce.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tr(e){return!!De&&De in e}var rr=Function.prototype,nr=rr.toString;function x(e){if(e!=null){try{return nr.call(e)}catch{}try{return e+""}catch{}}return""}var ir=/[\\^$.*+?()[\]{}|]/g,ar=/^\[object .+?Constructor\]$/,or=Function.prototype,fr=Object.prototype,sr=or.toString,ur=fr.hasOwnProperty,cr=RegExp("^"+sr.call(ur).replace(ir,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lr(e){if(!j(e)||tr(e))return!1;var t=ue(e)?cr:ar;return t.test(x(e))}function pr(e,t){return e==null?void 0:e[t]}function M(e,t){var r=pr(e,t);return lr(r)?r:void 0}var le=M(P,"WeakMap"),Ne=Object.create,dr=function(){function e(){}return function(t){if(!j(t))return{};if(Ne)return Ne(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function gr(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 hr=800,yr=16,br=Date.now;function vr(e){var t=0,r=0;return function(){var n=br(),a=yr-(n-r);if(r=n,a>0){if(++t>=hr)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function _r(e){return function(){return e}}var J=function(){try{var e=M(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Tr=J?function(e,t){return J(e,"toString",{configurable:!0,enumerable:!1,value:_r(t),writable:!0})}:se,Ar=vr(Tr);function Or(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var $r=9007199254740991,wr=/^(?:0|[1-9]\d*)$/;function pe(e,t){var r=typeof e;return t=t??$r,!!t&&(r=="number"||r!="symbol"&&wr.test(e))&&e>-1&&e%1==0&&e<t}function Q(e,t,r){t=="__proto__"&&J?J(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function H(e,t){return e===t||e!==e&&t!==t}var mr=Object.prototype,Pr=mr.hasOwnProperty;function Ge(e,t,r){var n=e[t];(!(Pr.call(e,t)&&H(n,r))||r===void 0&&!(t in e))&&Q(e,t,r)}function F(e,t,r,n){var a=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var f=t[i],s=n?n(r[f],e[f],f,r,e):void 0;s===void 0&&(s=e[f]),a?Q(r,f,s):Ge(r,f,s)}return r}var Be=Math.max;function Sr(e,t,r){return t=Be(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=Be(n.length-t,0),o=Array(i);++a<i;)o[a]=n[t+a];a=-1;for(var f=Array(t+1);++a<t;)f[a]=n[a];return f[t]=r(o),gr(e,this,f)}}function Er(e,t){return Ar(Sr(e,t,se),e+"")}var jr=9007199254740991;function de(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jr}function V(e){return e!=null&&de(e.length)&&!ue(e)}function Ir(e,t,r){if(!j(r))return!1;var n=typeof t;return(n=="number"?V(r)&&pe(t,r.length):n=="string"&&t in r)?H(r[t],e):!1}function He(e){return Er(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,o=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,o&&Ir(r[0],r[1],o)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var f=r[n];f&&e(t,f,n,i)}return t})}var Cr=Object.prototype;function ge(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Cr;return e===r}function Lr(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var xr="[object Arguments]";function ze(e){return E(e)&&L(e)==xr}var Ke=Object.prototype,Mr=Ke.hasOwnProperty,Rr=Ke.propertyIsEnumerable,k=ze(function(){return arguments}())?ze:function(e){return E(e)&&Mr.call(e,"callee")&&!Rr.call(e,"callee")};function Fr(){return!1}var We=typeof v=="object"&&v&&!v.nodeType&&v,Xe=We&&typeof module=="object"&&module&&!module.nodeType&&module,Dr=Xe&&Xe.exports===We,qe=Dr?P.Buffer:void 0,Nr=qe?qe.isBuffer:void 0,z=Nr||Fr,Ur="[object Arguments]",Gr="[object Array]",Br="[object Boolean]",Hr="[object Date]",zr="[object Error]",Kr="[object Function]",Wr="[object Map]",Xr="[object Number]",qr="[object Object]",Yr="[object RegExp]",Zr="[object Set]",Jr="[object String]",Qr="[object WeakMap]",Vr="[object ArrayBuffer]",kr="[object DataView]",en="[object Float32Array]",tn="[object Float64Array]",rn="[object Int8Array]",nn="[object Int16Array]",an="[object Int32Array]",on="[object Uint8Array]",fn="[object Uint8ClampedArray]",sn="[object Uint16Array]",un="[object Uint32Array]",g={};g[en]=g[tn]=g[rn]=g[nn]=g[an]=g[on]=g[fn]=g[sn]=g[un]=!0,g[Ur]=g[Gr]=g[Vr]=g[Br]=g[kr]=g[Hr]=g[zr]=g[Kr]=g[Wr]=g[Xr]=g[qr]=g[Yr]=g[Zr]=g[Jr]=g[Qr]=!1;function cn(e){return E(e)&&de(e.length)&&!!g[L(e)]}function he(e){return function(t){return e(t)}}var Ye=typeof v=="object"&&v&&!v.nodeType&&v,K=Ye&&typeof module=="object"&&module&&!module.nodeType&&module,ln=K&&K.exports===Ye,ye=ln&&Ce.process,D=function(){try{var e=K&&K.require&&K.require("util").types;return e||ye&&ye.binding&&ye.binding("util")}catch{}}(),Ze=D&&D.isTypedArray,be=Ze?he(Ze):cn,pn=Object.prototype,dn=pn.hasOwnProperty;function Je(e,t){var r=O(e),n=!r&&k(e),a=!r&&!n&&z(e),i=!r&&!n&&!a&&be(e),o=r||n||a||i,f=o?Lr(e.length,String):[],s=f.length;for(var u in e)(t||dn.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||pe(u,s)))&&f.push(u);return f}function Qe(e,t){return function(r){return e(t(r))}}var gn=Qe(Object.keys,Object),hn=Object.prototype,yn=hn.hasOwnProperty;function bn(e){if(!ge(e))return gn(e);var t=[];for(var r in Object(e))yn.call(e,r)&&r!="constructor"&&t.push(r);return t}function W(e){return V(e)?Je(e):bn(e)}function vn(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var _n=Object.prototype,Tn=_n.hasOwnProperty;function An(e){if(!j(e))return vn(e);var t=ge(e),r=[];for(var n in e)n=="constructor"&&(t||!Tn.call(e,n))||r.push(n);return r}function N(e){return V(e)?Je(e,!0):An(e)}var On=He(function(e,t,r,n){F(t,N(t),e,n)}),$n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wn=/^\w*$/;function ve(e,t){if(O(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||fe(e)?!0:wn.test(e)||!$n.test(e)||t!=null&&e in Object(t)}var X=M(Object,"create");function mn(){this.__data__=X?X(null):{},this.size=0}function Pn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Sn="__lodash_hash_undefined__",En=Object.prototype,jn=En.hasOwnProperty;function In(e){var t=this.__data__;if(X){var r=t[e];return r===Sn?void 0:r}return jn.call(t,e)?t[e]:void 0}var Cn=Object.prototype,Ln=Cn.hasOwnProperty;function xn(e){var t=this.__data__;return X?t[e]!==void 0:Ln.call(t,e)}var Mn="__lodash_hash_undefined__";function Rn(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=X&&t===void 0?Mn:t,this}function R(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])}}R.prototype.clear=mn,R.prototype.delete=Pn,R.prototype.get=In,R.prototype.has=xn,R.prototype.set=Rn;function Fn(){this.__data__=[],this.size=0}function ee(e,t){for(var r=e.length;r--;)if(H(e[r][0],t))return r;return-1}var Dn=Array.prototype,Nn=Dn.splice;function Un(e){var t=this.__data__,r=ee(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Nn.call(t,r,1),--this.size,!0}function Gn(e){var t=this.__data__,r=ee(t,e);return r<0?void 0:t[r][1]}function Bn(e){return ee(this.__data__,e)>-1}function Hn(e,t){var r=this.__data__,n=ee(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function I(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])}}I.prototype.clear=Fn,I.prototype.delete=Un,I.prototype.get=Gn,I.prototype.has=Bn,I.prototype.set=Hn;var q=M(P,"Map");function zn(){this.size=0,this.__data__={hash:new R,map:new(q||I),string:new R}}function Kn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function te(e,t){var r=e.__data__;return Kn(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Wn(e){var t=te(this,e).delete(e);return this.size-=t?1:0,t}function Xn(e){return te(this,e).get(e)}function qn(e){return te(this,e).has(e)}function Yn(e,t){var r=te(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=zn,C.prototype.delete=Wn,C.prototype.get=Xn,C.prototype.has=qn,C.prototype.set=Yn;var Zn="Expected a function";function _e(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Zn);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(_e.Cache||C),r}_e.Cache=C;var Jn=500;function Qn(e){var t=_e(e,function(n){return r.size===Jn&&r.clear(),n}),r=t.cache;return t}var Vn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kn=/\\(\\)?/g,ei=Qn(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Vn,function(r,n,a,i){t.push(a?i.replace(kn,"$1"):n||r)}),t});function ti(e){return e==null?"":Fe(e)}function Ve(e,t){return O(e)?e:ve(e,t)?[e]:ei(ti(e))}var ri=1/0;function re(e){if(typeof e=="string"||fe(e))return e;var t=e+"";return t=="0"&&1/e==-ri?"-0":t}function ke(e,t){t=Ve(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[re(t[r++])];return r&&r==n?e:void 0}function ni(e,t,r){var n=e==null?void 0:ke(e,t);return n===void 0?r:n}function et(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var Te=Qe(Object.getPrototypeOf,Object),ii="[object Object]",ai=Function.prototype,oi=Object.prototype,tt=ai.toString,fi=oi.hasOwnProperty,si=tt.call(Object);function ui(e){if(!E(e)||L(e)!=ii)return!1;var t=Te(e);if(t===null)return!0;var r=fi.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&tt.call(r)==si}function ci(){this.__data__=new I,this.size=0}function li(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function pi(e){return this.__data__.get(e)}function di(e){return this.__data__.has(e)}var gi=200;function hi(e,t){var r=this.__data__;if(r instanceof I){var n=r.__data__;if(!q||n.length<gi-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 $(e){var t=this.__data__=new I(e);this.size=t.size}$.prototype.clear=ci,$.prototype.delete=li,$.prototype.get=pi,$.prototype.has=di,$.prototype.set=hi;function yi(e,t){return e&&F(t,W(t),e)}function bi(e,t){return e&&F(t,N(t),e)}var rt=typeof v=="object"&&v&&!v.nodeType&&v,nt=rt&&typeof module=="object"&&module&&!module.nodeType&&module,vi=nt&&nt.exports===rt,it=vi?P.Buffer:void 0,at=it?it.allocUnsafe:void 0;function ot(e,t){if(t)return e.slice();var r=e.length,n=at?at(r):new e.constructor(r);return e.copy(n),n}function _i(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[a++]=o)}return i}function ft(){return[]}var Ti=Object.prototype,Ai=Ti.propertyIsEnumerable,st=Object.getOwnPropertySymbols,Ae=st?function(e){return e==null?[]:(e=Object(e),_i(st(e),function(t){return Ai.call(e,t)}))}:ft;function Oi(e,t){return F(e,Ae(e),t)}var $i=Object.getOwnPropertySymbols,ut=$i?function(e){for(var t=[];e;)et(t,Ae(e)),e=Te(e);return t}:ft;function wi(e,t){return F(e,ut(e),t)}function ct(e,t,r){var n=t(e);return O(e)?n:et(n,r(e))}function Oe(e){return ct(e,W,Ae)}function mi(e){return ct(e,N,ut)}var $e=M(P,"DataView"),we=M(P,"Promise"),me=M(P,"Set"),lt="[object Map]",Pi="[object Object]",pt="[object Promise]",dt="[object Set]",gt="[object WeakMap]",ht="[object DataView]",Si=x($e),Ei=x(q),ji=x(we),Ii=x(me),Ci=x(le),w=L;($e&&w(new $e(new ArrayBuffer(1)))!=ht||q&&w(new q)!=lt||we&&w(we.resolve())!=pt||me&&w(new me)!=dt||le&&w(new le)!=gt)&&(w=function(e){var t=L(e),r=t==Pi?e.constructor:void 0,n=r?x(r):"";if(n)switch(n){case Si:return ht;case Ei:return lt;case ji:return pt;case Ii:return dt;case Ci:return gt}return t});var Li=Object.prototype,xi=Li.hasOwnProperty;function Mi(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&xi.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var ne=P.Uint8Array;function Pe(e){var t=new e.constructor(e.byteLength);return new ne(t).set(new ne(e)),t}function Ri(e,t){var r=t?Pe(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var Fi=/\w*$/;function Di(e){var t=new e.constructor(e.source,Fi.exec(e));return t.lastIndex=e.lastIndex,t}var yt=S?S.prototype:void 0,bt=yt?yt.valueOf:void 0;function Ni(e){return bt?Object(bt.call(e)):{}}function vt(e,t){var r=t?Pe(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Ui="[object Boolean]",Gi="[object Date]",Bi="[object Map]",Hi="[object Number]",zi="[object RegExp]",Ki="[object Set]",Wi="[object String]",Xi="[object Symbol]",qi="[object ArrayBuffer]",Yi="[object DataView]",Zi="[object Float32Array]",Ji="[object Float64Array]",Qi="[object Int8Array]",Vi="[object Int16Array]",ki="[object Int32Array]",ea="[object Uint8Array]",ta="[object Uint8ClampedArray]",ra="[object Uint16Array]",na="[object Uint32Array]";function ia(e,t,r){var n=e.constructor;switch(t){case qi:return Pe(e);case Ui:case Gi:return new n(+e);case Yi:return Ri(e,r);case Zi:case Ji:case Qi:case Vi:case ki:case ea:case ta:case ra:case na:return vt(e,r);case Bi:return new n;case Hi:case Wi:return new n(e);case zi:return Di(e);case Ki:return new n;case Xi:return Ni(e)}}function _t(e){return typeof e.constructor=="function"&&!ge(e)?dr(Te(e)):{}}var aa="[object Map]";function oa(e){return E(e)&&w(e)==aa}var Tt=D&&D.isMap,fa=Tt?he(Tt):oa,sa="[object Set]";function ua(e){return E(e)&&w(e)==sa}var At=D&&D.isSet,ca=At?he(At):ua,la=1,pa=2,da=4,Ot="[object Arguments]",ga="[object Array]",ha="[object Boolean]",ya="[object Date]",ba="[object Error]",$t="[object Function]",va="[object GeneratorFunction]",_a="[object Map]",Ta="[object Number]",wt="[object Object]",Aa="[object RegExp]",Oa="[object Set]",$a="[object String]",wa="[object Symbol]",ma="[object WeakMap]",Pa="[object ArrayBuffer]",Sa="[object DataView]",Ea="[object Float32Array]",ja="[object Float64Array]",Ia="[object Int8Array]",Ca="[object Int16Array]",La="[object Int32Array]",xa="[object Uint8Array]",Ma="[object Uint8ClampedArray]",Ra="[object Uint16Array]",Fa="[object Uint32Array]",d={};d[Ot]=d[ga]=d[Pa]=d[Sa]=d[ha]=d[ya]=d[Ea]=d[ja]=d[Ia]=d[Ca]=d[La]=d[_a]=d[Ta]=d[wt]=d[Aa]=d[Oa]=d[$a]=d[wa]=d[xa]=d[Ma]=d[Ra]=d[Fa]=!0,d[ba]=d[$t]=d[ma]=!1;function ie(e,t,r,n,a,i){var o,f=t&la,s=t&pa,u=t&da;if(o!==void 0)return o;if(!j(e))return e;var c=O(e);if(c){if(o=Mi(e),!f)return Ue(e,o)}else{var l=w(e),p=l==$t||l==va;if(z(e))return ot(e,f);if(l==wt||l==Ot||p&&!a){if(o=s||p?{}:_t(e),!f)return s?wi(e,bi(o,e)):Oi(e,yi(o,e))}else{if(!d[l])return a?e:{};o=ia(e,l,f)}}i||(i=new $);var y=i.get(e);if(y)return y;i.set(e,o),ca(e)?e.forEach(function(_){o.add(ie(_,t,r,_,e,i))}):fa(e)&&e.forEach(function(_,T){o.set(T,ie(_,t,r,T,e,i))});var h=u?s?mi:Oe:s?N:W,A=c?void 0:h(e);return Or(A||e,function(_,T){A&&(T=_,_=e[T]),Ge(o,T,ie(_,t,r,T,e,i))}),o}var Da=1,Na=4;function Ua(e){return ie(e,Da|Na)}var Ga="__lodash_hash_undefined__";function Ba(e){return this.__data__.set(e,Ga),this}function Ha(e){return this.__data__.has(e)}function ae(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new C;++t<r;)this.add(e[t])}ae.prototype.add=ae.prototype.push=Ba,ae.prototype.has=Ha;function za(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 Ka(e,t){return e.has(t)}var Wa=1,Xa=2;function mt(e,t,r,n,a,i){var o=r&Wa,f=e.length,s=t.length;if(f!=s&&!(o&&s>f))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var l=-1,p=!0,y=r&Xa?new ae:void 0;for(i.set(e,t),i.set(t,e);++l<f;){var h=e[l],A=t[l];if(n)var _=o?n(A,h,l,t,e,i):n(h,A,l,e,t,i);if(_!==void 0){if(_)continue;p=!1;break}if(y){if(!za(t,function(T,b){if(!Ka(y,b)&&(h===T||a(h,T,r,n,i)))return y.push(b)})){p=!1;break}}else if(!(h===A||a(h,A,r,n,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function qa(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function Ya(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Za=1,Ja=2,Qa="[object Boolean]",Va="[object Date]",ka="[object Error]",eo="[object Map]",to="[object Number]",ro="[object RegExp]",no="[object Set]",io="[object String]",ao="[object Symbol]",oo="[object ArrayBuffer]",fo="[object DataView]",Pt=S?S.prototype:void 0,Se=Pt?Pt.valueOf:void 0;function so(e,t,r,n,a,i,o){switch(r){case fo:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case oo:return!(e.byteLength!=t.byteLength||!i(new ne(e),new ne(t)));case Qa:case Va:case to:return H(+e,+t);case ka:return e.name==t.name&&e.message==t.message;case ro:case io:return e==t+"";case eo:var f=qa;case no:var s=n&Za;if(f||(f=Ya),e.size!=t.size&&!s)return!1;var u=o.get(e);if(u)return u==t;n|=Ja,o.set(e,t);var c=mt(f(e),f(t),n,a,i,o);return o.delete(e),c;case ao:if(Se)return Se.call(e)==Se.call(t)}return!1}var uo=1,co=Object.prototype,lo=co.hasOwnProperty;function po(e,t,r,n,a,i){var o=r&uo,f=Oe(e),s=f.length,u=Oe(t),c=u.length;if(s!=c&&!o)return!1;for(var l=s;l--;){var p=f[l];if(!(o?p in t:lo.call(t,p)))return!1}var y=i.get(e),h=i.get(t);if(y&&h)return y==t&&h==e;var A=!0;i.set(e,t),i.set(t,e);for(var _=o;++l<s;){p=f[l];var T=e[p],b=t[p];if(n)var m=o?n(b,T,p,t,e,i):n(T,b,p,e,t,i);if(!(m===void 0?T===b||a(T,b,r,n,i):m)){A=!1;break}_||(_=p=="constructor")}if(A&&!_){var U=e.constructor,Z=t.constructor;U!=Z&&"constructor"in e&&"constructor"in t&&!(typeof U=="function"&&U instanceof U&&typeof Z=="function"&&Z instanceof Z)&&(A=!1)}return i.delete(e),i.delete(t),A}var go=1,St="[object Arguments]",Et="[object Array]",oe="[object Object]",ho=Object.prototype,jt=ho.hasOwnProperty;function yo(e,t,r,n,a,i){var o=O(e),f=O(t),s=o?Et:w(e),u=f?Et:w(t);s=s==St?oe:s,u=u==St?oe:u;var c=s==oe,l=u==oe,p=s==u;if(p&&z(e)){if(!z(t))return!1;o=!0,c=!1}if(p&&!c)return i||(i=new $),o||be(e)?mt(e,t,r,n,a,i):so(e,t,s,r,n,a,i);if(!(r&go)){var y=c&&jt.call(e,"__wrapped__"),h=l&&jt.call(t,"__wrapped__");if(y||h){var A=y?e.value():e,_=h?t.value():t;return i||(i=new $),a(A,_,r,n,i)}}return p?(i||(i=new $),po(e,t,r,n,a,i)):!1}function Ee(e,t,r,n,a){return e===t?!0:e==null||t==null||!E(e)&&!E(t)?e!==e&&t!==t:yo(e,t,r,n,Ee,a)}var bo=1,vo=2;function _o(e,t,r,n){var a=r.length,i=a;if(e==null)return!i;for(e=Object(e);a--;){var o=r[a];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++a<i;){o=r[a];var f=o[0],s=e[f],u=o[1];if(o[2]){if(s===void 0&&!(f in e))return!1}else{var c=new $,l;if(!(l===void 0?Ee(u,s,bo|vo,n,c):l))return!1}}return!0}function It(e){return e===e&&!j(e)}function To(e){for(var t=W(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,It(a)]}return t}function Ct(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function Ao(e){var t=To(e);return t.length==1&&t[0][2]?Ct(t[0][0],t[0][1]):function(r){return r===e||_o(r,e,t)}}function Oo(e,t){return e!=null&&t in Object(e)}function $o(e,t,r){t=Ve(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var o=re(t[n]);if(!(i=e!=null&&r(e,o)))break;e=e[o]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&de(a)&&pe(o,a)&&(O(e)||k(e)))}function wo(e,t){return e!=null&&$o(e,t,Oo)}var mo=1,Po=2;function So(e,t){return ve(e)&&It(t)?Ct(re(e),t):function(r){var n=ni(r,e);return n===void 0&&n===t?wo(r,e):Ee(t,n,mo|Po)}}function Eo(e){return function(t){return t==null?void 0:t[e]}}function jo(e){return function(t){return ke(t,e)}}function Io(e){return ve(e)?Eo(re(e)):jo(e)}function Co(e){return typeof e=="function"?e:e==null?se:typeof e=="object"?O(e)?So(e[0],e[1]):Ao(e):Io(e)}function Lo(e){return function(t,r,n){for(var a=-1,i=Object(t),o=n(t),f=o.length;f--;){var s=o[++a];if(r(i[s],s,i)===!1)break}return t}}var Lt=Lo();function xo(e,t){return e&&Lt(e,t,W)}function je(e,t,r){(r!==void 0&&!H(e[t],r)||r===void 0&&!(t in e))&&Q(e,t,r)}function Mo(e){return E(e)&&V(e)}function Ie(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Ro(e){return F(e,N(e))}function Fo(e,t,r,n,a,i,o){var f=Ie(e,r),s=Ie(t,r),u=o.get(s);if(u){je(e,r,u);return}var c=i?i(f,s,r+"",e,t,o):void 0,l=c===void 0;if(l){var p=O(s),y=!p&&z(s),h=!p&&!y&&be(s);c=s,p||y||h?O(f)?c=f:Mo(f)?c=Ue(f):y?(l=!1,c=ot(s,!0)):h?(l=!1,c=vt(s,!0)):c=[]:ui(s)||k(s)?(c=f,k(f)?c=Ro(f):(!j(f)||ue(f))&&(c=_t(s))):l=!1}l&&(o.set(s,c),a(c,s,n,i,o),o.delete(s)),je(e,r,c)}function xt(e,t,r,n,a){e!==t&&Lt(t,function(i,o){if(a||(a=new $),j(i))Fo(e,t,o,r,xt,n,a);else{var f=n?n(Ie(e,o),i,o+"",e,t,a):void 0;f===void 0&&(f=i),je(e,o,f)}},N)}var Do=He(function(e,t,r,n){xt(e,t,r,n)});function No(e,t){var r={};return t=Co(t),xo(e,function(n,a,i){Q(r,t(n,a,i),n)}),r}const Uo=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Go=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Bo=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Ho=/[^\p{L}\d]+/giu,Mt="$1\0$2",Rt="";function Ft(e){let t=e.trim();t=t.replace(Uo,Mt).replace(Go,Mt),t=t.replace(Ho,"\0");let r=0,n=t.length;for(;t.charAt(r)==="\0";)r++;if(r===n)return[];for(;t.charAt(n-1)==="\0";)n--;return t.slice(r,n).split(/\0/g)}function zo(e){const t=Ft(e);for(let r=0;r<t.length;r++){const n=t[r],a=Bo.exec(n);if(a){const i=a.index+(a[1]??a[2]).length;t.splice(r,1,n.slice(0,i),n.slice(i))}}return t}function Ko(e,t){const[r,n,a]=Yo(e,t),i=Wo(t==null?void 0:t.locale),o=Xo(t==null?void 0:t.locale),f=qo(i,o);return r+n.map((s,u)=>u===0?i(s):f(s,u)).join("")+a}function Wo(e){return t=>t.toLocaleLowerCase(e)}function Xo(e){return t=>t.toLocaleUpperCase(e)}function qo(e,t){return(r,n)=>{const a=r[0];return(n>0&&a>="0"&&a<="9"?"_"+a:t(a))+e(r.slice(1))}}function Yo(e,t={}){const r=t.split??(t.separateNumbers?zo:Ft),n=t.prefixCharacters??Rt,a=t.suffixCharacters??Rt;let i=0,o=e.length;for(;i<e.length;){const f=e.charAt(i);if(!n.includes(f))break;i++}for(;o>i;){const f=o-1,s=e.charAt(f);if(!a.includes(s))break;o=f}return[e.slice(0,i),r(e.slice(i,o)),e.slice(o)]}const Y=e=>/.+-.+/.test(e)?Ko(e):e,Zo=e=>Object.prototype.toString.call(e).slice(8,-1)==="Object";function Jo(e,t){const r=Object.create(null),n=e.split(",");for(let a=0;a<n.length;a++)r[n[a]]=!0;return a=>!!r[a]}const Qo=Jo("String,Number,Boolean,Function,Symbol,BigInt");function Vo(e){const t=e==null?void 0:e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ko(e,t){let r;const n=Vo(t);if(Qo(n)){const a=typeof e;r=a===n.toLowerCase(),!r&&a==="object"&&(r=e instanceof t)}else n==="Object"?r=j(e):n==="Array"?r=Array.isArray(e):n==="null"?r=e===null:r=e instanceof t;return{valid:r,expectedType:n}}function ef({prop:e,type:t,validator:r}){if(![void 0,null].includes(e)&&t){let n=!1;const a=Array.isArray(t)?t:[t],i=[];for(let o=0;o<a.length&&!n;o++){const{valid:f,expectedType:s}=ko(e,a[o]);i.push(s||""),n=f}if(!n)throw new TypeError(`Invalid prop: type check failed, expecting [${i.join(", ")}], receiving: ${e}`)}if(r&&!r(e))throw new Error(`Invalid prop: validator check failed, receiving: ${e}`)}function tf(e,{mergeObject:t,mergeObjectCustomizer:r,mergeFunction:n}){const a=[];for(let o=e.length-1;o>=0;o--)a.push(e[o]);const i=r||(n?(o,f)=>typeof o=="function"&&typeof f=="function"?n==null?void 0:n(f,o):void 0:void 0);return t==="deep"?Do(...a,i):On(...a,i)}function rf(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function Dt(e,t={}){const{type:r,default:n,defaultIsDynamic:a=!1,required:i=!1,validator:o,camelizeObjectKeys:f=!1,mergeObjectApplyOnlyToDefault:s=!1,mergeFunctionApplyOnlyToDefault:u=!0}=t;let{mergeObject:c="deep",mergeObjectCustomizer:l,mergeFunction:p=!1}=t;const y=[];let h,A=!1,_=!1;const T=b=>{if(b!==void 0){ef({type:r,prop:b,validator:o});const m=Zo(b),U=typeof b=="function";return A=m,_=U,m?(b=Ua(b),f?No(b,(Z,sf)=>Y(sf)):b):b}};for(const b of e)y.push(T(b));if(!a)y.push(T(n));else if(typeof n!="function")throw new TypeError(`Invalid option: options.default should be Function when options.defaultIsDynamic enabled, receiving: ${n}`);A||(c=!1,_||(p=!1));for(let b=0;b<y.length;b++){const m=y[b];if(m!==void 0){b===y.length-1?h=m:c?h=tf(s?[m,n]:y,{mergeObject:c,mergeObjectCustomizer:l,mergeFunction:p}):p?h=rf(u?[m,n]:y,{mergeFunction:p}):h=m;break}}if(i&&[void 0,null].includes(h))throw new Error("Missing required prop");return a?Dt(e,{...t,default:n(h),defaultIsDynamic:!1}):h}function nf(e,t){return Object.keys(e).filter(r=>t(r)).reduce((r,n)=>(r[n]=e[n],r),{})}function af(e){return nf(e,t=>!t.startsWith("hook:"))}function of(e){if(Object.getOwnPropertyNames(e||{}).length){const t=this.$emit;this.$emit=function(...r){var i;t.apply(this,r);const[n,...a]=r;(i=e[n])==null||i.apply(this,a)}}}function Nt(e){const t=Array.from(Y(e));return t[0]=t[0].toUpperCase(),t.unshift("o","n"),t.join("")}function ff(e,{props:t=[],camelizePropNames:r=!1}={}){const n={props:{},attrs:{},listeners:{},hooks:{},slots:{}};let a;if(Array.isArray(t))a=r?t.map(i=>Y(i)):t;else if(r){a=[];for(const i in t)a.push(Y(i))}else a=Object.keys(t);for(const i in e)if(i.startsWith("@")){const o=i.substring(1);if(G.isVue3)if(o.startsWith("vue:"))n.hooks[Nt(o.replace("vue:","vnode-"))]=e[i];else{if(o.startsWith("vnode"))throw new Error("@vnode-* hooks are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in Vue 3.4.");n.listeners[Nt(o)]=e[i]}else o.startsWith("hook:")?n.hooks[o]=e[i]:n.listeners[o]=e[i]}else if(i.startsWith("#")){const o=i.substring(1);o&&(n.slots[o]=e[i])}else{const o=r?Y(i):i;a.includes(o)?n.props[o]=e[i]:n.attrs[i]=e[i]}return n}v.conclude=Dt,v.getLocalListeners=af,v.listenGlobalHooks=of,v.resolveConfig=ff,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})}); //# sourceMappingURL=vue-global-config.umd.js.map