UNPKG

bootstrap-table

Version:

An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)

11 lines (9 loc) 21.8 kB
/** * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) * * @version v1.22.2 * @homepage https://bootstrap-table.com * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/) * @license MIT */ !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){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||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,e(o.key),o)}}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}function u(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)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=o(t);if(e){var i=o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function a(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}function f(){return f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=a(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},f.apply(this,arguments)}var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=function(t){return t&&t.Math===Math&&t},p=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof s&&s)||l("object"==typeof s&&s)||function(){return this}()||Function("return this")(),h={},d=function(t){try{return!!t()}catch(t){return!0}},y=!d((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),b=!d((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=b,g=Function.prototype.call,m=v?g.bind(g):function(){return g.apply(g,arguments)},w={},O={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,j=S&&!O.call({1:2},1);w.f=j?function(t){var e=S(this,t);return!!e&&e.enumerable}:O;var T,E,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},L=b,C=Function.prototype,A=C.call,M=L&&C.bind.bind(A,A),R=L?M:function(t){return function(){return A.apply(t,arguments)}},x=R,V=x({}.toString),k=x("".slice),F=function(t){return k(V(t),8,-1)},I=d,D=F,_=Object,H=R("".split),N=I((function(){return!_("z").propertyIsEnumerable(0)}))?function(t){return"String"===D(t)?H(t,""):_(t)}:_,W=function(t){return null==t},z=W,G=TypeError,B=function(t){if(z(t))throw new G("Can't call method on "+t);return t},q=N,U=B,X=function(t){return q(U(t))},K="object"==typeof document&&document.all,Q={all:K,IS_HTMLDDA:void 0===K&&void 0!==K},Y=Q.all,$=Q.IS_HTMLDDA?function(t){return"function"==typeof t||t===Y}:function(t){return"function"==typeof t},J=$,Z=Q.all,tt=Q.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:J(t)||t===Z}:function(t){return"object"==typeof t?null!==t:J(t)},et=p,nt=$,rt=function(t){return nt(t)?t:void 0},ot=function(t,e){return arguments.length<2?rt(et[t]):et[t]&&et[t][e]},it=R({}.isPrototypeOf),ut=p,ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",at=ut.process,ft=ut.Deno,st=at&&at.versions||ft&&ft.version,lt=st&&st.v8;lt&&(E=(T=lt.split("."))[0]>0&&T[0]<4?1:+(T[0]+T[1])),!E&&ct&&(!(T=ct.match(/Edge\/(\d+)/))||T[1]>=74)&&(T=ct.match(/Chrome\/(\d+)/))&&(E=+T[1]);var pt=E,ht=pt,dt=d,yt=p.String,bt=!!Object.getOwnPropertySymbols&&!dt((function(){var t=Symbol("symbol detection");return!yt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ht&&ht<41})),vt=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,gt=ot,mt=$,wt=it,Ot=Object,St=vt?function(t){return"symbol"==typeof t}:function(t){var e=gt("Symbol");return mt(e)&&wt(e.prototype,Ot(t))},jt=String,Tt=$,Et=function(t){try{return jt(t)}catch(t){return"Object"}},Pt=TypeError,Lt=function(t){if(Tt(t))return t;throw new Pt(Et(t)+" is not a function")},Ct=Lt,At=W,Mt=m,Rt=$,xt=tt,Vt=TypeError,kt={exports:{}},Ft=p,It=Object.defineProperty,Dt=function(t,e){try{It(Ft,t,{value:e,configurable:!0,writable:!0})}catch(n){Ft[t]=e}return e},_t=Dt,Ht="__core-js_shared__",Nt=p[Ht]||_t(Ht,{}),Wt=Nt;(kt.exports=function(t,e){return Wt[t]||(Wt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.34.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"});var zt=kt.exports,Gt=B,Bt=Object,qt=function(t){return Bt(Gt(t))},Ut=qt,Xt=R({}.hasOwnProperty),Kt=Object.hasOwn||function(t,e){return Xt(Ut(t),e)},Qt=R,Yt=0,$t=Math.random(),Jt=Qt(1..toString),Zt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Jt(++Yt+$t,36)},te=zt,ee=Kt,ne=Zt,re=bt,oe=vt,ie=p.Symbol,ue=te("wks"),ce=oe?ie.for||ie:ie&&ie.withoutSetter||ne,ae=function(t){return ee(ue,t)||(ue[t]=re&&ee(ie,t)?ie[t]:ce("Symbol."+t)),ue[t]},fe=m,se=tt,le=St,pe=function(t,e){var n=t[e];return At(n)?void 0:Ct(n)},he=function(t,e){var n,r;if("string"===e&&Rt(n=t.toString)&&!xt(r=Mt(n,t)))return r;if(Rt(n=t.valueOf)&&!xt(r=Mt(n,t)))return r;if("string"!==e&&Rt(n=t.toString)&&!xt(r=Mt(n,t)))return r;throw new Vt("Can't convert object to primitive value")},de=TypeError,ye=ae("toPrimitive"),be=function(t,e){if(!se(t)||le(t))return t;var n,r=pe(t,ye);if(r){if(void 0===e&&(e="default"),n=fe(r,t,e),!se(n)||le(n))return n;throw new de("Can't convert object to primitive value")}return void 0===e&&(e="number"),he(t,e)},ve=St,ge=function(t){var e=be(t,"string");return ve(e)?e:e+""},me=tt,we=p.document,Oe=me(we)&&me(we.createElement),Se=function(t){return Oe?we.createElement(t):{}},je=Se,Te=!y&&!d((function(){return 7!==Object.defineProperty(je("div"),"a",{get:function(){return 7}}).a})),Ee=y,Pe=m,Le=w,Ce=P,Ae=X,Me=ge,Re=Kt,xe=Te,Ve=Object.getOwnPropertyDescriptor;h.f=Ee?Ve:function(t,e){if(t=Ae(t),e=Me(e),xe)try{return Ve(t,e)}catch(t){}if(Re(t,e))return Ce(!Pe(Le.f,t,e),t[e])};var ke={},Fe=y&&d((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ie=tt,De=String,_e=TypeError,He=function(t){if(Ie(t))return t;throw new _e(De(t)+" is not an object")},Ne=y,We=Te,ze=Fe,Ge=He,Be=ge,qe=TypeError,Ue=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,Ke="enumerable",Qe="configurable",Ye="writable";ke.f=Ne?ze?function(t,e,n){if(Ge(t),e=Be(e),Ge(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ye in n&&!n.writable){var r=Xe(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:Qe in n?n.configurable:r.configurable,enumerable:Ke in n?n.enumerable:r.enumerable,writable:!1})}return Ue(t,e,n)}:Ue:function(t,e,n){if(Ge(t),e=Be(e),Ge(n),We)try{return Ue(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new qe("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var $e=ke,Je=P,Ze=y?function(t,e,n){return $e.f(t,e,Je(1,n))}:function(t,e,n){return t[e]=n,t},tn={exports:{}},en=y,nn=Kt,rn=Function.prototype,on=en&&Object.getOwnPropertyDescriptor,un=nn(rn,"name"),cn={EXISTS:un,PROPER:un&&"something"===function(){}.name,CONFIGURABLE:un&&(!en||en&&on(rn,"name").configurable)},an=$,fn=Nt,sn=R(Function.toString);an(fn.inspectSource)||(fn.inspectSource=function(t){return sn(t)});var ln,pn,hn,dn=fn.inspectSource,yn=$,bn=p.WeakMap,vn=yn(bn)&&/native code/.test(String(bn)),gn=Zt,mn=zt("keys"),wn=function(t){return mn[t]||(mn[t]=gn(t))},On={},Sn=vn,jn=p,Tn=tt,En=Ze,Pn=Kt,Ln=Nt,Cn=wn,An=On,Mn="Object already initialized",Rn=jn.TypeError,xn=jn.WeakMap;if(Sn||Ln.state){var Vn=Ln.state||(Ln.state=new xn);Vn.get=Vn.get,Vn.has=Vn.has,Vn.set=Vn.set,ln=function(t,e){if(Vn.has(t))throw new Rn(Mn);return e.facade=t,Vn.set(t,e),e},pn=function(t){return Vn.get(t)||{}},hn=function(t){return Vn.has(t)}}else{var kn=Cn("state");An[kn]=!0,ln=function(t,e){if(Pn(t,kn))throw new Rn(Mn);return e.facade=t,En(t,kn,e),e},pn=function(t){return Pn(t,kn)?t[kn]:{}},hn=function(t){return Pn(t,kn)}}var Fn={set:ln,get:pn,has:hn,enforce:function(t){return hn(t)?pn(t):ln(t,{})},getterFor:function(t){return function(e){var n;if(!Tn(e)||(n=pn(e)).type!==t)throw new Rn("Incompatible receiver, "+t+" required");return n}}},In=R,Dn=d,_n=$,Hn=Kt,Nn=y,Wn=cn.CONFIGURABLE,zn=dn,Gn=Fn.enforce,Bn=Fn.get,qn=String,Un=Object.defineProperty,Xn=In("".slice),Kn=In("".replace),Qn=In([].join),Yn=Nn&&!Dn((function(){return 8!==Un((function(){}),"length",{value:8}).length})),$n=String(String).split("String"),Jn=tn.exports=function(t,e,n){"Symbol("===Xn(qn(e),0,7)&&(e="["+Kn(qn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!Hn(t,"name")||Wn&&t.name!==e)&&(Nn?Un(t,"name",{value:e,configurable:!0}):t.name=e),Yn&&n&&Hn(n,"arity")&&t.length!==n.arity&&Un(t,"length",{value:n.arity});try{n&&Hn(n,"constructor")&&n.constructor?Nn&&Un(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=Gn(t);return Hn(r,"source")||(r.source=Qn($n,"string"==typeof e?e:"")),t};Function.prototype.toString=Jn((function(){return _n(this)&&Bn(this).source||zn(this)}),"toString");var Zn=tn.exports,tr=$,er=ke,nr=Zn,rr=Dt,or=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(tr(n)&&nr(n,i,r),r.global)o?t[e]=n:rr(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:er.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ir={},ur=Math.ceil,cr=Math.floor,ar=Math.trunc||function(t){var e=+t;return(e>0?cr:ur)(e)},fr=function(t){var e=+t;return e!=e||0===e?0:ar(e)},sr=fr,lr=Math.max,pr=Math.min,hr=fr,dr=Math.min,yr=function(t){return t>0?dr(hr(t),9007199254740991):0},br=function(t){return yr(t.length)},vr=X,gr=function(t,e){var n=sr(t);return n<0?lr(n+e,0):pr(n,e)},mr=br,wr=function(t){return function(e,n,r){var o,i=vr(e),u=mr(i),c=gr(r,u);if(t&&n!=n){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},Or={includes:wr(!0),indexOf:wr(!1)},Sr=Kt,jr=X,Tr=Or.indexOf,Er=On,Pr=R([].push),Lr=function(t,e){var n,r=jr(t),o=0,i=[];for(n in r)!Sr(Er,n)&&Sr(r,n)&&Pr(i,n);for(;e.length>o;)Sr(r,n=e[o++])&&(~Tr(i,n)||Pr(i,n));return i},Cr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ar=Lr,Mr=Cr.concat("length","prototype");ir.f=Object.getOwnPropertyNames||function(t){return Ar(t,Mr)};var Rr={};Rr.f=Object.getOwnPropertySymbols;var xr=ot,Vr=ir,kr=Rr,Fr=He,Ir=R([].concat),Dr=xr("Reflect","ownKeys")||function(t){var e=Vr.f(Fr(t)),n=kr.f;return n?Ir(e,n(t)):e},_r=Kt,Hr=Dr,Nr=h,Wr=ke,zr=d,Gr=$,Br=/#|\.prototype\./,qr=function(t,e){var n=Xr[Ur(t)];return n===Qr||n!==Kr&&(Gr(e)?zr(e):!!e)},Ur=qr.normalize=function(t){return String(t).replace(Br,".").toLowerCase()},Xr=qr.data={},Kr=qr.NATIVE="N",Qr=qr.POLYFILL="P",Yr=qr,$r=p,Jr=h.f,Zr=Ze,to=or,eo=Dt,no=function(t,e,n){for(var r=Hr(e),o=Wr.f,i=Nr.f,u=0;u<r.length;u++){var c=r[u];_r(t,c)||n&&_r(n,c)||o(t,c,i(e,c))}},ro=Yr,oo=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?$r:f?$r[c]||eo(c,{}):($r[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=Jr(n,r))&&u.value:n[r],!ro(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;no(i,o)}(t.sham||o&&o.sham)&&Zr(i,"sham",!0),to(n,r,i,t)}},io=Lr,uo=Cr,co=Object.keys||function(t){return io(t,uo)},ao=y,fo=R,so=m,lo=d,po=co,ho=Rr,yo=w,bo=qt,vo=N,go=Object.assign,mo=Object.defineProperty,wo=fo([].concat),Oo=!go||lo((function(){if(ao&&1!==go({b:1},go(mo({},"a",{enumerable:!0,get:function(){mo(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!==go({},t)[n]||po(go({},e)).join("")!==r}))?function(t,e){for(var n=bo(t),r=arguments.length,o=1,i=ho.f,u=yo.f;r>o;)for(var c,a=vo(arguments[o++]),f=i?wo(po(a),i(a)):po(a),s=f.length,l=0;s>l;)c=f[l++],ao&&!so(u,a,c)||(n[c]=a[c]);return n}:go,So=Oo;oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==So},{assign:So});var jo=F,To=Array.isArray||function(t){return"Array"===jo(t)},Eo=TypeError,Po=ge,Lo=ke,Co=P,Ao={};Ao[ae("toStringTag")]="z";var Mo="[object z]"===String(Ao),Ro=Mo,xo=$,Vo=F,ko=ae("toStringTag"),Fo=Object,Io="Arguments"===Vo(function(){return arguments}()),Do=Ro?Vo: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=Fo(t),ko))?n:Io?Vo(e):"Object"===(r=Vo(e))&&xo(e.callee)?"Arguments":r},_o=R,Ho=d,No=$,Wo=Do,zo=dn,Go=function(){},Bo=[],qo=ot("Reflect","construct"),Uo=/^\s*(?:class|function)\b/,Xo=_o(Uo.exec),Ko=!Uo.test(Go),Qo=function(t){if(!No(t))return!1;try{return qo(Go,Bo,t),!0}catch(t){return!1}},Yo=function(t){if(!No(t))return!1;switch(Wo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ko||!!Xo(Uo,zo(t))}catch(t){return!0}};Yo.sham=!0;var $o=!qo||Ho((function(){var t;return Qo(Qo.call)||!Qo(Object)||!Qo((function(){t=!0}))||t}))?Yo:Qo,Jo=To,Zo=$o,ti=tt,ei=ae("species"),ni=Array,ri=function(t){var e;return Jo(t)&&(e=t.constructor,(Zo(e)&&(e===ni||Jo(e.prototype))||ti(e)&&null===(e=e[ei]))&&(e=void 0)),void 0===e?ni:e},oi=function(t,e){return new(ri(t))(0===e?0:e)},ii=d,ui=pt,ci=ae("species"),ai=oo,fi=d,si=To,li=tt,pi=qt,hi=br,di=function(t){if(t>9007199254740991)throw Eo("Maximum allowed index exceeded");return t},yi=function(t,e,n){var r=Po(e);r in t?Lo.f(t,r,Co(0,n)):t[r]=n},bi=oi,vi=function(t){return ui>=51||!ii((function(){var e=[];return(e.constructor={})[ci]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},gi=pt,mi=ae("isConcatSpreadable"),wi=gi>=51||!fi((function(){var t=[];return t[mi]=!1,t.concat()[0]!==t})),Oi=function(t){if(!li(t))return!1;var e=t[mi];return void 0!==e?!!e:si(t)};ai({target:"Array",proto:!0,arity:1,forced:!wi||!vi("concat")},{concat:function(t){var e,n,r,o,i,u=pi(this),c=bi(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Oi(i=-1===e?u:arguments[e]))for(o=hi(i),di(a+o),n=0;n<o;n++,a++)n in i&&yi(c,a,i[n]);else di(a+1),yi(c,a++,i);return c.length=a,c}});var Si={},ji=y,Ti=Fe,Ei=ke,Pi=He,Li=X,Ci=co;Si.f=ji&&!Ti?Object.defineProperties:function(t,e){Pi(t);for(var n,r=Li(e),o=Ci(e),i=o.length,u=0;i>u;)Ei.f(t,n=o[u++],r[n]);return t};var Ai,Mi=ot("document","documentElement"),Ri=He,xi=Si,Vi=Cr,ki=On,Fi=Mi,Ii=Se,Di=wn("IE_PROTO"),_i=function(){},Hi=function(t){return"<script>"+t+"</"+"script>"},Ni=function(t){t.write(Hi("")),t.close();var e=t.parentWindow.Object;return t=null,e},Wi=function(){try{Ai=new ActiveXObject("htmlfile")}catch(t){}var t,e;Wi="undefined"!=typeof document?document.domain&&Ai?Ni(Ai):((e=Ii("iframe")).style.display="none",Fi.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Hi("document.F=Object")),t.close(),t.F):Ni(Ai);for(var n=Vi.length;n--;)delete Wi.prototype[Vi[n]];return Wi()};ki[Di]=!0;var zi=ae,Gi=Object.create||function(t,e){var n;return null!==t?(_i.prototype=Ri(t),n=new _i,_i.prototype=null,n[Di]=t):n=Wi(),void 0===e?n:xi.f(n,e)},Bi=ke.f,qi=zi("unscopables"),Ui=Array.prototype;void 0===Ui[qi]&&Bi(Ui,qi,{configurable:!0,value:Gi(null)});var Xi=Or.includes,Ki=function(t){Ui[qi][t]=!0};oo({target:"Array",proto:!0,forced:d((function(){return!Array(1).includes()}))},{includes:function(t){return Xi(this,t,arguments.length>1?arguments[1]:void 0)}}),Ki("includes");var Qi=Do,Yi=Mo?{}.toString:function(){return"[object "+Qi(this)+"]"};Mo||or(Object.prototype,"toString",Yi,{unsafe:!0});var $i=Se("span").classList,Ji=$i&&$i.constructor&&$i.constructor.prototype,Zi=Ji===Object.prototype?void 0:Ji,tu=F,eu=R,nu=function(t){if("Function"===tu(t))return eu(t)},ru=Lt,ou=b,iu=nu(nu.bind),uu=function(t,e){return ru(t),void 0===e?t:ou?iu(t,e):function(){return t.apply(e,arguments)}},cu=N,au=qt,fu=br,su=oi,lu=R([].push),pu=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,d=au(a),y=cu(d),b=fu(y),v=uu(f,s),g=0,m=l||su,w=e?m(a,b):n||u?m(a,0):void 0;b>g;g++)if((c||g in y)&&(h=v(p=y[g],g,d),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:lu(w,p)}else switch(t){case 4:return!1;case 7:lu(w,p)}return i?-1:r||o?o:w}},hu={forEach:pu(0),map:pu(1),filter:pu(2),some:pu(3),every:pu(4),find:pu(5),findIndex:pu(6),filterReject:pu(7)},du=d,yu=hu.forEach,bu=function(t,e){var n=[][t];return!!n&&du((function(){n.call(null,e||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return yu(this,t,arguments.length>1?arguments[1]:void 0)},vu=p,gu={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},mu=Zi,wu=bu,Ou=Ze,Su=function(t){if(t&&t.forEach!==wu)try{Ou(t,"forEach",wu)}catch(e){t.forEach=wu}};for(var ju in gu)gu[ju]&&Su(vu[ju]&&vu[ju].prototype);Su(mu);var Tu=tt,Eu=F,Pu=ae("match"),Lu=function(t){var e;return Tu(t)&&(void 0!==(e=t[Pu])?!!e:"RegExp"===Eu(t))},Cu=TypeError,Au=Do,Mu=String,Ru=ae("match"),xu=oo,Vu=function(t){if(Lu(t))throw new Cu("The method doesn't accept regular expressions");return t},ku=B,Fu=function(t){if("Symbol"===Au(t))throw new TypeError("Cannot convert a Symbol value to a string");return Mu(t)},Iu=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Ru]=!1,"/./"[t](e)}catch(t){}}return!1},Du=R("".indexOf);xu({target:"String",proto:!0,forced:!Iu("includes")},{includes:function(t){return!!~Du(Fu(ku(this)),Fu(Vu(t)),arguments.length>1?arguments[1]:void 0)}});var _u=function(t,e){var n=0;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u=function(){n=0,t.apply(void 0,o)};clearTimeout(n),n=setTimeout(u,e)}};Object.assign(t.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),t.BootstrapTable=function(e){!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&&i(t,e)}(p,e);var u,a,s,l=c(p);function p(){return n(this,p),l.apply(this,arguments)}return u=p,a=[{key:"init",value:function(){for(var e,n=this,r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];if((e=f(o(p.prototype),"init",this)).call.apply(e,[this].concat(i)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.warn("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var c={width:t(window).width(),height:t(window).height()};if(t(window).on("resize orientationchange",_u((function(){var e=t(window).width(),r=t(window).height(),o=t(document.activeElement);o.length&&["INPUT","SELECT","TEXTAREA"].includes(o.prop("nodeName"))||(Math.abs(c.height-r)>n.options.heightThreshold||c.width!==e)&&(n.changeView(e,r),c={width:e,height:r})}),200)),this.options.checkOnInit){var a=t(window).width(),s=t(window).height();this.changeView(a,s),c={width:a,height:s}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(t){this.options.cardView=t,this.toggleView()}},{key:"showHideColumns",value:function(t){var e=this;this.options.columnsHidden.length>0&&this.columns.forEach((function(n){e.options.columnsHidden.includes(n.field)&&n.visible!==t&&e._toggleColumn(e.fieldsColumnsIndex[n.field],t,!0)}))}},{key:"changeView",value:function(t,e){this.options.minHeight?t<=this.options.minWidth&&e<=this.options.minHeight?this.conditionCardView():t>this.options.minWidth&&e>this.options.minHeight&&this.conditionFullView():t<=this.options.minWidth?this.conditionCardView():t>this.options.minWidth&&this.conditionFullView(),this.resetView()}}],a&&r(u.prototype,a),s&&r(u,s),Object.defineProperty(u,"prototype",{writable:!1}),p}(t.BootstrapTable)}));