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

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