UNPKG

shu-c-view

Version:

rollup 打包vue@2.7组件库框架

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