/** * bootstrap-table - An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3). * * @version v1.13.3 * @homepage https://bootstrap-table.com * @author wenzhixin (http://wenzhixin.net.cn/) * @license MIT */ (function(a,b){if('function'==typeof define&&define.amd)define([],b);else if('undefined'!=typeof exports)b();else{b(),a.bootstrapTableCookie={exports:{}}.exports}})(this,function(){'use strict';function a(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')}function b(a,b){if(!a)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return b&&('object'==typeof b||'function'==typeof b)?b:a}function c(a,b){if('function'!=typeof b&&null!==b)throw new TypeError('Super expression must either be null or a function, not '+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}var d=function(){function a(a,b){for(var c,d=0;d=arguments.length?void 0:arguments[0];e(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),'onSort',this).call(this,a),g.setCookie(this,g.cookieIds.sortOrder,this.options.sortOrder),g.setCookie(this,g.cookieIds.sortName,this.options.sortName)}},{key:'onPageNumber',value:function(){var a=0>=arguments.length?void 0:arguments[0];return e(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),'onPageNumber',this).call(this,a),g.setCookie(this,g.cookieIds.pageNumber,this.options.pageNumber),!1}},{key:'onPageListChange',value:function(){var a=0>=arguments.length?void 0:arguments[0];return e(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),'onPageListChange',this).call(this,a),g.setCookie(this,g.cookieIds.pageList,this.options.pageSize),g.setCookie(this,g.cookieIds.pageNumber,this.options.pageNumber),!1}},{key:'onPagePre',value:function(){var a=0>=arguments.length?void 0:arguments[0];return e(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),'onPagePre',this).call(this,a),g.setCookie(this,g.cookieIds.pageNumber,this.options.pageNumber),!1}},{key:'onPageNext',value:function(){var a=0>=arguments.length?void 0:arguments[0];return e(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),'onPageNext',this).call(this,a),g.setCookie(this,g.cookieIds.pageNumber,this.options.pageNumber),!1}},{key:'toggleColumn',value:function(){e(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),'toggleColumn',this).call(this);var a=[];f.each(this.columns,function(b,c){c.visible&&a.push(c.field)}),g.setCookie(this,g.cookieIds.columns,JSON.stringify(a))}},{key:'selectPage',value:function(a){e(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),'selectPage',this).call(this),g.setCookie(this,g.cookieIds.pageNumber,a)}},{key:'onSearch',value:function(){for(var a=arguments.length,b=Array(a),c=0;c