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