UNPKG

shu-c-view

Version:

rollup 打包vue@2.7组件库框架

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