bootstrap-table-semantic.js 58 KB

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