bootstrap-table-auto-refresh.min.js 20 KB

12345678910
  1. /**
  2. * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
  3. *
  4. * @version v1.23.3
  5. * @homepage https://bootstrap-table.com
  6. * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
  7. * @license MIT
  8. */
  9. !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e,n){return e=o(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,i()?Reflect.construct(e,n||[],o(t).constructor):e.apply(t,n))}function n(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,a(r.key),r)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},r.apply(null,arguments)}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function i(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(i=function(){return!!t})()}function u(t,e){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function c(t,e,n,i){var u=r(o(t.prototype),e,n);return function(t){return u.apply(n,t)}}function a(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=function(t){return t&&t.Math===Math&&t},l=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof f&&f)||s("object"==typeof f&&f)||function(){return this}()||Function("return this")(),p={},h=function(t){try{return!!t()}catch(t){return!0}},b=!h((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),y=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=y,d=Function.prototype.call,g=v?d.bind(d):function(){return d.apply(d,arguments)},m={},w={}.propertyIsEnumerable,O=Object.getOwnPropertyDescriptor,j=O&&!w.call({1:2},1);m.f=j?function(t){var e=O(this,t);return!!e&&e.enumerable}:w;var S,R,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},T=y,A=Function.prototype,E=A.call,I=T&&A.bind.bind(E,E),F=T?I:function(t){return function(){return E.apply(t,arguments)}},k=F,x=k({}.toString),C=k("".slice),_=function(t){return C(x(t),8,-1)},M=h,z=_,B=Object,D=F("".split),L=M((function(){return!B("z").propertyIsEnumerable(0)}))?function(t){return"String"===z(t)?D(t,""):B(t)}:B,N=function(t){return null==t},q=N,G=TypeError,W=function(t){if(q(t))throw new G("Can't call method on "+t);return t},$=L,U=W,X=function(t){return $(U(t))},K="object"==typeof document&&document.all,Q=void 0===K&&void 0!==K?function(t){return"function"==typeof t||t===K}:function(t){return"function"==typeof t},V=Q,Y=function(t){return"object"==typeof t?null!==t:V(t)},H=l,J=Q,Z=function(t,e){return arguments.length<2?(n=H[t],J(n)?n:void 0):H[t]&&H[t][e];var n},tt=F({}.isPrototypeOf),et=l.navigator,nt=et&&et.userAgent,rt=l,ot=nt?String(nt):"",it=rt.process,ut=rt.Deno,ct=it&&it.versions||ut&&ut.version,at=ct&&ct.v8;at&&(R=(S=at.split("."))[0]>0&&S[0]<4?1:+(S[0]+S[1])),!R&&ot&&(!(S=ot.match(/Edge\/(\d+)/))||S[1]>=74)&&(S=ot.match(/Chrome\/(\d+)/))&&(R=+S[1]);var ft=R,st=ft,lt=h,pt=l.String,ht=!!Object.getOwnPropertySymbols&&!lt((function(){var t=Symbol("symbol detection");return!pt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&st&&st<41})),bt=ht&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,yt=Z,vt=Q,dt=tt,gt=Object,mt=bt?function(t){return"symbol"==typeof t}:function(t){var e=yt("Symbol");return vt(e)&&dt(e.prototype,gt(t))},wt=String,Ot=Q,jt=function(t){try{return wt(t)}catch(t){return"Object"}},St=TypeError,Rt=function(t){if(Ot(t))return t;throw new St(jt(t)+" is not a function")},Pt=Rt,Tt=N,At=g,Et=Q,It=Y,Ft=TypeError,kt={exports:{}},xt=l,Ct=Object.defineProperty,_t=function(t,e){try{Ct(xt,t,{value:e,configurable:!0,writable:!0})}catch(n){xt[t]=e}return e},Mt=l,zt=_t,Bt="__core-js_shared__",Dt=kt.exports=Mt[Bt]||zt(Bt,{});(Dt.versions||(Dt.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Lt=kt.exports,Nt=Lt,qt=function(t,e){return Nt[t]||(Nt[t]=e||{})},Gt=W,Wt=Object,$t=function(t){return Wt(Gt(t))},Ut=$t,Xt=F({}.hasOwnProperty),Kt=Object.hasOwn||function(t,e){return Xt(Ut(t),e)},Qt=F,Vt=0,Yt=Math.random(),Ht=Qt(1..toString),Jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Ht(++Vt+Yt,36)},Zt=qt,te=Kt,ee=Jt,ne=ht,re=bt,oe=l.Symbol,ie=Zt("wks"),ue=re?oe.for||oe:oe&&oe.withoutSetter||ee,ce=function(t){return te(ie,t)||(ie[t]=ne&&te(oe,t)?oe[t]:ue("Symbol."+t)),ie[t]},ae=g,fe=Y,se=mt,le=function(t,e){var n=t[e];return Tt(n)?void 0:Pt(n)},pe=function(t,e){var n,r;if("string"===e&&Et(n=t.toString)&&!It(r=At(n,t)))return r;if(Et(n=t.valueOf)&&!It(r=At(n,t)))return r;if("string"!==e&&Et(n=t.toString)&&!It(r=At(n,t)))return r;throw new Ft("Can't convert object to primitive value")},he=TypeError,be=ce("toPrimitive"),ye=function(t,e){if(!fe(t)||se(t))return t;var n,r=le(t,be);if(r){if(void 0===e&&(e="default"),n=ae(r,t,e),!fe(n)||se(n))return n;throw new he("Can't convert object to primitive value")}return void 0===e&&(e="number"),pe(t,e)},ve=mt,de=function(t){var e=ye(t,"string");return ve(e)?e:e+""},ge=Y,me=l.document,we=ge(me)&&ge(me.createElement),Oe=function(t){return we?me.createElement(t):{}},je=Oe,Se=!b&&!h((function(){return 7!==Object.defineProperty(je("div"),"a",{get:function(){return 7}}).a})),Re=b,Pe=g,Te=m,Ae=P,Ee=X,Ie=de,Fe=Kt,ke=Se,xe=Object.getOwnPropertyDescriptor;p.f=Re?xe:function(t,e){if(t=Ee(t),e=Ie(e),ke)try{return xe(t,e)}catch(t){}if(Fe(t,e))return Ae(!Pe(Te.f,t,e),t[e])};var Ce={},_e=b&&h((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Me=Y,ze=String,Be=TypeError,De=function(t){if(Me(t))return t;throw new Be(ze(t)+" is not an object")},Le=b,Ne=Se,qe=_e,Ge=De,We=de,$e=TypeError,Ue=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,Ke="enumerable",Qe="configurable",Ve="writable";Ce.f=Le?qe?function(t,e,n){if(Ge(t),e=We(e),Ge(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ve in n&&!n[Ve]){var r=Xe(t,e);r&&r[Ve]&&(t[e]=n.value,n={configurable:Qe in n?n[Qe]:r[Qe],enumerable:Ke in n?n[Ke]:r[Ke],writable:!1})}return Ue(t,e,n)}:Ue:function(t,e,n){if(Ge(t),e=We(e),Ge(n),Ne)try{return Ue(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new $e("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Ye=Ce,He=P,Je=b?function(t,e,n){return Ye.f(t,e,He(1,n))}:function(t,e,n){return t[e]=n,t},Ze={exports:{}},tn=b,en=Kt,nn=Function.prototype,rn=tn&&Object.getOwnPropertyDescriptor,on=en(nn,"name"),un={EXISTS:on,PROPER:on&&"something"===function(){}.name,CONFIGURABLE:on&&(!tn||tn&&rn(nn,"name").configurable)},cn=Q,an=Lt,fn=F(Function.toString);cn(an.inspectSource)||(an.inspectSource=function(t){return fn(t)});var sn,ln,pn,hn=an.inspectSource,bn=Q,yn=l.WeakMap,vn=bn(yn)&&/native code/.test(String(yn)),dn=Jt,gn=qt("keys"),mn=function(t){return gn[t]||(gn[t]=dn(t))},wn={},On=vn,jn=l,Sn=Y,Rn=Je,Pn=Kt,Tn=Lt,An=mn,En=wn,In="Object already initialized",Fn=jn.TypeError,kn=jn.WeakMap;if(On||Tn.state){var xn=Tn.state||(Tn.state=new kn);xn.get=xn.get,xn.has=xn.has,xn.set=xn.set,sn=function(t,e){if(xn.has(t))throw new Fn(In);return e.facade=t,xn.set(t,e),e},ln=function(t){return xn.get(t)||{}},pn=function(t){return xn.has(t)}}else{var Cn=An("state");En[Cn]=!0,sn=function(t,e){if(Pn(t,Cn))throw new Fn(In);return e.facade=t,Rn(t,Cn,e),e},ln=function(t){return Pn(t,Cn)?t[Cn]:{}},pn=function(t){return Pn(t,Cn)}}var _n={set:sn,get:ln,has:pn,enforce:function(t){return pn(t)?ln(t):sn(t,{})},getterFor:function(t){return function(e){var n;if(!Sn(e)||(n=ln(e)).type!==t)throw new Fn("Incompatible receiver, "+t+" required");return n}}},Mn=F,zn=h,Bn=Q,Dn=Kt,Ln=b,Nn=un.CONFIGURABLE,qn=hn,Gn=_n.enforce,Wn=_n.get,$n=String,Un=Object.defineProperty,Xn=Mn("".slice),Kn=Mn("".replace),Qn=Mn([].join),Vn=Ln&&!zn((function(){return 8!==Un((function(){}),"length",{value:8}).length})),Yn=String(String).split("String"),Hn=Ze.exports=function(t,e,n){"Symbol("===Xn($n(e),0,7)&&(e="["+Kn($n(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!Dn(t,"name")||Nn&&t.name!==e)&&(Ln?Un(t,"name",{value:e,configurable:!0}):t.name=e),Vn&&n&&Dn(n,"arity")&&t.length!==n.arity&&Un(t,"length",{value:n.arity});try{n&&Dn(n,"constructor")&&n.constructor?Ln&&Un(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=Gn(t);return Dn(r,"source")||(r.source=Qn(Yn,"string"==typeof e?e:"")),t};Function.prototype.toString=Hn((function(){return Bn(this)&&Wn(this).source||qn(this)}),"toString");var Jn=Ze.exports,Zn=Q,tr=Ce,er=Jn,nr=_t,rr=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(Zn(n)&&er(n,i,r),r.global)o?t[e]=n:nr(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:tr.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},or={},ir=Math.ceil,ur=Math.floor,cr=Math.trunc||function(t){var e=+t;return(e>0?ur:ir)(e)},ar=function(t){var e=+t;return e!=e||0===e?0:cr(e)},fr=ar,sr=Math.max,lr=Math.min,pr=ar,hr=Math.min,br=function(t){var e=pr(t);return e>0?hr(e,9007199254740991):0},yr=function(t){return br(t.length)},vr=X,dr=function(t,e){var n=fr(t);return n<0?sr(n+e,0):lr(n,e)},gr=yr,mr=function(t){return function(e,n,r){var o=vr(e),i=gr(o);if(0===i)return!t&&-1;var u,c=dr(r,i);if(t&&n!=n){for(;i>c;)if((u=o[c++])!=u)return!0}else for(;i>c;c++)if((t||c in o)&&o[c]===n)return t||c||0;return!t&&-1}},wr={includes:mr(!0),indexOf:mr(!1)},Or=Kt,jr=X,Sr=wr.indexOf,Rr=wn,Pr=F([].push),Tr=function(t,e){var n,r=jr(t),o=0,i=[];for(n in r)!Or(Rr,n)&&Or(r,n)&&Pr(i,n);for(;e.length>o;)Or(r,n=e[o++])&&(~Sr(i,n)||Pr(i,n));return i},Ar=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Er=Tr,Ir=Ar.concat("length","prototype");or.f=Object.getOwnPropertyNames||function(t){return Er(t,Ir)};var Fr={};Fr.f=Object.getOwnPropertySymbols;var kr=Z,xr=or,Cr=Fr,_r=De,Mr=F([].concat),zr=kr("Reflect","ownKeys")||function(t){var e=xr.f(_r(t)),n=Cr.f;return n?Mr(e,n(t)):e},Br=Kt,Dr=zr,Lr=p,Nr=Ce,qr=h,Gr=Q,Wr=/#|\.prototype\./,$r=function(t,e){var n=Xr[Ur(t)];return n===Qr||n!==Kr&&(Gr(e)?qr(e):!!e)},Ur=$r.normalize=function(t){return String(t).replace(Wr,".").toLowerCase()},Xr=$r.data={},Kr=$r.NATIVE="N",Qr=$r.POLYFILL="P",Vr=$r,Yr=l,Hr=p.f,Jr=Je,Zr=rr,to=_t,eo=function(t,e,n){for(var r=Dr(e),o=Nr.f,i=Lr.f,u=0;u<r.length;u++){var c=r[u];Br(t,c)||n&&Br(n,c)||o(t,c,i(e,c))}},no=Vr,ro=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?Yr:f?Yr[c]||to(c,{}):Yr[c]&&Yr[c].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=Hr(n,r))&&u.value:n[r],!no(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;eo(i,o)}(t.sham||o&&o.sham)&&Jr(i,"sham",!0),Zr(n,r,i,t)}},oo=_,io=Array.isArray||function(t){return"Array"===oo(t)},uo=TypeError,co=b,ao=Ce,fo=P,so={};so[ce("toStringTag")]="z";var lo="[object z]"===String(so),po=lo,ho=Q,bo=_,yo=ce("toStringTag"),vo=Object,go="Arguments"===bo(function(){return arguments}()),mo=po?bo:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=vo(t),yo))?n:go?bo(e):"Object"===(r=bo(e))&&ho(e.callee)?"Arguments":r},wo=F,Oo=h,jo=Q,So=mo,Ro=hn,Po=function(){},To=Z("Reflect","construct"),Ao=/^\s*(?:class|function)\b/,Eo=wo(Ao.exec),Io=!Ao.test(Po),Fo=function(t){if(!jo(t))return!1;try{return To(Po,[],t),!0}catch(t){return!1}},ko=function(t){if(!jo(t))return!1;switch(So(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Io||!!Eo(Ao,Ro(t))}catch(t){return!0}};ko.sham=!0;var xo=!To||Oo((function(){var t;return Fo(Fo.call)||!Fo(Object)||!Fo((function(){t=!0}))||t}))?ko:Fo,Co=io,_o=xo,Mo=Y,zo=ce("species"),Bo=Array,Do=function(t){var e;return Co(t)&&(e=t.constructor,(_o(e)&&(e===Bo||Co(e.prototype))||Mo(e)&&null===(e=e[zo]))&&(e=void 0)),void 0===e?Bo:e},Lo=function(t,e){return new(Do(t))(0===e?0:e)},No=h,qo=ft,Go=ce("species"),Wo=ro,$o=h,Uo=io,Xo=Y,Ko=$t,Qo=yr,Vo=function(t){if(t>9007199254740991)throw uo("Maximum allowed index exceeded");return t},Yo=function(t,e,n){co?ao.f(t,e,fo(0,n)):t[e]=n},Ho=Lo,Jo=function(t){return qo>=51||!No((function(){var e=[];return(e.constructor={})[Go]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Zo=ft,ti=ce("isConcatSpreadable"),ei=Zo>=51||!$o((function(){var t=[];return t[ti]=!1,t.concat()[0]!==t})),ni=function(t){if(!Xo(t))return!1;var e=t[ti];return void 0!==e?!!e:Uo(t)};Wo({target:"Array",proto:!0,arity:1,forced:!ei||!Jo("concat")},{concat:function(t){var e,n,r,o,i,u=Ko(this),c=Ho(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(ni(i=-1===e?u:arguments[e]))for(o=Qo(i),Vo(a+o),n=0;n<o;n++,a++)n in i&&Yo(c,a,i[n]);else Vo(a+1),Yo(c,a++,i);return c.length=a,c}});var ri=_,oi=F,ii=function(t){if("Function"===ri(t))return oi(t)},ui=Rt,ci=y,ai=ii(ii.bind),fi=function(t,e){return ui(t),void 0===e?t:ci?ai(t,e):function(){return t.apply(e,arguments)}},si=L,li=$t,pi=yr,hi=Lo,bi=F([].push),yi=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,c=5===t||i;return function(a,f,s,l){for(var p,h,b=li(a),y=si(b),v=pi(y),d=fi(f,s),g=0,m=l||hi,w=e?m(a,v):n||u?m(a,0):void 0;v>g;g++)if((c||g in y)&&(h=d(p=y[g],g,b),t))if(e)w[g]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return g;case 2:bi(w,p)}else switch(t){case 4:return!1;case 7:bi(w,p)}return i?-1:r||o?o:w}},vi={forEach:yi(0),map:yi(1),filter:yi(2),some:yi(3),every:yi(4),find:yi(5),findIndex:yi(6),filterReject:yi(7)},di={},gi=Tr,mi=Ar,wi=Object.keys||function(t){return gi(t,mi)},Oi=b,ji=_e,Si=Ce,Ri=De,Pi=X,Ti=wi;di.f=Oi&&!ji?Object.defineProperties:function(t,e){Ri(t);for(var n,r=Pi(e),o=Ti(e),i=o.length,u=0;i>u;)Si.f(t,n=o[u++],r[n]);return t};var Ai,Ei=Z("document","documentElement"),Ii=De,Fi=di,ki=Ar,xi=wn,Ci=Ei,_i=Oe,Mi="prototype",zi="script",Bi=mn("IE_PROTO"),Di=function(){},Li=function(t){return"<"+zi+">"+t+"</"+zi+">"},Ni=function(t){t.write(Li("")),t.close();var e=t.parentWindow.Object;return t=null,e},qi=function(){try{Ai=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;qi="undefined"!=typeof document?document.domain&&Ai?Ni(Ai):(e=_i("iframe"),n="java"+zi+":",e.style.display="none",Ci.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Li("document.F=Object")),t.close(),t.F):Ni(Ai);for(var r=ki.length;r--;)delete qi[Mi][ki[r]];return qi()};xi[Bi]=!0;var Gi=ce,Wi=Object.create||function(t,e){var n;return null!==t?(Di[Mi]=Ii(t),n=new Di,Di[Mi]=null,n[Bi]=t):n=qi(),void 0===e?n:Fi.f(n,e)},$i=Ce.f,Ui=Gi("unscopables"),Xi=Array.prototype;void 0===Xi[Ui]&&$i(Xi,Ui,{configurable:!0,value:Wi(null)});var Ki=ro,Qi=vi.find,Vi=function(t){Xi[Ui][t]=!0},Yi="find",Hi=!0;Yi in[]&&Array(1)[Yi]((function(){Hi=!1})),Ki({target:"Array",proto:!0,forced:Hi},{find:function(t){return Qi(this,t,arguments.length>1?arguments[1]:void 0)}}),Vi(Yi);var Ji=b,Zi=F,tu=g,eu=h,nu=wi,ru=Fr,ou=m,iu=$t,uu=L,cu=Object.assign,au=Object.defineProperty,fu=Zi([].concat),su=!cu||eu((function(){if(Ji&&1!==cu({b:1},cu(au({},"a",{enumerable:!0,get:function(){au(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!==cu({},t)[n]||nu(cu({},e)).join("")!==r}))?function(t,e){for(var n=iu(t),r=arguments.length,o=1,i=ru.f,u=ou.f;r>o;)for(var c,a=uu(arguments[o++]),f=i?fu(nu(a),i(a)):nu(a),s=f.length,l=0;s>l;)c=f[l++],Ji&&!tu(u,a,c)||(n[c]=a[c]);return n}:cu,lu=su;ro({target:"Object",stat:!0,arity:2,forced:Object.assign!==lu},{assign:lu});var pu=mo,hu=lo?{}.toString:function(){return"[object "+pu(this)+"]"};lo||rr(Object.prototype,"toString",hu,{unsafe:!0});var bu=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{autoRefresh:!1,showAutoRefresh:!0,autoRefreshInterval:60,autoRefreshSilent:!0,autoRefreshStatus:!0,autoRefreshFunction:null}),Object.assign(t.fn.bootstrapTable.defaults.icons,{autoRefresh:{bootstrap3:"glyphicon-time icon-time",bootstrap5:"bi-clock",materialize:"access_time","bootstrap-table":"icon-clock"}[t.fn.bootstrapTable.theme]||"fa-clock"}),Object.assign(t.fn.bootstrapTable.locales,{formatAutoRefresh:function(){return"Auto Refresh"}}),Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales),t.BootstrapTable=function(t){function r(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),e(this,r,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(r,t),n(r,[{key:"init",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];c(r,"init",this)(e),this.options.autoRefresh&&this.options.autoRefreshStatus&&this.setupRefreshInterval()}},{key:"initToolbar",value:function(){this.options.autoRefresh&&(this.buttons=Object.assign(this.buttons,{autoRefresh:{html:'\n <button class="auto-refresh '.concat(this.constants.buttonsClass,"\n ").concat(this.options.autoRefreshStatus?" ".concat(this.constants.classes.buttonActive):"",'"\n type="button" name="autoRefresh" title="').concat(this.options.formatAutoRefresh(),'">\n ').concat(this.options.showButtonIcons?bu.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.autoRefresh):"","\n ").concat(this.options.showButtonText?this.options.formatAutoRefresh():"","\n </button>\n "),event:this.toggleAutoRefresh}}));for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];c(r,"initToolbar",this)(e)}},{key:"toggleAutoRefresh",value:function(){this.options.autoRefresh&&(this.options.autoRefreshStatus?(clearInterval(this.options.autoRefreshFunction),this.$toolbar.find(">.columns .auto-refresh").removeClass(this.constants.classes.buttonActive)):(this.setupRefreshInterval(),this.$toolbar.find(">.columns .auto-refresh").addClass(this.constants.classes.buttonActive)),this.options.autoRefreshStatus=!this.options.autoRefreshStatus)}},{key:"destroy",value:function(){this.options.autoRefresh&&this.options.autoRefreshStatus&&clearInterval(this.options.autoRefreshFunction),c(r,"destroy",this)([])}},{key:"setupRefreshInterval",value:function(){var t=this;this.options.autoRefreshFunction=setInterval((function(){t.options.autoRefresh&&t.options.autoRefreshStatus&&t.refresh({silent:t.options.autoRefreshSilent})}),1e3*this.options.autoRefreshInterval)}}])}(t.BootstrapTable)}));