/** * 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.23.2 * @homepage https://bootstrap-table.com * @author wenzhixin (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,e,r){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,r||[],o(t).constructor):e.apply(t,r))}function r(t,e,r){return e&&function(t,e){for(var r=0;r0&&O[0]<4?1:+(O[0]+O[1])),!T&&nt&&(!(O=nt.match(/Edge\/(\d+)/))||O[1]>=74)&&(O=nt.match(/Chrome\/(\d+)/))&&(T=+O[1]);var at=T,st=at,ft=y,lt=l.String,pt=!!Object.getOwnPropertySymbols&&!ft((function(){var t=Symbol("symbol detection");return!lt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&st&&st<41})),yt=pt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,dt=Z,ht=U,gt=tt,bt=Object,vt=yt?function(t){return"symbol"==typeof t}:function(t){var e=dt("Symbol");return ht(e)&>(e.prototype,bt(t))},mt=String,St=function(t){try{return mt(t)}catch(t){return"Object"}},wt=U,jt=St,Ot=TypeError,Tt=function(t){if(wt(t))return t;throw new Ot(jt(t)+" is not a function")},Et=Tt,Pt=$,xt=v,Gt=U,Bt=J,kt=TypeError,At={exports:{}},Ct=l,Lt=Object.defineProperty,Ft=function(t,e){try{Lt(Ct,t,{value:e,configurable:!0,writable:!0})}catch(r){Ct[t]=e}return e},_t=l,Mt=Ft,It="__core-js_shared__",Rt=At.exports=_t[It]||Mt(It,{});(Rt.versions||(Rt.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Vt=At.exports,$t=Vt,Dt=function(t,e){return $t[t]||($t[t]=e||{})},Nt=z,zt=Object,qt=function(t){return zt(Nt(t))},Ht=qt,Wt=k({}.hasOwnProperty),Kt=Object.hasOwn||function(t,e){return Wt(Ht(t),e)},Ut=k,Xt=0,Jt=Math.random(),Qt=Ut(1..toString),Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Qt(++Xt+Jt,36)},Zt=Dt,te=Kt,ee=Yt,re=pt,ne=yt,oe=l.Symbol,ie=Zt("wks"),ce=ne?oe.for||oe:oe&&oe.withoutSetter||ee,ue=function(t){return te(ie,t)||(ie[t]=re&&te(oe,t)?oe[t]:ce("Symbol."+t)),ie[t]},ae=v,se=J,fe=vt,le=function(t,e){var r=t[e];return Pt(r)?void 0:Et(r)},pe=function(t,e){var r,n;if("string"===e&&Gt(r=t.toString)&&!Bt(n=xt(r,t)))return n;if(Gt(r=t.valueOf)&&!Bt(n=xt(r,t)))return n;if("string"!==e&&Gt(r=t.toString)&&!Bt(n=xt(r,t)))return n;throw new kt("Can't convert object to primitive value")},ye=TypeError,de=ue("toPrimitive"),he=function(t,e){if(!se(t)||fe(t))return t;var r,n=le(t,de);if(n){if(void 0===e&&(e="default"),r=ae(n,t,e),!se(r)||fe(r))return r;throw new ye("Can't convert object to primitive value")}return void 0===e&&(e="number"),pe(t,e)},ge=vt,be=function(t){var e=he(t,"string");return ge(e)?e:e+""},ve=J,me=l.document,Se=ve(me)&&ve(me.createElement),we=function(t){return Se?me.createElement(t):{}},je=we,Oe=!d&&!y((function(){return 7!==Object.defineProperty(je("div"),"a",{get:function(){return 7}}).a})),Te=d,Ee=v,Pe=m,xe=E,Ge=W,Be=be,ke=Kt,Ae=Oe,Ce=Object.getOwnPropertyDescriptor;p.f=Te?Ce:function(t,e){if(t=Ge(t),e=Be(e),Ae)try{return Ce(t,e)}catch(t){}if(ke(t,e))return xe(!Ee(Pe.f,t,e),t[e])};var Le={},Fe=d&&y((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),_e=J,Me=String,Ie=TypeError,Re=function(t){if(_e(t))return t;throw new Ie(Me(t)+" is not an object")},Ve=d,$e=Oe,De=Fe,Ne=Re,ze=be,qe=TypeError,He=Object.defineProperty,We=Object.getOwnPropertyDescriptor,Ke="enumerable",Ue="configurable",Xe="writable";Le.f=Ve?De?function(t,e,r){if(Ne(t),e=ze(e),Ne(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Xe in r&&!r[Xe]){var n=We(t,e);n&&n[Xe]&&(t[e]=r.value,r={configurable:Ue in r?r[Ue]:n[Ue],enumerable:Ke in r?r[Ke]:n[Ke],writable:!1})}return He(t,e,r)}:He:function(t,e,r){if(Ne(t),e=ze(e),Ne(r),$e)try{return He(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new qe("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Je=Le,Qe=E,Ye=d?function(t,e,r){return Je.f(t,e,Qe(1,r))}:function(t,e,r){return t[e]=r,t},Ze={exports:{}},tr=d,er=Kt,rr=Function.prototype,nr=tr&&Object.getOwnPropertyDescriptor,or=er(rr,"name"),ir={EXISTS:or,PROPER:or&&"something"===function(){}.name,CONFIGURABLE:or&&(!tr||tr&&nr(rr,"name").configurable)},cr=U,ur=Vt,ar=k(Function.toString);cr(ur.inspectSource)||(ur.inspectSource=function(t){return ar(t)});var sr,fr,lr,pr=ur.inspectSource,yr=U,dr=l.WeakMap,hr=yr(dr)&&/native code/.test(String(dr)),gr=Yt,br=Dt("keys"),vr=function(t){return br[t]||(br[t]=gr(t))},mr={},Sr=hr,wr=l,jr=J,Or=Ye,Tr=Kt,Er=Vt,Pr=vr,xr=mr,Gr="Object already initialized",Br=wr.TypeError,kr=wr.WeakMap;if(Sr||Er.state){var Ar=Er.state||(Er.state=new kr);Ar.get=Ar.get,Ar.has=Ar.has,Ar.set=Ar.set,sr=function(t,e){if(Ar.has(t))throw new Br(Gr);return e.facade=t,Ar.set(t,e),e},fr=function(t){return Ar.get(t)||{}},lr=function(t){return Ar.has(t)}}else{var Cr=Pr("state");xr[Cr]=!0,sr=function(t,e){if(Tr(t,Cr))throw new Br(Gr);return e.facade=t,Or(t,Cr,e),e},fr=function(t){return Tr(t,Cr)?t[Cr]:{}},lr=function(t){return Tr(t,Cr)}}var Lr={set:sr,get:fr,has:lr,enforce:function(t){return lr(t)?fr(t):sr(t,{})},getterFor:function(t){return function(e){var r;if(!jr(e)||(r=fr(e)).type!==t)throw new Br("Incompatible receiver, "+t+" required");return r}}},Fr=k,_r=y,Mr=U,Ir=Kt,Rr=d,Vr=ir.CONFIGURABLE,$r=pr,Dr=Lr.enforce,Nr=Lr.get,zr=String,qr=Object.defineProperty,Hr=Fr("".slice),Wr=Fr("".replace),Kr=Fr([].join),Ur=Rr&&!_r((function(){return 8!==qr((function(){}),"length",{value:8}).length})),Xr=String(String).split("String"),Jr=Ze.exports=function(t,e,r){"Symbol("===Hr(zr(e),0,7)&&(e="["+Wr(zr(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Ir(t,"name")||Vr&&t.name!==e)&&(Rr?qr(t,"name",{value:e,configurable:!0}):t.name=e),Ur&&r&&Ir(r,"arity")&&t.length!==r.arity&&qr(t,"length",{value:r.arity});try{r&&Ir(r,"constructor")&&r.constructor?Rr&&qr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=Dr(t);return Ir(n,"source")||(n.source=Kr(Xr,"string"==typeof e?e:"")),t};Function.prototype.toString=Jr((function(){return Mr(this)&&Nr(this).source||$r(this)}),"toString");var Qr=Ze.exports,Yr=U,Zr=Le,tn=Qr,en=Ft,rn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(Yr(r)&&tn(r,i,n),n.global)o?t[e]=r:en(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Zr.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},nn={},on=Math.ceil,cn=Math.floor,un=Math.trunc||function(t){var e=+t;return(e>0?cn:on)(e)},an=function(t){var e=+t;return e!=e||0===e?0:un(e)},sn=an,fn=Math.max,ln=Math.min,pn=function(t,e){var r=sn(t);return r<0?fn(r+e,0):ln(r,e)},yn=an,dn=Math.min,hn=function(t){var e=yn(t);return e>0?dn(e,9007199254740991):0},gn=function(t){return hn(t.length)},bn=W,vn=pn,mn=gn,Sn=function(t){return function(e,r,n){var o=bn(e),i=mn(o);if(0===i)return!t&&-1;var c,u=vn(n,i);if(t&&r!=r){for(;i>u;)if((c=o[u++])!=c)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},wn={includes:Sn(!0),indexOf:Sn(!1)},jn=Kt,On=W,Tn=wn.indexOf,En=mr,Pn=k([].push),xn=function(t,e){var r,n=On(t),o=0,i=[];for(r in n)!jn(En,r)&&jn(n,r)&&Pn(i,r);for(;e.length>o;)jn(n,r=e[o++])&&(~Tn(i,r)||Pn(i,r));return i},Gn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Bn=xn,kn=Gn.concat("length","prototype");nn.f=Object.getOwnPropertyNames||function(t){return Bn(t,kn)};var An={};An.f=Object.getOwnPropertySymbols;var Cn=Z,Ln=nn,Fn=An,_n=Re,Mn=k([].concat),In=Cn("Reflect","ownKeys")||function(t){var e=Ln.f(_n(t)),r=Fn.f;return r?Mn(e,r(t)):e},Rn=Kt,Vn=In,$n=p,Dn=Le,Nn=y,zn=U,qn=/#|\.prototype\./,Hn=function(t,e){var r=Kn[Wn(t)];return r===Xn||r!==Un&&(zn(e)?Nn(e):!!e)},Wn=Hn.normalize=function(t){return String(t).replace(qn,".").toLowerCase()},Kn=Hn.data={},Un=Hn.NATIVE="N",Xn=Hn.POLYFILL="P",Jn=Hn,Qn=l,Yn=p.f,Zn=Ye,to=rn,eo=Ft,ro=function(t,e,r){for(var n=Vn(e),o=Dn.f,i=$n.f,c=0;c=51||!No((function(){var e=[];return(e.constructor={})[qo]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Wo=oo,Ko=y,Uo=co,Xo=J,Jo=qt,Qo=gn,Yo=function(t){if(t>9007199254740991)throw uo("Maximum allowed index exceeded");return t},Zo=lo,ti=Do,ei=Ho,ri=at,ni=ue("isConcatSpreadable"),oi=ri>=51||!Ko((function(){var t=[];return t[ni]=!1,t.concat()[0]!==t})),ii=function(t){if(!Xo(t))return!1;var e=t[ni];return void 0!==e?!!e:Uo(t)};Wo({target:"Array",proto:!0,arity:1,forced:!oi||!ei("concat")},{concat:function(t){var e,r,n,o,i,c=Jo(this),u=ti(c,0),a=0;for(e=-1,n=arguments.length;ev;v++)if((u||v in h)&&(y=b(p=h[v],v,d),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:bi(S,p)}else switch(t){case 4:return!1;case 7:bi(S,p)}return i?-1:n||o?o:S}},mi={forEach:vi(0),map:vi(1),filter:vi(2),some:vi(3),every:vi(4),find:vi(5),findIndex:vi(6),filterReject:vi(7)},Si=mi.filter;oo({target:"Array",proto:!0,forced:!Ho("filter")},{filter:function(t){return Si(this,t,arguments.length>1?arguments[1]:void 0)}});var wi={},ji=xn,Oi=Gn,Ti=Object.keys||function(t){return ji(t,Oi)},Ei=d,Pi=Fe,xi=Le,Gi=Re,Bi=W,ki=Ti;wi.f=Ei&&!Pi?Object.defineProperties:function(t,e){Gi(t);for(var r,n=Bi(e),o=ki(e),i=o.length,c=0;i>c;)xi.f(t,r=o[c++],n[r]);return t};var Ai,Ci=Z("document","documentElement"),Li=Re,Fi=wi,_i=Gn,Mi=mr,Ii=Ci,Ri=we,Vi="prototype",$i="script",Di=vr("IE_PROTO"),Ni=function(){},zi=function(t){return"<"+$i+">"+t+""},qi=function(t){t.write(zi("")),t.close();var e=t.parentWindow.Object;return t=null,e},Hi=function(){try{Ai=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Hi="undefined"!=typeof document?document.domain&&Ai?qi(Ai):(e=Ri("iframe"),r="java"+$i+":",e.style.display="none",Ii.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(zi("document.F=Object")),t.close(),t.F):qi(Ai);for(var n=_i.length;n--;)delete Hi[Vi][_i[n]];return Hi()};Mi[Di]=!0;var Wi=ue,Ki=Object.create||function(t,e){var r;return null!==t?(Ni[Vi]=Li(t),r=new Ni,Ni[Vi]=null,r[Di]=t):r=Hi(),void 0===e?r:Fi.f(r,e)},Ui=Le.f,Xi=Wi("unscopables"),Ji=Array.prototype;void 0===Ji[Xi]&&Ui(Ji,Xi,{configurable:!0,value:Ki(null)});var Qi=oo,Yi=mi.find,Zi=function(t){Ji[Xi][t]=!0},tc="find",ec=!0;tc in[]&&Array(1)[tc]((function(){ec=!1})),Qi({target:"Array",proto:!0,forced:ec},{find:function(t){return Yi(this,t,arguments.length>1?arguments[1]:void 0)}}),Zi(tc);var rc=y,nc=function(t,e){var r=[][t];return!!r&&rc((function(){r.call(null,e||function(){return 1},1)}))},oc=oo,ic=V,cc=W,uc=nc,ac=k([].join);oc({target:"Array",proto:!0,forced:ic!==Object||!uc("join",",")},{join:function(t){return ac(cc(this),void 0===t?",":t)}});var sc=k([].slice),fc=oo,lc=co,pc=Fo,yc=J,dc=pn,hc=gn,gc=W,bc=lo,vc=ue,mc=sc,Sc=Ho("slice"),wc=vc("species"),jc=Array,Oc=Math.max;fc({target:"Array",proto:!0,forced:!Sc},{slice:function(t,e){var r,n,o,i=gc(this),c=hc(i),u=dc(t,c),a=dc(void 0===e?c:e,c);if(lc(i)&&(r=i.constructor,(pc(r)&&(r===jc||lc(r.prototype))||yc(r)&&null===(r=r[wc]))&&(r=void 0),r===jc||void 0===r))return mc(i,u,a);for(n=new(void 0===r?jc:r)(Oc(a-u,0)),o=0;u0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var c=Bc(r/2),u=kc(Gc(t,0,c),e),a=kc(Gc(t,c),e),s=u.length,f=a.length,l=0,p=0;l3)){if(Uc)return!0;if(Jc)return Jc<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++)Qc.push({k:e+n,v:r})}for(Qc.sort((function(t,e){return e.v-t.v})),n=0;nzc(r)?1:-1}}(t)),r=Dc(o),n=0;no;)for(var u,a=ju(arguments[o++]),s=i?Eu(vu(a),i(a)):vu(a),f=s.length,l=0;f>l;)u=s[l++],du&&!gu(c,a,u)||(r[u]=a[u]);return r}:Ou,xu=Pu;oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==xu},{assign:xu});var Gu=wo,Bu=yo?{}.toString:function(){return"[object "+Gu(this)+"]"};yo||rn(Object.prototype,"toString",Bu,{unsafe:!0});var ku=we("span").classList,Au=ku&&ku.constructor&&ku.constructor.prototype,Cu=Au===Object.prototype?void 0:Au,Lu=mi.forEach,Fu=nc("forEach")?[].forEach:function(t){return Lu(this,t,arguments.length>1?arguments[1]:void 0)},_u=l,Mu={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=Cu,Ru=Fu,Vu=Ye,$u=function(t){if(t&&t.forEach!==Ru)try{Vu(t,"forEach",Ru)}catch(e){t.forEach=Ru}};for(var Du in Mu)Mu[Du]&&$u(_u[Du]&&_u[Du].prototype);$u(Iu);var Nu,zu=t.fn.bootstrapTable.utils;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 qu=t.fn.bootstrapTable.Constructor,Hu=qu.prototype.initSort,Wu=qu.prototype.initBody,Ku=qu.prototype.updateSelected;qu.prototype.initSort=function(){for(var e=this,r=arguments.length,n=new Array(r),o=0;o',e.options.groupByToggle?"expanded":"",r.id)),i.options.detailView&&!i.options.cardView&&n.push(''),c&&n.push('','',"");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("",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('')),n.push(""),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"))}))}Nu=!1,this.updateSelected()},qu.prototype.updateSelected=function(){if(!Nu){for(var t=arguments.length,e=new Array(t),r=0;r-1)return!0}return!1},qu.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)},qu.prototype.getGroupByFields=function(){var e=this.options.groupByField;return t.isArray(this.options.groupByField)||(e=[this.options.groupByField]),e},t.BootstrapTable=function(i){function u(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),e(this,u,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&&c(t,e)}(u,i),r(u,[{key:"scrollTo",value:function(e){if(this.options.groupBy){var r={unit:"px",value:0};if("object"===a(e)&&(r=Object.assign(r,e)),"rows"===r.unit){var i=0;return this.$body.find("> tr:not(.group-by):lt(".concat(r.value,")")).each((function(e,r){i+=t(r).outerHeight(!0)})),this.$body.find("> tr:not(.group-by):eq(".concat(r.value,")")).prevAll(".group-by").each((function(e,r){i+=t(r).outerHeight(!0)})),void this.$tableBody.scrollTop(i)}}n(o(u.prototype),"scrollTo",this).call(this,e)}}])}(t.BootstrapTable)}));