UNPKG

25.6 kBJavaScriptView Raw
1/**
2 * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
3 *
4 * @version v1.18.1
5 * @homepage https://bootstrap-table.com
6 * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
7 * @license MIT
8 */
9
10!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).BootstrapTable=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n=function(t){return t&&t.Math==Math&&t},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,a={f:u&&!c.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:c},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,s=function(t){return l.call(t).slice(8,-1)},p="".split,y=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==s(t)?p.call(t,""):Object(t)}:Object,d=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},v=function(t){return y(d(t))},h=function(t){return"object"==typeof t?null!==t:"function"==typeof t},g=function(t,e){if(!h(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!h(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!h(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!h(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,m=function(t,e){return b.call(t,e)},S=r.document,O=h(S)&&h(S.createElement),w=function(t){return O?S.createElement(t):{}},j=!i&&!o((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a})),x=Object.getOwnPropertyDescriptor,E={f:i?x:function(t,e){if(t=v(t),e=g(e,!0),j)try{return x(t,e)}catch(t){}if(m(t,e))return f(!a.f.call(t,e),t[e])}},T=function(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t},_=Object.defineProperty,P={f:i?_:function(t,e,n){if(T(t),e=g(e,!0),T(n),j)try{return _(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},A=i?function(t,e,n){return P.f(t,e,f(1,n))}:function(t,e,n){return t[e]=n,t},I=function(t,e){try{A(r,t,e)}catch(n){r[t]=e}return e},R="__core-js_shared__",L=r[R]||I(R,{}),C=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(t){return C.call(t)});var $,k,M,N=L.inspectSource,F=r.WeakMap,D="function"==typeof F&&/native code/.test(N(F)),G=e((function(t){(t.exports=function(t,e){return L[t]||(L[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),V=0,U=Math.random(),B=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++V+U).toString(36)},z=G("keys"),K=function(t){return z[t]||(z[t]=B(t))},W={},Y=r.WeakMap;if(D){var H=new Y,q=H.get,X=H.has,J=H.set;$=function(t,e){return J.call(H,t,e),e},k=function(t){return q.call(H,t)||{}},M=function(t){return X.call(H,t)}}else{var Q=K("state");W[Q]=!0,$=function(t,e){return A(t,Q,e),e},k=function(t){return m(t,Q)?t[Q]:{}},M=function(t){return m(t,Q)}}var Z,tt={set:$,get:k,has:M,enforce:function(t){return M(t)?k(t):$(t,{})},getterFor:function(t){return function(e){var n;if(!h(e)||(n=k(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},et=e((function(t){var e=tt.get,n=tt.enforce,o=String(String).split("String");(t.exports=function(t,e,i,c){var u=!!c&&!!c.unsafe,a=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof e||m(i,"name")||A(i,"name",e),n(i).source=o.join("string"==typeof e?e:"")),t!==r?(u?!f&&t[e]&&(a=!0):delete t[e],a?t[e]=i:A(t,e,i)):a?t[e]=i:I(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||N(this)}))})),nt=r,rt=function(t){return"function"==typeof t?t:void 0},ot=function(t,e){return arguments.length<2?rt(nt[t])||rt(r[t]):nt[t]&&nt[t][e]||r[t]&&r[t][e]},it=Math.ceil,ct=Math.floor,ut=function(t){return isNaN(t=+t)?0:(t>0?ct:it)(t)},at=Math.min,ft=function(t){return t>0?at(ut(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(e,n,r){var o,i=v(e),c=ft(i.length),u=function(t,e){var n=ut(t);return n<0?lt(n+e,0):st(n,e)}(r,c);if(t&&n!=n){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},yt={includes:pt(!0),indexOf:pt(!1)}.indexOf,dt=function(t,e){var n,r=v(t),o=0,i=[];for(n in r)!m(W,n)&&m(r,n)&&i.push(n);for(;e.length>o;)m(r,n=e[o++])&&(~yt(i,n)||i.push(n));return i},vt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ht=vt.concat("length","prototype"),gt={f:Object.getOwnPropertyNames||function(t){return dt(t,ht)}},bt={f:Object.getOwnPropertySymbols},mt=ot("Reflect","ownKeys")||function(t){var e=gt.f(T(t)),n=bt.f;return n?e.concat(n(t)):e},St=function(t,e){for(var n=mt(e),r=P.f,o=E.f,i=0;i<n.length;i++){var c=n[i];m(t,c)||r(t,c,o(e,c))}},Ot=/#|\.prototype\./,wt=function(t,e){var n=xt[jt(t)];return n==Tt||n!=Et&&("function"==typeof e?o(e):!!e)},jt=wt.normalize=function(t){return String(t).replace(Ot,".").toLowerCase()},xt=wt.data={},Et=wt.NATIVE="N",Tt=wt.POLYFILL="P",_t=wt,Pt=E.f,At=function(t,e){var n,o,i,c,u,a=t.target,f=t.global,l=t.stat;if(n=f?r:l?r[a]||I(a,{}):(r[a]||{}).prototype)for(o in e){if(c=e[o],i=t.noTargetGet?(u=Pt(n,o))&&u.value:n[o],!_t(f?o:a+(l?".":"#")+o,t.forced)&&void 0!==i){if(typeof c==typeof i)continue;St(c,i)}(t.sham||i&&i.sham)&&A(c,"sham",!0),et(n,o,c,t)}},It=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),Rt=It&&!Symbol.sham&&"symbol"==typeof Symbol(),Lt=Array.isArray||function(t){return"Array"==s(t)},Ct=function(t){return Object(d(t))},$t=Object.keys||function(t){return dt(t,vt)},kt=i?Object.defineProperties:function(t,e){T(t);for(var n,r=$t(e),o=r.length,i=0;o>i;)P.f(t,n=r[i++],e[n]);return t},Mt=ot("document","documentElement"),Nt=K("IE_PROTO"),Ft=function(){},Dt=function(t){return"<script>"+t+"</"+"script>"},Gt=function(){try{Z=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Gt=Z?function(t){t.write(Dt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Z):((e=w("iframe")).style.display="none",Mt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Dt("document.F=Object")),t.close(),t.F);for(var n=vt.length;n--;)delete Gt.prototype[vt[n]];return Gt()};W[Nt]=!0;var Vt=Object.create||function(t,e){var n;return null!==t?(Ft.prototype=T(t),n=new Ft,Ft.prototype=null,n[Nt]=t):n=Gt(),void 0===e?n:kt(n,e)},Ut=gt.f,Bt={}.toString,zt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Kt={f:function(t){return zt&&"[object Window]"==Bt.call(t)?function(t){try{return Ut(t)}catch(t){return zt.slice()}}(t):Ut(v(t))}},Wt=G("wks"),Yt=r.Symbol,Ht=Rt?Yt:B,qt=function(t){return m(Wt,t)||(It&&m(Yt,t)?Wt[t]=Yt[t]:Wt[t]=Ht("Symbol."+t)),Wt[t]},Xt={f:qt},Jt=P.f,Qt=function(t){var e=nt.Symbol||(nt.Symbol={});m(e,t)||Jt(e,t,{value:Xt.f(t)})},Zt=P.f,te=qt("toStringTag"),ee=function(t,e,n){t&&!m(t=n?t:t.prototype,te)&&Zt(t,te,{configurable:!0,value:e})},ne=function(t,e,n){if(function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function")}(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},re=qt("species"),oe=function(t,e){var n;return Lt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Lt(n.prototype)?h(n)&&null===(n=n[re])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},ie=[].push,ce=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,c=5==t||i;return function(u,a,f,l){for(var s,p,d=Ct(u),v=y(d),h=ne(a,f,3),g=ft(v.length),b=0,m=l||oe,S=e?m(u,g):n?m(u,0):void 0;g>b;b++)if((c||b in v)&&(p=h(s=v[b],b,d),t))if(e)S[b]=p;else if(p)switch(t){case 3:return!0;case 5:return s;case 6:return b;case 2:ie.call(S,s)}else if(o)return!1;return i?-1:r||o?o:S}},ue={forEach:ce(0),map:ce(1),filter:ce(2),some:ce(3),every:ce(4),find:ce(5),findIndex:ce(6)}.forEach,ae=K("hidden"),fe="Symbol",le=qt("toPrimitive"),se=tt.set,pe=tt.getterFor(fe),ye=Object.prototype,de=r.Symbol,ve=ot("JSON","stringify"),he=E.f,ge=P.f,be=Kt.f,me=a.f,Se=G("symbols"),Oe=G("op-symbols"),we=G("string-to-symbol-registry"),je=G("symbol-to-string-registry"),xe=G("wks"),Ee=r.QObject,Te=!Ee||!Ee.prototype||!Ee.prototype.findChild,_e=i&&o((function(){return 7!=Vt(ge({},"a",{get:function(){return ge(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=he(ye,e);r&&delete ye[e],ge(t,e,n),r&&t!==ye&&ge(ye,e,r)}:ge,Pe=function(t,e){var n=Se[t]=Vt(de.prototype);return se(n,{type:fe,tag:t,description:e}),i||(n.description=e),n},Ae=It&&"symbol"==typeof de.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof de},Ie=function(t,e,n){t===ye&&Ie(Oe,e,n),T(t);var r=g(e,!0);return T(n),m(Se,r)?(n.enumerable?(m(t,ae)&&t[ae][r]&&(t[ae][r]=!1),n=Vt(n,{enumerable:f(0,!1)})):(m(t,ae)||ge(t,ae,f(1,{})),t[ae][r]=!0),_e(t,r,n)):ge(t,r,n)},Re=function(t,e){T(t);var n=v(e),r=$t(n).concat(ke(n));return ue(r,(function(e){i&&!Le.call(n,e)||Ie(t,e,n[e])})),t},Le=function(t){var e=g(t,!0),n=me.call(this,e);return!(this===ye&&m(Se,e)&&!m(Oe,e))&&(!(n||!m(this,e)||!m(Se,e)||m(this,ae)&&this[ae][e])||n)},Ce=function(t,e){var n=v(t),r=g(e,!0);if(n!==ye||!m(Se,r)||m(Oe,r)){var o=he(n,r);return!o||!m(Se,r)||m(n,ae)&&n[ae][r]||(o.enumerable=!0),o}},$e=function(t){var e=be(v(t)),n=[];return ue(e,(function(t){m(Se,t)||m(W,t)||n.push(t)})),n},ke=function(t){var e=t===ye,n=be(e?Oe:v(t)),r=[];return ue(n,(function(t){!m(Se,t)||e&&!m(ye,t)||r.push(Se[t])})),r};if(It||(et((de=function(){if(this instanceof de)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=B(t),n=function(t){this===ye&&n.call(Oe,t),m(this,ae)&&m(this[ae],e)&&(this[ae][e]=!1),_e(this,e,f(1,t))};return i&&Te&&_e(ye,e,{configurable:!0,set:n}),Pe(e,t)}).prototype,"toString",(function(){return pe(this).tag})),a.f=Le,P.f=Ie,E.f=Ce,gt.f=Kt.f=$e,bt.f=ke,i&&(ge(de.prototype,"description",{configurable:!0,get:function(){return pe(this).description}}),et(ye,"propertyIsEnumerable",Le,{unsafe:!0}))),Rt||(Xt.f=function(t){return Pe(qt(t),t)}),At({global:!0,wrap:!0,forced:!It,sham:!It},{Symbol:de}),ue($t(xe),(function(t){Qt(t)})),At({target:fe,stat:!0,forced:!It},{for:function(t){var e=String(t);if(m(we,e))return we[e];var n=de(e);return we[e]=n,je[n]=e,n},keyFor:function(t){if(!Ae(t))throw TypeError(t+" is not a symbol");if(m(je,t))return je[t]},useSetter:function(){Te=!0},useSimple:function(){Te=!1}}),At({target:"Object",stat:!0,forced:!It,sham:!i},{create:function(t,e){return void 0===e?Vt(t):Re(Vt(t),e)},defineProperty:Ie,defineProperties:Re,getOwnPropertyDescriptor:Ce}),At({target:"Object",stat:!0,forced:!It},{getOwnPropertyNames:$e,getOwnPropertySymbols:ke}),At({target:"Object",stat:!0,forced:o((function(){bt.f(1)}))},{getOwnPropertySymbols:function(t){return bt.f(Ct(t))}}),ve){var Me=!It||o((function(){var t=de();return"[null]"!=ve([t])||"{}"!=ve({a:t})||"{}"!=ve(Object(t))}));At({target:"JSON",stat:!0,forced:Me},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(h(e)||void 0!==t)&&!Ae(t))return Lt(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Ae(e))return e}),o[1]=e,ve.apply(null,o)}})}de.prototype[le]||A(de.prototype,le,de.prototype.valueOf),ee(de,fe),W[ae]=!0;var Ne=P.f,Fe=r.Symbol;if(i&&"function"==typeof Fe&&(!("description"in Fe.prototype)||void 0!==Fe().description)){var De={},Ge=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof Ge?new Fe(t):void 0===t?Fe():Fe(t);return""===t&&(De[e]=!0),e};St(Ge,Fe);var Ve=Ge.prototype=Fe.prototype;Ve.constructor=Ge;var Ue=Ve.toString,Be="Symbol(test)"==String(Fe("test")),ze=/^Symbol\((.*)\)[^)]+$/;Ne(Ve,"description",{configurable:!0,get:function(){var t=h(this)?this.valueOf():this,e=Ue.call(t);if(m(De,t))return"";var n=Be?e.slice(7,-1):e.replace(ze,"$1");return""===n?void 0:n}}),At({global:!0,forced:!0},{Symbol:Ge})}Qt("iterator");var Ke,We,Ye=function(t,e,n){var r=g(e);r in t?P.f(t,r,f(0,n)):t[r]=n},He=ot("navigator","userAgent")||"",qe=r.process,Xe=qe&&qe.versions,Je=Xe&&Xe.v8;Je?We=(Ke=Je.split("."))[0]+Ke[1]:He&&(!(Ke=He.match(/Edge\/(\d+)/))||Ke[1]>=74)&&(Ke=He.match(/Chrome\/(\d+)/))&&(We=Ke[1]);var Qe=We&&+We,Ze=qt("species"),tn=qt("isConcatSpreadable"),en=9007199254740991,nn="Maximum allowed index exceeded",rn=Qe>=51||!o((function(){var t=[];return t[tn]=!1,t.concat()[0]!==t})),on=function(t){return Qe>=51||!o((function(){var e=[];return(e.constructor={})[Ze]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}("concat"),cn=function(t){if(!h(t))return!1;var e=t[tn];return void 0!==e?!!e:Lt(t)};At({target:"Array",proto:!0,forced:!rn||!on},{concat:function(t){var e,n,r,o,i,c=Ct(this),u=oe(c,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(cn(i=-1===e?c:arguments[e])){if(a+(o=ft(i.length))>en)throw TypeError(nn);for(n=0;n<o;n++,a++)n in i&&Ye(u,a,i[n])}else{if(a>=en)throw TypeError(nn);Ye(u,a++,i)}return u.length=a,u}});var un=qt("unscopables"),an=Array.prototype;null==an[un]&&P.f(an,un,{configurable:!0,value:Vt(null)});var fn,ln,sn,pn=function(t){an[un][t]=!0},yn=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),dn=K("IE_PROTO"),vn=Object.prototype,hn=yn?Object.getPrototypeOf:function(t){return t=Ct(t),m(t,dn)?t[dn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?vn:null},gn=qt("iterator"),bn=!1;[].keys&&("next"in(sn=[].keys())?(ln=hn(hn(sn)))!==Object.prototype&&(fn=ln):bn=!0),null==fn&&(fn={}),m(fn,gn)||A(fn,gn,(function(){return this}));var mn={IteratorPrototype:fn,BUGGY_SAFARI_ITERATORS:bn},Sn=mn.IteratorPrototype,On=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return T(n),function(t){if(!h(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),wn=mn.IteratorPrototype,jn=mn.BUGGY_SAFARI_ITERATORS,xn=qt("iterator"),En="keys",Tn="values",_n="entries",Pn=function(){return this},An=function(t,e,n,r,o,i,c){!function(t,e,n){var r=e+" Iterator";t.prototype=Vt(Sn,{next:f(1,n)}),ee(t,r,!1)}(n,e,r);var u,a,l,s=function(t){if(t===o&&h)return h;if(!jn&&t in d)return d[t];switch(t){case En:case Tn:case _n:return function(){return new n(this,t)}}return function(){return new n(this)}},p=e+" Iterator",y=!1,d=t.prototype,v=d[xn]||d["@@iterator"]||o&&d[o],h=!jn&&v||s(o),g="Array"==e&&d.entries||v;if(g&&(u=hn(g.call(new t)),wn!==Object.prototype&&u.next&&(hn(u)!==wn&&(On?On(u,wn):"function"!=typeof u[xn]&&A(u,xn,Pn)),ee(u,p,!0))),o==Tn&&v&&v.name!==Tn&&(y=!0,h=function(){return v.call(this)}),d[xn]!==h&&A(d,xn,h),o)if(a={values:s(Tn),keys:i?h:s(En),entries:s(_n)},c)for(l in a)(jn||y||!(l in d))&&et(d,l,a[l]);else At({target:e,proto:!0,forced:jn||y},a);return a},In="Array Iterator",Rn=tt.set,Ln=tt.getterFor(In),Cn=An(Array,"Array",(function(t,e){Rn(this,{type:In,target:v(t),index:0,kind:e})}),(function(){var t=Ln(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");pn("keys"),pn("values"),pn("entries");var $n={};$n[qt("toStringTag")]="z";var kn="[object z]"===String($n),Mn=qt("toStringTag"),Nn="Arguments"==s(function(){return arguments}()),Fn=kn?s: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=Object(t),Mn))?n:Nn?s(e):"Object"==(r=s(e))&&"function"==typeof e.callee?"Arguments":r},Dn=kn?{}.toString:function(){return"[object "+Fn(this)+"]"};kn||et(Object.prototype,"toString",Dn,{unsafe:!0});var Gn=function(){var t=T(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Vn(t,e){return RegExp(t,e)}var Un,Bn,zn={UNSUPPORTED_Y:o((function(){var t=Vn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:o((function(){var t=Vn("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},Kn=RegExp.prototype.exec,Wn=String.prototype.replace,Yn=Kn,Hn=(Un=/a/,Bn=/b*/g,Kn.call(Un,"a"),Kn.call(Bn,"a"),0!==Un.lastIndex||0!==Bn.lastIndex),qn=zn.UNSUPPORTED_Y||zn.BROKEN_CARET,Xn=void 0!==/()??/.exec("")[1];(Hn||Xn||qn)&&(Yn=function(t){var e,n,r,o,i=this,c=qn&&i.sticky,u=Gn.call(i),a=i.source,f=0,l=t;return c&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),l=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(a="(?: "+a+")",l=" "+l,f++),n=new RegExp("^(?:"+a+")",u)),Xn&&(n=new RegExp("^"+a+"$(?!\\s)",u)),Hn&&(e=i.lastIndex),r=Kn.call(c?n:i,l),c?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Hn&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),Xn&&r&&r.length>1&&Wn.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var Jn=Yn;At({target:"RegExp",proto:!0,forced:/./.exec!==Jn},{exec:Jn});var Qn=function(t){return function(e,n){var r,o,i=String(d(e)),c=ut(n),u=i.length;return c<0||c>=u?t?"":void 0:(r=i.charCodeAt(c))<55296||r>56319||c+1===u||(o=i.charCodeAt(c+1))<56320||o>57343?t?i.charAt(c):r:t?i.slice(c,c+2):o-56320+(r-55296<<10)+65536}},Zn={codeAt:Qn(!1),charAt:Qn(!0)},tr=Zn.charAt,er="String Iterator",nr=tt.set,rr=tt.getterFor(er);An(String,"String",(function(t){nr(this,{type:er,string:String(t),index:0})}),(function(){var t,e=rr(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=tr(n,r),e.index+=t.length,{value:t,done:!1})}));var or=qt("species"),ir=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),cr="$0"==="a".replace(/./,"$0"),ur=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),ar=Zn.charAt,fr=function(t,e,n){return e+(n?ar(t,e).length:1)},lr=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==s(t))throw TypeError("RegExp#exec called on incompatible receiver");return Jn.call(t,e)},sr=Math.max,pr=Math.min,yr=Math.floor,dr=/\$([$&'`]|\d\d?|<[^>]*>)/g,vr=/\$([$&'`]|\d\d?)/g;!function(t,e,n,r){var i=qt(t),c=!o((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),u=c&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[or]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!c||!u||"replace"===t&&(!ir||!cr)||"split"===t&&!ur){var a=/./[i],f=n(i,""[t],(function(t,e,n,r,o){return e.exec===Jn?c&&!o?{done:!0,value:a.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:cr}),l=f[0],s=f[1];et(String.prototype,t,l),et(RegExp.prototype,i,2==e?function(t,e){return s.call(t,this,e)}:function(t){return s.call(t,this)})}r&&A(RegExp.prototype[i],"sham",!0)}("replace",2,(function(t,e,n,r){return[function(n,r){var o=d(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,i){if(r.REPLACE_KEEPS_$0||"string"==typeof i&&-1===i.indexOf("$0")){var c=n(e,t,this,i);if(c.done)return c.value}var u=T(t),a=String(this),f="function"==typeof i;f||(i=String(i));var l=u.global;if(l){var s=u.unicode;u.lastIndex=0}for(var p=[];;){var y=lr(u,a);if(null===y)break;if(p.push(y),!l)break;""===String(y[0])&&(u.lastIndex=fr(a,ft(u.lastIndex),s))}for(var d,v="",h=0,g=0;g<p.length;g++){y=p[g];for(var b=String(y[0]),m=sr(pr(ut(y.index),a.length),0),S=[],O=1;O<y.length;O++)S.push(void 0===(d=y[O])?d:String(d));var w=y.groups;if(f){var j=[b].concat(S,m,a);void 0!==w&&j.push(w);var x=String(i.apply(void 0,j))}else x=o(b,a,m,S,w,i);m>=h&&(v+=a.slice(h,m)+x,h=m+b.length)}return v+a.slice(h)}];function o(t,n,r,o,i,c){var u=r+t.length,a=o.length,f=vr;return void 0!==i&&(i=Ct(i),f=dr),e.call(c,f,(function(e,c){var f;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":f=i[c.slice(1,-1)];break;default:var l=+c;if(0===l)return e;if(l>a){var s=yr(l/10);return 0===s?e:s<=a?void 0===o[s-1]?c.charAt(1):o[s-1]+c.charAt(1):e}f=o[l-1]}return void 0===f?"":f}))}}));var hr={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},gr=qt("iterator"),br=qt("toStringTag"),mr=Cn.values;for(var Sr in hr){var Or=r[Sr],wr=Or&&Or.prototype;if(wr){if(wr[gr]!==mr)try{A(wr,gr,mr)}catch(t){wr[gr]=mr}if(wr[br]||A(wr,br,Sr),hr[Sr])for(var jr in Cn)if(wr[jr]!==Cn[jr])try{A(wr,jr,Cn[jr])}catch(t){wr[jr]=Cn[jr]}}}function xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Er(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Er(Object(n),!0).forEach((function(e){xr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Er(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Pr=window.jQuery,Ar=function(t){return void 0===t?t:Pr.extend(!0,Array.isArray(t)?[]:{},t)};function Ir(t,e,n,r,o,i,c,u,a,f){"boolean"!=typeof c&&(a=u,u=c,c=!1);const l="function"==typeof n?n.options:n;let s;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,a(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):e&&(s=c?function(t){e.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,u(t))}),s)if(l.functional){const t=l.render;l.render=function(e,n){return s.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,s):[s]}return n}return Ir({render:function(){var t=this.$createElement;return(this._self._c||t)("table")},staticRenderFns:[]},undefined,{name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default:function(){}},options:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;this.$table=Pr(this.$el),this.$table.on("all.bs.table",(function(e,n,r){var o=Pr.fn.bootstrapTable.events[n];o=o.replace(/([A-Z])/g,"-$1").toLowerCase(),t.$emit.apply(t,["on-all"].concat(_r(r))),t.$emit.apply(t,[o].concat(_r(r)))})),this._initTable()},methods:Tr({_initTable:function(){var t=Tr({},Ar(this.options),{columns:Ar(this.columns),data:Ar(this.data)});this._hasInit?this.refreshOptions(t):(this.$table.bootstrapTable(t),this._hasInit=!0)}},function(){var t={},e=!0,n=!1,r=void 0;try{for(var o,i=function(){var e=o.value;t[e]=function(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=this.$table).bootstrapTable.apply(t,[e].concat(r))}},c=Pr.fn.bootstrapTable.methods[Symbol.iterator]();!(e=(o=c.next()).done);e=!0)i()}catch(t){n=!0,r=t}finally{try{e||null==c.return||c.return()}finally{if(n)throw r}}return t}()),watch:{options:{handler:function(){this._initTable()},deep:!0},columns:{handler:function(){this._initTable()},deep:!0},data:{handler:function(){this.load(Ar(this.data))},deep:!0}}},undefined,false,undefined,!1,void 0,void 0,void 0)}));