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