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) • 28.1 kB
JavaScript
/**
* 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 r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;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 r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,e(o.key),o)}}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(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 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 r,n=i(t);if(e){var o=i(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return u(this,r)}}function f(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=f(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},s.apply(this,arguments)}var l="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},y=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof l&&l)||p("object"==typeof l&&l)||function(){return this}()||Function("return this")(),h={exports:{}},d=y,g=Object.defineProperty,b=function(t,e){try{g(d,t,{value:e,configurable:!0,writable:!0})}catch(r){d[t]=e}return e},v=b,m="__core-js_shared__",S=y[m]||v(m,{}),w=S;(h.exports=function(t,e){return w[t]||(w[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 j,O,T=h.exports,E=function(t){try{return!!t()}catch(t){return!0}},P=!E((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),x=P,A=Function.prototype,G=A.call,B=x&&A.bind.bind(G,G),k=x?B:function(t){return function(){return G.apply(t,arguments)}},L=function(t){return null==t},C=L,F=TypeError,M=function(t){if(C(t))throw new F("Can't call method on "+t);return t},_=M,I=Object,R=function(t){return I(_(t))},D=R,V=k({}.hasOwnProperty),N=Object.hasOwn||function(t,e){return V(D(t),e)},$=k,z=0,H=Math.random(),q=$(1..toString),W=function(t){return"Symbol("+(void 0===t?"":t)+")_"+q(++z+H,36)},K="undefined"!=typeof navigator&&String(navigator.userAgent)||"",U=y,X=K,J=U.process,Q=U.Deno,Y=J&&J.versions||Q&&Q.version,Z=Y&&Y.v8;Z&&(O=(j=Z.split("."))[0]>0&&j[0]<4?1:+(j[0]+j[1])),!O&&X&&(!(j=X.match(/Edge\/(\d+)/))||j[1]>=74)&&(j=X.match(/Chrome\/(\d+)/))&&(O=+j[1]);var tt=O,et=tt,rt=E,nt=y.String,ot=!!Object.getOwnPropertySymbols&&!rt((function(){var t=Symbol("symbol detection");return!nt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),it=ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ct=T,ut=N,at=W,ft=ot,st=it,lt=y.Symbol,pt=ct("wks"),yt=st?lt.for||lt:lt&<.withoutSetter||at,ht=function(t){return ut(pt,t)||(pt[t]=ft&&ut(lt,t)?lt[t]:yt("Symbol."+t)),pt[t]},dt={};dt[ht("toStringTag")]="z";var gt="[object z]"===String(dt),bt="object"==typeof document&&document.all,vt={all:bt,IS_HTMLDDA:void 0===bt&&void 0!==bt},mt=vt.all,St=vt.IS_HTMLDDA?function(t){return"function"==typeof t||t===mt}:function(t){return"function"==typeof t},wt={},jt=!E((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Ot=St,Tt=vt.all,Et=vt.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Ot(t)||t===Tt}:function(t){return"object"==typeof t?null!==t:Ot(t)},Pt=Et,xt=y.document,At=Pt(xt)&&Pt(xt.createElement),Gt=function(t){return At?xt.createElement(t):{}},Bt=Gt,kt=!jt&&!E((function(){return 7!==Object.defineProperty(Bt("div"),"a",{get:function(){return 7}}).a})),Lt=jt&&E((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ct=Et,Ft=String,Mt=TypeError,_t=function(t){if(Ct(t))return t;throw new Mt(Ft(t)+" is not an object")},It=P,Rt=Function.prototype.call,Dt=It?Rt.bind(Rt):function(){return Rt.apply(Rt,arguments)},Vt=y,Nt=St,$t=function(t){return Nt(t)?t:void 0},zt=function(t,e){return arguments.length<2?$t(Vt[t]):Vt[t]&&Vt[t][e]},Ht=k({}.isPrototypeOf),qt=zt,Wt=St,Kt=Ht,Ut=Object,Xt=it?function(t){return"symbol"==typeof t}:function(t){var e=qt("Symbol");return Wt(e)&&Kt(e.prototype,Ut(t))},Jt=String,Qt=function(t){try{return Jt(t)}catch(t){return"Object"}},Yt=St,Zt=Qt,te=TypeError,ee=function(t){if(Yt(t))return t;throw new te(Zt(t)+" is not a function")},re=ee,ne=L,oe=Dt,ie=St,ce=Et,ue=TypeError,ae=Dt,fe=Et,se=Xt,le=function(t,e){var r=t[e];return ne(r)?void 0:re(r)},pe=function(t,e){var r,n;if("string"===e&&ie(r=t.toString)&&!ce(n=oe(r,t)))return n;if(ie(r=t.valueOf)&&!ce(n=oe(r,t)))return n;if("string"!==e&&ie(r=t.toString)&&!ce(n=oe(r,t)))return n;throw new ue("Can't convert object to primitive value")},ye=TypeError,he=ht("toPrimitive"),de=function(t,e){if(!fe(t)||se(t))return t;var r,n=le(t,he);if(n){if(void 0===e&&(e="default"),r=ae(n,t,e),!fe(r)||se(r))return r;throw new ye("Can't convert object to primitive value")}return void 0===e&&(e="number"),pe(t,e)},ge=Xt,be=function(t){var e=de(t,"string");return ge(e)?e:e+""},ve=jt,me=kt,Se=Lt,we=_t,je=be,Oe=TypeError,Te=Object.defineProperty,Ee=Object.getOwnPropertyDescriptor,Pe="enumerable",xe="configurable",Ae="writable";wt.f=ve?Se?function(t,e,r){if(we(t),e=je(e),we(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Ae in r&&!r.writable){var n=Ee(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:xe in r?r.configurable:n.configurable,enumerable:Pe in r?r.enumerable:n.enumerable,writable:!1})}return Te(t,e,r)}:Te:function(t,e,r){if(we(t),e=je(e),we(r),me)try{return Te(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new Oe("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Ge={exports:{}},Be=jt,ke=N,Le=Function.prototype,Ce=Be&&Object.getOwnPropertyDescriptor,Fe=ke(Le,"name"),Me={EXISTS:Fe,PROPER:Fe&&"something"===function(){}.name,CONFIGURABLE:Fe&&(!Be||Be&&Ce(Le,"name").configurable)},_e=St,Ie=S,Re=k(Function.toString);_e(Ie.inspectSource)||(Ie.inspectSource=function(t){return Re(t)});var De,Ve,Ne,$e=Ie.inspectSource,ze=St,He=y.WeakMap,qe=ze(He)&&/native code/.test(String(He)),We=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Ke=wt,Ue=We,Xe=jt?function(t,e,r){return Ke.f(t,e,Ue(1,r))}:function(t,e,r){return t[e]=r,t},Je=W,Qe=T("keys"),Ye=function(t){return Qe[t]||(Qe[t]=Je(t))},Ze={},tr=qe,er=y,rr=Et,nr=Xe,or=N,ir=S,cr=Ye,ur=Ze,ar="Object already initialized",fr=er.TypeError,sr=er.WeakMap;if(tr||ir.state){var lr=ir.state||(ir.state=new sr);lr.get=lr.get,lr.has=lr.has,lr.set=lr.set,De=function(t,e){if(lr.has(t))throw new fr(ar);return e.facade=t,lr.set(t,e),e},Ve=function(t){return lr.get(t)||{}},Ne=function(t){return lr.has(t)}}else{var pr=cr("state");ur[pr]=!0,De=function(t,e){if(or(t,pr))throw new fr(ar);return e.facade=t,nr(t,pr,e),e},Ve=function(t){return or(t,pr)?t[pr]:{}},Ne=function(t){return or(t,pr)}}var yr={set:De,get:Ve,has:Ne,enforce:function(t){return Ne(t)?Ve(t):De(t,{})},getterFor:function(t){return function(e){var r;if(!rr(e)||(r=Ve(e)).type!==t)throw new fr("Incompatible receiver, "+t+" required");return r}}},hr=k,dr=E,gr=St,br=N,vr=jt,mr=Me.CONFIGURABLE,Sr=$e,wr=yr.enforce,jr=yr.get,Or=String,Tr=Object.defineProperty,Er=hr("".slice),Pr=hr("".replace),xr=hr([].join),Ar=vr&&!dr((function(){return 8!==Tr((function(){}),"length",{value:8}).length})),Gr=String(String).split("String"),Br=Ge.exports=function(t,e,r){"Symbol("===Er(Or(e),0,7)&&(e="["+Pr(Or(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!br(t,"name")||mr&&t.name!==e)&&(vr?Tr(t,"name",{value:e,configurable:!0}):t.name=e),Ar&&r&&br(r,"arity")&&t.length!==r.arity&&Tr(t,"length",{value:r.arity});try{r&&br(r,"constructor")&&r.constructor?vr&&Tr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=wr(t);return br(n,"source")||(n.source=xr(Gr,"string"==typeof e?e:"")),t};Function.prototype.toString=Br((function(){return gr(this)&&jr(this).source||Sr(this)}),"toString");var kr=Ge.exports,Lr=St,Cr=wt,Fr=kr,Mr=b,_r=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(Lr(r)&&Fr(r,i,n),n.global)o?t[e]=r:Mr(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Cr.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Ir=k,Rr=Ir({}.toString),Dr=Ir("".slice),Vr=function(t){return Dr(Rr(t),8,-1)},Nr=gt,$r=St,zr=Vr,Hr=ht("toStringTag"),qr=Object,Wr="Arguments"===zr(function(){return arguments}()),Kr=Nr?zr:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=qr(t),Hr))?r:Wr?zr(e):"Object"===(n=zr(e))&&$r(e.callee)?"Arguments":n},Ur=Kr,Xr=gt?{}.toString:function(){return"[object "+Ur(this)+"]"};gt||_r(Object.prototype,"toString",Xr,{unsafe:!0});var Jr=Gt("span").classList,Qr=Jr&&Jr.constructor&&Jr.constructor.prototype,Yr=Qr===Object.prototype?void 0:Qr,Zr=Vr,tn=k,en=function(t){if("Function"===Zr(t))return tn(t)},rn=ee,nn=P,on=en(en.bind),cn=E,un=Vr,an=Object,fn=k("".split),sn=cn((function(){return!an("z").propertyIsEnumerable(0)}))?function(t){return"String"===un(t)?fn(t,""):an(t)}:an,ln=Math.ceil,pn=Math.floor,yn=Math.trunc||function(t){var e=+t;return(e>0?pn:ln)(e)},hn=function(t){var e=+t;return e!=e||0===e?0:yn(e)},dn=hn,gn=Math.min,bn=function(t){return t>0?gn(dn(t),9007199254740991):0},vn=function(t){return bn(t.length)},mn=Vr,Sn=Array.isArray||function(t){return"Array"===mn(t)},wn=k,jn=E,On=St,Tn=Kr,En=$e,Pn=function(){},xn=[],An=zt("Reflect","construct"),Gn=/^\s*(?:class|function)\b/,Bn=wn(Gn.exec),kn=!Gn.test(Pn),Ln=function(t){if(!On(t))return!1;try{return An(Pn,xn,t),!0}catch(t){return!1}},Cn=function(t){if(!On(t))return!1;switch(Tn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return kn||!!Bn(Gn,En(t))}catch(t){return!0}};Cn.sham=!0;var Fn=!An||jn((function(){var t;return Ln(Ln.call)||!Ln(Object)||!Ln((function(){t=!0}))||t}))?Cn:Ln,Mn=Sn,_n=Fn,In=Et,Rn=ht("species"),Dn=Array,Vn=function(t){var e;return Mn(t)&&(e=t.constructor,(_n(e)&&(e===Dn||Mn(e.prototype))||In(e)&&null===(e=e[Rn]))&&(e=void 0)),void 0===e?Dn:e},Nn=function(t,e){return new(Vn(t))(0===e?0:e)},$n=function(t,e){return rn(t),void 0===e?t:nn?on(t,e):function(){return t.apply(e,arguments)}},zn=sn,Hn=R,qn=vn,Wn=Nn,Kn=k([].push),Un=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,c=7===t,u=5===t||i;return function(a,f,s,l){for(var p,y,h=Hn(a),d=zn(h),g=qn(d),b=$n(f,s),v=0,m=l||Wn,S=e?m(a,g):r||c?m(a,0):void 0;g>v;v++)if((u||v in d)&&(y=b(p=d[v],v,h),t))if(e)S[v]=y;else if(y)switch(t){case 3:return!0;case 5:return p;case 6:return v;case 2:Kn(S,p)}else switch(t){case 4:return!1;case 7:Kn(S,p)}return i?-1:n||o?o:S}},Xn={forEach:Un(0),map:Un(1),filter:Un(2),some:Un(3),every:Un(4),find:Un(5),findIndex:Un(6),filterReject:Un(7)},Jn=E,Qn=function(t,e){var r=[][t];return!!r&&Jn((function(){r.call(null,e||function(){return 1},1)}))},Yn=Xn.forEach,Zn=Qn("forEach")?[].forEach:function(t){return Yn(this,t,arguments.length>1?arguments[1]:void 0)},to=y,eo={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},ro=Yr,no=Zn,oo=Xe,io=function(t){if(t&&t.forEach!==no)try{oo(t,"forEach",no)}catch(e){t.forEach=no}};for(var co in eo)eo[co]&&io(to[co]&&to[co].prototype);io(ro);var uo={},ao={},fo={}.propertyIsEnumerable,so=Object.getOwnPropertyDescriptor,lo=so&&!fo.call({1:2},1);ao.f=lo?function(t){var e=so(this,t);return!!e&&e.enumerable}:fo;var po=sn,yo=M,ho=function(t){return po(yo(t))},go=jt,bo=Dt,vo=ao,mo=We,So=ho,wo=be,jo=N,Oo=kt,To=Object.getOwnPropertyDescriptor;uo.f=go?To:function(t,e){if(t=So(t),e=wo(e),Oo)try{return To(t,e)}catch(t){}if(jo(t,e))return mo(!bo(vo.f,t,e),t[e])};var Eo={},Po=hn,xo=Math.max,Ao=Math.min,Go=function(t,e){var r=Po(t);return r<0?xo(r+e,0):Ao(r,e)},Bo=ho,ko=Go,Lo=vn,Co=function(t){return function(e,r,n){var o,i=Bo(e),c=Lo(i),u=ko(n,c);if(t&&r!=r){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Fo={includes:Co(!0),indexOf:Co(!1)},Mo=N,_o=ho,Io=Fo.indexOf,Ro=Ze,Do=k([].push),Vo=function(t,e){var r,n=_o(t),o=0,i=[];for(r in n)!Mo(Ro,r)&&Mo(n,r)&&Do(i,r);for(;e.length>o;)Mo(n,r=e[o++])&&(~Io(i,r)||Do(i,r));return i},No=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$o=Vo,zo=No.concat("length","prototype");Eo.f=Object.getOwnPropertyNames||function(t){return $o(t,zo)};var Ho={};Ho.f=Object.getOwnPropertySymbols;var qo=zt,Wo=Eo,Ko=Ho,Uo=_t,Xo=k([].concat),Jo=qo("Reflect","ownKeys")||function(t){var e=Wo.f(Uo(t)),r=Ko.f;return r?Xo(e,r(t)):e},Qo=N,Yo=Jo,Zo=uo,ti=wt,ei=E,ri=St,ni=/#|\.prototype\./,oi=function(t,e){var r=ci[ii(t)];return r===ai||r!==ui&&(ri(e)?ei(e):!!e)},ii=oi.normalize=function(t){return String(t).replace(ni,".").toLowerCase()},ci=oi.data={},ui=oi.NATIVE="N",ai=oi.POLYFILL="P",fi=oi,si=y,li=uo.f,pi=Xe,yi=_r,hi=b,di=function(t,e,r){for(var n=Yo(e),o=ti.f,i=Zo.f,c=0;c<n.length;c++){var u=n[c];Qo(t,u)||r&&Qo(r,u)||o(t,u,i(e,u))}},gi=fi,bi=function(t,e){var r,n,o,i,c,u=t.target,a=t.global,f=t.stat;if(r=a?si:f?si[u]||hi(u,{}):(si[u]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(c=li(r,n))&&c.value:r[n],!gi(a?n:u+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;di(i,o)}(t.sham||o&&o.sham)&&pi(i,"sham",!0),yi(r,n,i,t)}},vi=Vo,mi=No,Si=Object.keys||function(t){return vi(t,mi)},wi=jt,ji=k,Oi=Dt,Ti=E,Ei=Si,Pi=Ho,xi=ao,Ai=R,Gi=sn,Bi=Object.assign,ki=Object.defineProperty,Li=ji([].concat),Ci=!Bi||Ti((function(){if(wi&&1!==Bi({b:1},Bi(ki({},"a",{enumerable:!0,get:function(){ki(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==Bi({},t)[r]||Ei(Bi({},e)).join("")!==n}))?function(t,e){for(var r=Ai(t),n=arguments.length,o=1,i=Pi.f,c=xi.f;n>o;)for(var u,a=Gi(arguments[o++]),f=i?Li(Ei(a),i(a)):Ei(a),s=f.length,l=0;s>l;)u=f[l++],wi&&!Oi(c,a,u)||(r[u]=a[u]);return r}:Bi,Fi=Ci;bi({target:"Object",stat:!0,arity:2,forced:Object.assign!==Fi},{assign:Fi});var Mi=be,_i=wt,Ii=We,Ri=function(t,e,r){var n=Mi(e);n in t?_i.f(t,n,Ii(0,r)):t[n]=r},Di=E,Vi=tt,Ni=ht("species"),$i=function(t){return Vi>=51||!Di((function(){var e=[];return(e.constructor={})[Ni]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},zi=k([].slice),Hi=bi,qi=Sn,Wi=Fn,Ki=Et,Ui=Go,Xi=vn,Ji=ho,Qi=Ri,Yi=ht,Zi=zi,tc=$i("slice"),ec=Yi("species"),rc=Array,nc=Math.max;Hi({target:"Array",proto:!0,forced:!tc},{slice:function(t,e){var r,n,o,i=Ji(this),c=Xi(i),u=Ui(t,c),a=Ui(void 0===e?c:e,c);if(qi(i)&&(r=i.constructor,(Wi(r)&&(r===rc||qi(r.prototype))||Ki(r)&&null===(r=r[ec]))&&(r=void 0),r===rc||void 0===r))return Zi(i,u,a);for(n=new(void 0===r?rc:r)(nc(a-u,0)),o=0;u<a;u++,o++)u in i&&Qi(n,o,i[u]);return n.length=o,n}});var oc=Qt,ic=TypeError,cc=Kr,uc=String,ac=Go,fc=vn,sc=Ri,lc=Array,pc=Math.max,yc=function(t,e,r){for(var n=fc(t),o=ac(e,n),i=ac(void 0===r?n:r,n),c=lc(pc(i-o,0)),u=0;o<i;o++,u++)sc(c,u,t[o]);return c.length=u,c},hc=Math.floor,dc=function(t,e){var r=t.length,n=hc(r/2);return r<8?gc(t,e):bc(t,dc(yc(t,0,n),e),dc(yc(t,n),e),e)},gc=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},bc=function(t,e,r,n){for(var o=e.length,i=r.length,c=0,u=0;c<o||u<i;)t[c+u]=c<o&&u<i?n(e[c],r[u])<=0?e[c++]:r[u++]:c<o?e[c++]:r[u++];return t},vc=dc,mc=K.match(/firefox\/(\d+)/i),Sc=!!mc&&+mc[1],wc=/MSIE|Trident/.test(K),jc=K.match(/AppleWebKit\/(\d+)\./),Oc=!!jc&&+jc[1],Tc=bi,Ec=k,Pc=ee,xc=R,Ac=vn,Gc=function(t,e){if(!delete t[e])throw new ic("Cannot delete property "+oc(e)+" of "+oc(t))},Bc=function(t){if("Symbol"===cc(t))throw new TypeError("Cannot convert a Symbol value to a string");return uc(t)},kc=E,Lc=vc,Cc=Qn,Fc=Sc,Mc=wc,_c=tt,Ic=Oc,Rc=[],Dc=Ec(Rc.sort),Vc=Ec(Rc.push),Nc=kc((function(){Rc.sort(void 0)})),$c=kc((function(){Rc.sort(null)})),zc=Cc("sort"),Hc=!kc((function(){if(_c)return _c<70;if(!(Fc&&Fc>3)){if(Mc)return!0;if(Ic)return Ic<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)Rc.push({k:e+n,v:r})}for(Rc.sort((function(t,e){return e.v-t.v})),n=0;n<Rc.length;n++)e=Rc[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));Tc({target:"Array",proto:!0,forced:Nc||!$c||!zc||!Hc},{sort:function(t){void 0!==t&&Pc(t);var e=xc(this);if(Hc)return void 0===t?Dc(e):Dc(e,t);var r,n,o=[],i=Ac(e);for(n=0;n<i;n++)n in e&&Vc(o,e[n]);for(Lc(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:Bc(e)>Bc(r)?1:-1}}(t)),r=Ac(o),n=0;n<r;)e[n]=o[n++];for(;n<i;)Gc(e,n++);return e}});var qc=bi,Wc=sn,Kc=ho,Uc=Qn,Xc=k([].join);qc({target:"Array",proto:!0,forced:Wc!==Object||!Uc("join",",")},{join:function(t){return Xc(Kc(this),void 0===t?",":t)}});var Jc=kr,Qc=wt,Yc=jt,Zc=Me.EXISTS,tu=k,eu=function(t,e,r){return r.get&&Jc(r.get,e,{getter:!0}),r.set&&Jc(r.set,e,{setter:!0}),Qc.f(t,e,r)},ru=Function.prototype,nu=tu(ru.toString),ou=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,iu=tu(ou.exec);Yc&&!Zc&&eu(ru,"name",{configurable:!0,get:function(){try{return iu(ou,nu(this))[1]}catch(t){return""}}});var cu=TypeError,uu=bi,au=E,fu=Sn,su=Et,lu=R,pu=vn,yu=function(t){if(t>9007199254740991)throw cu("Maximum allowed index exceeded");return t},hu=Ri,du=Nn,gu=$i,bu=tt,vu=ht("isConcatSpreadable"),mu=bu>=51||!au((function(){var t=[];return t[vu]=!1,t.concat()[0]!==t})),Su=function(t){if(!su(t))return!1;var e=t[vu];return void 0!==e?!!e:fu(t)};uu({target:"Array",proto:!0,arity:1,forced:!mu||!gu("concat")},{concat:function(t){var e,r,n,o,i,c=lu(this),u=du(c,0),a=0;for(e=-1,n=arguments.length;e<n;e++)if(Su(i=-1===e?c:arguments[e]))for(o=pu(i),yu(a+o),r=0;r<o;r++,a++)r in i&&hu(u,a,i[r]);else yu(a+1),hu(u,a++,i);return u.length=a,u}});var wu={},ju=jt,Ou=Lt,Tu=wt,Eu=_t,Pu=ho,xu=Si;wu.f=ju&&!Ou?Object.defineProperties:function(t,e){Eu(t);for(var r,n=Pu(e),o=xu(e),i=o.length,c=0;i>c;)Tu.f(t,r=o[c++],n[r]);return t};var Au,Gu=zt("document","documentElement"),Bu=_t,ku=wu,Lu=No,Cu=Ze,Fu=Gu,Mu=Gt,_u=Ye("IE_PROTO"),Iu=function(){},Ru=function(t){return"<script>"+t+"</"+"script>"},Du=function(t){t.write(Ru("")),t.close();var e=t.parentWindow.Object;return t=null,e},Vu=function(){try{Au=new ActiveXObject("htmlfile")}catch(t){}var t,e;Vu="undefined"!=typeof document?document.domain&&Au?Du(Au):((e=Mu("iframe")).style.display="none",Fu.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ru("document.F=Object")),t.close(),t.F):Du(Au);for(var r=Lu.length;r--;)delete Vu.prototype[Lu[r]];return Vu()};Cu[_u]=!0;var Nu=ht,$u=Object.create||function(t,e){var r;return null!==t?(Iu.prototype=Bu(t),r=new Iu,Iu.prototype=null,r[_u]=t):r=Vu(),void 0===e?r:ku.f(r,e)},zu=wt.f,Hu=Nu("unscopables"),qu=Array.prototype;void 0===qu[Hu]&&zu(qu,Hu,{configurable:!0,value:$u(null)});var Wu=bi,Ku=Xn.find,Uu=function(t){qu[Hu][t]=!0},Xu="find",Ju=!0;Xu in[]&&Array(1).find((function(){Ju=!1})),Wu({target:"Array",proto:!0,forced:Ju},{find:function(t){return Ku(this,t,arguments.length>1?arguments[1]:void 0)}}),Uu(Xu);var Qu=Xn.filter;bi({target:"Array",proto:!0,forced:!$i("filter")},{filter:function(t){return Qu(this,t,arguments.length>1?arguments[1]:void 0)}});var Yu,Zu=t.fn.bootstrapTable.utils,ta=function(t,e){var r={};return t.forEach((function(t){var n=e(t);r[n]=r[n]||[],r[n].push(t)})),r};Object.assign(t.fn.bootstrapTable.defaults.icons,{collapseGroup:{bootstrap3:"glyphicon-chevron-up",bootstrap5:"bi-chevron-up",materialize:"arrow_drop_down"}[t.fn.bootstrapTable.theme]||"fa-angle-up",expandGroup:{bootstrap3:"glyphicon-chevron-down",bootstrap5:"bi-chevron-down",materialize:"arrow_drop_up"}[t.fn.bootstrapTable.theme]||"fa-angle-down"}),Object.assign(t.fn.bootstrapTable.defaults,{groupBy:!1,groupByField:"",groupByFormatter:void 0,groupByToggle:!1,groupByShowToggleIcon:!1,groupByCollapsedGroups:[]});var ea=t.fn.bootstrapTable.Constructor,ra=ea.prototype.initSort,na=ea.prototype.initBody,oa=ea.prototype.updateSelected;ea.prototype.initSort=function(){for(var e=this,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];ra.apply(this,Array.prototype.slice.apply(n));var i=this;if(this.tableGroups=[],this.options.groupBy&&""!==this.options.groupByField){this.options.sortName!==this.options.groupByField&&(this.options.customSort?Zu.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.options.data.sort((function(r,n){var o=e.getGroupByFields(),i=[],c=[];return t.each(o,(function(t,e){i.push(r[e]),c.push(n[e])})),r=i.join(),n=c.join(),r.localeCompare(n,void 0,{numeric:!0})})));var c=ta(i.data,(function(r){var n=e.getGroupByFields(),o=[];return t.each(n,(function(t,e){var n=Zu.getItemField(r,e,i.options.escape,r.escape);o.push(n)})),o.join(", ")})),u=0;t.each(c,(function(t,r){e.tableGroups.push({id:u,name:t,data:r}),r.forEach((function(n){n._data||(n._data={}),e.isCollapsed(t,r)&&(n._class+=" hidden"),n._data["parent-index"]=u})),u++}))}},ea.prototype.initBody=function(){var e=this;Yu=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];if(na.apply(this,Array.prototype.slice.apply(n)),this.options.groupBy&&""!==this.options.groupByField){var i=this,c=!1,u=0;this.columns.forEach((function(t){t.checkbox&&!i.options.singleSelect?c=!0:t.visible&&(u+=1)})),this.options.detailView&&!this.options.cardView&&(u+=1),this.tableGroups.forEach((function(r){var n=[];n.push(Zu.sprintf('<tr class="info group-by %s" data-group-index="%s">',e.options.groupByToggle?"expanded":"",r.id)),i.options.detailView&&!i.options.cardView&&n.push('<td class="detail"></td>'),c&&n.push('<td class="bs-checkbox">','<input name="btSelectGroup" type="checkbox" />',"</td>");var o=r.name;void 0!==i.options.groupByFormatter&&(o=Zu.calculateObjectValue(i.options,i.options.groupByFormatter,[r.name,r.id,r.data])),n.push("<td",Zu.sprintf(' colspan="%s"',u),">",o);var a=e.options.icons.collapseGroup;e.isCollapsed(r.name,r.data)&&(a=e.options.icons.expandGroup),e.options.groupByToggle&&e.options.groupByShowToggleIcon&&n.push('<span class="float-right '.concat(e.options.iconsPrefix," ").concat(a,'"></span>')),n.push("</td></tr>"),i.$body.find("tr[data-parent-index=".concat(r.id,"]:first")).before(t(n.join("")))})),this.$selectGroup=[],this.$body.find('[name="btSelectGroup"]').each((function(){var e=t(this);i.$selectGroup.push({group:e,item:i.$selectItem.filter((function(){return t(this).closest("tr").data("parent-index")===e.closest("tr").data("group-index")}))})})),this.options.groupByToggle&&this.$container.off("click",".group-by").on("click",".group-by",(function(){var e=t(this),r=e.closest("tr").data("group-index"),n=i.$body.find("tr[data-parent-index=".concat(r,"]"));e.toggleClass("expanded collapsed"),e.find("span").toggleClass("".concat(i.options.icons.collapseGroup," ").concat(i.options.icons.expandGroup)),n.toggleClass("hidden"),n.each((function(e,r){return i.collapseRow(t(r).data("index"))}))})),this.$container.off("click",'[name="btSelectGroup"]').on("click",'[name="btSelectGroup"]',(function(e){e.stopImmediatePropagation();var r=t(this).prop("checked");i[r?"checkGroup":"uncheckGroup"](t(this).closest("tr").data("group-index"))}))}Yu=!1,this.updateSelected()},ea.prototype.updateSelected=function(){if(!Yu){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];oa.apply(this,Array.prototype.slice.apply(e)),this.options.groupBy&&""!==this.options.groupByField&&this.$selectGroup.forEach((function(t){var e=t.item.filter(":enabled").length===t.item.filter(":enabled").filter(":checked").length;t.group.prop("checked",e)}))}},ea.prototype.checkGroup=function(t){this.checkGroup_(t,!0)},ea.prototype.uncheckGroup=function(t){this.checkGroup_(t,!1)},ea.prototype.isCollapsed=function(e,r){if(this.options.groupByCollapsedGroups){var n=Zu.calculateObjectValue(this,this.options.groupByCollapsedGroups,[e,r],!0);if(t.inArray(e,n)>-1)return!0}return!1},ea.prototype.checkGroup_=function(e,r){var n=this.getSelections();this.$selectItem.filter((function(){return t(this).closest("tr").data("parent-index")===e})).prop("checked",r),this.updateRows(),this.updateSelected();var o=this.getSelections();r?this.trigger("check-all",o,n):this.trigger("uncheck-all",o,n)},ea.prototype.getGroupByFields=function(){var e=this.options.groupByField;return t.isArray(this.options.groupByField)||(e=[this.options.groupByField]),e},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&&c(t,e)}(y,e);var u,f,l,p=a(y);function y(){return n(this,y),p.apply(this,arguments)}return u=y,(f=[{key:"scrollTo",value:function(e){if(this.options.groupBy){var n={unit:"px",value:0};if("object"===r(e)&&(n=Object.assign(n,e)),"rows"===n.unit){var o=0;return this.$body.find("> tr:not(.group-by):lt(".concat(n.value,")")).each((function(e,r){o+=t(r).outerHeight(!0)})),this.$body.find("> tr:not(.group-by):eq(".concat(n.value,")")).prevAll(".group-by").each((function(e,r){o+=t(r).outerHeight(!0)})),void this.$tableBody.scrollTop(o)}}s(i(y.prototype),"scrollTo",this).call(this,e)}}])&&o(u.prototype,f),l&&o(u,l),Object.defineProperty(u,"prototype",{writable:!1}),y}(t.BootstrapTable)}));