bootstrap-table-cookie.min.js 39 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.20.0
  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){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=e(t);function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function a(t,e){return a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},a(t,e)}function s(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 o,r=i(t);if(e){var n=i(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return s(this,o)}}function u(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,o){var r=u(t,e);if(r){var n=Object.getOwnPropertyDescriptor(r,e);return n.get?n.get.call(arguments.length<3?t:o):n.value}},l.apply(this,arguments)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,r=new Array(e);o<e;o++)r[o]=t[o];return r}function p(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(t,e){if(t){if("string"==typeof t)return f(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?f(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var t=o.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(t,e){return t(e={exports:{}},e.exports),e.exports}var g,v,y=function(t){return t&&t.Math==Math&&t},b=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof h&&h)||function(){return this}()||Function("return this")(),m=function(t){try{return!!t()}catch(t){return!0}},k=!m((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),S=!m((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),C=Function.prototype.call,w=S?C.bind(C):function(){return C.apply(C,arguments)},x={}.propertyIsEnumerable,I=Object.getOwnPropertyDescriptor,O={f:I&&!x.call({1:2},1)?function(t){var e=I(this,t);return!!e&&e.enumerable}:x},E=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},T=Function.prototype,j=T.bind,P=T.call,N=S&&j.bind(P,P),A=S?function(t){return t&&N(t)}:function(t){return t&&function(){return P.apply(t,arguments)}},L=A({}.toString),_=A("".slice),R=function(t){return _(L(t),8,-1)},M=b.Object,V=A("".split),D=m((function(){return!M("z").propertyIsEnumerable(0)}))?function(t){return"String"==R(t)?V(t,""):M(t)}:M,B=b.TypeError,F=function(t){if(null==t)throw B("Can't call method on "+t);return t},$=function(t){return D(F(t))},G=function(t){return"function"==typeof t},J=function(t){return"object"==typeof t?null!==t:G(t)},U=function(t){return G(t)?t:void 0},z=function(t,e){return arguments.length<2?U(b[t]):b[t]&&b[t][e]},H=A({}.isPrototypeOf),q=z("navigator","userAgent")||"",K=b.process,W=b.Deno,Y=K&&K.versions||W&&W.version,X=Y&&Y.v8;X&&(v=(g=X.split("."))[0]>0&&g[0]<4?1:+(g[0]+g[1])),!v&&q&&(!(g=q.match(/Edge\/(\d+)/))||g[1]>=74)&&(g=q.match(/Chrome\/(\d+)/))&&(v=+g[1]);var Q=v,Z=!!Object.getOwnPropertySymbols&&!m((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Q&&Q<41})),tt=Z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=b.Object,ot=tt?function(t){return"symbol"==typeof t}:function(t){var e=z("Symbol");return G(e)&&H(e.prototype,et(t))},rt=b.String,nt=function(t){try{return rt(t)}catch(t){return"Object"}},it=b.TypeError,at=function(t){if(G(t))return t;throw it(nt(t)+" is not a function")},st=function(t,e){var o=t[e];return null==o?void 0:at(o)},ct=b.TypeError,ut=Object.defineProperty,lt=function(t,e){try{ut(b,t,{value:e,configurable:!0,writable:!0})}catch(o){b[t]=e}return e},ft="__core-js_shared__",pt=b[ft]||lt(ft,{}),ht=d((function(t){(t.exports=function(t,e){return pt[t]||(pt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),dt=b.Object,gt=function(t){return dt(F(t))},vt=A({}.hasOwnProperty),yt=Object.hasOwn||function(t,e){return vt(gt(t),e)},bt=0,mt=Math.random(),kt=A(1..toString),St=function(t){return"Symbol("+(void 0===t?"":t)+")_"+kt(++bt+mt,36)},Ct=ht("wks"),wt=b.Symbol,xt=wt&&wt.for,It=tt?wt:wt&&wt.withoutSetter||St,Ot=function(t){if(!yt(Ct,t)||!Z&&"string"!=typeof Ct[t]){var e="Symbol."+t;Z&&yt(wt,t)?Ct[t]=wt[t]:Ct[t]=tt&&xt?xt(e):It(e)}return Ct[t]},Et=b.TypeError,Tt=Ot("toPrimitive"),jt=function(t,e){if(!J(t)||ot(t))return t;var o,r=st(t,Tt);if(r){if(void 0===e&&(e="default"),o=w(r,t,e),!J(o)||ot(o))return o;throw Et("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var o,r;if("string"===e&&G(o=t.toString)&&!J(r=w(o,t)))return r;if(G(o=t.valueOf)&&!J(r=w(o,t)))return r;if("string"!==e&&G(o=t.toString)&&!J(r=w(o,t)))return r;throw ct("Can't convert object to primitive value")}(t,e)},Pt=function(t){var e=jt(t,"string");return ot(e)?e:e+""},Nt=b.document,At=J(Nt)&&J(Nt.createElement),Lt=function(t){return At?Nt.createElement(t):{}},_t=!k&&!m((function(){return 7!=Object.defineProperty(Lt("div"),"a",{get:function(){return 7}}).a})),Rt=Object.getOwnPropertyDescriptor,Mt={f:k?Rt:function(t,e){if(t=$(t),e=Pt(e),_t)try{return Rt(t,e)}catch(t){}if(yt(t,e))return E(!w(O.f,t,e),t[e])}},Vt=k&&m((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Dt=b.String,Bt=b.TypeError,Ft=function(t){if(J(t))return t;throw Bt(Dt(t)+" is not an object")},$t=b.TypeError,Gt=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,Ut="enumerable",zt="configurable",Ht="writable",qt={f:k?Vt?function(t,e,o){if(Ft(t),e=Pt(e),Ft(o),"function"==typeof t&&"prototype"===e&&"value"in o&&Ht in o&&!o.writable){var r=Jt(t,e);r&&r.writable&&(t[e]=o.value,o={configurable:zt in o?o.configurable:r.configurable,enumerable:Ut in o?o.enumerable:r.enumerable,writable:!1})}return Gt(t,e,o)}:Gt:function(t,e,o){if(Ft(t),e=Pt(e),Ft(o),_t)try{return Gt(t,e,o)}catch(t){}if("get"in o||"set"in o)throw $t("Accessors not supported");return"value"in o&&(t[e]=o.value),t}},Kt=k?function(t,e,o){return qt.f(t,e,E(1,o))}:function(t,e,o){return t[e]=o,t},Wt=A(Function.toString);G(pt.inspectSource)||(pt.inspectSource=function(t){return Wt(t)});var Yt,Xt,Qt,Zt=pt.inspectSource,te=b.WeakMap,ee=G(te)&&/native code/.test(Zt(te)),oe=ht("keys"),re=function(t){return oe[t]||(oe[t]=St(t))},ne={},ie="Object already initialized",ae=b.TypeError,se=b.WeakMap;if(ee||pt.state){var ce=pt.state||(pt.state=new se),ue=A(ce.get),le=A(ce.has),fe=A(ce.set);Yt=function(t,e){if(le(ce,t))throw new ae(ie);return e.facade=t,fe(ce,t,e),e},Xt=function(t){return ue(ce,t)||{}},Qt=function(t){return le(ce,t)}}else{var pe=re("state");ne[pe]=!0,Yt=function(t,e){if(yt(t,pe))throw new ae(ie);return e.facade=t,Kt(t,pe,e),e},Xt=function(t){return yt(t,pe)?t[pe]:{}},Qt=function(t){return yt(t,pe)}}var he,de={set:Yt,get:Xt,has:Qt,enforce:function(t){return Qt(t)?Xt(t):Yt(t,{})},getterFor:function(t){return function(e){var o;if(!J(e)||(o=Xt(e)).type!==t)throw ae("Incompatible receiver, "+t+" required");return o}}},ge=Function.prototype,ve=k&&Object.getOwnPropertyDescriptor,ye=yt(ge,"name"),be={EXISTS:ye,PROPER:ye&&"something"===function(){}.name,CONFIGURABLE:ye&&(!k||k&&ve(ge,"name").configurable)},me=d((function(t){var e=be.CONFIGURABLE,o=de.get,r=de.enforce,n=String(String).split("String");(t.exports=function(t,o,i,a){var s,c=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:o;G(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!yt(i,"name")||e&&i.name!==f)&&Kt(i,"name",f),(s=r(i)).source||(s.source=n.join("string"==typeof f?f:""))),t!==b?(c?!l&&t[o]&&(u=!0):delete t[o],u?t[o]=i:Kt(t,o,i)):u?t[o]=i:lt(o,i)})(Function.prototype,"toString",(function(){return G(this)&&o(this).source||Zt(this)}))})),ke=Math.ceil,Se=Math.floor,Ce=function(t){var e=+t;return e!=e||0===e?0:(e>0?Se:ke)(e)},we=Math.max,xe=Math.min,Ie=function(t,e){var o=Ce(t);return o<0?we(o+e,0):xe(o,e)},Oe=Math.min,Ee=function(t){return t>0?Oe(Ce(t),9007199254740991):0},Te=function(t){return Ee(t.length)},je=function(t){return function(e,o,r){var n,i=$(e),a=Te(i),s=Ie(r,a);if(t&&o!=o){for(;a>s;)if((n=i[s++])!=n)return!0}else for(;a>s;s++)if((t||s in i)&&i[s]===o)return t||s||0;return!t&&-1}},Pe={includes:je(!0),indexOf:je(!1)},Ne=Pe.indexOf,Ae=A([].push),Le=function(t,e){var o,r=$(t),n=0,i=[];for(o in r)!yt(ne,o)&&yt(r,o)&&Ae(i,o);for(;e.length>n;)yt(r,o=e[n++])&&(~Ne(i,o)||Ae(i,o));return i},_e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Re=_e.concat("length","prototype"),Me={f:Object.getOwnPropertyNames||function(t){return Le(t,Re)}},Ve={f:Object.getOwnPropertySymbols},De=A([].concat),Be=z("Reflect","ownKeys")||function(t){var e=Me.f(Ft(t)),o=Ve.f;return o?De(e,o(t)):e},Fe=function(t,e,o){for(var r=Be(e),n=qt.f,i=Mt.f,a=0;a<r.length;a++){var s=r[a];yt(t,s)||o&&yt(o,s)||n(t,s,i(e,s))}},$e=/#|\.prototype\./,Ge=function(t,e){var o=Ue[Je(t)];return o==He||o!=ze&&(G(e)?m(e):!!e)},Je=Ge.normalize=function(t){return String(t).replace($e,".").toLowerCase()},Ue=Ge.data={},ze=Ge.NATIVE="N",He=Ge.POLYFILL="P",qe=Ge,Ke=Mt.f,We=function(t,e){var o,r,n,i,a,s=t.target,c=t.global,u=t.stat;if(o=c?b:u?b[s]||lt(s,{}):(b[s]||{}).prototype)for(r in e){if(i=e[r],n=t.noTargetGet?(a=Ke(o,r))&&a.value:o[r],!qe(c?r:s+(u?".":"#")+r,t.forced)&&void 0!==n){if(typeof i==typeof n)continue;Fe(i,n)}(t.sham||n&&n.sham)&&Kt(i,"sham",!0),me(o,r,i,t)}},Ye=Object.keys||function(t){return Le(t,_e)},Xe=k&&!Vt?Object.defineProperties:function(t,e){Ft(t);for(var o,r=$(e),n=Ye(e),i=n.length,a=0;i>a;)qt.f(t,o=n[a++],r[o]);return t},Qe={f:Xe},Ze=z("document","documentElement"),to=re("IE_PROTO"),eo=function(){},oo=function(t){return"<script>"+t+"</"+"script>"},ro=function(t){t.write(oo("")),t.close();var e=t.parentWindow.Object;return t=null,e},no=function(){try{he=new ActiveXObject("htmlfile")}catch(t){}var t,e;no="undefined"!=typeof document?document.domain&&he?ro(he):((e=Lt("iframe")).style.display="none",Ze.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(oo("document.F=Object")),t.close(),t.F):ro(he);for(var o=_e.length;o--;)delete no.prototype[_e[o]];return no()};ne[to]=!0;var io=Object.create||function(t,e){var o;return null!==t?(eo.prototype=Ft(t),o=new eo,eo.prototype=null,o[to]=t):o=no(),void 0===e?o:Qe.f(o,e)},ao=Ot("unscopables"),so=Array.prototype;null==so[ao]&&qt.f(so,ao,{configurable:!0,value:io(null)});var co=function(t){so[ao][t]=!0},uo=Pe.includes;We({target:"Array",proto:!0},{includes:function(t){return uo(this,t,arguments.length>1?arguments[1]:void 0)}}),co("includes");var lo=Ot("match"),fo=function(t){var e;return J(t)&&(void 0!==(e=t[lo])?!!e:"RegExp"==R(t))},po=b.TypeError,ho=function(t){if(fo(t))throw po("The method doesn't accept regular expressions");return t},go={};go[Ot("toStringTag")]="z";var vo="[object z]"===String(go),yo=Ot("toStringTag"),bo=b.Object,mo="Arguments"==R(function(){return arguments}()),ko=vo?R:function(t){var e,o,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(o=function(t,e){try{return t[e]}catch(t){}}(e=bo(t),yo))?o:mo?R(e):"Object"==(r=R(e))&&G(e.callee)?"Arguments":r},So=b.String,Co=function(t){if("Symbol"===ko(t))throw TypeError("Cannot convert a Symbol value to a string");return So(t)},wo=Ot("match"),xo=A("".indexOf);We({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(o){try{return e[wo]=!1,"/./"[t](e)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~xo(Co(F(this)),Co(ho(t)),arguments.length>1?arguments[1]:void 0)}});var Io=Array.isArray||function(t){return"Array"==R(t)},Oo=function(t,e,o){var r=Pt(e);r in t?qt.f(t,r,E(0,o)):t[r]=o},Eo=function(){},To=[],jo=z("Reflect","construct"),Po=/^\s*(?:class|function)\b/,No=A(Po.exec),Ao=!Po.exec(Eo),Lo=function(t){if(!G(t))return!1;try{return jo(Eo,To,t),!0}catch(t){return!1}},_o=function(t){if(!G(t))return!1;switch(ko(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ao||!!No(Po,Zt(t))}catch(t){return!0}};_o.sham=!0;var Ro=!jo||m((function(){var t;return Lo(Lo.call)||!Lo(Object)||!Lo((function(){t=!0}))||t}))?_o:Lo,Mo=Ot("species"),Vo=b.Array,Do=function(t,e){return new(function(t){var e;return Io(t)&&(e=t.constructor,(Ro(e)&&(e===Vo||Io(e.prototype))||J(e)&&null===(e=e[Mo]))&&(e=void 0)),void 0===e?Vo:e}(t))(0===e?0:e)},Bo=Ot("species"),Fo=function(t){return Q>=51||!m((function(){var e=[];return(e.constructor={})[Bo]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},$o=Ot("isConcatSpreadable"),Go=9007199254740991,Jo="Maximum allowed index exceeded",Uo=b.TypeError,zo=Q>=51||!m((function(){var t=[];return t[$o]=!1,t.concat()[0]!==t})),Ho=Fo("concat"),qo=function(t){if(!J(t))return!1;var e=t[$o];return void 0!==e?!!e:Io(t)};We({target:"Array",proto:!0,forced:!zo||!Ho},{concat:function(t){var e,o,r,n,i,a=gt(this),s=Do(a,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(qo(i=-1===e?a:arguments[e])){if(c+(n=Te(i))>Go)throw Uo(Jo);for(o=0;o<n;o++,c++)o in i&&Oo(s,c,i[o])}else{if(c>=Go)throw Uo(Jo);Oo(s,c++,i)}return s.length=c,s}});var Ko,Wo,Yo=function(){var t=Ft(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},Xo=b.RegExp,Qo=m((function(){var t=Xo("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Zo=Qo||m((function(){return!Xo("a","y").sticky})),tr={BROKEN_CARET:Qo||m((function(){var t=Xo("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Zo,UNSUPPORTED_Y:Qo},er=b.RegExp,or=m((function(){var t=er(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),rr=b.RegExp,nr=m((function(){var t=rr("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),ir=de.get,ar=ht("native-string-replace",String.prototype.replace),sr=RegExp.prototype.exec,cr=sr,ur=A("".charAt),lr=A("".indexOf),fr=A("".replace),pr=A("".slice),hr=(Wo=/b*/g,w(sr,Ko=/a/,"a"),w(sr,Wo,"a"),0!==Ko.lastIndex||0!==Wo.lastIndex),dr=tr.BROKEN_CARET,gr=void 0!==/()??/.exec("")[1];(hr||gr||dr||or||nr)&&(cr=function(t){var e,o,r,n,i,a,s,c=this,u=ir(c),l=Co(t),f=u.raw;if(f)return f.lastIndex=c.lastIndex,e=w(cr,f,l),c.lastIndex=f.lastIndex,e;var p=u.groups,h=dr&&c.sticky,d=w(Yo,c),g=c.source,v=0,y=l;if(h&&(d=fr(d,"y",""),-1===lr(d,"g")&&(d+="g"),y=pr(l,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==ur(l,c.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),o=new RegExp("^(?:"+g+")",d)),gr&&(o=new RegExp("^"+g+"$(?!\\s)",d)),hr&&(r=c.lastIndex),n=w(sr,h?o:c,y),h?n?(n.input=pr(n.input,v),n[0]=pr(n[0],v),n.index=c.lastIndex,c.lastIndex+=n[0].length):c.lastIndex=0:hr&&n&&(c.lastIndex=c.global?n.index+n[0].length:r),gr&&n&&n.length>1&&w(ar,n[0],o,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n&&p)for(n.groups=a=io(null),i=0;i<p.length;i++)a[(s=p[i])[0]]=n[s[1]];return n});var vr=cr;We({target:"RegExp",proto:!0,forced:/./.exec!==vr},{exec:vr});var yr=Function.prototype,br=yr.apply,mr=yr.call,kr="object"==typeof Reflect&&Reflect.apply||(S?mr.bind(br):function(){return mr.apply(br,arguments)}),Sr=Ot("species"),Cr=RegExp.prototype,wr=function(t,e,o,r){var n=Ot(t),i=!m((function(){var e={};return e[n]=function(){return 7},7!=""[t](e)})),a=i&&!m((function(){var e=!1,o=/a/;return"split"===t&&((o={}).constructor={},o.constructor[Sr]=function(){return o},o.flags="",o[n]=/./[n]),o.exec=function(){return e=!0,null},o[n](""),!e}));if(!i||!a||o){var s=A(/./[n]),c=e(n,""[t],(function(t,e,o,r,n){var a=A(t),c=e.exec;return c===vr||c===Cr.exec?i&&!n?{done:!0,value:s(e,o,r)}:{done:!0,value:a(o,e,r)}:{done:!1}}));me(String.prototype,t,c[0]),me(Cr,n,c[1])}r&&Kt(Cr[n],"sham",!0)},xr=A("".charAt),Ir=A("".charCodeAt),Or=A("".slice),Er=function(t){return function(e,o){var r,n,i=Co(F(e)),a=Ce(o),s=i.length;return a<0||a>=s?t?"":void 0:(r=Ir(i,a))<55296||r>56319||a+1===s||(n=Ir(i,a+1))<56320||n>57343?t?xr(i,a):r:t?Or(i,a,a+2):n-56320+(r-55296<<10)+65536}},Tr={codeAt:Er(!1),charAt:Er(!0)}.charAt,jr=function(t,e,o){return e+(o?Tr(t,e).length:1)},Pr=Math.floor,Nr=A("".charAt),Ar=A("".replace),Lr=A("".slice),_r=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Rr=/\$([$&'`]|\d{1,2})/g,Mr=function(t,e,o,r,n,i){var a=o+t.length,s=r.length,c=Rr;return void 0!==n&&(n=gt(n),c=_r),Ar(i,c,(function(i,c){var u;switch(Nr(c,0)){case"$":return"$";case"&":return t;case"`":return Lr(e,0,o);case"'":return Lr(e,a);case"<":u=n[Lr(c,1,-1)];break;default:var l=+c;if(0===l)return i;if(l>s){var f=Pr(l/10);return 0===f?i:f<=s?void 0===r[f-1]?Nr(c,1):r[f-1]+Nr(c,1):i}u=r[l-1]}return void 0===u?"":u}))},Vr=b.TypeError,Dr=function(t,e){var o=t.exec;if(G(o)){var r=w(o,t,e);return null!==r&&Ft(r),r}if("RegExp"===R(t))return w(vr,t,e);throw Vr("RegExp#exec called on incompatible receiver")},Br=Ot("replace"),Fr=Math.max,$r=Math.min,Gr=A([].concat),Jr=A([].push),Ur=A("".indexOf),zr=A("".slice),Hr="$0"==="a".replace(/./,"$0"),qr=!!/./[Br]&&""===/./[Br]("a","$0");wr("replace",(function(t,e,o){var r=qr?"$":"$0";return[function(t,o){var r=F(this),n=null==t?void 0:st(t,Br);return n?w(n,t,r,o):w(e,Co(r),t,o)},function(t,n){var i=Ft(this),a=Co(t);if("string"==typeof n&&-1===Ur(n,r)&&-1===Ur(n,"$<")){var s=o(e,i,a,n);if(s.done)return s.value}var c=G(n);c||(n=Co(n));var u=i.global;if(u){var l=i.unicode;i.lastIndex=0}for(var f=[];;){var p=Dr(i,a);if(null===p)break;if(Jr(f,p),!u)break;""===Co(p[0])&&(i.lastIndex=jr(a,Ee(i.lastIndex),l))}for(var h,d="",g=0,v=0;v<f.length;v++){for(var y=Co((p=f[v])[0]),b=Fr($r(Ce(p.index),a.length),0),m=[],k=1;k<p.length;k++)Jr(m,void 0===(h=p[k])?h:String(h));var S=p.groups;if(c){var C=Gr([y],m,b,a);void 0!==S&&Jr(C,S);var w=Co(kr(n,void 0,C))}else w=Mr(y,a,b,m,S,n);b>=g&&(d+=zr(a,g,b)+w,g=b+y.length)}return d+zr(a,g)}]}),!!m((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Hr||qr);var Kr=vo?{}.toString:function(){return"[object "+ko(this)+"]"};vo||me(Object.prototype,"toString",Kr,{unsafe:!0});var Wr={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},Yr=Lt("span").classList,Xr=Yr&&Yr.constructor&&Yr.constructor.prototype,Qr=Xr===Object.prototype?void 0:Xr,Zr=A(A.bind),tn=A([].push),en=function(t){var e=1==t,o=2==t,r=3==t,n=4==t,i=6==t,a=7==t,s=5==t||i;return function(c,u,l,f){for(var p,h,d=gt(c),g=D(d),v=function(t,e){return at(t),void 0===e?t:S?Zr(t,e):function(){return t.apply(e,arguments)}}(u,l),y=Te(g),b=0,m=f||Do,k=e?m(c,y):o||a?m(c,0):void 0;y>b;b++)if((s||b in g)&&(h=v(p=g[b],b,d),t))if(e)k[b]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:tn(k,p)}else switch(t){case 4:return!1;case 7:tn(k,p)}return i?-1:r||n?n:k}},on={forEach:en(0),map:en(1),filter:en(2),some:en(3),every:en(4),find:en(5),findIndex:en(6),filterReject:en(7)},rn=function(t,e){var o=[][t];return!!o&&m((function(){o.call(null,e||function(){return 1},1)}))},nn=on.forEach,an=rn("forEach")?[].forEach:function(t){return nn(this,t,arguments.length>1?arguments[1]:void 0)},sn=function(t){if(t&&t.forEach!==an)try{Kt(t,"forEach",an)}catch(e){t.forEach=an}};for(var cn in Wr)Wr[cn]&&sn(b[cn]&&b[cn].prototype);sn(Qr);var un=be.PROPER,ln="toString",fn=RegExp.prototype,pn=fn.toString,hn=A(Yo),dn=m((function(){return"/a/b"!=pn.call({source:"a",flags:"b"})})),gn=un&&pn.name!=ln;(dn||gn)&&me(RegExp.prototype,ln,(function(){var t=Ft(this),e=Co(t.source),o=t.flags;return"/"+e+"/"+Co(void 0===o&&H(fn,t)&&!("flags"in fn)?hn(t):o)}),{unsafe:!0});var vn=on.find,yn="find",bn=!0;yn in[]&&Array(1).find((function(){bn=!1})),We({target:"Array",proto:!0,forced:bn},{find:function(t){return vn(this,t,arguments.length>1?arguments[1]:void 0)}}),co(yn);var mn=on.filter;We({target:"Array",proto:!0,forced:!Fo("filter")},{filter:function(t){return mn(this,t,arguments.length>1?arguments[1]:void 0)}});var kn=b.TypeError,Sn=Ot("species"),Cn=function(t,e){var o,r=Ft(t).constructor;return void 0===r||null==(o=Ft(r)[Sn])?e:function(t){if(Ro(t))return t;throw kn(nt(t)+" is not a constructor")}(o)},wn=b.Array,xn=Math.max,In=function(t,e,o){for(var r=Te(t),n=Ie(e,r),i=Ie(void 0===o?r:o,r),a=wn(xn(i-n,0)),s=0;n<i;n++,s++)Oo(a,s,t[n]);return a.length=s,a},On=tr.UNSUPPORTED_Y,En=4294967295,Tn=Math.min,jn=[].push,Pn=A(/./.exec),Nn=A(jn),An=A("".slice),Ln=!m((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var o="ab".split(t);return 2!==o.length||"a"!==o[0]||"b"!==o[1]}));wr("split",(function(t,e,o){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,o){var r=Co(F(this)),n=void 0===o?En:o>>>0;if(0===n)return[];if(void 0===t)return[r];if(!fo(t))return w(e,r,t,n);for(var i,a,s,c=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,f=new RegExp(t.source,u+"g");(i=w(vr,f,r))&&!((a=f.lastIndex)>l&&(Nn(c,An(r,l,i.index)),i.length>1&&i.index<r.length&&kr(jn,c,In(i,1)),s=i[0].length,l=a,c.length>=n));)f.lastIndex===i.index&&f.lastIndex++;return l===r.length?!s&&Pn(f,"")||Nn(c,""):Nn(c,An(r,l)),c.length>n?In(c,0,n):c}:"0".split(void 0,0).length?function(t,o){return void 0===t&&0===o?[]:w(e,this,t,o)}:e,[function(e,o){var n=F(this),i=null==e?void 0:st(e,t);return i?w(i,e,n,o):w(r,Co(n),e,o)},function(t,n){var i=Ft(this),a=Co(t),s=o(r,i,a,n,r!==e);if(s.done)return s.value;var c=Cn(i,RegExp),u=i.unicode,l=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(On?"g":"y"),f=new c(On?"^(?:"+i.source+")":i,l),p=void 0===n?En:n>>>0;if(0===p)return[];if(0===a.length)return null===Dr(f,a)?[a]:[];for(var h=0,d=0,g=[];d<a.length;){f.lastIndex=On?0:d;var v,y=Dr(f,On?An(a,d):a);if(null===y||(v=Tn(Ee(f.lastIndex+(On?d:0)),a.length))===h)d=jr(a,d,u);else{if(Nn(g,An(a,h,d)),g.length===p)return g;for(var b=1;b<=y.length-1;b++)if(Nn(g,y[b]),g.length===p)return g;d=h=v}}return Nn(g,An(a,h)),g}]}),!Ln,On);var _n=on.map;We({target:"Array",proto:!0,forced:!Fo("map")},{map:function(t){return _n(this,t,arguments.length>1?arguments[1]:void 0)}});var Rn=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};wr("search",(function(t,e,o){return[function(e){var o=F(this),r=null==e?void 0:st(e,t);return r?w(r,e,o):new RegExp(e)[t](Co(o))},function(t){var r=Ft(this),n=Co(t),i=o(e,r,n);if(i.done)return i.value;var a=r.lastIndex;Rn(a,0)||(r.lastIndex=0);var s=Dr(r,n);return Rn(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var Mn=A([].join),Vn=D!=Object,Dn=rn("join",",");We({target:"Array",proto:!0,forced:Vn||!Dn},{join:function(t){return Mn($(this),void 0===t?",":t)}});var Bn=o.default.fn.bootstrapTable.utils,Fn={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",sortPriority:"bs.table.sortPriority",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",columns:"bs.table.columns",cardView:"bs.table.cardView",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(t){return t.options.height?t.$tableHeader:t.$header},getCurrentSearchControls:function(t){return t.options.height?"table select, table input":"select, input"},isCookieSupportedByBrowser:function(){return navigator.cookieEnabled},isCookieEnabled:function(t,e){return t.options.cookiesEnabled.includes(e)},setCookie:function(t,e,o){if(t.options.cookie&&Fn.isCookieEnabled(t,e))return t._storage.setItem("".concat(t.options.cookieIdTable,".").concat(e),o)},getCookie:function(t,e){return e&&Fn.isCookieEnabled(t,e)?t._storage.getItem("".concat(t.options.cookieIdTable,".").concat(e)):null},deleteCookie:function(t,e){return t._storage.removeItem("".concat(t.options.cookieIdTable,".").concat(e))},calculateExpiration:function(t){var e=t.replace(/[0-9]*/,"");switch(t=t.replace(/[A-Za-z]{1,2}/,""),e.toLowerCase()){case"s":t=+t;break;case"mi":t*=60;break;case"h":t=60*t*60;break;case"d":t=24*t*60*60;break;case"m":t=30*t*24*60*60;break;case"y":t=365*t*24*60*60;break;default:t=void 0}if(!t)return"";var o=new Date;return o.setTime(o.getTime()+1e3*t),o.toGMTString()},initCookieFilters:function(t){setTimeout((function(){var e=JSON.parse(Fn.getCookie(t,Fn.cookieIds.filterControl));if(!t._filterControlValuesLoaded&&e){var r={},n=Fn.getCurrentHeader(t),i=Fn.getCurrentSearchControls(t),a=n;t.options.filterControlContainer&&(a=o.default("".concat(t.options.filterControlContainer))),a.find(i).each((function(){var n=o.default(this).closest("[data-field]").data("field");!function(e,o){o.forEach((function(o){var n=e.value.toString(),i=o.text;if(""!==i&&("radio"!==e.type||n===i))if("INPUT"===e.tagName&&"radio"===e.type&&n===i)e.checked=!0,r[o.field]=i;else if("INPUT"===e.tagName)e.value=i,r[o.field]=i;else if("SELECT"===e.tagName&&t.options.filterControlContainer)e.value=i,r[o.field]=i;else if(""!==i&&"SELECT"===e.tagName){r[o.field]=i;var a,s=p(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(c.value===i)return void(c.selected=!0)}}catch(t){s.e(t)}finally{s.f()}var u=document.createElement("option");u.value=i,u.text=i,e.add(u,e[1]),e.selectedIndex=1}}))}(this,e.filter((function(t){return t.field===n})))})),t.initColumnSearch(r),t._filterControlValuesLoaded=!0,t.initServer()}}),250)}};o.default.extend(o.default.fn.bootstrapTable.defaults,{cookie:!1,cookieExpire:"2h",cookiePath:null,cookieDomain:null,cookieSecure:null,cookieSameSite:"Lax",cookieIdTable:"",cookiesEnabled:["bs.table.sortOrder","bs.table.sortName","bs.table.sortPriority","bs.table.pageNumber","bs.table.pageList","bs.table.columns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns","bs.table.cardView"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,_filterControls:[],_filterControlValuesLoaded:!1,_storage:{setItem:void 0,getItem:void 0,removeItem:void 0}}),o.default.fn.bootstrapTable.methods.push("getCookies"),o.default.fn.bootstrapTable.methods.push("deleteCookie"),o.default.extend(o.default.fn.bootstrapTable.utils,{setCookie:Fn.setCookie,getCookie:Fn.getCookie}),o.default.BootstrapTable=function(t){!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&&a(t,e)}(h,t);var e,s,u,f=c(h);function h(){return r(this,h),f.apply(this,arguments)}return e=h,s=[{key:"init",value:function(){if(this.options.cookie){if("cookieStorage"===this.options.cookieStorage&&!Fn.isCookieSupportedByBrowser())throw new Error("Cookies are not enabled in this browser.");this.configureStorage();var t=Fn.getCookie(this,Fn.cookieIds.filterBy);if("boolean"==typeof t&&!t)throw new Error("The cookie value of filterBy must be a json!");var e={};try{e=JSON.parse(t)}catch(t){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=e||{},this._filterControls=[],this._filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").toLowerCase().split(","):this.options.cookiesEnabled,this.options.filterControl){var o=this;this.$el.on("column-search.bs.table",(function(t,e,r){for(var n=!0,i=0;i<o._filterControls.length;i++)if(o._filterControls[i].field===e){o._filterControls[i].text=r,n=!1;break}n&&o._filterControls.push({field:e,text:r}),Fn.setCookie(o,Fn.cookieIds.filterControl,JSON.stringify(o._filterControls))})).on("created-controls.bs.table",Fn.initCookieFilters(o))}}l(i(h.prototype),"init",this).call(this)}},{key:"initServer",value:function(){var t;if(this.options.cookie&&this.options.filterControl&&!this._filterControlValuesLoaded){var e=JSON.parse(Fn.getCookie(this,Fn.cookieIds.filterControl));if(e)return}for(var o=arguments.length,r=new Array(o),n=0;n<o;n++)r[n]=arguments[n];(t=l(i(h.prototype),"initServer",this)).call.apply(t,[this].concat(r))}},{key:"initTable",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"initTable",this)).call.apply(t,[this].concat(o)),this.initCookie()}},{key:"onSort",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"onSort",this)).call.apply(t,[this].concat(o)),this.options.cookie&&(void 0===this.options.sortName||void 0===this.options.sortOrder?(Fn.deleteCookie(this,Fn.cookieIds.sortName),Fn.deleteCookie(this,Fn.cookieIds.sortOrder)):(this.options.sortPriority=null,Fn.deleteCookie(this,Fn.cookieIds.sortPriority),Fn.setCookie(this,Fn.cookieIds.sortOrder,this.options.sortOrder),Fn.setCookie(this,Fn.cookieIds.sortName,this.options.sortName)))}},{key:"onMultipleSort",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"onMultipleSort",this)).call.apply(t,[this].concat(o)),void 0===this.options.sortPriority?Fn.deleteCookie(this,Fn.cookieIds.sortPriority):(this.options.sortName=void 0,this.options.sortOrder=void 0,Fn.deleteCookie(this,Fn.cookieIds.sortName),Fn.deleteCookie(this,Fn.cookieIds.sortOrder),Fn.setCookie(this,Fn.cookieIds.sortPriority,JSON.stringify(this.options.sortPriority)))}},{key:"onPageNumber",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"onPageNumber",this)).call.apply(t,[this].concat(o)),this.options.cookie&&Fn.setCookie(this,Fn.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"onPageListChange",this)).call.apply(t,[this].concat(o)),this.options.cookie&&(Fn.setCookie(this,Fn.cookieIds.pageList,this.options.pageSize),Fn.setCookie(this,Fn.cookieIds.pageNumber,this.options.pageNumber))}},{key:"onPagePre",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"onPagePre",this)).call.apply(t,[this].concat(o)),this.options.cookie&&Fn.setCookie(this,Fn.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"onPageNext",this)).call.apply(t,[this].concat(o)),this.options.cookie&&Fn.setCookie(this,Fn.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"_toggleColumn",this)).call.apply(t,[this].concat(o)),this.options.cookie&&Fn.setCookie(this,Fn.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map((function(t){return t.field}))))}},{key:"_toggleAllColumns",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"_toggleAllColumns",this)).call.apply(t,[this].concat(o)),this.options.cookie&&Fn.setCookie(this,Fn.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map((function(t){return t.field}))))}},{key:"toggleView",value:function(){l(i(h.prototype),"toggleView",this).call(this),Fn.setCookie(this,Fn.cookieIds.cardView,this.options.cardView)}},{key:"selectPage",value:function(t){l(i(h.prototype),"selectPage",this).call(this,t),this.options.cookie&&Fn.setCookie(this,Fn.cookieIds.pageNumber,t)}},{key:"onSearch",value:function(t){l(i(h.prototype),"onSearch",this).call(this,t,!(arguments.length>1)||arguments[1]),this.options.cookie&&(this.options.search&&Fn.setCookie(this,Fn.cookieIds.searchText,this.searchText),Fn.setCookie(this,Fn.cookieIds.pageNumber,this.options.pageNumber))}},{key:"initHeader",value:function(){var t;this.options.reorderableColumns&&this.options.cookie&&(this.columnsSortOrder=JSON.parse(Fn.getCookie(this,Fn.cookieIds.reorderColumns)));for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"initHeader",this)).call.apply(t,[this].concat(o))}},{key:"persistReorderColumnsState",value:function(t){Fn.setCookie(t,Fn.cookieIds.reorderColumns,JSON.stringify(t.columnsSortOrder))}},{key:"filterBy",value:function(){for(var t,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];(t=l(i(h.prototype),"filterBy",this)).call.apply(t,[this].concat(o)),this.options.cookie&&Fn.setCookie(this,Fn.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){var t=this;if(this.options.cookie){if(""===this.options.cookieIdTable||""===this.options.cookieExpire)return console.error("Configuration error. Please review the cookieIdTable and the cookieExpire property. If the properties are correct, then this browser does not support cookies."),void(this.options.cookie=!1);var e=Fn.getCookie(this,Fn.cookieIds.sortOrder),o=Fn.getCookie(this,Fn.cookieIds.sortName),r=Fn.getCookie(this,Fn.cookieIds.sortPriority),n=Fn.getCookie(this,Fn.cookieIds.pageNumber),i=Fn.getCookie(this,Fn.cookieIds.pageList),a=Fn.getCookie(this,Fn.cookieIds.searchText),s=Fn.getCookie(this,Fn.cookieIds.cardView),c=Fn.getCookie(this,Fn.cookieIds.columns);if("boolean"==typeof c&&!c)throw new Error("The cookie value of filterBy must be a json!");var u={};try{u=JSON.parse(c)}catch(t){throw new Error("Could not parse the json of the columns cookie!",c)}try{r=JSON.parse(r)}catch(t){throw new Error("Could not parse the json of the sortPriority cookie!",r)}if(r?(this.options.sortOrder=void 0,this.options.sortName=void 0):(this.options.sortOrder=e||this.options.sortOrder,this.options.sortName=o||this.options.sortName),this.options.sortPriority=r||this.options.sortPriority,(this.options.sortOrder||this.options.sortName)&&(this.options.sortPriority=null),this.options.pageNumber=n?+n:this.options.pageNumber,this.options.pageSize=i?i===this.options.formatAllRows()?i:+i:this.options.pageSize,Fn.isCookieEnabled(this,"bs.table.searchText")&&""===this.options.searchText&&(this.options.searchText=a||""),this.options.cardView="true"===s&&s,u){var l,f=p(this.columns);try{var h=function(){var e=l.value;if(!e.switchable)return"continue";e.visible=u.filter((function(o){return!!t.isSelectionColumn(e)||(o instanceof Object?o.field===e.field:o===e.field)})).length>0};for(f.s();!(l=f.n()).done;)h()}catch(t){f.e(t)}finally{f.f()}}}}},{key:"getCookies",value:function(){var t=this,e={};return o.default.each(Fn.cookieIds,(function(o,r){e[o]=Fn.getCookie(t,r),"columns"===o&&(e[o]=JSON.parse(e[o]))})),e}},{key:"deleteCookie",value:function(t){t&&Fn.deleteCookie(this,Fn.cookieIds[t])}},{key:"configureStorage",value:function(){var t=this;switch(this._storage={},this.options.cookieStorage){case"cookieStorage":this._storage.setItem=function(e,o){document.cookie=[e,"=",encodeURIComponent(o),"; expires=".concat(Fn.calculateExpiration(t.options.cookieExpire)),t.options.cookiePath?"; path=".concat(t.options.cookiePath):"",t.options.cookieDomain?"; domain=".concat(t.options.cookieDomain):"",t.options.cookieSecure?"; secure":"",";SameSite=".concat(t.options.cookieSameSite)].join("")},this._storage.getItem=function(t){var e="; ".concat(document.cookie).split("; ".concat(t,"="));return 2===e.length?decodeURIComponent(e.pop().split(";").shift()):null},this._storage.removeItem=function(e){document.cookie=[encodeURIComponent(e),"=","; expires=Thu, 01 Jan 1970 00:00:00 GMT",t.options.cookiePath?"; path=".concat(t.options.cookiePath):"",t.options.cookieDomain?"; domain=".concat(t.options.cookieDomain):"",";SameSite=".concat(t.options.cookieSameSite)].join("")};break;case"localStorage":this._storage.setItem=function(t,e){localStorage.setItem(t,e)},this._storage.getItem=function(t){return localStorage.getItem(t)},this._storage.removeItem=function(t){localStorage.removeItem(t)};break;case"sessionStorage":this._storage.setItem=function(t,e){sessionStorage.setItem(t,e)},this._storage.getItem=function(t){return sessionStorage.getItem(t)},this._storage.removeItem=function(t){sessionStorage.removeItem(t)};break;case"customStorage":if(!this.options.cookieCustomStorageSet||!this.options.cookieCustomStorageGet||!this.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");this._storage.setItem=function(e,o){Bn.calculateObjectValue(t.options,t.options.cookieCustomStorageSet,[e,o],"")},this._storage.getItem=function(e){return Bn.calculateObjectValue(t.options,t.options.cookieCustomStorageGet,[e],"")},this._storage.removeItem=function(e){Bn.calculateObjectValue(t.options,t.options.cookieCustomStorageDelete,[e],"")};break;default:throw new Error("Storage method not supported.")}}}],s&&n(e.prototype,s),u&&n(e,u),Object.defineProperty(e,"prototype",{writable:!1}),h}(o.default.BootstrapTable)}));