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