bootstrap-table-addrbar.js 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763
  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 ($) { 'use strict';
  6. function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
  7. var $__default = /*#__PURE__*/_interopDefaultLegacy($);
  8. var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  9. function createCommonjsModule(fn, module) {
  10. return module = { exports: {} }, fn(module, module.exports), module.exports;
  11. }
  12. var check = function (it) {
  13. return it && it.Math == Math && it;
  14. };
  15. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  16. var global_1 =
  17. // eslint-disable-next-line no-undef
  18. check(typeof globalThis == 'object' && globalThis) ||
  19. check(typeof window == 'object' && window) ||
  20. check(typeof self == 'object' && self) ||
  21. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  22. // eslint-disable-next-line no-new-func
  23. (function () { return this; })() || Function('return this')();
  24. var fails = function (exec) {
  25. try {
  26. return !!exec();
  27. } catch (error) {
  28. return true;
  29. }
  30. };
  31. // Thank's IE8 for his funny defineProperty
  32. var descriptors = !fails(function () {
  33. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
  34. });
  35. var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
  36. var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  37. // Nashorn ~ JDK8 bug
  38. var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
  39. // `Object.prototype.propertyIsEnumerable` method implementation
  40. // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
  41. var f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  42. var descriptor = getOwnPropertyDescriptor(this, V);
  43. return !!descriptor && descriptor.enumerable;
  44. } : nativePropertyIsEnumerable;
  45. var objectPropertyIsEnumerable = {
  46. f: f
  47. };
  48. var createPropertyDescriptor = function (bitmap, value) {
  49. return {
  50. enumerable: !(bitmap & 1),
  51. configurable: !(bitmap & 2),
  52. writable: !(bitmap & 4),
  53. value: value
  54. };
  55. };
  56. var toString = {}.toString;
  57. var classofRaw = function (it) {
  58. return toString.call(it).slice(8, -1);
  59. };
  60. var split = ''.split;
  61. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  62. var indexedObject = fails(function () {
  63. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  64. // eslint-disable-next-line no-prototype-builtins
  65. return !Object('z').propertyIsEnumerable(0);
  66. }) ? function (it) {
  67. return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
  68. } : Object;
  69. // `RequireObjectCoercible` abstract operation
  70. // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
  71. var requireObjectCoercible = function (it) {
  72. if (it == undefined) throw TypeError("Can't call method on " + it);
  73. return it;
  74. };
  75. // toObject with fallback for non-array-like ES3 strings
  76. var toIndexedObject = function (it) {
  77. return indexedObject(requireObjectCoercible(it));
  78. };
  79. var isObject = function (it) {
  80. return typeof it === 'object' ? it !== null : typeof it === 'function';
  81. };
  82. // `ToPrimitive` abstract operation
  83. // https://tc39.github.io/ecma262/#sec-toprimitive
  84. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  85. // and the second argument - flag - preferred type is a string
  86. var toPrimitive = function (input, PREFERRED_STRING) {
  87. if (!isObject(input)) return input;
  88. var fn, val;
  89. if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  90. if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
  91. if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  92. throw TypeError("Can't convert object to primitive value");
  93. };
  94. var hasOwnProperty = {}.hasOwnProperty;
  95. var has = function (it, key) {
  96. return hasOwnProperty.call(it, key);
  97. };
  98. var document = global_1.document;
  99. // typeof document.createElement is 'object' in old IE
  100. var EXISTS = isObject(document) && isObject(document.createElement);
  101. var documentCreateElement = function (it) {
  102. return EXISTS ? document.createElement(it) : {};
  103. };
  104. // Thank's IE8 for his funny defineProperty
  105. var ie8DomDefine = !descriptors && !fails(function () {
  106. return Object.defineProperty(documentCreateElement('div'), 'a', {
  107. get: function () { return 7; }
  108. }).a != 7;
  109. });
  110. var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  111. // `Object.getOwnPropertyDescriptor` method
  112. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
  113. var f$1 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  114. O = toIndexedObject(O);
  115. P = toPrimitive(P, true);
  116. if (ie8DomDefine) try {
  117. return nativeGetOwnPropertyDescriptor(O, P);
  118. } catch (error) { /* empty */ }
  119. if (has(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
  120. };
  121. var objectGetOwnPropertyDescriptor = {
  122. f: f$1
  123. };
  124. var anObject = function (it) {
  125. if (!isObject(it)) {
  126. throw TypeError(String(it) + ' is not an object');
  127. } return it;
  128. };
  129. var nativeDefineProperty = Object.defineProperty;
  130. // `Object.defineProperty` method
  131. // https://tc39.github.io/ecma262/#sec-object.defineproperty
  132. var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
  133. anObject(O);
  134. P = toPrimitive(P, true);
  135. anObject(Attributes);
  136. if (ie8DomDefine) try {
  137. return nativeDefineProperty(O, P, Attributes);
  138. } catch (error) { /* empty */ }
  139. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
  140. if ('value' in Attributes) O[P] = Attributes.value;
  141. return O;
  142. };
  143. var objectDefineProperty = {
  144. f: f$2
  145. };
  146. var createNonEnumerableProperty = descriptors ? function (object, key, value) {
  147. return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
  148. } : function (object, key, value) {
  149. object[key] = value;
  150. return object;
  151. };
  152. var setGlobal = function (key, value) {
  153. try {
  154. createNonEnumerableProperty(global_1, key, value);
  155. } catch (error) {
  156. global_1[key] = value;
  157. } return value;
  158. };
  159. var SHARED = '__core-js_shared__';
  160. var store = global_1[SHARED] || setGlobal(SHARED, {});
  161. var sharedStore = store;
  162. var functionToString = Function.toString;
  163. // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
  164. if (typeof sharedStore.inspectSource != 'function') {
  165. sharedStore.inspectSource = function (it) {
  166. return functionToString.call(it);
  167. };
  168. }
  169. var inspectSource = sharedStore.inspectSource;
  170. var WeakMap = global_1.WeakMap;
  171. var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
  172. var shared = createCommonjsModule(function (module) {
  173. (module.exports = function (key, value) {
  174. return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
  175. })('versions', []).push({
  176. version: '3.8.1',
  177. mode: 'global',
  178. copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
  179. });
  180. });
  181. var id = 0;
  182. var postfix = Math.random();
  183. var uid = function (key) {
  184. return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
  185. };
  186. var keys = shared('keys');
  187. var sharedKey = function (key) {
  188. return keys[key] || (keys[key] = uid(key));
  189. };
  190. var hiddenKeys = {};
  191. var WeakMap$1 = global_1.WeakMap;
  192. var set, get, has$1;
  193. var enforce = function (it) {
  194. return has$1(it) ? get(it) : set(it, {});
  195. };
  196. var getterFor = function (TYPE) {
  197. return function (it) {
  198. var state;
  199. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  200. throw TypeError('Incompatible receiver, ' + TYPE + ' required');
  201. } return state;
  202. };
  203. };
  204. if (nativeWeakMap) {
  205. var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$1());
  206. var wmget = store$1.get;
  207. var wmhas = store$1.has;
  208. var wmset = store$1.set;
  209. set = function (it, metadata) {
  210. metadata.facade = it;
  211. wmset.call(store$1, it, metadata);
  212. return metadata;
  213. };
  214. get = function (it) {
  215. return wmget.call(store$1, it) || {};
  216. };
  217. has$1 = function (it) {
  218. return wmhas.call(store$1, it);
  219. };
  220. } else {
  221. var STATE = sharedKey('state');
  222. hiddenKeys[STATE] = true;
  223. set = function (it, metadata) {
  224. metadata.facade = it;
  225. createNonEnumerableProperty(it, STATE, metadata);
  226. return metadata;
  227. };
  228. get = function (it) {
  229. return has(it, STATE) ? it[STATE] : {};
  230. };
  231. has$1 = function (it) {
  232. return has(it, STATE);
  233. };
  234. }
  235. var internalState = {
  236. set: set,
  237. get: get,
  238. has: has$1,
  239. enforce: enforce,
  240. getterFor: getterFor
  241. };
  242. var redefine = createCommonjsModule(function (module) {
  243. var getInternalState = internalState.get;
  244. var enforceInternalState = internalState.enforce;
  245. var TEMPLATE = String(String).split('String');
  246. (module.exports = function (O, key, value, options) {
  247. var unsafe = options ? !!options.unsafe : false;
  248. var simple = options ? !!options.enumerable : false;
  249. var noTargetGet = options ? !!options.noTargetGet : false;
  250. var state;
  251. if (typeof value == 'function') {
  252. if (typeof key == 'string' && !has(value, 'name')) {
  253. createNonEnumerableProperty(value, 'name', key);
  254. }
  255. state = enforceInternalState(value);
  256. if (!state.source) {
  257. state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
  258. }
  259. }
  260. if (O === global_1) {
  261. if (simple) O[key] = value;
  262. else setGlobal(key, value);
  263. return;
  264. } else if (!unsafe) {
  265. delete O[key];
  266. } else if (!noTargetGet && O[key]) {
  267. simple = true;
  268. }
  269. if (simple) O[key] = value;
  270. else createNonEnumerableProperty(O, key, value);
  271. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  272. })(Function.prototype, 'toString', function toString() {
  273. return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
  274. });
  275. });
  276. var path = global_1;
  277. var aFunction = function (variable) {
  278. return typeof variable == 'function' ? variable : undefined;
  279. };
  280. var getBuiltIn = function (namespace, method) {
  281. return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
  282. : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
  283. };
  284. var ceil = Math.ceil;
  285. var floor = Math.floor;
  286. // `ToInteger` abstract operation
  287. // https://tc39.github.io/ecma262/#sec-tointeger
  288. var toInteger = function (argument) {
  289. return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
  290. };
  291. var min = Math.min;
  292. // `ToLength` abstract operation
  293. // https://tc39.github.io/ecma262/#sec-tolength
  294. var toLength = function (argument) {
  295. return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  296. };
  297. var max = Math.max;
  298. var min$1 = Math.min;
  299. // Helper for a popular repeating case of the spec:
  300. // Let integer be ? ToInteger(index).
  301. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  302. var toAbsoluteIndex = function (index, length) {
  303. var integer = toInteger(index);
  304. return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
  305. };
  306. // `Array.prototype.{ indexOf, includes }` methods implementation
  307. var createMethod = function (IS_INCLUDES) {
  308. return function ($this, el, fromIndex) {
  309. var O = toIndexedObject($this);
  310. var length = toLength(O.length);
  311. var index = toAbsoluteIndex(fromIndex, length);
  312. var value;
  313. // Array#includes uses SameValueZero equality algorithm
  314. // eslint-disable-next-line no-self-compare
  315. if (IS_INCLUDES && el != el) while (length > index) {
  316. value = O[index++];
  317. // eslint-disable-next-line no-self-compare
  318. if (value != value) return true;
  319. // Array#indexOf ignores holes, Array#includes - not
  320. } else for (;length > index; index++) {
  321. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  322. } return !IS_INCLUDES && -1;
  323. };
  324. };
  325. var arrayIncludes = {
  326. // `Array.prototype.includes` method
  327. // https://tc39.github.io/ecma262/#sec-array.prototype.includes
  328. includes: createMethod(true),
  329. // `Array.prototype.indexOf` method
  330. // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
  331. indexOf: createMethod(false)
  332. };
  333. var indexOf = arrayIncludes.indexOf;
  334. var objectKeysInternal = function (object, names) {
  335. var O = toIndexedObject(object);
  336. var i = 0;
  337. var result = [];
  338. var key;
  339. for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
  340. // Don't enum bug & hidden keys
  341. while (names.length > i) if (has(O, key = names[i++])) {
  342. ~indexOf(result, key) || result.push(key);
  343. }
  344. return result;
  345. };
  346. // IE8- don't enum bug keys
  347. var enumBugKeys = [
  348. 'constructor',
  349. 'hasOwnProperty',
  350. 'isPrototypeOf',
  351. 'propertyIsEnumerable',
  352. 'toLocaleString',
  353. 'toString',
  354. 'valueOf'
  355. ];
  356. var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
  357. // `Object.getOwnPropertyNames` method
  358. // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
  359. var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  360. return objectKeysInternal(O, hiddenKeys$1);
  361. };
  362. var objectGetOwnPropertyNames = {
  363. f: f$3
  364. };
  365. var f$4 = Object.getOwnPropertySymbols;
  366. var objectGetOwnPropertySymbols = {
  367. f: f$4
  368. };
  369. // all object keys, includes non-enumerable and symbols
  370. var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  371. var keys = objectGetOwnPropertyNames.f(anObject(it));
  372. var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
  373. return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
  374. };
  375. var copyConstructorProperties = function (target, source) {
  376. var keys = ownKeys(source);
  377. var defineProperty = objectDefineProperty.f;
  378. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  379. for (var i = 0; i < keys.length; i++) {
  380. var key = keys[i];
  381. if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  382. }
  383. };
  384. var replacement = /#|\.prototype\./;
  385. var isForced = function (feature, detection) {
  386. var value = data[normalize(feature)];
  387. return value == POLYFILL ? true
  388. : value == NATIVE ? false
  389. : typeof detection == 'function' ? fails(detection)
  390. : !!detection;
  391. };
  392. var normalize = isForced.normalize = function (string) {
  393. return String(string).replace(replacement, '.').toLowerCase();
  394. };
  395. var data = isForced.data = {};
  396. var NATIVE = isForced.NATIVE = 'N';
  397. var POLYFILL = isForced.POLYFILL = 'P';
  398. var isForced_1 = isForced;
  399. var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
  400. /*
  401. options.target - name of the target object
  402. options.global - target is the global object
  403. options.stat - export as static methods of target
  404. options.proto - export as prototype methods of target
  405. options.real - real prototype method for the `pure` version
  406. options.forced - export even if the native feature is available
  407. options.bind - bind methods to the target, required for the `pure` version
  408. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  409. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  410. options.sham - add a flag to not completely full polyfills
  411. options.enumerable - export as enumerable property
  412. options.noTargetGet - prevent calling a getter on target
  413. */
  414. var _export = function (options, source) {
  415. var TARGET = options.target;
  416. var GLOBAL = options.global;
  417. var STATIC = options.stat;
  418. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  419. if (GLOBAL) {
  420. target = global_1;
  421. } else if (STATIC) {
  422. target = global_1[TARGET] || setGlobal(TARGET, {});
  423. } else {
  424. target = (global_1[TARGET] || {}).prototype;
  425. }
  426. if (target) for (key in source) {
  427. sourceProperty = source[key];
  428. if (options.noTargetGet) {
  429. descriptor = getOwnPropertyDescriptor$1(target, key);
  430. targetProperty = descriptor && descriptor.value;
  431. } else targetProperty = target[key];
  432. FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  433. // contained in target
  434. if (!FORCED && targetProperty !== undefined) {
  435. if (typeof sourceProperty === typeof targetProperty) continue;
  436. copyConstructorProperties(sourceProperty, targetProperty);
  437. }
  438. // add a flag to not completely full polyfills
  439. if (options.sham || (targetProperty && targetProperty.sham)) {
  440. createNonEnumerableProperty(sourceProperty, 'sham', true);
  441. }
  442. // extend global
  443. redefine(target, key, sourceProperty, options);
  444. }
  445. };
  446. // `IsArray` abstract operation
  447. // https://tc39.github.io/ecma262/#sec-isarray
  448. var isArray = Array.isArray || function isArray(arg) {
  449. return classofRaw(arg) == 'Array';
  450. };
  451. // `ToObject` abstract operation
  452. // https://tc39.github.io/ecma262/#sec-toobject
  453. var toObject = function (argument) {
  454. return Object(requireObjectCoercible(argument));
  455. };
  456. var createProperty = function (object, key, value) {
  457. var propertyKey = toPrimitive(key);
  458. if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
  459. else object[propertyKey] = value;
  460. };
  461. var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
  462. // Chrome 38 Symbol has incorrect toString conversion
  463. // eslint-disable-next-line no-undef
  464. return !String(Symbol());
  465. });
  466. var useSymbolAsUid = nativeSymbol
  467. // eslint-disable-next-line no-undef
  468. && !Symbol.sham
  469. // eslint-disable-next-line no-undef
  470. && typeof Symbol.iterator == 'symbol';
  471. var WellKnownSymbolsStore = shared('wks');
  472. var Symbol$1 = global_1.Symbol;
  473. var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
  474. var wellKnownSymbol = function (name) {
  475. if (!has(WellKnownSymbolsStore, name)) {
  476. if (nativeSymbol && has(Symbol$1, name)) WellKnownSymbolsStore[name] = Symbol$1[name];
  477. else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
  478. } return WellKnownSymbolsStore[name];
  479. };
  480. var SPECIES = wellKnownSymbol('species');
  481. // `ArraySpeciesCreate` abstract operation
  482. // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
  483. var arraySpeciesCreate = function (originalArray, length) {
  484. var C;
  485. if (isArray(originalArray)) {
  486. C = originalArray.constructor;
  487. // cross-realm fallback
  488. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  489. else if (isObject(C)) {
  490. C = C[SPECIES];
  491. if (C === null) C = undefined;
  492. }
  493. } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
  494. };
  495. var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
  496. var process = global_1.process;
  497. var versions = process && process.versions;
  498. var v8 = versions && versions.v8;
  499. var match, version;
  500. if (v8) {
  501. match = v8.split('.');
  502. version = match[0] + match[1];
  503. } else if (engineUserAgent) {
  504. match = engineUserAgent.match(/Edge\/(\d+)/);
  505. if (!match || match[1] >= 74) {
  506. match = engineUserAgent.match(/Chrome\/(\d+)/);
  507. if (match) version = match[1];
  508. }
  509. }
  510. var engineV8Version = version && +version;
  511. var SPECIES$1 = wellKnownSymbol('species');
  512. var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
  513. // We can't use this feature detection in V8 since it causes
  514. // deoptimization and serious performance degradation
  515. // https://github.com/zloirock/core-js/issues/677
  516. return engineV8Version >= 51 || !fails(function () {
  517. var array = [];
  518. var constructor = array.constructor = {};
  519. constructor[SPECIES$1] = function () {
  520. return { foo: 1 };
  521. };
  522. return array[METHOD_NAME](Boolean).foo !== 1;
  523. });
  524. };
  525. var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
  526. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  527. var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
  528. // We can't use this feature detection in V8 since it causes
  529. // deoptimization and serious performance degradation
  530. // https://github.com/zloirock/core-js/issues/679
  531. var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
  532. var array = [];
  533. array[IS_CONCAT_SPREADABLE] = false;
  534. return array.concat()[0] !== array;
  535. });
  536. var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
  537. var isConcatSpreadable = function (O) {
  538. if (!isObject(O)) return false;
  539. var spreadable = O[IS_CONCAT_SPREADABLE];
  540. return spreadable !== undefined ? !!spreadable : isArray(O);
  541. };
  542. var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
  543. // `Array.prototype.concat` method
  544. // https://tc39.github.io/ecma262/#sec-array.prototype.concat
  545. // with adding support of @@isConcatSpreadable and @@species
  546. _export({ target: 'Array', proto: true, forced: FORCED }, {
  547. concat: function concat(arg) { // eslint-disable-line no-unused-vars
  548. var O = toObject(this);
  549. var A = arraySpeciesCreate(O, 0);
  550. var n = 0;
  551. var i, k, length, len, E;
  552. for (i = -1, length = arguments.length; i < length; i++) {
  553. E = i === -1 ? O : arguments[i];
  554. if (isConcatSpreadable(E)) {
  555. len = toLength(E.length);
  556. if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  557. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  558. } else {
  559. if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  560. createProperty(A, n++, E);
  561. }
  562. }
  563. A.length = n;
  564. return A;
  565. }
  566. });
  567. // `Object.keys` method
  568. // https://tc39.github.io/ecma262/#sec-object.keys
  569. var objectKeys = Object.keys || function keys(O) {
  570. return objectKeysInternal(O, enumBugKeys);
  571. };
  572. var propertyIsEnumerable = objectPropertyIsEnumerable.f;
  573. // `Object.{ entries, values }` methods implementation
  574. var createMethod$1 = function (TO_ENTRIES) {
  575. return function (it) {
  576. var O = toIndexedObject(it);
  577. var keys = objectKeys(O);
  578. var length = keys.length;
  579. var i = 0;
  580. var result = [];
  581. var key;
  582. while (length > i) {
  583. key = keys[i++];
  584. if (!descriptors || propertyIsEnumerable.call(O, key)) {
  585. result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
  586. }
  587. }
  588. return result;
  589. };
  590. };
  591. var objectToArray = {
  592. // `Object.entries` method
  593. // https://tc39.github.io/ecma262/#sec-object.entries
  594. entries: createMethod$1(true),
  595. // `Object.values` method
  596. // https://tc39.github.io/ecma262/#sec-object.values
  597. values: createMethod$1(false)
  598. };
  599. var $entries = objectToArray.entries;
  600. // `Object.entries` method
  601. // https://tc39.github.io/ecma262/#sec-object.entries
  602. _export({ target: 'Object', stat: true }, {
  603. entries: function entries(O) {
  604. return $entries(O);
  605. }
  606. });
  607. var aPossiblePrototype = function (it) {
  608. if (!isObject(it) && it !== null) {
  609. throw TypeError("Can't set " + String(it) + ' as a prototype');
  610. } return it;
  611. };
  612. // `Object.setPrototypeOf` method
  613. // https://tc39.github.io/ecma262/#sec-object.setprototypeof
  614. // Works with __proto__ only. Old v8 can't work with null proto objects.
  615. /* eslint-disable no-proto */
  616. var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
  617. var CORRECT_SETTER = false;
  618. var test = {};
  619. var setter;
  620. try {
  621. setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
  622. setter.call(test, []);
  623. CORRECT_SETTER = test instanceof Array;
  624. } catch (error) { /* empty */ }
  625. return function setPrototypeOf(O, proto) {
  626. anObject(O);
  627. aPossiblePrototype(proto);
  628. if (CORRECT_SETTER) setter.call(O, proto);
  629. else O.__proto__ = proto;
  630. return O;
  631. };
  632. }() : undefined);
  633. // makes subclassing work correct for wrapped built-ins
  634. var inheritIfRequired = function ($this, dummy, Wrapper) {
  635. var NewTarget, NewTargetPrototype;
  636. if (
  637. // it can work only with native `setPrototypeOf`
  638. objectSetPrototypeOf &&
  639. // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
  640. typeof (NewTarget = dummy.constructor) == 'function' &&
  641. NewTarget !== Wrapper &&
  642. isObject(NewTargetPrototype = NewTarget.prototype) &&
  643. NewTargetPrototype !== Wrapper.prototype
  644. ) objectSetPrototypeOf($this, NewTargetPrototype);
  645. return $this;
  646. };
  647. var MATCH = wellKnownSymbol('match');
  648. // `IsRegExp` abstract operation
  649. // https://tc39.github.io/ecma262/#sec-isregexp
  650. var isRegexp = function (it) {
  651. var isRegExp;
  652. return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp');
  653. };
  654. // `RegExp.prototype.flags` getter implementation
  655. // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
  656. var regexpFlags = function () {
  657. var that = anObject(this);
  658. var result = '';
  659. if (that.global) result += 'g';
  660. if (that.ignoreCase) result += 'i';
  661. if (that.multiline) result += 'm';
  662. if (that.dotAll) result += 's';
  663. if (that.unicode) result += 'u';
  664. if (that.sticky) result += 'y';
  665. return result;
  666. };
  667. // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
  668. // so we use an intermediate function.
  669. function RE(s, f) {
  670. return RegExp(s, f);
  671. }
  672. var UNSUPPORTED_Y = fails(function () {
  673. // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
  674. var re = RE('a', 'y');
  675. re.lastIndex = 2;
  676. return re.exec('abcd') != null;
  677. });
  678. var BROKEN_CARET = fails(function () {
  679. // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
  680. var re = RE('^r', 'gy');
  681. re.lastIndex = 2;
  682. return re.exec('str') != null;
  683. });
  684. var regexpStickyHelpers = {
  685. UNSUPPORTED_Y: UNSUPPORTED_Y,
  686. BROKEN_CARET: BROKEN_CARET
  687. };
  688. var SPECIES$2 = wellKnownSymbol('species');
  689. var setSpecies = function (CONSTRUCTOR_NAME) {
  690. var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
  691. var defineProperty = objectDefineProperty.f;
  692. if (descriptors && Constructor && !Constructor[SPECIES$2]) {
  693. defineProperty(Constructor, SPECIES$2, {
  694. configurable: true,
  695. get: function () { return this; }
  696. });
  697. }
  698. };
  699. var defineProperty = objectDefineProperty.f;
  700. var getOwnPropertyNames = objectGetOwnPropertyNames.f;
  701. var setInternalState = internalState.set;
  702. var MATCH$1 = wellKnownSymbol('match');
  703. var NativeRegExp = global_1.RegExp;
  704. var RegExpPrototype = NativeRegExp.prototype;
  705. var re1 = /a/g;
  706. var re2 = /a/g;
  707. // "new" should create a new object, old webkit bug
  708. var CORRECT_NEW = new NativeRegExp(re1) !== re1;
  709. var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y;
  710. var FORCED$1 = descriptors && isForced_1('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y$1 || fails(function () {
  711. re2[MATCH$1] = false;
  712. // RegExp constructor can alter flags and IsRegExp works correct with @@match
  713. return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
  714. })));
  715. // `RegExp` constructor
  716. // https://tc39.github.io/ecma262/#sec-regexp-constructor
  717. if (FORCED$1) {
  718. var RegExpWrapper = function RegExp(pattern, flags) {
  719. var thisIsRegExp = this instanceof RegExpWrapper;
  720. var patternIsRegExp = isRegexp(pattern);
  721. var flagsAreUndefined = flags === undefined;
  722. var sticky;
  723. if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {
  724. return pattern;
  725. }
  726. if (CORRECT_NEW) {
  727. if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;
  728. } else if (pattern instanceof RegExpWrapper) {
  729. if (flagsAreUndefined) flags = regexpFlags.call(pattern);
  730. pattern = pattern.source;
  731. }
  732. if (UNSUPPORTED_Y$1) {
  733. sticky = !!flags && flags.indexOf('y') > -1;
  734. if (sticky) flags = flags.replace(/y/g, '');
  735. }
  736. var result = inheritIfRequired(
  737. CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),
  738. thisIsRegExp ? this : RegExpPrototype,
  739. RegExpWrapper
  740. );
  741. if (UNSUPPORTED_Y$1 && sticky) setInternalState(result, { sticky: sticky });
  742. return result;
  743. };
  744. var proxy = function (key) {
  745. key in RegExpWrapper || defineProperty(RegExpWrapper, key, {
  746. configurable: true,
  747. get: function () { return NativeRegExp[key]; },
  748. set: function (it) { NativeRegExp[key] = it; }
  749. });
  750. };
  751. var keys$1 = getOwnPropertyNames(NativeRegExp);
  752. var index = 0;
  753. while (keys$1.length > index) proxy(keys$1[index++]);
  754. RegExpPrototype.constructor = RegExpWrapper;
  755. RegExpWrapper.prototype = RegExpPrototype;
  756. redefine(global_1, 'RegExp', RegExpWrapper);
  757. }
  758. // https://tc39.github.io/ecma262/#sec-get-regexp-@@species
  759. setSpecies('RegExp');
  760. var nativeExec = RegExp.prototype.exec;
  761. // This always refers to the native implementation, because the
  762. // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
  763. // which loads this file before patching the method.
  764. var nativeReplace = String.prototype.replace;
  765. var patchedExec = nativeExec;
  766. var UPDATES_LAST_INDEX_WRONG = (function () {
  767. var re1 = /a/;
  768. var re2 = /b*/g;
  769. nativeExec.call(re1, 'a');
  770. nativeExec.call(re2, 'a');
  771. return re1.lastIndex !== 0 || re2.lastIndex !== 0;
  772. })();
  773. var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
  774. // nonparticipating capturing group, copied from es5-shim's String#split patch.
  775. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
  776. var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2;
  777. if (PATCH) {
  778. patchedExec = function exec(str) {
  779. var re = this;
  780. var lastIndex, reCopy, match, i;
  781. var sticky = UNSUPPORTED_Y$2 && re.sticky;
  782. var flags = regexpFlags.call(re);
  783. var source = re.source;
  784. var charsAdded = 0;
  785. var strCopy = str;
  786. if (sticky) {
  787. flags = flags.replace('y', '');
  788. if (flags.indexOf('g') === -1) {
  789. flags += 'g';
  790. }
  791. strCopy = String(str).slice(re.lastIndex);
  792. // Support anchored sticky behavior.
  793. if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
  794. source = '(?: ' + source + ')';
  795. strCopy = ' ' + strCopy;
  796. charsAdded++;
  797. }
  798. // ^(? + rx + ) is needed, in combination with some str slicing, to
  799. // simulate the 'y' flag.
  800. reCopy = new RegExp('^(?:' + source + ')', flags);
  801. }
  802. if (NPCG_INCLUDED) {
  803. reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
  804. }
  805. if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
  806. match = nativeExec.call(sticky ? reCopy : re, strCopy);
  807. if (sticky) {
  808. if (match) {
  809. match.input = match.input.slice(charsAdded);
  810. match[0] = match[0].slice(charsAdded);
  811. match.index = re.lastIndex;
  812. re.lastIndex += match[0].length;
  813. } else re.lastIndex = 0;
  814. } else if (UPDATES_LAST_INDEX_WRONG && match) {
  815. re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
  816. }
  817. if (NPCG_INCLUDED && match && match.length > 1) {
  818. // Fix browsers whose `exec` methods don't consistently return `undefined`
  819. // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
  820. nativeReplace.call(match[0], reCopy, function () {
  821. for (i = 1; i < arguments.length - 2; i++) {
  822. if (arguments[i] === undefined) match[i] = undefined;
  823. }
  824. });
  825. }
  826. return match;
  827. };
  828. }
  829. var regexpExec = patchedExec;
  830. _export({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, {
  831. exec: regexpExec
  832. });
  833. var TO_STRING = 'toString';
  834. var RegExpPrototype$1 = RegExp.prototype;
  835. var nativeToString = RegExpPrototype$1[TO_STRING];
  836. var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
  837. // FF44- RegExp#toString has a wrong name
  838. var INCORRECT_NAME = nativeToString.name != TO_STRING;
  839. // `RegExp.prototype.toString` method
  840. // https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring
  841. if (NOT_GENERIC || INCORRECT_NAME) {
  842. redefine(RegExp.prototype, TO_STRING, function toString() {
  843. var R = anObject(this);
  844. var p = String(R.source);
  845. var rf = R.flags;
  846. var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1) ? regexpFlags.call(R) : rf);
  847. return '/' + p + '/' + f;
  848. }, { unsafe: true });
  849. }
  850. // TODO: Remove from `core-js@4` since it's moved to entry points
  851. var SPECIES$3 = wellKnownSymbol('species');
  852. var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
  853. // #replace needs built-in support for named groups.
  854. // #match works fine because it just return the exec results, even if it has
  855. // a "grops" property.
  856. var re = /./;
  857. re.exec = function () {
  858. var result = [];
  859. result.groups = { a: '7' };
  860. return result;
  861. };
  862. return ''.replace(re, '$<a>') !== '7';
  863. });
  864. // IE <= 11 replaces $0 with the whole match, as if it was $&
  865. // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
  866. var REPLACE_KEEPS_$0 = (function () {
  867. return 'a'.replace(/./, '$0') === '$0';
  868. })();
  869. var REPLACE = wellKnownSymbol('replace');
  870. // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
  871. var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
  872. if (/./[REPLACE]) {
  873. return /./[REPLACE]('a', '$0') === '';
  874. }
  875. return false;
  876. })();
  877. // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
  878. // Weex JS has frozen built-in prototypes, so use try / catch wrapper
  879. var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
  880. var re = /(?:)/;
  881. var originalExec = re.exec;
  882. re.exec = function () { return originalExec.apply(this, arguments); };
  883. var result = 'ab'.split(re);
  884. return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
  885. });
  886. var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) {
  887. var SYMBOL = wellKnownSymbol(KEY);
  888. var DELEGATES_TO_SYMBOL = !fails(function () {
  889. // String methods call symbol-named RegEp methods
  890. var O = {};
  891. O[SYMBOL] = function () { return 7; };
  892. return ''[KEY](O) != 7;
  893. });
  894. var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
  895. // Symbol-named RegExp methods call .exec
  896. var execCalled = false;
  897. var re = /a/;
  898. if (KEY === 'split') {
  899. // We can't use real regex here since it causes deoptimization
  900. // and serious performance degradation in V8
  901. // https://github.com/zloirock/core-js/issues/306
  902. re = {};
  903. // RegExp[@@split] doesn't call the regex's exec method, but first creates
  904. // a new one. We need to return the patched regex when creating the new one.
  905. re.constructor = {};
  906. re.constructor[SPECIES$3] = function () { return re; };
  907. re.flags = '';
  908. re[SYMBOL] = /./[SYMBOL];
  909. }
  910. re.exec = function () { execCalled = true; return null; };
  911. re[SYMBOL]('');
  912. return !execCalled;
  913. });
  914. if (
  915. !DELEGATES_TO_SYMBOL ||
  916. !DELEGATES_TO_EXEC ||
  917. (KEY === 'replace' && !(
  918. REPLACE_SUPPORTS_NAMED_GROUPS &&
  919. REPLACE_KEEPS_$0 &&
  920. !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
  921. )) ||
  922. (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
  923. ) {
  924. var nativeRegExpMethod = /./[SYMBOL];
  925. var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
  926. if (regexp.exec === regexpExec) {
  927. if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
  928. // The native String method already delegates to @@method (this
  929. // polyfilled function), leasing to infinite recursion.
  930. // We avoid it by directly calling the native @@method method.
  931. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
  932. }
  933. return { done: true, value: nativeMethod.call(str, regexp, arg2) };
  934. }
  935. return { done: false };
  936. }, {
  937. REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
  938. REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
  939. });
  940. var stringMethod = methods[0];
  941. var regexMethod = methods[1];
  942. redefine(String.prototype, KEY, stringMethod);
  943. redefine(RegExp.prototype, SYMBOL, length == 2
  944. // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
  945. // 21.2.5.11 RegExp.prototype[@@split](string, limit)
  946. ? function (string, arg) { return regexMethod.call(string, this, arg); }
  947. // 21.2.5.6 RegExp.prototype[@@match](string)
  948. // 21.2.5.9 RegExp.prototype[@@search](string)
  949. : function (string) { return regexMethod.call(string, this); }
  950. );
  951. }
  952. if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
  953. };
  954. // `String.prototype.{ codePointAt, at }` methods implementation
  955. var createMethod$2 = function (CONVERT_TO_STRING) {
  956. return function ($this, pos) {
  957. var S = String(requireObjectCoercible($this));
  958. var position = toInteger(pos);
  959. var size = S.length;
  960. var first, second;
  961. if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
  962. first = S.charCodeAt(position);
  963. return first < 0xD800 || first > 0xDBFF || position + 1 === size
  964. || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
  965. ? CONVERT_TO_STRING ? S.charAt(position) : first
  966. : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
  967. };
  968. };
  969. var stringMultibyte = {
  970. // `String.prototype.codePointAt` method
  971. // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
  972. codeAt: createMethod$2(false),
  973. // `String.prototype.at` method
  974. // https://github.com/mathiasbynens/String.prototype.at
  975. charAt: createMethod$2(true)
  976. };
  977. var charAt = stringMultibyte.charAt;
  978. // `AdvanceStringIndex` abstract operation
  979. // https://tc39.github.io/ecma262/#sec-advancestringindex
  980. var advanceStringIndex = function (S, index, unicode) {
  981. return index + (unicode ? charAt(S, index).length : 1);
  982. };
  983. // `RegExpExec` abstract operation
  984. // https://tc39.github.io/ecma262/#sec-regexpexec
  985. var regexpExecAbstract = function (R, S) {
  986. var exec = R.exec;
  987. if (typeof exec === 'function') {
  988. var result = exec.call(R, S);
  989. if (typeof result !== 'object') {
  990. throw TypeError('RegExp exec method returned something other than an Object or null');
  991. }
  992. return result;
  993. }
  994. if (classofRaw(R) !== 'RegExp') {
  995. throw TypeError('RegExp#exec called on incompatible receiver');
  996. }
  997. return regexpExec.call(R, S);
  998. };
  999. // @@match logic
  1000. fixRegexpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {
  1001. return [
  1002. // `String.prototype.match` method
  1003. // https://tc39.github.io/ecma262/#sec-string.prototype.match
  1004. function match(regexp) {
  1005. var O = requireObjectCoercible(this);
  1006. var matcher = regexp == undefined ? undefined : regexp[MATCH];
  1007. return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
  1008. },
  1009. // `RegExp.prototype[@@match]` method
  1010. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
  1011. function (regexp) {
  1012. var res = maybeCallNative(nativeMatch, regexp, this);
  1013. if (res.done) return res.value;
  1014. var rx = anObject(regexp);
  1015. var S = String(this);
  1016. if (!rx.global) return regexpExecAbstract(rx, S);
  1017. var fullUnicode = rx.unicode;
  1018. rx.lastIndex = 0;
  1019. var A = [];
  1020. var n = 0;
  1021. var result;
  1022. while ((result = regexpExecAbstract(rx, S)) !== null) {
  1023. var matchStr = String(result[0]);
  1024. A[n] = matchStr;
  1025. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  1026. n++;
  1027. }
  1028. return n === 0 ? null : A;
  1029. }
  1030. ];
  1031. });
  1032. var max$1 = Math.max;
  1033. var min$2 = Math.min;
  1034. var floor$1 = Math.floor;
  1035. var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g;
  1036. var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g;
  1037. var maybeToString = function (it) {
  1038. return it === undefined ? it : String(it);
  1039. };
  1040. // @@replace logic
  1041. fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
  1042. var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
  1043. var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
  1044. var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
  1045. return [
  1046. // `String.prototype.replace` method
  1047. // https://tc39.github.io/ecma262/#sec-string.prototype.replace
  1048. function replace(searchValue, replaceValue) {
  1049. var O = requireObjectCoercible(this);
  1050. var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
  1051. return replacer !== undefined
  1052. ? replacer.call(searchValue, O, replaceValue)
  1053. : nativeReplace.call(String(O), searchValue, replaceValue);
  1054. },
  1055. // `RegExp.prototype[@@replace]` method
  1056. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
  1057. function (regexp, replaceValue) {
  1058. if (
  1059. (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
  1060. (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
  1061. ) {
  1062. var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
  1063. if (res.done) return res.value;
  1064. }
  1065. var rx = anObject(regexp);
  1066. var S = String(this);
  1067. var functionalReplace = typeof replaceValue === 'function';
  1068. if (!functionalReplace) replaceValue = String(replaceValue);
  1069. var global = rx.global;
  1070. if (global) {
  1071. var fullUnicode = rx.unicode;
  1072. rx.lastIndex = 0;
  1073. }
  1074. var results = [];
  1075. while (true) {
  1076. var result = regexpExecAbstract(rx, S);
  1077. if (result === null) break;
  1078. results.push(result);
  1079. if (!global) break;
  1080. var matchStr = String(result[0]);
  1081. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  1082. }
  1083. var accumulatedResult = '';
  1084. var nextSourcePosition = 0;
  1085. for (var i = 0; i < results.length; i++) {
  1086. result = results[i];
  1087. var matched = String(result[0]);
  1088. var position = max$1(min$2(toInteger(result.index), S.length), 0);
  1089. var captures = [];
  1090. // NOTE: This is equivalent to
  1091. // captures = result.slice(1).map(maybeToString)
  1092. // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
  1093. // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
  1094. // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
  1095. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
  1096. var namedCaptures = result.groups;
  1097. if (functionalReplace) {
  1098. var replacerArgs = [matched].concat(captures, position, S);
  1099. if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
  1100. var replacement = String(replaceValue.apply(undefined, replacerArgs));
  1101. } else {
  1102. replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
  1103. }
  1104. if (position >= nextSourcePosition) {
  1105. accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
  1106. nextSourcePosition = position + matched.length;
  1107. }
  1108. }
  1109. return accumulatedResult + S.slice(nextSourcePosition);
  1110. }
  1111. ];
  1112. // https://tc39.github.io/ecma262/#sec-getsubstitution
  1113. function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
  1114. var tailPos = position + matched.length;
  1115. var m = captures.length;
  1116. var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
  1117. if (namedCaptures !== undefined) {
  1118. namedCaptures = toObject(namedCaptures);
  1119. symbols = SUBSTITUTION_SYMBOLS;
  1120. }
  1121. return nativeReplace.call(replacement, symbols, function (match, ch) {
  1122. var capture;
  1123. switch (ch.charAt(0)) {
  1124. case '$': return '$';
  1125. case '&': return matched;
  1126. case '`': return str.slice(0, position);
  1127. case "'": return str.slice(tailPos);
  1128. case '<':
  1129. capture = namedCaptures[ch.slice(1, -1)];
  1130. break;
  1131. default: // \d\d?
  1132. var n = +ch;
  1133. if (n === 0) return match;
  1134. if (n > m) {
  1135. var f = floor$1(n / 10);
  1136. if (f === 0) return match;
  1137. if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
  1138. return match;
  1139. }
  1140. capture = captures[n - 1];
  1141. }
  1142. return capture === undefined ? '' : capture;
  1143. });
  1144. }
  1145. });
  1146. // `SameValue` abstract operation
  1147. // https://tc39.github.io/ecma262/#sec-samevalue
  1148. var sameValue = Object.is || function is(x, y) {
  1149. // eslint-disable-next-line no-self-compare
  1150. return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
  1151. };
  1152. // @@search logic
  1153. fixRegexpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {
  1154. return [
  1155. // `String.prototype.search` method
  1156. // https://tc39.github.io/ecma262/#sec-string.prototype.search
  1157. function search(regexp) {
  1158. var O = requireObjectCoercible(this);
  1159. var searcher = regexp == undefined ? undefined : regexp[SEARCH];
  1160. return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
  1161. },
  1162. // `RegExp.prototype[@@search]` method
  1163. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search
  1164. function (regexp) {
  1165. var res = maybeCallNative(nativeSearch, regexp, this);
  1166. if (res.done) return res.value;
  1167. var rx = anObject(regexp);
  1168. var S = String(this);
  1169. var previousLastIndex = rx.lastIndex;
  1170. if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
  1171. var result = regexpExecAbstract(rx, S);
  1172. if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
  1173. return result === null ? -1 : result.index;
  1174. }
  1175. ];
  1176. });
  1177. function _classCallCheck(instance, Constructor) {
  1178. if (!(instance instanceof Constructor)) {
  1179. throw new TypeError("Cannot call a class as a function");
  1180. }
  1181. }
  1182. function _defineProperties(target, props) {
  1183. for (var i = 0; i < props.length; i++) {
  1184. var descriptor = props[i];
  1185. descriptor.enumerable = descriptor.enumerable || false;
  1186. descriptor.configurable = true;
  1187. if ("value" in descriptor) descriptor.writable = true;
  1188. Object.defineProperty(target, descriptor.key, descriptor);
  1189. }
  1190. }
  1191. function _createClass(Constructor, protoProps, staticProps) {
  1192. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  1193. if (staticProps) _defineProperties(Constructor, staticProps);
  1194. return Constructor;
  1195. }
  1196. function _inherits(subClass, superClass) {
  1197. if (typeof superClass !== "function" && superClass !== null) {
  1198. throw new TypeError("Super expression must either be null or a function");
  1199. }
  1200. subClass.prototype = Object.create(superClass && superClass.prototype, {
  1201. constructor: {
  1202. value: subClass,
  1203. writable: true,
  1204. configurable: true
  1205. }
  1206. });
  1207. if (superClass) _setPrototypeOf(subClass, superClass);
  1208. }
  1209. function _getPrototypeOf(o) {
  1210. _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
  1211. return o.__proto__ || Object.getPrototypeOf(o);
  1212. };
  1213. return _getPrototypeOf(o);
  1214. }
  1215. function _setPrototypeOf(o, p) {
  1216. _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
  1217. o.__proto__ = p;
  1218. return o;
  1219. };
  1220. return _setPrototypeOf(o, p);
  1221. }
  1222. function _isNativeReflectConstruct() {
  1223. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  1224. if (Reflect.construct.sham) return false;
  1225. if (typeof Proxy === "function") return true;
  1226. try {
  1227. Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
  1228. return true;
  1229. } catch (e) {
  1230. return false;
  1231. }
  1232. }
  1233. function _assertThisInitialized(self) {
  1234. if (self === void 0) {
  1235. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  1236. }
  1237. return self;
  1238. }
  1239. function _possibleConstructorReturn(self, call) {
  1240. if (call && (typeof call === "object" || typeof call === "function")) {
  1241. return call;
  1242. }
  1243. return _assertThisInitialized(self);
  1244. }
  1245. function _createSuper(Derived) {
  1246. var hasNativeReflectConstruct = _isNativeReflectConstruct();
  1247. return function _createSuperInternal() {
  1248. var Super = _getPrototypeOf(Derived),
  1249. result;
  1250. if (hasNativeReflectConstruct) {
  1251. var NewTarget = _getPrototypeOf(this).constructor;
  1252. result = Reflect.construct(Super, arguments, NewTarget);
  1253. } else {
  1254. result = Super.apply(this, arguments);
  1255. }
  1256. return _possibleConstructorReturn(this, result);
  1257. };
  1258. }
  1259. function _superPropBase(object, property) {
  1260. while (!Object.prototype.hasOwnProperty.call(object, property)) {
  1261. object = _getPrototypeOf(object);
  1262. if (object === null) break;
  1263. }
  1264. return object;
  1265. }
  1266. function _get(target, property, receiver) {
  1267. if (typeof Reflect !== "undefined" && Reflect.get) {
  1268. _get = Reflect.get;
  1269. } else {
  1270. _get = function _get(target, property, receiver) {
  1271. var base = _superPropBase(target, property);
  1272. if (!base) return;
  1273. var desc = Object.getOwnPropertyDescriptor(base, property);
  1274. if (desc.get) {
  1275. return desc.get.call(receiver);
  1276. }
  1277. return desc.value;
  1278. };
  1279. }
  1280. return _get(target, property, receiver || target);
  1281. }
  1282. function _slicedToArray(arr, i) {
  1283. return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
  1284. }
  1285. function _arrayWithHoles(arr) {
  1286. if (Array.isArray(arr)) return arr;
  1287. }
  1288. function _iterableToArrayLimit(arr, i) {
  1289. if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
  1290. var _arr = [];
  1291. var _n = true;
  1292. var _d = false;
  1293. var _e = undefined;
  1294. try {
  1295. for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
  1296. _arr.push(_s.value);
  1297. if (i && _arr.length === i) break;
  1298. }
  1299. } catch (err) {
  1300. _d = true;
  1301. _e = err;
  1302. } finally {
  1303. try {
  1304. if (!_n && _i["return"] != null) _i["return"]();
  1305. } finally {
  1306. if (_d) throw _e;
  1307. }
  1308. }
  1309. return _arr;
  1310. }
  1311. function _unsupportedIterableToArray(o, minLen) {
  1312. if (!o) return;
  1313. if (typeof o === "string") return _arrayLikeToArray(o, minLen);
  1314. var n = Object.prototype.toString.call(o).slice(8, -1);
  1315. if (n === "Object" && o.constructor) n = o.constructor.name;
  1316. if (n === "Map" || n === "Set") return Array.from(o);
  1317. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
  1318. }
  1319. function _arrayLikeToArray(arr, len) {
  1320. if (len == null || len > arr.length) len = arr.length;
  1321. for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
  1322. return arr2;
  1323. }
  1324. function _nonIterableRest() {
  1325. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  1326. }
  1327. /**
  1328. * @author: general
  1329. * @website: note.generals.space
  1330. * @email: generals.space@gmail.com
  1331. * @github: https://github.com/generals-space/bootstrap-table-addrbar
  1332. * @update: zhixin wen <wenzhixin2010@gmail.com>
  1333. */
  1334. /*
  1335. * function: 获取浏览器地址栏中的指定参数.
  1336. * key: 参数名
  1337. * url: 默认为当前地址栏
  1338. */
  1339. function _GET(key) {
  1340. var url = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : window.location.search;
  1341. /*
  1342. * 注意这里正则表达式的书写方法
  1343. * (^|&)key匹配: 直接以key开始或以&key开始的字符串
  1344. * 同理(&|$)表示以&结束或是直接结束的字符串
  1345. * ...当然, 我并不知道这种用法.
  1346. */
  1347. var reg = new RegExp("(^|&)".concat(key, "=([^&]*)(&|$)"));
  1348. var result = url.substr(1).match(reg);
  1349. if (result) {
  1350. return decodeURIComponent(result[2]);
  1351. }
  1352. return null;
  1353. }
  1354. /*
  1355. * function: 根据给定参数生成url地址
  1356. * var dic = {name: 'genreal', age: 24}
  1357. * var url = 'https://www.baidu.com?age=22';
  1358. * _buildUrl(dic, url);
  1359. * 将得到"https://www.baidu.com?age=24&name=genreal"
  1360. * 哦, 忽略先后顺序吧...
  1361. *
  1362. * 补充: 可以参考浏览器URLSearchParams对象, 更加方便和强大.
  1363. * 考虑到兼容性, 暂时不使用这个工具.
  1364. */
  1365. function _buildUrl(dict) {
  1366. var url = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : window.location.search;
  1367. for (var _i = 0, _Object$entries = Object.entries(dict); _i < _Object$entries.length; _i++) {
  1368. var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
  1369. key = _Object$entries$_i[0],
  1370. val = _Object$entries$_i[1];
  1371. // 搜索name=general这种形式的字符串(&是分隔符)
  1372. var pattern = "".concat(key, "=([^&]*)");
  1373. var targetStr = "".concat(key, "=").concat(val);
  1374. if (val === undefined) continue;
  1375. /*
  1376. * 如果目标url中包含了key键, 我们需要将它替换成我们自己的val
  1377. * 不然就直接添加好了.
  1378. */
  1379. if (url.match(pattern)) {
  1380. var tmp = new RegExp("(".concat(key, "=)([^&]*)"), 'gi');
  1381. url = url.replace(tmp, targetStr);
  1382. } else {
  1383. var seperator = url.match('[?]') ? '&' : '?';
  1384. url = url + seperator + targetStr;
  1385. }
  1386. }
  1387. if (location.hash) {
  1388. url += location.hash;
  1389. }
  1390. return url;
  1391. }
  1392. /*
  1393. * function: _updateHistoryState
  1394. * var _prefix = this.options.addrPrefix || ''
  1395. * var table = this
  1396. * _updateHistoryState( table,_prefix)
  1397. * returns void
  1398. */
  1399. function _updateHistoryState(table, _prefix) {
  1400. var params = {};
  1401. params["".concat(_prefix, "page")] = table.options.pageNumber;
  1402. params["".concat(_prefix, "size")] = table.options.pageSize;
  1403. params["".concat(_prefix, "order")] = table.options.sortOrder;
  1404. params["".concat(_prefix, "sort")] = table.options.sortName;
  1405. params["".concat(_prefix, "search")] = table.options.searchText;
  1406. window.history.pushState({}, '', _buildUrl(params));
  1407. }
  1408. $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
  1409. addrbar: false,
  1410. addrPrefix: ''
  1411. });
  1412. $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
  1413. _inherits(_class, _$$BootstrapTable);
  1414. var _super = _createSuper(_class);
  1415. function _class() {
  1416. _classCallCheck(this, _class);
  1417. return _super.apply(this, arguments);
  1418. }
  1419. _createClass(_class, [{
  1420. key: "init",
  1421. value: function init() {
  1422. var _this = this,
  1423. _get2;
  1424. if (this.options.pagination && this.options.addrbar) {
  1425. // 标志位, 初始加载后关闭
  1426. this.addrbarInit = true;
  1427. this.options.pageNumber = +this.getDefaultOptionValue('pageNumber', 'page');
  1428. this.options.pageSize = +this.getDefaultOptionValue('pageSize', 'size');
  1429. this.options.sortOrder = this.getDefaultOptionValue('sortOrder', 'order');
  1430. this.options.sortName = this.getDefaultOptionValue('sortName', 'sort');
  1431. this.options.searchText = this.getDefaultOptionValue('searchText', 'search');
  1432. var _prefix = this.options.addrPrefix || '';
  1433. var _onLoadSuccess = this.options.onLoadSuccess;
  1434. var _onPageChange = this.options.onPageChange;
  1435. this.options.onLoadSuccess = function (data) {
  1436. if (_this.addrbarInit) {
  1437. _this.addrbarInit = false;
  1438. } else {
  1439. _updateHistoryState(_this, _prefix);
  1440. }
  1441. if (_onLoadSuccess) {
  1442. _onLoadSuccess.call(_this, data);
  1443. }
  1444. };
  1445. this.options.onPageChange = function (number, size) {
  1446. _updateHistoryState(_this, _prefix);
  1447. if (_onPageChange) {
  1448. _onPageChange.call(_this, number, size);
  1449. }
  1450. };
  1451. }
  1452. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  1453. args[_key] = arguments[_key];
  1454. }
  1455. (_get2 = _get(_getPrototypeOf(_class.prototype), "init", this)).call.apply(_get2, [this].concat(args));
  1456. }
  1457. /*
  1458. * Priority order:
  1459. * The value specified by the user has the highest priority.
  1460. * If it is not specified, it will be obtained from the address bar.
  1461. * If it is not obtained, the default value will be used.
  1462. */
  1463. }, {
  1464. key: "getDefaultOptionValue",
  1465. value: function getDefaultOptionValue(optionName, prefixName) {
  1466. if (this.options[optionName] !== $__default['default'].BootstrapTable.DEFAULTS[optionName]) {
  1467. return this.options[optionName];
  1468. }
  1469. return _GET("".concat(this.options.addrPrefix || '').concat(prefixName)) || $__default['default'].BootstrapTable.DEFAULTS[optionName];
  1470. }
  1471. }]);
  1472. return _class;
  1473. }($__default['default'].BootstrapTable);
  1474. })));