import{a2 as V,a3 as ur,d as Mt,r as k,c as Qr,w as U,b as D,f as re,g as W,h as z,i as C,t as ee,k as xt,u as Bt}from"./index-24ofiFkH.js";var M=function(r){return r&&r.Math===Math&&r},y=M(typeof globalThis=="object"&&globalThis)||M(typeof window=="object"&&window)||M(typeof self=="object"&&self)||M(typeof V=="object"&&V)||M(typeof V=="object"&&V)||function(){return this}()||Function("return this")(),Fr={},f=function(r){try{return!!r()}catch(e){return!0}},Gt=f,E=!Gt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Kt=f,ar=!Kt(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),Vt=ar,H=Function.prototype.call,Dr=Vt?H.bind(H):function(){return H.apply(H,arguments)},Ue={},We={}.propertyIsEnumerable,ze=Object.getOwnPropertyDescriptor,kt=ze&&!We.call({1:2},1);Ue.f=kt?function(e){var t=ze(this,e);return!!t&&t.enumerable}:We;var nr=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}},He=ar,qe=Function.prototype,_r=qe.call,Ut=He&&qe.bind.bind(_r,_r),v=He?Ut:function(r){return function(){return _r.apply(r,arguments)}},Xe=v,Wt=Xe({}.toString),zt=Xe("".slice),or=function(r){return zt(Wt(r),8,-1)},Ht=v,qt=f,Xt=or,lr=Object,Jt=Ht("".split),Je=qt(function(){return!lr("z").propertyIsEnumerable(0)})?function(r){return Xt(r)==="String"?Jt(r,""):lr(r)}:lr,Ye=function(r){return r==null},Yt=Ye,Zt=TypeError,Ze=function(r){if(Yt(r))throw new Zt("Can't call method on "+r);return r},Qt=Je,ra=Ze,Mr=function(r){return Qt(ra(r))},sr=typeof document=="object"&&document.all,p=typeof sr=="undefined"&&sr!==void 0?function(r){return typeof r=="function"||r===sr}:function(r){return typeof r=="function"},ea=p,g=function(r){return typeof r=="object"?r!==null:ea(r)},vr=y,ta=p,aa=function(r){return ta(r)?r:void 0},ir=function(r,e){return arguments.length<2?aa(vr[r]):vr[r]&&vr[r][e]},na=v,Qe=na({}.isPrototypeOf),oa=typeof navigator!="undefined"&&String(navigator.userAgent)||"",rt=y,fr=oa,te=rt.process,ae=rt.Deno,ne=te&&te.versions||ae&&ae.version,oe=ne&&ne.v8,d,Q;oe&&(d=oe.split("."),Q=d[0]>0&&d[0]<4?1:+(d[0]+d[1]));!Q&&fr&&(d=fr.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=fr.match(/Chrome\/(\d+)/),d&&(Q=+d[1])));var xr=Q,ie=xr,ia=f,ca=y,ua=ca.String,et=!!Object.getOwnPropertySymbols&&!ia(function(){var r=Symbol("symbol detection");return!ua(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&ie&&ie<41}),la=et,tt=la&&!Symbol.sham&&typeof Symbol.iterator=="symbol",sa=ir,va=p,fa=Qe,pa=tt,ya=Object,at=pa?function(r){return typeof r=="symbol"}:function(r){var e=sa("Symbol");return va(e)&&fa(e.prototype,ya(r))},da=String,$a=function(r){try{return da(r)}catch(e){return"Object"}},ba=p,ga=$a,ha=TypeError,Br=function(r){if(ba(r))return r;throw new ha(ga(r)+" is not a function")},Sa=Br,ma=Ye,Oa=function(r,e){var t=r[e];return ma(t)?void 0:Sa(t)},pr=Dr,yr=p,dr=g,Ea=TypeError,Ta=function(r,e){var t,a;if(e==="string"&&yr(t=r.toString)&&!dr(a=pr(t,r))||yr(t=r.valueOf)&&!dr(a=pr(t,r))||e!=="string"&&yr(t=r.toString)&&!dr(a=pr(t,r)))return a;throw new Ea("Can't convert object to primitive value")},nt={exports:{}},ce=y,Ia=Object.defineProperty,Gr=function(r,e){try{Ia(ce,r,{value:e,configurable:!0,writable:!0})}catch(t){ce[r]=e}return e},wa=y,Pa=Gr,ue="__core-js_shared__",_a=wa[ue]||Pa(ue,{}),Kr=_a,le=Kr;(nt.exports=function(r,e){return le[r]||(le[r]=e!==void 0?e:{})})("versions",[]).push({version:"3.35.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ot=nt.exports,Ca=Ze,ja=Object,Vr=function(r){return ja(Ca(r))},Ra=v,Aa=Vr,La=Ra({}.hasOwnProperty),T=Object.hasOwn||function(e,t){return La(Aa(e),t)},Na=v,Fa=0,Da=Math.random(),Ma=Na(1 .toString),it=function(r){return"Symbol("+(r===void 0?"":r)+")_"+Ma(++Fa+Da,36)},xa=y,Ba=ot,se=T,Ga=it,Ka=et,Va=tt,R=xa.Symbol,$r=Ba("wks"),ka=Va?R.for||R:R&&R.withoutSetter||Ga,A=function(r){return se($r,r)||($r[r]=Ka&&se(R,r)?R[r]:ka("Symbol."+r)),$r[r]},Ua=Dr,ve=g,fe=at,Wa=Oa,za=Ta,Ha=A,qa=TypeError,Xa=Ha("toPrimitive"),Ja=function(r,e){if(!ve(r)||fe(r))return r;var t=Wa(r,Xa),a;if(t){if(e===void 0&&(e="default"),a=Ua(t,r,e),!ve(a)||fe(a))return a;throw new qa("Can't convert object to primitive value")}return e===void 0&&(e="number"),za(r,e)},Ya=Ja,Za=at,kr=function(r){var e=Ya(r,"string");return Za(e)?e:e+""},Qa=y,pe=g,Cr=Qa.document,rn=pe(Cr)&&pe(Cr.createElement),ct=function(r){return rn?Cr.createElement(r):{}},en=E,tn=f,an=ct,ut=!en&&!tn(function(){return Object.defineProperty(an("div"),"a",{get:function(){return 7}}).a!==7}),nn=E,on=Dr,cn=Ue,un=nr,ln=Mr,sn=kr,vn=T,fn=ut,ye=Object.getOwnPropertyDescriptor;Fr.f=nn?ye:function(e,t){if(e=ln(e),t=sn(t),fn)try{return ye(e,t)}catch(a){}if(vn(e,t))return un(!on(cn.f,e,t),e[t])};var L={},pn=E,yn=f,dn=pn&&yn(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),$n=g,bn=String,gn=TypeError,Ur=function(r){if($n(r))return r;throw new gn(bn(r)+" is not an object")},hn=E,Sn=ut,mn=dn,q=Ur,de=kr,On=TypeError,br=Object.defineProperty,En=Object.getOwnPropertyDescriptor,gr="enumerable",hr="configurable",Sr="writable";L.f=hn?mn?function(e,t,a){if(q(e),t=de(t),q(a),typeof e=="function"&&t==="prototype"&&"value"in a&&Sr in a&&!a[Sr]){var n=En(e,t);n&&n[Sr]&&(e[t]=a.value,a={configurable:hr in a?a[hr]:n[hr],enumerable:gr in a?a[gr]:n[gr],writable:!1})}return br(e,t,a)}:br:function(e,t,a){if(q(e),t=de(t),q(a),Sn)try{return br(e,t,a)}catch(n){}if("get"in a||"set"in a)throw new On("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var Tn=E,In=L,wn=nr,N=Tn?function(r,e,t){return In.f(r,e,wn(1,t))}:function(r,e,t){return r[e]=t,r},lt={exports:{}},jr=E,Pn=T,st=Function.prototype,_n=jr&&Object.getOwnPropertyDescriptor,Wr=Pn(st,"name"),Cn=Wr&&function(){}.name==="something",jn=Wr&&(!jr||jr&&_n(st,"name").configurable),Rn={EXISTS:Wr,PROPER:Cn,CONFIGURABLE:jn},An=v,Ln=p,Rr=Kr,Nn=An(Function.toString);Ln(Rr.inspectSource)||(Rr.inspectSource=function(r){return Nn(r)});var vt=Rr.inspectSource,Fn=y,Dn=p,$e=Fn.WeakMap,Mn=Dn($e)&&/native code/.test(String($e)),xn=ot,Bn=it,be=xn("keys"),Gn=function(r){return be[r]||(be[r]=Bn(r))},ft={},Kn=Mn,pt=y,Vn=g,kn=N,mr=T,Or=Kr,Un=Gn,Wn=ft,ge="Object already initialized",Ar=pt.TypeError,zn=pt.WeakMap,rr,B,er,Hn=function(r){return er(r)?B(r):rr(r,{})},qn=function(r){return function(e){var t;if(!Vn(e)||(t=B(e)).type!==r)throw new Ar("Incompatible receiver, "+r+" required");return t}};if(Kn||Or.state){var b=Or.state||(Or.state=new zn);b.get=b.get,b.has=b.has,b.set=b.set,rr=function(r,e){if(b.has(r))throw new Ar(ge);return e.facade=r,b.set(r,e),e},B=function(r){return b.get(r)||{}},er=function(r){return b.has(r)}}else{var j=Un("state");Wn[j]=!0,rr=function(r,e){if(mr(r,j))throw new Ar(ge);return e.facade=r,kn(r,j,e),e},B=function(r){return mr(r,j)?r[j]:{}},er=function(r){return mr(r,j)}}var Xn={set:rr,get:B,has:er,enforce:Hn,getterFor:qn},zr=v,Jn=f,Yn=p,X=T,Lr=E,Zn=Rn.CONFIGURABLE,Qn=vt,yt=Xn,ro=yt.enforce,eo=yt.get,he=String,Y=Object.defineProperty,to=zr("".slice),ao=zr("".replace),no=zr([].join),oo=Lr&&!Jn(function(){return Y(function(){},"length",{value:8}).length!==8}),io=String(String).split("String"),co=lt.exports=function(r,e,t){to(he(e),0,7)==="Symbol("&&(e="["+ao(he(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),t&&t.getter&&(e="get "+e),t&&t.setter&&(e="set "+e),(!X(r,"name")||Zn&&r.name!==e)&&(Lr?Y(r,"name",{value:e,configurable:!0}):r.name=e),oo&&t&&X(t,"arity")&&r.length!==t.arity&&Y(r,"length",{value:t.arity});try{t&&X(t,"constructor")&&t.constructor?Lr&&Y(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(n){}var a=ro(r);return X(a,"source")||(a.source=no(io,typeof e=="string"?e:"")),r};Function.prototype.toString=co(function(){return Yn(this)&&eo(this).source||Qn(this)},"toString");var uo=lt.exports,lo=p,so=L,vo=uo,fo=Gr,dt=function(r,e,t,a){a||(a={});var n=a.enumerable,o=a.name!==void 0?a.name:e;if(lo(t)&&vo(t,o,a),a.global)n?r[e]=t:fo(e,t);else{try{a.unsafe?r[e]&&(n=!0):delete r[e]}catch(i){}n?r[e]=t:so.f(r,e,{value:t,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return r},$t={},po=Math.ceil,yo=Math.floor,$o=Math.trunc||function(e){var t=+e;return(t>0?yo:po)(t)},bo=$o,bt=function(r){var e=+r;return e!==e||e===0?0:bo(e)},go=bt,ho=Math.max,So=Math.min,mo=function(r,e){var t=go(r);return t<0?ho(t+e,0):So(t,e)},Oo=bt,Eo=Math.min,To=function(r){return r>0?Eo(Oo(r),9007199254740991):0},Io=To,Hr=function(r){return Io(r.length)},wo=Mr,Po=mo,_o=Hr,Se=function(r){return function(e,t,a){var n=wo(e),o=_o(n),i=Po(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}},Co={includes:Se(!0),indexOf:Se(!1)},jo=v,Er=T,Ro=Mr,Ao=Co.indexOf,Lo=ft,me=jo([].push),No=function(r,e){var t=Ro(r),a=0,n=[],o;for(o in t)!Er(Lo,o)&&Er(t,o)&&me(n,o);for(;e.length>a;)Er(t,o=e[a++])&&(~Ao(n,o)||me(n,o));return n},Fo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Do=No,Mo=Fo,xo=Mo.concat("length","prototype");$t.f=Object.getOwnPropertyNames||function(e){return Do(e,xo)};var gt={};gt.f=Object.getOwnPropertySymbols;var Bo=ir,Go=v,Ko=$t,Vo=gt,ko=Ur,Uo=Go([].concat),Wo=Bo("Reflect","ownKeys")||function(e){var t=Ko.f(ko(e)),a=Vo.f;return a?Uo(t,a(e)):t},Oe=T,zo=Wo,Ho=Fr,qo=L,ht=function(r,e,t){for(var a=zo(e),n=qo.f,o=Ho.f,i=0;io&&cc(m,arguments[o]),m});s.prototype=l,u!=="Error"?Ce?Ce(s,$):je(s,$,{name:!0}):lc&&n in c&&(Re(s,c,n),Re(s,c,"prepareStackTrace")),je(s,c);try{l.name!==u&&_e(l,"name",u),l.constructor=s}catch(S){}return s}},wt=St,vc=y,h=si,Pt=sc,Nr="WebAssembly",Ae=vc[Nr],tr=new Error("e",{cause:7}).cause!==7,_=function(r,e){var t={};t[r]=Pt(r,e,tr),wt({global:!0,constructor:!0,arity:1,forced:tr},t)},Jr=function(r,e){if(Ae&&Ae[r]){var t={};t[r]=Pt(Nr+"."+r,e,tr),wt({target:Nr,stat:!0,constructor:!0,arity:1,forced:tr},t)}};_("Error",function(r){return function(t){return h(r,this,arguments)}});_("EvalError",function(r){return function(t){return h(r,this,arguments)}});_("RangeError",function(r){return function(t){return h(r,this,arguments)}});_("ReferenceError",function(r){return function(t){return h(r,this,arguments)}});_("SyntaxError",function(r){return function(t){return h(r,this,arguments)}});_("TypeError",function(r){return function(t){return h(r,this,arguments)}});_("URIError",function(r){return function(t){return h(r,this,arguments)}});Jr("CompileError",function(r){return function(t){return h(r,this,arguments)}});Jr("LinkError",function(r){return function(t){return h(r,this,arguments)}});Jr("RuntimeError",function(r){return function(t){return h(r,this,arguments)}});var fc=or,_t=Array.isArray||function(e){return fc(e)==="Array"},pc=TypeError,yc=9007199254740991,dc=function(r){if(r>yc)throw pc("Maximum allowed index exceeded");return r},$c=kr,bc=L,gc=nr,hc=function(r,e,t){var a=$c(e);a in r?bc.f(r,a,gc(0,t)):r[a]=t},Sc=v,mc=f,Ct=p,Oc=Xr,Ec=ir,Tc=vt,jt=function(){},Ic=[],Rt=Ec("Reflect","construct"),Yr=/^\s*(?:class|function)\b/,wc=Sc(Yr.exec),Pc=!Yr.test(jt),x=function(e){if(!Ct(e))return!1;try{return Rt(jt,Ic,e),!0}catch(t){return!1}},At=function(e){if(!Ct(e))return!1;switch(Oc(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Pc||!!wc(Yr,Tc(e))}catch(t){return!0}};At.sham=!0;var _c=!Rt||mc(function(){var r;return x(x.call)||!x(Object)||!x(function(){r=!0})||r})?At:x,Le=_t,Cc=_c,jc=g,Rc=A,Ac=Rc("species"),Ne=Array,Lc=function(r){var e;return Le(r)&&(e=r.constructor,Cc(e)&&(e===Ne||Le(e.prototype))?e=void 0:jc(e)&&(e=e[Ac],e===null&&(e=void 0))),e===void 0?Ne:e},Nc=Lc,Lt=function(r,e){return new(Nc(r))(e===0?0:e)},Fc=f,Dc=A,Mc=xr,xc=Dc("species"),Bc=function(r){return Mc>=51||!Fc(function(){var e=[],t=e.constructor={};return t[xc]=function(){return{foo:1}},e[r](Boolean).foo!==1})},Gc=St,Kc=f,Vc=_t,kc=g,Uc=Vr,Wc=Hr,Fe=dc,De=hc,zc=Lt,Hc=Bc,qc=A,Xc=xr,Nt=qc("isConcatSpreadable"),Jc=Xc>=51||!Kc(function(){var r=[];return r[Nt]=!1,r.concat()[0]!==r}),Yc=function(r){if(!kc(r))return!1;var e=r[Nt];return e!==void 0?!!e:Vc(r)},Zc=!Jc||!Hc("concat");Gc({target:"Array",proto:!0,arity:1,forced:Zc},{concat:function(e){var t=Uc(this),a=zc(t,0),n=0,o,i,u,c,l;for(o=-1,u=arguments.length;oP;P++)if((u||P in I)&&(F=I[P],cr=m(F,P,S),r))if(e)K[P]=cr;else if(cr)switch(r){case 3:return!0;case 5:return F;case 6:return P;case 2:Be(K,F)}else switch(r){case 4:return!1;case 7:Be(K,F)}return o?-1:a||n?n:K}},mu={forEach:O(0),map:O(1),filter:O(2),some:O(3),every:O(4),find:O(5),findIndex:O(6),filterReject:O(7)},Ou=f,Eu=function(r,e){var t=[][r];return!!t&&Ou(function(){t.call(null,e||function(){return 1},1)})},Tu=mu.forEach,Iu=Eu,wu=Iu("forEach"),Pu=wu?[].forEach:function(e){return Tu(this,e,arguments.length>1?arguments[1]:void 0)},Ge=y,Ke=ou,_u=cu,wr=Pu,Cu=N,Ft=function(r){if(r&&r.forEach!==wr)try{Cu(r,"forEach",wr)}catch(e){r.forEach=wr}};for(var Pr in Ke)Ke[Pr]&&Ft(Ge[Pr]&&Ge[Pr].prototype);Ft(_u);/*! * el-table-infinite-scroll v3.0.3 * (c) 2019-2023 yujinpan */function ju(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.3 * (c) 2019-2023 yujinpan */var Ve="[el-table-infinite-scroll]: ",J=".el-scrollbar__wrap",Ru={mounted:function(e,t,a,n){var o=e.querySelector(J);if(!o)throw new Error("".concat(Ve).concat(J," element not found."));o.style.overflowY="auto",setTimeout(function(){e.style.height||(o.style.height="400px",console.warn("".concat(Ve,"el-table height required, otherwise will set scrollbar default height: 400px"))),ke(e,o),ur.mounted(o,t,a,n)},0)},updated:function(e){ke(e,e.querySelector(J))},unmounted:function(e){for(var t=e.querySelector(J),a=arguments.length,n=new Array(a>1?a-1:0),o=1;o{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=D("el-link"),$=D("el-switch"),s=D("el-table-column"),S=D("el-table"),I=D("el-card");return re(),Qr(I,{shadow:"never"},{header:U(()=>[W("div",Au,[z(" 表格无限滚动( "),C(l,{href:"https://github.com/yujinpan/el-table-infinite-scroll",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:U(()=>[z(" github地址 ")]),_:1}),z(" ) ")])]),default:U(()=>[W("div",null,[W("p",Lu,[W("span",null,"loaded page(total: "+ee(o.value)+"): "+ee(n.value)+", ",1),z(" disabled: "),C($,{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=w=>a.value=w),disabled:n.value>=o.value},null,8,["modelValue","disabled"])]),xt((re(),Qr(S,{data:t.value,"infinite-scroll-disabled":a.value,height:"435px"},{default:U(()=>[C(s,{type:"index"}),C(s,{prop:"date",label:"date"}),C(s,{prop:"name",label:"name"}),C(s,{prop:"age",label:"age"})]),_:1},8,["data","infinite-scroll-disabled"])),[[Bt(Dt),i]])])]),_:1})}}});export{Fu as default};