bootstrap-table-custom-view.min.js 21 KB

12345678910
  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.22.6
  5. * @homepage https://bootstrap-table.com
  6. * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
  7. * @license MIT
  8. */
  9. !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=u(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,n()?Reflect.construct(e,r||[],u(t).constructor):e.apply(t,r))}function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(n=function(){return!!t})()}function r(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:e+""}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r(o.key),o)}}function u(t){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},u(t)}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(t,e)}function a(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=u(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 s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=function(t){return t&&t.Math===Math&&t},p=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof s&&s)||l("object"==typeof s&&s)||function(){return this}()||Function("return this")(),b={},h=function(t){try{return!!t()}catch(t){return!0}},y=!h((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),g=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),m=g,v=Function.prototype.call,d=m?v.bind(v):function(){return v.apply(v,arguments)},w={},O={}.propertyIsEnumerable,j=Object.getOwnPropertyDescriptor,V=j&&!O.call({1:2},1);w.f=V?function(t){var e=j(this,t);return!!e&&e.enumerable}:O;var S,T,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},C=g,E=Function.prototype,x=E.call,D=C&&E.bind.bind(x,x),A=C?D:function(t){return function(){return x.apply(t,arguments)}},B=A,F=B({}.toString),_=B("".slice),k=function(t){return _(F(t),8,-1)},R=h,I=k,M=Object,z=A("".split),L=R((function(){return!M("z").propertyIsEnumerable(0)}))?function(t){return"String"===I(t)?z(t,""):M(t)}:M,N=function(t){return null==t},$=N,q=TypeError,G=function(t){if($(t))throw new q("Can't call method on "+t);return t},W=L,U=G,X=function(t){return W(U(t))},H="object"==typeof document&&document.all,K=void 0===H&&void 0!==H?function(t){return"function"==typeof t||t===H}:function(t){return"function"==typeof t},Q=K,Y=function(t){return"object"==typeof t?null!==t:Q(t)},J=p,Z=K,tt=function(t){return Z(t)?t:void 0},et=function(t,e){return arguments.length<2?tt(J[t]):J[t]&&J[t][e]},nt=A({}.isPrototypeOf),rt=p,ot="undefined"!=typeof navigator&&String(navigator.userAgent)||"",it=rt.process,ut=rt.Deno,ct=it&&it.versions||ut&&ut.version,at=ct&&ct.v8;at&&(T=(S=at.split("."))[0]>0&&S[0]<4?1:+(S[0]+S[1])),!T&&ot&&(!(S=ot.match(/Edge\/(\d+)/))||S[1]>=74)&&(S=ot.match(/Chrome\/(\d+)/))&&(T=+S[1]);var ft=T,st=ft,lt=h,pt=p.String,bt=!!Object.getOwnPropertySymbols&&!lt((function(){var t=Symbol("symbol detection");return!pt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&st&&st<41})),ht=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,yt=et,gt=K,mt=nt,vt=Object,dt=ht?function(t){return"symbol"==typeof t}:function(t){var e=yt("Symbol");return gt(e)&&mt(e.prototype,vt(t))},wt=String,Ot=K,jt=function(t){try{return wt(t)}catch(t){return"Object"}},Vt=TypeError,St=function(t){if(Ot(t))return t;throw new Vt(jt(t)+" is not a function")},Tt=St,Pt=N,Ct=d,Et=K,xt=Y,Dt=TypeError,At={exports:{}},Bt=p,Ft=Object.defineProperty,_t=function(t,e){try{Ft(Bt,t,{value:e,configurable:!0,writable:!0})}catch(n){Bt[t]=e}return e},kt=p,Rt=_t,It="__core-js_shared__",Mt=At.exports=kt[It]||Rt(It,{});(Mt.versions||(Mt.versions=[])).push({version:"3.36.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var zt=At.exports,Lt=zt,Nt=function(t,e){return Lt[t]||(Lt[t]=e||{})},$t=G,qt=Object,Gt=function(t){return qt($t(t))},Wt=Gt,Ut=A({}.hasOwnProperty),Xt=Object.hasOwn||function(t,e){return Ut(Wt(t),e)},Ht=A,Kt=0,Qt=Math.random(),Yt=Ht(1..toString),Jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Yt(++Kt+Qt,36)},Zt=Nt,te=Xt,ee=Jt,ne=bt,re=ht,oe=p.Symbol,ie=Zt("wks"),ue=re?oe.for||oe:oe&&oe.withoutSetter||ee,ce=function(t){return te(ie,t)||(ie[t]=ne&&te(oe,t)?oe[t]:ue("Symbol."+t)),ie[t]},ae=d,fe=Y,se=dt,le=function(t,e){var n=t[e];return Pt(n)?void 0:Tt(n)},pe=function(t,e){var n,r;if("string"===e&&Et(n=t.toString)&&!xt(r=Ct(n,t)))return r;if(Et(n=t.valueOf)&&!xt(r=Ct(n,t)))return r;if("string"!==e&&Et(n=t.toString)&&!xt(r=Ct(n,t)))return r;throw new Dt("Can't convert object to primitive value")},be=TypeError,he=ce("toPrimitive"),ye=function(t,e){if(!fe(t)||se(t))return t;var n,r=le(t,he);if(r){if(void 0===e&&(e="default"),n=ae(r,t,e),!fe(n)||se(n))return n;throw new be("Can't convert object to primitive value")}return void 0===e&&(e="number"),pe(t,e)},ge=dt,me=function(t){var e=ye(t,"string");return ge(e)?e:e+""},ve=Y,de=p.document,we=ve(de)&&ve(de.createElement),Oe=function(t){return we?de.createElement(t):{}},je=Oe,Ve=!y&&!h((function(){return 7!==Object.defineProperty(je("div"),"a",{get:function(){return 7}}).a})),Se=y,Te=d,Pe=w,Ce=P,Ee=X,xe=me,De=Xt,Ae=Ve,Be=Object.getOwnPropertyDescriptor;b.f=Se?Be:function(t,e){if(t=Ee(t),e=xe(e),Ae)try{return Be(t,e)}catch(t){}if(De(t,e))return Ce(!Te(Pe.f,t,e),t[e])};var Fe={},_e=y&&h((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ke=Y,Re=String,Ie=TypeError,Me=function(t){if(ke(t))return t;throw new Ie(Re(t)+" is not an object")},ze=y,Le=Ve,Ne=_e,$e=Me,qe=me,Ge=TypeError,We=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,Xe="enumerable",He="configurable",Ke="writable";Fe.f=ze?Ne?function(t,e,n){if($e(t),e=qe(e),$e(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ke in n&&!n.writable){var r=Ue(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:He in n?n.configurable:r.configurable,enumerable:Xe in n?n.enumerable:r.enumerable,writable:!1})}return We(t,e,n)}:We:function(t,e,n){if($e(t),e=qe(e),$e(n),Le)try{return We(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new Ge("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Qe=Fe,Ye=P,Je=y?function(t,e,n){return Qe.f(t,e,Ye(1,n))}:function(t,e,n){return t[e]=n,t},Ze={exports:{}},tn=y,en=Xt,nn=Function.prototype,rn=tn&&Object.getOwnPropertyDescriptor,on=en(nn,"name"),un={EXISTS:on,PROPER:on&&"something"===function(){}.name,CONFIGURABLE:on&&(!tn||tn&&rn(nn,"name").configurable)},cn=K,an=zt,fn=A(Function.toString);cn(an.inspectSource)||(an.inspectSource=function(t){return fn(t)});var sn,ln,pn,bn=an.inspectSource,hn=K,yn=p.WeakMap,gn=hn(yn)&&/native code/.test(String(yn)),mn=Jt,vn=Nt("keys"),dn=function(t){return vn[t]||(vn[t]=mn(t))},wn={},On=gn,jn=p,Vn=Y,Sn=Je,Tn=Xt,Pn=zt,Cn=dn,En=wn,xn="Object already initialized",Dn=jn.TypeError,An=jn.WeakMap;if(On||Pn.state){var Bn=Pn.state||(Pn.state=new An);Bn.get=Bn.get,Bn.has=Bn.has,Bn.set=Bn.set,sn=function(t,e){if(Bn.has(t))throw new Dn(xn);return e.facade=t,Bn.set(t,e),e},ln=function(t){return Bn.get(t)||{}},pn=function(t){return Bn.has(t)}}else{var Fn=Cn("state");En[Fn]=!0,sn=function(t,e){if(Tn(t,Fn))throw new Dn(xn);return e.facade=t,Sn(t,Fn,e),e},ln=function(t){return Tn(t,Fn)?t[Fn]:{}},pn=function(t){return Tn(t,Fn)}}var _n={set:sn,get:ln,has:pn,enforce:function(t){return pn(t)?ln(t):sn(t,{})},getterFor:function(t){return function(e){var n;if(!Vn(e)||(n=ln(e)).type!==t)throw new Dn("Incompatible receiver, "+t+" required");return n}}},kn=A,Rn=h,In=K,Mn=Xt,zn=y,Ln=un.CONFIGURABLE,Nn=bn,$n=_n.enforce,qn=_n.get,Gn=String,Wn=Object.defineProperty,Un=kn("".slice),Xn=kn("".replace),Hn=kn([].join),Kn=zn&&!Rn((function(){return 8!==Wn((function(){}),"length",{value:8}).length})),Qn=String(String).split("String"),Yn=Ze.exports=function(t,e,n){"Symbol("===Un(Gn(e),0,7)&&(e="["+Xn(Gn(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!Mn(t,"name")||Ln&&t.name!==e)&&(zn?Wn(t,"name",{value:e,configurable:!0}):t.name=e),Kn&&n&&Mn(n,"arity")&&t.length!==n.arity&&Wn(t,"length",{value:n.arity});try{n&&Mn(n,"constructor")&&n.constructor?zn&&Wn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=$n(t);return Mn(r,"source")||(r.source=Hn(Qn,"string"==typeof e?e:"")),t};Function.prototype.toString=Yn((function(){return In(this)&&qn(this).source||Nn(this)}),"toString");var Jn=Ze.exports,Zn=K,tr=Fe,er=Jn,nr=_t,rr=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(Zn(n)&&er(n,i,r),r.global)o?t[e]=n:nr(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:tr.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},or={},ir=Math.ceil,ur=Math.floor,cr=Math.trunc||function(t){var e=+t;return(e>0?ur:ir)(e)},ar=function(t){var e=+t;return e!=e||0===e?0:cr(e)},fr=ar,sr=Math.max,lr=Math.min,pr=function(t,e){var n=fr(t);return n<0?sr(n+e,0):lr(n,e)},br=ar,hr=Math.min,yr=function(t){var e=br(t);return e>0?hr(e,9007199254740991):0},gr=function(t){return yr(t.length)},mr=X,vr=pr,dr=gr,wr=function(t){return function(e,n,r){var o=mr(e),i=dr(o);if(0===i)return!t&&-1;var u,c=vr(r,i);if(t&&n!=n){for(;i>c;)if((u=o[c++])!=u)return!0}else for(;i>c;c++)if((t||c in o)&&o[c]===n)return t||c||0;return!t&&-1}},Or={includes:wr(!0),indexOf:wr(!1)},jr=Xt,Vr=X,Sr=Or.indexOf,Tr=wn,Pr=A([].push),Cr=function(t,e){var n,r=Vr(t),o=0,i=[];for(n in r)!jr(Tr,n)&&jr(r,n)&&Pr(i,n);for(;e.length>o;)jr(r,n=e[o++])&&(~Sr(i,n)||Pr(i,n));return i},Er=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xr=Cr,Dr=Er.concat("length","prototype");or.f=Object.getOwnPropertyNames||function(t){return xr(t,Dr)};var Ar={};Ar.f=Object.getOwnPropertySymbols;var Br=et,Fr=or,_r=Ar,kr=Me,Rr=A([].concat),Ir=Br("Reflect","ownKeys")||function(t){var e=Fr.f(kr(t)),n=_r.f;return n?Rr(e,n(t)):e},Mr=Xt,zr=Ir,Lr=b,Nr=Fe,$r=h,qr=K,Gr=/#|\.prototype\./,Wr=function(t,e){var n=Xr[Ur(t)];return n===Kr||n!==Hr&&(qr(e)?$r(e):!!e)},Ur=Wr.normalize=function(t){return String(t).replace(Gr,".").toLowerCase()},Xr=Wr.data={},Hr=Wr.NATIVE="N",Kr=Wr.POLYFILL="P",Qr=Wr,Yr=p,Jr=b.f,Zr=Je,to=rr,eo=_t,no=function(t,e,n){for(var r=zr(e),o=Nr.f,i=Lr.f,u=0;u<r.length;u++){var c=r[u];Mr(t,c)||n&&Mr(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]&&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=k,uo=Array.isArray||function(t){return"Array"===io(t)},co=TypeError,ao=y,fo=Fe,so=P,lo=function(t,e,n){ao?fo.f(t,e,so(0,n)):t[e]=n},po={};po[ce("toStringTag")]="z";var bo="[object z]"===String(po),ho=bo,yo=K,go=k,mo=ce("toStringTag"),vo=Object,wo="Arguments"===go(function(){return arguments}()),Oo=ho?go: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=vo(t),mo))?n:wo?go(e):"Object"===(r=go(e))&&yo(e.callee)?"Arguments":r},jo=A,Vo=h,So=K,To=Oo,Po=bn,Co=function(){},Eo=et("Reflect","construct"),xo=/^\s*(?:class|function)\b/,Do=jo(xo.exec),Ao=!xo.test(Co),Bo=function(t){if(!So(t))return!1;try{return Eo(Co,[],t),!0}catch(t){return!1}},Fo=function(t){if(!So(t))return!1;switch(To(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ao||!!Do(xo,Po(t))}catch(t){return!0}};Fo.sham=!0;var _o=!Eo||Vo((function(){var t;return Bo(Bo.call)||!Bo(Object)||!Bo((function(){t=!0}))||t}))?Fo:Bo,ko=uo,Ro=_o,Io=Y,Mo=ce("species"),zo=Array,Lo=function(t){var e;return ko(t)&&(e=t.constructor,(Ro(e)&&(e===zo||ko(e.prototype))||Io(e)&&null===(e=e[Mo]))&&(e=void 0)),void 0===e?zo:e},No=function(t,e){return new(Lo(t))(0===e?0:e)},$o=h,qo=ft,Go=ce("species"),Wo=function(t){return qo>=51||!$o((function(){var e=[];return(e.constructor={})[Go]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Uo=oo,Xo=h,Ho=uo,Ko=Y,Qo=Gt,Yo=gr,Jo=function(t){if(t>9007199254740991)throw co("Maximum allowed index exceeded");return t},Zo=lo,ti=No,ei=Wo,ni=ft,ri=ce("isConcatSpreadable"),oi=ni>=51||!Xo((function(){var t=[];return t[ri]=!1,t.concat()[0]!==t})),ii=function(t){if(!Ko(t))return!1;var e=t[ri];return void 0!==e?!!e:Ho(t)};Uo({target:"Array",proto:!0,arity:1,forced:!oi||!ei("concat")},{concat:function(t){var e,n,r,o,i,u=Qo(this),c=ti(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(ii(i=-1===e?u:arguments[e]))for(o=Yo(i),Jo(a+o),n=0;n<o;n++,a++)n in i&&Zo(c,a,i[n]);else Jo(a+1),Zo(c,a++,i);return c.length=a,c}});var ui=k,ci=A,ai=function(t){if("Function"===ui(t))return ci(t)},fi=St,si=g,li=ai(ai.bind),pi=function(t,e){return fi(t),void 0===e?t:si?li(t,e):function(){return t.apply(e,arguments)}},bi=L,hi=Gt,yi=gr,gi=No,mi=A([].push),vi=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,s,l){for(var p,b,h=hi(a),y=bi(h),g=yi(y),m=pi(f,s),v=0,d=l||gi,w=e?d(a,g):n||u?d(a,0):void 0;g>v;v++)if((c||v in y)&&(b=m(p=y[v],v,h),t))if(e)w[v]=b;else if(b)switch(t){case 3:return!0;case 5:return p;case 6:return v;case 2:mi(w,p)}else switch(t){case 4:return!1;case 7:mi(w,p)}return i?-1:r||o?o:w}},di={forEach:vi(0),map:vi(1),filter:vi(2),some:vi(3),every:vi(4),find:vi(5),findIndex:vi(6),filterReject:vi(7)},wi={},Oi=Cr,ji=Er,Vi=Object.keys||function(t){return Oi(t,ji)},Si=y,Ti=_e,Pi=Fe,Ci=Me,Ei=X,xi=Vi;wi.f=Si&&!Ti?Object.defineProperties:function(t,e){Ci(t);for(var n,r=Ei(e),o=xi(e),i=o.length,u=0;i>u;)Pi.f(t,n=o[u++],r[n]);return t};var Di,Ai=et("document","documentElement"),Bi=Me,Fi=wi,_i=Er,ki=wn,Ri=Ai,Ii=Oe,Mi=dn("IE_PROTO"),zi=function(){},Li=function(t){return"<script>"+t+"</"+"script>"},Ni=function(t){t.write(Li("")),t.close();var e=t.parentWindow.Object;return t=null,e},$i=function(){try{Di=new ActiveXObject("htmlfile")}catch(t){}var t,e;$i="undefined"!=typeof document?document.domain&&Di?Ni(Di):((e=Ii("iframe")).style.display="none",Ri.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Li("document.F=Object")),t.close(),t.F):Ni(Di);for(var n=_i.length;n--;)delete $i.prototype[_i[n]];return $i()};ki[Mi]=!0;var qi=ce,Gi=Object.create||function(t,e){var n;return null!==t?(zi.prototype=Bi(t),n=new zi,zi.prototype=null,n[Mi]=t):n=$i(),void 0===e?n:Fi.f(n,e)},Wi=Fe.f,Ui=qi("unscopables"),Xi=Array.prototype;void 0===Xi[Ui]&&Wi(Xi,Ui,{configurable:!0,value:Gi(null)});var Hi=oo,Ki=di.find,Qi=function(t){Xi[Ui][t]=!0},Yi="find",Ji=!0;Yi in[]&&Array(1).find((function(){Ji=!1})),Hi({target:"Array",proto:!0,forced:Ji},{find:function(t){return Ki(this,t,arguments.length>1?arguments[1]:void 0)}}),Qi(Yi);var Zi=A([].slice),tu=oo,eu=uo,nu=_o,ru=Y,ou=pr,iu=gr,uu=X,cu=lo,au=ce,fu=Zi,su=Wo("slice"),lu=au("species"),pu=Array,bu=Math.max;tu({target:"Array",proto:!0,forced:!su},{slice:function(t,e){var n,r,o,i=uu(this),u=iu(i),c=ou(t,u),a=ou(void 0===e?u:e,u);if(eu(i)&&(n=i.constructor,(nu(n)&&(n===pu||eu(n.prototype))||ru(n)&&null===(n=n[lu]))&&(n=void 0),n===pu||void 0===n))return fu(i,c,a);for(r=new(void 0===n?pu:n)(bu(a-c,0)),o=0;c<a;c++,o++)c in i&&cu(r,o,i[c]);return r.length=o,r}});var hu=y,yu=A,gu=d,mu=h,vu=Vi,du=Ar,wu=w,Ou=Gt,ju=L,Vu=Object.assign,Su=Object.defineProperty,Tu=yu([].concat),Pu=!Vu||mu((function(){if(hu&&1!==Vu({b:1},Vu(Su({},"a",{enumerable:!0,get:function(){Su(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!==Vu({},t)[n]||vu(Vu({},e)).join("")!==r}))?function(t,e){for(var n=Ou(t),r=arguments.length,o=1,i=du.f,u=wu.f;r>o;)for(var c,a=ju(arguments[o++]),f=i?Tu(vu(a),i(a)):vu(a),s=f.length,l=0;s>l;)c=f[l++],hu&&!gu(u,a,c)||(n[c]=a[c]);return n}:Vu,Cu=Pu;oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==Cu},{assign:Cu});var Eu=Oo,xu=bo?{}.toString:function(){return"[object "+Eu(this)+"]"};bo||rr(Object.prototype,"toString",xu,{unsafe:!0});var Du=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{customView:!1,showCustomView:!1,customViewDefaultView:!1}),Object.assign(t.fn.bootstrapTable.defaults.icons,{customViewOn:{bootstrap3:"glyphicon glyphicon-list",bootstrap5:"bi-list",bootstrap4:"fa fa-list",semantic:"fa fa-list",foundation:"fa fa-list",bulma:"fa fa-list",materialize:"list"}[t.fn.bootstrapTable.theme]||"fa-list",customViewOff:{bootstrap3:"glyphicon glyphicon-thumbnails",bootstrap5:"bi-grid",bootstrap4:"fa fa-th",semantic:"fa fa-th",foundation:"fa fa-th",bulma:"fa fa-th",materialize:"grid_on"}[t.fn.bootstrapTable.theme]||"fa-th"}),Object.assign(t.fn.bootstrapTable.defaults,{onCustomViewPostBody:function(){return!1},onCustomViewPreBody:function(){return!1},onToggleCustomView:function(){return!1}}),Object.assign(t.fn.bootstrapTable.locales,{formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleCustomViewOff:function(){return"Hide custom view"}}),Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales),t.fn.bootstrapTable.methods.push("toggleCustomView"),Object.assign(t.fn.bootstrapTable.events,{"custom-view-post-body.bs.table":"onCustomViewPostBody","custom-view-pre-body.bs.table":"onCustomViewPreBody","toggle-custom-view.bs.table":"onToggleCustomView"}),t.BootstrapTable=function(t){function n(){return o(this,n),e(this,n,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)}(n,t),r=n,a=[{key:"init",value:function(){this.customViewDefaultView=this.options.customViewDefaultView,f(u(n.prototype),"init",this).call(this)}},{key:"initToolbar",value:function(){var t;this.options.customView&&this.options.showCustomView&&(this.buttons=Object.assign(this.buttons,{customView:{text:this.options.customViewDefaultView?this.options.formatToggleCustomViewOff():this.options.formatToggleCustomViewOn(),icon:this.options.customViewDefaultView?this.options.icons.customViewOn:this.options.icons.customViewOff,event:this.toggleCustomView,attributes:{"aria-label":this.options.customViewDefaultView?this.options.formatToggleCustomViewOff():this.options.formatToggleCustomViewOn(),title:this.options.customViewDefaultView?this.options.formatToggleCustomViewOff():this.options.formatToggleCustomViewOn()}}}));for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];(t=f(u(n.prototype),"initToolbar",this)).call.apply(t,[this].concat(r))}},{key:"initBody",value:function(){if(f(u(n.prototype),"initBody",this).call(this),this.options.customView){var t=this.$el,e=this.$container.find(".fixed-table-custom-view");if(t.hide(),e.hide(),this.options.customView&&this.customViewDefaultView){var r=this.getData().slice(this.pageFrom-1,this.pageTo),o=Du.calculateObjectValue(this,this.options.customView,[r],"");this.trigger("custom-view-pre-body",r,o),1===e.length?e.show().html(o):this.$tableBody.after('<div class="fixed-table-custom-view">'.concat(o,"</div>")),this.trigger("custom-view-post-body",r,o)}else t.show()}}},{key:"toggleCustomView",value:function(){this.customViewDefaultView=!this.customViewDefaultView;var t=this.options.showButtonIcons?this.customViewDefaultView?this.options.icons.customViewOn:this.options.icons.customViewOff:"",e=this.options.showButtonText?this.customViewDefaultView?this.options.formatToggleCustomViewOff():this.options.formatToggleCustomViewOn():"";this.$toolbar.find('button[name="customView"]').html("".concat(Du.sprintf(this.constants.html.icon,this.options.iconsPrefix,t)," ").concat(e)).attr("aria-label",e).attr("title",e),this.initBody(),this.trigger("toggle-custom-view",this.customViewDefaultView)}}],a&&i(r.prototype,a),s&&i(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,a,s}(t.BootstrapTable)}));