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