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