vue-pure-admin/dist/static/js/infinite-scroll-7fd0a6d1.js
2023-05-11 20:53:36 +08:00

11 lines
20 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{Z as Qr,$ as cr,d as Kt,r as K,c as F,e as re,w as V,f as ee,i as k,h as U,g as C,C as te,m as Vt,u as kt}from"./index-0dd8d5e4.js";var W=function(r){return r&&r.Math==Math&&r},d=W(typeof globalThis=="object"&&globalThis)||W(typeof window=="object"&&window)||W(typeof self=="object"&&self)||W(typeof Qr=="object"&&Qr)||function(){return this}()||Function("return this")(),Nr={},p=function(r){try{return!!r()}catch{return!0}},Ut=p,E=!Ut(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Wt=p,tr=!Wt(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),Ht=tr,H=Function.prototype.call,Fr=Ht?H.bind(H):function(){return H.apply(H,arguments)},He={},ze={}.propertyIsEnumerable,qe=Object.getOwnPropertyDescriptor,zt=qe&&!ze.call({1:2},1);He.f=zt?function(e){var t=qe(this,e);return!!t&&t.enumerable}:ze;var ar=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}},Xe=tr,Je=Function.prototype,_r=Je.call,qt=Xe&&Je.bind.bind(_r,_r),s=Xe?qt:function(r){return function(){return _r.apply(r,arguments)}},Ye=s,Xt=Ye({}.toString),Jt=Ye("".slice),nr=function(r){return Jt(Xt(r),8,-1)},Yt=s,Zt=p,Qt=nr,ur=Object,ra=Yt("".split),Ze=Zt(function(){return!ur("z").propertyIsEnumerable(0)})?function(r){return Qt(r)=="String"?ra(r,""):ur(r)}:ur,Qe=function(r){return r==null},ea=Qe,ta=TypeError,rt=function(r){if(ea(r))throw ta("Can't call method on "+r);return r},aa=Ze,na=rt,Mr=function(r){return aa(na(r))},Pr=typeof document=="object"&&document.all,oa=typeof Pr>"u"&&Pr!==void 0,et={all:Pr,IS_HTMLDDA:oa},tt=et,ia=tt.all,f=tt.IS_HTMLDDA?function(r){return typeof r=="function"||r===ia}:function(r){return typeof r=="function"},ae=f,at=et,ca=at.all,S=at.IS_HTMLDDA?function(r){return typeof r=="object"?r!==null:ae(r)||r===ca}:function(r){return typeof r=="object"?r!==null:ae(r)},lr=d,ua=f,la=function(r){return ua(r)?r:void 0},or=function(r,e){return arguments.length<2?la(lr[r]):lr[r]&&lr[r][e]},va=s,nt=va({}.isPrototypeOf),sa=typeof navigator<"u"&&String(navigator.userAgent)||"",ot=d,vr=sa,ne=ot.process,oe=ot.Deno,ie=ne&&ne.versions||oe&&oe.version,ce=ie&&ie.v8,y,Z;ce&&(y=ce.split("."),Z=y[0]>0&&y[0]<4?1:+(y[0]+y[1]));!Z&&vr&&(y=vr.match(/Edge\/(\d+)/),(!y||y[1]>=74)&&(y=vr.match(/Chrome\/(\d+)/),y&&(Z=+y[1])));var xr=Z,ue=xr,fa=p,it=!!Object.getOwnPropertySymbols&&!fa(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&ue&&ue<41}),pa=it,ct=pa&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ya=or,da=f,$a=nt,ba=ct,ga=Object,ut=ba?function(r){return typeof r=="symbol"}:function(r){var e=ya("Symbol");return da(e)&&$a(e.prototype,ga(r))},ha=String,Sa=function(r){try{return ha(r)}catch{return"Object"}},ma=f,Oa=Sa,Ea=TypeError,Br=function(r){if(ma(r))return r;throw Ea(Oa(r)+" is not a function")},Ta=Br,Ia=Qe,_a=function(r,e){var t=r[e];return Ia(t)?void 0:Ta(t)},sr=Fr,fr=f,pr=S,Pa=TypeError,wa=function(r,e){var t,a;if(e==="string"&&fr(t=r.toString)&&!pr(a=sr(t,r))||fr(t=r.valueOf)&&!pr(a=sr(t,r))||e!=="string"&&fr(t=r.toString)&&!pr(a=sr(t,r)))return a;throw Pa("Can't convert object to primitive value")},lt={exports:{}},le=d,Ca=Object.defineProperty,Gr=function(r,e){try{Ca(le,r,{value:e,configurable:!0,writable:!0})}catch{le[r]=e}return e},ja=d,Aa=Gr,ve="__core-js_shared__",Ra=ja[ve]||Aa(ve,{}),Kr=Ra,se=Kr;(lt.exports=function(r,e){return se[r]||(se[r]=e!==void 0?e:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"});var vt=lt.exports,La=rt,Da=Object,Vr=function(r){return Da(La(r))},Na=s,Fa=Vr,Ma=Na({}.hasOwnProperty),T=Object.hasOwn||function(e,t){return Ma(Fa(e),t)},xa=s,Ba=0,Ga=Math.random(),Ka=xa(1 .toString),st=function(r){return"Symbol("+(r===void 0?"":r)+")_"+Ka(++Ba+Ga,36)},Va=d,ka=vt,fe=T,Ua=st,Wa=it,Ha=ct,A=Va.Symbol,yr=ka("wks"),za=Ha?A.for||A:A&&A.withoutSetter||Ua,R=function(r){return fe(yr,r)||(yr[r]=Wa&&fe(A,r)?A[r]:za("Symbol."+r)),yr[r]},qa=Fr,pe=S,ye=ut,Xa=_a,Ja=wa,Ya=R,Za=TypeError,Qa=Ya("toPrimitive"),rn=function(r,e){if(!pe(r)||ye(r))return r;var t=Xa(r,Qa),a;if(t){if(e===void 0&&(e="default"),a=qa(t,r,e),!pe(a)||ye(a))return a;throw Za("Can't convert object to primitive value")}return e===void 0&&(e="number"),Ja(r,e)},en=rn,tn=ut,kr=function(r){var e=en(r,"string");return tn(e)?e:e+""},an=d,de=S,wr=an.document,nn=de(wr)&&de(wr.createElement),ft=function(r){return nn?wr.createElement(r):{}},on=E,cn=p,un=ft,pt=!on&&!cn(function(){return Object.defineProperty(un("div"),"a",{get:function(){return 7}}).a!=7}),ln=E,vn=Fr,sn=He,fn=ar,pn=Mr,yn=kr,dn=T,$n=pt,$e=Object.getOwnPropertyDescriptor;Nr.f=ln?$e:function(e,t){if(e=pn(e),t=yn(t),$n)try{return $e(e,t)}catch{}if(dn(e,t))return fn(!vn(sn.f,e,t),e[t])};var L={},bn=E,gn=p,hn=bn&&gn(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Sn=S,mn=String,On=TypeError,Ur=function(r){if(Sn(r))return r;throw On(mn(r)+" is not an object")},En=E,Tn=pt,In=hn,z=Ur,be=kr,_n=TypeError,dr=Object.defineProperty,Pn=Object.getOwnPropertyDescriptor,$r="enumerable",br="configurable",gr="writable";L.f=En?In?function(e,t,a){if(z(e),t=be(t),z(a),typeof e=="function"&&t==="prototype"&&"value"in a&&gr in a&&!a[gr]){var n=Pn(e,t);n&&n[gr]&&(e[t]=a.value,a={configurable:br in a?a[br]:n[br],enumerable:$r in a?a[$r]:n[$r],writable:!1})}return dr(e,t,a)}:dr:function(e,t,a){if(z(e),t=be(t),z(a),Tn)try{return dr(e,t,a)}catch{}if("get"in a||"set"in a)throw _n("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var wn=E,Cn=L,jn=ar,D=wn?function(r,e,t){return Cn.f(r,e,jn(1,t))}:function(r,e,t){return r[e]=t,r},yt={exports:{}},Cr=E,An=T,dt=Function.prototype,Rn=Cr&&Object.getOwnPropertyDescriptor,Wr=An(dt,"name"),Ln=Wr&&function(){}.name==="something",Dn=Wr&&(!Cr||Cr&&Rn(dt,"name").configurable),Nn={EXISTS:Wr,PROPER:Ln,CONFIGURABLE:Dn},Fn=s,Mn=f,jr=Kr,xn=Fn(Function.toString);Mn(jr.inspectSource)||(jr.inspectSource=function(r){return xn(r)});var $t=jr.inspectSource,Bn=d,Gn=f,ge=Bn.WeakMap,Kn=Gn(ge)&&/native code/.test(String(ge)),Vn=vt,kn=st,he=Vn("keys"),Un=function(r){return he[r]||(he[r]=kn(r))},bt={},Wn=Kn,gt=d,Hn=S,zn=D,hr=T,Sr=Kr,qn=Un,Xn=bt,Se="Object already initialized",Ar=gt.TypeError,Jn=gt.WeakMap,Q,x,rr,Yn=function(r){return rr(r)?x(r):Q(r,{})},Zn=function(r){return function(e){var t;if(!Hn(e)||(t=x(e)).type!==r)throw Ar("Incompatible receiver, "+r+" required");return t}};if(Wn||Sr.state){var b=Sr.state||(Sr.state=new Jn);b.get=b.get,b.has=b.has,b.set=b.set,Q=function(r,e){if(b.has(r))throw Ar(Se);return e.facade=r,b.set(r,e),e},x=function(r){return b.get(r)||{}},rr=function(r){return b.has(r)}}else{var j=qn("state");Xn[j]=!0,Q=function(r,e){if(hr(r,j))throw Ar(Se);return e.facade=r,zn(r,j,e),e},x=function(r){return hr(r,j)?r[j]:{}},rr=function(r){return hr(r,j)}}var Qn={set:Q,get:x,has:rr,enforce:Yn,getterFor:Zn},Hr=s,ro=p,eo=f,q=T,Rr=E,to=Nn.CONFIGURABLE,ao=$t,ht=Qn,no=ht.enforce,oo=ht.get,me=String,J=Object.defineProperty,io=Hr("".slice),co=Hr("".replace),uo=Hr([].join),lo=Rr&&!ro(function(){return J(function(){},"length",{value:8}).length!==8}),vo=String(String).split("String"),so=yt.exports=function(r,e,t){io(me(e),0,7)==="Symbol("&&(e="["+co(me(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),t&&t.getter&&(e="get "+e),t&&t.setter&&(e="set "+e),(!q(r,"name")||to&&r.name!==e)&&(Rr?J(r,"name",{value:e,configurable:!0}):r.name=e),lo&&t&&q(t,"arity")&&r.length!==t.arity&&J(r,"length",{value:t.arity});try{t&&q(t,"constructor")&&t.constructor?Rr&&J(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch{}var a=no(r);return q(a,"source")||(a.source=uo(vo,typeof e=="string"?e:"")),r};Function.prototype.toString=so(function(){return eo(this)&&oo(this).source||ao(this)},"toString");var fo=yt.exports,po=f,yo=L,$o=fo,bo=Gr,St=function(r,e,t,a){a||(a={});var n=a.enumerable,o=a.name!==void 0?a.name:e;if(po(t)&&$o(t,o,a),a.global)n?r[e]=t:bo(e,t);else{try{a.unsafe?r[e]&&(n=!0):delete r[e]}catch{}n?r[e]=t:yo.f(r,e,{value:t,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return r},mt={},go=Math.ceil,ho=Math.floor,So=Math.trunc||function(e){var t=+e;return(t>0?ho:go)(t)},mo=So,Ot=function(r){var e=+r;return e!==e||e===0?0:mo(e)},Oo=Ot,Eo=Math.max,To=Math.min,Io=function(r,e){var t=Oo(r);return t<0?Eo(t+e,0):To(t,e)},_o=Ot,Po=Math.min,wo=function(r){return r>0?Po(_o(r),9007199254740991):0},Co=wo,zr=function(r){return Co(r.length)},jo=Mr,Ao=Io,Ro=zr,Oe=function(r){return function(e,t,a){var n=jo(e),o=Ro(n),i=Ao(a,o),u;if(r&&t!=t){for(;o>i;)if(u=n[i++],u!=u)return!0}else for(;o>i;i++)if((r||i in n)&&n[i]===t)return r||i||0;return!r&&-1}},Lo={includes:Oe(!0),indexOf:Oe(!1)},Do=s,mr=T,No=Mr,Fo=Lo.indexOf,Mo=bt,Ee=Do([].push),xo=function(r,e){var t=No(r),a=0,n=[],o;for(o in t)!mr(Mo,o)&&mr(t,o)&&Ee(n,o);for(;e.length>a;)mr(t,o=e[a++])&&(~Fo(n,o)||Ee(n,o));return n},Bo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Go=xo,Ko=Bo,Vo=Ko.concat("length","prototype");mt.f=Object.getOwnPropertyNames||function(e){return Go(e,Vo)};var Et={};Et.f=Object.getOwnPropertySymbols;var ko=or,Uo=s,Wo=mt,Ho=Et,zo=Ur,qo=Uo([].concat),Xo=ko("Reflect","ownKeys")||function(e){var t=Wo.f(zo(e)),a=Ho.f;return a?qo(t,a(e)):t},Te=T,Jo=Xo,Yo=Nr,Zo=L,Tt=function(r,e,t){for(var a=Jo(e),n=Zo.f,o=Yo.f,i=0;i<a.length;i++){var u=a[i];!Te(r,u)&&!(t&&Te(t,u))&&n(r,u,o(e,u))}},Qo=p,ri=f,ei=/#|\.prototype\./,B=function(r,e){var t=ai[ti(r)];return t==oi?!0:t==ni?!1:ri(e)?Qo(e):!!e},ti=B.normalize=function(r){return String(r).replace(ei,".").toLowerCase()},ai=B.data={},ni=B.NATIVE="N",oi=B.POLYFILL="P",ii=B,Or=d,ci=Nr.f,ui=D,li=St,vi=Gr,si=Tt,fi=ii,It=function(r,e){var t=r.target,a=r.global,n=r.stat,o,i,u,c,l,$;if(a?i=Or:n?i=Or[t]||vi(t,{}):i=(Or[t]||{}).prototype,i)for(u in e){if(l=e[u],r.dontCallGetSet?($=ci(i,u),c=$&&$.value):c=i[u],o=fi(a?u:t+(n?".":"#")+u,r.forced),!o&&c!==void 0){if(typeof l==typeof c)continue;si(l,c)}(r.sham||c&&c.sham)&&ui(l,"sham",!0),li(i,u,l,r)}},pi=tr,_t=Function.prototype,Ie=_t.apply,_e=_t.call,yi=typeof Reflect=="object"&&Reflect.apply||(pi?_e.bind(Ie):function(){return _e.apply(Ie,arguments)}),di=s,$i=Br,bi=function(r,e,t){try{return di($i(Object.getOwnPropertyDescriptor(r,e)[t]))}catch{}},gi=f,hi=String,Si=TypeError,mi=function(r){if(typeof r=="object"||gi(r))return r;throw Si("Can't set "+hi(r)+" as a prototype")},Oi=bi,Ei=Ur,Ti=mi,Pt=Object.setPrototypeOf||("__proto__"in{}?function(){var r=!1,e={},t;try{t=Oi(Object.prototype,"__proto__","set"),t(e,[]),r=e instanceof Array}catch{}return function(n,o){return Ei(n),Ti(o),r?t(n,o):n.__proto__=o,n}}():void 0),Ii=L.f,_i=function(r,e,t){t in r||Ii(r,t,{configurable:!0,get:function(){return e[t]},set:function(a){e[t]=a}})},Pi=f,wi=S,Pe=Pt,Ci=function(r,e,t){var a,n;return Pe&&Pi(a=e.constructor)&&a!==t&&wi(n=a.prototype)&&n!==t.prototype&&Pe(r,n),r},ji=R,Ai=ji("toStringTag"),wt={};wt[Ai]="z";var qr=String(wt)==="[object z]",Ri=qr,Li=f,Y=nr,Di=R,Ni=Di("toStringTag"),Fi=Object,Mi=Y(function(){return arguments}())=="Arguments",xi=function(r,e){try{return r[e]}catch{}},Xr=Ri?Y:function(r){var e,t,a;return r===void 0?"Undefined":r===null?"Null":typeof(t=xi(e=Fi(r),Ni))=="string"?t:Mi?Y(e):(a=Y(e))=="Object"&&Li(e.callee)?"Arguments":a},Bi=Xr,Gi=String,Ki=function(r){if(Bi(r)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Gi(r)},Vi=Ki,ki=function(r,e){return r===void 0?arguments.length<2?"":e:Vi(r)},Ui=S,Wi=D,Hi=function(r,e){Ui(e)&&"cause"in e&&Wi(r,"cause",e.cause)},zi=s,Ct=Error,qi=zi("".replace),Xi=function(r){return String(Ct(r).stack)}("zxcasd"),jt=/\n\s*at [^:]*:[^\n]*/,Ji=jt.test(Xi),Yi=function(r,e){if(Ji&&typeof r=="string"&&!Ct.prepareStackTrace)for(;e--;)r=qi(r,jt,"");return r},Zi=p,Qi=ar,rc=!Zi(function(){var r=Error("a");return"stack"in r?(Object.defineProperty(r,"stack",Qi(1,7)),r.stack!==7):!0}),ec=D,tc=Yi,ac=rc,we=Error.captureStackTrace,nc=function(r,e,t,a){ac&&(we?we(r,e):ec(r,"stack",tc(t,a)))},Ce=or,oc=T,je=D,ic=nt,Ae=Pt,Re=Tt,Le=_i,cc=Ci,uc=ki,lc=Hi,vc=nc,sc=E,fc=function(r,e,t,a){var n="stackTraceLimit",o=a?2:1,i=r.split("."),u=i[i.length-1],c=Ce.apply(null,i);if(c){var l=c.prototype;if(oc(l,"cause")&&delete l.cause,!t)return c;var $=Ce("Error"),v=e(function(m,I){var w=uc(a?I:m,void 0),h=a?new c(m):new c;return w!==void 0&&je(h,"message",w),vc(h,v,h.stack,2),this&&ic(l,this)&&cc(h,this,v),arguments.length>o&&lc(h,arguments[o]),h});v.prototype=l,u!=="Error"?Ae?Ae(v,$):Re(v,$,{name:!0}):sc&&n in c&&(Le(v,c,n),Le(v,c,"prepareStackTrace")),Re(v,c);try{l.name!==u&&je(l,"name",u),l.constructor=v}catch{}return v}},At=It,pc=d,g=yi,Rt=fc,Lr="WebAssembly",De=pc[Lr],er=Error("e",{cause:7}).cause!==7,P=function(r,e){var t={};t[r]=Rt(r,e,er),At({global:!0,constructor:!0,arity:1,forced:er},t)},Jr=function(r,e){if(De&&De[r]){var t={};t[r]=Rt(Lr+"."+r,e,er),At({target:Lr,stat:!0,constructor:!0,arity:1,forced:er},t)}};P("Error",function(r){return function(t){return g(r,this,arguments)}});P("EvalError",function(r){return function(t){return g(r,this,arguments)}});P("RangeError",function(r){return function(t){return g(r,this,arguments)}});P("ReferenceError",function(r){return function(t){return g(r,this,arguments)}});P("SyntaxError",function(r){return function(t){return g(r,this,arguments)}});P("TypeError",function(r){return function(t){return g(r,this,arguments)}});P("URIError",function(r){return function(t){return g(r,this,arguments)}});Jr("CompileError",function(r){return function(t){return g(r,this,arguments)}});Jr("LinkError",function(r){return function(t){return g(r,this,arguments)}});Jr("RuntimeError",function(r){return function(t){return g(r,this,arguments)}});var yc=nr,Lt=Array.isArray||function(e){return yc(e)=="Array"},dc=TypeError,$c=9007199254740991,bc=function(r){if(r>$c)throw dc("Maximum allowed index exceeded");return r},gc=kr,hc=L,Sc=ar,mc=function(r,e,t){var a=gc(e);a in r?hc.f(r,a,Sc(0,t)):r[a]=t},Oc=s,Ec=p,Dt=f,Tc=Xr,Ic=or,_c=$t,Nt=function(){},Pc=[],Ft=Ic("Reflect","construct"),Yr=/^\s*(?:class|function)\b/,wc=Oc(Yr.exec),Cc=!Yr.exec(Nt),M=function(e){if(!Dt(e))return!1;try{return Ft(Nt,Pc,e),!0}catch{return!1}},Mt=function(e){if(!Dt(e))return!1;switch(Tc(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Cc||!!wc(Yr,_c(e))}catch{return!0}};Mt.sham=!0;var jc=!Ft||Ec(function(){var r;return M(M.call)||!M(Object)||!M(function(){r=!0})||r})?Mt:M,Ne=Lt,Ac=jc,Rc=S,Lc=R,Dc=Lc("species"),Fe=Array,Nc=function(r){var e;return Ne(r)&&(e=r.constructor,Ac(e)&&(e===Fe||Ne(e.prototype))?e=void 0:Rc(e)&&(e=e[Dc],e===null&&(e=void 0))),e===void 0?Fe:e},Fc=Nc,xt=function(r,e){return new(Fc(r))(e===0?0:e)},Mc=p,xc=R,Bc=xr,Gc=xc("species"),Kc=function(r){return Bc>=51||!Mc(function(){var e=[],t=e.constructor={};return t[Gc]=function(){return{foo:1}},e[r](Boolean).foo!==1})},Vc=It,kc=p,Uc=Lt,Wc=S,Hc=Vr,zc=zr,Me=bc,xe=mc,qc=xt,Xc=Kc,Jc=R,Yc=xr,Bt=Jc("isConcatSpreadable"),Zc=Yc>=51||!kc(function(){var r=[];return r[Bt]=!1,r.concat()[0]!==r}),Qc=function(r){if(!Wc(r))return!1;var e=r[Bt];return e!==void 0?!!e:Uc(r)},ru=!Zc||!Xc("concat");Vc({target:"Array",proto:!0,arity:1,forced:ru},{concat:function(e){var t=Hc(this),a=qc(t,0),n=0,o,i,u,c,l;for(o=-1,u=arguments.length;o<u;o++)if(l=o===-1?t:arguments[o],Qc(l))for(c=zc(l),Me(n+c),i=0;i<c;i++,n++)i in l&&xe(a,n,l[i]);else Me(n+1),xe(a,n++,l);return a.length=n,a}});var eu=qr,tu=Xr,au=eu?{}.toString:function(){return"[object "+tu(this)+"]"},nu=qr,ou=St,iu=au;nu||ou(Object.prototype,"toString",iu,{unsafe:!0});var cu={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},uu=ft,Er=uu("span").classList,Be=Er&&Er.constructor&&Er.constructor.prototype,lu=Be===Object.prototype?void 0:Be,vu=nr,su=s,fu=function(r){if(vu(r)==="Function")return su(r)},Ge=fu,pu=Br,yu=tr,du=Ge(Ge.bind),$u=function(r,e){return pu(r),e===void 0?r:yu?du(r,e):function(){return r.apply(e,arguments)}},bu=$u,gu=s,hu=Ze,Su=Vr,mu=zr,Ou=xt,Ke=gu([].push),O=function(r){var e=r==1,t=r==2,a=r==3,n=r==4,o=r==6,i=r==7,u=r==5||o;return function(c,l,$,v){for(var m=Su(c),I=hu(m),w=bu(l,$),h=mu(I),_=0,Zr=v||Ou,G=e?Zr(c,h):t||i?Zr(c,0):void 0,N,ir;h>_;_++)if((u||_ in I)&&(N=I[_],ir=w(N,_,m),r))if(e)G[_]=ir;else if(ir)switch(r){case 3:return!0;case 5:return N;case 6:return _;case 2:Ke(G,N)}else switch(r){case 4:return!1;case 7:Ke(G,N)}return o?-1:a||n?n:G}},Eu={forEach:O(0),map:O(1),filter:O(2),some:O(3),every:O(4),find:O(5),findIndex:O(6),filterReject:O(7)},Tu=p,Iu=function(r,e){var t=[][r];return!!t&&Tu(function(){t.call(null,e||function(){return 1},1)})},_u=Eu.forEach,Pu=Iu,wu=Pu("forEach"),Cu=wu?[].forEach:function(e){return _u(this,e,arguments.length>1?arguments[1]:void 0)},Ve=d,ke=cu,ju=lu,Tr=Cu,Au=D,Gt=function(r){if(r&&r.forEach!==Tr)try{Au(r,"forEach",Tr)}catch{r.forEach=Tr}};for(var Ir in ke)ke[Ir]&&Gt(Ve[Ir]&&Ve[Ir].prototype);Gt(ju);/*!
* el-table-infinite-scroll v3.0.1
* (c) 2019-2022 yujinpan
*/function Ru(r,e,t){var a;t.forEach(function(n){a=r.getAttribute(n),a!==null?e.setAttribute(n,a):e.removeAttribute(n)})}/*!
* el-table-infinite-scroll v3.0.1
* (c) 2019-2022 yujinpan
*/var Ue="[el-table-infinite-scroll]: ",X=".el-scrollbar__wrap",Dr={mounted:function(e,t,a,n){var o=e.querySelector(X);if(!o)throw new Error(""+Ue+X+" element not found.");o.style.overflowY="auto",setTimeout(function(){e.style.height||(o.style.height="400px",console.warn(Ue+"el-table height required, otherwise will set scrollbar default height: 400px")),We(e,o),cr.mounted(o,t,a,n)},0)},updated:function(e){We(e,e.querySelector(X))},unmounted:function(e){for(var t=e.querySelector(X),a=arguments.length,n=new Array(a>1?a-1:0),o=1;o<a;o++)n[o-1]=arguments[o];cr.unmounted.apply(cr,[t].concat(n))}};function We(r,e){Ru(r,e,["infinite-scroll-disabled","infinite-scroll-delay","infinite-scroll-immediate","infinite-scroll-distance"]);var t="infinite-scroll-distance",a=+(r.getAttribute(t)||0);e.setAttribute(t,(a<1?1:a)+"")}/*!
* el-table-infinite-scroll v3.0.1
* (c) 2019-2022 yujinpan
*/Dr.install=function(r){r.directive("el-table-infinite-scroll",Dr)};const Lu={class:"font-medium"},Du={class:"mb-2"},Fu=Kt({name:"InfiniteScroll",__name:"infinite-scroll",setup(r){const e=new Array(10).fill({date:"2022-08-24",name:"RealityBoy",age:"18"}),t=K([]),a=K(!1),n=K(0),o=K(10),i=()=>{a.value||(n.value++,n.value<=o.value&&(t.value=t.value.concat(e)),n.value===o.value&&(a.value=!0))};return(u,c)=>{const l=F("el-link"),$=F("el-switch"),v=F("el-table-column"),m=F("el-table"),I=F("el-card");return ee(),re(I,{shadow:"never"},{header:V(()=>[k("div",Lu,[U(" 表格无限滚动( "),C(l,{href:"https://github.com/yujinpan/el-table-infinite-scroll",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:V(()=>[U(" github地址 ")]),_:1}),U(" ")])]),default:V(()=>[k("div",null,[k("p",Du,[k("span",null,"loaded page(total: "+te(o.value)+"): "+te(n.value)+", ",1),U(" disabled: "),C($,{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=w=>a.value=w),disabled:n.value>=o.value},null,8,["modelValue","disabled"])]),Vt((ee(),re(m,{data:t.value,"infinite-scroll-disabled":a.value,height:"435px"},{default:V(()=>[C(v,{type:"index"}),C(v,{prop:"date",label:"date"}),C(v,{prop:"name",label:"name"}),C(v,{prop:"age",label:"age"})]),_:1},8,["data","infinite-scroll-disabled"])),[[kt(Dr),i]])])]),_:1})}}});export{Fu as default};