zoneminder/web/skins/classic/js/bootstrap-table-toolbar.min.js

11 lines
36 KiB
JavaScript
Raw Normal View History

/**
* 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.18.0
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
*/
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t=t||self).jQuery)}(this,(function(t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n){return t(n={exports:{}},n.exports),n.exports}var r=function(t){return t&&t.Math==Math&&t},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},i=!a((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,s={f:l&&!c.call({1:2},1)?function(t){var n=l(this,t);return!!n&&n.enumerable}:c},u=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},d={}.toString,f=function(t){return d.call(t).slice(8,-1)},p="".split,h=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==f(t)?p.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return h(v(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,n){if(!y(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!y(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!y(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!y(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},g={}.hasOwnProperty,S=function(t,n){return g.call(t,n)},O=o.document,w=y(O)&&y(O.createElement),x=function(t){return w?O.createElement(t):{}},T=!i&&!a((function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a})),j=Object.getOwnPropertyDescriptor,A={f:i?j:function(t,n){if(t=b(t),n=m(n,!0),T)try{return j(t,n)}catch(t){}if(S(t,n))return u(!s.f.call(t,n),t[n])}},_=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},E=Object.defineProperty,P={f:i?E:function(t,n,e){if(_(t),n=m(n,!0),_(e),T)try{return E(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},C=i?function(t,n,e){return P.f(t,n,u(1,e))}:function(t,n,e){return t[n]=e,t},M=function(t,n){try{C(o,t,n)}catch(e){o[t]=n}return n},I="__core-js_shared__",k=o[I]||M(I,{}),R=Function.toString;"function"!=typeof k.inspectSource&&(k.inspectSource=function(t){return R.call(t)});var L,F,N,D=k.inspectSource,G=o.WeakMap,B="function"==typeof G&&/native code/.test(D(G)),V=e((function(t){(t.exports=function(t,n){return k[t]||(k[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),z=0,$=Math.random(),U=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+$).toString(36)},q=V("keys"),W=function(t){return q[t]||(q[t]=U(t))},Y={},H=o.WeakMap;if(B){var K=new H,J=K.get,Q=K.has,X=K.set;L=function(t,n){return X.call(K,t,n),n},F=function(t){return J.call(K,t)||{}},N=function(t){return Q.call(K,t)}}else{var Z=W("state");Y[Z]=!0,L=function(t,n){return C(t,Z,n),n},F=function(t){return S(t,Z)?t[Z]:{}},N=function(t){return S(t,Z)}}var tt,nt={set:L,get:F,has:N,enforce:function(t){return N(t)?F(t):L(t,{})},getterFor:function(t){return function(n){var e;if(!y(n)||(e=F(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},et=e((function(t){var n=nt.get,e=nt.enforce,r=String(String).split("String");(t.exports=function(t,n,a,i){var c=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,s=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof n||S(a,"name")||C(a,"name",n),e(a).source=r.join("string"==typeof n?n:"")),t!==o?(c?!s&&t[n]&&(l=!0):delete t[n],l?t[n]=a:C(t,n,a)):l?t[n]=a:M(n,a)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||D(this)}))})),rt