bootstrap-table-materialize.js 59 KB

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