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