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