UNPKG

shu-c-view

Version:

rollup 打包vue@2.7组件库框架

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