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.6 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 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 l="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},p=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof l&&l)||s("object"==typeof l&&l)||function(){return this}()||Function("return this")(),y={},b=function(t){try{return!!t()}catch(t){return!0}},d=!b((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!b((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=h,g=Function.prototype.call,m=v?g.bind(g):function(){return g.apply(g,arguments)},w={},j={}.propertyIsEnumerable,O=Object.getOwnPropertyDescriptor,S=O&&!j.call({1:2},1);w.f=S?function(t){var e=O(this,t);return!!e&&e.enumerable}:j;var T,P,C=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},E=h,R=Function.prototype,A=R.call,x=E&&R.bind.bind(A,A),F=E?x:function(t){return function(){return A.apply(t,arguments)}},_=F,D=_({}.toString),k=_("".slice),I=function(t){return k(D(t),8,-1)},M=b,B=I,L=Object,N=F("".split),z=M((function(){return!L("z").propertyIsEnumerable(0)}))?function(t){return"String"===B(t)?N(t,""):L(t)}:L,W=function(t){return null==t},H=W,q=TypeError,G=function(t){if(H(t))throw new q("Can't call method on "+t);return t},$=z,U=G,V=function(t){return $(U(t))},X="object"==typeof document&&document.all,K={all:X,IS_HTMLDDA:void 0===X&&void 0!==X},Q=K.all,Y=K.IS_HTMLDDA?function(t){return"function"==typeof t||t===Q}:function(t){return"function"==typeof t},J=Y,Z=K.all,tt=K.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=Y,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=F({}.isPrototypeOf),ut=p,ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",at=ut.process,ft=ut.Deno,lt=at&&at.versions||ft&&ft.version,st=lt&<.v8;st&&(P=(T=st.split("."))[0]>0&&T[0]<4?1:+(T[0]+T[1])),!P&&ct&&(!(T=ct.match(/Edge\/(\d+)/))||T[1]>=74)&&(T=ct.match(/Chrome\/(\d+)/))&&(P=+T[1]);var pt=P,yt=pt,bt=b,dt=p.String,ht=!!Object.getOwnPropertySymbols&&!bt((function(){var t=Symbol("symbol detection");return!dt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&yt&&yt<41})),vt=ht&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,gt=ot,mt=Y,wt=it,jt=Object,Ot=vt?function(t){return"symbol"==typeof t}:function(t){var e=gt("Symbol");return mt(e)&&wt(e.prototype,jt(t))},St=String,Tt=Y,Pt=function(t){try{return St(t)}catch(t){return"Object"}},Ct=TypeError,Et=function(t){if(Tt(t))return t;throw new Ct(Pt(t)+" is not a function")},Rt=Et,At=W,xt=m,Ft=Y,_t=tt,Dt=TypeError,kt={exports:{}},It=p,Mt=Object.defineProperty,Bt=function(t,e){try{Mt(It,t,{value:e,configurable:!0,writable:!0})}catch(n){It[t]=e}return e},Lt=Bt,Nt="__core-js_shared__",zt=p[Nt]||Lt(Nt,{}),Wt=zt;(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 Ht=kt.exports,qt=G,Gt=Object,$t=function(t){return Gt(qt(t))},Ut=$t,Vt=F({}.hasOwnProperty),Xt=Object.hasOwn||function(t,e){return Vt(Ut(t),e)},Kt=F,Qt=0,Yt=Math.random(),Jt=Kt(1..toString),Zt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Jt(++Qt+Yt,36)},te=Ht,ee=Xt,ne=Zt,re=ht,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,le=tt,se=Ot,pe=function(t,e){var n=t[e];return At(n)?void 0:Rt(n)},ye=function(t,e){var n,r;if("string"===e&&Ft(n=t.toString)&&!_t(r=xt(n,t)))return r;if(Ft(n=t.valueOf)&&!_t(r=xt(n,t)))return r;if("string"!==e&&Ft(n=t.toString)&&!_t(r=xt(n,t)))return r;throw new Dt("Can't convert object to primitive value")},be=TypeError,de=ae("toPrimitive"),he=function(t,e){if(!le(t)||se(t))return t;var n,r=pe(t,de);if(r){if(void 0===e&&(e="default"),n=fe(r,t,e),!le(n)||se(n))return n;throw new be("Can't convert object to primitive value")}return void 0===e&&(e="number"),ye(t,e)},ve=Ot,ge=function(t){var e=he(t,"string");return ve(e)?e:e+""},me=tt,we=p.document,je=me(we)&&me(we.createElement),Oe=function(t){return je?we.createElement(t):{}},Se=Oe,Te=!d&&!b((function(){return 7!==Object.defineProperty(Se("div"),"a",{get:function(){return 7}}).a})),Pe=d,Ce=m,Ee=w,Re=C,Ae=V,xe=ge,Fe=Xt,_e=Te,De=Object.getOwnPropertyDescriptor;y.f=Pe?De:function(t,e){if(t=Ae(t),e=xe(e),_e)try{return De(t,e)}catch(t){}if(Fe(t,e))return Re(!Ce(Ee.f,t,e),t[e])};var ke={},Ie=d&&b((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Me=tt,Be=String,Le=TypeError,Ne=function(t){if(Me(t))return t;throw new Le(Be(t)+" is not an object")},ze=d,We=Te,He=Ie,qe=Ne,Ge=ge,$e=TypeError,Ue=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,Xe="enumerable",Ke="configurable",Qe="writable";ke.f=ze?He?function(t,e,n){if(qe(t),e=Ge(e),qe(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Qe in n&&!n.writable){var r=Ve(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 Ue(t,e,n)}:Ue:function(t,e,n){if(qe(t),e=Ge(e),qe(n),We)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=ke,Je=C,Ze=d?function(t,e,n){return Ye.f(t,e,Je(1,n))}:function(t,e,n){return t[e]=n,t},tn={exports:{}},en=d,nn=Xt,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=Y,fn=zt,ln=F(Function.toString);an(fn.inspectSource)||(fn.inspectSource=function(t){return ln(t)});var sn,pn,yn,bn=fn.inspectSource,dn=Y,hn=p.WeakMap,vn=dn(hn)&&/native code/.test(String(hn)),gn=Zt,mn=Ht("keys"),wn=function(t){return mn[t]||(mn[t]=gn(t))},jn={},On=vn,Sn=p,Tn=tt,Pn=Ze,Cn=Xt,En=zt,Rn=wn,An=jn,xn="Object already initialized",Fn=Sn.TypeError,_n=Sn.WeakMap;if(On||En.state){var Dn=En.state||(En.state=new _n);Dn.get=Dn.get,Dn.has=Dn.has,Dn.set=Dn.set,sn=function(t,e){if(Dn.has(t))throw new Fn(xn);return e.facade=t,Dn.set(t,e),e},pn=function(t){return Dn.get(t)||{}},yn=function(t){return Dn.has(t)}}else{var kn=Rn("state");An[kn]=!0,sn=function(t,e){if(Cn(t,kn))throw new Fn(xn);return e.facade=t,Pn(t,kn,e),e},pn=function(t){return Cn(t,kn)?t[kn]:{}},yn=function(t){return Cn(t,kn)}}var In={set:sn,get:pn,has:yn,enforce:function(t){return yn(t)?pn(t):sn(t,{})},getterFor:function(t){return function(e){var n;if(!Tn(e)||(n=pn(e)).type!==t)throw new Fn("Incompatible receiver, "+t+" required");return n}}},Mn=F,Bn=b,Ln=Y,Nn=Xt,zn=d,Wn=cn.CONFIGURABLE,Hn=bn,qn=In.enforce,Gn=In.get,$n=String,Un=Object.defineProperty,Vn=Mn("".slice),Xn=Mn("".replace),Kn=Mn([].join),Qn=zn&&!Bn((function(){return 8!==Un((function(){}),"length",{value:8}).length})),Yn=String(String).split("String"),Jn=tn.exports=function(t,e,n){"Symbol("===Vn($n(e),0,7)&&(e="["+Xn($n(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!Nn(t,"name")||Wn&&t.name!==e)&&(zn?Un(t,"name",{value:e,configurable:!0}):t.name=e),Qn&&n&&Nn(n,"arity")&&t.length!==n.arity&&Un(t,"length",{value:n.arity});try{n&&Nn(n,"constructor")&&n.constructor?zn&&Un(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=qn(t);return Nn(r,"source")||(r.source=Kn(Yn,"string"==typeof e?e:"")),t};Function.prototype.toString=Jn((function(){return Ln(this)&&Gn(this).source||Hn(this)}),"toString");var Zn=tn.exports,tr=Y,er=ke,nr=Zn,rr=Bt,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)},lr=fr,sr=Math.max,pr=Math.min,yr=fr,br=Math.min,dr=function(t){return t>0?br(yr(t),9007199254740991):0},hr=function(t){return dr(t.length)},vr=V,gr=function(t,e){var n=lr(t);return n<0?sr(n+e,0):pr(n,e)},mr=hr,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}},jr={includes:wr(!0),indexOf:wr(!1)},Or=Xt,Sr=V,Tr=jr.indexOf,Pr=jn,Cr=F([].push),Er=function(t,e){var n,r=Sr(t),o=0,i=[];for(n in r)!Or(Pr,n)&&Or(r,n)&&Cr(i,n);for(;e.length>o;)Or(r,n=e[o++])&&(~Tr(i,n)||Cr(i,n));return i},Rr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ar=Er,xr=Rr.concat("length","prototype");ir.f=Object.getOwnPropertyNames||function(t){return Ar(t,xr)};var Fr={};Fr.f=Object.getOwnPropertySymbols;var _r=ot,Dr=ir,kr=Fr,Ir=Ne,Mr=F([].concat),Br=_r("Reflect","ownKeys")||function(t){var e=Dr.f(Ir(t)),n=kr.f;return n?Mr(e,n(t)):e},Lr=Xt,Nr=Br,zr=y,Wr=ke,Hr=b,qr=Y,Gr=/#|\.prototype\./,$r=function(t,e){var n=Vr[Ur(t)];return n===Kr||n!==Xr&&(qr(e)?Hr(e):!!e)},Ur=$r.normalize=function(t){return String(t).replace(Gr,".").toLowerCase()},Vr=$r.data={},Xr=$r.NATIVE="N",Kr=$r.POLYFILL="P",Qr=$r,Yr=p,Jr=y.f,Zr=Ze,to=or,eo=Bt,no=function(t,e,n){for(var r=Nr(e),o=Wr.f,i=zr.f,u=0;u<r.length;u++){var c=r[u];Lr(t,c)||n&&Lr(n,c)||o(t,c,i(e,c))}},ro=Qr,oo=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]||eo(c,{}):(Yr[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=Er,uo=Rr,co=Object.keys||function(t){return io(t,uo)},ao=d,fo=F,lo=m,so=b,po=co,yo=Fr,bo=w,ho=$t,vo=z,go=Object.assign,mo=Object.defineProperty,wo=fo([].concat),jo=!go||so((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=ho(t),r=arguments.length,o=1,i=yo.f,u=bo.f;r>o;)for(var c,a=vo(arguments[o++]),f=i?wo(po(a),i(a)):po(a),l=f.length,s=0;l>s;)c=f[s++],ao&&!lo(u,a,c)||(n[c]=a[c]);return n}:go,Oo=jo;oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==Oo},{assign:Oo});var So=I,To=Array.isArray||function(t){return"Array"===So(t)},Po=TypeError,Co=ge,Eo=ke,Ro=C,Ao={};Ao[ae("toStringTag")]="z";var xo="[object z]"===String(Ao),Fo=xo,_o=Y,Do=I,ko=ae("toStringTag"),Io=Object,Mo="Arguments"===Do(function(){return arguments}()),Bo=Fo?Do: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=Io(t),ko))?n:Mo?Do(e):"Object"===(r=Do(e))&&_o(e.callee)?"Arguments":r},Lo=F,No=b,zo=Y,Wo=Bo,Ho=bn,qo=function(){},Go=[],$o=ot("Reflect","construct"),Uo=/^\s*(?:class|function)\b/,Vo=Lo(Uo.exec),Xo=!Uo.test(qo),Ko=function(t){if(!zo(t))return!1;try{return $o(qo,Go,t),!0}catch(t){return!1}},Qo=function(t){if(!zo(t))return!1;switch(Wo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Xo||!!Vo(Uo,Ho(t))}catch(t){return!0}};Qo.sham=!0;var Yo=!$o||No((function(){var t;return Ko(Ko.call)||!Ko(Object)||!Ko((function(){t=!0}))||t}))?Qo:Ko,Jo=To,Zo=Yo,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=b,ui=pt,ci=ae("species"),ai=oo,fi=b,li=To,si=tt,pi=$t,yi=hr,bi=function(t){if(t>9007199254740991)throw Po("Maximum allowed index exceeded");return t},di=function(t,e,n){var r=Co(e);r in t?Eo.f(t,r,Ro(0,n)):t[r]=n},hi=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})),ji=function(t){if(!si(t))return!1;var e=t[mi];return void 0!==e?!!e:li(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=hi(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(ji(i=-1===e?u:arguments[e]))for(o=yi(i),bi(a+o),n=0;n<o;n++,a++)n in i&&di(c,a,i[n]);else bi(a+1),di(c,a++,i);return c.length=a,c}});var Oi=I,Si=F,Ti=function(t){if("Function"===Oi(t))return Si(t)},Pi=Et,Ci=h,Ei=Ti(Ti.bind),Ri=function(t,e){return Pi(t),void 0===e?t:Ci?Ei(t,e):function(){return t.apply(e,arguments)}},Ai=z,xi=$t,Fi=hr,_i=oi,Di=F([].push),ki=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,y,b=xi(a),d=Ai(b),h=Fi(d),v=Ri(f,l),g=0,m=s||_i,w=e?m(a,h):n||u?m(a,0):void 0;h>g;g++)if((c||g in d)&&(y=v(p=d[g],g,b),t))if(e)w[g]=y;else if(y)switch(t){case 3:return!0;case 5:return p;case 6:return g;case 2:Di(w,p)}else switch(t){case 4:return!1;case 7:Di(w,p)}return i?-1:r||o?o:w}},Ii={forEach:ki(0),map:ki(1),filter:ki(2),some:ki(3),every:ki(4),find:ki(5),findIndex:ki(6),filterReject:ki(7)},Mi={},Bi=d,Li=Ie,Ni=ke,zi=Ne,Wi=V,Hi=co;Mi.f=Bi&&!Li?Object.defineProperties:function(t,e){zi(t);for(var n,r=Wi(e),o=Hi(e),i=o.length,u=0;i>u;)Ni.f(t,n=o[u++],r[n]);return t};var qi,Gi=ot("document","documentElement"),$i=Ne,Ui=Mi,Vi=Rr,Xi=jn,Ki=Gi,Qi=Oe,Yi=wn("IE_PROTO"),Ji=function(){},Zi=function(t){return"<script>"+t+"</"+"script>"},tu=function(t){t.write(Zi("")),t.close();var e=t.parentWindow.Object;return t=null,e},eu=function(){try{qi=new ActiveXObject("htmlfile")}catch(t){}var t,e;eu="undefined"!=typeof document?document.domain&&qi?tu(qi):((e=Qi("iframe")).style.display="none",Ki.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Zi("document.F=Object")),t.close(),t.F):tu(qi);for(var n=Vi.length;n--;)delete eu.prototype[Vi[n]];return eu()};Xi[Yi]=!0;var nu=ae,ru=Object.create||function(t,e){var n;return null!==t?(Ji.prototype=$i(t),n=new Ji,Ji.prototype=null,n[Yi]=t):n=eu(),void 0===e?n:Ui.f(n,e)},ou=ke.f,iu=nu("unscopables"),uu=Array.prototype;void 0===uu[iu]&&ou(uu,iu,{configurable:!0,value:ru(null)});var cu=oo,au=Ii.find,fu=function(t){uu[iu][t]=!0},lu="find",su=!0;lu in[]&&Array(1).find((function(){su=!1})),cu({target:"Array",proto:!0,forced:su},{find:function(t){return au(this,t,arguments.length>1?arguments[1]:void 0)}}),fu(lu);var pu=Bo,yu=xo?{}.toString:function(){return"[object "+pu(this)+"]"};xo||or(Object.prototype,"toString",yu,{unsafe:!0});var bu=b,du=oo,hu=z,vu=V,gu=function(t,e){var n=[][t];return!!n&&bu((function(){n.call(null,e||function(){return 1},1)}))},mu=F([].join);du({target:"Array",proto:!0,forced:hu!==Object||!gu("join",",")},{join:function(t){return mu(vu(this),void 0===t?",":t)}});var wu=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.locales,{formatCopyRows:function(){return"Copy Rows"}}),Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales),Object.assign(t.fn.bootstrapTable.defaults.icons,{copy:{bootstrap3:"glyphicon-copy icon-pencil",bootstrap5:"bi-clipboard",materialize:"content_copy","bootstrap-table":"icon-copy"}[t.fn.bootstrapTable.theme]||"fa-copy"});Object.assign(t.fn.bootstrapTable.defaults,{showCopyRows:!1,copyWithHidden:!1,copyDelimiter:", ",copyNewline:"\n"}),Object.assign(t.fn.bootstrapTable.columnDefaults,{ignoreCopy:!1,rawCopy:!1}),t.fn.bootstrapTable.methods.push("copyColumnsToClipboard"),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,l,s=c(p);function p(){return n(this,p),s.apply(this,arguments)}return u=p,a=[{key:"initToolbar",value:function(){var t;this.options.showCopyRows&&this.header.stateField&&(this.buttons=Object.assign(this.buttons,{copyRows:{text:this.options.formatCopyRows(),icon:this.options.icons.copy,event:this.copyColumnsToClipboard,attributes:{"aria-label":this.options.formatCopyRows(),title:this.options.formatCopyRows()}}}));for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=f(o(p.prototype),"initToolbar",this)).call.apply(t,[this].concat(n)),this.$copyButton=this.$toolbar.find('>.columns [name="copyRows"]'),this.options.showCopyRows&&this.header.stateField&&this.updateCopyButton()}},{key:"copyColumnsToClipboard",value:function(){var e=this,n=[];t.each(this.getSelections(),(function(r,o){var i=[];t.each(e.options.columns[0],(function(t,n){if(n.field!==e.header.stateField&&(!e.options.copyWithHidden||e.options.copyWithHidden&&n.visible)&&!n.ignoreCopy&&null!==o[n.field]){var u=n.rawCopy?o[n.field]:wu.calculateObjectValue(n,e.header.formatters[t],[o[n.field],o,r],o[n.field]);i.push(u)}})),n.push(i.join(e.options.copyDelimiter))})),function(e){var n=document.createElement("textarea");t(n).html(e),document.body.appendChild(n),n.select();try{document.execCommand("copy")}catch(t){console.warn("Oops, unable to copy")}t(n).remove()}(n.join(this.options.copyNewline))}},{key:"updateSelected",value:function(){f(o(p.prototype),"updateSelected",this).call(this),this.updateCopyButton()}},{key:"updateCopyButton",value:function(){this.options.showCopyRows&&this.header.stateField&&this.$copyButton&&this.$copyButton.prop("disabled",!this.getSelections().length)}}],a&&r(u.prototype,a),l&&r(u,l),Object.defineProperty(u,"prototype",{writable:!1}),p}(t.BootstrapTable)}));