shu-c-view
Version:
rollup 打包vue@2.7组件库框架
7 lines (6 loc) • 23 kB
JavaScript
/*!
* shu-c-view v2.0.0
* (c) 2024-04-23
* @license MIT
*/
;Object.defineProperty(exports,"__esModule",{value:!0});var t=require("lodash/isArray"),e=require("lodash/isEmpty");function r(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var n,o,i=r(t),u=r(e),c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=function(t){try{return!!t()}catch(t){return!0}},f=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=function(t){return t&&t.Math==Math&&t},s=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof c&&c)||function(){return this}()||Function("return this")(),p=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),g=p,v=Function.prototype,d=v.call,y=g&&v.bind.bind(d,d),b=g?y:function(t){return function(){return d.apply(t,arguments)}},h="object"==typeof document&&document.all,m={all:h,IS_HTMLDDA:void 0===h&&void 0!==h},S=m.all,x=m.IS_HTMLDDA?function(t){return"function"==typeof t||t===S}:function(t){return"function"==typeof t},E=a,O=x,w=/#|\.prototype\./,I=function(t,e){var r=_[j(t)];return r==T||r!=R&&(O(e)?E(e):!!e)},j=I.normalize=function(t){return String(t).replace(w,".").toLowerCase()},_=I.data={},R=I.NATIVE="N",T=I.POLYFILL="P",N=I,P={},A=x,M=m.all,k=m.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:A(t)||t===M}:function(t){return"object"==typeof t?null!==t:A(t)},C=k,F=s.document,D=C(F)&&C(F.createElement),$=function(t){return D?F.createElement(t):{}},L=$,z=!f&&!a((function(){return 7!=Object.defineProperty(L("div"),"a",{get:function(){return 7}}).a})),U=f&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Y=k,V=String,B=TypeError,G=function(t){if(Y(t))return t;throw B(V(t)+" is not an object")},K=p,W=Function.prototype.call,X=K?W.bind(W):function(){return W.apply(W,arguments)},q=s,H=x,J=function(t){return H(t)?t:void 0},Q=function(t,e){return arguments.length<2?J(q[t]):q[t]&&q[t][e]},Z=b({}.isPrototypeOf),tt=s,et=Q("navigator","userAgent")||"",rt=tt.process,nt=tt.Deno,ot=rt&&rt.versions||nt&&nt.version,it=ot&&ot.v8;it&&(o=(n=it.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&et&&(!(n=et.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=et.match(/Chrome\/(\d+)/))&&(o=+n[1]);var ut=o,ct=a,at=!!Object.getOwnPropertySymbols&&!ct((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ut&&ut<41})),ft=at&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,lt=Q,st=x,pt=Z,gt=Object,vt=ft?function(t){return"symbol"==typeof t}:function(t){var e=lt("Symbol");return st(e)&&pt(e.prototype,gt(t))},dt=String,yt=x,bt=function(t){try{return dt(t)}catch(t){return"Object"}},ht=TypeError,mt=function(t){return null==t},St=function(t){if(yt(t))return t;throw ht(bt(t)+" is not a function")},xt=mt,Et=function(t,e){var r=t[e];return xt(r)?void 0:St(r)},Ot=X,wt=x,It=k,jt=TypeError,_t={exports:{}},Rt=s,Tt=Object.defineProperty,Nt=function(t,e){try{Tt(Rt,t,{value:e,configurable:!0,writable:!0})}catch(r){Rt[t]=e}return e},Pt=Nt,At=s["__core-js_shared__"]||Pt("__core-js_shared__",{}),Mt=At;(_t.exports=function(t,e){return Mt[t]||(Mt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var kt=mt,Ct=TypeError,Ft=function(t){if(kt(t))throw Ct("Can't call method on "+t);return t},Dt=Ft,$t=Object,Lt=function(t){return $t(Dt(t))},zt=Lt,Ut=b({}.hasOwnProperty),Yt=Object.hasOwn||function(t,e){return Ut(zt(t),e)},Vt=b,Bt=0,Gt=Math.random(),Kt=Vt(1..toString),Wt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Kt(++Bt+Gt,36)},Xt=s,qt=_t.exports,Ht=Yt,Jt=Wt,Qt=at,Zt=ft,te=qt("wks"),ee=Xt.Symbol,re=ee&&ee.for,ne=Zt?ee:ee&&ee.withoutSetter||Jt,oe=function(t){if(!Ht(te,t)||!Qt&&"string"!=typeof te[t]){var e="Symbol."+t;Qt&&Ht(ee,t)?te[t]=ee[t]:te[t]=Zt&&re?re(e):ne(e)}return te[t]},ie=X,ue=k,ce=vt,ae=Et,fe=function(t,e){var r,n;if("string"===e&&wt(r=t.toString)&&!It(n=Ot(r,t)))return n;if(wt(r=t.valueOf)&&!It(n=Ot(r,t)))return n;if("string"!==e&&wt(r=t.toString)&&!It(n=Ot(r,t)))return n;throw jt("Can't convert object to primitive value")},le=TypeError,se=oe("toPrimitive"),pe=function(t,e){if(!ue(t)||ce(t))return t;var r,n=ae(t,se);if(n){if(void 0===e&&(e="default"),r=ie(n,t,e),!ue(r)||ce(r))return r;throw le("Can't convert object to primitive value")}return void 0===e&&(e="number"),fe(t,e)},ge=pe,ve=vt,de=function(t){var e=ge(t,"string");return ve(e)?e:e+""},ye=f,be=z,he=U,me=G,Se=de,xe=TypeError,Ee=Object.defineProperty,Oe=Object.getOwnPropertyDescriptor;P.f=ye?he?function(t,e,r){if(me(t),e=Se(e),me(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=Oe(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Ee(t,e,r)}:Ee:function(t,e,r){if(me(t),e=Se(e),me(r),be)try{return Ee(t,e,r)}catch(t){}if("get"in r||"set"in r)throw xe("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var we={exports:{}},Ie=f,je=Yt,_e=Function.prototype,Re=Ie&&Object.getOwnPropertyDescriptor,Te=je(_e,"name"),Ne={EXISTS:Te,PROPER:Te&&"something"===function(){}.name,CONFIGURABLE:Te&&(!Ie||Ie&&Re(_e,"name").configurable)},Pe=x,Ae=At,Me=b(Function.toString);Pe(Ae.inspectSource)||(Ae.inspectSource=function(t){return Me(t)});var ke,Ce,Fe,De=Ae.inspectSource,$e=x,Le=s.WeakMap,ze=$e(Le)&&/native code/.test(String(Le)),Ue=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Ye=P,Ve=Ue,Be=f?function(t,e,r){return Ye.f(t,e,Ve(1,r))}:function(t,e,r){return t[e]=r,t},Ge=_t.exports,Ke=Wt,We=Ge("keys"),Xe=function(t){return We[t]||(We[t]=Ke(t))},qe={},He=ze,Je=s,Qe=k,Ze=Be,tr=Yt,er=At,rr=Xe,nr=qe,or=Je.TypeError,ir=Je.WeakMap;if(He||er.state){var ur=er.state||(er.state=new ir);ur.get=ur.get,ur.has=ur.has,ur.set=ur.set,ke=function(t,e){if(ur.has(t))throw or("Object already initialized");return e.facade=t,ur.set(t,e),e},Ce=function(t){return ur.get(t)||{}},Fe=function(t){return ur.has(t)}}else{var cr=rr("state");nr[cr]=!0,ke=function(t,e){if(tr(t,cr))throw or("Object already initialized");return e.facade=t,Ze(t,cr,e),e},Ce=function(t){return tr(t,cr)?t[cr]:{}},Fe=function(t){return tr(t,cr)}}var ar={set:ke,get:Ce,has:Fe,enforce:function(t){return Fe(t)?Ce(t):ke(t,{})},getterFor:function(t){return function(e){var r;if(!Qe(e)||(r=Ce(e)).type!==t)throw or("Incompatible receiver, "+t+" required");return r}}},fr=a,lr=x,sr=Yt,pr=f,gr=Ne.CONFIGURABLE,vr=De,dr=ar.enforce,yr=ar.get,br=Object.defineProperty,hr=pr&&!fr((function(){return 8!==br((function(){}),"length",{value:8}).length})),mr=String(String).split("String"),Sr=we.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!sr(t,"name")||gr&&t.name!==e)&&(pr?br(t,"name",{value:e,configurable:!0}):t.name=e),hr&&r&&sr(r,"arity")&&t.length!==r.arity&&br(t,"length",{value:r.arity});try{r&&sr(r,"constructor")&&r.constructor?pr&&br(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=dr(t);return sr(n,"source")||(n.source=mr.join("string"==typeof e?e:"")),t};Function.prototype.toString=Sr((function(){return lr(this)&&yr(this).source||vr(this)}),"toString");var xr=x,Er=P,Or=we.exports,wr=Nt,Ir=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(xr(r)&&Or(r,i,n),n.global)o?t[e]=r:wr(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Er.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},jr=x,_r=String,Rr=TypeError,Tr=b,Nr=G,Pr=function(t){if("object"==typeof t||jr(t))return t;throw Rr("Can't set "+_r(t)+" as a prototype")},Ar=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Tr(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Nr(r),Pr(n),e?t(r,n):r.__proto__=n,r}}():void 0),Mr=x,kr=k,Cr=Ar,Fr=function(t,e,r){var n,o;return Cr&&Mr(n=e.constructor)&&n!==r&&kr(o=n.prototype)&&o!==r.prototype&&Cr(t,o),t},Dr={},$r=b,Lr=$r({}.toString),zr=$r("".slice),Ur=function(t){return zr(Lr(t),8,-1)},Yr=a,Vr=Ur,Br=Object,Gr=b("".split),Kr=Yr((function(){return!Br("z").propertyIsEnumerable(0)}))?function(t){return"String"==Vr(t)?Gr(t,""):Br(t)}:Br,Wr=Ft,Xr=function(t){return Kr(Wr(t))},qr=Math.ceil,Hr=Math.floor,Jr=Math.trunc||function(t){var e=+t;return(e>0?Hr:qr)(e)},Qr=function(t){var e=+t;return e!=e||0===e?0:Jr(e)},Zr=Qr,tn=Math.max,en=Math.min,rn=Qr,nn=Math.min,on=function(t){return t>0?nn(rn(t),9007199254740991):0},un=on,cn=Xr,an=function(t,e){var r=Zr(t);return r<0?tn(r+e,0):en(r,e)},fn=function(t){return un(t.length)},ln=function(t){return function(e,r,n){var o,i=cn(e),u=fn(i),c=an(n,u);if(t&&r!=r){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},sn={includes:ln(!0),indexOf:ln(!1)},pn=Yt,gn=Xr,vn=sn.indexOf,dn=qe,yn=b([].push),bn=function(t,e){var r,n=gn(t),o=0,i=[];for(r in n)!pn(dn,r)&&pn(n,r)&&yn(i,r);for(;e.length>o;)pn(n,r=e[o++])&&(~vn(i,r)||yn(i,r));return i},hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mn=bn,Sn=hn.concat("length","prototype");Dr.f=Object.getOwnPropertyNames||function(t){return mn(t,Sn)};var xn={},En={},On={}.propertyIsEnumerable,wn=Object.getOwnPropertyDescriptor,In=wn&&!On.call({1:2},1);En.f=In?function(t){var e=wn(this,t);return!!e&&e.enumerable}:On;var jn=f,_n=X,Rn=En,Tn=Ue,Nn=Xr,Pn=de,An=Yt,Mn=z,kn=Object.getOwnPropertyDescriptor;xn.f=jn?kn:function(t,e){if(t=Nn(t),e=Pn(e),Mn)try{return kn(t,e)}catch(t){}if(An(t,e))return Tn(!_n(Rn.f,t,e),t[e])};var Cn=b(1..valueOf),Fn={};Fn[oe("toStringTag")]="z";var Dn="[object z]"===String(Fn),$n=x,Ln=Ur,zn=oe("toStringTag"),Un=Object,Yn="Arguments"==Ln(function(){return arguments}()),Vn=Dn?Ln:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Un(t),zn))?r:Yn?Ln(e):"Object"==(n=Ln(e))&&$n(e.callee)?"Arguments":n},Bn=Vn,Gn=String,Kn=function(t){if("Symbol"===Bn(t))throw TypeError("Cannot convert a Symbol value to a string");return Gn(t)},Wn=Ft,Xn=Kn,qn=b("".replace),Hn="[\t\n\v\f\r \u2028\u2029\ufeff]",Jn=RegExp("^"+Hn+Hn+"*"),Qn=RegExp(Hn+Hn+"*$"),Zn=function(t){return function(e){var r=Xn(Wn(e));return 1&t&&(r=qn(r,Jn,"")),2&t&&(r=qn(r,Qn,"")),r}},to={start:Zn(1),end:Zn(2),trim:Zn(3)},eo=f,ro=s,no=b,oo=N,io=Ir,uo=Yt,co=Fr,ao=Z,fo=vt,lo=pe,so=a,po=Dr.f,go=xn.f,vo=P.f,yo=Cn,bo=to.trim,ho=ro.Number,mo=ho.prototype,So=ro.TypeError,xo=no("".slice),Eo=no("".charCodeAt),Oo=function(t){var e=lo(t,"number");return"bigint"==typeof e?e:wo(e)},wo=function(t){var e,r,n,o,i,u,c,a,f=lo(t,"number");if(fo(f))throw So("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=bo(f),43===(e=Eo(f,0))||45===e){if(88===(r=Eo(f,2))||120===r)return NaN}else if(48===e){switch(Eo(f,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+f}for(u=(i=xo(f,2)).length,c=0;c<u;c++)if((a=Eo(i,c))<48||a>o)return NaN;return parseInt(i,n)}return+f};if(oo("Number",!ho(" 0o1")||!ho("0b1")||ho("+0x1"))){for(var Io,jo=function(t){var e=arguments.length<1?0:ho(Oo(t)),r=this;return ao(mo,r)&&so((function(){yo(r)}))?co(Object(e),r,jo):e},_o=eo?po(ho):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Ro=0;_o.length>Ro;Ro++)uo(ho,Io=_o[Ro])&&!uo(jo,Io)&&vo(jo,Io,go(ho,Io));jo.prototype=mo,mo.constructor=jo,io(ro,"Number",jo,{constructor:!0})}var To=f,No=Ne.EXISTS,Po=b,Ao=P.f,Mo=Function.prototype,ko=Po(Mo.toString),Co=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Fo=Po(Co.exec);To&&!No&&Ao(Mo,"name",{configurable:!0,get:function(){try{return Fo(Co,ko(this))[1]}catch(t){return""}}});var Do={};Do.f=Object.getOwnPropertySymbols;var $o=Q,Lo=Dr,zo=Do,Uo=G,Yo=b([].concat),Vo=$o("Reflect","ownKeys")||function(t){var e=Lo.f(Uo(t)),r=zo.f;return r?Yo(e,r(t)):e},Bo=Yt,Go=Vo,Ko=xn,Wo=P,Xo=s,qo=xn.f,Ho=Be,Jo=Ir,Qo=Nt,Zo=function(t,e,r){for(var n=Go(e),o=Wo.f,i=Ko.f,u=0;u<n.length;u++){var c=n[u];Bo(t,c)||r&&Bo(r,c)||o(t,c,i(e,c))}},ti=N,ei=function(t,e){var r,n,o,i,u,c=t.target,a=t.global,f=t.stat;if(r=a?Xo:f?Xo[c]||Qo(c,{}):(Xo[c]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(u=qo(r,n))&&u.value:r[n],!ti(a?n:c+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Zo(i,o)}(t.sham||o&&o.sham)&&Ho(i,"sham",!0),Jo(r,n,i,t)}},ri=G,ni=function(){var t=ri(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},oi=a,ii=s.RegExp,ui=oi((function(){var t=ii("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),ci=ui||oi((function(){return!ii("a","y").sticky})),ai=ui||oi((function(){var t=ii("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),fi={BROKEN_CARET:ai,MISSED_STICKY:ci,UNSUPPORTED_Y:ui},li={},si=bn,pi=hn,gi=Object.keys||function(t){return si(t,pi)},vi=f,di=U,yi=P,bi=G,hi=Xr,mi=gi;li.f=vi&&!di?Object.defineProperties:function(t,e){bi(t);for(var r,n=hi(e),o=mi(e),i=o.length,u=0;i>u;)yi.f(t,r=o[u++],n[r]);return t};var Si,xi=Q("document","documentElement"),Ei=G,Oi=li,wi=hn,Ii=qe,ji=xi,_i=$,Ri=Xe("IE_PROTO"),Ti=function(){},Ni=function(t){return"<script>"+t+"<\/script>"},Pi=function(t){t.write(Ni("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ai=function(){try{Si=new ActiveXObject("htmlfile")}catch(t){}var t,e;Ai="undefined"!=typeof document?document.domain&&Si?Pi(Si):((e=_i("iframe")).style.display="none",ji.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ni("document.F=Object")),t.close(),t.F):Pi(Si);for(var r=wi.length;r--;)delete Ai.prototype[wi[r]];return Ai()};Ii[Ri]=!0;var Mi=Object.create||function(t,e){var r;return null!==t?(Ti.prototype=Ei(t),r=new Ti,Ti.prototype=null,r[Ri]=t):r=Ai(),void 0===e?r:Oi.f(r,e)},ki=a,Ci=s.RegExp,Fi=ki((function(){var t=Ci(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Di=a,$i=s.RegExp,Li=Di((function(){var t=$i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),zi=X,Ui=b,Yi=Kn,Vi=ni,Bi=fi,Gi=_t.exports,Ki=Mi,Wi=ar.get,Xi=Fi,qi=Li,Hi=Gi("native-string-replace",String.prototype.replace),Ji=RegExp.prototype.exec,Qi=Ji,Zi=Ui("".charAt),tu=Ui("".indexOf),eu=Ui("".replace),ru=Ui("".slice),nu=function(){var t=/a/,e=/b*/g;return zi(Ji,t,"a"),zi(Ji,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),ou=Bi.BROKEN_CARET,iu=void 0!==/()??/.exec("")[1];(nu||iu||ou||Xi||qi)&&(Qi=function(t){var e,r,n,o,i,u,c,a=this,f=Wi(a),l=Yi(t),s=f.raw;if(s)return s.lastIndex=a.lastIndex,e=zi(Qi,s,l),a.lastIndex=s.lastIndex,e;var p=f.groups,g=ou&&a.sticky,v=zi(Vi,a),d=a.source,y=0,b=l;if(g&&(v=eu(v,"y",""),-1===tu(v,"g")&&(v+="g"),b=ru(l,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==Zi(l,a.lastIndex-1))&&(d="(?: "+d+")",b=" "+b,y++),r=new RegExp("^(?:"+d+")",v)),iu&&(r=new RegExp("^"+d+"$(?!\\s)",v)),nu&&(n=a.lastIndex),o=zi(Ji,g?r:a,b),g?o?(o.input=ru(o.input,y),o[0]=ru(o[0],y),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:nu&&o&&(a.lastIndex=a.global?o.index+o[0].length:n),iu&&o&&o.length>1&&zi(Hi,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=u=Ki(null),i=0;i<p.length;i++)u[(c=p[i])[0]]=o[c[1]];return o});var uu=Qi;ei({target:"RegExp",proto:!0,forced:/./.exec!==uu},{exec:uu});var cu,au,fu=ei,lu=X,su=x,pu=G,gu=Kn,vu=(cu=!1,(au=/[ac]/).exec=function(){return cu=!0,/./.exec.apply(this,arguments)},!0===au.test("abc")&&cu),du=/./.test;fu({target:"RegExp",proto:!0,forced:!vu},{test:function(t){var e=pu(this),r=gu(t),n=e.exec;if(!su(n))return lu(du,e,r);var o=lu(n,e,r);return null!==o&&(pu(o),!0)}});var yu=p,bu=Function.prototype,hu=bu.apply,mu=bu.call,Su="object"==typeof Reflect&&Reflect.apply||(yu?mu.bind(hu):function(){return mu.apply(hu,arguments)}),xu=Ur,Eu=b,Ou=function(t){if("Function"===xu(t))return Eu(t)},wu=Ir,Iu=uu,ju=a,_u=oe,Ru=Be,Tu=_u("species"),Nu=RegExp.prototype,Pu=b,Au=Qr,Mu=Kn,ku=Ft,Cu=Pu("".charAt),Fu=Pu("".charCodeAt),Du=Pu("".slice),$u=function(t){return function(e,r){var n,o,i=Mu(ku(e)),u=Au(r),c=i.length;return u<0||u>=c?t?"":void 0:(n=Fu(i,u))<55296||n>56319||u+1===c||(o=Fu(i,u+1))<56320||o>57343?t?Cu(i,u):n:t?Du(i,u,u+2):o-56320+(n-55296<<10)+65536}},Lu={codeAt:$u(!1),charAt:$u(!0)}.charAt,zu=b,Uu=Lt,Yu=Math.floor,Vu=zu("".charAt),Bu=zu("".replace),Gu=zu("".slice),Ku=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Wu=/\$([$&'`]|\d{1,2})/g,Xu=X,qu=G,Hu=x,Ju=Ur,Qu=uu,Zu=TypeError,tc=Su,ec=X,rc=b,nc=function(t,e,r,n){var o=_u(t),i=!ju((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),u=i&&!ju((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Tu]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!u||r){var c=Ou(/./[o]),a=e(o,""[t],(function(t,e,r,n,o){var u=Ou(t),a=e.exec;return a===Iu||a===Nu.exec?i&&!o?{done:!0,value:c(e,r,n)}:{done:!0,value:u(r,e,n)}:{done:!1}}));wu(String.prototype,t,a[0]),wu(Nu,o,a[1])}n&&Ru(Nu[o],"sham",!0)},oc=a,ic=G,uc=x,cc=mt,ac=Qr,fc=on,lc=Kn,sc=Ft,pc=function(t,e,r){return e+(r?Lu(t,e).length:1)},gc=Et,vc=function(t,e,r,n,o,i){var u=r+t.length,c=n.length,a=Wu;return void 0!==o&&(o=Uu(o),a=Ku),Bu(i,a,(function(i,a){var f;switch(Vu(a,0)){case"$":return"$";case"&":return t;case"`":return Gu(e,0,r);case"'":return Gu(e,u);case"<":f=o[Gu(a,1,-1)];break;default:var l=+a;if(0===l)return i;if(l>c){var s=Yu(l/10);return 0===s?i:s<=c?void 0===n[s-1]?Vu(a,1):n[s-1]+Vu(a,1):i}f=n[l-1]}return void 0===f?"":f}))},dc=function(t,e){var r=t.exec;if(Hu(r)){var n=Xu(r,t,e);return null!==n&&qu(n),n}if("RegExp"===Ju(t))return Xu(Qu,t,e);throw Zu("RegExp#exec called on incompatible receiver")},yc=oe("replace"),bc=Math.max,hc=Math.min,mc=rc([].concat),Sc=rc([].push),xc=rc("".indexOf),Ec=rc("".slice),Oc="$0"==="a".replace(/./,"$0"),wc=!!/./[yc]&&""===/./[yc]("a","$0"),Ic=!oc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));nc("replace",(function(t,e,r){var n=wc?"$":"$0";return[function(t,r){var n=sc(this),o=cc(t)?void 0:gc(t,yc);return o?ec(o,t,n,r):ec(e,lc(n),t,r)},function(t,o){var i=ic(this),u=lc(t);if("string"==typeof o&&-1===xc(o,n)&&-1===xc(o,"$<")){var c=r(e,i,u,o);if(c.done)return c.value}var a=uc(o);a||(o=lc(o));var f=i.global;if(f){var l=i.unicode;i.lastIndex=0}for(var s=[];;){var p=dc(i,u);if(null===p)break;if(Sc(s,p),!f)break;""===lc(p[0])&&(i.lastIndex=pc(u,fc(i.lastIndex),l))}for(var g,v="",d=0,y=0;y<s.length;y++){for(var b=lc((p=s[y])[0]),h=bc(hc(ac(p.index),u.length),0),m=[],S=1;S<p.length;S++)Sc(m,void 0===(g=p[S])?g:String(g));var x=p.groups;if(a){var E=mc([b],m,h,u);void 0!==x&&Sc(E,x);var O=lc(tc(o,void 0,E))}else O=vc(b,u,h,m,x,o);h>=d&&(v+=Ec(u,d,h)+O,d=h+b.length)}return v+Ec(u,d)}]}),!Ic||!Oc||wc);var jc=k,_c=Ur,Rc=oe("match"),Tc=X,Nc=Yt,Pc=Z,Ac=ni,Mc=RegExp.prototype,kc=function(t){var e=t.flags;return void 0!==e||"flags"in Mc||Nc(t,"flags")||!Pc(Mc,t)?e:Tc(Ac,t)},Cc=P.f,Fc=Q,Dc=P,$c=f,Lc=oe("species"),zc=f,Uc=s,Yc=b,Vc=N,Bc=Fr,Gc=Be,Kc=Dr.f,Wc=Z,Xc=function(t){var e;return jc(t)&&(void 0!==(e=t[Rc])?!!e:"RegExp"==_c(t))},qc=Kn,Hc=kc,Jc=fi,Qc=function(t,e,r){r in t||Cc(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})},Zc=Ir,ta=a,ea=Yt,ra=ar.enforce,na=function(t){var e=Fc(t),r=Dc.f;$c&&e&&!e[Lc]&&r(e,Lc,{configurable:!0,get:function(){return this}})},oa=Fi,ia=Li,ua=oe("match"),ca=Uc.RegExp,aa=ca.prototype,fa=Uc.SyntaxError,la=Yc(aa.exec),sa=Yc("".charAt),pa=Yc("".replace),ga=Yc("".indexOf),va=Yc("".slice),da=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ya=/a/g,ba=/a/g,ha=new ca(ya)!==ya,ma=Jc.MISSED_STICKY,Sa=Jc.UNSUPPORTED_Y,xa=zc&&(!ha||ma||oa||ia||ta((function(){return ba[ua]=!1,ca(ya)!=ya||ca(ba)==ba||"/a/i"!=ca(ya,"i")})));if(Vc("RegExp",xa)){for(var Ea=function(t,e){var r,n,o,i,u,c,a=Wc(aa,this),f=Xc(t),l=void 0===e,s=[],p=t;if(!a&&f&&l&&t.constructor===Ea)return t;if((f||Wc(aa,t))&&(t=t.source,l&&(e=Hc(p))),t=void 0===t?"":qc(t),e=void 0===e?"":qc(e),p=t,oa&&"dotAll"in ya&&(n=!!e&&ga(e,"s")>-1)&&(e=pa(e,/s/g,"")),r=e,ma&&"sticky"in ya&&(o=!!e&&ga(e,"y")>-1)&&Sa&&(e=pa(e,/y/g,"")),ia&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],u={},c=!1,a=!1,f=0,l="";n<=r;n++){if("\\"===(e=sa(t,n)))e+=sa(t,++n);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:la(da,va(t,n+1))&&(n+=2,a=!0),o+=e,f++;continue;case">"===e&&a:if(""===l||ea(u,l))throw new fa("Invalid capture group name");u[l]=!0,i[i.length]=[l,f],a=!1,l="";continue}a?l+=e:o+=e}return[o,i]}(t),t=i[0],s=i[1]),u=Bc(ca(t,e),a?this:aa,Ea),(n||o||s.length)&&(c=ra(u),n&&(c.dotAll=!0,c.raw=Ea(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=sa(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+sa(t,++n);return o}(t),r)),o&&(c.sticky=!0),s.length&&(c.groups=s)),t!==p)try{Gc(u,"source",""===p?"(?:)":p)}catch(t){}return u},Oa=Kc(ca),wa=0;Oa.length>wa;)Qc(Ea,ca,Oa[wa++]);aa.constructor=Ea,Ea.prototype=aa,Zc(Uc,"RegExp",Ea,{constructor:!0})}na("RegExp");var Ia=we.exports,ja=P,_a=f,Ra=fi.MISSED_STICKY,Ta=Ur,Na=function(t,e,r){return r.get&&Ia(r.get,e,{getter:!0}),r.set&&Ia(r.set,e,{setter:!0}),ja.f(t,e,r)},Pa=ar.get,Aa=RegExp.prototype,Ma=TypeError;_a&&Ra&&Na(Aa,"sticky",{configurable:!0,get:function(){if(this!==Aa){if("RegExp"===Ta(this))return!!Pa(this).sticky;throw Ma("Incompatible receiver, RegExp required")}}});var ka=Ne.PROPER,Ca=Ir,Fa=G,Da=Kn,$a=a,La=kc,za=RegExp.prototype.toString,Ua=$a((function(){return"/a/b"!=za.call({source:"a",flags:"b"})})),Ya=ka&&"toString"!=za.name;(Ua||Ya)&&Ca(RegExp.prototype,"toString",(function(){var t=Fa(this);return"/"+Da(t.source)+"/"+Da(La(t))}),{unsafe:!0});var Va={name:"BaseRenderSelf",props:{self:{type:[Number,String,Object]}},render:function(t){var e=this;return t({render:function(){return this.$scopedSlots.default()}},{scopedSlots:{default:function(){return e.self}}},[])}};Va.install=function(t,e){var r;if(r="按需加载独立组件:".concat(Va.name),"development"!==process.env.NODE_ENV&&"dev"!==process.env.NODE_ENV||console.warn(r),i(e)&&!u(e))for(var n=0;n<e.length;n++)e[n].name!==Va.name&&t.use(e[n]);t.component(Va.name,Va)},exports.BaseRenderSelf=Va;