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) • 23.9 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.24.1
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
*/
!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((r="undefined"!=typeof globalThis?globalThis:r||self).jQuery)}(this,(function(r){"use strict";function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n<t;n++)e[n]=r[n];return e}function n(r,t,n){return t=i(t),function(r,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(r)}(r,u()?Reflect.construct(t,n||[],i(r).constructor):t.apply(r,n))}function e(r,t,n){return function(r,t){for(var n=0;n<t.length;n++){var e=t[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(r,s(e.key),e)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(r,t,n){var e=function(r,t){for(;!{}.hasOwnProperty.call(r,t)&&null!==(r=i(r)););return r}(r,t);if(e){var o=Object.getOwnPropertyDescriptor(e,t);return o.get?o.get.call(arguments.length<3?r:n):o.value}},o.apply(null,arguments)}function i(r){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},i(r)}function u(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(r){}return(u=function(){return!!r})()}function f(r,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,t){return r.__proto__=t,r},f(r,t)}function a(r,t,n,e){var u=o(i(r.prototype),t,n);return"function"==typeof u?function(r){return u.apply(n,r)}:u}function c(r){return function(r){if(Array.isArray(r))return t(r)}(r)||function(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||function(r,n){if(r){if("string"==typeof r)return t(r,n);var e={}.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(r,n):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(r){var t=function(r,t){if("object"!=typeof r||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t);if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r,"string");return"symbol"==typeof t?t:t+""}var l,p,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y={};function d(){if(p)return l;p=1;var r=function(r){return r&&r.Math===Math&&r};return l=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof v&&v)||r("object"==typeof l&&l)||function(){return this}()||Function("return this")()}var h,g,b,m,w,O,S,j,P={};function D(){return g?h:(g=1,h=function(r){try{return!!r()}catch(r){return!0}})}function x(){if(m)return b;m=1;var r=D();return b=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function T(){if(O)return w;O=1;var r=D();return w=!r((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}))}function R(){if(j)return S;j=1;var r=T(),t=Function.prototype.call;return S=r?t.bind(t):function(){return t.apply(t,arguments)},S}var A,E,k,I,C,F,M,_,B,z,L,N,$,q,G,U,H,W,K,Q,V,X,Y,J,Z,rr,tr,nr,er,or,ir,ur,fr,ar,cr,sr,lr,pr,vr,yr,dr,hr={};function gr(){if(A)return hr;A=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return hr.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,hr}function br(){return k?E:(k=1,E=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function mr(){if(C)return I;C=1;var r=T(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return I=r?e:function(r){return function(){return n.apply(r,arguments)}},I}function wr(){if(M)return F;M=1;var r=mr(),t=r({}.toString),n=r("".slice);return F=function(r){return n(t(r),8,-1)}}function Or(){if(B)return _;B=1;var r=mr(),t=D(),n=wr(),e=Object,o=r("".split);return _=t((function(){return!e("z").propertyIsEnumerable(0)}))?function(r){return"String"===n(r)?o(r,""):e(r)}:e}function Sr(){return L?z:(L=1,z=function(r){return null==r})}function jr(){if($)return N;$=1;var r=Sr(),t=TypeError;return N=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function Pr(){if(G)return q;G=1;var r=Or(),t=jr();return q=function(n){return r(t(n))}}function Dr(){if(H)return U;H=1;var r="object"==typeof document&&document.all;return U=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function xr(){if(K)return W;K=1;var r=Dr();return W=function(t){return"object"==typeof t?null!==t:r(t)}}function Tr(){if(V)return Q;V=1;var r=d(),t=Dr();return Q=function(n,e){return arguments.length<2?(o=r[n],t(o)?o:void 0):r[n]&&r[n][e];var o},Q}function Rr(){if(tr)return rr;tr=1;var r,t,n=d(),e=function(){if(Z)return J;Z=1;var r=d().navigator,t=r&&r.userAgent;return J=t?String(t):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,f=u&&u.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),rr=t}function Ar(){if(er)return nr;er=1;var r=Rr(),t=D(),n=d().String;return nr=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))}function Er(){if(ir)return or;ir=1;var r=Ar();return or=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function kr(){if(fr)return ur;fr=1;var r=Tr(),t=Dr(),n=function(){if(Y)return X;Y=1;var r=mr();return X=r({}.isPrototypeOf)}(),e=Er(),o=Object;return ur=e?function(r){return"symbol"==typeof r}:function(e){var i=r("Symbol");return t(i)&&n(i.prototype,o(e))}}function Ir(){if(cr)return ar;cr=1;var r=String;return ar=function(t){try{return r(t)}catch(r){return"Object"}}}function Cr(){if(lr)return sr;lr=1;var r=Dr(),t=Ir(),n=TypeError;return sr=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function Fr(){if(vr)return pr;vr=1;var r=Cr(),t=Sr();return pr=function(n,e){var o=n[e];return t(o)?void 0:r(o)}}function Mr(){if(dr)return yr;dr=1;var r=R(),t=Dr(),n=xr(),e=TypeError;return yr=function(o,i){var u,f;if("string"===i&&t(u=o.toString)&&!n(f=r(u,o)))return f;if(t(u=o.valueOf)&&!n(f=r(u,o)))return f;if("string"!==i&&t(u=o.toString)&&!n(f=r(u,o)))return f;throw new e("Can't convert object to primitive value")}}var _r,Br,zr,Lr,Nr,$r,qr,Gr,Ur,Hr,Wr,Kr,Qr,Vr,Xr,Yr,Jr,Zr,rt,tt,nt,et,ot,it,ut={exports:{}};function ft(){if(Lr)return zr;Lr=1;var r=d(),t=Object.defineProperty;return zr=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function at(){if(Nr)return ut.exports;Nr=1;var r=Br?_r:(Br=1,_r=!1),t=d(),n=ft(),e="__core-js_shared__",o=ut.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.39.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ut.exports}function ct(){if(qr)return $r;qr=1;var r=at();return $r=function(t,n){return r[t]||(r[t]=n||{})}}function st(){if(Ur)return Gr;Ur=1;var r=jr(),t=Object;return Gr=function(n){return t(r(n))}}function lt(){if(Wr)return Hr;Wr=1;var r=mr(),t=st(),n=r({}.hasOwnProperty);return Hr=Object.hasOwn||function(r,e){return n(t(r),e)}}function pt(){if(Qr)return Kr;Qr=1;var r=mr(),t=0,n=Math.random(),e=r(1..toString);return Kr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function vt(){if(Xr)return Vr;Xr=1;var r=d(),t=ct(),n=lt(),e=pt(),o=Ar(),i=Er(),u=r.Symbol,f=t("wks"),a=i?u.for||u:u&&u.withoutSetter||e;return Vr=function(r){return n(f,r)||(f[r]=o&&n(u,r)?u[r]:a("Symbol."+r)),f[r]}}function yt(){if(Jr)return Yr;Jr=1;var r=R(),t=xr(),n=kr(),e=Fr(),o=Mr(),i=vt(),u=TypeError,f=i("toPrimitive");return Yr=function(i,a){if(!t(i)||n(i))return i;var c,s=e(i,f);if(s){if(void 0===a&&(a="default"),c=r(s,i,a),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===a&&(a="number"),o(i,a)}}function dt(){if(rt)return Zr;rt=1;var r=yt(),t=kr();return Zr=function(n){var e=r(n,"string");return t(e)?e:e+""}}function ht(){if(ot)return et;ot=1;var r=x(),t=D(),n=function(){if(nt)return tt;nt=1;var r=d(),t=xr(),n=r.document,e=t(n)&&t(n.createElement);return tt=function(r){return e?n.createElement(r):{}}}();return et=!r&&!t((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function gt(){if(it)return P;it=1;var r=x(),t=R(),n=gr(),e=br(),o=Pr(),i=dt(),u=lt(),f=ht(),a=Object.getOwnPropertyDescriptor;return P.f=r?a:function(r,c){if(r=o(r),c=i(c),f)try{return a(r,c)}catch(r){}if(u(r,c))return e(!t(n.f,r,c),r[c])},P}var bt,mt,wt,Ot,St,jt,Pt,Dt={};function xt(){if(Ot)return wt;Ot=1;var r=xr(),t=String,n=TypeError;return wt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function Tt(){if(St)return Dt;St=1;var r=x(),t=ht(),n=function(){if(mt)return bt;mt=1;var r=x(),t=D();return bt=r&&t((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}(),e=xt(),o=dt(),i=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a="enumerable",c="configurable",s="writable";return Dt.f=r?n?function(r,t,n){if(e(r),t=o(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&s in n&&!n[s]){var i=f(r,t);i&&i[s]&&(r[t]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:a in n?n[a]:i[a],writable:!1})}return u(r,t,n)}:u:function(r,n,f){if(e(r),n=o(n),e(f),t)try{return u(r,n,f)}catch(r){}if("get"in f||"set"in f)throw new i("Accessors not supported");return"value"in f&&(r[n]=f.value),r},Dt}function Rt(){if(Pt)return jt;Pt=1;var r=x(),t=Tt(),n=br();return jt=r?function(r,e,o){return t.f(r,e,n(1,o))}:function(r,t,n){return r[t]=n,r}}var At,Et,kt,It,Ct,Ft,Mt,_t,Bt,zt,Lt,Nt,$t,qt,Gt,Ut={exports:{}};function Ht(){if(It)return kt;It=1;var r=mr(),t=Dr(),n=at(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),kt=n.inspectSource}function Wt(){if(_t)return Mt;_t=1;var r=ct(),t=pt(),n=r("keys");return Mt=function(r){return n[r]||(n[r]=t(r))}}function Kt(){return zt?Bt:(zt=1,Bt={})}function Qt(){if(Nt)return Lt;Nt=1;var r,t,n,e=function(){if(Ft)return Ct;Ft=1;var r=d(),t=Dr(),n=r.WeakMap;return Ct=t(n)&&/native code/.test(String(n))}(),o=d(),i=xr(),u=Rt(),f=lt(),a=at(),c=Wt(),s=Kt(),l="Object already initialized",p=o.TypeError,v=o.WeakMap;if(e||a.state){var y=a.state||(a.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,r=function(r,t){if(y.has(r))throw new p(l);return t.facade=r,y.set(r,t),t},t=function(r){return y.get(r)||{}},n=function(r){return y.has(r)}}else{var h=c("state");s[h]=!0,r=function(r,t){if(f(r,h))throw new p(l);return t.facade=r,u(r,h,t),t},t=function(r){return f(r,h)?r[h]:{}},n=function(r){return f(r,h)}}return Lt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!i(n)||(e=t(n)).type!==r)throw new p("Incompatible receiver, "+r+" required");return e}}}}function Vt(){if($t)return Ut.exports;$t=1;var r=mr(),t=D(),n=Dr(),e=lt(),o=x(),i=function(){if(Et)return At;Et=1;var r=x(),t=lt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!r||r&&e(n,"name").configurable);return At={EXISTS:o,PROPER:i,CONFIGURABLE:u}}().CONFIGURABLE,u=Ht(),f=Qt(),a=f.enforce,c=f.get,s=String,l=Object.defineProperty,p=r("".slice),v=r("".replace),y=r([].join),d=o&&!t((function(){return 8!==l((function(){}),"length",{value:8}).length})),h=String(String).split("String"),g=Ut.exports=function(r,t,n){"Symbol("===p(s(t),0,7)&&(t="["+v(s(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||i&&r.name!==t)&&(o?l(r,"name",{value:t,configurable:!0}):r.name=t),d&&n&&e(n,"arity")&&r.length!==n.arity&&l(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?o&&l(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var u=a(r);return e(u,"source")||(u.source=y(h,"string"==typeof t?t:"")),r};return Function.prototype.toString=g((function(){return n(this)&&c(this).source||u(this)}),"toString"),Ut.exports}function Xt(){if(Gt)return qt;Gt=1;var r=Dr(),t=Tt(),n=Vt(),e=ft();return qt=function(o,i,u,f){f||(f={});var a=f.enumerable,c=void 0!==f.name?f.name:i;if(r(u)&&n(u,c,f),f.global)a?o[i]=u:e(i,u);else{try{f.unsafe?o[i]&&(a=!0):delete o[i]}catch(r){}a?o[i]=u:t.f(o,i,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return o}}var Yt,Jt,Zt,rn,tn,nn,en,on,un,fn,an,cn,sn,ln,pn,vn,yn,dn={};function hn(){if(rn)return Zt;rn=1;var r=function(){if(Jt)return Yt;Jt=1;var r=Math.ceil,t=Math.floor;return Yt=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return Zt=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function gn(){if(nn)return tn;nn=1;var r=hn(),t=Math.max,n=Math.min;return tn=function(e,o){var i=r(e);return i<0?t(i+o,0):n(i,o)}}function bn(){if(on)return en;on=1;var r=hn(),t=Math.min;return en=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function mn(){if(fn)return un;fn=1;var r=bn();return un=function(t){return r(t.length)}}function wn(){if(cn)return an;cn=1;var r=Pr(),t=gn(),n=mn(),e=function(e){return function(o,i,u){var f=r(o),a=n(f);if(0===a)return!e&&-1;var c,s=t(u,a);if(e&&i!=i){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((e||s in f)&&f[s]===i)return e||s||0;return!e&&-1}};return an={includes:e(!0),indexOf:e(!1)}}function On(){if(ln)return sn;ln=1;var r=mr(),t=lt(),n=Pr(),e=wn().indexOf,o=Kt(),i=r([].push);return sn=function(r,u){var f,a=n(r),c=0,s=[];for(f in a)!t(o,f)&&t(a,f)&&i(s,f);for(;u.length>c;)t(a,f=u[c++])&&(~e(s,f)||i(s,f));return s}}function Sn(){return vn?pn:(vn=1,pn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var jn,Pn,Dn,xn,Tn,Rn,An,En,kn,In,Cn,Fn,Mn,_n,Bn={};function zn(){return jn||(jn=1,Bn.f=Object.getOwnPropertySymbols),Bn}function Ln(){if(Dn)return Pn;Dn=1;var r=Tr(),t=mr(),n=function(){if(yn)return dn;yn=1;var r=On(),t=Sn().concat("length","prototype");return dn.f=Object.getOwnPropertyNames||function(n){return r(n,t)},dn}(),e=zn(),o=xt(),i=t([].concat);return Pn=r("Reflect","ownKeys")||function(r){var t=n.f(o(r)),u=e.f;return u?i(t,u(r)):t}}function Nn(){if(Tn)return xn;Tn=1;var r=lt(),t=Ln(),n=gt(),e=Tt();return xn=function(o,i,u){for(var f=t(i),a=e.f,c=n.f,s=0;s<f.length;s++){var l=f[s];r(o,l)||u&&r(u,l)||a(o,l,c(i,l))}}}function $n(){if(kn)return En;kn=1;var r=d(),t=gt().f,n=Rt(),e=Xt(),o=ft(),i=Nn(),u=function(){if(An)return Rn;An=1;var r=D(),t=Dr(),n=/#|\.prototype\./,e=function(n,e){var a=i[o(n)];return a===f||a!==u&&(t(e)?r(e):!!e)},o=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",f=e.POLYFILL="P";return Rn=e}();return En=function(f,a){var c,s,l,p,v,y=f.target,d=f.global,h=f.stat;if(c=d?r:h?r[y]||o(y,{}):r[y]&&r[y].prototype)for(s in a){if(p=a[s],l=f.dontCallGetSet?(v=t(c,s))&&v.value:c[s],!u(d?s:y+(h?".":"#")+s,f.forced)&&void 0!==l){if(typeof p==typeof l)continue;i(p,l)}(f.sham||l&&l.sham)&&n(p,"sham",!0),e(c,s,p,f)}}}function qn(){if(Mn)return Fn;Mn=1;var r=D();return Fn=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){return 1},1)}))}}!function(){if(_n)return y;_n=1;var r=$n(),t=function(){if(Cn)return In;Cn=1;var r=wr(),t=mr();return In=function(n){if("Function"===r(n))return t(n)}}(),n=wn().indexOf,e=qn(),o=t([].indexOf),i=!!o&&1/o([1],1,-0)<0;r({target:"Array",proto:!0,forced:i||!e("indexOf")},{indexOf:function(r){var t=arguments.length>1?arguments[1]:void 0;return i?o(this,r,t)||0:n(this,r,t)}})}();var Gn,Un,Hn,Wn,Kn,Qn,Vn,Xn,Yn,Jn,Zn,re,te,ne,ee,oe,ie,ue,fe,ae,ce,se,le,pe={};function ve(){if(Un)return Gn;Un=1;var r=wr();return Gn=Array.isArray||function(t){return"Array"===r(t)}}function ye(){if(Qn)return Kn;Qn=1;var r=TypeError;return Kn=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}}function de(){if(Jn)return Yn;Jn=1;var r=function(){if(Xn)return Vn;Xn=1;var r={};return r[vt()("toStringTag")]="z",Vn="[object z]"===String(r)}(),t=Dr(),n=wr(),e=vt()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Yn=r?n:function(r){var u,f,a;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,t){try{return r[t]}catch(r){}}(u=o(r),e))?f:i?n(u):"Object"===(a=n(u))&&t(u.callee)?"Arguments":a}}function he(){if(re)return Zn;re=1;var r=mr(),t=D(),n=Dr(),e=de(),o=Tr(),i=Ht(),u=function(){},f=o("Reflect","construct"),a=/^\s*(?:class|function)\b/,c=r(a.exec),s=!a.test(u),l=function(r){if(!n(r))return!1;try{return f(u,[],r),!0}catch(r){return!1}},p=function(r){if(!n(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return s||!!c(a,i(r))}catch(r){return!0}};return p.sham=!0,Zn=!f||t((function(){var r;return l(l.call)||!l(Object)||!l((function(){r=!0}))||r}))?p:l}function ge(){if(ne)return te;ne=1;var r=ve(),t=he(),n=xr(),e=vt()("species"),o=Array;return te=function(i){var u;return r(i)&&(u=i.constructor,(t(u)&&(u===o||r(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?o:u}}function be(){if(oe)return ee;oe=1;var r=ge();return ee=function(t,n){return new(r(t))(0===n?0:n)}}function me(){if(ue)return ie;ue=1;var r=x(),t=Tt(),n=br();return ie=function(e,o,i){r?t.f(e,o,n(0,i)):e[o]=i}}function we(){if(ae)return fe;ae=1;var r=Ir(),t=TypeError;return fe=function(n,e){if(!delete n[e])throw new t("Cannot delete property "+r(e)+" of "+r(n))}}function Oe(){if(se)return ce;se=1;var r=D(),t=vt(),n=Rr(),e=t("species");return ce=function(t){return n>=51||!r((function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}}!function(){if(le)return pe;le=1;var r=$n(),t=st(),n=gn(),e=hn(),o=mn(),i=function(){if(Wn)return Hn;Wn=1;var r=x(),t=ve(),n=TypeError,e=Object.getOwnPropertyDescriptor,o=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return Hn=o?function(r,o){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=o}:function(r,t){return r.length=t}}(),u=ye(),f=be(),a=me(),c=we(),s=Oe()("splice"),l=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!s},{splice:function(r,s){var v,y,d,h,g,b,m=t(this),w=o(m),O=n(r,w),S=arguments.length;for(0===S?v=y=0:1===S?(v=0,y=w-O):(v=S-2,y=p(l(e(s),0),w-O)),u(w+v-y),d=f(m,y),h=0;h<y;h++)(g=O+h)in m&&a(d,h,m[g]);if(d.length=y,v<y){for(h=O;h<w-y;h++)b=h+v,(g=h+y)in m?m[b]=m[g]:c(m,b);for(h=w;h>w-y+v;h--)c(m,h-1)}else if(v>y)for(h=w-y;h>O;h--)b=h+v-1,(g=h+y-1)in m?m[b]=m[g]:c(m,b);for(h=0;h<v;h++)m[h+O]=arguments[h+2];return i(m,w-y+v),d}})}();var Se,je,Pe,De,xe,Te={};function Re(){if(je)return Se;je=1;var r=On(),t=Sn();return Se=Object.keys||function(n){return r(n,t)}}!function(){if(xe)return Te;xe=1;var r=$n(),t=function(){if(De)return Pe;De=1;var r=x(),t=mr(),n=R(),e=D(),o=Re(),i=zn(),u=gr(),f=st(),a=Or(),c=Object.assign,s=Object.defineProperty,l=t([].concat);return Pe=!c||e((function(){if(r&&1!==c({b:1},c(s({},"a",{enumerable:!0,get:function(){s(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},e=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[e]=7,i.split("").forEach((function(r){n[r]=r})),7!==c({},t)[e]||o(c({},n)).join("")!==i}))?function(t,e){for(var c=f(t),s=arguments.length,p=1,v=i.f,y=u.f;s>p;)for(var d,h=a(arguments[p++]),g=v?l(o(h),v(h)):o(h),b=g.length,m=0;b>m;)d=g[m++],r&&!n(y,h,d)||(c[d]=h[d]);return c}:c,Pe}();r({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t})}();var Ae=function(r,t){return{id:"customId_".concat(t)}};Object.assign(r.fn.bootstrapTable.defaults,{reorderableRows:!1,onDragStyle:null,onDropStyle:null,onDragClass:"reorder-rows-on-drag-class",dragHandle:">tbody>tr>td:not(.bs-checkbox)",useRowAttrFunc:!1,onReorderRowsDrag:function(r){return!1},onReorderRowsDrop:function(r){return!1},onReorderRow:function(r){return!1},onDragStop:function(){},onAllowDrop:function(){return!0}}),Object.assign(r.fn.bootstrapTable.events,{"reorder-row.bs.table":"onReorderRow"}),r.BootstrapTable=function(t){function o(){return function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),n(this,o,arguments)}return function(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&f(r,t)}(o,t),e(o,[{key:"init",value:function(){for(var r=this,t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];if(this.options.reorderableRows){this.options.useRowAttrFunc&&(this.options.rowAttributes=Ae);var i=this.options.onPostBody;this.options.onPostBody=function(){setTimeout((function(){r.makeRowsReorderable(),i.call(r.options,r.options.data)}),1)},a(o,"init",this)(n)}else a(o,"init",this)(n)}},{key:"makeRowsReorderable",value:function(){var r=this;this.$el.tableDnD({onDragStyle:this.options.onDragStyle,onDropStyle:this.options.onDropStyle,onDragClass:this.options.onDragClass,onAllowDrop:function(t,n){return r.onAllowDrop(t,n)},onDragStop:function(t,n){return r.onDragStop(t,n)},onDragStart:function(t,n){return r.onDropStart(t,n)},onDrop:function(t,n){return r.onDrop(t,n)},dragHandle:this.options.dragHandle})}},{key:"onDropStart",value:function(t,n){this.$draggingTd=r(n).css("cursor","move"),this.draggingIndex=r(this.$draggingTd.parent()).data("index"),this.options.onReorderRowsDrag(this.data[this.draggingIndex])}},{key:"onDragStop",value:function(t,n){var e=r(n).data("index"),o=this.data[e];this.options.onDragStop(t,o,n)}},{key:"onAllowDrop",value:function(t,n){var e=r(n).data("index"),o=r(t).data("index"),i=this.data[e],u=this.data[o];return this.options.onAllowDrop(u,i,t,n)}},{key:"onDrop",value:function(t){this.$draggingTd.css("cursor","");for(var n=this.options.pageNumber,e=this.options.pageSize,o=[],i=0;i<t.tBodies[0].rows.length;i++){var u=r(t.tBodies[0].rows[i]);o.push(this.data[u.data("index")]),u.data("index",i)}var f=this.data[this.draggingIndex],a=o.indexOf(this.data[this.draggingIndex]),s=this.data[a],l=(n-1)*e+this.options.data.indexOf(this.data[a]);this.options.data.splice(this.options.data.indexOf(f),1),this.options.data.splice(l,0,f),this.initSearch(),"server"===this.options.sidePagination&&(this.data=c(this.options.data)),this.options.onReorderRowsDrop(s),this.trigger("reorder-row",o,f,s)}},{key:"initSearch",value:function(){this.ignoreInitSort=!0,a(o,"initSearch",this)([])}},{key:"initSort",value:function(){this.ignoreInitSort?this.ignoreInitSort=!1:a(o,"initSort",this)([])}}])}(r.BootstrapTable)}));