bootstrap-table-materialize.js 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710
  1. (function (global, factory) {
  2. typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
  3. typeof define === 'function' && define.amd ? define(['jquery'], factory) :
  4. (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
  5. })(this, (function ($$3) { 'use strict';
  6. function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
  7. var $__default = /*#__PURE__*/_interopDefaultLegacy($$3);
  8. function _classCallCheck(instance, Constructor) {
  9. if (!(instance instanceof Constructor)) {
  10. throw new TypeError("Cannot call a class as a function");
  11. }
  12. }
  13. function _defineProperties(target, props) {
  14. for (var i = 0; i < props.length; i++) {
  15. var descriptor = props[i];
  16. descriptor.enumerable = descriptor.enumerable || false;
  17. descriptor.configurable = true;
  18. if ("value" in descriptor) descriptor.writable = true;
  19. Object.defineProperty(target, descriptor.key, descriptor);
  20. }
  21. }
  22. function _createClass(Constructor, protoProps, staticProps) {
  23. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  24. if (staticProps) _defineProperties(Constructor, staticProps);
  25. Object.defineProperty(Constructor, "prototype", {
  26. writable: false
  27. });
  28. return Constructor;
  29. }
  30. function _inherits(subClass, superClass) {
  31. if (typeof superClass !== "function" && superClass !== null) {
  32. throw new TypeError("Super expression must either be null or a function");
  33. }
  34. subClass.prototype = Object.create(superClass && superClass.prototype, {
  35. constructor: {
  36. value: subClass,
  37. writable: true,
  38. configurable: true
  39. }
  40. });
  41. Object.defineProperty(subClass, "prototype", {
  42. writable: false
  43. });
  44. if (superClass) _setPrototypeOf(subClass, superClass);
  45. }
  46. function _getPrototypeOf(o) {
  47. _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
  48. return o.__proto__ || Object.getPrototypeOf(o);
  49. };
  50. return _getPrototypeOf(o);
  51. }
  52. function _setPrototypeOf(o, p) {
  53. _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
  54. o.__proto__ = p;
  55. return o;
  56. };
  57. return _setPrototypeOf(o, p);
  58. }
  59. function _isNativeReflectConstruct() {
  60. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  61. if (Reflect.construct.sham) return false;
  62. if (typeof Proxy === "function") return true;
  63. try {
  64. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  65. return true;
  66. } catch (e) {
  67. return false;
  68. }
  69. }
  70. function _assertThisInitialized(self) {
  71. if (self === void 0) {
  72. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  73. }
  74. return self;
  75. }
  76. function _possibleConstructorReturn(self, call) {
  77. if (call && (typeof call === "object" || typeof call === "function")) {
  78. return call;
  79. } else if (call !== void 0) {
  80. throw new TypeError("Derived constructors may only return object or undefined");
  81. }
  82. return _assertThisInitialized(self);
  83. }
  84. function _createSuper(Derived) {
  85. var hasNativeReflectConstruct = _isNativeReflectConstruct();
  86. return function _createSuperInternal() {
  87. var Super = _getPrototypeOf(Derived),
  88. result;
  89. if (hasNativeReflectConstruct) {
  90. var NewTarget = _getPrototypeOf(this).constructor;
  91. result = Reflect.construct(Super, arguments, NewTarget);
  92. } else {
  93. result = Super.apply(this, arguments);
  94. }
  95. return _possibleConstructorReturn(this, result);
  96. };
  97. }
  98. function _superPropBase(object, property) {
  99. while (!Object.prototype.hasOwnProperty.call(object, property)) {
  100. object = _getPrototypeOf(object);
  101. if (object === null) break;
  102. }
  103. return object;
  104. }
  105. function _get() {
  106. if (typeof Reflect !== "undefined" && Reflect.get) {
  107. _get = Reflect.get;
  108. } else {
  109. _get = function _get(target, property, receiver) {
  110. var base = _superPropBase(target, property);
  111. if (!base) return;
  112. var desc = Object.getOwnPropertyDescriptor(base, property);
  113. if (desc.get) {
  114. return desc.get.call(arguments.length < 3 ? target : receiver);
  115. }
  116. return desc.value;
  117. };
  118. }
  119. return _get.apply(this, arguments);
  120. }
  121. var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  122. var check = function (it) {
  123. return it && it.Math == Math && it;
  124. };
  125. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  126. var global$p =
  127. // eslint-disable-next-line es-x/no-global-this -- safe
  128. check(typeof globalThis == 'object' && globalThis) ||
  129. check(typeof window == 'object' && window) ||
  130. // eslint-disable-next-line no-restricted-globals -- safe
  131. check(typeof self == 'object' && self) ||
  132. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  133. // eslint-disable-next-line no-new-func -- fallback
  134. (function () { return this; })() || Function('return this')();
  135. var objectGetOwnPropertyDescriptor = {};
  136. var fails$a = function (exec) {
  137. try {
  138. return !!exec();
  139. } catch (error) {
  140. return true;
  141. }
  142. };
  143. var fails$9 = fails$a;
  144. // Detect IE8's incomplete defineProperty implementation
  145. var descriptors = !fails$9(function () {
  146. // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
  147. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
  148. });
  149. var fails$8 = fails$a;
  150. var functionBindNative = !fails$8(function () {
  151. // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
  152. var test = (function () { /* empty */ }).bind();
  153. // eslint-disable-next-line no-prototype-builtins -- safe
  154. return typeof test != 'function' || test.hasOwnProperty('prototype');
  155. });
  156. var NATIVE_BIND$2 = functionBindNative;
  157. var call$4 = Function.prototype.call;
  158. var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
  159. return call$4.apply(call$4, arguments);
  160. };
  161. var objectPropertyIsEnumerable = {};
  162. var $propertyIsEnumerable = {}.propertyIsEnumerable;
  163. // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
  164. var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  165. // Nashorn ~ JDK8 bug
  166. var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
  167. // `Object.prototype.propertyIsEnumerable` method implementation
  168. // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
  169. objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  170. var descriptor = getOwnPropertyDescriptor$1(this, V);
  171. return !!descriptor && descriptor.enumerable;
  172. } : $propertyIsEnumerable;
  173. var createPropertyDescriptor$2 = function (bitmap, value) {
  174. return {
  175. enumerable: !(bitmap & 1),
  176. configurable: !(bitmap & 2),
  177. writable: !(bitmap & 4),
  178. value: value
  179. };
  180. };
  181. var NATIVE_BIND$1 = functionBindNative;
  182. var FunctionPrototype$1 = Function.prototype;
  183. var bind$2 = FunctionPrototype$1.bind;
  184. var call$3 = FunctionPrototype$1.call;
  185. var uncurryThis$d = NATIVE_BIND$1 && bind$2.bind(call$3, call$3);
  186. var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
  187. return fn && uncurryThis$d(fn);
  188. } : function (fn) {
  189. return fn && function () {
  190. return call$3.apply(fn, arguments);
  191. };
  192. };
  193. var uncurryThis$c = functionUncurryThis;
  194. var toString$4 = uncurryThis$c({}.toString);
  195. var stringSlice = uncurryThis$c(''.slice);
  196. var classofRaw$1 = function (it) {
  197. return stringSlice(toString$4(it), 8, -1);
  198. };
  199. var global$o = global$p;
  200. var uncurryThis$b = functionUncurryThis;
  201. var fails$7 = fails$a;
  202. var classof$6 = classofRaw$1;
  203. var Object$4 = global$o.Object;
  204. var split = uncurryThis$b(''.split);
  205. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  206. var indexedObject = fails$7(function () {
  207. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  208. // eslint-disable-next-line no-prototype-builtins -- safe
  209. return !Object$4('z').propertyIsEnumerable(0);
  210. }) ? function (it) {
  211. return classof$6(it) == 'String' ? split(it, '') : Object$4(it);
  212. } : Object$4;
  213. var global$n = global$p;
  214. var TypeError$8 = global$n.TypeError;
  215. // `RequireObjectCoercible` abstract operation
  216. // https://tc39.es/ecma262/#sec-requireobjectcoercible
  217. var requireObjectCoercible$3 = function (it) {
  218. if (it == undefined) throw TypeError$8("Can't call method on " + it);
  219. return it;
  220. };
  221. // toObject with fallback for non-array-like ES3 strings
  222. var IndexedObject$1 = indexedObject;
  223. var requireObjectCoercible$2 = requireObjectCoercible$3;
  224. var toIndexedObject$4 = function (it) {
  225. return IndexedObject$1(requireObjectCoercible$2(it));
  226. };
  227. // `IsCallable` abstract operation
  228. // https://tc39.es/ecma262/#sec-iscallable
  229. var isCallable$c = function (argument) {
  230. return typeof argument == 'function';
  231. };
  232. var isCallable$b = isCallable$c;
  233. var isObject$7 = function (it) {
  234. return typeof it == 'object' ? it !== null : isCallable$b(it);
  235. };
  236. var global$m = global$p;
  237. var isCallable$a = isCallable$c;
  238. var aFunction = function (argument) {
  239. return isCallable$a(argument) ? argument : undefined;
  240. };
  241. var getBuiltIn$5 = function (namespace, method) {
  242. return arguments.length < 2 ? aFunction(global$m[namespace]) : global$m[namespace] && global$m[namespace][method];
  243. };
  244. var uncurryThis$a = functionUncurryThis;
  245. var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
  246. var getBuiltIn$4 = getBuiltIn$5;
  247. var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
  248. var global$l = global$p;
  249. var userAgent = engineUserAgent;
  250. var process = global$l.process;
  251. var Deno = global$l.Deno;
  252. var versions = process && process.versions || Deno && Deno.version;
  253. var v8 = versions && versions.v8;
  254. var match, version;
  255. if (v8) {
  256. match = v8.split('.');
  257. // in old Chrome, versions of V8 isn't V8 = Chrome / 10
  258. // but their correct versions are not interesting for us
  259. version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
  260. }
  261. // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
  262. // so check `userAgent` even if `.v8` exists, but 0
  263. if (!version && userAgent) {
  264. match = userAgent.match(/Edge\/(\d+)/);
  265. if (!match || match[1] >= 74) {
  266. match = userAgent.match(/Chrome\/(\d+)/);
  267. if (match) version = +match[1];
  268. }
  269. }
  270. var engineV8Version = version;
  271. /* eslint-disable es-x/no-symbol -- required for testing */
  272. var V8_VERSION = engineV8Version;
  273. var fails$6 = fails$a;
  274. // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
  275. var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$6(function () {
  276. var symbol = Symbol();
  277. // Chrome 38 Symbol has incorrect toString conversion
  278. // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
  279. return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
  280. // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
  281. !Symbol.sham && V8_VERSION && V8_VERSION < 41;
  282. });
  283. /* eslint-disable es-x/no-symbol -- required for testing */
  284. var NATIVE_SYMBOL$1 = nativeSymbol;
  285. var useSymbolAsUid = NATIVE_SYMBOL$1
  286. && !Symbol.sham
  287. && typeof Symbol.iterator == 'symbol';
  288. var global$k = global$p;
  289. var getBuiltIn$3 = getBuiltIn$5;
  290. var isCallable$9 = isCallable$c;
  291. var isPrototypeOf = objectIsPrototypeOf;
  292. var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
  293. var Object$3 = global$k.Object;
  294. var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
  295. return typeof it == 'symbol';
  296. } : function (it) {
  297. var $Symbol = getBuiltIn$3('Symbol');
  298. return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
  299. };
  300. var global$j = global$p;
  301. var String$3 = global$j.String;
  302. var tryToString$1 = function (argument) {
  303. try {
  304. return String$3(argument);
  305. } catch (error) {
  306. return 'Object';
  307. }
  308. };
  309. var global$i = global$p;
  310. var isCallable$8 = isCallable$c;
  311. var tryToString = tryToString$1;
  312. var TypeError$7 = global$i.TypeError;
  313. // `Assert: IsCallable(argument) is true`
  314. var aCallable$2 = function (argument) {
  315. if (isCallable$8(argument)) return argument;
  316. throw TypeError$7(tryToString(argument) + ' is not a function');
  317. };
  318. var aCallable$1 = aCallable$2;
  319. // `GetMethod` abstract operation
  320. // https://tc39.es/ecma262/#sec-getmethod
  321. var getMethod$1 = function (V, P) {
  322. var func = V[P];
  323. return func == null ? undefined : aCallable$1(func);
  324. };
  325. var global$h = global$p;
  326. var call$2 = functionCall;
  327. var isCallable$7 = isCallable$c;
  328. var isObject$6 = isObject$7;
  329. var TypeError$6 = global$h.TypeError;
  330. // `OrdinaryToPrimitive` abstract operation
  331. // https://tc39.es/ecma262/#sec-ordinarytoprimitive
  332. var ordinaryToPrimitive$1 = function (input, pref) {
  333. var fn, val;
  334. if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
  335. if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$2(fn, input))) return val;
  336. if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
  337. throw TypeError$6("Can't convert object to primitive value");
  338. };
  339. var shared$3 = {exports: {}};
  340. var global$g = global$p;
  341. // eslint-disable-next-line es-x/no-object-defineproperty -- safe
  342. var defineProperty$1 = Object.defineProperty;
  343. var setGlobal$3 = function (key, value) {
  344. try {
  345. defineProperty$1(global$g, key, { value: value, configurable: true, writable: true });
  346. } catch (error) {
  347. global$g[key] = value;
  348. } return value;
  349. };
  350. var global$f = global$p;
  351. var setGlobal$2 = setGlobal$3;
  352. var SHARED = '__core-js_shared__';
  353. var store$3 = global$f[SHARED] || setGlobal$2(SHARED, {});
  354. var sharedStore = store$3;
  355. var store$2 = sharedStore;
  356. (shared$3.exports = function (key, value) {
  357. return store$2[key] || (store$2[key] = value !== undefined ? value : {});
  358. })('versions', []).push({
  359. version: '3.22.5',
  360. mode: 'global',
  361. copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
  362. license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
  363. source: 'https://github.com/zloirock/core-js'
  364. });
  365. var global$e = global$p;
  366. var requireObjectCoercible$1 = requireObjectCoercible$3;
  367. var Object$2 = global$e.Object;
  368. // `ToObject` abstract operation
  369. // https://tc39.es/ecma262/#sec-toobject
  370. var toObject$2 = function (argument) {
  371. return Object$2(requireObjectCoercible$1(argument));
  372. };
  373. var uncurryThis$9 = functionUncurryThis;
  374. var toObject$1 = toObject$2;
  375. var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
  376. // `HasOwnProperty` abstract operation
  377. // https://tc39.es/ecma262/#sec-hasownproperty
  378. // eslint-disable-next-line es-x/no-object-hasown -- safe
  379. var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
  380. return hasOwnProperty(toObject$1(it), key);
  381. };
  382. var uncurryThis$8 = functionUncurryThis;
  383. var id = 0;
  384. var postfix = Math.random();
  385. var toString$3 = uncurryThis$8(1.0.toString);
  386. var uid$2 = function (key) {
  387. return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
  388. };
  389. var global$d = global$p;
  390. var shared$2 = shared$3.exports;
  391. var hasOwn$6 = hasOwnProperty_1;
  392. var uid$1 = uid$2;
  393. var NATIVE_SYMBOL = nativeSymbol;
  394. var USE_SYMBOL_AS_UID = useSymbolAsUid;
  395. var WellKnownSymbolsStore = shared$2('wks');
  396. var Symbol$1 = global$d.Symbol;
  397. var symbolFor = Symbol$1 && Symbol$1['for'];
  398. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
  399. var wellKnownSymbol$7 = function (name) {
  400. if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
  401. var description = 'Symbol.' + name;
  402. if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
  403. WellKnownSymbolsStore[name] = Symbol$1[name];
  404. } else if (USE_SYMBOL_AS_UID && symbolFor) {
  405. WellKnownSymbolsStore[name] = symbolFor(description);
  406. } else {
  407. WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
  408. }
  409. } return WellKnownSymbolsStore[name];
  410. };
  411. var global$c = global$p;
  412. var call$1 = functionCall;
  413. var isObject$5 = isObject$7;
  414. var isSymbol$1 = isSymbol$2;
  415. var getMethod = getMethod$1;
  416. var ordinaryToPrimitive = ordinaryToPrimitive$1;
  417. var wellKnownSymbol$6 = wellKnownSymbol$7;
  418. var TypeError$5 = global$c.TypeError;
  419. var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive');
  420. // `ToPrimitive` abstract operation
  421. // https://tc39.es/ecma262/#sec-toprimitive
  422. var toPrimitive$1 = function (input, pref) {
  423. if (!isObject$5(input) || isSymbol$1(input)) return input;
  424. var exoticToPrim = getMethod(input, TO_PRIMITIVE);
  425. var result;
  426. if (exoticToPrim) {
  427. if (pref === undefined) pref = 'default';
  428. result = call$1(exoticToPrim, input, pref);
  429. if (!isObject$5(result) || isSymbol$1(result)) return result;
  430. throw TypeError$5("Can't convert object to primitive value");
  431. }
  432. if (pref === undefined) pref = 'number';
  433. return ordinaryToPrimitive(input, pref);
  434. };
  435. var toPrimitive = toPrimitive$1;
  436. var isSymbol = isSymbol$2;
  437. // `ToPropertyKey` abstract operation
  438. // https://tc39.es/ecma262/#sec-topropertykey
  439. var toPropertyKey$2 = function (argument) {
  440. var key = toPrimitive(argument, 'string');
  441. return isSymbol(key) ? key : key + '';
  442. };
  443. var global$b = global$p;
  444. var isObject$4 = isObject$7;
  445. var document$1 = global$b.document;
  446. // typeof document.createElement is 'object' in old IE
  447. var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
  448. var documentCreateElement$1 = function (it) {
  449. return EXISTS$1 ? document$1.createElement(it) : {};
  450. };
  451. var DESCRIPTORS$7 = descriptors;
  452. var fails$5 = fails$a;
  453. var createElement = documentCreateElement$1;
  454. // Thanks to IE8 for its funny defineProperty
  455. var ie8DomDefine = !DESCRIPTORS$7 && !fails$5(function () {
  456. // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
  457. return Object.defineProperty(createElement('div'), 'a', {
  458. get: function () { return 7; }
  459. }).a != 7;
  460. });
  461. var DESCRIPTORS$6 = descriptors;
  462. var call = functionCall;
  463. var propertyIsEnumerableModule = objectPropertyIsEnumerable;
  464. var createPropertyDescriptor$1 = createPropertyDescriptor$2;
  465. var toIndexedObject$3 = toIndexedObject$4;
  466. var toPropertyKey$1 = toPropertyKey$2;
  467. var hasOwn$5 = hasOwnProperty_1;
  468. var IE8_DOM_DEFINE$1 = ie8DomDefine;
  469. // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
  470. var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  471. // `Object.getOwnPropertyDescriptor` method
  472. // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
  473. objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
  474. O = toIndexedObject$3(O);
  475. P = toPropertyKey$1(P);
  476. if (IE8_DOM_DEFINE$1) try {
  477. return $getOwnPropertyDescriptor$1(O, P);
  478. } catch (error) { /* empty */ }
  479. if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
  480. };
  481. var objectDefineProperty = {};
  482. var DESCRIPTORS$5 = descriptors;
  483. var fails$4 = fails$a;
  484. // V8 ~ Chrome 36-
  485. // https://bugs.chromium.org/p/v8/issues/detail?id=3334
  486. var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$4(function () {
  487. // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
  488. return Object.defineProperty(function () { /* empty */ }, 'prototype', {
  489. value: 42,
  490. writable: false
  491. }).prototype != 42;
  492. });
  493. var global$a = global$p;
  494. var isObject$3 = isObject$7;
  495. var String$2 = global$a.String;
  496. var TypeError$4 = global$a.TypeError;
  497. // `Assert: Type(argument) is Object`
  498. var anObject$4 = function (argument) {
  499. if (isObject$3(argument)) return argument;
  500. throw TypeError$4(String$2(argument) + ' is not an object');
  501. };
  502. var global$9 = global$p;
  503. var DESCRIPTORS$4 = descriptors;
  504. var IE8_DOM_DEFINE = ie8DomDefine;
  505. var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
  506. var anObject$3 = anObject$4;
  507. var toPropertyKey = toPropertyKey$2;
  508. var TypeError$3 = global$9.TypeError;
  509. // eslint-disable-next-line es-x/no-object-defineproperty -- safe
  510. var $defineProperty = Object.defineProperty;
  511. // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
  512. var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  513. var ENUMERABLE = 'enumerable';
  514. var CONFIGURABLE$1 = 'configurable';
  515. var WRITABLE = 'writable';
  516. // `Object.defineProperty` method
  517. // https://tc39.es/ecma262/#sec-object.defineproperty
  518. objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
  519. anObject$3(O);
  520. P = toPropertyKey(P);
  521. anObject$3(Attributes);
  522. if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
  523. var current = $getOwnPropertyDescriptor(O, P);
  524. if (current && current[WRITABLE]) {
  525. O[P] = Attributes.value;
  526. Attributes = {
  527. configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
  528. enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
  529. writable: false
  530. };
  531. }
  532. } return $defineProperty(O, P, Attributes);
  533. } : $defineProperty : function defineProperty(O, P, Attributes) {
  534. anObject$3(O);
  535. P = toPropertyKey(P);
  536. anObject$3(Attributes);
  537. if (IE8_DOM_DEFINE) try {
  538. return $defineProperty(O, P, Attributes);
  539. } catch (error) { /* empty */ }
  540. if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
  541. if ('value' in Attributes) O[P] = Attributes.value;
  542. return O;
  543. };
  544. var DESCRIPTORS$3 = descriptors;
  545. var definePropertyModule$3 = objectDefineProperty;
  546. var createPropertyDescriptor = createPropertyDescriptor$2;
  547. var createNonEnumerableProperty$3 = DESCRIPTORS$3 ? function (object, key, value) {
  548. return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
  549. } : function (object, key, value) {
  550. object[key] = value;
  551. return object;
  552. };
  553. var makeBuiltIn$2 = {exports: {}};
  554. var DESCRIPTORS$2 = descriptors;
  555. var hasOwn$4 = hasOwnProperty_1;
  556. var FunctionPrototype = Function.prototype;
  557. // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
  558. var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
  559. var EXISTS = hasOwn$4(FunctionPrototype, 'name');
  560. // additional protection from minified / mangled / dropped function names
  561. var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
  562. var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
  563. var functionName = {
  564. EXISTS: EXISTS,
  565. PROPER: PROPER,
  566. CONFIGURABLE: CONFIGURABLE
  567. };
  568. var uncurryThis$7 = functionUncurryThis;
  569. var isCallable$6 = isCallable$c;
  570. var store$1 = sharedStore;
  571. var functionToString = uncurryThis$7(Function.toString);
  572. // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
  573. if (!isCallable$6(store$1.inspectSource)) {
  574. store$1.inspectSource = function (it) {
  575. return functionToString(it);
  576. };
  577. }
  578. var inspectSource$3 = store$1.inspectSource;
  579. var global$8 = global$p;
  580. var isCallable$5 = isCallable$c;
  581. var inspectSource$2 = inspectSource$3;
  582. var WeakMap$1 = global$8.WeakMap;
  583. var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
  584. var shared$1 = shared$3.exports;
  585. var uid = uid$2;
  586. var keys = shared$1('keys');
  587. var sharedKey$2 = function (key) {
  588. return keys[key] || (keys[key] = uid(key));
  589. };
  590. var hiddenKeys$4 = {};
  591. var NATIVE_WEAK_MAP = nativeWeakMap;
  592. var global$7 = global$p;
  593. var uncurryThis$6 = functionUncurryThis;
  594. var isObject$2 = isObject$7;
  595. var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
  596. var hasOwn$3 = hasOwnProperty_1;
  597. var shared = sharedStore;
  598. var sharedKey$1 = sharedKey$2;
  599. var hiddenKeys$3 = hiddenKeys$4;
  600. var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
  601. var TypeError$2 = global$7.TypeError;
  602. var WeakMap = global$7.WeakMap;
  603. var set, get, has;
  604. var enforce = function (it) {
  605. return has(it) ? get(it) : set(it, {});
  606. };
  607. var getterFor = function (TYPE) {
  608. return function (it) {
  609. var state;
  610. if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
  611. throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
  612. } return state;
  613. };
  614. };
  615. if (NATIVE_WEAK_MAP || shared.state) {
  616. var store = shared.state || (shared.state = new WeakMap());
  617. var wmget = uncurryThis$6(store.get);
  618. var wmhas = uncurryThis$6(store.has);
  619. var wmset = uncurryThis$6(store.set);
  620. set = function (it, metadata) {
  621. if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
  622. metadata.facade = it;
  623. wmset(store, it, metadata);
  624. return metadata;
  625. };
  626. get = function (it) {
  627. return wmget(store, it) || {};
  628. };
  629. has = function (it) {
  630. return wmhas(store, it);
  631. };
  632. } else {
  633. var STATE = sharedKey$1('state');
  634. hiddenKeys$3[STATE] = true;
  635. set = function (it, metadata) {
  636. if (hasOwn$3(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
  637. metadata.facade = it;
  638. createNonEnumerableProperty$2(it, STATE, metadata);
  639. return metadata;
  640. };
  641. get = function (it) {
  642. return hasOwn$3(it, STATE) ? it[STATE] : {};
  643. };
  644. has = function (it) {
  645. return hasOwn$3(it, STATE);
  646. };
  647. }
  648. var internalState = {
  649. set: set,
  650. get: get,
  651. has: has,
  652. enforce: enforce,
  653. getterFor: getterFor
  654. };
  655. var fails$3 = fails$a;
  656. var isCallable$4 = isCallable$c;
  657. var hasOwn$2 = hasOwnProperty_1;
  658. var DESCRIPTORS$1 = descriptors;
  659. var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
  660. var inspectSource$1 = inspectSource$3;
  661. var InternalStateModule = internalState;
  662. var enforceInternalState = InternalStateModule.enforce;
  663. var getInternalState = InternalStateModule.get;
  664. // eslint-disable-next-line es-x/no-object-defineproperty -- safe
  665. var defineProperty = Object.defineProperty;
  666. var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$3(function () {
  667. return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
  668. });
  669. var TEMPLATE = String(String).split('String');
  670. var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
  671. if (String(name).slice(0, 7) === 'Symbol(') {
  672. name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
  673. }
  674. if (options && options.getter) name = 'get ' + name;
  675. if (options && options.setter) name = 'set ' + name;
  676. if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
  677. defineProperty(value, 'name', { value: name, configurable: true });
  678. }
  679. if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
  680. defineProperty(value, 'length', { value: options.arity });
  681. }
  682. if (options && hasOwn$2(options, 'constructor') && options.constructor) {
  683. if (DESCRIPTORS$1) try {
  684. defineProperty(value, 'prototype', { writable: false });
  685. } catch (error) { /* empty */ }
  686. } else value.prototype = undefined;
  687. var state = enforceInternalState(value);
  688. if (!hasOwn$2(state, 'source')) {
  689. state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
  690. } return value;
  691. };
  692. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  693. // eslint-disable-next-line no-extend-native -- required
  694. Function.prototype.toString = makeBuiltIn$1(function toString() {
  695. return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
  696. }, 'toString');
  697. var global$6 = global$p;
  698. var isCallable$3 = isCallable$c;
  699. var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
  700. var makeBuiltIn = makeBuiltIn$2.exports;
  701. var setGlobal$1 = setGlobal$3;
  702. var defineBuiltIn$2 = function (O, key, value, options) {
  703. var unsafe = options ? !!options.unsafe : false;
  704. var simple = options ? !!options.enumerable : false;
  705. var noTargetGet = options ? !!options.noTargetGet : false;
  706. var name = options && options.name !== undefined ? options.name : key;
  707. if (isCallable$3(value)) makeBuiltIn(value, name, options);
  708. if (O === global$6) {
  709. if (simple) O[key] = value;
  710. else setGlobal$1(key, value);
  711. return O;
  712. } else if (!unsafe) {
  713. delete O[key];
  714. } else if (!noTargetGet && O[key]) {
  715. simple = true;
  716. }
  717. if (simple) O[key] = value;
  718. else createNonEnumerableProperty$1(O, key, value);
  719. return O;
  720. };
  721. var objectGetOwnPropertyNames = {};
  722. var ceil = Math.ceil;
  723. var floor = Math.floor;
  724. // `ToIntegerOrInfinity` abstract operation
  725. // https://tc39.es/ecma262/#sec-tointegerorinfinity
  726. var toIntegerOrInfinity$2 = function (argument) {
  727. var number = +argument;
  728. // eslint-disable-next-line no-self-compare -- safe
  729. return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
  730. };
  731. var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
  732. var max = Math.max;
  733. var min$1 = Math.min;
  734. // Helper for a popular repeating case of the spec:
  735. // Let integer be ? ToInteger(index).
  736. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  737. var toAbsoluteIndex$1 = function (index, length) {
  738. var integer = toIntegerOrInfinity$1(index);
  739. return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
  740. };
  741. var toIntegerOrInfinity = toIntegerOrInfinity$2;
  742. var min = Math.min;
  743. // `ToLength` abstract operation
  744. // https://tc39.es/ecma262/#sec-tolength
  745. var toLength$1 = function (argument) {
  746. return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  747. };
  748. var toLength = toLength$1;
  749. // `LengthOfArrayLike` abstract operation
  750. // https://tc39.es/ecma262/#sec-lengthofarraylike
  751. var lengthOfArrayLike$2 = function (obj) {
  752. return toLength(obj.length);
  753. };
  754. var toIndexedObject$2 = toIndexedObject$4;
  755. var toAbsoluteIndex = toAbsoluteIndex$1;
  756. var lengthOfArrayLike$1 = lengthOfArrayLike$2;
  757. // `Array.prototype.{ indexOf, includes }` methods implementation
  758. var createMethod$1 = function (IS_INCLUDES) {
  759. return function ($this, el, fromIndex) {
  760. var O = toIndexedObject$2($this);
  761. var length = lengthOfArrayLike$1(O);
  762. var index = toAbsoluteIndex(fromIndex, length);
  763. var value;
  764. // Array#includes uses SameValueZero equality algorithm
  765. // eslint-disable-next-line no-self-compare -- NaN check
  766. if (IS_INCLUDES && el != el) while (length > index) {
  767. value = O[index++];
  768. // eslint-disable-next-line no-self-compare -- NaN check
  769. if (value != value) return true;
  770. // Array#indexOf ignores holes, Array#includes - not
  771. } else for (;length > index; index++) {
  772. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  773. } return !IS_INCLUDES && -1;
  774. };
  775. };
  776. var arrayIncludes = {
  777. // `Array.prototype.includes` method
  778. // https://tc39.es/ecma262/#sec-array.prototype.includes
  779. includes: createMethod$1(true),
  780. // `Array.prototype.indexOf` method
  781. // https://tc39.es/ecma262/#sec-array.prototype.indexof
  782. indexOf: createMethod$1(false)
  783. };
  784. var uncurryThis$5 = functionUncurryThis;
  785. var hasOwn$1 = hasOwnProperty_1;
  786. var toIndexedObject$1 = toIndexedObject$4;
  787. var indexOf = arrayIncludes.indexOf;
  788. var hiddenKeys$2 = hiddenKeys$4;
  789. var push$1 = uncurryThis$5([].push);
  790. var objectKeysInternal = function (object, names) {
  791. var O = toIndexedObject$1(object);
  792. var i = 0;
  793. var result = [];
  794. var key;
  795. for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);
  796. // Don't enum bug & hidden keys
  797. while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
  798. ~indexOf(result, key) || push$1(result, key);
  799. }
  800. return result;
  801. };
  802. // IE8- don't enum bug keys
  803. var enumBugKeys$3 = [
  804. 'constructor',
  805. 'hasOwnProperty',
  806. 'isPrototypeOf',
  807. 'propertyIsEnumerable',
  808. 'toLocaleString',
  809. 'toString',
  810. 'valueOf'
  811. ];
  812. var internalObjectKeys$1 = objectKeysInternal;
  813. var enumBugKeys$2 = enumBugKeys$3;
  814. var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
  815. // `Object.getOwnPropertyNames` method
  816. // https://tc39.es/ecma262/#sec-object.getownpropertynames
  817. // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
  818. objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  819. return internalObjectKeys$1(O, hiddenKeys$1);
  820. };
  821. var objectGetOwnPropertySymbols = {};
  822. // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
  823. objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
  824. var getBuiltIn$2 = getBuiltIn$5;
  825. var uncurryThis$4 = functionUncurryThis;
  826. var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
  827. var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
  828. var anObject$2 = anObject$4;
  829. var concat = uncurryThis$4([].concat);
  830. // all object keys, includes non-enumerable and symbols
  831. var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
  832. var keys = getOwnPropertyNamesModule.f(anObject$2(it));
  833. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  834. return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
  835. };
  836. var hasOwn = hasOwnProperty_1;
  837. var ownKeys = ownKeys$1;
  838. var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
  839. var definePropertyModule$2 = objectDefineProperty;
  840. var copyConstructorProperties$1 = function (target, source, exceptions) {
  841. var keys = ownKeys(source);
  842. var defineProperty = definePropertyModule$2.f;
  843. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  844. for (var i = 0; i < keys.length; i++) {
  845. var key = keys[i];
  846. if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
  847. defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  848. }
  849. }
  850. };
  851. var fails$2 = fails$a;
  852. var isCallable$2 = isCallable$c;
  853. var replacement = /#|\.prototype\./;
  854. var isForced$1 = function (feature, detection) {
  855. var value = data[normalize(feature)];
  856. return value == POLYFILL ? true
  857. : value == NATIVE ? false
  858. : isCallable$2(detection) ? fails$2(detection)
  859. : !!detection;
  860. };
  861. var normalize = isForced$1.normalize = function (string) {
  862. return String(string).replace(replacement, '.').toLowerCase();
  863. };
  864. var data = isForced$1.data = {};
  865. var NATIVE = isForced$1.NATIVE = 'N';
  866. var POLYFILL = isForced$1.POLYFILL = 'P';
  867. var isForced_1 = isForced$1;
  868. var global$5 = global$p;
  869. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  870. var createNonEnumerableProperty = createNonEnumerableProperty$3;
  871. var defineBuiltIn$1 = defineBuiltIn$2;
  872. var setGlobal = setGlobal$3;
  873. var copyConstructorProperties = copyConstructorProperties$1;
  874. var isForced = isForced_1;
  875. /*
  876. options.target - name of the target object
  877. options.global - target is the global object
  878. options.stat - export as static methods of target
  879. options.proto - export as prototype methods of target
  880. options.real - real prototype method for the `pure` version
  881. options.forced - export even if the native feature is available
  882. options.bind - bind methods to the target, required for the `pure` version
  883. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  884. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  885. options.sham - add a flag to not completely full polyfills
  886. options.enumerable - export as enumerable property
  887. options.noTargetGet - prevent calling a getter on target
  888. options.name - the .name of the function if it does not match the key
  889. */
  890. var _export = function (options, source) {
  891. var TARGET = options.target;
  892. var GLOBAL = options.global;
  893. var STATIC = options.stat;
  894. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  895. if (GLOBAL) {
  896. target = global$5;
  897. } else if (STATIC) {
  898. target = global$5[TARGET] || setGlobal(TARGET, {});
  899. } else {
  900. target = (global$5[TARGET] || {}).prototype;
  901. }
  902. if (target) for (key in source) {
  903. sourceProperty = source[key];
  904. if (options.noTargetGet) {
  905. descriptor = getOwnPropertyDescriptor(target, key);
  906. targetProperty = descriptor && descriptor.value;
  907. } else targetProperty = target[key];
  908. FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  909. // contained in target
  910. if (!FORCED && targetProperty !== undefined) {
  911. if (typeof sourceProperty == typeof targetProperty) continue;
  912. copyConstructorProperties(sourceProperty, targetProperty);
  913. }
  914. // add a flag to not completely full polyfills
  915. if (options.sham || (targetProperty && targetProperty.sham)) {
  916. createNonEnumerableProperty(sourceProperty, 'sham', true);
  917. }
  918. defineBuiltIn$1(target, key, sourceProperty, options);
  919. }
  920. };
  921. var uncurryThis$3 = functionUncurryThis;
  922. var aCallable = aCallable$2;
  923. var NATIVE_BIND = functionBindNative;
  924. var bind$1 = uncurryThis$3(uncurryThis$3.bind);
  925. // optional / simple context binding
  926. var functionBindContext = function (fn, that) {
  927. aCallable(fn);
  928. return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
  929. return fn.apply(that, arguments);
  930. };
  931. };
  932. var classof$5 = classofRaw$1;
  933. // `IsArray` abstract operation
  934. // https://tc39.es/ecma262/#sec-isarray
  935. // eslint-disable-next-line es-x/no-array-isarray -- safe
  936. var isArray$1 = Array.isArray || function isArray(argument) {
  937. return classof$5(argument) == 'Array';
  938. };
  939. var wellKnownSymbol$5 = wellKnownSymbol$7;
  940. var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
  941. var test = {};
  942. test[TO_STRING_TAG$1] = 'z';
  943. var toStringTagSupport = String(test) === '[object z]';
  944. var global$4 = global$p;
  945. var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
  946. var isCallable$1 = isCallable$c;
  947. var classofRaw = classofRaw$1;
  948. var wellKnownSymbol$4 = wellKnownSymbol$7;
  949. var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
  950. var Object$1 = global$4.Object;
  951. // ES3 wrong here
  952. var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
  953. // fallback for IE11 Script Access Denied error
  954. var tryGet = function (it, key) {
  955. try {
  956. return it[key];
  957. } catch (error) { /* empty */ }
  958. };
  959. // getting tag from ES6+ `Object.prototype.toString`
  960. var classof$4 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
  961. var O, tag, result;
  962. return it === undefined ? 'Undefined' : it === null ? 'Null'
  963. // @@toStringTag case
  964. : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
  965. // builtinTag case
  966. : CORRECT_ARGUMENTS ? classofRaw(O)
  967. // ES3 arguments fallback
  968. : (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
  969. };
  970. var uncurryThis$2 = functionUncurryThis;
  971. var fails$1 = fails$a;
  972. var isCallable = isCallable$c;
  973. var classof$3 = classof$4;
  974. var getBuiltIn$1 = getBuiltIn$5;
  975. var inspectSource = inspectSource$3;
  976. var noop = function () { /* empty */ };
  977. var empty = [];
  978. var construct = getBuiltIn$1('Reflect', 'construct');
  979. var constructorRegExp = /^\s*(?:class|function)\b/;
  980. var exec = uncurryThis$2(constructorRegExp.exec);
  981. var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
  982. var isConstructorModern = function isConstructor(argument) {
  983. if (!isCallable(argument)) return false;
  984. try {
  985. construct(noop, empty, argument);
  986. return true;
  987. } catch (error) {
  988. return false;
  989. }
  990. };
  991. var isConstructorLegacy = function isConstructor(argument) {
  992. if (!isCallable(argument)) return false;
  993. switch (classof$3(argument)) {
  994. case 'AsyncFunction':
  995. case 'GeneratorFunction':
  996. case 'AsyncGeneratorFunction': return false;
  997. }
  998. try {
  999. // we can't check .prototype since constructors produced by .bind haven't it
  1000. // `Function#toString` throws on some built-it function in some legacy engines
  1001. // (for example, `DOMQuad` and similar in FF41-)
  1002. return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
  1003. } catch (error) {
  1004. return true;
  1005. }
  1006. };
  1007. isConstructorLegacy.sham = true;
  1008. // `IsConstructor` abstract operation
  1009. // https://tc39.es/ecma262/#sec-isconstructor
  1010. var isConstructor$1 = !construct || fails$1(function () {
  1011. var called;
  1012. return isConstructorModern(isConstructorModern.call)
  1013. || !isConstructorModern(Object)
  1014. || !isConstructorModern(function () { called = true; })
  1015. || called;
  1016. }) ? isConstructorLegacy : isConstructorModern;
  1017. var global$3 = global$p;
  1018. var isArray = isArray$1;
  1019. var isConstructor = isConstructor$1;
  1020. var isObject$1 = isObject$7;
  1021. var wellKnownSymbol$3 = wellKnownSymbol$7;
  1022. var SPECIES = wellKnownSymbol$3('species');
  1023. var Array$1 = global$3.Array;
  1024. // a part of `ArraySpeciesCreate` abstract operation
  1025. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  1026. var arraySpeciesConstructor$1 = function (originalArray) {
  1027. var C;
  1028. if (isArray(originalArray)) {
  1029. C = originalArray.constructor;
  1030. // cross-realm fallback
  1031. if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
  1032. else if (isObject$1(C)) {
  1033. C = C[SPECIES];
  1034. if (C === null) C = undefined;
  1035. }
  1036. } return C === undefined ? Array$1 : C;
  1037. };
  1038. var arraySpeciesConstructor = arraySpeciesConstructor$1;
  1039. // `ArraySpeciesCreate` abstract operation
  1040. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  1041. var arraySpeciesCreate$1 = function (originalArray, length) {
  1042. return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
  1043. };
  1044. var bind = functionBindContext;
  1045. var uncurryThis$1 = functionUncurryThis;
  1046. var IndexedObject = indexedObject;
  1047. var toObject = toObject$2;
  1048. var lengthOfArrayLike = lengthOfArrayLike$2;
  1049. var arraySpeciesCreate = arraySpeciesCreate$1;
  1050. var push = uncurryThis$1([].push);
  1051. // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
  1052. var createMethod = function (TYPE) {
  1053. var IS_MAP = TYPE == 1;
  1054. var IS_FILTER = TYPE == 2;
  1055. var IS_SOME = TYPE == 3;
  1056. var IS_EVERY = TYPE == 4;
  1057. var IS_FIND_INDEX = TYPE == 6;
  1058. var IS_FILTER_REJECT = TYPE == 7;
  1059. var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  1060. return function ($this, callbackfn, that, specificCreate) {
  1061. var O = toObject($this);
  1062. var self = IndexedObject(O);
  1063. var boundFunction = bind(callbackfn, that);
  1064. var length = lengthOfArrayLike(self);
  1065. var index = 0;
  1066. var create = specificCreate || arraySpeciesCreate;
  1067. var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
  1068. var value, result;
  1069. for (;length > index; index++) if (NO_HOLES || index in self) {
  1070. value = self[index];
  1071. result = boundFunction(value, index, O);
  1072. if (TYPE) {
  1073. if (IS_MAP) target[index] = result; // map
  1074. else if (result) switch (TYPE) {
  1075. case 3: return true; // some
  1076. case 5: return value; // find
  1077. case 6: return index; // findIndex
  1078. case 2: push(target, value); // filter
  1079. } else switch (TYPE) {
  1080. case 4: return false; // every
  1081. case 7: push(target, value); // filterReject
  1082. }
  1083. }
  1084. }
  1085. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
  1086. };
  1087. };
  1088. var arrayIteration = {
  1089. // `Array.prototype.forEach` method
  1090. // https://tc39.es/ecma262/#sec-array.prototype.foreach
  1091. forEach: createMethod(0),
  1092. // `Array.prototype.map` method
  1093. // https://tc39.es/ecma262/#sec-array.prototype.map
  1094. map: createMethod(1),
  1095. // `Array.prototype.filter` method
  1096. // https://tc39.es/ecma262/#sec-array.prototype.filter
  1097. filter: createMethod(2),
  1098. // `Array.prototype.some` method
  1099. // https://tc39.es/ecma262/#sec-array.prototype.some
  1100. some: createMethod(3),
  1101. // `Array.prototype.every` method
  1102. // https://tc39.es/ecma262/#sec-array.prototype.every
  1103. every: createMethod(4),
  1104. // `Array.prototype.find` method
  1105. // https://tc39.es/ecma262/#sec-array.prototype.find
  1106. find: createMethod(5),
  1107. // `Array.prototype.findIndex` method
  1108. // https://tc39.es/ecma262/#sec-array.prototype.findIndex
  1109. findIndex: createMethod(6),
  1110. // `Array.prototype.filterReject` method
  1111. // https://github.com/tc39/proposal-array-filtering
  1112. filterReject: createMethod(7)
  1113. };
  1114. var objectDefineProperties = {};
  1115. var internalObjectKeys = objectKeysInternal;
  1116. var enumBugKeys$1 = enumBugKeys$3;
  1117. // `Object.keys` method
  1118. // https://tc39.es/ecma262/#sec-object.keys
  1119. // eslint-disable-next-line es-x/no-object-keys -- safe
  1120. var objectKeys$1 = Object.keys || function keys(O) {
  1121. return internalObjectKeys(O, enumBugKeys$1);
  1122. };
  1123. var DESCRIPTORS = descriptors;
  1124. var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
  1125. var definePropertyModule$1 = objectDefineProperty;
  1126. var anObject$1 = anObject$4;
  1127. var toIndexedObject = toIndexedObject$4;
  1128. var objectKeys = objectKeys$1;
  1129. // `Object.defineProperties` method
  1130. // https://tc39.es/ecma262/#sec-object.defineproperties
  1131. // eslint-disable-next-line es-x/no-object-defineproperties -- safe
  1132. objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
  1133. anObject$1(O);
  1134. var props = toIndexedObject(Properties);
  1135. var keys = objectKeys(Properties);
  1136. var length = keys.length;
  1137. var index = 0;
  1138. var key;
  1139. while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
  1140. return O;
  1141. };
  1142. var getBuiltIn = getBuiltIn$5;
  1143. var html$1 = getBuiltIn('document', 'documentElement');
  1144. /* global ActiveXObject -- old IE, WSH */
  1145. var anObject = anObject$4;
  1146. var definePropertiesModule = objectDefineProperties;
  1147. var enumBugKeys = enumBugKeys$3;
  1148. var hiddenKeys = hiddenKeys$4;
  1149. var html = html$1;
  1150. var documentCreateElement = documentCreateElement$1;
  1151. var sharedKey = sharedKey$2;
  1152. var GT = '>';
  1153. var LT = '<';
  1154. var PROTOTYPE = 'prototype';
  1155. var SCRIPT = 'script';
  1156. var IE_PROTO = sharedKey('IE_PROTO');
  1157. var EmptyConstructor = function () { /* empty */ };
  1158. var scriptTag = function (content) {
  1159. return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
  1160. };
  1161. // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
  1162. var NullProtoObjectViaActiveX = function (activeXDocument) {
  1163. activeXDocument.write(scriptTag(''));
  1164. activeXDocument.close();
  1165. var temp = activeXDocument.parentWindow.Object;
  1166. activeXDocument = null; // avoid memory leak
  1167. return temp;
  1168. };
  1169. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  1170. var NullProtoObjectViaIFrame = function () {
  1171. // Thrash, waste and sodomy: IE GC bug
  1172. var iframe = documentCreateElement('iframe');
  1173. var JS = 'java' + SCRIPT + ':';
  1174. var iframeDocument;
  1175. iframe.style.display = 'none';
  1176. html.appendChild(iframe);
  1177. // https://github.com/zloirock/core-js/issues/475
  1178. iframe.src = String(JS);
  1179. iframeDocument = iframe.contentWindow.document;
  1180. iframeDocument.open();
  1181. iframeDocument.write(scriptTag('document.F=Object'));
  1182. iframeDocument.close();
  1183. return iframeDocument.F;
  1184. };
  1185. // Check for document.domain and active x support
  1186. // No need to use active x approach when document.domain is not set
  1187. // see https://github.com/es-shims/es5-shim/issues/150
  1188. // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
  1189. // avoid IE GC bug
  1190. var activeXDocument;
  1191. var NullProtoObject = function () {
  1192. try {
  1193. activeXDocument = new ActiveXObject('htmlfile');
  1194. } catch (error) { /* ignore */ }
  1195. NullProtoObject = typeof document != 'undefined'
  1196. ? document.domain && activeXDocument
  1197. ? NullProtoObjectViaActiveX(activeXDocument) // old IE
  1198. : NullProtoObjectViaIFrame()
  1199. : NullProtoObjectViaActiveX(activeXDocument); // WSH
  1200. var length = enumBugKeys.length;
  1201. while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
  1202. return NullProtoObject();
  1203. };
  1204. hiddenKeys[IE_PROTO] = true;
  1205. // `Object.create` method
  1206. // https://tc39.es/ecma262/#sec-object.create
  1207. // eslint-disable-next-line es-x/no-object-create -- safe
  1208. var objectCreate = Object.create || function create(O, Properties) {
  1209. var result;
  1210. if (O !== null) {
  1211. EmptyConstructor[PROTOTYPE] = anObject(O);
  1212. result = new EmptyConstructor();
  1213. EmptyConstructor[PROTOTYPE] = null;
  1214. // add "__proto__" for Object.getPrototypeOf polyfill
  1215. result[IE_PROTO] = O;
  1216. } else result = NullProtoObject();
  1217. return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
  1218. };
  1219. var wellKnownSymbol$2 = wellKnownSymbol$7;
  1220. var create = objectCreate;
  1221. var definePropertyModule = objectDefineProperty;
  1222. var UNSCOPABLES = wellKnownSymbol$2('unscopables');
  1223. var ArrayPrototype = Array.prototype;
  1224. // Array.prototype[@@unscopables]
  1225. // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
  1226. if (ArrayPrototype[UNSCOPABLES] == undefined) {
  1227. definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
  1228. configurable: true,
  1229. value: create(null)
  1230. });
  1231. }
  1232. // add a key to Array.prototype[@@unscopables]
  1233. var addToUnscopables$2 = function (key) {
  1234. ArrayPrototype[UNSCOPABLES][key] = true;
  1235. };
  1236. var $$2 = _export;
  1237. var $find = arrayIteration.find;
  1238. var addToUnscopables$1 = addToUnscopables$2;
  1239. var FIND = 'find';
  1240. var SKIPS_HOLES = true;
  1241. // Shouldn't skip holes
  1242. if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
  1243. // `Array.prototype.find` method
  1244. // https://tc39.es/ecma262/#sec-array.prototype.find
  1245. $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
  1246. find: function find(callbackfn /* , that = undefined */) {
  1247. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  1248. }
  1249. });
  1250. // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
  1251. addToUnscopables$1(FIND);
  1252. var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
  1253. var classof$2 = classof$4;
  1254. // `Object.prototype.toString` method implementation
  1255. // https://tc39.es/ecma262/#sec-object.prototype.tostring
  1256. var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
  1257. return '[object ' + classof$2(this) + ']';
  1258. };
  1259. var TO_STRING_TAG_SUPPORT = toStringTagSupport;
  1260. var defineBuiltIn = defineBuiltIn$2;
  1261. var toString$2 = objectToString;
  1262. // `Object.prototype.toString` method
  1263. // https://tc39.es/ecma262/#sec-object.prototype.tostring
  1264. if (!TO_STRING_TAG_SUPPORT) {
  1265. defineBuiltIn(Object.prototype, 'toString', toString$2, { unsafe: true });
  1266. }
  1267. var $$1 = _export;
  1268. var $includes = arrayIncludes.includes;
  1269. var fails = fails$a;
  1270. var addToUnscopables = addToUnscopables$2;
  1271. // FF99+ bug
  1272. var BROKEN_ON_SPARSE = fails(function () {
  1273. return !Array(1).includes();
  1274. });
  1275. // `Array.prototype.includes` method
  1276. // https://tc39.es/ecma262/#sec-array.prototype.includes
  1277. $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
  1278. includes: function includes(el /* , fromIndex = 0 */) {
  1279. return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
  1280. }
  1281. });
  1282. // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
  1283. addToUnscopables('includes');
  1284. var isObject = isObject$7;
  1285. var classof$1 = classofRaw$1;
  1286. var wellKnownSymbol$1 = wellKnownSymbol$7;
  1287. var MATCH$1 = wellKnownSymbol$1('match');
  1288. // `IsRegExp` abstract operation
  1289. // https://tc39.es/ecma262/#sec-isregexp
  1290. var isRegexp = function (it) {
  1291. var isRegExp;
  1292. return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp');
  1293. };
  1294. var global$2 = global$p;
  1295. var isRegExp = isRegexp;
  1296. var TypeError$1 = global$2.TypeError;
  1297. var notARegexp = function (it) {
  1298. if (isRegExp(it)) {
  1299. throw TypeError$1("The method doesn't accept regular expressions");
  1300. } return it;
  1301. };
  1302. var global$1 = global$p;
  1303. var classof = classof$4;
  1304. var String$1 = global$1.String;
  1305. var toString$1 = function (argument) {
  1306. if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
  1307. return String$1(argument);
  1308. };
  1309. var wellKnownSymbol = wellKnownSymbol$7;
  1310. var MATCH = wellKnownSymbol('match');
  1311. var correctIsRegexpLogic = function (METHOD_NAME) {
  1312. var regexp = /./;
  1313. try {
  1314. '/./'[METHOD_NAME](regexp);
  1315. } catch (error1) {
  1316. try {
  1317. regexp[MATCH] = false;
  1318. return '/./'[METHOD_NAME](regexp);
  1319. } catch (error2) { /* empty */ }
  1320. } return false;
  1321. };
  1322. var $ = _export;
  1323. var uncurryThis = functionUncurryThis;
  1324. var notARegExp = notARegexp;
  1325. var requireObjectCoercible = requireObjectCoercible$3;
  1326. var toString = toString$1;
  1327. var correctIsRegExpLogic = correctIsRegexpLogic;
  1328. var stringIndexOf = uncurryThis(''.indexOf);
  1329. // `String.prototype.includes` method
  1330. // https://tc39.es/ecma262/#sec-string.prototype.includes
  1331. $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
  1332. includes: function includes(searchString /* , position = 0 */) {
  1333. return !!~stringIndexOf(
  1334. toString(requireObjectCoercible(this)),
  1335. toString(notARegExp(searchString)),
  1336. arguments.length > 1 ? arguments[1] : undefined
  1337. );
  1338. }
  1339. });
  1340. /**
  1341. * @author zhixin wen <wenzhixin2010@gmail.com>
  1342. * https://github.com/wenzhixin/bootstrap-table/
  1343. * theme: https://materializecss.com/
  1344. */
  1345. $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
  1346. classes: 'table highlight',
  1347. buttonsPrefix: '',
  1348. buttonsClass: 'waves-effect waves-light btn'
  1349. });
  1350. $__default["default"].fn.bootstrapTable.theme = 'materialize';
  1351. $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
  1352. _inherits(_class, _$$BootstrapTable);
  1353. var _super = _createSuper(_class);
  1354. function _class() {
  1355. _classCallCheck(this, _class);
  1356. return _super.apply(this, arguments);
  1357. }
  1358. _createClass(_class, [{
  1359. key: "initConstants",
  1360. value: function initConstants() {
  1361. _get(_getPrototypeOf(_class.prototype), "initConstants", this).call(this);
  1362. this.constants.classes.buttonsGroup = 'button-group';
  1363. this.constants.classes.buttonsDropdown = '';
  1364. this.constants.classes.input = 'input-field';
  1365. this.constants.classes.input = '';
  1366. this.constants.classes.paginationDropdown = '';
  1367. this.constants.classes.buttonActive = 'green';
  1368. this.constants.html.toolbarDropdown = ['<ul class="dropdown-content">', '</ul>'];
  1369. this.constants.html.toolbarDropdownItem = '<li class="dropdown-item-marker"><label>%s</label></li>';
  1370. this.constants.html.toolbarDropdownSeparator = '<li class="divider" tabindex="-1"></li>';
  1371. this.constants.html.pageDropdown = ['<ul id="pagination-list-id" class="dropdown-content">', '</ul>'];
  1372. this.constants.html.pageDropdownItem = '<li><a class="%s" href="#">%s</a></li>';
  1373. this.constants.html.dropdownCaret = '<i class="material-icons">arrow_drop_down</i>';
  1374. this.constants.html.pagination = ['<ul class="pagination%s">', '</ul>'];
  1375. this.constants.html.paginationItem = '<li class="waves-effect page-item%s" aria-label="%s"><a href="#">%s</a></li>';
  1376. this.constants.html.icon = '<i class="%s">%s</i>';
  1377. this.constants.html.inputGroup = '%s%s';
  1378. }
  1379. }, {
  1380. key: "initToolbar",
  1381. value: function initToolbar() {
  1382. _get(_getPrototypeOf(_class.prototype), "initToolbar", this).call(this);
  1383. this.handleToolbar();
  1384. }
  1385. }, {
  1386. key: "handleToolbar",
  1387. value: function handleToolbar() {
  1388. if (this.$toolbar.find('.dropdown-toggle').length) {
  1389. this.$toolbar.find('.dropdown-toggle').each(function (i, el) {
  1390. if (!$__default["default"](el).next().length) {
  1391. return;
  1392. }
  1393. var id = "toolbar-columns-id".concat(i);
  1394. $__default["default"](el).next().attr('id', id);
  1395. $__default["default"](el).attr('data-target', id).dropdown({
  1396. alignment: 'right',
  1397. constrainWidth: false,
  1398. closeOnClick: false
  1399. });
  1400. });
  1401. }
  1402. }
  1403. }, {
  1404. key: "initPagination",
  1405. value: function initPagination() {
  1406. _get(_getPrototypeOf(_class.prototype), "initPagination", this).call(this);
  1407. if (this.options.pagination && this.paginationParts.includes('pageSize')) {
  1408. this.$pagination.find('.dropdown-toggle').attr('data-target', this.$pagination.find('.dropdown-content').attr('id')).dropdown();
  1409. }
  1410. }
  1411. }]);
  1412. return _class;
  1413. }($__default["default"].BootstrapTable);
  1414. }));